I'm looking to make a contribution to the project.
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.")