We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BQ table:
CREATE TABLE `my_proj.my_dataset.my_table`( id STRING, source_id STRING, TRUE_INDY_NAME STRING, dt DATE) PARTITION BY dt CLUSTER BY source_id;
Hive Table: (GCP dataproc 2.1)
add jar gs://hadoop-lib/hive-bigquery/hive-bigquery-connector-2.0.3.jar; CREATE EXTERNAL TABLE dev.test_bq_ext ( id STRING, source_id STRING, true_indy_name STRING, dt DATE) STORED BY 'com.google.cloud.hive.bigquery.connector.BigQueryStorageHandler' TBLPROPERTIES ( 'bq.clustered.fields'='source_id', 'bq.table'='my_proj.my_dataset.my_table', 'bq.time.partition.field'='dt', 'bq.time.partition.type'='DAY');
Error:
0: jdbc:dataproc://hive/> select * from dev.test_bq_ext limit 1; Error: java.io.IOException: java.lang.RuntimeException: Unable to find column TRUE_INDY_NAME in columns [id, source_id, true_indy_name, dt] (state=,code=0)
I also tried: WITH SERDEPROPERTIES ('casesensitive'='TRUE_INDY_NAME')
WITH SERDEPROPERTIES ('casesensitive'='TRUE_INDY_NAME')
Unable to find any work around so far.
The text was updated successfully, but these errors were encountered:
Hi @sharmavarun1108. I believe this would have already been fixed in #98, however it's hasn't been included in the latest release yet. Could you please try using the main branch and creating your own JAR, then test again? You can find some instructions here: https://github.com/GoogleCloudDataproc/hive-bigquery-connector?tab=readme-ov-file#option-2-manual-installation
main
We hope to create a new release that will include a lot of improvements in the next few weeks. Thanks for your patience!
Sorry, something went wrong.
Hi @jphalip , I ran a quick test with jar built using main branch. Looks like the issue is resolved.
Great, thank you for checking!
No branches or pull requests
BQ table:
Hive Table: (GCP dataproc 2.1)
Error:
I also tried:
WITH SERDEPROPERTIES ('casesensitive'='TRUE_INDY_NAME')
Unable to find any work around so far.
The text was updated successfully, but these errors were encountered: