test `read_gbq` with `dryRun` in `configuration` parameter
See original GitHub issueHello,
Recently a question featured on SO asking about running a read_gbq job with dryRun settings defined as True.
As it turns out, for what I could check, currently we can send query definitions but everything defined outside of query is discarded.
I wonder if it would be possible to also consider updating other values such as dryRun.
kwargs should probably be able to receive arguments such as configuration={"query": {...}, "dryRun": True}
and run_query probably would have to process job_config.update(config).
Best,
Will
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:6
Top Results From Across the Web
test read_gbq with dryRun in configuration parameter #88
Hello,. Recently a question featured on SO asking about running a read_gbq job with dryRun settings defined as True .
Read more >How can I send the dryRun parameter to pandas.read_gbq ...
I would like to get an estimate of the query size from bigquery before running it to load into pandas dataframe. How can...
Read more >Issue a query dry run | BigQuery - Google Cloud
Describes the use of a query dry run and shows how to perform a dry run using the Cloud console, bq command-line, and...
Read more >pandas.read_gbq — pandas 1.5.2 documentation
0 of pandas-gbq. configurationdict, optional. Query config parameters for job processing. For example: configuration = {'query': ...
Read more >How To Perform A Dry Run Query With Google BigQuery API ...
A dry run query is a query that does not return any record but is used to estimate the computed power required to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’ve confirmed that
dryRunqueries do work upstream in https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5119 . I think pandas-gbq will need to check for dry run queries and decide not to try to fetch the results.any progress on this?