Skip to content

Commit dad7905

Browse files
authored
parser: combine storage param list and attribute lists (#554)
1 parent f68b1a8 commit dad7905

34 files changed

+3382
-3237
lines changed

PLAN.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,30 @@ select foo, "a" from t;
889889
select foo, 'a' from t;
890890
```
891891

892+
### Quick Fix: in array
893+
894+
```sql
895+
select 1 in [1,2,3];
896+
-- or
897+
select 1 in array[1,2,3];
898+
899+
-- become
900+
901+
select 1 = any(array[1,2,3]);
902+
```
903+
904+
### Quick Fix: in array to in tuple
905+
906+
```sql
907+
select 1 in [1,2,3];
908+
-- or
909+
select 1 in array[1,2,3];
910+
911+
-- become
912+
913+
select 1 in (1,2,3);
914+
```
915+
892916
### Quick Fix: subquery to CTE
893917

894918
### Quick Fix: CTE to subquery

crates/squawk_parser/src/generated/syntax_kind.rs

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)