Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bigquery: make query() return iterator#2685

Merged
pongad merged 4 commits into
googleapis:bq-perfgoogleapis/google-cloud-java:bq-perffrom
pongad:bq-waitCopy head branch name to clipboard
Dec 12, 2017
Merged

bigquery: make query() return iterator#2685
pongad merged 4 commits into
googleapis:bq-perfgoogleapis/google-cloud-java:bq-perffrom
pongad:bq-waitCopy head branch name to clipboard

Conversation

@pongad

@pongad pongad commented Dec 7, 2017

Copy link
Copy Markdown
Contributor

This also makes queries require fewer RPCs if detailed job statuses are
not required.

If a query fails, then query() throws an exception detailing why
it fails and provides the job ID so users can retrieve more details
themselves.

Updates #2591.

This also makes queries require fewer RPCs if detailed job statuses are
not required.

If a query fails, then query() throws an exception detailing why
it fails and provides the job ID so users can retrieve more details
themselves.

Updates #2591.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 7, 2017
@pongad pongad requested a review from tswast December 7, 2017 09:04
@pongad

pongad commented Dec 7, 2017

Copy link
Copy Markdown
Contributor Author

I still have to fix the examples. I'll do that in a follow up commit. Putting this for review now to reduce review latency.

public Job query(QueryJobConfiguration configuration, JobOption... options)
throws InterruptedException {
public QueryResult query(QueryJobConfiguration configuration, JobOption... options)
throws InterruptedException, JobException {

This comment was marked as spam.

This comment was marked as spam.


abstract long getTotalRows();

abstract ImmutableList<BigQueryError> getErrors();

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@pongad

pongad commented Dec 11, 2017

Copy link
Copy Markdown
Contributor Author

@tswast PTAL

@pongad pongad merged commit 0e2e9ed into googleapis:bq-perf Dec 12, 2017
@pongad pongad deleted the bq-wait branch December 12, 2017 00:50
rahul2393 pushed a commit to akash329d/google-cloud-java that referenced this pull request May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.