From f144928376989a1ac8e822c55bad98fd23111087 Mon Sep 17 00:00:00 2001 From: hellozrh <455741807@qq.com> Date: Fri, 20 Dec 2024 04:28:33 +0800 Subject: [PATCH] [plsql]/Remove redundant quantitative_where_stmt statements (#4358) --- sql/plsql/PlSqlParser.g4 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sql/plsql/PlSqlParser.g4 b/sql/plsql/PlSqlParser.g4 index ae2c416226..668b07f593 100644 --- a/sql/plsql/PlSqlParser.g4 +++ b/sql/plsql/PlSqlParser.g4 @@ -6927,11 +6927,7 @@ table_alias ; where_clause - : WHERE (CURRENT OF cursor_name | condition | quantitative_where_stmt) - ; - -quantitative_where_stmt - : expression relational_operator (SOME | ALL | ANY) '(' expression (',' expression)* ')' + : WHERE (CURRENT OF cursor_name | condition) ; into_clause