BigQuery SQL Tools
This tool formats BigQuery SQL queries with configurable maximum line length and casing standardization for SQL keywords and builtin functions, auto-converts between standard SQL syntax and BigQuery pipe syntax, and pulls nested CTEs out to the outer level of a query (helpful because BigQuery doesn't allow nested CTEs inside recursive queries). It is built on top of the ZetaSQL library; the code is complete but a simple UI has not been built yet.
What it addresses
BigQuery's built-in UI formatting doesn't produce output that looks as polished as desired, and BigQuery doesn't allow nested CTEs inside recursive queries.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
BigQuery SQL Tools
This tool formats BigQuery SQL queries with configurable maximum line length and casing standardization for SQL keywords and builtin functions, auto-converts between standard SQL syntax and BigQuery pipe syntax, and pulls nested CTEs out to the outer level of a query (helpful because BigQuery doesn't allow nested CTEs inside recursive queries). It is built on top of the ZetaSQL library; the code is complete but a simple UI has not been built yet.
Problem: BigQuery's built-in UI formatting doesn't produce output that looks as polished as desired, and BigQuery doesn't allow nested CTEs inside recursive queries.
Posted by @johndoe_tps · Original source ↗
Source text · @johndoe_tps · · Source ↗
I'm building a BigQuery SQL tools. It can - format BigQuery SQL queries better (in my opinion). Support configurations for: maximum line length, standardize casing for SQL keywords and builtin functions (upper or lowercase).