Skip to content
Closed
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
1 change: 1 addition & 0 deletions ppl/src/main/antlr/OpenSearchPPLLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ YEAR_MONTH: 'YEAR_MONTH';

// DATASET TYPES
LOOKUP: 'LOOKUP';
INPUTLOOKUP: 'INPUTLOOKUP';

// CONVERTED DATA TYPES
INT: 'INT';
Expand Down
2 changes: 2 additions & 0 deletions ppl/src/main/antlr/OpenSearchPPLParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,10 @@ addcoltotalsOption
fromClause
: SOURCE EQUAL tableOrSubqueryClause
| INDEX EQUAL tableOrSubqueryClause
| INPUTLOOKUP tableOrSubqueryClause
| SOURCE EQUAL tableFunction
| INDEX EQUAL tableFunction
| INPUTLOOKUP tableFunction
Comment on lines +626 to +629

@dai-chen dai-chen Jan 28, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any syntax or AST test to add? No other code changes required?

| SOURCE EQUAL dynamicSourceClause
| INDEX EQUAL dynamicSourceClause
;
Expand Down
Loading