-
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
Support query cache option in BigQuery #12408
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.
Looks good
plugin/trino-bigquery/src/test/java/io/trino/plugin/bigquery/TestBigQueryConnectorTest.java
Outdated
Show resolved
Hide resolved
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.
Seems invalidation and whether to use cache or not is handled automatically by the client/bigquery - https://cloud.google.com/bigquery/docs/cached-results#cache-exceptions
Seems we don't have docs about the session properties though. Needs to be done separately though. |
plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQuerySessionProperties.java
Show resolved
Hide resolved
4b3d24a
to
149d755
Compare
149d755
to
ec70bc0
Compare
Description
Support query cache option in BigQuery https://cloud.google.com/bigquery/docs/cached-results
Documentation
(x) Sufficient documentation is included in this PR.
Release notes
(x) Release notes entries required with the following suggested text: