2.0.0a2 Comment in a complex, nested sub-query breaks indentation of following SQL #4252
Closed
2 of 3 tasks
Labels
bug
Something isn't working
Search before asking
What Happened
Took me a while to figure out what the issue here was, probably there is a simpler MWE, but I was only able reproduce it in this specific scenario.
Sometimes a comment can cause problems with following indentation. Consider the following example, everything after the comment has 1 indent too much
However, if I remove the comment everything gets linted correctly
Expected Behaviour
see above
Observed Behaviour
see above
How to reproduce
see above
Dialect
BigQuery
Version
Configuration
default
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: