joereynolds / sql-lint

An SQL linter
MIT License
438 stars 40 forks source link

add support for cockroachdb #160

Open dbist opened 4 years ago

dbist commented 4 years ago

I'm running sql-lint as part of super-linter 3.6.0 and hitting the following

create-changefeed.sql:19 [sql-lint: invalid-create-option] Option 'changefeed' is not a valid option, must be one of '["algorithm","database","definer","event","function","index","or","procedure","server","table","tablespace","temporary","trigger","user","unique","view"]'.
:19 [sql-lint: invalid-create-option] Option 'changefeed' is not a valid option, must be one of '["algorithm","database","definer","event","function","index","or","procedure","server","table","tablespace","temporary","trigger","user","unique","view"]'.

would be good to add cockroachdb specific syntax

joereynolds commented 4 years ago

Hey @dbist

Nice suggestion, I'll add it to the list, thanks!