You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to make a contribution to the project.
@archiewood have you looked into adding the query cost estimation to the plugin?
from google.cloud import bigquery
# Construct a BigQuery client object.
client = bigquery.Client()
# Set your query here
query = """
SELECT name, count
FROM `table`
WHERE state = 'TX'
"""
# Set up the dry run query configuration
job_config = bigquery.QueryJobConfig(dry_run=True, use_query_cache=False)
# API request - dry run query
dry_run_query_job = client.query(query, job_config=job_config)
# A dry run query does not provide a row iterator, only statistics
print(f"This query will process {dry_run_query_job.total_bytes_processed} bytes.")
The text was updated successfully, but these errors were encountered:
I'm looking to make a contribution to the project.
@archiewood have you looked into adding the query cost estimation to the plugin?
The text was updated successfully, but these errors were encountered: