You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SUNNUWORKS opened this issue
Mar 10, 2021
· 0 comments
· Fixed by #1137
Labels
bugSomething isn't workingdialectIssue related to general dialect support. Use dialect-specific label instead where appropriatepostgresIssues relating to the Postgres dialect
barrywhart
added
dialect
Issue related to general dialect support. Use dialect-specific label instead where appropriate
postgres
Issues relating to the Postgres dialect
labels
Apr 6, 2021
bugSomething isn't workingdialectIssue related to general dialect support. Use dialect-specific label instead where appropriatepostgresIssues relating to the Postgres dialect
I am using postgreSQL dialect and for the following SQL script, I'am executing linting from sqlfluff, which fails
Executing the following command results into failure
sqlfluff lint .\redshift\landingTables\shift.sql
with the following output,
SQL fluff parse output for the same snippet is as follows,
Expected Behaviour
The SQL script should PASS the lining check as it's following postgresql-createtable, which is also documented in SQLFluff.
Observed Behaviour
When removing all the
DEFAULT
column_comnstraints from the script, the linting will PASS.Version
sqlfluff --version
---> sqlfluff, version 0.3.6python version
-----> Python 3.8.5Configuration
The text was updated successfully, but these errors were encountered: