Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/grammar/trino/TrinoSql.g4
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ primaryExpression
| KW_SUBSTRING '(' valueExpression KW_FROM valueExpression (KW_FOR valueExpression)? ')' # substring
| KW_NORMALIZE '(' valueExpression (',' normalForm)? ')' # normalize
| KW_EXTRACT '(' identifier KW_FROM valueExpression ')' # extract
| KW_COALESCE '(' expression (',' expression)* ')' # coalesce
| '(' expression ')' # parenthesizedExpression
| KW_GROUPING '(' (qualifiedName (',' qualifiedName)*)? ')' # groupingOperation
| KW_JSON_EXISTS '(' jsonPathInvocation (jsonExistsErrorBehavior KW_ON KW_ERROR)? ')' # jsonExists
Expand Down Expand Up @@ -1101,6 +1102,7 @@ nonReserved
| KW_CASCADE
| KW_CATALOG
| KW_CATALOGS
| KW_COALESCE
| KW_COLUMN
| KW_COLUMNS
| KW_COMMENT
Expand Down Expand Up @@ -1334,6 +1336,7 @@ KW_CASE : 'CASE';
KW_CAST : 'CAST';
KW_CATALOG : 'CATALOG';
KW_CATALOGS : 'CATALOGS';
KW_COALESCE : 'COALESCE';
KW_COLUMN : 'COLUMN';
KW_COLUMNS : 'COLUMNS';
KW_COMMENT : 'COMMENT';
Expand Down
4 changes: 3 additions & 1 deletion src/lib/trino/TrinoSql.interp

Large diffs are not rendered by default.

Loading
Loading