Skip to content

CREATE VIEW #515

@jlkravitz

Description

@jlkravitz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions