Skip to content

Commit 8a14ecd

Browse files
Fillnull syntax improvement
Signed-off-by: Lukasz Soszynski <[email protected]>
1 parent 8800ab8 commit 8a14ecd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ppl-spark-integration/src/main/antlr4/OpenSearchPPLParser.g4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,16 +181,16 @@ lookupPair
181181
;
182182

183183
fillnullCommand
184-
: FILLNULL ( fillNullWithTheSameValue )
185-
| (fillNullWithFieldVariousValues)
184+
: FILLNULL (fillNullWithTheSameValue
185+
| fillNullWithFieldVariousValues)
186186
;
187187

188188
fillNullWithTheSameValue
189-
: VALUE EQUAL nullReplacement nullableField*
189+
: VALUE EQUAL nullReplacement nullableField (COMMA nullableField)*
190190
;
191191

192192
fillNullWithFieldVariousValues
193-
: nullableField EQUAL nullReplacement (COMMA nullableField EQUAL nullReplacement)*
193+
: FIELDS nullableField EQUAL nullReplacement (COMMA nullableField EQUAL nullReplacement)*
194194
;
195195

196196

0 commit comments

Comments
 (0)