Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: add
Client.query_and_wait
which directly returns aRowIterator
of results #1722feat: add
Client.query_and_wait
which directly returns aRowIterator
of results #1722Changes from all commits
b8c583a
6a8059d
1f0e38e
4401725
d078941
660aa76
476bcd7
05d6a3e
c16e4be
222f91b
73e5817
9508121
543481d
85f1cab
c0e6c86
d4a322d
e0b2d2e
9daccbd
bba36d2
adf0b49
6dfbf92
765a644
e461ebe
895b6d0
d5345cd
f75d8ab
baff9d6
221898d
18f825a
5afbc41
08167d8
3e10ea4
dc5e5be
f1556bc
db71a1b
bd7e767
4ffec17
95b3b0e
f08dac3
a376bd6
7c3d813
304799a
425f6b0
ae06cd2
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
See: Java client changes. Needs to check a set of projects instead of all projects.
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.
@shollyman @mmladenovski Could you shared details about the requested
QUERY_PREVIEW_ENABLED
changes? I don't see any project ID comparisons here: https://github.com/googleapis/java-bigquery/blob/79959e5bbd84055575a2fde4e8ec8ed973a373e9/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryOptions.java#L136There 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.
@tswast , in our previous discussion, I only suggested for this environment variable to use a list of project IDs for a more fine-grained control. We have discussed it with @shollyman , and for the Java client we decided to go with a boolean. I am fine either way, staying consistent with a boolean or doing a more fine-grained project id list (if required by python client usage).
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'll stick with the boolean for consistency with other client libraries, but definitely worth considering finer grained control in a future release if needed.
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.
Need to be careful with timeout here.
requestId
should help, but need to make sure the retry includes the requestId.