Closed tanukihee closed 2 years ago
Maybe the bug
label is more suitable😂
This occurs for BigQuery as well.
But I was able to circumvent it by setting my Line Width to 40 (the issue occurs at 60 and 80).
Additionally, it doesn't occur consistently. If I have 8 such SUM(CASE ... END)
statements in a row, it may only be the last 3 that get the incorrect formatting. In may case, turning NULL END
into NULLEND
.
I can't seem to reproduce the final error you reported but there is a fix out for the END spacing issue in #79
I can't seem to reproduce the final error you reported but there is a fix out for the END spacing issue in #79
My fault. Please change the CommaPosition
option to before
.
Usage
Describe the bug Bugs occur when there are
CASE
statements inSUM()
.SUM(CASE ...)
, likeExpected Output
Actual Output
Note there should be a space before the
END
.SUM(CASE ...)
, likeExpected Output
Actual Output