We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug sqlfmt changes case of identifiers within object navigation expressions (syntactic sugar for snowflake's get_path)
To Reproduce
select {'key':2, 'Key':3}:Key
Expected behavior SQL remains unchanged. Lowercasing :Key will cause the query to return 2 instead of 3
:Key
Actual behavior
select {'key':2, 'Key':3}:key
Additional context Reproducible from https://sqlfmt.com/
Syntax: Snowflake
The text was updated successfully, but these errors were encountered:
There is a workaround, wrapping the identifier within quotes:
select {'key':2, 'Key':3}:"Key"
Sorry, something went wrong.
duplicates #269
No branches or pull requests
Describe the bug
sqlfmt changes case of identifiers within object navigation expressions (syntactic sugar for snowflake's get_path)
To Reproduce
Expected behavior
SQL remains unchanged. Lowercasing
:Key
will cause the query to return 2 instead of 3Actual behavior
Additional context
Reproducible from https://sqlfmt.com/
Syntax: Snowflake
The text was updated successfully, but these errors were encountered: