Requires a BigQuery connection. These tools are only available when your workspace is connected to BigQuery. See your workspace settings to configure a BigQuery credential.
Capabilities
The BigQuery Tools give DinoAI the following abilities:- List all projects and datasets in your BigQuery account
- List all tables within a given project and dataset
- Inspect column names, types, modes, descriptions, and nested fields for any table
- Retrieve full performance statistics for a specific BigQuery job, including bytes processed, slot usage, shuffle spill, and execution time
Using the BigQuery Tools
- Open DinoAI in the right panel of the Code IDE
- Describe what you want to explore or investigate (e.g., a table name, a query job ID, or a question about cost)
- Add your prompt describing what you want DinoAI to do with that information
- Grant permission when DinoAI asks to access your BigQuery account
- Review the results and implement DinoAI’s suggested actions
Example Use Cases
Generating a dbt Source File Promptsources.yml file with the correct structure, column definitions, and any available descriptions pre-filled.
Investigating a Slow or Expensive Query
Prompt
INFORMATION_SCHEMA.JOBS_BY_ORGANIZATION for that job ID, surfaces bytes processed, slot consumption, shuffle spill, and execution time, then gives you a diagnosis and recommendations for optimisation.
Exploring an Unfamiliar Dataset
Prompt
Working with Other Tools
The BigQuery Tools work well alongside DinoAI’s other capabilities:- Combine with the dbt Tools to inspect source tables and immediately scaffold dbt models or source definitions on top of them
- Combine with the Catalog Search Tool to cross-reference BigQuery table structure with existing dbt model documentation
- Combine with the Column Level Lineage Tool to trace how a specific column flows from a raw BigQuery table through your dbt transformations
Best Practices
- Provide full identifiers — BigQuery requires
project.dataset.table— including the project name helps DinoAI navigate directly to the right resource without an extra lookup - Use the listing tools first — If you’re unsure of exact names, ask DinoAI to list projects, datasets, or tables before drilling into columns or running performance queries
- Include a date range for performance queries — The query performance tool defaults to a 7-day window; specifying
start_dateandend_datenarrows results and speeds up the lookup - Check permissions — DinoAI surfaces a
[ERROR]if it lacks access to a project or dataset; confirm your BigQuery credential has the necessary IAM roles