Skip to content

Commit 4b3fd52

Browse files
OrlovPavelroot
andauthored
grammar change (#8186)
Co-authored-by: root <p.g.orlov@tinkoff.ru>
1 parent 2351ee0 commit 4b3fd52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ydb/library/yql/sql/v1/SQLv1.g.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ options {
66
}
77

88
// Input is a list of statements.
9-
sql_query: sql_stmt_list | (PRAGMA ANSI DIGITS ansi_sql_stmt_list);
9+
sql_query: sql_stmt_list | PRAGMA ANSI DIGITS ansi_sql_stmt_list;
1010
sql_stmt_list: SEMICOLON* sql_stmt (SEMICOLON+ sql_stmt)* SEMICOLON* EOF;
1111
ansi_sql_stmt_list: SEMICOLON* EOF;
1212

@@ -210,8 +210,8 @@ json_exists: JSON_EXISTS LPAREN
210210
json_exists_handler?
211211
RPAREN;
212212

213-
json_query_wrapper: (WITHOUT ARRAY?) | WITH (CONDITIONAL | UNCONDITIONAL)? ARRAY?;
214-
json_query_handler: ERROR | NULL | (EMPTY ARRAY) | (EMPTY OBJECT);
213+
json_query_wrapper: WITHOUT ARRAY? | WITH (CONDITIONAL | UNCONDITIONAL)? ARRAY?;
214+
json_query_handler: ERROR | NULL | EMPTY ARRAY | EMPTY OBJECT;
215215

216216
json_query: JSON_QUERY LPAREN
217217
json_common_args
@@ -248,7 +248,7 @@ invoke_expr_tail:
248248
(null_treatment | filter_clause)? (OVER window_name_or_specification)?
249249
;
250250

251-
using_call_expr: (an_id_or_type NAMESPACE an_id_or_type | an_id_expr | bind_parameter | (EXTERNAL FUNCTION)) invoke_expr;
251+
using_call_expr: (an_id_or_type NAMESPACE an_id_or_type | an_id_expr | bind_parameter | EXTERNAL FUNCTION) invoke_expr;
252252

253253
key_expr: LBRACE_SQUARE expr RBRACE_SQUARE;
254254

0 commit comments

Comments
 (0)