-
Notifications
You must be signed in to change notification settings - Fork 3k
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
BigQuery Connector #2532
BigQuery Connector #2532
Conversation
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.
Thanks for creating this PR. Only left basic comments as the initial review.
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryConfig.java
Outdated
Show resolved
Hide resolved
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryMetadata.java
Outdated
Show resolved
Hide resolved
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryPageSource.java
Outdated
Show resolved
Hide resolved
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryPageSource.java
Outdated
Show resolved
Hide resolved
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryStorageClientFactory.java
Outdated
Show resolved
Hide resolved
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryColumnHandle.java
Show resolved
Hide resolved
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryUtil.java
Outdated
Show resolved
Hide resolved
presto-bigquery/src/test/java/io/prestosql/plugin/bigquery/MockResponsesBatch.java
Outdated
Show resolved
Hide resolved
2932b4c
to
6b2cb33
Compare
After making the POM changes I have this warning I can't rid off:
The jars exist in the connector's zip. Any idea? |
2101278
to
62b5614
Compare
Don't worry about those dependency management warnings. They're bogus and can be ignored. I have a PR to remove that checker. |
6a8a96a
to
a409a71
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.
First pass, lots of comments, mostly minor
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryColumnHandle.java
Outdated
Show resolved
Hide resolved
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryColumnHandle.java
Outdated
Show resolved
Hide resolved
ce726b2
to
4b22b10
Compare
8ef4953
to
d0f6452
Compare
…andling of information_schema. The integration smoke test now works
29884f6
to
bcdfad9
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.
I'm going to fix up these few small issues and merge it, so we can get this in for the next release.
One issue I found in testing is that you have to set both project-id
and parent-project-id
, but the error comes from the Google library and just says "Project ID", so it's confusing. Also, I'm not sure why I would need to set the parent unless I want separate billing, but I'm completely new to GCP so maybe it makes sense.
Also, can I get access to, or can you tell me how to create, the TPCH tables needed for TestBigQueryIntegrationSmokeTest
?
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/BigQueryConfig.java
Show resolved
Hide resolved
presto-bigquery/src/test/java/io/prestosql/plugin/bigquery/BigQueryQueryRunner.java
Show resolved
Hide resolved
presto-bigquery/src/main/java/io/prestosql/plugin/bigquery/Conversions.java
Show resolved
Hide resolved
Merged, thanks! |
Implementing a connector for BigQuery.
Instructions on how to use it are specified in the documentation - https://github.com/davidrabinowitz/prestosql/blob/master/presto-docs/src/main/sphinx/connector/bigquery.rst