Sqlfluff lint error COPY 'unparsable' WITH

173 Views Asked by At

Sqlfluff is giving me an error on this line

COPY tableName FROM './var/lib/postgresql/data/short.CSV' WITH CSV QUOTE AS '"';

lint error:

L:  53 | P:  73 |  PRS | Line 53, Position 73: Found unparsable section: ' WITH
                       | CSV QUOTE AS \'"\''

If I run it in the query console it works correctly and if remove "with" lint pass, try with DELIMITER and same error. IDK what happens.

0

There are 0 best solutions below