Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

size of the query process in python BigQuery

# Create a QueryJobConfig object to estimate size of query without running it
dry_run_config = bigquery.QueryJobConfig(dry_run=True)

# API request - dry run query to estimate costs
dry_run_query_job = client.query(query, job_config=dry_run_config)

print("This query will process {} bytes.".format(dry_run_query_job.total_bytes_processed))
Source by www.kaggle.com #
 
PREVIOUS NEXT
Tagged: #size #query #process #python #BigQuery
ADD COMMENT
Topic
Name
3+9 =