bq_dry_run_sql
Analyze BigQuery SQL queries with a dry-run to estimate costs, validate syntax, and preview schema without executing the query.
Instructions
Perform a dry-run of a BigQuery SQL query to get cost estimates and metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | No | Optional query parameters (key-value pairs) | |
pricePerTiB | No | Price per TiB for cost estimation (defaults to env var or 5.0) | |
sql | Yes | The SQL query to dry-run |