Open metov opened 1 year ago
Describe the bug For some statements, casing is not corrected. I have an example with INSERT INTO, but maybe it's others too.
INSERT INTO
To Reproduce Formatting this produces no changes:
insert INTO foo (bar) VAluES (123);
Expected behavior Casing should be normalized to what https://docs.sqlfmt.com/style says.
Actual behavior Bad casing left as is.
Additional context What is the output of sqlfmt --version?
sqlfmt --version
sqlfmt, version 0.18.0
Also:
$ echo "insert INTO foo (bar) VAluES (123);" | sqlfmt - --check 1 file passed formatting check.
See https://github.com/tconbeer/sqlfmt/issues/262
PRs welcome
Describe the bug For some statements, casing is not corrected. I have an example with
INSERT INTO
, but maybe it's others too.To Reproduce Formatting this produces no changes:
Expected behavior Casing should be normalized to what https://docs.sqlfmt.com/style says.
Actual behavior Bad casing left as is.
Additional context What is the output of
sqlfmt --version
?sqlfmt, version 0.18.0