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
SQLFluff can't parse object literals in Snowflake #3606
Labels
Comments
NiallRees
added
enhancement
New feature or request
snowflake
Issues related to the Snowflake dialect
labels
Jul 14, 2022
I'm not surprised about object literals, but I thought that array literals were already covered 🤔 . I'll take a look at this. |
For me, array literals do parse successfully: select [1,2,3] as foo
I agree that object literals don't. e.g. select {'a': 1} as foo @NiallRees - can you confirm? |
alanmcruickshank
changed the title
SQLFluff can't parse object and array literals in Snowflake
SQLFluff can't parse object literals in Snowflake
Jul 15, 2022
Ah yes it does work for arrays. Thanks for that @alanmcruickshank |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Search before asking
Description
Sqlfluff currently can't parse:
These are valid literals in Snowflake:
Use case
No response
Dialect
Snowflake
Are you willing to work on and submit a PR to address the issue?
Code of Conduct
The text was updated successfully, but these errors were encountered: