SQL Converter · Snowflake → BigQuery
Convert Snowflake SQL to BigQuery
Snowflake to BigQuery maps VARIANT colon-paths to JSON accessors, ::casts to CAST() and LISTAGG to STRING_AGG. A mechanical formatter only re-indents — it won’t rewrite dialect-specific syntax. The AI converter in the app translates the query and the table below shows exactly what changes.
Snowflake — source
BigQuery — converted
What changes from Snowflake to BigQuery
| Snowflake | BigQuery | Why |
|---|---|---|
| data:customer.name | JSON_VALUE(data, '$.customer.name') | Colon-path VARIANT access becomes JSON_VALUE with a JSONPath. |
| x::number | CAST(x AS NUMERIC) | Snowflake :: casts become explicit CAST(). |
| QUALIFY | QUALIFY | Both dialects support QUALIFY, so it carries over. |