From 90aa6c8a7260bb3c482aec3777a6ae7e11cfee3c Mon Sep 17 00:00:00 2001 From: GeoffreyStark <36130371+WindyGao@users.noreply.github.com> Date: Thu, 6 Jan 2022 23:20:20 +0800 Subject: [PATCH] [fix](syntax) Add STRUCT to keywords (#7606) --- fe/fe-core/src/main/cup/sql_parser.cup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fe/fe-core/src/main/cup/sql_parser.cup b/fe/fe-core/src/main/cup/sql_parser.cup index 9dfe8c6de7..236fbfb4f1 100644 --- a/fe/fe-core/src/main/cup/sql_parser.cup +++ b/fe/fe-core/src/main/cup/sql_parser.cup @@ -5539,6 +5539,8 @@ keyword ::= {: RESULT = id; :} | KW_STREAM:id {: RESULT = id; :} + | KW_STRUCT:id + {: RESULT = id; :} | KW_STRING:id {: RESULT = id; :} | KW_TABLES:id