Hello Team,
I want to format my queries using a bigquery templater (like the format in dataform ui)
I don't found a bigquery templater in the cli of dataform.
How I can use that using dataform cli ?
Our team don't want to use ui fomatting , just command on vscode ?
there is a solution for that ?
Thanks
Solved! Go to Solution.
Here's how to approach BigQuery SQL formatting in Dataform, given its current limitations:
1. Use General SQL Formatters in VS Code:
2. Integrate External Formatters (if needed):
3. Request a Feature from Dataform:
Key Points:
dataform format
command for SQL formatting.I did a Google Search using the phrase "SQL formatter" and seem to have found a bunch of candidates. Adding in "SQL formatter vscode" produced plugins for vscode. While the Google Dataform UI pages do appear to have a formatter in their built in editor, I don't think this is exposed in the Dataform CLI.
Thanks for the search you did , it's a good Idea to do some search before asking...
Thanks a lot 🙂
Here's how to approach BigQuery SQL formatting in Dataform, given its current limitations:
1. Use General SQL Formatters in VS Code:
2. Integrate External Formatters (if needed):
3. Request a Feature from Dataform:
Key Points:
dataform format
command for SQL formatting.