Redshift features not supported yet #1642
Labels
enhancement
New feature or request
new dialect
For issues relating to currently unsupported dialects
redshift
Issues relating to Amazon Redshift dialect
Copied from: #612 (comment)
Reporting a few more examples of Redshift-specific functionality:
The COPY command available in Redshift does not exist in PostgreSQL, which makes it impossible to sqlfluff lint or sqlfluff fix any COPY query, e.g.:
In test.sql:
❯ sqlfluff lint test.sql
== [test.sql] FAIL
L: 1 | P: 1 | PRS | Found unparsable section: "COPY catdemo\nFROM
| 's3://awssampledbuswes..."
A similar scenario occurs with the CREATE EXTERNAL TABLE Redshift command.
Redshift INSERT, DELETE, and UPDATE statements do not support WITH clauses as PostgreSQL does. This opens the door to having a Redshift-specific rule to catch this.
The text was updated successfully, but these errors were encountered: