This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
bigquery_create_job sample is inconsistent with other code samples #1085
The https://github.com/googleapis/python-bigquery/blob/main/samples/create_job.py code sample appears here: https://cloud.google.com/bigquery/docs/running-jobs#running_jobs_using_client_libraries
This sample requires two improvements:
querymethod. There should be comments that it is recommended to use the corresponding method for query/copy/load/extract.job_id_prefixlogic, as labels cover similar functionality and are recommended over custom job IDs.samples/snippetsdirectory. Needs to be done in 2 separate PRs so that the existing samples in the docs don't 404.