-
Notifications
You must be signed in to change notification settings - Fork 2k
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: How do i get asynchronously a job query result with job id #374
Comments
const bigquery = require('@google-cloud/bigquery')();
bigquery
.job('your-job-id')
.getQueryResults()
.then(([rows]) => {
console.log(rows);
}); as seen here: https://googlecloudplatform.github.io/google-cloud-node/#/docs/bigquery/latest/bigquery/job |
Thanks. |
This was referenced Feb 1, 2020
This was referenced Dec 24, 2020
Open
ace-n
pushed a commit
that referenced
this issue
Nov 11, 2022
This was referenced Nov 11, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 11, 2022
* chore(main): release 6.1.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
ace-n
pushed a commit
that referenced
this issue
Nov 11, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 11, 2022
* chore(main): release 6.1.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
ace-n
pushed a commit
that referenced
this issue
Nov 12, 2022
* chore(main): release 6.1.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
ace-n
pushed a commit
that referenced
this issue
Nov 14, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 14, 2022
* chore(main): release 6.1.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
ace-n
pushed a commit
that referenced
this issue
Nov 15, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 15, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 17, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 17, 2022
ahrarmonsur
pushed a commit
that referenced
this issue
Nov 17, 2022
kweinmeister
pushed a commit
that referenced
this issue
Nov 18, 2022
* updated CHANGELOG.md [ci skip] * updated package.json [ci skip] * updated samples/package.json Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I can't figure out how to perform asynchronous call to API to retrieve results from a query job with just jobId.
I tried bigquery.jobs.getQueryResult(jobId) => bigquery.jobs does not exist
I tried bigquery.getQueryResult(jobId) => the function does not exist
My guess is I first need to get a job ressource then execute ressource.getQueryResult() but I can't find how to get this job resource.
Thanks
The text was updated successfully, but these errors were encountered: