Closed
Description
Input data
select (array_agg("test"))[:5] as "test" from "user"
Actual Output
Parse error: Unexpected ":5] as "te" at line 1 column 28```
Usage
-
How are you calling / using the library?
SQL compile (parse) error when slicing an array. wirekang/kysely-playground#11 -
What SQL language(s) does this apply to?
Postgres -
Which SQL Formatter version are you using?
12.2.0, 12.2.3