sqlfmt icon indicating copy to clipboard operation
sqlfmt copied to clipboard

Raise warning and abort formatting if we encounter ddl

Open tconbeer opened this issue 3 years ago • 0 comments

create, insert, grant, etc., should raise a warning if parsed and we shouldn't try to format those queries. Should get added to a "skipped" count in the report

Or probably better to parse create...; as a DATA token. That way for files w/ DDL and DML we can still format the DML.

tconbeer avatar Aug 17 '22 15:08 tconbeer