Skip to content

Commit

Permalink
Fix ##1983 letting USING have parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasrw committed Dec 29, 2024
1 parent 13dd9f1 commit fa696e0
Show file tree
Hide file tree
Showing 2 changed files with 372 additions and 365 deletions.
4 changes: 4 additions & 0 deletions src/alasqlparser.jison
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,8 @@ OnClause
{ $$ = {on: $2}; }
| USING ColumnsList
{ $$ = {using: $2}; }
| USING LPAR ColumnsList RPAR
{ $$ = {using: $3}; }
|
{ $$ = undefined; }
;
Expand Down Expand Up @@ -2688,6 +2690,8 @@ MergeInto
MergeUsing
: USING FromTable
{ $$ = {using: $2}; }
| USING LPAR FromTable RPAR
{ $$ = {using: $3}; }
;

MergeOn
Expand Down
Loading

0 comments on commit fa696e0

Please sign in to comment.