Skip to content
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: return JobID with TableResult #2689

Merged
merged 16 commits into from Jun 14, 2023
Merged

feat: return JobID with TableResult #2689

merged 16 commits into from Jun 14, 2023

Conversation

Neenu1995
Copy link
Contributor

@Neenu1995 Neenu1995 commented May 11, 2023

Currently there is no easy way to log the successful JobID after the job has been completed. Prompting customers to pass their own jobIDs for the query method. If the JobID is returned with the result of the query method, customers don’t have to pass the explicit JobID anymore, enabling more customers to use the fast query path.

Query method returns a TableResult object. Adding a JobID field to the TableResult could convince customers to use the query method overload without passing explicit JobID.

@Neenu1995 Neenu1995 requested a review from a team as a code owner May 11, 2023 16:59
@Neenu1995 Neenu1995 requested a review from prash-mi May 11, 2023 16:59
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/java-bigquery API. labels May 11, 2023
@Neenu1995 Neenu1995 added the owlbot:run Add this label to trigger the Owlbot post processor. label May 12, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 12, 2023
@Neenu1995 Neenu1995 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 12, 2023
@Neenu1995 Neenu1995 changed the title chore: improve job create retry DO-NOT-MERGE: chore: return JObID with TableResult May 12, 2023
@Neenu1995 Neenu1995 changed the title DO-NOT-MERGE: chore: return JObID with TableResult DO-NOT-MERGE: chore: return JobID with TableResult May 12, 2023
@Neenu1995 Neenu1995 added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 8, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 8, 2023
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Jun 8, 2023
@Neenu1995 Neenu1995 added kokoro:force-run Add this label to force Kokoro to re-run the tests. automerge Merge the pull request once unit tests and other checks pass. labels Jun 8, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 8, 2023
@Neenu1995 Neenu1995 added the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 8, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 8, 2023
@Neenu1995 Neenu1995 added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jun 8, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 8, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 8, 2023
@Neenu1995 Neenu1995 removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 8, 2023
@Neenu1995 Neenu1995 changed the title DO-NOT-MERGE: chore: return JobID with TableResult feat: return JobID with TableResult Jun 8, 2023
@Neenu1995 Neenu1995 requested a review from shollyman June 8, 2023 21:16
@Neenu1995
Copy link
Contributor Author

@shollyman PTAL.

@gcf-owl-bot gcf-owl-bot bot requested a review from a team as a code owner June 14, 2023 18:11
@Neenu1995 Neenu1995 requested a review from shollyman June 14, 2023 18:28
@Neenu1995 Neenu1995 merged commit aa38428 into main Jun 14, 2023
17 checks passed
@Neenu1995 Neenu1995 deleted the jobid-with-queryresponse branch June 14, 2023 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/java-bigquery API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants