What problem does it solve? Writing correct and performant BigQuery SQL, BigFrames DataFrame code, and BQML AI functions requires deep knowledge of syntax rules, optimization patterns, and function-specific constraints that are easy to get wrong. ## Core Features & Use Cases - SQL Query Optimization: Applies column pruning, predicate pushdown, early aggregation, and mandatory rewrites like replacing IN subqueries with EXISTS. - BigFrames Code Generation: Enforces best practices for BigQuery DataFrames, including avoiding to_pandas(), using bigframes.ml for machine learning, and staying in the cloud. - BQML & AI Functions: Provides exact syntax and argument references for AI.FORECAST, AI.EVALUATE, AI.GENERATE_TABLE, AI.GENERATE_EMBEDDING, VECTOR_SEARCH, and contribution analysis models. - Use Case: Ask for a time-series forecast of sales data and receive a valid AI.FORECAST query using TimesFM with correct named arguments, horizon limits, and output schema handling. ## Quick Start Write an optimized BigQuery SQL query that forecasts monthly revenue by region using AI.FORECAST.