-
Notifications
You must be signed in to change notification settings - Fork 433
Closed
Description
Describe the bug
Example sql: select thing from table where id = any(array[1, 2])
Expected behavior
It should format at all
Actual behavior
It completely crashes
Parse error: Unexpected "[1, 2])" at line 1 column 45. SQL dialect used: "redshift".
Please report this at Github issues page.
Stack Trace:
Error: Parse error: Unexpected "[1, 2])" at line 1 column 45.
SQL dialect used: "redshift".
Usage
- How are you calling / using the library? This fails even in the demo website
- What SQL language(s) does this apply to? Redshift
- Which SQL Formatter version are you using? 15.6.1