To perform a job, see api-perform. These functions all retrieve metadata (in various forms) about an existing job.

bq_job_meta(x, fields = NULL)

bq_job_status(x)

bq_job_show_statistics(x)

bq_job_wait(x, quiet = getOption("bigrquery.quiet"), pause = 0.5)

Arguments

x

A bq_job

fields

An optional field specification for partial response

quiet

If FALSE, displays progress bar; if TRUE is silent; if NA displays progress bar only for long-running jobs.

pause

amount of time to wait between status requests

API documentation

Examples

if (bq_testable()) { jobs <- bq_project_jobs(bq_test_project()) jobs[[1]] # Show statistics about job bq_job_show_statistics(jobs[[1]]) # Wait for job to complete bq_job_wait(jobs[[1]]) }