-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
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
Update BigQuery dependencies to support HOURLY partitioning of tables #4968
Update BigQuery dependencies to support HOURLY partitioning of tables #4968
Conversation
LGTM - it would be great to add some test coverage for this one. PT? |
@losipiuk We have no tests for BigQuery currently. |
Yeah - I know :) |
Though I'm testing this PR manually, it throws the following exception regardless of hourly partition.
|
@findepi Sure, basically I just run BigQueryRunner with VM options |
f8ed562
to
0625d7f
Compare
@ebyhr you were right after all :) I've tested the previous version of this PR and there was indeed a problem with missing classes/dependencies. I've updated further to version 8.0.0 of BOM and it seems to work fine. I've been able to query HOUR-ly partitioned table created like this (taken from docs):
It's displayed in UI as HOUR-ly partitioned: I've been able to successfully query it using
|
Can this be added to |
0f4e5e6
to
89b8782
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for minor comments.
...to-bigquery/src/test/java/io/prestosql/plugin/bigquery/TestBigQueryIntegrationSmokeTest.java
Outdated
Show resolved
Hide resolved
...to-bigquery/src/test/java/io/prestosql/plugin/bigquery/TestBigQueryIntegrationSmokeTest.java
Outdated
Show resolved
Hide resolved
...to-bigquery/src/test/java/io/prestosql/plugin/bigquery/TestBigQueryIntegrationSmokeTest.java
Outdated
Show resolved
Hide resolved
...to-bigquery/src/test/java/io/prestosql/plugin/bigquery/TestBigQueryIntegrationSmokeTest.java
Outdated
Show resolved
Hide resolved
...to-bigquery/src/test/java/io/prestosql/plugin/bigquery/TestBigQueryIntegrationSmokeTest.java
Outdated
Show resolved
Hide resolved
89b8782
to
87963bd
Compare
I did not update to latest BOM version to minimize the impact of this change.
Hourly partitioning was added in googleapis/java-bigquery@90f9980#diff-3dfcf884473c6d47c7c3debc58ce20c0