-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Add Snowflake as a SQL Dialect #366
Comments
Duplicate of #173 As for the differences between this upstream library and We would gladly accept a PR for Snowflake as a new language if you feel up to it, please feel free to reach out to me or @nene for assistance - the main effort there would be to research/document the syntax (ie. special keywords, supported operators, string types, etc.) |
I'm also interested in this and will have a look! |
Great, #297 is a good example of a PR with a recently added language (Trino) so you can reference that to see what changes are needed |
Question: For others there is only a single category: https://github.com/sql-formatter-org/sql-formatter/blob/master/src/languages/trino/trino.functions.ts#L10 ( What is preferred here? |
The main reason for grouping or not grouping is to make it easier to compare with language documentation. Like when official docs of an SQL dialect have functions listed in groups, it would also be better to list them in groups in the functions list. Duplicates don't matter, the And when the official docs provide a simple alphabetic list of functions, it would be better to not group the functions. |
Snowflake support is now present since version 11.0.0 |
Describe the Feature
The
sql-formatter
currently supports many SQL dialects, including BigQuery and SQL Server. Would it be possible to add Snowflake?Why do you want this feature?
I use Snowflake. I am particularly interested in whether the auto-formatter provided from the open source code by Snowflake, GitHub - Snowflake-Labs/snowsql-formatter, is materially different (in whether it will produce compilation errors) from what is provided here by
sql-formatter
.The text was updated successfully, but these errors were encountered: