diff --git a/sql/src/main/antlr/OpenSearchSQLLexer.g4 b/sql/src/main/antlr/OpenSearchSQLLexer.g4 index 506c51f95b..ba7c5be85a 100644 --- a/sql/src/main/antlr/OpenSearchSQLLexer.g4 +++ b/sql/src/main/antlr/OpenSearchSQLLexer.g4 @@ -106,7 +106,6 @@ UNION: 'UNION'; USING: 'USING'; WHEN: 'WHEN'; WHERE: 'WHERE'; -WITHIN: 'WITHIN'; // OD SQL special keyword diff --git a/sql/src/main/antlr/OpenSearchSQLParser.g4 b/sql/src/main/antlr/OpenSearchSQLParser.g4 index 44726c432e..5f7361160b 100644 --- a/sql/src/main/antlr/OpenSearchSQLParser.g4 +++ b/sql/src/main/antlr/OpenSearchSQLParser.g4 @@ -500,7 +500,6 @@ aggregationFunctionName | STDDEV | STDDEV_POP | STDDEV_SAMP - | PERCENTILE ; mathematicalFunctionName