Closed shoffmeister closed 1 week ago
Attempted to parse SQL statement below with dialect "duckdb" on https://online.sqlfluff.com/
create view if not exists v as select 1;
Parses exactly the same as
create view v as select 1;
which yields "No problems! Nice job friend." in the online tool.
Error:
Line 1, Position 1: Found unparsable section: 'create view if not exists v as select 1;...'
echo "create view if not exists v as select 1;" | sqlfluff lint --dialect duckdb -
duckdb
sqlfluff, version 3.0.5
none
The SQL provided works with at least DuckDB 1.0.0 and is documented: https://duckdb.org/docs/sql/statements/create_view
Search before asking
What Happened
Attempted to parse SQL statement below with dialect "duckdb" on https://online.sqlfluff.com/
Expected Behaviour
Parses exactly the same as
which yields "No problems! Nice job friend." in the online tool.
Observed Behaviour
Error:
How to reproduce
Dialect
duckdb
Version
sqlfluff, version 3.0.5
Configuration
none
Are you willing to work on and submit a PR to address the issue?
Code of Conduct