Snowflake - fix on merge statement corrupts SQL #2811
Labels
bug
Something isn't working
fix corrupts sql
For identifying issues where running the fix command actually breaks the SQL - bad!
rule bug
A rule is not working as intended, either missing errors or incorrectly highlighting non-errors
snowflake
Issues related to the Snowflake dialect
Search before asking
What Happened
I ran sqlfluff fix on the below minimum reproducible example. Note, removing any of the sections below seems to void the issue.
Expected Behaviour
sqlfluff fix should fix all fixable linting errors, and not throw the above warning
Observed Behaviour
How to reproduce
Run sqlfluff fix on the above with the below config.
Dialect
Snowflake
Version
0.11.0
Configuration
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: