sqlfmt icon indicating copy to clipboard operation
sqlfmt copied to clipboard

CREATE VIEW

Open jlkravitz opened this issue 2 years ago • 2 comments

Describe the bug When I prepend create view MyView as to a query, sqlfmt no longer formats the file.

To Reproduce

CREATE VIEW myview AS SELECT * FROM mytable

Expected behavior

create view myview as select * from mytable

Actual behavior

CREATE VIEW myview AS SELECT * FROM mytable

Additional context What is the output of sqlfmt --version?

sqlfmt, version 0.19.2

jlkravitz avatar Oct 26 '23 17:10 jlkravitz

This is expected behavior right now; see #262

tconbeer avatar Oct 26 '23 20:10 tconbeer

Got it. Thanks!

jlkravitz avatar Oct 26 '23 20:10 jlkravitz