From 78a237554d0ed0dd2ccff7b03be03354120a64ee Mon Sep 17 00:00:00 2001 From: Xiaoyu Wang Date: Wed, 6 Jul 2022 13:53:47 +0800 Subject: [PATCH] fix: compile error --- include/common/ttokendef.h | 389 +-- source/libs/parser/src/sql.c | 5893 +++++++++++++++++----------------- 2 files changed, 3147 insertions(+), 3135 deletions(-) diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index 77a26fdf36..a5651f96f4 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -73,200 +73,201 @@ #define TK_MNODE 55 #define TK_DATABASE 56 #define TK_USE 57 -#define TK_IF 58 -#define TK_NOT 59 -#define TK_EXISTS 60 -#define TK_BUFFER 61 -#define TK_CACHELAST 62 -#define TK_COMP 63 -#define TK_DURATION 64 -#define TK_NK_VARIABLE 65 -#define TK_FSYNC 66 -#define TK_MAXROWS 67 -#define TK_MINROWS 68 -#define TK_KEEP 69 -#define TK_PAGES 70 -#define TK_PAGESIZE 71 -#define TK_PRECISION 72 -#define TK_REPLICA 73 -#define TK_STRICT 74 -#define TK_WAL 75 -#define TK_VGROUPS 76 -#define TK_SINGLE_STABLE 77 -#define TK_RETENTIONS 78 -#define TK_SCHEMALESS 79 -#define TK_NK_COLON 80 -#define TK_TABLE 81 -#define TK_NK_LP 82 -#define TK_NK_RP 83 -#define TK_STABLE 84 -#define TK_ADD 85 -#define TK_COLUMN 86 -#define TK_MODIFY 87 -#define TK_RENAME 88 -#define TK_TAG 89 -#define TK_SET 90 -#define TK_NK_EQ 91 -#define TK_USING 92 -#define TK_TAGS 93 -#define TK_COMMENT 94 -#define TK_BOOL 95 -#define TK_TINYINT 96 -#define TK_SMALLINT 97 -#define TK_INT 98 -#define TK_INTEGER 99 -#define TK_BIGINT 100 -#define TK_FLOAT 101 -#define TK_DOUBLE 102 -#define TK_BINARY 103 -#define TK_TIMESTAMP 104 -#define TK_NCHAR 105 -#define TK_UNSIGNED 106 -#define TK_JSON 107 -#define TK_VARCHAR 108 -#define TK_MEDIUMBLOB 109 -#define TK_BLOB 110 -#define TK_VARBINARY 111 -#define TK_DECIMAL 112 -#define TK_MAX_DELAY 113 -#define TK_WATERMARK 114 -#define TK_ROLLUP 115 -#define TK_TTL 116 -#define TK_SMA 117 -#define TK_FIRST 118 -#define TK_LAST 119 -#define TK_SHOW 120 -#define TK_DATABASES 121 -#define TK_TABLES 122 -#define TK_STABLES 123 -#define TK_MNODES 124 -#define TK_MODULES 125 -#define TK_QNODES 126 -#define TK_FUNCTIONS 127 -#define TK_INDEXES 128 -#define TK_ACCOUNTS 129 -#define TK_APPS 130 -#define TK_CONNECTIONS 131 -#define TK_LICENCE 132 -#define TK_GRANTS 133 -#define TK_QUERIES 134 -#define TK_SCORES 135 -#define TK_TOPICS 136 -#define TK_VARIABLES 137 -#define TK_BNODES 138 -#define TK_SNODES 139 -#define TK_CLUSTER 140 -#define TK_TRANSACTIONS 141 -#define TK_DISTRIBUTED 142 -#define TK_CONSUMERS 143 -#define TK_SUBSCRIPTIONS 144 -#define TK_LIKE 145 -#define TK_INDEX 146 -#define TK_FUNCTION 147 -#define TK_INTERVAL 148 -#define TK_TOPIC 149 -#define TK_AS 150 -#define TK_WITH 151 -#define TK_META 152 -#define TK_CONSUMER 153 -#define TK_GROUP 154 -#define TK_DESC 155 -#define TK_DESCRIBE 156 -#define TK_RESET 157 -#define TK_QUERY 158 -#define TK_CACHE 159 -#define TK_EXPLAIN 160 -#define TK_ANALYZE 161 -#define TK_VERBOSE 162 -#define TK_NK_BOOL 163 -#define TK_RATIO 164 -#define TK_NK_FLOAT 165 -#define TK_COMPACT 166 -#define TK_VNODES 167 -#define TK_IN 168 -#define TK_OUTPUTTYPE 169 -#define TK_AGGREGATE 170 -#define TK_BUFSIZE 171 -#define TK_STREAM 172 -#define TK_INTO 173 -#define TK_TRIGGER 174 -#define TK_AT_ONCE 175 -#define TK_WINDOW_CLOSE 176 -#define TK_IGNORE 177 -#define TK_EXPIRED 178 -#define TK_KILL 179 -#define TK_CONNECTION 180 -#define TK_TRANSACTION 181 -#define TK_BALANCE 182 -#define TK_VGROUP 183 -#define TK_MERGE 184 -#define TK_REDISTRIBUTE 185 -#define TK_SPLIT 186 -#define TK_SYNCDB 187 -#define TK_DELETE 188 -#define TK_INSERT 189 -#define TK_NULL 190 -#define TK_NK_QUESTION 191 -#define TK_NK_ARROW 192 -#define TK_ROWTS 193 -#define TK_TBNAME 194 -#define TK_QSTARTTS 195 -#define TK_QENDTS 196 -#define TK_WSTARTTS 197 -#define TK_WENDTS 198 -#define TK_WDURATION 199 -#define TK_CAST 200 -#define TK_NOW 201 -#define TK_TODAY 202 -#define TK_TIMEZONE 203 -#define TK_CLIENT_VERSION 204 -#define TK_SERVER_VERSION 205 -#define TK_SERVER_STATUS 206 -#define TK_CURRENT_USER 207 -#define TK_COUNT 208 -#define TK_LAST_ROW 209 -#define TK_BETWEEN 210 -#define TK_IS 211 -#define TK_NK_LT 212 -#define TK_NK_GT 213 -#define TK_NK_LE 214 -#define TK_NK_GE 215 -#define TK_NK_NE 216 -#define TK_MATCH 217 -#define TK_NMATCH 218 -#define TK_CONTAINS 219 -#define TK_JOIN 220 -#define TK_INNER 221 -#define TK_SELECT 222 -#define TK_DISTINCT 223 -#define TK_WHERE 224 -#define TK_PARTITION 225 -#define TK_BY 226 -#define TK_SESSION 227 -#define TK_STATE_WINDOW 228 -#define TK_SLIDING 229 -#define TK_FILL 230 -#define TK_VALUE 231 -#define TK_NONE 232 -#define TK_PREV 233 -#define TK_LINEAR 234 -#define TK_NEXT 235 -#define TK_HAVING 236 -#define TK_RANGE 237 -#define TK_EVERY 238 -#define TK_ORDER 239 -#define TK_SLIMIT 240 -#define TK_SOFFSET 241 -#define TK_LIMIT 242 -#define TK_OFFSET 243 -#define TK_ASC 244 -#define TK_NULLS 245 -#define TK_ID 246 -#define TK_NK_BITNOT 247 -#define TK_VALUES 248 -#define TK_IMPORT 249 -#define TK_NK_SEMI 250 -#define TK_FILE 251 +#define TK_FLUSH 58 +#define TK_IF 59 +#define TK_NOT 60 +#define TK_EXISTS 61 +#define TK_BUFFER 62 +#define TK_CACHELAST 63 +#define TK_COMP 64 +#define TK_DURATION 65 +#define TK_NK_VARIABLE 66 +#define TK_FSYNC 67 +#define TK_MAXROWS 68 +#define TK_MINROWS 69 +#define TK_KEEP 70 +#define TK_PAGES 71 +#define TK_PAGESIZE 72 +#define TK_PRECISION 73 +#define TK_REPLICA 74 +#define TK_STRICT 75 +#define TK_WAL 76 +#define TK_VGROUPS 77 +#define TK_SINGLE_STABLE 78 +#define TK_RETENTIONS 79 +#define TK_SCHEMALESS 80 +#define TK_NK_COLON 81 +#define TK_TABLE 82 +#define TK_NK_LP 83 +#define TK_NK_RP 84 +#define TK_STABLE 85 +#define TK_ADD 86 +#define TK_COLUMN 87 +#define TK_MODIFY 88 +#define TK_RENAME 89 +#define TK_TAG 90 +#define TK_SET 91 +#define TK_NK_EQ 92 +#define TK_USING 93 +#define TK_TAGS 94 +#define TK_COMMENT 95 +#define TK_BOOL 96 +#define TK_TINYINT 97 +#define TK_SMALLINT 98 +#define TK_INT 99 +#define TK_INTEGER 100 +#define TK_BIGINT 101 +#define TK_FLOAT 102 +#define TK_DOUBLE 103 +#define TK_BINARY 104 +#define TK_TIMESTAMP 105 +#define TK_NCHAR 106 +#define TK_UNSIGNED 107 +#define TK_JSON 108 +#define TK_VARCHAR 109 +#define TK_MEDIUMBLOB 110 +#define TK_BLOB 111 +#define TK_VARBINARY 112 +#define TK_DECIMAL 113 +#define TK_MAX_DELAY 114 +#define TK_WATERMARK 115 +#define TK_ROLLUP 116 +#define TK_TTL 117 +#define TK_SMA 118 +#define TK_FIRST 119 +#define TK_LAST 120 +#define TK_SHOW 121 +#define TK_DATABASES 122 +#define TK_TABLES 123 +#define TK_STABLES 124 +#define TK_MNODES 125 +#define TK_MODULES 126 +#define TK_QNODES 127 +#define TK_FUNCTIONS 128 +#define TK_INDEXES 129 +#define TK_ACCOUNTS 130 +#define TK_APPS 131 +#define TK_CONNECTIONS 132 +#define TK_LICENCE 133 +#define TK_GRANTS 134 +#define TK_QUERIES 135 +#define TK_SCORES 136 +#define TK_TOPICS 137 +#define TK_VARIABLES 138 +#define TK_BNODES 139 +#define TK_SNODES 140 +#define TK_CLUSTER 141 +#define TK_TRANSACTIONS 142 +#define TK_DISTRIBUTED 143 +#define TK_CONSUMERS 144 +#define TK_SUBSCRIPTIONS 145 +#define TK_LIKE 146 +#define TK_INDEX 147 +#define TK_FUNCTION 148 +#define TK_INTERVAL 149 +#define TK_TOPIC 150 +#define TK_AS 151 +#define TK_WITH 152 +#define TK_META 153 +#define TK_CONSUMER 154 +#define TK_GROUP 155 +#define TK_DESC 156 +#define TK_DESCRIBE 157 +#define TK_RESET 158 +#define TK_QUERY 159 +#define TK_CACHE 160 +#define TK_EXPLAIN 161 +#define TK_ANALYZE 162 +#define TK_VERBOSE 163 +#define TK_NK_BOOL 164 +#define TK_RATIO 165 +#define TK_NK_FLOAT 166 +#define TK_COMPACT 167 +#define TK_VNODES 168 +#define TK_IN 169 +#define TK_OUTPUTTYPE 170 +#define TK_AGGREGATE 171 +#define TK_BUFSIZE 172 +#define TK_STREAM 173 +#define TK_INTO 174 +#define TK_TRIGGER 175 +#define TK_AT_ONCE 176 +#define TK_WINDOW_CLOSE 177 +#define TK_IGNORE 178 +#define TK_EXPIRED 179 +#define TK_KILL 180 +#define TK_CONNECTION 181 +#define TK_TRANSACTION 182 +#define TK_BALANCE 183 +#define TK_VGROUP 184 +#define TK_MERGE 185 +#define TK_REDISTRIBUTE 186 +#define TK_SPLIT 187 +#define TK_SYNCDB 188 +#define TK_DELETE 189 +#define TK_INSERT 190 +#define TK_NULL 191 +#define TK_NK_QUESTION 192 +#define TK_NK_ARROW 193 +#define TK_ROWTS 194 +#define TK_TBNAME 195 +#define TK_QSTARTTS 196 +#define TK_QENDTS 197 +#define TK_WSTARTTS 198 +#define TK_WENDTS 199 +#define TK_WDURATION 200 +#define TK_CAST 201 +#define TK_NOW 202 +#define TK_TODAY 203 +#define TK_TIMEZONE 204 +#define TK_CLIENT_VERSION 205 +#define TK_SERVER_VERSION 206 +#define TK_SERVER_STATUS 207 +#define TK_CURRENT_USER 208 +#define TK_COUNT 209 +#define TK_LAST_ROW 210 +#define TK_BETWEEN 211 +#define TK_IS 212 +#define TK_NK_LT 213 +#define TK_NK_GT 214 +#define TK_NK_LE 215 +#define TK_NK_GE 216 +#define TK_NK_NE 217 +#define TK_MATCH 218 +#define TK_NMATCH 219 +#define TK_CONTAINS 220 +#define TK_JOIN 221 +#define TK_INNER 222 +#define TK_SELECT 223 +#define TK_DISTINCT 224 +#define TK_WHERE 225 +#define TK_PARTITION 226 +#define TK_BY 227 +#define TK_SESSION 228 +#define TK_STATE_WINDOW 229 +#define TK_SLIDING 230 +#define TK_FILL 231 +#define TK_VALUE 232 +#define TK_NONE 233 +#define TK_PREV 234 +#define TK_LINEAR 235 +#define TK_NEXT 236 +#define TK_HAVING 237 +#define TK_RANGE 238 +#define TK_EVERY 239 +#define TK_ORDER 240 +#define TK_SLIMIT 241 +#define TK_SOFFSET 242 +#define TK_LIMIT 243 +#define TK_OFFSET 244 +#define TK_ASC 245 +#define TK_NULLS 246 +#define TK_ID 247 +#define TK_NK_BITNOT 248 +#define TK_VALUES 249 +#define TK_IMPORT 250 +#define TK_NK_SEMI 251 +#define TK_FILE 252 #define TK_NK_SPACE 300 #define TK_NK_COMMENT 301 diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index 84ce6acf6d..1bc204b9d9 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -104,26 +104,26 @@ #endif /************* Begin control #defines *****************************************/ #define YYCODETYPE unsigned short int -#define YYNOCODE 375 +#define YYNOCODE 376 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; - SDataType yy34; - EJoinType yy162; - EOrder yy188; - SNode* yy212; - SAlterOption yy245; - EOperatorType yy290; - EFillMode yy294; - SToken yy329; - SNodeList* yy424; - ENullOrder yy607; - int64_t yy609; - int32_t yy610; - int8_t yy653; - bool yy737; + EJoinType yy52; + bool yy89; + SDataType yy224; + int32_t yy228; + SNode* yy248; + SAlterOption yy301; + ENullOrder yy345; + SToken yy401; + EOrder yy482; + int64_t yy525; + SNodeList* yy552; + EFillMode yy582; + int8_t yy695; + EOperatorType yy716; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -139,17 +139,17 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 658 -#define YYNRULE 484 -#define YYNTOKEN 252 -#define YY_MAX_SHIFT 657 -#define YY_MIN_SHIFTREDUCE 959 -#define YY_MAX_SHIFTREDUCE 1442 -#define YY_ERROR_ACTION 1443 -#define YY_ACCEPT_ACTION 1444 -#define YY_NO_ACTION 1445 -#define YY_MIN_REDUCE 1446 -#define YY_MAX_REDUCE 1929 +#define YYNSTATE 661 +#define YYNRULE 485 +#define YYNTOKEN 253 +#define YY_MAX_SHIFT 660 +#define YY_MIN_SHIFTREDUCE 962 +#define YY_MAX_SHIFTREDUCE 1446 +#define YY_ERROR_ACTION 1447 +#define YY_ACCEPT_ACTION 1448 +#define YY_NO_ACTION 1449 +#define YY_MIN_REDUCE 1450 +#define YY_MAX_REDUCE 1934 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -216,654 +216,658 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (2354) +#define YY_ACTTAB_COUNT (2363) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 378, 1907, 427, 509, 428, 1481, 435, 341, 428, 1481, - /* 10 */ 1625, 1627, 40, 38, 1906, 140, 1444, 71, 1904, 79, - /* 20 */ 336, 1447, 1244, 1511, 1583, 41, 39, 37, 36, 35, - /* 30 */ 117, 992, 522, 1319, 1764, 1242, 62, 31, 258, 1575, - /* 40 */ 1573, 1907, 103, 164, 1907, 102, 101, 100, 99, 98, - /* 50 */ 97, 96, 95, 94, 159, 546, 1314, 159, 1904, 14, - /* 60 */ 1580, 1904, 1782, 549, 549, 1250, 1782, 142, 1269, 1458, - /* 70 */ 574, 996, 997, 323, 539, 1734, 348, 573, 40, 38, - /* 80 */ 1382, 140, 1, 122, 479, 478, 336, 1632, 1244, 477, - /* 90 */ 1582, 551, 118, 474, 324, 444, 473, 472, 471, 1319, - /* 100 */ 1764, 1242, 1795, 1630, 654, 1469, 89, 1765, 576, 1767, - /* 110 */ 1768, 572, 538, 567, 61, 61, 1841, 1907, 1321, 1322, - /* 120 */ 303, 1837, 1314, 120, 624, 14, 44, 339, 1782, 143, - /* 130 */ 159, 1250, 1907, 1537, 1904, 140, 574, 548, 155, 1849, - /* 140 */ 1850, 1734, 1854, 573, 1582, 161, 1734, 103, 2, 1904, - /* 150 */ 102, 101, 100, 99, 98, 97, 96, 95, 94, 426, - /* 160 */ 219, 220, 430, 1245, 372, 1243, 1141, 1142, 1795, 346, - /* 170 */ 654, 1508, 91, 1765, 576, 1767, 1768, 572, 1269, 567, - /* 180 */ 434, 510, 1841, 430, 1321, 1322, 1840, 1837, 1446, 322, - /* 190 */ 1248, 1249, 1677, 1297, 1298, 1300, 1301, 1302, 1303, 1304, - /* 200 */ 569, 565, 1312, 1313, 1315, 1316, 1317, 1318, 1320, 1323, - /* 210 */ 1907, 535, 112, 111, 110, 109, 108, 107, 106, 105, - /* 220 */ 104, 302, 162, 159, 512, 213, 1676, 1904, 297, 1245, - /* 230 */ 71, 1243, 631, 630, 629, 344, 549, 628, 627, 626, - /* 240 */ 123, 621, 620, 619, 618, 617, 616, 615, 614, 133, - /* 250 */ 610, 61, 1576, 75, 162, 162, 1248, 1249, 61, 1297, - /* 260 */ 1298, 1300, 1301, 1302, 1303, 1304, 569, 565, 1312, 1313, - /* 270 */ 1315, 1316, 1317, 1318, 1320, 1323, 40, 38, 555, 342, - /* 280 */ 479, 478, 384, 1403, 336, 477, 1244, 140, 118, 474, - /* 290 */ 541, 536, 473, 472, 471, 495, 1582, 1319, 43, 1242, - /* 300 */ 1099, 598, 597, 596, 1103, 595, 1105, 1106, 594, 1108, - /* 310 */ 591, 1268, 1114, 588, 1116, 1117, 585, 582, 1907, 300, - /* 320 */ 1314, 1751, 484, 14, 532, 1401, 1402, 1404, 1405, 1250, - /* 330 */ 1468, 160, 1748, 40, 38, 1904, 1907, 494, 377, 522, - /* 340 */ 376, 336, 86, 1244, 1764, 1632, 2, 206, 1061, 159, - /* 350 */ 113, 205, 340, 1904, 1319, 119, 1242, 465, 1744, 1750, - /* 360 */ 325, 1630, 540, 1572, 1467, 487, 1244, 1580, 654, 481, - /* 370 */ 567, 1734, 1782, 522, 204, 1907, 1558, 1314, 1063, 1242, - /* 380 */ 550, 1267, 1321, 1322, 165, 1734, 1250, 573, 1905, 34, - /* 390 */ 33, 162, 1904, 41, 39, 37, 36, 35, 162, 56, - /* 400 */ 522, 1580, 55, 8, 1571, 1734, 73, 302, 432, 1250, - /* 410 */ 512, 382, 1795, 369, 1266, 1748, 90, 1765, 576, 1767, - /* 420 */ 1768, 572, 522, 567, 153, 654, 1841, 1245, 1580, 1243, - /* 430 */ 329, 1837, 154, 383, 444, 371, 367, 1619, 162, 1321, - /* 440 */ 1322, 1744, 1750, 218, 158, 1626, 1627, 1009, 654, 1008, - /* 450 */ 1580, 609, 1867, 567, 1248, 1249, 1680, 1297, 1298, 1300, - /* 460 */ 1301, 1302, 1303, 1304, 569, 565, 1312, 1313, 1315, 1316, - /* 470 */ 1317, 1318, 1320, 1323, 34, 33, 556, 1010, 41, 39, - /* 480 */ 37, 36, 35, 1009, 1245, 1008, 1243, 34, 33, 1556, - /* 490 */ 27, 41, 39, 37, 36, 35, 34, 33, 463, 1670, - /* 500 */ 41, 39, 37, 36, 35, 1224, 1225, 1245, 563, 1243, - /* 510 */ 172, 1248, 1249, 1010, 1297, 1298, 1300, 1301, 1302, 1303, - /* 520 */ 1304, 569, 565, 1312, 1313, 1315, 1316, 1317, 1318, 1320, - /* 530 */ 1323, 40, 38, 1324, 1248, 1249, 1439, 476, 475, 336, - /* 540 */ 417, 1244, 1764, 162, 1569, 522, 192, 609, 522, 1413, - /* 550 */ 1856, 1386, 1319, 522, 1242, 313, 387, 1268, 1270, 402, - /* 560 */ 146, 510, 1393, 546, 113, 461, 457, 453, 449, 191, - /* 570 */ 1782, 470, 1678, 1580, 1853, 1314, 1580, 1343, 574, 522, - /* 580 */ 1675, 1580, 297, 1734, 1250, 573, 174, 173, 40, 38, - /* 590 */ 403, 122, 625, 623, 72, 42, 336, 189, 1244, 551, - /* 600 */ 1348, 9, 522, 314, 469, 312, 311, 1580, 467, 1319, - /* 610 */ 1795, 1242, 469, 443, 89, 1765, 576, 1767, 1768, 572, - /* 620 */ 613, 567, 1552, 654, 1841, 1438, 468, 170, 303, 1837, - /* 630 */ 1580, 120, 1314, 522, 468, 1192, 493, 1321, 1322, 1333, - /* 640 */ 1907, 1250, 28, 1379, 1577, 1466, 156, 1849, 1850, 491, - /* 650 */ 1854, 489, 69, 159, 1752, 68, 1250, 1904, 9, 188, - /* 660 */ 181, 1580, 186, 11, 10, 1748, 440, 34, 33, 996, - /* 670 */ 997, 41, 39, 37, 36, 35, 546, 7, 607, 522, - /* 680 */ 654, 1329, 1245, 59, 1243, 179, 1734, 1268, 250, 601, - /* 690 */ 1709, 1744, 1750, 605, 1321, 1322, 1623, 131, 130, 604, - /* 700 */ 603, 602, 23, 567, 122, 1465, 1464, 1580, 1856, 1248, - /* 710 */ 1249, 1268, 1297, 1298, 1300, 1301, 1302, 1303, 1304, 569, - /* 720 */ 565, 1312, 1313, 1315, 1316, 1317, 1318, 1320, 1323, 34, - /* 730 */ 33, 1299, 1852, 41, 39, 37, 36, 35, 1033, 1245, - /* 740 */ 1856, 1243, 29, 1271, 120, 1355, 1734, 1734, 34, 33, - /* 750 */ 1463, 612, 41, 39, 37, 36, 35, 1462, 1461, 157, - /* 760 */ 1849, 1850, 606, 1854, 1851, 1623, 1248, 1249, 1034, 1297, - /* 770 */ 1298, 1300, 1301, 1302, 1303, 1304, 569, 565, 1312, 1313, - /* 780 */ 1315, 1316, 1317, 1318, 1320, 1323, 40, 38, 299, 1498, - /* 790 */ 1266, 1734, 657, 1565, 336, 1764, 1244, 410, 1734, 1734, - /* 800 */ 422, 37, 36, 35, 1282, 522, 265, 1319, 1460, 1242, - /* 810 */ 270, 480, 1457, 1610, 1861, 1375, 503, 395, 1557, 423, - /* 820 */ 151, 397, 212, 1782, 522, 647, 643, 639, 635, 263, - /* 830 */ 1314, 574, 522, 1580, 1456, 507, 1734, 502, 573, 1250, - /* 840 */ 34, 33, 1632, 520, 41, 39, 37, 36, 35, 1734, - /* 850 */ 74, 388, 1580, 1734, 87, 522, 2, 228, 1631, 1375, - /* 860 */ 1580, 1299, 1378, 1795, 45, 4, 521, 91, 1765, 576, - /* 870 */ 1767, 1768, 572, 230, 567, 1734, 1721, 1841, 654, 1455, - /* 880 */ 558, 562, 1837, 1580, 1454, 1299, 1453, 1452, 1451, 1450, - /* 890 */ 519, 421, 1321, 1322, 416, 415, 414, 413, 412, 409, - /* 900 */ 408, 407, 406, 405, 401, 400, 399, 398, 392, 391, - /* 910 */ 390, 389, 607, 386, 385, 1449, 1538, 52, 506, 553, - /* 920 */ 1734, 141, 215, 357, 1253, 1734, 276, 1734, 1734, 1734, - /* 930 */ 1734, 131, 130, 604, 603, 602, 1555, 1245, 522, 1243, - /* 940 */ 274, 58, 1487, 1216, 57, 208, 34, 33, 1252, 259, - /* 950 */ 41, 39, 37, 36, 35, 1567, 1734, 1563, 546, 197, - /* 960 */ 175, 209, 195, 217, 1248, 1249, 1580, 1297, 1298, 1300, - /* 970 */ 1301, 1302, 1303, 1304, 569, 565, 1312, 1313, 1315, 1316, - /* 980 */ 1317, 1318, 1320, 1323, 1493, 61, 122, 34, 33, 522, - /* 990 */ 649, 41, 39, 37, 36, 35, 199, 304, 201, 198, - /* 1000 */ 343, 200, 1491, 221, 34, 33, 482, 551, 41, 39, - /* 1010 */ 37, 36, 35, 203, 568, 125, 202, 1580, 11, 10, - /* 1020 */ 1754, 1282, 85, 88, 485, 600, 120, 1459, 128, 1341, - /* 1030 */ 607, 129, 82, 50, 253, 234, 1764, 496, 304, 1441, - /* 1040 */ 1442, 248, 1849, 545, 42, 544, 42, 533, 1907, 131, - /* 1050 */ 130, 604, 603, 602, 1256, 515, 1756, 42, 66, 65, - /* 1060 */ 381, 161, 580, 169, 1782, 1904, 462, 128, 227, 375, - /* 1070 */ 1341, 1092, 571, 1400, 242, 237, 1783, 1734, 1255, 573, - /* 1080 */ 559, 345, 298, 1342, 1349, 365, 1305, 363, 359, 355, - /* 1090 */ 166, 350, 347, 129, 114, 1764, 1482, 269, 1620, 128, - /* 1100 */ 547, 1871, 1120, 247, 1795, 252, 1347, 1124, 291, 1765, - /* 1110 */ 576, 1767, 1768, 572, 570, 567, 564, 1813, 255, 257, - /* 1120 */ 80, 5, 3, 1782, 1342, 162, 53, 349, 1266, 352, - /* 1130 */ 356, 550, 309, 1131, 1129, 1061, 1734, 1764, 573, 132, - /* 1140 */ 310, 1208, 266, 404, 1672, 171, 139, 1347, 30, 334, - /* 1150 */ 1336, 1337, 1338, 1339, 1340, 1344, 1345, 1346, 411, 418, - /* 1160 */ 419, 420, 424, 1795, 1272, 1782, 425, 90, 1765, 576, - /* 1170 */ 1767, 1768, 572, 574, 567, 433, 1275, 1841, 1734, 436, - /* 1180 */ 573, 329, 1837, 154, 178, 437, 180, 1274, 438, 30, - /* 1190 */ 334, 1336, 1337, 1338, 1339, 1340, 1344, 1345, 1346, 1276, - /* 1200 */ 1764, 439, 183, 1868, 441, 1795, 185, 1273, 442, 91, - /* 1210 */ 1765, 576, 1767, 1768, 572, 187, 567, 70, 445, 1841, - /* 1220 */ 190, 464, 301, 93, 1838, 1714, 1764, 466, 1782, 1570, - /* 1230 */ 194, 207, 1566, 267, 196, 134, 574, 135, 497, 1568, - /* 1240 */ 1564, 1734, 136, 573, 137, 498, 210, 214, 319, 504, - /* 1250 */ 508, 530, 516, 1271, 1782, 534, 501, 268, 511, 225, - /* 1260 */ 78, 1882, 574, 1713, 1682, 513, 321, 1734, 1795, 573, - /* 1270 */ 126, 526, 90, 1765, 576, 1767, 1768, 572, 6, 567, - /* 1280 */ 127, 517, 1841, 1881, 223, 1863, 329, 1837, 1920, 1581, - /* 1290 */ 543, 241, 148, 518, 1795, 528, 529, 1875, 90, 1765, - /* 1300 */ 576, 1767, 1768, 572, 232, 567, 328, 537, 1841, 1872, - /* 1310 */ 527, 236, 329, 1837, 1920, 1764, 327, 326, 525, 524, - /* 1320 */ 1375, 121, 1270, 1898, 560, 557, 1258, 246, 19, 330, - /* 1330 */ 578, 1624, 1857, 271, 1553, 243, 546, 1319, 651, 1251, - /* 1340 */ 262, 650, 51, 1782, 653, 284, 147, 1728, 244, 275, - /* 1350 */ 63, 574, 273, 294, 293, 1727, 1734, 1726, 573, 64, - /* 1360 */ 1314, 245, 1725, 1822, 122, 351, 1722, 353, 354, 1250, - /* 1370 */ 1236, 1237, 167, 1720, 358, 360, 361, 1903, 554, 362, - /* 1380 */ 251, 1764, 561, 1795, 254, 551, 256, 90, 1765, 576, - /* 1390 */ 1767, 1768, 572, 1719, 567, 1923, 364, 1841, 1718, 366, - /* 1400 */ 1717, 329, 1837, 1920, 120, 368, 1716, 370, 531, 1782, - /* 1410 */ 1699, 168, 1860, 373, 374, 1211, 1210, 574, 1693, 248, - /* 1420 */ 1849, 545, 1734, 544, 573, 379, 1907, 1692, 380, 1691, - /* 1430 */ 1690, 1180, 1665, 1664, 1663, 67, 1662, 1661, 551, 159, - /* 1440 */ 1660, 1659, 1658, 1904, 393, 1764, 394, 1657, 396, 1795, - /* 1450 */ 1656, 1655, 1654, 283, 1765, 576, 1767, 1768, 572, 1653, - /* 1460 */ 567, 1652, 1651, 1650, 1649, 1648, 1647, 1259, 1646, 1254, - /* 1470 */ 1645, 1644, 1643, 1782, 1642, 1641, 1640, 124, 1639, 1907, - /* 1480 */ 1638, 574, 1637, 1636, 1635, 1634, 1734, 1633, 573, 1182, - /* 1490 */ 1510, 1478, 161, 115, 1262, 176, 1904, 1764, 152, 1477, - /* 1500 */ 999, 1707, 551, 429, 431, 565, 1312, 1313, 1315, 1316, - /* 1510 */ 1317, 1318, 998, 1795, 1701, 1689, 116, 283, 1765, 576, - /* 1520 */ 1767, 1768, 572, 184, 567, 1782, 1688, 1674, 177, 1559, - /* 1530 */ 1509, 182, 1507, 574, 1505, 446, 447, 1503, 1734, 1027, - /* 1540 */ 573, 448, 450, 1907, 451, 452, 454, 456, 1501, 1490, - /* 1550 */ 1764, 455, 458, 1489, 1474, 460, 159, 459, 1561, 1135, - /* 1560 */ 1904, 1134, 193, 1560, 1764, 1795, 1060, 1499, 1059, 144, - /* 1570 */ 1765, 576, 1767, 1768, 572, 1058, 567, 1057, 1782, 622, - /* 1580 */ 1054, 624, 1053, 320, 49, 1052, 574, 315, 1494, 1492, - /* 1590 */ 316, 1734, 1782, 573, 317, 483, 1473, 523, 1472, 486, - /* 1600 */ 574, 488, 1471, 492, 490, 1734, 92, 573, 1706, 1218, - /* 1610 */ 54, 1700, 138, 552, 1921, 499, 1764, 1687, 1795, 500, - /* 1620 */ 1685, 1686, 292, 1765, 576, 1767, 1768, 572, 211, 567, - /* 1630 */ 1684, 1683, 1795, 15, 1228, 216, 292, 1765, 576, 1767, - /* 1640 */ 1768, 572, 1681, 567, 1782, 1673, 318, 82, 224, 229, - /* 1650 */ 42, 226, 574, 222, 16, 505, 1260, 1734, 76, 573, - /* 1660 */ 514, 77, 24, 10, 240, 1415, 231, 235, 1764, 48, - /* 1670 */ 233, 239, 26, 1397, 1399, 1392, 145, 238, 1754, 25, - /* 1680 */ 1764, 81, 249, 1372, 1795, 1427, 47, 1371, 287, 1765, - /* 1690 */ 576, 1767, 1768, 572, 1764, 567, 1782, 1753, 149, 1432, - /* 1700 */ 18, 1426, 1421, 331, 574, 1431, 1430, 332, 1782, 1734, - /* 1710 */ 20, 573, 1334, 333, 1290, 1798, 574, 575, 1309, 566, - /* 1720 */ 17, 1734, 1782, 573, 1307, 150, 542, 1306, 32, 12, - /* 1730 */ 571, 21, 163, 46, 579, 1734, 1795, 573, 22, 338, - /* 1740 */ 144, 1765, 576, 1767, 1768, 572, 13, 567, 1795, 583, - /* 1750 */ 1764, 577, 292, 1765, 576, 1767, 1768, 572, 1121, 567, - /* 1760 */ 581, 586, 1795, 1118, 1764, 584, 291, 1765, 576, 1767, - /* 1770 */ 1768, 572, 1115, 567, 1764, 1814, 587, 589, 1782, 1109, - /* 1780 */ 590, 592, 593, 335, 1107, 1922, 574, 599, 1113, 1098, - /* 1790 */ 1112, 1734, 1782, 573, 1111, 83, 1110, 337, 84, 1130, - /* 1800 */ 574, 60, 1782, 260, 1126, 1734, 608, 573, 1025, 1049, - /* 1810 */ 574, 611, 261, 1047, 1067, 1734, 1764, 573, 1795, 1046, - /* 1820 */ 1045, 1044, 292, 1765, 576, 1767, 1768, 572, 1764, 567, - /* 1830 */ 1043, 1042, 1795, 1041, 1040, 1064, 292, 1765, 576, 1767, - /* 1840 */ 1768, 572, 1795, 567, 1782, 1062, 277, 1765, 576, 1767, - /* 1850 */ 1768, 572, 574, 567, 1037, 1036, 1782, 1734, 1035, 573, - /* 1860 */ 1032, 1031, 1030, 1506, 574, 632, 1504, 634, 633, 1734, - /* 1870 */ 1764, 573, 636, 638, 1502, 640, 1500, 642, 637, 641, - /* 1880 */ 1764, 644, 645, 646, 1795, 1488, 648, 989, 278, 1765, - /* 1890 */ 576, 1767, 1768, 572, 1764, 567, 1795, 1470, 1782, 264, - /* 1900 */ 279, 1765, 576, 1767, 1768, 572, 574, 567, 1782, 652, - /* 1910 */ 655, 1734, 1246, 573, 272, 1445, 574, 1445, 656, 1445, - /* 1920 */ 1445, 1734, 1782, 573, 1445, 1445, 1445, 1445, 1445, 1445, - /* 1930 */ 574, 1445, 1445, 1445, 1445, 1734, 1764, 573, 1795, 1445, - /* 1940 */ 1445, 1445, 286, 1765, 576, 1767, 1768, 572, 1795, 567, - /* 1950 */ 1764, 1445, 288, 1765, 576, 1767, 1768, 572, 1445, 567, - /* 1960 */ 1764, 1445, 1795, 1445, 1782, 1445, 280, 1765, 576, 1767, - /* 1970 */ 1768, 572, 574, 567, 1445, 1445, 1445, 1734, 1782, 573, - /* 1980 */ 1445, 1445, 1445, 1445, 1445, 1445, 574, 1445, 1782, 1445, - /* 1990 */ 1445, 1734, 1445, 573, 1445, 1445, 574, 1445, 1445, 1445, - /* 2000 */ 1445, 1734, 1445, 573, 1795, 1445, 1445, 1445, 289, 1765, - /* 2010 */ 576, 1767, 1768, 572, 1445, 567, 1445, 1445, 1795, 1445, - /* 2020 */ 1764, 1445, 281, 1765, 576, 1767, 1768, 572, 1795, 567, - /* 2030 */ 1764, 1445, 290, 1765, 576, 1767, 1768, 572, 1445, 567, - /* 2040 */ 1445, 1445, 1764, 1445, 1445, 1445, 1445, 1445, 1782, 1445, - /* 2050 */ 1445, 1445, 1445, 1445, 1445, 1445, 574, 1445, 1782, 1445, - /* 2060 */ 1445, 1734, 1445, 573, 1445, 1445, 574, 1445, 1445, 1445, - /* 2070 */ 1782, 1734, 1445, 573, 1445, 1445, 1445, 1445, 574, 1445, - /* 2080 */ 1445, 1445, 1445, 1734, 1764, 573, 1445, 1445, 1795, 1445, - /* 2090 */ 1445, 1445, 282, 1765, 576, 1767, 1768, 572, 1795, 567, - /* 2100 */ 1764, 1445, 295, 1765, 576, 1767, 1768, 572, 1445, 567, - /* 2110 */ 1795, 1445, 1782, 1445, 296, 1765, 576, 1767, 1768, 572, - /* 2120 */ 574, 567, 1445, 1445, 1445, 1734, 1764, 573, 1782, 1445, - /* 2130 */ 1445, 1445, 1445, 1445, 1445, 1445, 574, 1445, 1445, 1445, - /* 2140 */ 1445, 1734, 1445, 573, 1445, 1445, 1445, 1445, 1445, 1445, - /* 2150 */ 1764, 1445, 1795, 1445, 1782, 1445, 1776, 1765, 576, 1767, - /* 2160 */ 1768, 572, 574, 567, 1445, 1445, 1445, 1734, 1795, 573, - /* 2170 */ 1445, 1445, 1775, 1765, 576, 1767, 1768, 572, 1782, 567, - /* 2180 */ 1445, 1445, 1445, 1445, 1445, 1445, 574, 1445, 1445, 1445, - /* 2190 */ 1445, 1734, 1764, 573, 1795, 1445, 1445, 1445, 1774, 1765, - /* 2200 */ 576, 1767, 1768, 572, 1764, 567, 1445, 1445, 1445, 1445, - /* 2210 */ 1445, 1445, 1445, 1445, 1445, 1445, 1764, 1445, 1795, 1445, - /* 2220 */ 1782, 1445, 307, 1765, 576, 1767, 1768, 572, 574, 567, - /* 2230 */ 1445, 1445, 1782, 1734, 1445, 573, 1445, 1445, 1445, 1445, - /* 2240 */ 574, 1445, 1445, 1445, 1782, 1734, 1445, 573, 1445, 1445, - /* 2250 */ 1445, 1445, 574, 1445, 1445, 1445, 1445, 1734, 1445, 573, - /* 2260 */ 1795, 1445, 1445, 1445, 306, 1765, 576, 1767, 1768, 572, - /* 2270 */ 1445, 567, 1795, 1445, 1764, 1445, 308, 1765, 576, 1767, - /* 2280 */ 1768, 572, 1445, 567, 1795, 1445, 1445, 1445, 305, 1765, - /* 2290 */ 576, 1767, 1768, 572, 1445, 567, 1445, 1445, 1445, 1445, - /* 2300 */ 1445, 1445, 1782, 1445, 1445, 1445, 1445, 1445, 1445, 1445, - /* 2310 */ 574, 1445, 1445, 1445, 1445, 1734, 1445, 573, 1445, 1445, - /* 2320 */ 1445, 1445, 1445, 1445, 1445, 1445, 1445, 1445, 1445, 1445, - /* 2330 */ 1445, 1445, 1445, 1445, 1445, 1445, 1445, 1445, 1445, 1445, - /* 2340 */ 1445, 1445, 1795, 1445, 1445, 1445, 285, 1765, 576, 1767, - /* 2350 */ 1768, 572, 1445, 567, + /* 0 */ 430, 549, 431, 1485, 438, 1685, 431, 1485, 1576, 549, + /* 10 */ 34, 33, 40, 38, 41, 39, 37, 36, 35, 1753, + /* 20 */ 337, 71, 1248, 1451, 379, 1756, 435, 342, 552, 122, + /* 30 */ 1630, 1632, 1270, 1323, 117, 1246, 1753, 122, 41, 39, + /* 40 */ 37, 36, 35, 1580, 103, 1749, 1755, 102, 101, 100, + /* 50 */ 99, 98, 97, 96, 95, 94, 1318, 570, 554, 1912, + /* 60 */ 14, 1448, 1749, 1755, 326, 1912, 1254, 1769, 62, 120, + /* 70 */ 385, 1012, 1911, 1011, 570, 447, 1909, 120, 159, 40, + /* 80 */ 38, 1386, 1909, 1, 156, 1854, 1855, 337, 1859, 1248, + /* 90 */ 1273, 44, 249, 1854, 548, 1787, 547, 995, 513, 1912, + /* 100 */ 1323, 1013, 1246, 577, 1473, 657, 323, 301, 1739, 1682, + /* 110 */ 576, 142, 161, 1462, 61, 1912, 1909, 482, 481, 1325, + /* 120 */ 1326, 349, 480, 1318, 554, 118, 477, 14, 160, 476, + /* 130 */ 475, 474, 1909, 1254, 1681, 1800, 298, 999, 1000, 89, + /* 140 */ 1770, 579, 1772, 1773, 575, 1739, 570, 61, 610, 1846, + /* 150 */ 2, 34, 33, 304, 1842, 41, 39, 37, 36, 35, + /* 160 */ 220, 221, 1912, 1912, 1249, 1912, 1247, 131, 130, 607, + /* 170 */ 606, 605, 657, 1512, 552, 159, 1910, 1637, 161, 1909, + /* 180 */ 1909, 143, 1909, 418, 325, 1542, 1325, 1326, 1450, 1145, + /* 190 */ 1146, 1252, 1253, 1635, 1301, 1302, 1304, 1305, 1306, 1307, + /* 200 */ 1308, 572, 568, 1316, 1317, 1319, 1320, 1321, 1322, 1324, + /* 210 */ 1327, 61, 112, 111, 110, 109, 108, 107, 106, 105, + /* 220 */ 104, 303, 558, 162, 515, 31, 259, 1417, 214, 174, + /* 230 */ 173, 1249, 219, 1247, 71, 634, 633, 632, 345, 1407, + /* 240 */ 631, 630, 629, 123, 624, 623, 622, 621, 620, 619, + /* 250 */ 618, 617, 133, 613, 162, 61, 1581, 75, 1252, 1253, + /* 260 */ 1273, 1301, 1302, 1304, 1305, 1306, 1307, 1308, 572, 568, + /* 270 */ 1316, 1317, 1319, 1320, 1321, 1322, 1324, 1327, 40, 38, + /* 280 */ 535, 1405, 1406, 1408, 1409, 549, 337, 162, 1248, 627, + /* 290 */ 512, 378, 347, 377, 1228, 1229, 1631, 1632, 370, 1323, + /* 300 */ 1563, 1246, 1103, 601, 600, 599, 1107, 598, 1109, 1110, + /* 310 */ 597, 1112, 594, 122, 1118, 591, 1120, 1121, 588, 585, + /* 320 */ 372, 368, 1318, 498, 479, 478, 14, 525, 1561, 525, + /* 330 */ 373, 1912, 1254, 1912, 554, 40, 38, 1769, 164, 1248, + /* 340 */ 113, 86, 1272, 337, 159, 1248, 159, 468, 1909, 2, + /* 350 */ 1909, 162, 1246, 120, 119, 1585, 1323, 1585, 1246, 447, + /* 360 */ 543, 1012, 1577, 1011, 1912, 1787, 207, 1472, 249, 1854, + /* 370 */ 548, 657, 547, 577, 1787, 1912, 466, 159, 1739, 1318, + /* 380 */ 576, 1909, 542, 1254, 552, 1325, 1326, 612, 159, 1254, + /* 390 */ 1471, 1013, 1909, 103, 554, 162, 102, 101, 100, 99, + /* 400 */ 98, 97, 96, 95, 94, 1800, 8, 1757, 1739, 89, + /* 410 */ 1770, 579, 1772, 1773, 575, 1065, 570, 538, 1753, 1846, + /* 420 */ 541, 559, 657, 304, 1842, 73, 303, 612, 657, 515, + /* 430 */ 1249, 1739, 1247, 34, 33, 1912, 496, 41, 39, 37, + /* 440 */ 36, 35, 1325, 1326, 1749, 1755, 1067, 43, 159, 494, + /* 450 */ 1470, 492, 1909, 1390, 1274, 1037, 570, 1252, 1253, 1272, + /* 460 */ 1301, 1302, 1304, 1305, 1306, 1307, 1308, 572, 568, 1316, + /* 470 */ 1317, 1319, 1320, 1321, 1322, 1324, 1327, 11, 10, 549, + /* 480 */ 1562, 1249, 525, 1247, 525, 549, 1038, 1249, 153, 1247, + /* 490 */ 79, 1739, 1861, 165, 1726, 383, 544, 539, 34, 33, + /* 500 */ 314, 1624, 41, 39, 37, 36, 35, 122, 1252, 1253, + /* 510 */ 1585, 1578, 1585, 122, 1252, 1253, 1858, 1301, 1302, 1304, + /* 520 */ 1305, 1306, 1307, 1308, 572, 568, 1316, 1317, 1319, 1320, + /* 530 */ 1321, 1322, 1324, 1327, 40, 38, 1328, 525, 37, 36, + /* 540 */ 35, 358, 337, 1769, 1248, 525, 162, 120, 384, 315, + /* 550 */ 305, 313, 312, 120, 470, 1323, 388, 1246, 472, 324, + /* 560 */ 1359, 551, 155, 1854, 1855, 1585, 1859, 140, 157, 1854, + /* 570 */ 1855, 1787, 1859, 1585, 1286, 610, 1587, 1271, 1318, 553, + /* 580 */ 471, 1443, 1345, 1333, 1739, 251, 576, 162, 1254, 1272, + /* 590 */ 85, 40, 38, 1515, 131, 130, 607, 606, 605, 337, + /* 600 */ 82, 1248, 34, 33, 1861, 9, 41, 39, 37, 36, + /* 610 */ 35, 1800, 1323, 566, 1246, 90, 1770, 579, 1772, 1773, + /* 620 */ 575, 525, 570, 429, 170, 1846, 433, 657, 1857, 330, + /* 630 */ 1842, 154, 113, 525, 1303, 1318, 1346, 23, 1680, 473, + /* 640 */ 298, 1325, 1326, 158, 403, 1254, 525, 1675, 1469, 1585, + /* 650 */ 69, 1872, 1254, 68, 525, 482, 481, 404, 172, 1351, + /* 660 */ 480, 1585, 9, 118, 477, 446, 1275, 476, 475, 474, + /* 670 */ 1442, 34, 33, 340, 1585, 41, 39, 37, 36, 35, + /* 680 */ 1637, 140, 1585, 525, 657, 604, 1249, 341, 1247, 1739, + /* 690 */ 1587, 615, 1468, 616, 1582, 1557, 1635, 1383, 1325, 1326, + /* 700 */ 1560, 30, 335, 1340, 1341, 1342, 1343, 1344, 1348, 1349, + /* 710 */ 1350, 1585, 437, 1252, 1253, 433, 1301, 1302, 1304, 1305, + /* 720 */ 1306, 1307, 1308, 572, 568, 1316, 1317, 1319, 1320, 1321, + /* 730 */ 1322, 1324, 1327, 1739, 34, 33, 628, 626, 41, 39, + /* 740 */ 37, 36, 35, 1249, 1337, 1247, 27, 1397, 608, 999, + /* 750 */ 1000, 1628, 34, 33, 140, 29, 41, 39, 37, 36, + /* 760 */ 35, 34, 33, 1588, 1303, 41, 39, 37, 36, 35, + /* 770 */ 1252, 1253, 59, 1301, 1302, 1304, 1305, 1306, 1307, 1308, + /* 780 */ 572, 568, 1316, 1317, 1319, 1320, 1321, 1322, 1324, 1327, + /* 790 */ 40, 38, 300, 1272, 1270, 610, 660, 231, 337, 1769, + /* 800 */ 1248, 411, 1574, 1347, 423, 1467, 1466, 1465, 525, 525, + /* 810 */ 266, 1323, 1464, 1246, 131, 130, 607, 606, 605, 1714, + /* 820 */ 506, 396, 1461, 424, 151, 398, 1352, 1787, 7, 650, + /* 830 */ 646, 642, 638, 264, 1318, 577, 1585, 1585, 525, 1460, + /* 840 */ 1739, 525, 576, 343, 1254, 1570, 1739, 1739, 1739, 510, + /* 850 */ 42, 140, 523, 1739, 513, 609, 389, 561, 1628, 87, + /* 860 */ 1587, 2, 229, 1739, 1861, 1683, 1585, 1800, 28, 1585, + /* 870 */ 472, 91, 1770, 579, 1772, 1773, 575, 139, 570, 1459, + /* 880 */ 1739, 1846, 1458, 657, 1457, 1845, 1842, 271, 1856, 1456, + /* 890 */ 1615, 1196, 471, 1866, 1379, 522, 422, 1325, 1326, 417, + /* 900 */ 416, 415, 414, 413, 410, 409, 408, 407, 406, 402, + /* 910 */ 401, 400, 399, 393, 392, 391, 390, 1382, 387, 386, + /* 920 */ 1739, 1455, 1454, 1739, 1637, 1739, 141, 216, 34, 33, + /* 930 */ 1739, 277, 41, 39, 37, 36, 35, 45, 4, 1502, + /* 940 */ 1636, 1572, 1249, 525, 1247, 275, 58, 1568, 1220, 57, + /* 950 */ 209, 34, 33, 1453, 524, 41, 39, 37, 36, 35, + /* 960 */ 210, 483, 1739, 1739, 1769, 176, 426, 1497, 1303, 1252, + /* 970 */ 1253, 1585, 1301, 1302, 1304, 1305, 1306, 1307, 1308, 572, + /* 980 */ 568, 1316, 1317, 1319, 1320, 1321, 1322, 1324, 1327, 485, + /* 990 */ 198, 61, 1787, 196, 1739, 525, 200, 525, 202, 199, + /* 1000 */ 553, 201, 1495, 305, 1286, 1739, 260, 576, 344, 556, + /* 1010 */ 204, 1379, 218, 203, 125, 213, 52, 509, 128, 129, + /* 1020 */ 1759, 50, 1257, 1585, 488, 1585, 235, 11, 10, 88, + /* 1030 */ 571, 603, 1800, 1256, 505, 1345, 90, 1770, 579, 1772, + /* 1040 */ 1773, 575, 1769, 570, 74, 1463, 1846, 1445, 1446, 42, + /* 1050 */ 330, 1842, 154, 222, 1543, 518, 254, 1761, 562, 228, + /* 1060 */ 1096, 42, 1404, 42, 66, 65, 382, 238, 583, 169, + /* 1070 */ 1787, 536, 1873, 465, 499, 376, 243, 1788, 577, 128, + /* 1080 */ 346, 129, 114, 1739, 1491, 576, 128, 1486, 299, 1346, + /* 1090 */ 1353, 366, 1625, 364, 360, 356, 166, 351, 348, 1876, + /* 1100 */ 550, 248, 1309, 253, 270, 256, 258, 3, 53, 1124, + /* 1110 */ 1800, 80, 1351, 5, 90, 1770, 579, 1772, 1773, 575, + /* 1120 */ 1128, 570, 1135, 1133, 1846, 328, 327, 132, 330, 1842, + /* 1130 */ 1925, 162, 652, 350, 1270, 1262, 353, 357, 310, 1880, + /* 1140 */ 1769, 1065, 1212, 311, 267, 405, 1323, 1677, 1255, 171, + /* 1150 */ 412, 193, 419, 1260, 30, 335, 1340, 1341, 1342, 1343, + /* 1160 */ 1344, 1348, 1349, 1350, 1259, 146, 1769, 420, 1787, 1318, + /* 1170 */ 464, 460, 456, 452, 192, 1276, 577, 487, 421, 1254, + /* 1180 */ 425, 1739, 427, 576, 428, 436, 1279, 439, 440, 179, + /* 1190 */ 181, 1278, 497, 442, 1787, 1280, 1277, 441, 184, 444, + /* 1200 */ 72, 186, 577, 190, 445, 188, 206, 1739, 1800, 576, + /* 1210 */ 70, 448, 90, 1770, 579, 1772, 1773, 575, 534, 570, + /* 1220 */ 490, 191, 1846, 467, 484, 469, 330, 1842, 1925, 205, + /* 1230 */ 1575, 1719, 195, 1769, 1800, 1571, 197, 1903, 90, 1770, + /* 1240 */ 579, 1772, 1773, 575, 134, 570, 135, 1573, 1846, 93, + /* 1250 */ 1569, 302, 330, 1842, 1925, 56, 136, 137, 55, 268, + /* 1260 */ 208, 1787, 501, 1865, 500, 189, 182, 504, 187, 577, + /* 1270 */ 211, 507, 443, 511, 1739, 533, 576, 1263, 215, 1258, + /* 1280 */ 519, 514, 320, 1718, 224, 1687, 1769, 126, 516, 127, + /* 1290 */ 554, 180, 322, 226, 269, 520, 1769, 78, 1275, 537, + /* 1300 */ 1586, 1800, 521, 6, 1266, 284, 1770, 579, 1772, 1773, + /* 1310 */ 575, 233, 570, 529, 1787, 568, 1316, 1317, 1319, 1320, + /* 1320 */ 1321, 1322, 577, 1877, 1787, 237, 531, 1739, 530, 576, + /* 1330 */ 532, 1912, 577, 546, 329, 528, 527, 1739, 540, 576, + /* 1340 */ 121, 1379, 1887, 554, 161, 247, 1274, 563, 1909, 560, + /* 1350 */ 1886, 1769, 19, 581, 1800, 331, 1629, 245, 284, 1770, + /* 1360 */ 579, 1772, 1773, 575, 1800, 570, 272, 1769, 91, 1770, + /* 1370 */ 579, 1772, 1773, 575, 1868, 570, 246, 242, 1846, 1787, + /* 1380 */ 1862, 244, 565, 1842, 1912, 1928, 1558, 574, 1827, 263, + /* 1390 */ 653, 656, 1739, 252, 576, 1787, 654, 159, 51, 147, + /* 1400 */ 285, 1909, 148, 577, 1908, 557, 295, 294, 1739, 274, + /* 1410 */ 576, 276, 1733, 255, 63, 1732, 564, 1769, 257, 1800, + /* 1420 */ 1731, 1730, 64, 292, 1770, 579, 1772, 1773, 575, 573, + /* 1430 */ 570, 567, 1818, 1769, 352, 1800, 1727, 355, 354, 144, + /* 1440 */ 1770, 579, 1772, 1773, 575, 1787, 570, 359, 1240, 1241, + /* 1450 */ 1725, 167, 361, 577, 362, 363, 1724, 365, 1739, 1723, + /* 1460 */ 576, 1787, 367, 1722, 369, 1721, 321, 371, 1704, 577, + /* 1470 */ 168, 374, 375, 1215, 1739, 1769, 576, 1214, 1698, 1697, + /* 1480 */ 380, 381, 1696, 555, 1926, 1800, 1695, 1184, 1670, 91, + /* 1490 */ 1770, 579, 1772, 1773, 575, 1769, 570, 1669, 1668, 1846, + /* 1500 */ 67, 1800, 1667, 1787, 1843, 293, 1770, 579, 1772, 1773, + /* 1510 */ 575, 577, 570, 1666, 1665, 1664, 1739, 1663, 576, 394, + /* 1520 */ 395, 1662, 397, 1787, 1661, 1660, 1659, 1658, 526, 1657, + /* 1530 */ 1656, 577, 124, 1647, 1646, 1645, 1739, 1655, 576, 1654, + /* 1540 */ 1653, 1652, 1651, 1800, 1650, 1649, 1648, 288, 1770, 579, + /* 1550 */ 1772, 1773, 575, 1769, 570, 1644, 1643, 1642, 1186, 1641, + /* 1560 */ 1640, 1639, 1638, 1800, 1516, 1769, 175, 293, 1770, 579, + /* 1570 */ 1772, 1773, 575, 1514, 570, 1769, 1482, 1002, 1481, 1001, + /* 1580 */ 177, 1787, 115, 1712, 1706, 545, 1694, 1693, 178, 577, + /* 1590 */ 152, 116, 185, 1787, 1739, 432, 576, 434, 334, 1679, + /* 1600 */ 1564, 577, 1513, 1787, 1511, 183, 1739, 449, 576, 451, + /* 1610 */ 1509, 574, 453, 455, 450, 1031, 1739, 1507, 576, 459, + /* 1620 */ 457, 1800, 454, 1505, 1494, 144, 1770, 579, 1772, 1773, + /* 1630 */ 575, 461, 570, 1800, 1493, 1769, 458, 293, 1770, 579, + /* 1640 */ 1772, 1773, 575, 1800, 570, 462, 463, 292, 1770, 579, + /* 1650 */ 1772, 1773, 575, 1478, 570, 1566, 1819, 1139, 1769, 194, + /* 1660 */ 49, 1138, 1565, 1787, 1064, 1063, 1062, 1061, 336, 625, + /* 1670 */ 1927, 577, 1058, 1057, 1503, 1056, 1739, 1498, 576, 627, + /* 1680 */ 316, 317, 486, 1496, 489, 318, 1787, 1477, 1476, 491, + /* 1690 */ 1475, 338, 493, 495, 577, 92, 1711, 1705, 138, 1739, + /* 1700 */ 1769, 576, 1222, 1800, 502, 1692, 212, 293, 1770, 579, + /* 1710 */ 1772, 1773, 575, 1690, 570, 1691, 1689, 1769, 15, 1686, + /* 1720 */ 1678, 82, 54, 1688, 225, 217, 1800, 223, 1787, 1232, + /* 1730 */ 293, 1770, 579, 1772, 1773, 575, 577, 570, 230, 503, + /* 1740 */ 1419, 1739, 319, 576, 76, 1787, 508, 42, 77, 16, + /* 1750 */ 517, 24, 227, 577, 234, 232, 241, 1401, 1739, 236, + /* 1760 */ 576, 1264, 1403, 145, 48, 1396, 1431, 1769, 1800, 239, + /* 1770 */ 240, 1759, 278, 1770, 579, 1772, 1773, 575, 25, 570, + /* 1780 */ 26, 81, 250, 1376, 1375, 1800, 47, 1758, 1769, 279, + /* 1790 */ 1770, 579, 1772, 1773, 575, 1787, 570, 149, 1436, 18, + /* 1800 */ 1430, 1425, 46, 577, 332, 1435, 17, 1434, 1739, 1769, + /* 1810 */ 576, 333, 10, 1803, 20, 569, 1787, 13, 1338, 1313, + /* 1820 */ 150, 163, 1311, 32, 577, 1294, 1310, 580, 12, 1739, + /* 1830 */ 21, 576, 22, 582, 1125, 1800, 578, 1787, 584, 280, + /* 1840 */ 1770, 579, 1772, 1773, 575, 577, 570, 339, 1122, 586, + /* 1850 */ 1739, 1769, 576, 589, 592, 595, 1800, 1119, 1102, 1117, + /* 1860 */ 287, 1770, 579, 1772, 1773, 575, 587, 570, 1769, 590, + /* 1870 */ 1116, 1113, 593, 1115, 1111, 596, 602, 1800, 83, 1787, + /* 1880 */ 84, 289, 1770, 579, 1772, 1773, 575, 577, 570, 1114, + /* 1890 */ 1134, 60, 1739, 261, 576, 1130, 1787, 1071, 1029, 611, + /* 1900 */ 1053, 262, 614, 1051, 577, 1050, 1049, 1048, 1046, 1739, + /* 1910 */ 1047, 576, 1045, 1044, 1068, 1066, 1041, 1040, 1039, 1800, + /* 1920 */ 1769, 636, 1036, 281, 1770, 579, 1772, 1773, 575, 1035, + /* 1930 */ 570, 1034, 1510, 635, 637, 1508, 1800, 639, 640, 641, + /* 1940 */ 290, 1770, 579, 1772, 1773, 575, 1506, 570, 1787, 643, + /* 1950 */ 644, 645, 1504, 647, 648, 649, 577, 1492, 651, 992, + /* 1960 */ 1474, 1739, 265, 576, 655, 1449, 1250, 273, 658, 659, + /* 1970 */ 1449, 1449, 1449, 1449, 1769, 1449, 1449, 1449, 1449, 1449, + /* 1980 */ 1449, 1449, 1449, 1449, 1449, 1449, 1449, 1449, 1800, 1449, + /* 1990 */ 1769, 1449, 282, 1770, 579, 1772, 1773, 575, 1449, 570, + /* 2000 */ 1769, 1449, 1787, 1449, 1449, 1449, 1449, 1449, 1449, 1449, + /* 2010 */ 577, 1449, 1449, 1449, 1449, 1739, 1449, 576, 1787, 1449, + /* 2020 */ 1449, 1449, 1449, 1449, 1449, 1449, 577, 1449, 1787, 1449, + /* 2030 */ 1449, 1739, 1449, 576, 1449, 1449, 577, 1449, 1449, 1449, + /* 2040 */ 1449, 1739, 1800, 576, 1449, 1449, 291, 1770, 579, 1772, + /* 2050 */ 1773, 575, 1769, 570, 1449, 1449, 1449, 1449, 1800, 1449, + /* 2060 */ 1449, 1449, 283, 1770, 579, 1772, 1773, 575, 1800, 570, + /* 2070 */ 1449, 1449, 296, 1770, 579, 1772, 1773, 575, 1449, 570, + /* 2080 */ 1787, 1449, 1449, 1449, 1449, 1449, 1449, 1449, 577, 1449, + /* 2090 */ 1449, 1449, 1449, 1739, 1769, 576, 1449, 1449, 1449, 1449, + /* 2100 */ 1449, 1449, 1449, 1449, 1449, 1449, 1449, 1449, 1769, 1449, + /* 2110 */ 1449, 1449, 1449, 1449, 1449, 1449, 1449, 1449, 1769, 1449, + /* 2120 */ 1800, 1449, 1787, 1449, 297, 1770, 579, 1772, 1773, 575, + /* 2130 */ 577, 570, 1449, 1449, 1449, 1739, 1787, 576, 1449, 1449, + /* 2140 */ 1449, 1449, 1449, 1449, 577, 1449, 1787, 1449, 1449, 1739, + /* 2150 */ 1449, 576, 1449, 1449, 577, 1449, 1449, 1449, 1449, 1739, + /* 2160 */ 1449, 576, 1800, 1449, 1449, 1449, 1781, 1770, 579, 1772, + /* 2170 */ 1773, 575, 1449, 570, 1449, 1449, 1800, 1769, 1449, 1449, + /* 2180 */ 1780, 1770, 579, 1772, 1773, 575, 1800, 570, 1449, 1449, + /* 2190 */ 1779, 1770, 579, 1772, 1773, 575, 1449, 570, 1769, 1449, + /* 2200 */ 1449, 1449, 1449, 1449, 1449, 1787, 1449, 1449, 1449, 1449, + /* 2210 */ 1449, 1449, 1449, 577, 1449, 1449, 1449, 1449, 1739, 1449, + /* 2220 */ 576, 1449, 1449, 1449, 1449, 1449, 1787, 1449, 1449, 1449, + /* 2230 */ 1449, 1449, 1449, 1449, 577, 1449, 1449, 1449, 1449, 1739, + /* 2240 */ 1449, 576, 1449, 1449, 1449, 1800, 1449, 1449, 1449, 308, + /* 2250 */ 1770, 579, 1772, 1773, 575, 1449, 570, 1769, 1449, 1449, + /* 2260 */ 1449, 1449, 1449, 1449, 1449, 1449, 1800, 1769, 1449, 1449, + /* 2270 */ 307, 1770, 579, 1772, 1773, 575, 1449, 570, 1449, 1449, + /* 2280 */ 1449, 1449, 1449, 1769, 1449, 1787, 1449, 1449, 1449, 1449, + /* 2290 */ 1449, 1449, 1449, 577, 1449, 1787, 1449, 1449, 1739, 1449, + /* 2300 */ 576, 1449, 1449, 577, 1449, 1449, 1449, 1449, 1739, 1449, + /* 2310 */ 576, 1787, 1449, 1449, 1449, 1449, 1449, 1449, 1449, 577, + /* 2320 */ 1449, 1449, 1449, 1449, 1739, 1800, 576, 1449, 1449, 309, + /* 2330 */ 1770, 579, 1772, 1773, 575, 1800, 570, 1449, 1449, 306, + /* 2340 */ 1770, 579, 1772, 1773, 575, 1449, 570, 1449, 1449, 1449, + /* 2350 */ 1449, 1800, 1449, 1449, 1449, 286, 1770, 579, 1772, 1773, + /* 2360 */ 575, 1449, 570, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 312, 353, 259, 312, 261, 262, 259, 294, 261, 262, - /* 10 */ 297, 298, 12, 13, 366, 283, 252, 267, 370, 265, - /* 20 */ 20, 0, 22, 0, 292, 12, 13, 14, 15, 16, - /* 30 */ 280, 4, 263, 33, 255, 35, 4, 338, 339, 289, - /* 40 */ 286, 353, 21, 274, 353, 24, 25, 26, 27, 28, - /* 50 */ 29, 30, 31, 32, 366, 263, 56, 366, 370, 59, - /* 60 */ 291, 370, 283, 20, 20, 65, 283, 254, 20, 256, - /* 70 */ 291, 44, 45, 275, 291, 296, 312, 298, 12, 13, - /* 80 */ 14, 283, 82, 291, 61, 62, 20, 283, 22, 66, - /* 90 */ 292, 312, 69, 70, 290, 58, 73, 74, 75, 33, - /* 100 */ 255, 35, 323, 299, 104, 255, 327, 328, 329, 330, - /* 110 */ 331, 332, 329, 334, 82, 82, 337, 353, 118, 119, - /* 120 */ 341, 342, 56, 331, 43, 59, 82, 275, 283, 268, - /* 130 */ 366, 65, 353, 272, 370, 283, 291, 345, 346, 347, - /* 140 */ 348, 296, 350, 298, 292, 366, 296, 21, 82, 370, - /* 150 */ 24, 25, 26, 27, 28, 29, 30, 31, 32, 260, - /* 160 */ 113, 114, 263, 163, 83, 165, 118, 119, 323, 312, - /* 170 */ 104, 0, 327, 328, 329, 330, 331, 332, 20, 334, - /* 180 */ 260, 298, 337, 263, 118, 119, 341, 342, 0, 306, - /* 190 */ 190, 191, 309, 193, 194, 195, 196, 197, 198, 199, + /* 0 */ 260, 264, 262, 263, 260, 0, 262, 263, 286, 264, + /* 10 */ 8, 9, 12, 13, 12, 13, 14, 15, 16, 297, + /* 20 */ 20, 268, 22, 0, 313, 286, 14, 295, 20, 292, + /* 30 */ 298, 299, 20, 33, 281, 35, 297, 292, 12, 13, + /* 40 */ 14, 15, 16, 290, 21, 323, 324, 24, 25, 26, + /* 50 */ 27, 28, 29, 30, 31, 32, 56, 335, 313, 354, + /* 60 */ 60, 253, 323, 324, 325, 354, 66, 256, 4, 332, + /* 70 */ 264, 20, 367, 22, 335, 59, 371, 332, 367, 12, + /* 80 */ 13, 14, 371, 83, 347, 348, 349, 20, 351, 22, + /* 90 */ 20, 83, 347, 348, 349, 284, 351, 4, 299, 354, + /* 100 */ 33, 50, 35, 292, 256, 105, 307, 301, 297, 310, + /* 110 */ 299, 255, 367, 257, 83, 354, 371, 62, 63, 119, + /* 120 */ 120, 313, 67, 56, 313, 70, 71, 60, 367, 74, + /* 130 */ 75, 76, 371, 66, 309, 324, 311, 44, 45, 328, + /* 140 */ 329, 330, 331, 332, 333, 297, 335, 83, 95, 338, + /* 150 */ 83, 8, 9, 342, 343, 12, 13, 14, 15, 16, + /* 160 */ 114, 115, 354, 354, 164, 354, 166, 114, 115, 116, + /* 170 */ 117, 118, 105, 0, 20, 367, 367, 284, 367, 371, + /* 180 */ 371, 269, 371, 77, 291, 273, 119, 120, 0, 119, + /* 190 */ 120, 191, 192, 300, 194, 195, 196, 197, 198, 199, /* 200 */ 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, - /* 210 */ 353, 148, 24, 25, 26, 27, 28, 29, 30, 31, - /* 220 */ 32, 174, 222, 366, 177, 56, 308, 370, 310, 163, - /* 230 */ 267, 165, 61, 62, 63, 64, 20, 66, 67, 68, - /* 240 */ 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, - /* 250 */ 79, 82, 289, 84, 222, 222, 190, 191, 82, 193, - /* 260 */ 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, - /* 270 */ 204, 205, 206, 207, 208, 209, 12, 13, 43, 275, - /* 280 */ 61, 62, 263, 190, 20, 66, 22, 283, 69, 70, - /* 290 */ 227, 228, 73, 74, 75, 312, 292, 33, 82, 35, - /* 300 */ 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, - /* 310 */ 105, 20, 107, 108, 109, 110, 111, 112, 353, 300, - /* 320 */ 56, 285, 4, 59, 231, 232, 233, 234, 235, 65, - /* 330 */ 255, 366, 296, 12, 13, 370, 353, 19, 162, 263, - /* 340 */ 164, 20, 265, 22, 255, 283, 82, 114, 35, 366, - /* 350 */ 274, 33, 290, 370, 33, 278, 35, 281, 322, 323, - /* 360 */ 324, 299, 20, 286, 255, 47, 22, 291, 104, 51, - /* 370 */ 334, 296, 283, 263, 56, 353, 0, 56, 65, 35, - /* 380 */ 291, 20, 118, 119, 274, 296, 65, 298, 366, 8, - /* 390 */ 9, 222, 370, 12, 13, 14, 15, 16, 222, 81, - /* 400 */ 263, 291, 84, 82, 285, 296, 173, 174, 14, 65, - /* 410 */ 177, 274, 323, 158, 20, 296, 327, 328, 329, 330, - /* 420 */ 331, 332, 263, 334, 282, 104, 337, 163, 291, 165, - /* 430 */ 341, 342, 343, 274, 58, 180, 181, 295, 222, 118, - /* 440 */ 119, 322, 323, 113, 355, 297, 298, 20, 104, 22, - /* 450 */ 291, 58, 363, 334, 190, 191, 0, 193, 194, 195, - /* 460 */ 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, - /* 470 */ 206, 207, 208, 209, 8, 9, 241, 50, 12, 13, - /* 480 */ 14, 15, 16, 20, 163, 22, 165, 8, 9, 0, - /* 490 */ 2, 12, 13, 14, 15, 16, 8, 9, 35, 291, - /* 500 */ 12, 13, 14, 15, 16, 175, 176, 163, 59, 165, - /* 510 */ 302, 190, 191, 50, 193, 194, 195, 196, 197, 198, - /* 520 */ 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, - /* 530 */ 209, 12, 13, 14, 190, 191, 155, 269, 270, 20, - /* 540 */ 76, 22, 255, 222, 284, 263, 33, 58, 263, 83, - /* 550 */ 325, 14, 33, 263, 35, 37, 274, 20, 20, 274, - /* 560 */ 47, 298, 83, 263, 274, 52, 53, 54, 55, 56, - /* 570 */ 283, 281, 309, 291, 349, 56, 291, 145, 291, 263, - /* 580 */ 308, 291, 310, 296, 65, 298, 122, 123, 12, 13, - /* 590 */ 274, 291, 269, 270, 81, 43, 20, 84, 22, 312, - /* 600 */ 168, 82, 263, 85, 94, 87, 88, 291, 90, 33, - /* 610 */ 323, 35, 94, 274, 327, 328, 329, 330, 331, 332, - /* 620 */ 271, 334, 273, 104, 337, 244, 116, 56, 341, 342, - /* 630 */ 291, 331, 56, 263, 116, 83, 21, 118, 119, 190, - /* 640 */ 353, 65, 210, 4, 274, 255, 346, 347, 348, 34, - /* 650 */ 350, 36, 81, 366, 285, 84, 65, 370, 82, 146, - /* 660 */ 147, 291, 149, 1, 2, 296, 153, 8, 9, 44, - /* 670 */ 45, 12, 13, 14, 15, 16, 263, 39, 94, 263, - /* 680 */ 104, 14, 163, 3, 165, 172, 296, 20, 150, 93, - /* 690 */ 274, 322, 323, 293, 118, 119, 296, 113, 114, 115, - /* 700 */ 116, 117, 43, 334, 291, 255, 255, 291, 325, 190, - /* 710 */ 191, 20, 193, 194, 195, 196, 197, 198, 199, 200, - /* 720 */ 201, 202, 203, 204, 205, 206, 207, 208, 209, 8, - /* 730 */ 9, 194, 349, 12, 13, 14, 15, 16, 35, 163, - /* 740 */ 325, 165, 2, 20, 331, 83, 296, 296, 8, 9, - /* 750 */ 255, 65, 12, 13, 14, 15, 16, 255, 255, 346, - /* 760 */ 347, 348, 293, 350, 349, 296, 190, 191, 65, 193, - /* 770 */ 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, - /* 780 */ 204, 205, 206, 207, 208, 209, 12, 13, 18, 0, - /* 790 */ 20, 296, 19, 284, 20, 255, 22, 27, 296, 296, - /* 800 */ 30, 14, 15, 16, 83, 263, 33, 33, 255, 35, - /* 810 */ 276, 22, 255, 279, 220, 221, 274, 47, 0, 49, - /* 820 */ 47, 51, 56, 283, 263, 52, 53, 54, 55, 56, - /* 830 */ 56, 291, 263, 291, 255, 274, 296, 316, 298, 65, - /* 840 */ 8, 9, 283, 274, 12, 13, 14, 15, 16, 296, - /* 850 */ 84, 81, 291, 296, 81, 263, 82, 84, 299, 221, - /* 860 */ 291, 194, 223, 323, 42, 43, 274, 327, 328, 329, - /* 870 */ 330, 331, 332, 150, 334, 296, 0, 337, 104, 255, - /* 880 */ 43, 341, 342, 291, 255, 194, 255, 255, 255, 255, - /* 890 */ 117, 121, 118, 119, 124, 125, 126, 127, 128, 129, - /* 900 */ 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, - /* 910 */ 140, 141, 94, 143, 144, 255, 272, 150, 151, 239, - /* 920 */ 296, 18, 149, 47, 35, 296, 23, 296, 296, 296, - /* 930 */ 296, 113, 114, 115, 116, 117, 0, 163, 263, 165, - /* 940 */ 37, 38, 0, 170, 41, 172, 8, 9, 35, 274, - /* 950 */ 12, 13, 14, 15, 16, 284, 296, 284, 263, 86, - /* 960 */ 57, 284, 89, 43, 190, 191, 291, 193, 194, 195, - /* 970 */ 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, - /* 980 */ 206, 207, 208, 209, 0, 82, 291, 8, 9, 263, - /* 990 */ 48, 12, 13, 14, 15, 16, 86, 59, 86, 89, - /* 1000 */ 274, 89, 0, 83, 8, 9, 22, 312, 12, 13, - /* 1010 */ 14, 15, 16, 86, 284, 43, 89, 291, 1, 2, - /* 1020 */ 46, 83, 82, 120, 22, 284, 331, 256, 43, 91, - /* 1030 */ 94, 43, 92, 43, 373, 43, 255, 319, 59, 118, - /* 1040 */ 119, 346, 347, 348, 43, 350, 43, 364, 353, 113, - /* 1050 */ 114, 115, 116, 117, 165, 83, 82, 43, 155, 156, - /* 1060 */ 157, 366, 43, 160, 283, 370, 264, 43, 83, 166, - /* 1070 */ 91, 83, 291, 83, 360, 83, 283, 296, 165, 298, - /* 1080 */ 243, 264, 179, 145, 83, 182, 83, 184, 185, 186, - /* 1090 */ 187, 188, 189, 43, 43, 255, 262, 83, 295, 43, - /* 1100 */ 351, 326, 83, 344, 323, 367, 168, 83, 327, 328, - /* 1110 */ 329, 330, 331, 332, 333, 334, 335, 336, 367, 367, - /* 1120 */ 82, 224, 354, 283, 145, 222, 287, 321, 20, 263, - /* 1130 */ 47, 291, 320, 83, 83, 35, 296, 255, 298, 83, - /* 1140 */ 269, 161, 314, 263, 263, 42, 150, 168, 210, 211, - /* 1150 */ 212, 213, 214, 215, 216, 217, 218, 219, 303, 301, - /* 1160 */ 145, 301, 263, 323, 20, 283, 257, 327, 328, 329, - /* 1170 */ 330, 331, 332, 291, 334, 257, 20, 337, 296, 318, - /* 1180 */ 298, 341, 342, 343, 267, 298, 267, 20, 311, 210, - /* 1190 */ 211, 212, 213, 214, 215, 216, 217, 218, 219, 20, - /* 1200 */ 255, 313, 267, 363, 311, 323, 267, 20, 304, 327, - /* 1210 */ 328, 329, 330, 331, 332, 267, 334, 267, 263, 337, - /* 1220 */ 267, 257, 257, 263, 342, 296, 255, 283, 283, 283, - /* 1230 */ 283, 265, 283, 318, 283, 283, 291, 283, 171, 283, - /* 1240 */ 283, 296, 283, 298, 283, 317, 265, 265, 311, 263, - /* 1250 */ 263, 229, 147, 20, 283, 230, 298, 279, 296, 265, - /* 1260 */ 265, 359, 291, 296, 296, 296, 296, 296, 323, 298, - /* 1270 */ 307, 296, 327, 328, 329, 330, 331, 332, 236, 334, - /* 1280 */ 307, 305, 337, 359, 291, 362, 341, 342, 343, 291, - /* 1290 */ 154, 361, 359, 304, 323, 296, 296, 352, 327, 328, - /* 1300 */ 329, 330, 331, 332, 307, 334, 296, 296, 337, 326, - /* 1310 */ 238, 307, 341, 342, 343, 255, 12, 13, 237, 225, - /* 1320 */ 221, 291, 20, 352, 242, 240, 22, 321, 82, 245, - /* 1330 */ 287, 296, 325, 263, 273, 358, 263, 33, 258, 35, - /* 1340 */ 265, 36, 315, 283, 257, 277, 310, 0, 357, 253, - /* 1350 */ 173, 291, 266, 277, 277, 0, 296, 0, 298, 42, - /* 1360 */ 56, 356, 0, 340, 291, 73, 0, 35, 183, 65, - /* 1370 */ 35, 35, 35, 0, 183, 35, 35, 369, 369, 183, - /* 1380 */ 368, 255, 369, 323, 368, 312, 368, 327, 328, 329, - /* 1390 */ 330, 331, 332, 0, 334, 374, 183, 337, 0, 35, - /* 1400 */ 0, 341, 342, 343, 331, 22, 0, 35, 104, 283, - /* 1410 */ 0, 82, 352, 168, 167, 165, 163, 291, 0, 346, - /* 1420 */ 347, 348, 296, 350, 298, 159, 353, 0, 158, 0, - /* 1430 */ 0, 46, 0, 0, 0, 142, 0, 0, 312, 366, - /* 1440 */ 0, 0, 0, 370, 137, 255, 35, 0, 137, 323, - /* 1450 */ 0, 0, 0, 327, 328, 329, 330, 331, 332, 0, - /* 1460 */ 334, 0, 0, 0, 0, 0, 0, 163, 0, 165, - /* 1470 */ 0, 0, 0, 283, 0, 0, 0, 42, 0, 353, - /* 1480 */ 0, 291, 0, 0, 0, 0, 296, 0, 298, 22, - /* 1490 */ 0, 0, 366, 39, 190, 42, 370, 255, 43, 0, - /* 1500 */ 14, 0, 312, 46, 46, 201, 202, 203, 204, 205, - /* 1510 */ 206, 207, 14, 323, 0, 0, 39, 327, 328, 329, - /* 1520 */ 330, 331, 332, 154, 334, 283, 0, 0, 40, 0, - /* 1530 */ 0, 39, 0, 291, 0, 35, 47, 0, 296, 60, - /* 1540 */ 298, 39, 35, 353, 47, 39, 35, 39, 0, 0, - /* 1550 */ 255, 47, 35, 0, 0, 39, 366, 47, 0, 35, - /* 1560 */ 370, 22, 89, 0, 255, 323, 35, 0, 35, 327, - /* 1570 */ 328, 329, 330, 331, 332, 35, 334, 35, 283, 43, - /* 1580 */ 35, 43, 35, 288, 91, 35, 291, 22, 0, 0, - /* 1590 */ 22, 296, 283, 298, 22, 49, 0, 288, 0, 35, - /* 1600 */ 291, 35, 0, 22, 35, 296, 20, 298, 0, 35, - /* 1610 */ 150, 0, 169, 371, 372, 22, 255, 0, 323, 150, - /* 1620 */ 0, 0, 327, 328, 329, 330, 331, 332, 147, 334, - /* 1630 */ 0, 0, 323, 82, 178, 83, 327, 328, 329, 330, - /* 1640 */ 331, 332, 0, 334, 283, 0, 150, 92, 39, 46, - /* 1650 */ 43, 146, 291, 82, 226, 152, 22, 296, 82, 298, - /* 1660 */ 148, 82, 82, 2, 46, 83, 82, 82, 255, 43, - /* 1670 */ 83, 43, 43, 83, 83, 83, 82, 82, 46, 82, - /* 1680 */ 255, 82, 46, 83, 323, 35, 43, 83, 327, 328, - /* 1690 */ 329, 330, 331, 332, 255, 334, 283, 46, 46, 83, - /* 1700 */ 43, 35, 83, 35, 291, 35, 35, 35, 283, 296, - /* 1710 */ 43, 298, 190, 288, 22, 82, 291, 192, 83, 82, - /* 1720 */ 226, 296, 283, 298, 83, 46, 365, 83, 82, 82, - /* 1730 */ 291, 82, 46, 220, 35, 296, 323, 298, 82, 35, - /* 1740 */ 327, 328, 329, 330, 331, 332, 226, 334, 323, 35, - /* 1750 */ 255, 93, 327, 328, 329, 330, 331, 332, 83, 334, - /* 1760 */ 82, 35, 323, 83, 255, 82, 327, 328, 329, 330, - /* 1770 */ 331, 332, 83, 334, 255, 336, 82, 35, 283, 83, - /* 1780 */ 82, 35, 82, 288, 83, 372, 291, 94, 106, 22, - /* 1790 */ 106, 296, 283, 298, 106, 82, 106, 288, 82, 35, - /* 1800 */ 291, 82, 283, 43, 22, 296, 59, 298, 60, 35, - /* 1810 */ 291, 80, 43, 35, 65, 296, 255, 298, 323, 35, - /* 1820 */ 35, 35, 327, 328, 329, 330, 331, 332, 255, 334, - /* 1830 */ 35, 22, 323, 35, 35, 65, 327, 328, 329, 330, - /* 1840 */ 331, 332, 323, 334, 283, 35, 327, 328, 329, 330, - /* 1850 */ 331, 332, 291, 334, 35, 35, 283, 296, 35, 298, - /* 1860 */ 35, 35, 35, 0, 291, 35, 0, 39, 47, 296, - /* 1870 */ 255, 298, 35, 39, 0, 35, 0, 39, 47, 47, - /* 1880 */ 255, 35, 47, 39, 323, 0, 35, 35, 327, 328, - /* 1890 */ 329, 330, 331, 332, 255, 334, 323, 0, 283, 22, - /* 1900 */ 327, 328, 329, 330, 331, 332, 291, 334, 283, 21, - /* 1910 */ 21, 296, 22, 298, 22, 375, 291, 375, 20, 375, - /* 1920 */ 375, 296, 283, 298, 375, 375, 375, 375, 375, 375, - /* 1930 */ 291, 375, 375, 375, 375, 296, 255, 298, 323, 375, - /* 1940 */ 375, 375, 327, 328, 329, 330, 331, 332, 323, 334, - /* 1950 */ 255, 375, 327, 328, 329, 330, 331, 332, 375, 334, - /* 1960 */ 255, 375, 323, 375, 283, 375, 327, 328, 329, 330, - /* 1970 */ 331, 332, 291, 334, 375, 375, 375, 296, 283, 298, - /* 1980 */ 375, 375, 375, 375, 375, 375, 291, 375, 283, 375, - /* 1990 */ 375, 296, 375, 298, 375, 375, 291, 375, 375, 375, - /* 2000 */ 375, 296, 375, 298, 323, 375, 375, 375, 327, 328, - /* 2010 */ 329, 330, 331, 332, 375, 334, 375, 375, 323, 375, - /* 2020 */ 255, 375, 327, 328, 329, 330, 331, 332, 323, 334, - /* 2030 */ 255, 375, 327, 328, 329, 330, 331, 332, 375, 334, - /* 2040 */ 375, 375, 255, 375, 375, 375, 375, 375, 283, 375, - /* 2050 */ 375, 375, 375, 375, 375, 375, 291, 375, 283, 375, - /* 2060 */ 375, 296, 375, 298, 375, 375, 291, 375, 375, 375, - /* 2070 */ 283, 296, 375, 298, 375, 375, 375, 375, 291, 375, - /* 2080 */ 375, 375, 375, 296, 255, 298, 375, 375, 323, 375, - /* 2090 */ 375, 375, 327, 328, 329, 330, 331, 332, 323, 334, - /* 2100 */ 255, 375, 327, 328, 329, 330, 331, 332, 375, 334, - /* 2110 */ 323, 375, 283, 375, 327, 328, 329, 330, 331, 332, - /* 2120 */ 291, 334, 375, 375, 375, 296, 255, 298, 283, 375, - /* 2130 */ 375, 375, 375, 375, 375, 375, 291, 375, 375, 375, - /* 2140 */ 375, 296, 375, 298, 375, 375, 375, 375, 375, 375, - /* 2150 */ 255, 375, 323, 375, 283, 375, 327, 328, 329, 330, - /* 2160 */ 331, 332, 291, 334, 375, 375, 375, 296, 323, 298, - /* 2170 */ 375, 375, 327, 328, 329, 330, 331, 332, 283, 334, - /* 2180 */ 375, 375, 375, 375, 375, 375, 291, 375, 375, 375, - /* 2190 */ 375, 296, 255, 298, 323, 375, 375, 375, 327, 328, - /* 2200 */ 329, 330, 331, 332, 255, 334, 375, 375, 375, 375, - /* 2210 */ 375, 375, 375, 375, 375, 375, 255, 375, 323, 375, - /* 2220 */ 283, 375, 327, 328, 329, 330, 331, 332, 291, 334, - /* 2230 */ 375, 375, 283, 296, 375, 298, 375, 375, 375, 375, - /* 2240 */ 291, 375, 375, 375, 283, 296, 375, 298, 375, 375, - /* 2250 */ 375, 375, 291, 375, 375, 375, 375, 296, 375, 298, - /* 2260 */ 323, 375, 375, 375, 327, 328, 329, 330, 331, 332, - /* 2270 */ 375, 334, 323, 375, 255, 375, 327, 328, 329, 330, - /* 2280 */ 331, 332, 375, 334, 323, 375, 375, 375, 327, 328, - /* 2290 */ 329, 330, 331, 332, 375, 334, 375, 375, 375, 375, - /* 2300 */ 375, 375, 283, 375, 375, 375, 375, 375, 375, 375, - /* 2310 */ 291, 375, 375, 375, 375, 296, 375, 298, 375, 375, - /* 2320 */ 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, - /* 2330 */ 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, - /* 2340 */ 375, 375, 323, 375, 375, 375, 327, 328, 329, 330, - /* 2350 */ 331, 332, 375, 334, + /* 210 */ 210, 83, 24, 25, 26, 27, 28, 29, 30, 31, + /* 220 */ 32, 175, 43, 223, 178, 339, 340, 84, 56, 123, + /* 230 */ 124, 164, 114, 166, 268, 62, 63, 64, 65, 191, + /* 240 */ 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, + /* 250 */ 77, 78, 79, 80, 223, 83, 290, 85, 191, 192, + /* 260 */ 20, 194, 195, 196, 197, 198, 199, 200, 201, 202, + /* 270 */ 203, 204, 205, 206, 207, 208, 209, 210, 12, 13, + /* 280 */ 232, 233, 234, 235, 236, 264, 20, 223, 22, 43, + /* 290 */ 313, 163, 313, 165, 176, 177, 298, 299, 159, 33, + /* 300 */ 0, 35, 96, 97, 98, 99, 100, 101, 102, 103, + /* 310 */ 104, 105, 106, 292, 108, 109, 110, 111, 112, 113, + /* 320 */ 181, 182, 56, 313, 270, 271, 60, 264, 0, 264, + /* 330 */ 84, 354, 66, 354, 313, 12, 13, 256, 275, 22, + /* 340 */ 275, 266, 20, 20, 367, 22, 367, 282, 371, 83, + /* 350 */ 371, 223, 35, 332, 279, 292, 33, 292, 35, 59, + /* 360 */ 20, 20, 287, 22, 354, 284, 115, 256, 347, 348, + /* 370 */ 349, 105, 351, 292, 284, 354, 35, 367, 297, 56, + /* 380 */ 299, 371, 292, 66, 20, 119, 120, 59, 367, 66, + /* 390 */ 256, 50, 371, 21, 313, 223, 24, 25, 26, 27, + /* 400 */ 28, 29, 30, 31, 32, 324, 83, 286, 297, 328, + /* 410 */ 329, 330, 331, 332, 333, 35, 335, 149, 297, 338, + /* 420 */ 330, 242, 105, 342, 343, 174, 175, 59, 105, 178, + /* 430 */ 164, 297, 166, 8, 9, 354, 21, 12, 13, 14, + /* 440 */ 15, 16, 119, 120, 323, 324, 66, 83, 367, 34, + /* 450 */ 256, 36, 371, 14, 20, 35, 335, 191, 192, 20, + /* 460 */ 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, + /* 470 */ 204, 205, 206, 207, 208, 209, 210, 1, 2, 264, + /* 480 */ 0, 164, 264, 166, 264, 264, 66, 164, 283, 166, + /* 490 */ 266, 297, 326, 275, 0, 275, 228, 229, 8, 9, + /* 500 */ 37, 296, 12, 13, 14, 15, 16, 292, 191, 192, + /* 510 */ 292, 287, 292, 292, 191, 192, 350, 194, 195, 196, + /* 520 */ 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, + /* 530 */ 207, 208, 209, 210, 12, 13, 14, 264, 14, 15, + /* 540 */ 16, 47, 20, 256, 22, 264, 223, 332, 275, 86, + /* 550 */ 60, 88, 89, 332, 91, 33, 275, 35, 95, 276, + /* 560 */ 84, 346, 347, 348, 349, 292, 351, 284, 347, 348, + /* 570 */ 349, 284, 351, 292, 84, 95, 293, 20, 56, 292, + /* 580 */ 117, 156, 92, 14, 297, 151, 299, 223, 66, 20, + /* 590 */ 83, 12, 13, 0, 114, 115, 116, 117, 118, 20, + /* 600 */ 93, 22, 8, 9, 326, 83, 12, 13, 14, 15, + /* 610 */ 16, 324, 33, 60, 35, 328, 329, 330, 331, 332, + /* 620 */ 333, 264, 335, 261, 56, 338, 264, 105, 350, 342, + /* 630 */ 343, 344, 275, 264, 195, 56, 146, 43, 309, 282, + /* 640 */ 311, 119, 120, 356, 275, 66, 264, 292, 256, 292, + /* 650 */ 82, 364, 66, 85, 264, 62, 63, 275, 303, 169, + /* 660 */ 67, 292, 83, 70, 71, 275, 20, 74, 75, 76, + /* 670 */ 245, 8, 9, 276, 292, 12, 13, 14, 15, 16, + /* 680 */ 284, 284, 292, 264, 105, 94, 164, 291, 166, 297, + /* 690 */ 293, 66, 256, 272, 275, 274, 300, 4, 119, 120, + /* 700 */ 0, 211, 212, 213, 214, 215, 216, 217, 218, 219, + /* 710 */ 220, 292, 261, 191, 192, 264, 194, 195, 196, 197, + /* 720 */ 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, + /* 730 */ 208, 209, 210, 297, 8, 9, 270, 271, 12, 13, + /* 740 */ 14, 15, 16, 164, 191, 166, 2, 84, 294, 44, + /* 750 */ 45, 297, 8, 9, 284, 2, 12, 13, 14, 15, + /* 760 */ 16, 8, 9, 293, 195, 12, 13, 14, 15, 16, + /* 770 */ 191, 192, 3, 194, 195, 196, 197, 198, 199, 200, + /* 780 */ 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, + /* 790 */ 12, 13, 18, 20, 20, 95, 19, 151, 20, 256, + /* 800 */ 22, 27, 285, 146, 30, 256, 256, 256, 264, 264, + /* 810 */ 33, 33, 256, 35, 114, 115, 116, 117, 118, 275, + /* 820 */ 275, 47, 256, 49, 47, 51, 169, 284, 39, 52, + /* 830 */ 53, 54, 55, 56, 56, 292, 292, 292, 264, 256, + /* 840 */ 297, 264, 299, 276, 66, 285, 297, 297, 297, 275, + /* 850 */ 43, 284, 275, 297, 299, 294, 82, 43, 297, 82, + /* 860 */ 293, 83, 85, 297, 326, 310, 292, 324, 211, 292, + /* 870 */ 95, 328, 329, 330, 331, 332, 333, 151, 335, 256, + /* 880 */ 297, 338, 256, 105, 256, 342, 343, 277, 350, 256, + /* 890 */ 280, 84, 117, 221, 222, 118, 122, 119, 120, 125, + /* 900 */ 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + /* 910 */ 136, 137, 138, 139, 140, 141, 142, 224, 144, 145, + /* 920 */ 297, 256, 256, 297, 284, 297, 18, 150, 8, 9, + /* 930 */ 297, 23, 12, 13, 14, 15, 16, 42, 43, 0, + /* 940 */ 300, 285, 164, 264, 166, 37, 38, 285, 171, 41, + /* 950 */ 173, 8, 9, 256, 275, 12, 13, 14, 15, 16, + /* 960 */ 285, 22, 297, 297, 256, 57, 58, 0, 195, 191, + /* 970 */ 192, 292, 194, 195, 196, 197, 198, 199, 200, 201, + /* 980 */ 202, 203, 204, 205, 206, 207, 208, 209, 210, 22, + /* 990 */ 87, 83, 284, 90, 297, 264, 87, 264, 87, 90, + /* 1000 */ 292, 90, 0, 60, 84, 297, 275, 299, 275, 240, + /* 1010 */ 87, 222, 43, 90, 43, 56, 151, 152, 43, 43, + /* 1020 */ 46, 43, 35, 292, 22, 292, 43, 1, 2, 121, + /* 1030 */ 285, 285, 324, 35, 317, 92, 328, 329, 330, 331, + /* 1040 */ 332, 333, 256, 335, 85, 257, 338, 119, 120, 43, + /* 1050 */ 342, 343, 344, 84, 273, 84, 374, 83, 244, 84, + /* 1060 */ 84, 43, 84, 43, 156, 157, 158, 84, 43, 161, + /* 1070 */ 284, 365, 364, 265, 320, 167, 361, 284, 292, 43, + /* 1080 */ 265, 43, 43, 297, 0, 299, 43, 263, 180, 146, + /* 1090 */ 84, 183, 296, 185, 186, 187, 188, 189, 190, 327, + /* 1100 */ 352, 345, 84, 368, 84, 368, 368, 355, 288, 84, + /* 1110 */ 324, 83, 169, 225, 328, 329, 330, 331, 332, 333, + /* 1120 */ 84, 335, 84, 84, 338, 12, 13, 84, 342, 343, + /* 1130 */ 344, 223, 48, 322, 20, 22, 264, 47, 321, 353, + /* 1140 */ 256, 35, 162, 270, 315, 264, 33, 264, 35, 42, + /* 1150 */ 304, 33, 302, 166, 211, 212, 213, 214, 215, 216, + /* 1160 */ 217, 218, 219, 220, 166, 47, 256, 146, 284, 56, + /* 1170 */ 52, 53, 54, 55, 56, 20, 292, 4, 302, 66, + /* 1180 */ 264, 297, 264, 299, 258, 258, 20, 319, 299, 268, + /* 1190 */ 268, 20, 19, 314, 284, 20, 20, 312, 268, 312, + /* 1200 */ 82, 268, 292, 85, 305, 268, 33, 297, 324, 299, + /* 1210 */ 268, 264, 328, 329, 330, 331, 332, 333, 105, 335, + /* 1220 */ 47, 268, 338, 258, 51, 284, 342, 343, 344, 56, + /* 1230 */ 284, 297, 284, 256, 324, 284, 284, 353, 328, 329, + /* 1240 */ 330, 331, 332, 333, 284, 335, 284, 284, 338, 264, + /* 1250 */ 284, 258, 342, 343, 344, 82, 284, 284, 85, 319, + /* 1260 */ 266, 284, 318, 353, 172, 147, 148, 299, 150, 292, + /* 1270 */ 266, 264, 154, 264, 297, 230, 299, 164, 266, 166, + /* 1280 */ 148, 297, 312, 297, 292, 297, 256, 308, 297, 308, + /* 1290 */ 313, 173, 297, 266, 280, 306, 256, 266, 20, 231, + /* 1300 */ 292, 324, 305, 237, 191, 328, 329, 330, 331, 332, + /* 1310 */ 333, 308, 335, 297, 284, 202, 203, 204, 205, 206, + /* 1320 */ 207, 208, 292, 327, 284, 308, 297, 297, 239, 299, + /* 1330 */ 297, 354, 292, 155, 297, 238, 226, 297, 297, 299, + /* 1340 */ 292, 222, 360, 313, 367, 322, 20, 243, 371, 241, + /* 1350 */ 360, 256, 83, 288, 324, 246, 297, 358, 328, 329, + /* 1360 */ 330, 331, 332, 333, 324, 335, 264, 256, 328, 329, + /* 1370 */ 330, 331, 332, 333, 363, 335, 357, 362, 338, 284, + /* 1380 */ 326, 359, 342, 343, 354, 375, 274, 292, 341, 266, + /* 1390 */ 36, 258, 297, 369, 299, 284, 259, 367, 316, 311, + /* 1400 */ 278, 371, 360, 292, 370, 370, 278, 278, 297, 267, + /* 1410 */ 299, 254, 0, 369, 174, 0, 370, 256, 369, 324, + /* 1420 */ 0, 0, 42, 328, 329, 330, 331, 332, 333, 334, + /* 1430 */ 335, 336, 337, 256, 74, 324, 0, 184, 35, 328, + /* 1440 */ 329, 330, 331, 332, 333, 284, 335, 184, 35, 35, + /* 1450 */ 0, 35, 35, 292, 35, 184, 0, 184, 297, 0, + /* 1460 */ 299, 284, 35, 0, 22, 0, 289, 35, 0, 292, + /* 1470 */ 83, 169, 168, 166, 297, 256, 299, 164, 0, 0, + /* 1480 */ 160, 159, 0, 372, 373, 324, 0, 46, 0, 328, + /* 1490 */ 329, 330, 331, 332, 333, 256, 335, 0, 0, 338, + /* 1500 */ 143, 324, 0, 284, 343, 328, 329, 330, 331, 332, + /* 1510 */ 333, 292, 335, 0, 0, 0, 297, 0, 299, 138, + /* 1520 */ 35, 0, 138, 284, 0, 0, 0, 0, 289, 0, + /* 1530 */ 0, 292, 42, 0, 0, 0, 297, 0, 299, 0, + /* 1540 */ 0, 0, 0, 324, 0, 0, 0, 328, 329, 330, + /* 1550 */ 331, 332, 333, 256, 335, 0, 0, 0, 22, 0, + /* 1560 */ 0, 0, 0, 324, 0, 256, 56, 328, 329, 330, + /* 1570 */ 331, 332, 333, 0, 335, 256, 0, 14, 0, 14, + /* 1580 */ 42, 284, 39, 0, 0, 366, 0, 0, 40, 292, + /* 1590 */ 43, 39, 155, 284, 297, 46, 299, 46, 289, 0, + /* 1600 */ 0, 292, 0, 284, 0, 39, 297, 35, 299, 39, + /* 1610 */ 0, 292, 35, 39, 47, 61, 297, 0, 299, 39, + /* 1620 */ 35, 324, 47, 0, 0, 328, 329, 330, 331, 332, + /* 1630 */ 333, 35, 335, 324, 0, 256, 47, 328, 329, 330, + /* 1640 */ 331, 332, 333, 324, 335, 47, 39, 328, 329, 330, + /* 1650 */ 331, 332, 333, 0, 335, 0, 337, 35, 256, 90, + /* 1660 */ 92, 22, 0, 284, 35, 35, 35, 35, 289, 43, + /* 1670 */ 373, 292, 35, 35, 0, 35, 297, 0, 299, 43, + /* 1680 */ 22, 22, 49, 0, 35, 22, 284, 0, 0, 35, + /* 1690 */ 0, 289, 35, 22, 292, 20, 0, 0, 170, 297, + /* 1700 */ 256, 299, 35, 324, 22, 0, 148, 328, 329, 330, + /* 1710 */ 331, 332, 333, 0, 335, 0, 0, 256, 83, 0, + /* 1720 */ 0, 93, 151, 0, 39, 84, 324, 83, 284, 179, + /* 1730 */ 328, 329, 330, 331, 332, 333, 292, 335, 46, 151, + /* 1740 */ 84, 297, 151, 299, 83, 284, 153, 43, 83, 227, + /* 1750 */ 149, 83, 147, 292, 84, 83, 46, 84, 297, 83, + /* 1760 */ 299, 22, 84, 83, 43, 84, 35, 256, 324, 83, + /* 1770 */ 43, 46, 328, 329, 330, 331, 332, 333, 83, 335, + /* 1780 */ 43, 83, 46, 84, 84, 324, 43, 46, 256, 328, + /* 1790 */ 329, 330, 331, 332, 333, 284, 335, 46, 84, 43, + /* 1800 */ 35, 84, 221, 292, 35, 35, 227, 35, 297, 256, + /* 1810 */ 299, 35, 2, 83, 43, 83, 284, 227, 191, 84, + /* 1820 */ 46, 46, 84, 83, 292, 22, 84, 94, 83, 297, + /* 1830 */ 83, 299, 83, 35, 84, 324, 193, 284, 83, 328, + /* 1840 */ 329, 330, 331, 332, 333, 292, 335, 35, 84, 35, + /* 1850 */ 297, 256, 299, 35, 35, 35, 324, 84, 22, 107, + /* 1860 */ 328, 329, 330, 331, 332, 333, 83, 335, 256, 83, + /* 1870 */ 107, 84, 83, 107, 84, 83, 95, 324, 83, 284, + /* 1880 */ 83, 328, 329, 330, 331, 332, 333, 292, 335, 107, + /* 1890 */ 35, 83, 297, 43, 299, 22, 284, 66, 61, 60, + /* 1900 */ 35, 43, 81, 35, 292, 35, 35, 35, 22, 297, + /* 1910 */ 35, 299, 35, 35, 66, 35, 35, 35, 35, 324, + /* 1920 */ 256, 47, 35, 328, 329, 330, 331, 332, 333, 35, + /* 1930 */ 335, 35, 0, 35, 39, 0, 324, 35, 47, 39, + /* 1940 */ 328, 329, 330, 331, 332, 333, 0, 335, 284, 35, + /* 1950 */ 47, 39, 0, 35, 47, 39, 292, 0, 35, 35, + /* 1960 */ 0, 297, 22, 299, 21, 376, 22, 22, 21, 20, + /* 1970 */ 376, 376, 376, 376, 256, 376, 376, 376, 376, 376, + /* 1980 */ 376, 376, 376, 376, 376, 376, 376, 376, 324, 376, + /* 1990 */ 256, 376, 328, 329, 330, 331, 332, 333, 376, 335, + /* 2000 */ 256, 376, 284, 376, 376, 376, 376, 376, 376, 376, + /* 2010 */ 292, 376, 376, 376, 376, 297, 376, 299, 284, 376, + /* 2020 */ 376, 376, 376, 376, 376, 376, 292, 376, 284, 376, + /* 2030 */ 376, 297, 376, 299, 376, 376, 292, 376, 376, 376, + /* 2040 */ 376, 297, 324, 299, 376, 376, 328, 329, 330, 331, + /* 2050 */ 332, 333, 256, 335, 376, 376, 376, 376, 324, 376, + /* 2060 */ 376, 376, 328, 329, 330, 331, 332, 333, 324, 335, + /* 2070 */ 376, 376, 328, 329, 330, 331, 332, 333, 376, 335, + /* 2080 */ 284, 376, 376, 376, 376, 376, 376, 376, 292, 376, + /* 2090 */ 376, 376, 376, 297, 256, 299, 376, 376, 376, 376, + /* 2100 */ 376, 376, 376, 376, 376, 376, 376, 376, 256, 376, + /* 2110 */ 376, 376, 376, 376, 376, 376, 376, 376, 256, 376, + /* 2120 */ 324, 376, 284, 376, 328, 329, 330, 331, 332, 333, + /* 2130 */ 292, 335, 376, 376, 376, 297, 284, 299, 376, 376, + /* 2140 */ 376, 376, 376, 376, 292, 376, 284, 376, 376, 297, + /* 2150 */ 376, 299, 376, 376, 292, 376, 376, 376, 376, 297, + /* 2160 */ 376, 299, 324, 376, 376, 376, 328, 329, 330, 331, + /* 2170 */ 332, 333, 376, 335, 376, 376, 324, 256, 376, 376, + /* 2180 */ 328, 329, 330, 331, 332, 333, 324, 335, 376, 376, + /* 2190 */ 328, 329, 330, 331, 332, 333, 376, 335, 256, 376, + /* 2200 */ 376, 376, 376, 376, 376, 284, 376, 376, 376, 376, + /* 2210 */ 376, 376, 376, 292, 376, 376, 376, 376, 297, 376, + /* 2220 */ 299, 376, 376, 376, 376, 376, 284, 376, 376, 376, + /* 2230 */ 376, 376, 376, 376, 292, 376, 376, 376, 376, 297, + /* 2240 */ 376, 299, 376, 376, 376, 324, 376, 376, 376, 328, + /* 2250 */ 329, 330, 331, 332, 333, 376, 335, 256, 376, 376, + /* 2260 */ 376, 376, 376, 376, 376, 376, 324, 256, 376, 376, + /* 2270 */ 328, 329, 330, 331, 332, 333, 376, 335, 376, 376, + /* 2280 */ 376, 376, 376, 256, 376, 284, 376, 376, 376, 376, + /* 2290 */ 376, 376, 376, 292, 376, 284, 376, 376, 297, 376, + /* 2300 */ 299, 376, 376, 292, 376, 376, 376, 376, 297, 376, + /* 2310 */ 299, 284, 376, 376, 376, 376, 376, 376, 376, 292, + /* 2320 */ 376, 376, 376, 376, 297, 324, 299, 376, 376, 328, + /* 2330 */ 329, 330, 331, 332, 333, 324, 335, 376, 376, 328, + /* 2340 */ 329, 330, 331, 332, 333, 376, 335, 376, 376, 376, + /* 2350 */ 376, 324, 376, 376, 376, 328, 329, 330, 331, 332, + /* 2360 */ 333, 376, 335, }; -#define YY_SHIFT_COUNT (657) +#define YY_SHIFT_COUNT (660) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (1898) +#define YY_SHIFT_MAX (1960) static const unsigned short int yy_shift_ofst[] = { - /* 0 */ 903, 0, 0, 66, 66, 264, 264, 264, 321, 321, - /* 10 */ 264, 264, 519, 576, 774, 576, 576, 576, 576, 576, - /* 20 */ 576, 576, 576, 576, 576, 576, 576, 576, 576, 576, - /* 30 */ 576, 576, 576, 576, 576, 576, 576, 576, 576, 576, - /* 40 */ 576, 576, 576, 216, 216, 44, 44, 44, 1304, 1304, - /* 50 */ 1304, 176, 169, 33, 33, 43, 43, 27, 27, 32, - /* 60 */ 48, 33, 33, 43, 43, 43, 43, 43, 43, 43, - /* 70 */ 43, 43, 37, 43, 43, 43, 158, 291, 43, 43, - /* 80 */ 291, 342, 43, 291, 291, 291, 43, 393, 770, 938, - /* 90 */ 979, 979, 126, 219, 344, 344, 344, 344, 344, 344, - /* 100 */ 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, - /* 110 */ 344, 344, 344, 518, 48, 394, 394, 376, 313, 489, - /* 120 */ 538, 538, 538, 313, 361, 158, 456, 456, 291, 291, - /* 130 */ 591, 591, 596, 686, 205, 205, 205, 205, 205, 205, - /* 140 */ 205, 773, 21, 23, 381, 93, 463, 233, 63, 537, - /* 150 */ 667, 427, 625, 510, 723, 594, 638, 594, 822, 680, - /* 160 */ 680, 680, 639, 691, 1038, 897, 1108, 1083, 1100, 980, - /* 170 */ 1108, 1108, 1103, 1015, 1015, 1108, 1144, 1144, 1156, 37, - /* 180 */ 158, 37, 1167, 1179, 37, 1167, 37, 1187, 37, 37, - /* 190 */ 1108, 37, 1144, 291, 291, 291, 291, 291, 291, 291, - /* 200 */ 291, 291, 291, 291, 1108, 1144, 591, 1156, 393, 1067, - /* 210 */ 158, 393, 1108, 1108, 1167, 393, 1022, 591, 591, 591, - /* 220 */ 591, 1022, 591, 1105, 361, 1187, 393, 596, 393, 361, - /* 230 */ 1233, 591, 1025, 1022, 591, 591, 1025, 1022, 591, 591, - /* 240 */ 291, 1042, 1136, 1025, 1072, 1081, 1094, 897, 1099, 361, - /* 250 */ 1302, 1082, 1085, 1084, 1082, 1085, 1082, 1085, 1246, 1038, - /* 260 */ 591, 686, 1108, 393, 1305, 1144, 2354, 2354, 2354, 2354, - /* 270 */ 2354, 2354, 2354, 171, 513, 188, 318, 466, 659, 479, - /* 280 */ 488, 740, 996, 721, 818, 832, 832, 832, 832, 832, - /* 290 */ 832, 832, 832, 936, 584, 13, 13, 47, 255, 571, - /* 300 */ 464, 615, 330, 662, 432, 787, 787, 787, 787, 876, - /* 310 */ 81, 873, 910, 912, 927, 789, 984, 1002, 766, 767, - /* 320 */ 552, 920, 972, 985, 988, 990, 889, 913, 992, 1017, - /* 330 */ 921, 235, 837, 1001, 449, 1003, 974, 1014, 1019, 1024, - /* 340 */ 1050, 1051, 1056, 940, 703, 942, 1347, 1177, 1355, 1357, - /* 350 */ 1317, 1362, 1292, 1366, 1332, 1185, 1335, 1336, 1337, 1191, - /* 360 */ 1373, 1340, 1341, 1196, 1393, 1213, 1398, 1364, 1400, 1383, - /* 370 */ 1406, 1372, 1410, 1329, 1245, 1247, 1250, 1253, 1418, 1427, - /* 380 */ 1266, 1270, 1429, 1430, 1385, 1432, 1433, 1434, 1293, 1436, - /* 390 */ 1437, 1440, 1441, 1442, 1307, 1411, 1447, 1311, 1450, 1451, - /* 400 */ 1452, 1459, 1461, 1462, 1463, 1464, 1465, 1466, 1468, 1470, - /* 410 */ 1471, 1472, 1435, 1474, 1475, 1476, 1478, 1480, 1482, 1467, - /* 420 */ 1483, 1484, 1485, 1487, 1490, 1491, 1453, 1454, 1455, 1486, - /* 430 */ 1457, 1498, 1458, 1499, 1488, 1477, 1501, 1514, 1515, 1492, - /* 440 */ 1369, 1526, 1527, 1529, 1479, 1530, 1532, 1500, 1489, 1502, - /* 450 */ 1534, 1507, 1497, 1506, 1537, 1511, 1504, 1508, 1548, 1517, - /* 460 */ 1510, 1516, 1549, 1553, 1554, 1558, 1493, 1473, 1524, 1539, - /* 470 */ 1563, 1531, 1533, 1540, 1542, 1536, 1538, 1545, 1547, 1550, - /* 480 */ 1567, 1565, 1588, 1568, 1546, 1589, 1572, 1564, 1596, 1566, - /* 490 */ 1598, 1569, 1602, 1581, 1586, 1608, 1460, 1574, 1611, 1443, - /* 500 */ 1593, 1469, 1481, 1617, 1620, 1496, 1503, 1621, 1630, 1631, - /* 510 */ 1551, 1552, 1456, 1642, 1571, 1512, 1576, 1645, 1609, 1505, - /* 520 */ 1579, 1555, 1603, 1607, 1428, 1580, 1582, 1584, 1587, 1590, - /* 530 */ 1585, 1634, 1626, 1591, 1594, 1595, 1597, 1592, 1628, 1618, - /* 540 */ 1632, 1599, 1629, 1494, 1600, 1604, 1636, 1513, 1643, 1651, - /* 550 */ 1652, 1616, 1657, 1520, 1619, 1650, 1666, 1668, 1670, 1671, - /* 560 */ 1672, 1619, 1661, 1522, 1667, 1633, 1635, 1637, 1641, 1646, - /* 570 */ 1644, 1679, 1647, 1649, 1686, 1692, 1525, 1656, 1658, 1675, - /* 580 */ 1699, 1704, 1678, 1680, 1714, 1683, 1689, 1726, 1694, 1696, - /* 590 */ 1742, 1698, 1701, 1746, 1700, 1682, 1684, 1688, 1690, 1767, - /* 600 */ 1693, 1713, 1716, 1764, 1719, 1760, 1760, 1782, 1748, 1747, - /* 610 */ 1774, 1749, 1731, 1769, 1778, 1784, 1785, 1786, 1795, 1809, - /* 620 */ 1798, 1799, 1770, 1536, 1810, 1538, 1819, 1820, 1823, 1825, - /* 630 */ 1826, 1827, 1863, 1830, 1821, 1828, 1866, 1837, 1831, 1834, - /* 640 */ 1874, 1840, 1832, 1838, 1876, 1846, 1835, 1844, 1885, 1851, - /* 650 */ 1852, 1897, 1877, 1888, 1890, 1892, 1889, 1898, + /* 0 */ 908, 0, 0, 67, 67, 266, 266, 266, 323, 323, + /* 10 */ 266, 266, 522, 579, 778, 579, 579, 579, 579, 579, + /* 20 */ 579, 579, 579, 579, 579, 579, 579, 579, 579, 579, + /* 30 */ 579, 579, 579, 579, 579, 579, 579, 579, 579, 579, + /* 40 */ 579, 579, 579, 364, 364, 8, 8, 8, 1113, 1113, + /* 50 */ 1113, 128, 172, 31, 31, 154, 154, 93, 93, 64, + /* 60 */ 70, 31, 31, 154, 154, 154, 154, 154, 154, 154, + /* 70 */ 154, 154, 16, 154, 154, 154, 240, 322, 154, 154, + /* 80 */ 322, 340, 154, 322, 322, 322, 154, 368, 774, 490, + /* 90 */ 943, 943, 372, 55, 317, 317, 317, 317, 317, 317, + /* 100 */ 317, 317, 317, 317, 317, 317, 317, 317, 317, 317, + /* 110 */ 317, 317, 317, 463, 70, 12, 12, 300, 380, 328, + /* 120 */ 434, 434, 434, 380, 557, 240, 5, 5, 322, 322, + /* 130 */ 586, 586, 591, 625, 206, 206, 206, 206, 206, 206, + /* 140 */ 206, 777, 23, 593, 425, 48, 341, 251, 268, 439, + /* 150 */ 569, 51, 705, 775, 646, 672, 789, 672, 895, 769, + /* 160 */ 769, 769, 693, 773, 1028, 888, 1114, 1090, 1106, 980, + /* 170 */ 1114, 1114, 1107, 1021, 1021, 1114, 1114, 1155, 1155, 1166, + /* 180 */ 16, 240, 16, 1171, 1175, 16, 1171, 16, 1176, 16, + /* 190 */ 16, 1114, 16, 1155, 322, 322, 322, 322, 322, 322, + /* 200 */ 322, 322, 322, 322, 322, 1114, 1155, 586, 1166, 368, + /* 210 */ 1092, 240, 368, 1114, 1114, 1171, 368, 1045, 586, 586, + /* 220 */ 586, 586, 1045, 586, 1132, 557, 1176, 368, 591, 368, + /* 230 */ 557, 1278, 586, 1068, 1045, 586, 586, 1068, 1045, 586, + /* 240 */ 586, 322, 1066, 1178, 1068, 1089, 1097, 1110, 888, 1119, + /* 250 */ 557, 1326, 1104, 1108, 1109, 1104, 1108, 1104, 1108, 1269, + /* 260 */ 1028, 586, 625, 1114, 368, 1354, 1155, 2363, 2363, 2363, + /* 270 */ 2363, 2363, 2363, 2363, 173, 1118, 188, 1173, 143, 594, + /* 280 */ 663, 744, 753, 726, 920, 480, 2, 2, 2, 2, + /* 290 */ 2, 2, 2, 2, 700, 53, 26, 26, 46, 139, + /* 300 */ 568, 106, 415, 118, 476, 657, 524, 524, 524, 524, + /* 310 */ 494, 246, 903, 909, 911, 923, 939, 967, 1002, 959, + /* 320 */ 865, 807, 969, 971, 975, 976, 978, 987, 998, 983, + /* 330 */ 1026, 928, 179, 814, 1006, 553, 1018, 974, 1020, 1025, + /* 340 */ 1036, 1038, 1039, 1043, 507, 420, 1084, 1412, 1240, 1415, + /* 350 */ 1420, 1380, 1421, 1360, 1436, 1403, 1253, 1413, 1414, 1416, + /* 360 */ 1263, 1450, 1417, 1419, 1271, 1456, 1273, 1459, 1427, 1463, + /* 370 */ 1442, 1465, 1432, 1468, 1387, 1302, 1304, 1307, 1313, 1478, + /* 380 */ 1479, 1320, 1322, 1482, 1486, 1441, 1488, 1497, 1498, 1357, + /* 390 */ 1502, 1513, 1514, 1515, 1517, 1381, 1485, 1521, 1384, 1524, + /* 400 */ 1525, 1526, 1527, 1529, 1530, 1537, 1539, 1540, 1541, 1542, + /* 410 */ 1544, 1545, 1546, 1490, 1533, 1534, 1535, 1555, 1556, 1557, + /* 420 */ 1536, 1559, 1560, 1561, 1562, 1564, 1510, 1573, 1576, 1538, + /* 430 */ 1543, 1547, 1563, 1549, 1565, 1551, 1578, 1548, 1552, 1583, + /* 440 */ 1584, 1586, 1566, 1437, 1587, 1599, 1600, 1554, 1602, 1604, + /* 450 */ 1572, 1567, 1570, 1610, 1577, 1575, 1574, 1617, 1585, 1589, + /* 460 */ 1580, 1623, 1596, 1598, 1607, 1624, 1634, 1653, 1655, 1568, + /* 470 */ 1569, 1622, 1639, 1662, 1629, 1630, 1631, 1632, 1626, 1636, + /* 480 */ 1637, 1638, 1640, 1674, 1658, 1677, 1659, 1633, 1683, 1663, + /* 490 */ 1649, 1687, 1654, 1688, 1657, 1690, 1671, 1675, 1696, 1571, + /* 500 */ 1667, 1697, 1528, 1682, 1588, 1558, 1705, 1713, 1591, 1593, + /* 510 */ 1715, 1716, 1723, 1635, 1641, 1550, 1719, 1644, 1601, 1661, + /* 520 */ 1720, 1685, 1605, 1665, 1628, 1692, 1704, 1522, 1668, 1656, + /* 530 */ 1672, 1670, 1673, 1676, 1739, 1721, 1678, 1680, 1686, 1695, + /* 540 */ 1681, 1727, 1710, 1725, 1698, 1737, 1579, 1699, 1700, 1736, + /* 550 */ 1581, 1743, 1741, 1751, 1714, 1756, 1590, 1717, 1731, 1765, + /* 560 */ 1769, 1770, 1772, 1776, 1717, 1810, 1627, 1771, 1730, 1735, + /* 570 */ 1732, 1738, 1740, 1742, 1774, 1745, 1747, 1775, 1803, 1643, + /* 580 */ 1749, 1733, 1750, 1798, 1812, 1755, 1764, 1814, 1783, 1773, + /* 590 */ 1818, 1786, 1787, 1819, 1789, 1790, 1820, 1792, 1752, 1763, + /* 600 */ 1766, 1782, 1836, 1781, 1795, 1797, 1855, 1808, 1850, 1850, + /* 610 */ 1873, 1837, 1839, 1865, 1831, 1821, 1858, 1868, 1870, 1871, + /* 620 */ 1872, 1875, 1886, 1877, 1878, 1848, 1626, 1880, 1636, 1881, + /* 630 */ 1882, 1883, 1887, 1894, 1896, 1932, 1898, 1874, 1895, 1935, + /* 640 */ 1902, 1891, 1900, 1946, 1914, 1903, 1912, 1952, 1918, 1907, + /* 650 */ 1916, 1957, 1923, 1924, 1960, 1940, 1943, 1944, 1945, 1947, + /* 660 */ 1949, }; -#define YY_REDUCE_COUNT (272) -#define YY_REDUCE_MIN (-352) -#define YY_REDUCE_MAX (2019) +#define YY_REDUCE_COUNT (273) +#define YY_REDUCE_MIN (-295) +#define YY_REDUCE_MAX (2027) static const short yy_reduce_ofst[] = { - /* 0 */ -236, -221, 287, 89, 840, 945, 971, 1060, 1126, 1190, - /* 10 */ -155, 540, 781, 1242, 882, 1295, 1309, 1361, 1413, 1425, - /* 20 */ 1439, 1495, 1509, 1519, 1561, 1573, 1615, 1625, 1639, 1681, - /* 30 */ 1695, 1705, 1765, 1775, 1787, 1829, 1845, 1871, 1895, 1937, - /* 40 */ 1949, 1961, 2019, 695, 1073, -208, 300, 413, 36, 119, - /* 50 */ 369, -312, -309, -143, -17, 76, 290, -257, -253, -352, - /* 60 */ -287, -35, 22, -231, 110, 137, 159, 282, 285, 316, - /* 70 */ 339, 370, -250, 416, 542, 561, -117, -202, 569, 592, - /* 80 */ -196, -217, 675, -148, 62, 4, 726, 77, 19, -301, - /* 90 */ -301, -301, -187, -139, -150, 75, 109, 390, 450, 451, - /* 100 */ 495, 502, 503, 553, 557, 579, 624, 629, 631, 632, - /* 110 */ 633, 634, 660, 142, 148, -101, -80, -37, 268, -246, - /* 120 */ 225, 383, 415, 323, 208, 263, -82, 272, -268, 559, - /* 130 */ 400, 469, 534, 349, 260, 509, 671, 673, 677, 730, - /* 140 */ 741, 521, 771, 644, 661, 683, 802, 718, 714, 793, - /* 150 */ 793, 817, 834, 803, 775, 749, 749, 749, 759, 738, - /* 160 */ 751, 752, 768, 793, 839, 806, 866, 812, 871, 828, - /* 170 */ 880, 881, 855, 858, 860, 899, 909, 918, 861, 917, - /* 180 */ 887, 919, 877, 888, 935, 893, 939, 904, 948, 950, - /* 190 */ 955, 953, 964, 944, 946, 947, 949, 951, 952, 954, - /* 200 */ 956, 957, 959, 961, 960, 965, 929, 915, 966, 928, - /* 210 */ 958, 981, 986, 987, 937, 982, 963, 962, 967, 968, - /* 220 */ 969, 973, 970, 976, 993, 989, 994, 978, 995, 998, - /* 230 */ 983, 975, 902, 997, 999, 1000, 924, 1004, 1010, 1011, - /* 240 */ 793, 923, 930, 933, 977, 991, 1005, 1006, 749, 1030, - /* 250 */ 1007, 1008, 1012, 1021, 1009, 1016, 1013, 1018, 1023, 1043, - /* 260 */ 1035, 1061, 1070, 1075, 1080, 1087, 1027, 1036, 1068, 1076, - /* 270 */ 1077, 1086, 1096, + /* 0 */ -192, -189, 81, 287, 708, 786, 884, 910, 977, 1030, + /* 10 */ 543, 1040, 1095, 1111, 1161, 1177, 1239, 1219, 1297, 1309, + /* 20 */ 1319, 1379, 1402, 1444, 1461, 1511, 1532, 1553, 1595, 1612, + /* 30 */ 1664, 1718, 1734, 1744, 1796, 1838, 1852, 1862, 1921, 1942, + /* 40 */ 2001, 2011, 2027, -255, 21, 215, -263, 221, -261, -278, + /* 50 */ 121, -289, -23, -21, 10, 65, 357, -260, -256, -295, + /* 60 */ -268, -239, -191, 63, 218, 220, 273, 281, 369, 382, + /* 70 */ 390, 419, -247, 544, 545, 574, -201, 283, 577, 679, + /* 80 */ -107, 90, 731, 397, 396, 567, 733, 75, -194, -114, + /* 90 */ -114, -114, -144, -88, -152, 111, 134, 194, 392, 436, + /* 100 */ 549, 550, 551, 556, 566, 583, 623, 626, 628, 633, + /* 110 */ 665, 666, 697, 205, -2, 362, 451, -34, 54, 224, + /* 120 */ 166, 278, 538, 466, 355, 555, -175, 329, 470, 640, + /* 130 */ 454, 561, 610, 421, 517, 560, 656, 662, 675, 745, + /* 140 */ 746, 717, 788, 781, 682, 706, 808, 754, 715, 793, + /* 150 */ 793, 815, 824, 796, 772, 748, 748, 748, 756, 735, + /* 160 */ 737, 738, 752, 793, 820, 811, 872, 817, 873, 829, + /* 170 */ 881, 883, 846, 850, 876, 916, 918, 926, 927, 868, + /* 180 */ 921, 889, 922, 885, 879, 930, 887, 933, 899, 937, + /* 190 */ 942, 947, 953, 965, 941, 946, 948, 951, 952, 960, + /* 200 */ 962, 963, 966, 972, 973, 985, 993, 934, 940, 994, + /* 210 */ 944, 968, 1004, 1007, 1009, 970, 1012, 979, 984, 986, + /* 220 */ 988, 991, 981, 995, 989, 992, 997, 1027, 1014, 1031, + /* 230 */ 1008, 996, 1016, 982, 1003, 1029, 1033, 990, 1017, 1037, + /* 240 */ 1041, 793, 1011, 1015, 1042, 1022, 999, 1019, 1023, 748, + /* 250 */ 1048, 1054, 1034, 1024, 1010, 1035, 1044, 1046, 1049, 1047, + /* 260 */ 1065, 1059, 1112, 1102, 1123, 1137, 1133, 1082, 1088, 1122, + /* 270 */ 1128, 1129, 1142, 1157, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 10 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 20 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 30 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 40 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 50 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 60 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 70 */ 1443, 1443, 1515, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 80 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1513, 1666, 1443, - /* 90 */ 1843, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 100 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 110 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1515, 1443, 1513, - /* 120 */ 1855, 1855, 1855, 1443, 1443, 1443, 1710, 1710, 1443, 1443, - /* 130 */ 1443, 1443, 1609, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 140 */ 1443, 1702, 1443, 1443, 1924, 1443, 1443, 1708, 1878, 1443, - /* 150 */ 1443, 1443, 1443, 1562, 1870, 1847, 1861, 1848, 1845, 1909, - /* 160 */ 1909, 1909, 1864, 1443, 1578, 1874, 1443, 1443, 1443, 1694, - /* 170 */ 1443, 1443, 1671, 1668, 1668, 1443, 1443, 1443, 1443, 1515, - /* 180 */ 1443, 1515, 1443, 1443, 1515, 1443, 1515, 1443, 1515, 1515, - /* 190 */ 1443, 1515, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 200 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1513, 1704, - /* 210 */ 1443, 1513, 1443, 1443, 1443, 1513, 1883, 1443, 1443, 1443, - /* 220 */ 1443, 1883, 1443, 1443, 1443, 1443, 1513, 1443, 1513, 1443, - /* 230 */ 1443, 1443, 1885, 1883, 1443, 1443, 1885, 1883, 1443, 1443, - /* 240 */ 1443, 1897, 1893, 1885, 1901, 1899, 1876, 1874, 1861, 1443, - /* 250 */ 1443, 1915, 1911, 1927, 1915, 1911, 1915, 1911, 1443, 1578, - /* 260 */ 1443, 1443, 1443, 1513, 1475, 1443, 1696, 1710, 1612, 1612, - /* 270 */ 1612, 1516, 1448, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 280 */ 1443, 1443, 1443, 1443, 1443, 1781, 1896, 1895, 1819, 1818, - /* 290 */ 1817, 1815, 1780, 1443, 1574, 1779, 1778, 1443, 1443, 1443, - /* 300 */ 1443, 1443, 1443, 1443, 1443, 1772, 1773, 1771, 1770, 1443, - /* 310 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 320 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1844, - /* 330 */ 1443, 1912, 1916, 1443, 1443, 1443, 1755, 1443, 1443, 1443, - /* 340 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 350 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 360 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 370 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 380 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 390 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 400 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 410 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 420 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1480, 1443, - /* 430 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 440 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 450 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 460 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 470 */ 1443, 1443, 1443, 1443, 1443, 1543, 1542, 1443, 1443, 1443, - /* 480 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 490 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 500 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 510 */ 1443, 1443, 1443, 1714, 1443, 1443, 1443, 1443, 1443, 1443, - /* 520 */ 1443, 1443, 1443, 1877, 1443, 1443, 1443, 1443, 1443, 1443, - /* 530 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 540 */ 1755, 1443, 1894, 1443, 1854, 1850, 1443, 1443, 1846, 1754, - /* 550 */ 1443, 1443, 1910, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 560 */ 1443, 1443, 1839, 1443, 1812, 1797, 1443, 1443, 1443, 1443, - /* 570 */ 1443, 1443, 1443, 1443, 1443, 1443, 1766, 1443, 1443, 1443, - /* 580 */ 1443, 1443, 1606, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 590 */ 1443, 1443, 1443, 1443, 1443, 1591, 1589, 1588, 1587, 1443, - /* 600 */ 1584, 1443, 1443, 1443, 1443, 1615, 1614, 1443, 1443, 1443, - /* 610 */ 1443, 1443, 1443, 1535, 1443, 1443, 1443, 1443, 1443, 1443, - /* 620 */ 1443, 1443, 1443, 1526, 1443, 1525, 1443, 1443, 1443, 1443, - /* 630 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 640 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, - /* 650 */ 1443, 1443, 1443, 1443, 1443, 1443, 1443, 1443, + /* 0 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 10 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 20 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 30 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 40 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 50 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 60 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 70 */ 1447, 1447, 1520, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 80 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1518, 1671, 1447, + /* 90 */ 1848, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 100 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 110 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1520, 1447, 1518, + /* 120 */ 1860, 1860, 1860, 1447, 1447, 1447, 1715, 1715, 1447, 1447, + /* 130 */ 1447, 1447, 1614, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 140 */ 1447, 1707, 1447, 1447, 1929, 1447, 1447, 1713, 1883, 1447, + /* 150 */ 1447, 1447, 1447, 1567, 1875, 1852, 1866, 1853, 1850, 1914, + /* 160 */ 1914, 1914, 1869, 1447, 1583, 1879, 1447, 1447, 1447, 1699, + /* 170 */ 1447, 1447, 1676, 1673, 1673, 1447, 1447, 1447, 1447, 1447, + /* 180 */ 1520, 1447, 1520, 1447, 1447, 1520, 1447, 1520, 1447, 1520, + /* 190 */ 1520, 1447, 1520, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 200 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1518, + /* 210 */ 1709, 1447, 1518, 1447, 1447, 1447, 1518, 1888, 1447, 1447, + /* 220 */ 1447, 1447, 1888, 1447, 1447, 1447, 1447, 1518, 1447, 1518, + /* 230 */ 1447, 1447, 1447, 1890, 1888, 1447, 1447, 1890, 1888, 1447, + /* 240 */ 1447, 1447, 1902, 1898, 1890, 1906, 1904, 1881, 1879, 1866, + /* 250 */ 1447, 1447, 1920, 1916, 1932, 1920, 1916, 1920, 1916, 1447, + /* 260 */ 1583, 1447, 1447, 1447, 1518, 1479, 1447, 1701, 1715, 1617, + /* 270 */ 1617, 1617, 1521, 1452, 1447, 1447, 1447, 1447, 1447, 1447, + /* 280 */ 1447, 1447, 1447, 1447, 1447, 1447, 1786, 1901, 1900, 1824, + /* 290 */ 1823, 1822, 1820, 1785, 1447, 1579, 1784, 1783, 1447, 1447, + /* 300 */ 1447, 1447, 1447, 1447, 1447, 1447, 1777, 1778, 1776, 1775, + /* 310 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 320 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 330 */ 1849, 1447, 1917, 1921, 1447, 1447, 1447, 1760, 1447, 1447, + /* 340 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 350 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 360 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 370 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 380 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 390 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 400 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 410 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 420 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 430 */ 1447, 1484, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 440 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 450 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 460 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 470 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1548, 1547, + /* 480 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 490 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 500 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 510 */ 1447, 1447, 1447, 1447, 1447, 1447, 1719, 1447, 1447, 1447, + /* 520 */ 1447, 1447, 1447, 1447, 1447, 1447, 1882, 1447, 1447, 1447, + /* 530 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 540 */ 1447, 1447, 1447, 1760, 1447, 1899, 1447, 1859, 1855, 1447, + /* 550 */ 1447, 1851, 1759, 1447, 1447, 1915, 1447, 1447, 1447, 1447, + /* 560 */ 1447, 1447, 1447, 1447, 1447, 1844, 1447, 1817, 1802, 1447, + /* 570 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1771, + /* 580 */ 1447, 1447, 1447, 1447, 1447, 1611, 1447, 1447, 1447, 1447, + /* 590 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1596, 1594, + /* 600 */ 1593, 1592, 1447, 1589, 1447, 1447, 1447, 1447, 1620, 1619, + /* 610 */ 1447, 1447, 1447, 1447, 1447, 1447, 1540, 1447, 1447, 1447, + /* 620 */ 1447, 1447, 1447, 1447, 1447, 1447, 1531, 1447, 1530, 1447, + /* 630 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 640 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 650 */ 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, 1447, + /* 660 */ 1447, }; /********** End of lemon-generated parsing tables *****************************/ @@ -941,6 +945,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* MNODE => nothing */ 0, /* DATABASE => nothing */ 0, /* USE => nothing */ + 0, /* FLUSH => nothing */ 0, /* IF => nothing */ 0, /* NOT => nothing */ 0, /* EXISTS => nothing */ @@ -1130,11 +1135,11 @@ static const YYCODETYPE yyFallback[] = { 0, /* ASC => nothing */ 0, /* NULLS => nothing */ 0, /* ID => nothing */ - 246, /* NK_BITNOT => ID */ - 246, /* VALUES => ID */ - 246, /* IMPORT => ID */ - 246, /* NK_SEMI => ID */ - 246, /* FILE => ID */ + 247, /* NK_BITNOT => ID */ + 247, /* VALUES => ID */ + 247, /* IMPORT => ID */ + 247, /* NK_SEMI => ID */ + 247, /* FILE => ID */ }; #endif /* YYFALLBACK */ @@ -1280,323 +1285,324 @@ static const char *const yyTokenName[] = { /* 55 */ "MNODE", /* 56 */ "DATABASE", /* 57 */ "USE", - /* 58 */ "IF", - /* 59 */ "NOT", - /* 60 */ "EXISTS", - /* 61 */ "BUFFER", - /* 62 */ "CACHELAST", - /* 63 */ "COMP", - /* 64 */ "DURATION", - /* 65 */ "NK_VARIABLE", - /* 66 */ "FSYNC", - /* 67 */ "MAXROWS", - /* 68 */ "MINROWS", - /* 69 */ "KEEP", - /* 70 */ "PAGES", - /* 71 */ "PAGESIZE", - /* 72 */ "PRECISION", - /* 73 */ "REPLICA", - /* 74 */ "STRICT", - /* 75 */ "WAL", - /* 76 */ "VGROUPS", - /* 77 */ "SINGLE_STABLE", - /* 78 */ "RETENTIONS", - /* 79 */ "SCHEMALESS", - /* 80 */ "NK_COLON", - /* 81 */ "TABLE", - /* 82 */ "NK_LP", - /* 83 */ "NK_RP", - /* 84 */ "STABLE", - /* 85 */ "ADD", - /* 86 */ "COLUMN", - /* 87 */ "MODIFY", - /* 88 */ "RENAME", - /* 89 */ "TAG", - /* 90 */ "SET", - /* 91 */ "NK_EQ", - /* 92 */ "USING", - /* 93 */ "TAGS", - /* 94 */ "COMMENT", - /* 95 */ "BOOL", - /* 96 */ "TINYINT", - /* 97 */ "SMALLINT", - /* 98 */ "INT", - /* 99 */ "INTEGER", - /* 100 */ "BIGINT", - /* 101 */ "FLOAT", - /* 102 */ "DOUBLE", - /* 103 */ "BINARY", - /* 104 */ "TIMESTAMP", - /* 105 */ "NCHAR", - /* 106 */ "UNSIGNED", - /* 107 */ "JSON", - /* 108 */ "VARCHAR", - /* 109 */ "MEDIUMBLOB", - /* 110 */ "BLOB", - /* 111 */ "VARBINARY", - /* 112 */ "DECIMAL", - /* 113 */ "MAX_DELAY", - /* 114 */ "WATERMARK", - /* 115 */ "ROLLUP", - /* 116 */ "TTL", - /* 117 */ "SMA", - /* 118 */ "FIRST", - /* 119 */ "LAST", - /* 120 */ "SHOW", - /* 121 */ "DATABASES", - /* 122 */ "TABLES", - /* 123 */ "STABLES", - /* 124 */ "MNODES", - /* 125 */ "MODULES", - /* 126 */ "QNODES", - /* 127 */ "FUNCTIONS", - /* 128 */ "INDEXES", - /* 129 */ "ACCOUNTS", - /* 130 */ "APPS", - /* 131 */ "CONNECTIONS", - /* 132 */ "LICENCE", - /* 133 */ "GRANTS", - /* 134 */ "QUERIES", - /* 135 */ "SCORES", - /* 136 */ "TOPICS", - /* 137 */ "VARIABLES", - /* 138 */ "BNODES", - /* 139 */ "SNODES", - /* 140 */ "CLUSTER", - /* 141 */ "TRANSACTIONS", - /* 142 */ "DISTRIBUTED", - /* 143 */ "CONSUMERS", - /* 144 */ "SUBSCRIPTIONS", - /* 145 */ "LIKE", - /* 146 */ "INDEX", - /* 147 */ "FUNCTION", - /* 148 */ "INTERVAL", - /* 149 */ "TOPIC", - /* 150 */ "AS", - /* 151 */ "WITH", - /* 152 */ "META", - /* 153 */ "CONSUMER", - /* 154 */ "GROUP", - /* 155 */ "DESC", - /* 156 */ "DESCRIBE", - /* 157 */ "RESET", - /* 158 */ "QUERY", - /* 159 */ "CACHE", - /* 160 */ "EXPLAIN", - /* 161 */ "ANALYZE", - /* 162 */ "VERBOSE", - /* 163 */ "NK_BOOL", - /* 164 */ "RATIO", - /* 165 */ "NK_FLOAT", - /* 166 */ "COMPACT", - /* 167 */ "VNODES", - /* 168 */ "IN", - /* 169 */ "OUTPUTTYPE", - /* 170 */ "AGGREGATE", - /* 171 */ "BUFSIZE", - /* 172 */ "STREAM", - /* 173 */ "INTO", - /* 174 */ "TRIGGER", - /* 175 */ "AT_ONCE", - /* 176 */ "WINDOW_CLOSE", - /* 177 */ "IGNORE", - /* 178 */ "EXPIRED", - /* 179 */ "KILL", - /* 180 */ "CONNECTION", - /* 181 */ "TRANSACTION", - /* 182 */ "BALANCE", - /* 183 */ "VGROUP", - /* 184 */ "MERGE", - /* 185 */ "REDISTRIBUTE", - /* 186 */ "SPLIT", - /* 187 */ "SYNCDB", - /* 188 */ "DELETE", - /* 189 */ "INSERT", - /* 190 */ "NULL", - /* 191 */ "NK_QUESTION", - /* 192 */ "NK_ARROW", - /* 193 */ "ROWTS", - /* 194 */ "TBNAME", - /* 195 */ "QSTARTTS", - /* 196 */ "QENDTS", - /* 197 */ "WSTARTTS", - /* 198 */ "WENDTS", - /* 199 */ "WDURATION", - /* 200 */ "CAST", - /* 201 */ "NOW", - /* 202 */ "TODAY", - /* 203 */ "TIMEZONE", - /* 204 */ "CLIENT_VERSION", - /* 205 */ "SERVER_VERSION", - /* 206 */ "SERVER_STATUS", - /* 207 */ "CURRENT_USER", - /* 208 */ "COUNT", - /* 209 */ "LAST_ROW", - /* 210 */ "BETWEEN", - /* 211 */ "IS", - /* 212 */ "NK_LT", - /* 213 */ "NK_GT", - /* 214 */ "NK_LE", - /* 215 */ "NK_GE", - /* 216 */ "NK_NE", - /* 217 */ "MATCH", - /* 218 */ "NMATCH", - /* 219 */ "CONTAINS", - /* 220 */ "JOIN", - /* 221 */ "INNER", - /* 222 */ "SELECT", - /* 223 */ "DISTINCT", - /* 224 */ "WHERE", - /* 225 */ "PARTITION", - /* 226 */ "BY", - /* 227 */ "SESSION", - /* 228 */ "STATE_WINDOW", - /* 229 */ "SLIDING", - /* 230 */ "FILL", - /* 231 */ "VALUE", - /* 232 */ "NONE", - /* 233 */ "PREV", - /* 234 */ "LINEAR", - /* 235 */ "NEXT", - /* 236 */ "HAVING", - /* 237 */ "RANGE", - /* 238 */ "EVERY", - /* 239 */ "ORDER", - /* 240 */ "SLIMIT", - /* 241 */ "SOFFSET", - /* 242 */ "LIMIT", - /* 243 */ "OFFSET", - /* 244 */ "ASC", - /* 245 */ "NULLS", - /* 246 */ "ID", - /* 247 */ "NK_BITNOT", - /* 248 */ "VALUES", - /* 249 */ "IMPORT", - /* 250 */ "NK_SEMI", - /* 251 */ "FILE", - /* 252 */ "cmd", - /* 253 */ "account_options", - /* 254 */ "alter_account_options", - /* 255 */ "literal", - /* 256 */ "alter_account_option", - /* 257 */ "user_name", - /* 258 */ "sysinfo_opt", - /* 259 */ "privileges", - /* 260 */ "priv_level", - /* 261 */ "priv_type_list", - /* 262 */ "priv_type", - /* 263 */ "db_name", - /* 264 */ "dnode_endpoint", - /* 265 */ "not_exists_opt", - /* 266 */ "db_options", - /* 267 */ "exists_opt", - /* 268 */ "alter_db_options", - /* 269 */ "integer_list", - /* 270 */ "variable_list", - /* 271 */ "retention_list", - /* 272 */ "alter_db_option", - /* 273 */ "retention", - /* 274 */ "full_table_name", - /* 275 */ "column_def_list", - /* 276 */ "tags_def_opt", - /* 277 */ "table_options", - /* 278 */ "multi_create_clause", - /* 279 */ "tags_def", - /* 280 */ "multi_drop_clause", - /* 281 */ "alter_table_clause", - /* 282 */ "alter_table_options", - /* 283 */ "column_name", - /* 284 */ "type_name", - /* 285 */ "signed_literal", - /* 286 */ "create_subtable_clause", - /* 287 */ "specific_cols_opt", - /* 288 */ "expression_list", - /* 289 */ "drop_table_clause", - /* 290 */ "col_name_list", - /* 291 */ "table_name", - /* 292 */ "column_def", - /* 293 */ "duration_list", - /* 294 */ "rollup_func_list", - /* 295 */ "alter_table_option", - /* 296 */ "duration_literal", - /* 297 */ "rollup_func_name", - /* 298 */ "function_name", - /* 299 */ "col_name", - /* 300 */ "db_name_cond_opt", - /* 301 */ "like_pattern_opt", - /* 302 */ "table_name_cond", - /* 303 */ "from_db_opt", - /* 304 */ "index_name", - /* 305 */ "index_options", - /* 306 */ "func_list", - /* 307 */ "sliding_opt", - /* 308 */ "sma_stream_opt", - /* 309 */ "func", - /* 310 */ "stream_options", - /* 311 */ "topic_name", - /* 312 */ "query_expression", - /* 313 */ "cgroup_name", - /* 314 */ "analyze_opt", - /* 315 */ "explain_options", - /* 316 */ "agg_func_opt", - /* 317 */ "bufsize_opt", - /* 318 */ "stream_name", - /* 319 */ "into_opt", - /* 320 */ "dnode_list", - /* 321 */ "where_clause_opt", - /* 322 */ "signed", - /* 323 */ "literal_func", - /* 324 */ "literal_list", - /* 325 */ "table_alias", - /* 326 */ "column_alias", - /* 327 */ "expression", - /* 328 */ "pseudo_column", - /* 329 */ "column_reference", - /* 330 */ "function_expression", - /* 331 */ "subquery", - /* 332 */ "star_func", - /* 333 */ "star_func_para_list", - /* 334 */ "noarg_func", - /* 335 */ "other_para_list", - /* 336 */ "star_func_para", - /* 337 */ "predicate", - /* 338 */ "compare_op", - /* 339 */ "in_op", - /* 340 */ "in_predicate_value", - /* 341 */ "boolean_value_expression", - /* 342 */ "boolean_primary", - /* 343 */ "common_expression", - /* 344 */ "from_clause_opt", - /* 345 */ "table_reference_list", - /* 346 */ "table_reference", - /* 347 */ "table_primary", - /* 348 */ "joined_table", - /* 349 */ "alias_opt", - /* 350 */ "parenthesized_joined_table", - /* 351 */ "join_type", - /* 352 */ "search_condition", - /* 353 */ "query_specification", - /* 354 */ "set_quantifier_opt", - /* 355 */ "select_list", - /* 356 */ "partition_by_clause_opt", - /* 357 */ "range_opt", - /* 358 */ "every_opt", - /* 359 */ "fill_opt", - /* 360 */ "twindow_clause_opt", - /* 361 */ "group_by_clause_opt", - /* 362 */ "having_clause_opt", - /* 363 */ "select_item", - /* 364 */ "fill_mode", - /* 365 */ "group_by_list", - /* 366 */ "query_expression_body", - /* 367 */ "order_by_clause_opt", - /* 368 */ "slimit_clause_opt", - /* 369 */ "limit_clause_opt", - /* 370 */ "query_primary", - /* 371 */ "sort_specification_list", - /* 372 */ "sort_specification", - /* 373 */ "ordering_specification_opt", - /* 374 */ "null_ordering_opt", + /* 58 */ "FLUSH", + /* 59 */ "IF", + /* 60 */ "NOT", + /* 61 */ "EXISTS", + /* 62 */ "BUFFER", + /* 63 */ "CACHELAST", + /* 64 */ "COMP", + /* 65 */ "DURATION", + /* 66 */ "NK_VARIABLE", + /* 67 */ "FSYNC", + /* 68 */ "MAXROWS", + /* 69 */ "MINROWS", + /* 70 */ "KEEP", + /* 71 */ "PAGES", + /* 72 */ "PAGESIZE", + /* 73 */ "PRECISION", + /* 74 */ "REPLICA", + /* 75 */ "STRICT", + /* 76 */ "WAL", + /* 77 */ "VGROUPS", + /* 78 */ "SINGLE_STABLE", + /* 79 */ "RETENTIONS", + /* 80 */ "SCHEMALESS", + /* 81 */ "NK_COLON", + /* 82 */ "TABLE", + /* 83 */ "NK_LP", + /* 84 */ "NK_RP", + /* 85 */ "STABLE", + /* 86 */ "ADD", + /* 87 */ "COLUMN", + /* 88 */ "MODIFY", + /* 89 */ "RENAME", + /* 90 */ "TAG", + /* 91 */ "SET", + /* 92 */ "NK_EQ", + /* 93 */ "USING", + /* 94 */ "TAGS", + /* 95 */ "COMMENT", + /* 96 */ "BOOL", + /* 97 */ "TINYINT", + /* 98 */ "SMALLINT", + /* 99 */ "INT", + /* 100 */ "INTEGER", + /* 101 */ "BIGINT", + /* 102 */ "FLOAT", + /* 103 */ "DOUBLE", + /* 104 */ "BINARY", + /* 105 */ "TIMESTAMP", + /* 106 */ "NCHAR", + /* 107 */ "UNSIGNED", + /* 108 */ "JSON", + /* 109 */ "VARCHAR", + /* 110 */ "MEDIUMBLOB", + /* 111 */ "BLOB", + /* 112 */ "VARBINARY", + /* 113 */ "DECIMAL", + /* 114 */ "MAX_DELAY", + /* 115 */ "WATERMARK", + /* 116 */ "ROLLUP", + /* 117 */ "TTL", + /* 118 */ "SMA", + /* 119 */ "FIRST", + /* 120 */ "LAST", + /* 121 */ "SHOW", + /* 122 */ "DATABASES", + /* 123 */ "TABLES", + /* 124 */ "STABLES", + /* 125 */ "MNODES", + /* 126 */ "MODULES", + /* 127 */ "QNODES", + /* 128 */ "FUNCTIONS", + /* 129 */ "INDEXES", + /* 130 */ "ACCOUNTS", + /* 131 */ "APPS", + /* 132 */ "CONNECTIONS", + /* 133 */ "LICENCE", + /* 134 */ "GRANTS", + /* 135 */ "QUERIES", + /* 136 */ "SCORES", + /* 137 */ "TOPICS", + /* 138 */ "VARIABLES", + /* 139 */ "BNODES", + /* 140 */ "SNODES", + /* 141 */ "CLUSTER", + /* 142 */ "TRANSACTIONS", + /* 143 */ "DISTRIBUTED", + /* 144 */ "CONSUMERS", + /* 145 */ "SUBSCRIPTIONS", + /* 146 */ "LIKE", + /* 147 */ "INDEX", + /* 148 */ "FUNCTION", + /* 149 */ "INTERVAL", + /* 150 */ "TOPIC", + /* 151 */ "AS", + /* 152 */ "WITH", + /* 153 */ "META", + /* 154 */ "CONSUMER", + /* 155 */ "GROUP", + /* 156 */ "DESC", + /* 157 */ "DESCRIBE", + /* 158 */ "RESET", + /* 159 */ "QUERY", + /* 160 */ "CACHE", + /* 161 */ "EXPLAIN", + /* 162 */ "ANALYZE", + /* 163 */ "VERBOSE", + /* 164 */ "NK_BOOL", + /* 165 */ "RATIO", + /* 166 */ "NK_FLOAT", + /* 167 */ "COMPACT", + /* 168 */ "VNODES", + /* 169 */ "IN", + /* 170 */ "OUTPUTTYPE", + /* 171 */ "AGGREGATE", + /* 172 */ "BUFSIZE", + /* 173 */ "STREAM", + /* 174 */ "INTO", + /* 175 */ "TRIGGER", + /* 176 */ "AT_ONCE", + /* 177 */ "WINDOW_CLOSE", + /* 178 */ "IGNORE", + /* 179 */ "EXPIRED", + /* 180 */ "KILL", + /* 181 */ "CONNECTION", + /* 182 */ "TRANSACTION", + /* 183 */ "BALANCE", + /* 184 */ "VGROUP", + /* 185 */ "MERGE", + /* 186 */ "REDISTRIBUTE", + /* 187 */ "SPLIT", + /* 188 */ "SYNCDB", + /* 189 */ "DELETE", + /* 190 */ "INSERT", + /* 191 */ "NULL", + /* 192 */ "NK_QUESTION", + /* 193 */ "NK_ARROW", + /* 194 */ "ROWTS", + /* 195 */ "TBNAME", + /* 196 */ "QSTARTTS", + /* 197 */ "QENDTS", + /* 198 */ "WSTARTTS", + /* 199 */ "WENDTS", + /* 200 */ "WDURATION", + /* 201 */ "CAST", + /* 202 */ "NOW", + /* 203 */ "TODAY", + /* 204 */ "TIMEZONE", + /* 205 */ "CLIENT_VERSION", + /* 206 */ "SERVER_VERSION", + /* 207 */ "SERVER_STATUS", + /* 208 */ "CURRENT_USER", + /* 209 */ "COUNT", + /* 210 */ "LAST_ROW", + /* 211 */ "BETWEEN", + /* 212 */ "IS", + /* 213 */ "NK_LT", + /* 214 */ "NK_GT", + /* 215 */ "NK_LE", + /* 216 */ "NK_GE", + /* 217 */ "NK_NE", + /* 218 */ "MATCH", + /* 219 */ "NMATCH", + /* 220 */ "CONTAINS", + /* 221 */ "JOIN", + /* 222 */ "INNER", + /* 223 */ "SELECT", + /* 224 */ "DISTINCT", + /* 225 */ "WHERE", + /* 226 */ "PARTITION", + /* 227 */ "BY", + /* 228 */ "SESSION", + /* 229 */ "STATE_WINDOW", + /* 230 */ "SLIDING", + /* 231 */ "FILL", + /* 232 */ "VALUE", + /* 233 */ "NONE", + /* 234 */ "PREV", + /* 235 */ "LINEAR", + /* 236 */ "NEXT", + /* 237 */ "HAVING", + /* 238 */ "RANGE", + /* 239 */ "EVERY", + /* 240 */ "ORDER", + /* 241 */ "SLIMIT", + /* 242 */ "SOFFSET", + /* 243 */ "LIMIT", + /* 244 */ "OFFSET", + /* 245 */ "ASC", + /* 246 */ "NULLS", + /* 247 */ "ID", + /* 248 */ "NK_BITNOT", + /* 249 */ "VALUES", + /* 250 */ "IMPORT", + /* 251 */ "NK_SEMI", + /* 252 */ "FILE", + /* 253 */ "cmd", + /* 254 */ "account_options", + /* 255 */ "alter_account_options", + /* 256 */ "literal", + /* 257 */ "alter_account_option", + /* 258 */ "user_name", + /* 259 */ "sysinfo_opt", + /* 260 */ "privileges", + /* 261 */ "priv_level", + /* 262 */ "priv_type_list", + /* 263 */ "priv_type", + /* 264 */ "db_name", + /* 265 */ "dnode_endpoint", + /* 266 */ "not_exists_opt", + /* 267 */ "db_options", + /* 268 */ "exists_opt", + /* 269 */ "alter_db_options", + /* 270 */ "integer_list", + /* 271 */ "variable_list", + /* 272 */ "retention_list", + /* 273 */ "alter_db_option", + /* 274 */ "retention", + /* 275 */ "full_table_name", + /* 276 */ "column_def_list", + /* 277 */ "tags_def_opt", + /* 278 */ "table_options", + /* 279 */ "multi_create_clause", + /* 280 */ "tags_def", + /* 281 */ "multi_drop_clause", + /* 282 */ "alter_table_clause", + /* 283 */ "alter_table_options", + /* 284 */ "column_name", + /* 285 */ "type_name", + /* 286 */ "signed_literal", + /* 287 */ "create_subtable_clause", + /* 288 */ "specific_cols_opt", + /* 289 */ "expression_list", + /* 290 */ "drop_table_clause", + /* 291 */ "col_name_list", + /* 292 */ "table_name", + /* 293 */ "column_def", + /* 294 */ "duration_list", + /* 295 */ "rollup_func_list", + /* 296 */ "alter_table_option", + /* 297 */ "duration_literal", + /* 298 */ "rollup_func_name", + /* 299 */ "function_name", + /* 300 */ "col_name", + /* 301 */ "db_name_cond_opt", + /* 302 */ "like_pattern_opt", + /* 303 */ "table_name_cond", + /* 304 */ "from_db_opt", + /* 305 */ "index_name", + /* 306 */ "index_options", + /* 307 */ "func_list", + /* 308 */ "sliding_opt", + /* 309 */ "sma_stream_opt", + /* 310 */ "func", + /* 311 */ "stream_options", + /* 312 */ "topic_name", + /* 313 */ "query_expression", + /* 314 */ "cgroup_name", + /* 315 */ "analyze_opt", + /* 316 */ "explain_options", + /* 317 */ "agg_func_opt", + /* 318 */ "bufsize_opt", + /* 319 */ "stream_name", + /* 320 */ "into_opt", + /* 321 */ "dnode_list", + /* 322 */ "where_clause_opt", + /* 323 */ "signed", + /* 324 */ "literal_func", + /* 325 */ "literal_list", + /* 326 */ "table_alias", + /* 327 */ "column_alias", + /* 328 */ "expression", + /* 329 */ "pseudo_column", + /* 330 */ "column_reference", + /* 331 */ "function_expression", + /* 332 */ "subquery", + /* 333 */ "star_func", + /* 334 */ "star_func_para_list", + /* 335 */ "noarg_func", + /* 336 */ "other_para_list", + /* 337 */ "star_func_para", + /* 338 */ "predicate", + /* 339 */ "compare_op", + /* 340 */ "in_op", + /* 341 */ "in_predicate_value", + /* 342 */ "boolean_value_expression", + /* 343 */ "boolean_primary", + /* 344 */ "common_expression", + /* 345 */ "from_clause_opt", + /* 346 */ "table_reference_list", + /* 347 */ "table_reference", + /* 348 */ "table_primary", + /* 349 */ "joined_table", + /* 350 */ "alias_opt", + /* 351 */ "parenthesized_joined_table", + /* 352 */ "join_type", + /* 353 */ "search_condition", + /* 354 */ "query_specification", + /* 355 */ "set_quantifier_opt", + /* 356 */ "select_list", + /* 357 */ "partition_by_clause_opt", + /* 358 */ "range_opt", + /* 359 */ "every_opt", + /* 360 */ "fill_opt", + /* 361 */ "twindow_clause_opt", + /* 362 */ "group_by_clause_opt", + /* 363 */ "having_clause_opt", + /* 364 */ "select_item", + /* 365 */ "fill_mode", + /* 366 */ "group_by_list", + /* 367 */ "query_expression_body", + /* 368 */ "order_by_clause_opt", + /* 369 */ "slimit_clause_opt", + /* 370 */ "limit_clause_opt", + /* 371 */ "query_primary", + /* 372 */ "sort_specification_list", + /* 373 */ "sort_specification", + /* 374 */ "ordering_specification_opt", + /* 375 */ "null_ordering_opt", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -1670,424 +1676,425 @@ static const char *const yyRuleName[] = { /* 63 */ "cmd ::= DROP DATABASE exists_opt db_name", /* 64 */ "cmd ::= USE db_name", /* 65 */ "cmd ::= ALTER DATABASE db_name alter_db_options", - /* 66 */ "not_exists_opt ::= IF NOT EXISTS", - /* 67 */ "not_exists_opt ::=", - /* 68 */ "exists_opt ::= IF EXISTS", - /* 69 */ "exists_opt ::=", - /* 70 */ "db_options ::=", - /* 71 */ "db_options ::= db_options BUFFER NK_INTEGER", - /* 72 */ "db_options ::= db_options CACHELAST NK_INTEGER", - /* 73 */ "db_options ::= db_options COMP NK_INTEGER", - /* 74 */ "db_options ::= db_options DURATION NK_INTEGER", - /* 75 */ "db_options ::= db_options DURATION NK_VARIABLE", - /* 76 */ "db_options ::= db_options FSYNC NK_INTEGER", - /* 77 */ "db_options ::= db_options MAXROWS NK_INTEGER", - /* 78 */ "db_options ::= db_options MINROWS NK_INTEGER", - /* 79 */ "db_options ::= db_options KEEP integer_list", - /* 80 */ "db_options ::= db_options KEEP variable_list", - /* 81 */ "db_options ::= db_options PAGES NK_INTEGER", - /* 82 */ "db_options ::= db_options PAGESIZE NK_INTEGER", - /* 83 */ "db_options ::= db_options PRECISION NK_STRING", - /* 84 */ "db_options ::= db_options REPLICA NK_INTEGER", - /* 85 */ "db_options ::= db_options STRICT NK_INTEGER", - /* 86 */ "db_options ::= db_options WAL NK_INTEGER", - /* 87 */ "db_options ::= db_options VGROUPS NK_INTEGER", - /* 88 */ "db_options ::= db_options SINGLE_STABLE NK_INTEGER", - /* 89 */ "db_options ::= db_options RETENTIONS retention_list", - /* 90 */ "db_options ::= db_options SCHEMALESS NK_INTEGER", - /* 91 */ "alter_db_options ::= alter_db_option", - /* 92 */ "alter_db_options ::= alter_db_options alter_db_option", - /* 93 */ "alter_db_option ::= BUFFER NK_INTEGER", - /* 94 */ "alter_db_option ::= CACHELAST NK_INTEGER", - /* 95 */ "alter_db_option ::= FSYNC NK_INTEGER", - /* 96 */ "alter_db_option ::= KEEP integer_list", - /* 97 */ "alter_db_option ::= KEEP variable_list", - /* 98 */ "alter_db_option ::= PAGES NK_INTEGER", - /* 99 */ "alter_db_option ::= REPLICA NK_INTEGER", - /* 100 */ "alter_db_option ::= STRICT NK_INTEGER", - /* 101 */ "alter_db_option ::= WAL NK_INTEGER", - /* 102 */ "integer_list ::= NK_INTEGER", - /* 103 */ "integer_list ::= integer_list NK_COMMA NK_INTEGER", - /* 104 */ "variable_list ::= NK_VARIABLE", - /* 105 */ "variable_list ::= variable_list NK_COMMA NK_VARIABLE", - /* 106 */ "retention_list ::= retention", - /* 107 */ "retention_list ::= retention_list NK_COMMA retention", - /* 108 */ "retention ::= NK_VARIABLE NK_COLON NK_VARIABLE", - /* 109 */ "cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options", - /* 110 */ "cmd ::= CREATE TABLE multi_create_clause", - /* 111 */ "cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options", - /* 112 */ "cmd ::= DROP TABLE multi_drop_clause", - /* 113 */ "cmd ::= DROP STABLE exists_opt full_table_name", - /* 114 */ "cmd ::= ALTER TABLE alter_table_clause", - /* 115 */ "cmd ::= ALTER STABLE alter_table_clause", - /* 116 */ "alter_table_clause ::= full_table_name alter_table_options", - /* 117 */ "alter_table_clause ::= full_table_name ADD COLUMN column_name type_name", - /* 118 */ "alter_table_clause ::= full_table_name DROP COLUMN column_name", - /* 119 */ "alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name", - /* 120 */ "alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name", - /* 121 */ "alter_table_clause ::= full_table_name ADD TAG column_name type_name", - /* 122 */ "alter_table_clause ::= full_table_name DROP TAG column_name", - /* 123 */ "alter_table_clause ::= full_table_name MODIFY TAG column_name type_name", - /* 124 */ "alter_table_clause ::= full_table_name RENAME TAG column_name column_name", - /* 125 */ "alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal", - /* 126 */ "multi_create_clause ::= create_subtable_clause", - /* 127 */ "multi_create_clause ::= multi_create_clause create_subtable_clause", - /* 128 */ "create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options", - /* 129 */ "multi_drop_clause ::= drop_table_clause", - /* 130 */ "multi_drop_clause ::= multi_drop_clause drop_table_clause", - /* 131 */ "drop_table_clause ::= exists_opt full_table_name", - /* 132 */ "specific_cols_opt ::=", - /* 133 */ "specific_cols_opt ::= NK_LP col_name_list NK_RP", - /* 134 */ "full_table_name ::= table_name", - /* 135 */ "full_table_name ::= db_name NK_DOT table_name", - /* 136 */ "column_def_list ::= column_def", - /* 137 */ "column_def_list ::= column_def_list NK_COMMA column_def", - /* 138 */ "column_def ::= column_name type_name", - /* 139 */ "column_def ::= column_name type_name COMMENT NK_STRING", - /* 140 */ "type_name ::= BOOL", - /* 141 */ "type_name ::= TINYINT", - /* 142 */ "type_name ::= SMALLINT", - /* 143 */ "type_name ::= INT", - /* 144 */ "type_name ::= INTEGER", - /* 145 */ "type_name ::= BIGINT", - /* 146 */ "type_name ::= FLOAT", - /* 147 */ "type_name ::= DOUBLE", - /* 148 */ "type_name ::= BINARY NK_LP NK_INTEGER NK_RP", - /* 149 */ "type_name ::= TIMESTAMP", - /* 150 */ "type_name ::= NCHAR NK_LP NK_INTEGER NK_RP", - /* 151 */ "type_name ::= TINYINT UNSIGNED", - /* 152 */ "type_name ::= SMALLINT UNSIGNED", - /* 153 */ "type_name ::= INT UNSIGNED", - /* 154 */ "type_name ::= BIGINT UNSIGNED", - /* 155 */ "type_name ::= JSON", - /* 156 */ "type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP", - /* 157 */ "type_name ::= MEDIUMBLOB", - /* 158 */ "type_name ::= BLOB", - /* 159 */ "type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP", - /* 160 */ "type_name ::= DECIMAL", - /* 161 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP", - /* 162 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP", - /* 163 */ "tags_def_opt ::=", - /* 164 */ "tags_def_opt ::= tags_def", - /* 165 */ "tags_def ::= TAGS NK_LP column_def_list NK_RP", - /* 166 */ "table_options ::=", - /* 167 */ "table_options ::= table_options COMMENT NK_STRING", - /* 168 */ "table_options ::= table_options MAX_DELAY duration_list", - /* 169 */ "table_options ::= table_options WATERMARK duration_list", - /* 170 */ "table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP", - /* 171 */ "table_options ::= table_options TTL NK_INTEGER", - /* 172 */ "table_options ::= table_options SMA NK_LP col_name_list NK_RP", - /* 173 */ "alter_table_options ::= alter_table_option", - /* 174 */ "alter_table_options ::= alter_table_options alter_table_option", - /* 175 */ "alter_table_option ::= COMMENT NK_STRING", - /* 176 */ "alter_table_option ::= TTL NK_INTEGER", - /* 177 */ "duration_list ::= duration_literal", - /* 178 */ "duration_list ::= duration_list NK_COMMA duration_literal", - /* 179 */ "rollup_func_list ::= rollup_func_name", - /* 180 */ "rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name", - /* 181 */ "rollup_func_name ::= function_name", - /* 182 */ "rollup_func_name ::= FIRST", - /* 183 */ "rollup_func_name ::= LAST", - /* 184 */ "col_name_list ::= col_name", - /* 185 */ "col_name_list ::= col_name_list NK_COMMA col_name", - /* 186 */ "col_name ::= column_name", - /* 187 */ "cmd ::= SHOW DNODES", - /* 188 */ "cmd ::= SHOW USERS", - /* 189 */ "cmd ::= SHOW DATABASES", - /* 190 */ "cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt", - /* 191 */ "cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt", - /* 192 */ "cmd ::= SHOW db_name_cond_opt VGROUPS", - /* 193 */ "cmd ::= SHOW MNODES", - /* 194 */ "cmd ::= SHOW MODULES", - /* 195 */ "cmd ::= SHOW QNODES", - /* 196 */ "cmd ::= SHOW FUNCTIONS", - /* 197 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", - /* 198 */ "cmd ::= SHOW STREAMS", - /* 199 */ "cmd ::= SHOW ACCOUNTS", - /* 200 */ "cmd ::= SHOW APPS", - /* 201 */ "cmd ::= SHOW CONNECTIONS", - /* 202 */ "cmd ::= SHOW LICENCE", - /* 203 */ "cmd ::= SHOW GRANTS", - /* 204 */ "cmd ::= SHOW CREATE DATABASE db_name", - /* 205 */ "cmd ::= SHOW CREATE TABLE full_table_name", - /* 206 */ "cmd ::= SHOW CREATE STABLE full_table_name", - /* 207 */ "cmd ::= SHOW QUERIES", - /* 208 */ "cmd ::= SHOW SCORES", - /* 209 */ "cmd ::= SHOW TOPICS", - /* 210 */ "cmd ::= SHOW VARIABLES", - /* 211 */ "cmd ::= SHOW LOCAL VARIABLES", - /* 212 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES", - /* 213 */ "cmd ::= SHOW BNODES", - /* 214 */ "cmd ::= SHOW SNODES", - /* 215 */ "cmd ::= SHOW CLUSTER", - /* 216 */ "cmd ::= SHOW TRANSACTIONS", - /* 217 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", - /* 218 */ "cmd ::= SHOW CONSUMERS", - /* 219 */ "cmd ::= SHOW SUBSCRIPTIONS", - /* 220 */ "db_name_cond_opt ::=", - /* 221 */ "db_name_cond_opt ::= db_name NK_DOT", - /* 222 */ "like_pattern_opt ::=", - /* 223 */ "like_pattern_opt ::= LIKE NK_STRING", - /* 224 */ "table_name_cond ::= table_name", - /* 225 */ "from_db_opt ::=", - /* 226 */ "from_db_opt ::= FROM db_name", - /* 227 */ "cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options", - /* 228 */ "cmd ::= DROP INDEX exists_opt index_name", - /* 229 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", - /* 230 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt", - /* 231 */ "func_list ::= func", - /* 232 */ "func_list ::= func_list NK_COMMA func", - /* 233 */ "func ::= function_name NK_LP expression_list NK_RP", - /* 234 */ "sma_stream_opt ::=", - /* 235 */ "sma_stream_opt ::= stream_options WATERMARK duration_literal", - /* 236 */ "sma_stream_opt ::= stream_options MAX_DELAY duration_literal", - /* 237 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression", - /* 238 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name", - /* 239 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name", - /* 240 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name", - /* 241 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name", - /* 242 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 243 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 244 */ "cmd ::= DESC full_table_name", - /* 245 */ "cmd ::= DESCRIBE full_table_name", - /* 246 */ "cmd ::= RESET QUERY CACHE", - /* 247 */ "cmd ::= EXPLAIN analyze_opt explain_options query_expression", - /* 248 */ "analyze_opt ::=", - /* 249 */ "analyze_opt ::= ANALYZE", - /* 250 */ "explain_options ::=", - /* 251 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 252 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 253 */ "cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP", - /* 254 */ "cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt", - /* 255 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 256 */ "agg_func_opt ::=", - /* 257 */ "agg_func_opt ::= AGGREGATE", - /* 258 */ "bufsize_opt ::=", - /* 259 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 260 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression", - /* 261 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 262 */ "into_opt ::=", - /* 263 */ "into_opt ::= INTO full_table_name", - /* 264 */ "stream_options ::=", - /* 265 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 266 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 267 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 268 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 269 */ "stream_options ::= stream_options IGNORE EXPIRED", - /* 270 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 271 */ "cmd ::= KILL QUERY NK_STRING", - /* 272 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 273 */ "cmd ::= BALANCE VGROUP", - /* 274 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 275 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 276 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 277 */ "dnode_list ::= DNODE NK_INTEGER", - /* 278 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 279 */ "cmd ::= SYNCDB db_name REPLICA", - /* 280 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 281 */ "cmd ::= query_expression", - /* 282 */ "cmd ::= INSERT INTO full_table_name specific_cols_opt query_expression", - /* 283 */ "literal ::= NK_INTEGER", - /* 284 */ "literal ::= NK_FLOAT", - /* 285 */ "literal ::= NK_STRING", - /* 286 */ "literal ::= NK_BOOL", - /* 287 */ "literal ::= TIMESTAMP NK_STRING", - /* 288 */ "literal ::= duration_literal", - /* 289 */ "literal ::= NULL", - /* 290 */ "literal ::= NK_QUESTION", - /* 291 */ "duration_literal ::= NK_VARIABLE", - /* 292 */ "signed ::= NK_INTEGER", - /* 293 */ "signed ::= NK_PLUS NK_INTEGER", - /* 294 */ "signed ::= NK_MINUS NK_INTEGER", - /* 295 */ "signed ::= NK_FLOAT", - /* 296 */ "signed ::= NK_PLUS NK_FLOAT", - /* 297 */ "signed ::= NK_MINUS NK_FLOAT", - /* 298 */ "signed_literal ::= signed", - /* 299 */ "signed_literal ::= NK_STRING", - /* 300 */ "signed_literal ::= NK_BOOL", - /* 301 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 302 */ "signed_literal ::= duration_literal", - /* 303 */ "signed_literal ::= NULL", - /* 304 */ "signed_literal ::= literal_func", - /* 305 */ "literal_list ::= signed_literal", - /* 306 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 307 */ "db_name ::= NK_ID", - /* 308 */ "table_name ::= NK_ID", - /* 309 */ "column_name ::= NK_ID", - /* 310 */ "function_name ::= NK_ID", - /* 311 */ "table_alias ::= NK_ID", - /* 312 */ "column_alias ::= NK_ID", - /* 313 */ "user_name ::= NK_ID", - /* 314 */ "index_name ::= NK_ID", - /* 315 */ "topic_name ::= NK_ID", - /* 316 */ "stream_name ::= NK_ID", - /* 317 */ "cgroup_name ::= NK_ID", - /* 318 */ "expression ::= literal", - /* 319 */ "expression ::= pseudo_column", - /* 320 */ "expression ::= column_reference", - /* 321 */ "expression ::= function_expression", - /* 322 */ "expression ::= subquery", - /* 323 */ "expression ::= NK_LP expression NK_RP", - /* 324 */ "expression ::= NK_PLUS expression", - /* 325 */ "expression ::= NK_MINUS expression", - /* 326 */ "expression ::= expression NK_PLUS expression", - /* 327 */ "expression ::= expression NK_MINUS expression", - /* 328 */ "expression ::= expression NK_STAR expression", - /* 329 */ "expression ::= expression NK_SLASH expression", - /* 330 */ "expression ::= expression NK_REM expression", - /* 331 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 332 */ "expression ::= expression NK_BITAND expression", - /* 333 */ "expression ::= expression NK_BITOR expression", - /* 334 */ "expression_list ::= expression", - /* 335 */ "expression_list ::= expression_list NK_COMMA expression", - /* 336 */ "column_reference ::= column_name", - /* 337 */ "column_reference ::= table_name NK_DOT column_name", - /* 338 */ "pseudo_column ::= ROWTS", - /* 339 */ "pseudo_column ::= TBNAME", - /* 340 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 341 */ "pseudo_column ::= QSTARTTS", - /* 342 */ "pseudo_column ::= QENDTS", - /* 343 */ "pseudo_column ::= WSTARTTS", - /* 344 */ "pseudo_column ::= WENDTS", - /* 345 */ "pseudo_column ::= WDURATION", - /* 346 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 347 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 348 */ "function_expression ::= CAST NK_LP expression AS type_name NK_RP", - /* 349 */ "function_expression ::= literal_func", - /* 350 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 351 */ "literal_func ::= NOW", - /* 352 */ "noarg_func ::= NOW", - /* 353 */ "noarg_func ::= TODAY", - /* 354 */ "noarg_func ::= TIMEZONE", - /* 355 */ "noarg_func ::= DATABASE", - /* 356 */ "noarg_func ::= CLIENT_VERSION", - /* 357 */ "noarg_func ::= SERVER_VERSION", - /* 358 */ "noarg_func ::= SERVER_STATUS", - /* 359 */ "noarg_func ::= CURRENT_USER", - /* 360 */ "noarg_func ::= USER", - /* 361 */ "star_func ::= COUNT", - /* 362 */ "star_func ::= FIRST", - /* 363 */ "star_func ::= LAST", - /* 364 */ "star_func ::= LAST_ROW", - /* 365 */ "star_func_para_list ::= NK_STAR", - /* 366 */ "star_func_para_list ::= other_para_list", - /* 367 */ "other_para_list ::= star_func_para", - /* 368 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 369 */ "star_func_para ::= expression", - /* 370 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 371 */ "predicate ::= expression compare_op expression", - /* 372 */ "predicate ::= expression BETWEEN expression AND expression", - /* 373 */ "predicate ::= expression NOT BETWEEN expression AND expression", - /* 374 */ "predicate ::= expression IS NULL", - /* 375 */ "predicate ::= expression IS NOT NULL", - /* 376 */ "predicate ::= expression in_op in_predicate_value", - /* 377 */ "compare_op ::= NK_LT", - /* 378 */ "compare_op ::= NK_GT", - /* 379 */ "compare_op ::= NK_LE", - /* 380 */ "compare_op ::= NK_GE", - /* 381 */ "compare_op ::= NK_NE", - /* 382 */ "compare_op ::= NK_EQ", - /* 383 */ "compare_op ::= LIKE", - /* 384 */ "compare_op ::= NOT LIKE", - /* 385 */ "compare_op ::= MATCH", - /* 386 */ "compare_op ::= NMATCH", - /* 387 */ "compare_op ::= CONTAINS", - /* 388 */ "in_op ::= IN", - /* 389 */ "in_op ::= NOT IN", - /* 390 */ "in_predicate_value ::= NK_LP expression_list NK_RP", - /* 391 */ "boolean_value_expression ::= boolean_primary", - /* 392 */ "boolean_value_expression ::= NOT boolean_primary", - /* 393 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 394 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 395 */ "boolean_primary ::= predicate", - /* 396 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 397 */ "common_expression ::= expression", - /* 398 */ "common_expression ::= boolean_value_expression", - /* 399 */ "from_clause_opt ::=", - /* 400 */ "from_clause_opt ::= FROM table_reference_list", - /* 401 */ "table_reference_list ::= table_reference", - /* 402 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 403 */ "table_reference ::= table_primary", - /* 404 */ "table_reference ::= joined_table", - /* 405 */ "table_primary ::= table_name alias_opt", - /* 406 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 407 */ "table_primary ::= subquery alias_opt", - /* 408 */ "table_primary ::= parenthesized_joined_table", - /* 409 */ "alias_opt ::=", - /* 410 */ "alias_opt ::= table_alias", - /* 411 */ "alias_opt ::= AS table_alias", - /* 412 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 413 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 414 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 415 */ "join_type ::=", - /* 416 */ "join_type ::= INNER", - /* 417 */ "query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", - /* 418 */ "set_quantifier_opt ::=", - /* 419 */ "set_quantifier_opt ::= DISTINCT", - /* 420 */ "set_quantifier_opt ::= ALL", - /* 421 */ "select_list ::= select_item", - /* 422 */ "select_list ::= select_list NK_COMMA select_item", - /* 423 */ "select_item ::= NK_STAR", - /* 424 */ "select_item ::= common_expression", - /* 425 */ "select_item ::= common_expression column_alias", - /* 426 */ "select_item ::= common_expression AS column_alias", - /* 427 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 428 */ "where_clause_opt ::=", - /* 429 */ "where_clause_opt ::= WHERE search_condition", - /* 430 */ "partition_by_clause_opt ::=", - /* 431 */ "partition_by_clause_opt ::= PARTITION BY expression_list", - /* 432 */ "twindow_clause_opt ::=", - /* 433 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 434 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP", - /* 435 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 436 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 437 */ "sliding_opt ::=", - /* 438 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 439 */ "fill_opt ::=", - /* 440 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 441 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", - /* 442 */ "fill_mode ::= NONE", - /* 443 */ "fill_mode ::= PREV", - /* 444 */ "fill_mode ::= NULL", - /* 445 */ "fill_mode ::= LINEAR", - /* 446 */ "fill_mode ::= NEXT", - /* 447 */ "group_by_clause_opt ::=", - /* 448 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 449 */ "group_by_list ::= expression", - /* 450 */ "group_by_list ::= group_by_list NK_COMMA expression", - /* 451 */ "having_clause_opt ::=", - /* 452 */ "having_clause_opt ::= HAVING search_condition", - /* 453 */ "range_opt ::=", - /* 454 */ "range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP", - /* 455 */ "every_opt ::=", - /* 456 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 457 */ "query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 458 */ "query_expression_body ::= query_primary", - /* 459 */ "query_expression_body ::= query_expression_body UNION ALL query_expression_body", - /* 460 */ "query_expression_body ::= query_expression_body UNION query_expression_body", - /* 461 */ "query_primary ::= query_specification", - /* 462 */ "query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP", - /* 463 */ "order_by_clause_opt ::=", - /* 464 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 465 */ "slimit_clause_opt ::=", - /* 466 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 467 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 468 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 469 */ "limit_clause_opt ::=", - /* 470 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 471 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 472 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 473 */ "subquery ::= NK_LP query_expression NK_RP", - /* 474 */ "search_condition ::= common_expression", - /* 475 */ "sort_specification_list ::= sort_specification", - /* 476 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 477 */ "sort_specification ::= expression ordering_specification_opt null_ordering_opt", - /* 478 */ "ordering_specification_opt ::=", - /* 479 */ "ordering_specification_opt ::= ASC", - /* 480 */ "ordering_specification_opt ::= DESC", - /* 481 */ "null_ordering_opt ::=", - /* 482 */ "null_ordering_opt ::= NULLS FIRST", - /* 483 */ "null_ordering_opt ::= NULLS LAST", + /* 66 */ "cmd ::= FLUSH DATABASE db_name", + /* 67 */ "not_exists_opt ::= IF NOT EXISTS", + /* 68 */ "not_exists_opt ::=", + /* 69 */ "exists_opt ::= IF EXISTS", + /* 70 */ "exists_opt ::=", + /* 71 */ "db_options ::=", + /* 72 */ "db_options ::= db_options BUFFER NK_INTEGER", + /* 73 */ "db_options ::= db_options CACHELAST NK_INTEGER", + /* 74 */ "db_options ::= db_options COMP NK_INTEGER", + /* 75 */ "db_options ::= db_options DURATION NK_INTEGER", + /* 76 */ "db_options ::= db_options DURATION NK_VARIABLE", + /* 77 */ "db_options ::= db_options FSYNC NK_INTEGER", + /* 78 */ "db_options ::= db_options MAXROWS NK_INTEGER", + /* 79 */ "db_options ::= db_options MINROWS NK_INTEGER", + /* 80 */ "db_options ::= db_options KEEP integer_list", + /* 81 */ "db_options ::= db_options KEEP variable_list", + /* 82 */ "db_options ::= db_options PAGES NK_INTEGER", + /* 83 */ "db_options ::= db_options PAGESIZE NK_INTEGER", + /* 84 */ "db_options ::= db_options PRECISION NK_STRING", + /* 85 */ "db_options ::= db_options REPLICA NK_INTEGER", + /* 86 */ "db_options ::= db_options STRICT NK_INTEGER", + /* 87 */ "db_options ::= db_options WAL NK_INTEGER", + /* 88 */ "db_options ::= db_options VGROUPS NK_INTEGER", + /* 89 */ "db_options ::= db_options SINGLE_STABLE NK_INTEGER", + /* 90 */ "db_options ::= db_options RETENTIONS retention_list", + /* 91 */ "db_options ::= db_options SCHEMALESS NK_INTEGER", + /* 92 */ "alter_db_options ::= alter_db_option", + /* 93 */ "alter_db_options ::= alter_db_options alter_db_option", + /* 94 */ "alter_db_option ::= BUFFER NK_INTEGER", + /* 95 */ "alter_db_option ::= CACHELAST NK_INTEGER", + /* 96 */ "alter_db_option ::= FSYNC NK_INTEGER", + /* 97 */ "alter_db_option ::= KEEP integer_list", + /* 98 */ "alter_db_option ::= KEEP variable_list", + /* 99 */ "alter_db_option ::= PAGES NK_INTEGER", + /* 100 */ "alter_db_option ::= REPLICA NK_INTEGER", + /* 101 */ "alter_db_option ::= STRICT NK_INTEGER", + /* 102 */ "alter_db_option ::= WAL NK_INTEGER", + /* 103 */ "integer_list ::= NK_INTEGER", + /* 104 */ "integer_list ::= integer_list NK_COMMA NK_INTEGER", + /* 105 */ "variable_list ::= NK_VARIABLE", + /* 106 */ "variable_list ::= variable_list NK_COMMA NK_VARIABLE", + /* 107 */ "retention_list ::= retention", + /* 108 */ "retention_list ::= retention_list NK_COMMA retention", + /* 109 */ "retention ::= NK_VARIABLE NK_COLON NK_VARIABLE", + /* 110 */ "cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options", + /* 111 */ "cmd ::= CREATE TABLE multi_create_clause", + /* 112 */ "cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options", + /* 113 */ "cmd ::= DROP TABLE multi_drop_clause", + /* 114 */ "cmd ::= DROP STABLE exists_opt full_table_name", + /* 115 */ "cmd ::= ALTER TABLE alter_table_clause", + /* 116 */ "cmd ::= ALTER STABLE alter_table_clause", + /* 117 */ "alter_table_clause ::= full_table_name alter_table_options", + /* 118 */ "alter_table_clause ::= full_table_name ADD COLUMN column_name type_name", + /* 119 */ "alter_table_clause ::= full_table_name DROP COLUMN column_name", + /* 120 */ "alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name", + /* 121 */ "alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name", + /* 122 */ "alter_table_clause ::= full_table_name ADD TAG column_name type_name", + /* 123 */ "alter_table_clause ::= full_table_name DROP TAG column_name", + /* 124 */ "alter_table_clause ::= full_table_name MODIFY TAG column_name type_name", + /* 125 */ "alter_table_clause ::= full_table_name RENAME TAG column_name column_name", + /* 126 */ "alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal", + /* 127 */ "multi_create_clause ::= create_subtable_clause", + /* 128 */ "multi_create_clause ::= multi_create_clause create_subtable_clause", + /* 129 */ "create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options", + /* 130 */ "multi_drop_clause ::= drop_table_clause", + /* 131 */ "multi_drop_clause ::= multi_drop_clause drop_table_clause", + /* 132 */ "drop_table_clause ::= exists_opt full_table_name", + /* 133 */ "specific_cols_opt ::=", + /* 134 */ "specific_cols_opt ::= NK_LP col_name_list NK_RP", + /* 135 */ "full_table_name ::= table_name", + /* 136 */ "full_table_name ::= db_name NK_DOT table_name", + /* 137 */ "column_def_list ::= column_def", + /* 138 */ "column_def_list ::= column_def_list NK_COMMA column_def", + /* 139 */ "column_def ::= column_name type_name", + /* 140 */ "column_def ::= column_name type_name COMMENT NK_STRING", + /* 141 */ "type_name ::= BOOL", + /* 142 */ "type_name ::= TINYINT", + /* 143 */ "type_name ::= SMALLINT", + /* 144 */ "type_name ::= INT", + /* 145 */ "type_name ::= INTEGER", + /* 146 */ "type_name ::= BIGINT", + /* 147 */ "type_name ::= FLOAT", + /* 148 */ "type_name ::= DOUBLE", + /* 149 */ "type_name ::= BINARY NK_LP NK_INTEGER NK_RP", + /* 150 */ "type_name ::= TIMESTAMP", + /* 151 */ "type_name ::= NCHAR NK_LP NK_INTEGER NK_RP", + /* 152 */ "type_name ::= TINYINT UNSIGNED", + /* 153 */ "type_name ::= SMALLINT UNSIGNED", + /* 154 */ "type_name ::= INT UNSIGNED", + /* 155 */ "type_name ::= BIGINT UNSIGNED", + /* 156 */ "type_name ::= JSON", + /* 157 */ "type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP", + /* 158 */ "type_name ::= MEDIUMBLOB", + /* 159 */ "type_name ::= BLOB", + /* 160 */ "type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP", + /* 161 */ "type_name ::= DECIMAL", + /* 162 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP", + /* 163 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP", + /* 164 */ "tags_def_opt ::=", + /* 165 */ "tags_def_opt ::= tags_def", + /* 166 */ "tags_def ::= TAGS NK_LP column_def_list NK_RP", + /* 167 */ "table_options ::=", + /* 168 */ "table_options ::= table_options COMMENT NK_STRING", + /* 169 */ "table_options ::= table_options MAX_DELAY duration_list", + /* 170 */ "table_options ::= table_options WATERMARK duration_list", + /* 171 */ "table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP", + /* 172 */ "table_options ::= table_options TTL NK_INTEGER", + /* 173 */ "table_options ::= table_options SMA NK_LP col_name_list NK_RP", + /* 174 */ "alter_table_options ::= alter_table_option", + /* 175 */ "alter_table_options ::= alter_table_options alter_table_option", + /* 176 */ "alter_table_option ::= COMMENT NK_STRING", + /* 177 */ "alter_table_option ::= TTL NK_INTEGER", + /* 178 */ "duration_list ::= duration_literal", + /* 179 */ "duration_list ::= duration_list NK_COMMA duration_literal", + /* 180 */ "rollup_func_list ::= rollup_func_name", + /* 181 */ "rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name", + /* 182 */ "rollup_func_name ::= function_name", + /* 183 */ "rollup_func_name ::= FIRST", + /* 184 */ "rollup_func_name ::= LAST", + /* 185 */ "col_name_list ::= col_name", + /* 186 */ "col_name_list ::= col_name_list NK_COMMA col_name", + /* 187 */ "col_name ::= column_name", + /* 188 */ "cmd ::= SHOW DNODES", + /* 189 */ "cmd ::= SHOW USERS", + /* 190 */ "cmd ::= SHOW DATABASES", + /* 191 */ "cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt", + /* 192 */ "cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt", + /* 193 */ "cmd ::= SHOW db_name_cond_opt VGROUPS", + /* 194 */ "cmd ::= SHOW MNODES", + /* 195 */ "cmd ::= SHOW MODULES", + /* 196 */ "cmd ::= SHOW QNODES", + /* 197 */ "cmd ::= SHOW FUNCTIONS", + /* 198 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", + /* 199 */ "cmd ::= SHOW STREAMS", + /* 200 */ "cmd ::= SHOW ACCOUNTS", + /* 201 */ "cmd ::= SHOW APPS", + /* 202 */ "cmd ::= SHOW CONNECTIONS", + /* 203 */ "cmd ::= SHOW LICENCE", + /* 204 */ "cmd ::= SHOW GRANTS", + /* 205 */ "cmd ::= SHOW CREATE DATABASE db_name", + /* 206 */ "cmd ::= SHOW CREATE TABLE full_table_name", + /* 207 */ "cmd ::= SHOW CREATE STABLE full_table_name", + /* 208 */ "cmd ::= SHOW QUERIES", + /* 209 */ "cmd ::= SHOW SCORES", + /* 210 */ "cmd ::= SHOW TOPICS", + /* 211 */ "cmd ::= SHOW VARIABLES", + /* 212 */ "cmd ::= SHOW LOCAL VARIABLES", + /* 213 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES", + /* 214 */ "cmd ::= SHOW BNODES", + /* 215 */ "cmd ::= SHOW SNODES", + /* 216 */ "cmd ::= SHOW CLUSTER", + /* 217 */ "cmd ::= SHOW TRANSACTIONS", + /* 218 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", + /* 219 */ "cmd ::= SHOW CONSUMERS", + /* 220 */ "cmd ::= SHOW SUBSCRIPTIONS", + /* 221 */ "db_name_cond_opt ::=", + /* 222 */ "db_name_cond_opt ::= db_name NK_DOT", + /* 223 */ "like_pattern_opt ::=", + /* 224 */ "like_pattern_opt ::= LIKE NK_STRING", + /* 225 */ "table_name_cond ::= table_name", + /* 226 */ "from_db_opt ::=", + /* 227 */ "from_db_opt ::= FROM db_name", + /* 228 */ "cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options", + /* 229 */ "cmd ::= DROP INDEX exists_opt index_name", + /* 230 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", + /* 231 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt", + /* 232 */ "func_list ::= func", + /* 233 */ "func_list ::= func_list NK_COMMA func", + /* 234 */ "func ::= function_name NK_LP expression_list NK_RP", + /* 235 */ "sma_stream_opt ::=", + /* 236 */ "sma_stream_opt ::= stream_options WATERMARK duration_literal", + /* 237 */ "sma_stream_opt ::= stream_options MAX_DELAY duration_literal", + /* 238 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression", + /* 239 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name", + /* 240 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name", + /* 241 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name", + /* 242 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name", + /* 243 */ "cmd ::= DROP TOPIC exists_opt topic_name", + /* 244 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", + /* 245 */ "cmd ::= DESC full_table_name", + /* 246 */ "cmd ::= DESCRIBE full_table_name", + /* 247 */ "cmd ::= RESET QUERY CACHE", + /* 248 */ "cmd ::= EXPLAIN analyze_opt explain_options query_expression", + /* 249 */ "analyze_opt ::=", + /* 250 */ "analyze_opt ::= ANALYZE", + /* 251 */ "explain_options ::=", + /* 252 */ "explain_options ::= explain_options VERBOSE NK_BOOL", + /* 253 */ "explain_options ::= explain_options RATIO NK_FLOAT", + /* 254 */ "cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP", + /* 255 */ "cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt", + /* 256 */ "cmd ::= DROP FUNCTION exists_opt function_name", + /* 257 */ "agg_func_opt ::=", + /* 258 */ "agg_func_opt ::= AGGREGATE", + /* 259 */ "bufsize_opt ::=", + /* 260 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", + /* 261 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression", + /* 262 */ "cmd ::= DROP STREAM exists_opt stream_name", + /* 263 */ "into_opt ::=", + /* 264 */ "into_opt ::= INTO full_table_name", + /* 265 */ "stream_options ::=", + /* 266 */ "stream_options ::= stream_options TRIGGER AT_ONCE", + /* 267 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", + /* 268 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", + /* 269 */ "stream_options ::= stream_options WATERMARK duration_literal", + /* 270 */ "stream_options ::= stream_options IGNORE EXPIRED", + /* 271 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 272 */ "cmd ::= KILL QUERY NK_STRING", + /* 273 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 274 */ "cmd ::= BALANCE VGROUP", + /* 275 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 276 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 277 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 278 */ "dnode_list ::= DNODE NK_INTEGER", + /* 279 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 280 */ "cmd ::= SYNCDB db_name REPLICA", + /* 281 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 282 */ "cmd ::= query_expression", + /* 283 */ "cmd ::= INSERT INTO full_table_name specific_cols_opt query_expression", + /* 284 */ "literal ::= NK_INTEGER", + /* 285 */ "literal ::= NK_FLOAT", + /* 286 */ "literal ::= NK_STRING", + /* 287 */ "literal ::= NK_BOOL", + /* 288 */ "literal ::= TIMESTAMP NK_STRING", + /* 289 */ "literal ::= duration_literal", + /* 290 */ "literal ::= NULL", + /* 291 */ "literal ::= NK_QUESTION", + /* 292 */ "duration_literal ::= NK_VARIABLE", + /* 293 */ "signed ::= NK_INTEGER", + /* 294 */ "signed ::= NK_PLUS NK_INTEGER", + /* 295 */ "signed ::= NK_MINUS NK_INTEGER", + /* 296 */ "signed ::= NK_FLOAT", + /* 297 */ "signed ::= NK_PLUS NK_FLOAT", + /* 298 */ "signed ::= NK_MINUS NK_FLOAT", + /* 299 */ "signed_literal ::= signed", + /* 300 */ "signed_literal ::= NK_STRING", + /* 301 */ "signed_literal ::= NK_BOOL", + /* 302 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 303 */ "signed_literal ::= duration_literal", + /* 304 */ "signed_literal ::= NULL", + /* 305 */ "signed_literal ::= literal_func", + /* 306 */ "literal_list ::= signed_literal", + /* 307 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 308 */ "db_name ::= NK_ID", + /* 309 */ "table_name ::= NK_ID", + /* 310 */ "column_name ::= NK_ID", + /* 311 */ "function_name ::= NK_ID", + /* 312 */ "table_alias ::= NK_ID", + /* 313 */ "column_alias ::= NK_ID", + /* 314 */ "user_name ::= NK_ID", + /* 315 */ "index_name ::= NK_ID", + /* 316 */ "topic_name ::= NK_ID", + /* 317 */ "stream_name ::= NK_ID", + /* 318 */ "cgroup_name ::= NK_ID", + /* 319 */ "expression ::= literal", + /* 320 */ "expression ::= pseudo_column", + /* 321 */ "expression ::= column_reference", + /* 322 */ "expression ::= function_expression", + /* 323 */ "expression ::= subquery", + /* 324 */ "expression ::= NK_LP expression NK_RP", + /* 325 */ "expression ::= NK_PLUS expression", + /* 326 */ "expression ::= NK_MINUS expression", + /* 327 */ "expression ::= expression NK_PLUS expression", + /* 328 */ "expression ::= expression NK_MINUS expression", + /* 329 */ "expression ::= expression NK_STAR expression", + /* 330 */ "expression ::= expression NK_SLASH expression", + /* 331 */ "expression ::= expression NK_REM expression", + /* 332 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 333 */ "expression ::= expression NK_BITAND expression", + /* 334 */ "expression ::= expression NK_BITOR expression", + /* 335 */ "expression_list ::= expression", + /* 336 */ "expression_list ::= expression_list NK_COMMA expression", + /* 337 */ "column_reference ::= column_name", + /* 338 */ "column_reference ::= table_name NK_DOT column_name", + /* 339 */ "pseudo_column ::= ROWTS", + /* 340 */ "pseudo_column ::= TBNAME", + /* 341 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 342 */ "pseudo_column ::= QSTARTTS", + /* 343 */ "pseudo_column ::= QENDTS", + /* 344 */ "pseudo_column ::= WSTARTTS", + /* 345 */ "pseudo_column ::= WENDTS", + /* 346 */ "pseudo_column ::= WDURATION", + /* 347 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 348 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 349 */ "function_expression ::= CAST NK_LP expression AS type_name NK_RP", + /* 350 */ "function_expression ::= literal_func", + /* 351 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 352 */ "literal_func ::= NOW", + /* 353 */ "noarg_func ::= NOW", + /* 354 */ "noarg_func ::= TODAY", + /* 355 */ "noarg_func ::= TIMEZONE", + /* 356 */ "noarg_func ::= DATABASE", + /* 357 */ "noarg_func ::= CLIENT_VERSION", + /* 358 */ "noarg_func ::= SERVER_VERSION", + /* 359 */ "noarg_func ::= SERVER_STATUS", + /* 360 */ "noarg_func ::= CURRENT_USER", + /* 361 */ "noarg_func ::= USER", + /* 362 */ "star_func ::= COUNT", + /* 363 */ "star_func ::= FIRST", + /* 364 */ "star_func ::= LAST", + /* 365 */ "star_func ::= LAST_ROW", + /* 366 */ "star_func_para_list ::= NK_STAR", + /* 367 */ "star_func_para_list ::= other_para_list", + /* 368 */ "other_para_list ::= star_func_para", + /* 369 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 370 */ "star_func_para ::= expression", + /* 371 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 372 */ "predicate ::= expression compare_op expression", + /* 373 */ "predicate ::= expression BETWEEN expression AND expression", + /* 374 */ "predicate ::= expression NOT BETWEEN expression AND expression", + /* 375 */ "predicate ::= expression IS NULL", + /* 376 */ "predicate ::= expression IS NOT NULL", + /* 377 */ "predicate ::= expression in_op in_predicate_value", + /* 378 */ "compare_op ::= NK_LT", + /* 379 */ "compare_op ::= NK_GT", + /* 380 */ "compare_op ::= NK_LE", + /* 381 */ "compare_op ::= NK_GE", + /* 382 */ "compare_op ::= NK_NE", + /* 383 */ "compare_op ::= NK_EQ", + /* 384 */ "compare_op ::= LIKE", + /* 385 */ "compare_op ::= NOT LIKE", + /* 386 */ "compare_op ::= MATCH", + /* 387 */ "compare_op ::= NMATCH", + /* 388 */ "compare_op ::= CONTAINS", + /* 389 */ "in_op ::= IN", + /* 390 */ "in_op ::= NOT IN", + /* 391 */ "in_predicate_value ::= NK_LP expression_list NK_RP", + /* 392 */ "boolean_value_expression ::= boolean_primary", + /* 393 */ "boolean_value_expression ::= NOT boolean_primary", + /* 394 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 395 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 396 */ "boolean_primary ::= predicate", + /* 397 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 398 */ "common_expression ::= expression", + /* 399 */ "common_expression ::= boolean_value_expression", + /* 400 */ "from_clause_opt ::=", + /* 401 */ "from_clause_opt ::= FROM table_reference_list", + /* 402 */ "table_reference_list ::= table_reference", + /* 403 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 404 */ "table_reference ::= table_primary", + /* 405 */ "table_reference ::= joined_table", + /* 406 */ "table_primary ::= table_name alias_opt", + /* 407 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 408 */ "table_primary ::= subquery alias_opt", + /* 409 */ "table_primary ::= parenthesized_joined_table", + /* 410 */ "alias_opt ::=", + /* 411 */ "alias_opt ::= table_alias", + /* 412 */ "alias_opt ::= AS table_alias", + /* 413 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 414 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 415 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 416 */ "join_type ::=", + /* 417 */ "join_type ::= INNER", + /* 418 */ "query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", + /* 419 */ "set_quantifier_opt ::=", + /* 420 */ "set_quantifier_opt ::= DISTINCT", + /* 421 */ "set_quantifier_opt ::= ALL", + /* 422 */ "select_list ::= select_item", + /* 423 */ "select_list ::= select_list NK_COMMA select_item", + /* 424 */ "select_item ::= NK_STAR", + /* 425 */ "select_item ::= common_expression", + /* 426 */ "select_item ::= common_expression column_alias", + /* 427 */ "select_item ::= common_expression AS column_alias", + /* 428 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 429 */ "where_clause_opt ::=", + /* 430 */ "where_clause_opt ::= WHERE search_condition", + /* 431 */ "partition_by_clause_opt ::=", + /* 432 */ "partition_by_clause_opt ::= PARTITION BY expression_list", + /* 433 */ "twindow_clause_opt ::=", + /* 434 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 435 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP", + /* 436 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 437 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 438 */ "sliding_opt ::=", + /* 439 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 440 */ "fill_opt ::=", + /* 441 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 442 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", + /* 443 */ "fill_mode ::= NONE", + /* 444 */ "fill_mode ::= PREV", + /* 445 */ "fill_mode ::= NULL", + /* 446 */ "fill_mode ::= LINEAR", + /* 447 */ "fill_mode ::= NEXT", + /* 448 */ "group_by_clause_opt ::=", + /* 449 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 450 */ "group_by_list ::= expression", + /* 451 */ "group_by_list ::= group_by_list NK_COMMA expression", + /* 452 */ "having_clause_opt ::=", + /* 453 */ "having_clause_opt ::= HAVING search_condition", + /* 454 */ "range_opt ::=", + /* 455 */ "range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP", + /* 456 */ "every_opt ::=", + /* 457 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 458 */ "query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 459 */ "query_expression_body ::= query_primary", + /* 460 */ "query_expression_body ::= query_expression_body UNION ALL query_expression_body", + /* 461 */ "query_expression_body ::= query_expression_body UNION query_expression_body", + /* 462 */ "query_primary ::= query_specification", + /* 463 */ "query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP", + /* 464 */ "order_by_clause_opt ::=", + /* 465 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 466 */ "slimit_clause_opt ::=", + /* 467 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 468 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 469 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 470 */ "limit_clause_opt ::=", + /* 471 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 472 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 473 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 474 */ "subquery ::= NK_LP query_expression NK_RP", + /* 475 */ "search_condition ::= common_expression", + /* 476 */ "sort_specification_list ::= sort_specification", + /* 477 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 478 */ "sort_specification ::= expression ordering_specification_opt null_ordering_opt", + /* 479 */ "ordering_specification_opt ::=", + /* 480 */ "ordering_specification_opt ::= ASC", + /* 481 */ "ordering_specification_opt ::= DESC", + /* 482 */ "null_ordering_opt ::=", + /* 483 */ "null_ordering_opt ::= NULLS FIRST", + /* 484 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -2214,181 +2221,181 @@ static void yy_destructor( */ /********* Begin destructor definitions ***************************************/ /* Default NON-TERMINAL Destructor */ - case 252: /* cmd */ - case 255: /* literal */ - case 266: /* db_options */ - case 268: /* alter_db_options */ - case 273: /* retention */ - case 274: /* full_table_name */ - case 277: /* table_options */ - case 281: /* alter_table_clause */ - case 282: /* alter_table_options */ - case 285: /* signed_literal */ - case 286: /* create_subtable_clause */ - case 289: /* drop_table_clause */ - case 292: /* column_def */ - case 296: /* duration_literal */ - case 297: /* rollup_func_name */ - case 299: /* col_name */ - case 300: /* db_name_cond_opt */ - case 301: /* like_pattern_opt */ - case 302: /* table_name_cond */ - case 303: /* from_db_opt */ - case 305: /* index_options */ - case 307: /* sliding_opt */ - case 308: /* sma_stream_opt */ - case 309: /* func */ - case 310: /* stream_options */ - case 312: /* query_expression */ - case 315: /* explain_options */ - case 319: /* into_opt */ - case 321: /* where_clause_opt */ - case 322: /* signed */ - case 323: /* literal_func */ - case 327: /* expression */ - case 328: /* pseudo_column */ - case 329: /* column_reference */ - case 330: /* function_expression */ - case 331: /* subquery */ - case 336: /* star_func_para */ - case 337: /* predicate */ - case 340: /* in_predicate_value */ - case 341: /* boolean_value_expression */ - case 342: /* boolean_primary */ - case 343: /* common_expression */ - case 344: /* from_clause_opt */ - case 345: /* table_reference_list */ - case 346: /* table_reference */ - case 347: /* table_primary */ - case 348: /* joined_table */ - case 350: /* parenthesized_joined_table */ - case 352: /* search_condition */ - case 353: /* query_specification */ - case 357: /* range_opt */ - case 358: /* every_opt */ - case 359: /* fill_opt */ - case 360: /* twindow_clause_opt */ - case 362: /* having_clause_opt */ - case 363: /* select_item */ - case 366: /* query_expression_body */ - case 368: /* slimit_clause_opt */ - case 369: /* limit_clause_opt */ - case 370: /* query_primary */ - case 372: /* sort_specification */ + case 253: /* cmd */ + case 256: /* literal */ + case 267: /* db_options */ + case 269: /* alter_db_options */ + case 274: /* retention */ + case 275: /* full_table_name */ + case 278: /* table_options */ + case 282: /* alter_table_clause */ + case 283: /* alter_table_options */ + case 286: /* signed_literal */ + case 287: /* create_subtable_clause */ + case 290: /* drop_table_clause */ + case 293: /* column_def */ + case 297: /* duration_literal */ + case 298: /* rollup_func_name */ + case 300: /* col_name */ + case 301: /* db_name_cond_opt */ + case 302: /* like_pattern_opt */ + case 303: /* table_name_cond */ + case 304: /* from_db_opt */ + case 306: /* index_options */ + case 308: /* sliding_opt */ + case 309: /* sma_stream_opt */ + case 310: /* func */ + case 311: /* stream_options */ + case 313: /* query_expression */ + case 316: /* explain_options */ + case 320: /* into_opt */ + case 322: /* where_clause_opt */ + case 323: /* signed */ + case 324: /* literal_func */ + case 328: /* expression */ + case 329: /* pseudo_column */ + case 330: /* column_reference */ + case 331: /* function_expression */ + case 332: /* subquery */ + case 337: /* star_func_para */ + case 338: /* predicate */ + case 341: /* in_predicate_value */ + case 342: /* boolean_value_expression */ + case 343: /* boolean_primary */ + case 344: /* common_expression */ + case 345: /* from_clause_opt */ + case 346: /* table_reference_list */ + case 347: /* table_reference */ + case 348: /* table_primary */ + case 349: /* joined_table */ + case 351: /* parenthesized_joined_table */ + case 353: /* search_condition */ + case 354: /* query_specification */ + case 358: /* range_opt */ + case 359: /* every_opt */ + case 360: /* fill_opt */ + case 361: /* twindow_clause_opt */ + case 363: /* having_clause_opt */ + case 364: /* select_item */ + case 367: /* query_expression_body */ + case 369: /* slimit_clause_opt */ + case 370: /* limit_clause_opt */ + case 371: /* query_primary */ + case 373: /* sort_specification */ { - nodesDestroyNode((yypminor->yy212)); + nodesDestroyNode((yypminor->yy248)); } break; - case 253: /* account_options */ - case 254: /* alter_account_options */ - case 256: /* alter_account_option */ - case 317: /* bufsize_opt */ + case 254: /* account_options */ + case 255: /* alter_account_options */ + case 257: /* alter_account_option */ + case 318: /* bufsize_opt */ { } break; - case 257: /* user_name */ - case 260: /* priv_level */ - case 263: /* db_name */ - case 264: /* dnode_endpoint */ - case 283: /* column_name */ - case 291: /* table_name */ - case 298: /* function_name */ - case 304: /* index_name */ - case 311: /* topic_name */ - case 313: /* cgroup_name */ - case 318: /* stream_name */ - case 325: /* table_alias */ - case 326: /* column_alias */ - case 332: /* star_func */ - case 334: /* noarg_func */ - case 349: /* alias_opt */ + case 258: /* user_name */ + case 261: /* priv_level */ + case 264: /* db_name */ + case 265: /* dnode_endpoint */ + case 284: /* column_name */ + case 292: /* table_name */ + case 299: /* function_name */ + case 305: /* index_name */ + case 312: /* topic_name */ + case 314: /* cgroup_name */ + case 319: /* stream_name */ + case 326: /* table_alias */ + case 327: /* column_alias */ + case 333: /* star_func */ + case 335: /* noarg_func */ + case 350: /* alias_opt */ { } break; - case 258: /* sysinfo_opt */ + case 259: /* sysinfo_opt */ { } break; - case 259: /* privileges */ - case 261: /* priv_type_list */ - case 262: /* priv_type */ + case 260: /* privileges */ + case 262: /* priv_type_list */ + case 263: /* priv_type */ { } break; - case 265: /* not_exists_opt */ - case 267: /* exists_opt */ - case 314: /* analyze_opt */ - case 316: /* agg_func_opt */ - case 354: /* set_quantifier_opt */ + case 266: /* not_exists_opt */ + case 268: /* exists_opt */ + case 315: /* analyze_opt */ + case 317: /* agg_func_opt */ + case 355: /* set_quantifier_opt */ { } break; - case 269: /* integer_list */ - case 270: /* variable_list */ - case 271: /* retention_list */ - case 275: /* column_def_list */ - case 276: /* tags_def_opt */ - case 278: /* multi_create_clause */ - case 279: /* tags_def */ - case 280: /* multi_drop_clause */ - case 287: /* specific_cols_opt */ - case 288: /* expression_list */ - case 290: /* col_name_list */ - case 293: /* duration_list */ - case 294: /* rollup_func_list */ - case 306: /* func_list */ - case 320: /* dnode_list */ - case 324: /* literal_list */ - case 333: /* star_func_para_list */ - case 335: /* other_para_list */ - case 355: /* select_list */ - case 356: /* partition_by_clause_opt */ - case 361: /* group_by_clause_opt */ - case 365: /* group_by_list */ - case 367: /* order_by_clause_opt */ - case 371: /* sort_specification_list */ + case 270: /* integer_list */ + case 271: /* variable_list */ + case 272: /* retention_list */ + case 276: /* column_def_list */ + case 277: /* tags_def_opt */ + case 279: /* multi_create_clause */ + case 280: /* tags_def */ + case 281: /* multi_drop_clause */ + case 288: /* specific_cols_opt */ + case 289: /* expression_list */ + case 291: /* col_name_list */ + case 294: /* duration_list */ + case 295: /* rollup_func_list */ + case 307: /* func_list */ + case 321: /* dnode_list */ + case 325: /* literal_list */ + case 334: /* star_func_para_list */ + case 336: /* other_para_list */ + case 356: /* select_list */ + case 357: /* partition_by_clause_opt */ + case 362: /* group_by_clause_opt */ + case 366: /* group_by_list */ + case 368: /* order_by_clause_opt */ + case 372: /* sort_specification_list */ { - nodesDestroyList((yypminor->yy424)); + nodesDestroyList((yypminor->yy552)); } break; - case 272: /* alter_db_option */ - case 295: /* alter_table_option */ + case 273: /* alter_db_option */ + case 296: /* alter_table_option */ { } break; - case 284: /* type_name */ + case 285: /* type_name */ { } break; - case 338: /* compare_op */ - case 339: /* in_op */ + case 339: /* compare_op */ + case 340: /* in_op */ { } break; - case 351: /* join_type */ + case 352: /* join_type */ { } break; - case 364: /* fill_mode */ + case 365: /* fill_mode */ { } break; - case 373: /* ordering_specification_opt */ + case 374: /* ordering_specification_opt */ { } break; - case 374: /* null_ordering_opt */ + case 375: /* null_ordering_opt */ { } @@ -2687,490 +2694,491 @@ static const struct { YYCODETYPE lhs; /* Symbol on the left-hand side of the rule */ signed char nrhs; /* Negative of the number of RHS symbols in the rule */ } yyRuleInfo[] = { - { 252, -6 }, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ - { 252, -4 }, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ - { 253, 0 }, /* (2) account_options ::= */ - { 253, -3 }, /* (3) account_options ::= account_options PPS literal */ - { 253, -3 }, /* (4) account_options ::= account_options TSERIES literal */ - { 253, -3 }, /* (5) account_options ::= account_options STORAGE literal */ - { 253, -3 }, /* (6) account_options ::= account_options STREAMS literal */ - { 253, -3 }, /* (7) account_options ::= account_options QTIME literal */ - { 253, -3 }, /* (8) account_options ::= account_options DBS literal */ - { 253, -3 }, /* (9) account_options ::= account_options USERS literal */ - { 253, -3 }, /* (10) account_options ::= account_options CONNS literal */ - { 253, -3 }, /* (11) account_options ::= account_options STATE literal */ - { 254, -1 }, /* (12) alter_account_options ::= alter_account_option */ - { 254, -2 }, /* (13) alter_account_options ::= alter_account_options alter_account_option */ - { 256, -2 }, /* (14) alter_account_option ::= PASS literal */ - { 256, -2 }, /* (15) alter_account_option ::= PPS literal */ - { 256, -2 }, /* (16) alter_account_option ::= TSERIES literal */ - { 256, -2 }, /* (17) alter_account_option ::= STORAGE literal */ - { 256, -2 }, /* (18) alter_account_option ::= STREAMS literal */ - { 256, -2 }, /* (19) alter_account_option ::= QTIME literal */ - { 256, -2 }, /* (20) alter_account_option ::= DBS literal */ - { 256, -2 }, /* (21) alter_account_option ::= USERS literal */ - { 256, -2 }, /* (22) alter_account_option ::= CONNS literal */ - { 256, -2 }, /* (23) alter_account_option ::= STATE literal */ - { 252, -6 }, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ - { 252, -5 }, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ - { 252, -5 }, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ - { 252, -5 }, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ - { 252, -3 }, /* (28) cmd ::= DROP USER user_name */ - { 258, 0 }, /* (29) sysinfo_opt ::= */ - { 258, -2 }, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ - { 252, -6 }, /* (31) cmd ::= GRANT privileges ON priv_level TO user_name */ - { 252, -6 }, /* (32) cmd ::= REVOKE privileges ON priv_level FROM user_name */ - { 259, -1 }, /* (33) privileges ::= ALL */ - { 259, -1 }, /* (34) privileges ::= priv_type_list */ - { 261, -1 }, /* (35) priv_type_list ::= priv_type */ - { 261, -3 }, /* (36) priv_type_list ::= priv_type_list NK_COMMA priv_type */ - { 262, -1 }, /* (37) priv_type ::= READ */ - { 262, -1 }, /* (38) priv_type ::= WRITE */ - { 260, -3 }, /* (39) priv_level ::= NK_STAR NK_DOT NK_STAR */ - { 260, -3 }, /* (40) priv_level ::= db_name NK_DOT NK_STAR */ - { 252, -3 }, /* (41) cmd ::= CREATE DNODE dnode_endpoint */ - { 252, -5 }, /* (42) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ - { 252, -3 }, /* (43) cmd ::= DROP DNODE NK_INTEGER */ - { 252, -3 }, /* (44) cmd ::= DROP DNODE dnode_endpoint */ - { 252, -4 }, /* (45) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ - { 252, -5 }, /* (46) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ - { 252, -4 }, /* (47) cmd ::= ALTER ALL DNODES NK_STRING */ - { 252, -5 }, /* (48) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ - { 264, -1 }, /* (49) dnode_endpoint ::= NK_STRING */ - { 264, -1 }, /* (50) dnode_endpoint ::= NK_ID */ - { 264, -1 }, /* (51) dnode_endpoint ::= NK_IPTOKEN */ - { 252, -3 }, /* (52) cmd ::= ALTER LOCAL NK_STRING */ - { 252, -4 }, /* (53) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ - { 252, -5 }, /* (54) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (55) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (56) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (57) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (58) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (59) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (60) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (61) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ - { 252, -5 }, /* (62) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ - { 252, -4 }, /* (63) cmd ::= DROP DATABASE exists_opt db_name */ - { 252, -2 }, /* (64) cmd ::= USE db_name */ - { 252, -4 }, /* (65) cmd ::= ALTER DATABASE db_name alter_db_options */ - { 265, -3 }, /* (66) not_exists_opt ::= IF NOT EXISTS */ - { 265, 0 }, /* (67) not_exists_opt ::= */ - { 267, -2 }, /* (68) exists_opt ::= IF EXISTS */ - { 267, 0 }, /* (69) exists_opt ::= */ - { 266, 0 }, /* (70) db_options ::= */ - { 266, -3 }, /* (71) db_options ::= db_options BUFFER NK_INTEGER */ - { 266, -3 }, /* (72) db_options ::= db_options CACHELAST NK_INTEGER */ - { 266, -3 }, /* (73) db_options ::= db_options COMP NK_INTEGER */ - { 266, -3 }, /* (74) db_options ::= db_options DURATION NK_INTEGER */ - { 266, -3 }, /* (75) db_options ::= db_options DURATION NK_VARIABLE */ - { 266, -3 }, /* (76) db_options ::= db_options FSYNC NK_INTEGER */ - { 266, -3 }, /* (77) db_options ::= db_options MAXROWS NK_INTEGER */ - { 266, -3 }, /* (78) db_options ::= db_options MINROWS NK_INTEGER */ - { 266, -3 }, /* (79) db_options ::= db_options KEEP integer_list */ - { 266, -3 }, /* (80) db_options ::= db_options KEEP variable_list */ - { 266, -3 }, /* (81) db_options ::= db_options PAGES NK_INTEGER */ - { 266, -3 }, /* (82) db_options ::= db_options PAGESIZE NK_INTEGER */ - { 266, -3 }, /* (83) db_options ::= db_options PRECISION NK_STRING */ - { 266, -3 }, /* (84) db_options ::= db_options REPLICA NK_INTEGER */ - { 266, -3 }, /* (85) db_options ::= db_options STRICT NK_INTEGER */ - { 266, -3 }, /* (86) db_options ::= db_options WAL NK_INTEGER */ - { 266, -3 }, /* (87) db_options ::= db_options VGROUPS NK_INTEGER */ - { 266, -3 }, /* (88) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ - { 266, -3 }, /* (89) db_options ::= db_options RETENTIONS retention_list */ - { 266, -3 }, /* (90) db_options ::= db_options SCHEMALESS NK_INTEGER */ - { 268, -1 }, /* (91) alter_db_options ::= alter_db_option */ - { 268, -2 }, /* (92) alter_db_options ::= alter_db_options alter_db_option */ - { 272, -2 }, /* (93) alter_db_option ::= BUFFER NK_INTEGER */ - { 272, -2 }, /* (94) alter_db_option ::= CACHELAST NK_INTEGER */ - { 272, -2 }, /* (95) alter_db_option ::= FSYNC NK_INTEGER */ - { 272, -2 }, /* (96) alter_db_option ::= KEEP integer_list */ - { 272, -2 }, /* (97) alter_db_option ::= KEEP variable_list */ - { 272, -2 }, /* (98) alter_db_option ::= PAGES NK_INTEGER */ - { 272, -2 }, /* (99) alter_db_option ::= REPLICA NK_INTEGER */ - { 272, -2 }, /* (100) alter_db_option ::= STRICT NK_INTEGER */ - { 272, -2 }, /* (101) alter_db_option ::= WAL NK_INTEGER */ - { 269, -1 }, /* (102) integer_list ::= NK_INTEGER */ - { 269, -3 }, /* (103) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - { 270, -1 }, /* (104) variable_list ::= NK_VARIABLE */ - { 270, -3 }, /* (105) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - { 271, -1 }, /* (106) retention_list ::= retention */ - { 271, -3 }, /* (107) retention_list ::= retention_list NK_COMMA retention */ - { 273, -3 }, /* (108) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - { 252, -9 }, /* (109) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - { 252, -3 }, /* (110) cmd ::= CREATE TABLE multi_create_clause */ - { 252, -9 }, /* (111) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - { 252, -3 }, /* (112) cmd ::= DROP TABLE multi_drop_clause */ - { 252, -4 }, /* (113) cmd ::= DROP STABLE exists_opt full_table_name */ - { 252, -3 }, /* (114) cmd ::= ALTER TABLE alter_table_clause */ - { 252, -3 }, /* (115) cmd ::= ALTER STABLE alter_table_clause */ - { 281, -2 }, /* (116) alter_table_clause ::= full_table_name alter_table_options */ - { 281, -5 }, /* (117) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - { 281, -4 }, /* (118) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - { 281, -5 }, /* (119) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - { 281, -5 }, /* (120) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - { 281, -5 }, /* (121) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - { 281, -4 }, /* (122) alter_table_clause ::= full_table_name DROP TAG column_name */ - { 281, -5 }, /* (123) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - { 281, -5 }, /* (124) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - { 281, -6 }, /* (125) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - { 278, -1 }, /* (126) multi_create_clause ::= create_subtable_clause */ - { 278, -2 }, /* (127) multi_create_clause ::= multi_create_clause create_subtable_clause */ - { 286, -10 }, /* (128) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ - { 280, -1 }, /* (129) multi_drop_clause ::= drop_table_clause */ - { 280, -2 }, /* (130) multi_drop_clause ::= multi_drop_clause drop_table_clause */ - { 289, -2 }, /* (131) drop_table_clause ::= exists_opt full_table_name */ - { 287, 0 }, /* (132) specific_cols_opt ::= */ - { 287, -3 }, /* (133) specific_cols_opt ::= NK_LP col_name_list NK_RP */ - { 274, -1 }, /* (134) full_table_name ::= table_name */ - { 274, -3 }, /* (135) full_table_name ::= db_name NK_DOT table_name */ - { 275, -1 }, /* (136) column_def_list ::= column_def */ - { 275, -3 }, /* (137) column_def_list ::= column_def_list NK_COMMA column_def */ - { 292, -2 }, /* (138) column_def ::= column_name type_name */ - { 292, -4 }, /* (139) column_def ::= column_name type_name COMMENT NK_STRING */ - { 284, -1 }, /* (140) type_name ::= BOOL */ - { 284, -1 }, /* (141) type_name ::= TINYINT */ - { 284, -1 }, /* (142) type_name ::= SMALLINT */ - { 284, -1 }, /* (143) type_name ::= INT */ - { 284, -1 }, /* (144) type_name ::= INTEGER */ - { 284, -1 }, /* (145) type_name ::= BIGINT */ - { 284, -1 }, /* (146) type_name ::= FLOAT */ - { 284, -1 }, /* (147) type_name ::= DOUBLE */ - { 284, -4 }, /* (148) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - { 284, -1 }, /* (149) type_name ::= TIMESTAMP */ - { 284, -4 }, /* (150) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - { 284, -2 }, /* (151) type_name ::= TINYINT UNSIGNED */ - { 284, -2 }, /* (152) type_name ::= SMALLINT UNSIGNED */ - { 284, -2 }, /* (153) type_name ::= INT UNSIGNED */ - { 284, -2 }, /* (154) type_name ::= BIGINT UNSIGNED */ - { 284, -1 }, /* (155) type_name ::= JSON */ - { 284, -4 }, /* (156) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - { 284, -1 }, /* (157) type_name ::= MEDIUMBLOB */ - { 284, -1 }, /* (158) type_name ::= BLOB */ - { 284, -4 }, /* (159) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - { 284, -1 }, /* (160) type_name ::= DECIMAL */ - { 284, -4 }, /* (161) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - { 284, -6 }, /* (162) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - { 276, 0 }, /* (163) tags_def_opt ::= */ - { 276, -1 }, /* (164) tags_def_opt ::= tags_def */ - { 279, -4 }, /* (165) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - { 277, 0 }, /* (166) table_options ::= */ - { 277, -3 }, /* (167) table_options ::= table_options COMMENT NK_STRING */ - { 277, -3 }, /* (168) table_options ::= table_options MAX_DELAY duration_list */ - { 277, -3 }, /* (169) table_options ::= table_options WATERMARK duration_list */ - { 277, -5 }, /* (170) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - { 277, -3 }, /* (171) table_options ::= table_options TTL NK_INTEGER */ - { 277, -5 }, /* (172) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - { 282, -1 }, /* (173) alter_table_options ::= alter_table_option */ - { 282, -2 }, /* (174) alter_table_options ::= alter_table_options alter_table_option */ - { 295, -2 }, /* (175) alter_table_option ::= COMMENT NK_STRING */ - { 295, -2 }, /* (176) alter_table_option ::= TTL NK_INTEGER */ - { 293, -1 }, /* (177) duration_list ::= duration_literal */ - { 293, -3 }, /* (178) duration_list ::= duration_list NK_COMMA duration_literal */ - { 294, -1 }, /* (179) rollup_func_list ::= rollup_func_name */ - { 294, -3 }, /* (180) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - { 297, -1 }, /* (181) rollup_func_name ::= function_name */ - { 297, -1 }, /* (182) rollup_func_name ::= FIRST */ - { 297, -1 }, /* (183) rollup_func_name ::= LAST */ - { 290, -1 }, /* (184) col_name_list ::= col_name */ - { 290, -3 }, /* (185) col_name_list ::= col_name_list NK_COMMA col_name */ - { 299, -1 }, /* (186) col_name ::= column_name */ - { 252, -2 }, /* (187) cmd ::= SHOW DNODES */ - { 252, -2 }, /* (188) cmd ::= SHOW USERS */ - { 252, -2 }, /* (189) cmd ::= SHOW DATABASES */ - { 252, -4 }, /* (190) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - { 252, -4 }, /* (191) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - { 252, -3 }, /* (192) cmd ::= SHOW db_name_cond_opt VGROUPS */ - { 252, -2 }, /* (193) cmd ::= SHOW MNODES */ - { 252, -2 }, /* (194) cmd ::= SHOW MODULES */ - { 252, -2 }, /* (195) cmd ::= SHOW QNODES */ - { 252, -2 }, /* (196) cmd ::= SHOW FUNCTIONS */ - { 252, -5 }, /* (197) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - { 252, -2 }, /* (198) cmd ::= SHOW STREAMS */ - { 252, -2 }, /* (199) cmd ::= SHOW ACCOUNTS */ - { 252, -2 }, /* (200) cmd ::= SHOW APPS */ - { 252, -2 }, /* (201) cmd ::= SHOW CONNECTIONS */ - { 252, -2 }, /* (202) cmd ::= SHOW LICENCE */ - { 252, -2 }, /* (203) cmd ::= SHOW GRANTS */ - { 252, -4 }, /* (204) cmd ::= SHOW CREATE DATABASE db_name */ - { 252, -4 }, /* (205) cmd ::= SHOW CREATE TABLE full_table_name */ - { 252, -4 }, /* (206) cmd ::= SHOW CREATE STABLE full_table_name */ - { 252, -2 }, /* (207) cmd ::= SHOW QUERIES */ - { 252, -2 }, /* (208) cmd ::= SHOW SCORES */ - { 252, -2 }, /* (209) cmd ::= SHOW TOPICS */ - { 252, -2 }, /* (210) cmd ::= SHOW VARIABLES */ - { 252, -3 }, /* (211) cmd ::= SHOW LOCAL VARIABLES */ - { 252, -4 }, /* (212) cmd ::= SHOW DNODE NK_INTEGER VARIABLES */ - { 252, -2 }, /* (213) cmd ::= SHOW BNODES */ - { 252, -2 }, /* (214) cmd ::= SHOW SNODES */ - { 252, -2 }, /* (215) cmd ::= SHOW CLUSTER */ - { 252, -2 }, /* (216) cmd ::= SHOW TRANSACTIONS */ - { 252, -4 }, /* (217) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - { 252, -2 }, /* (218) cmd ::= SHOW CONSUMERS */ - { 252, -2 }, /* (219) cmd ::= SHOW SUBSCRIPTIONS */ - { 300, 0 }, /* (220) db_name_cond_opt ::= */ - { 300, -2 }, /* (221) db_name_cond_opt ::= db_name NK_DOT */ - { 301, 0 }, /* (222) like_pattern_opt ::= */ - { 301, -2 }, /* (223) like_pattern_opt ::= LIKE NK_STRING */ - { 302, -1 }, /* (224) table_name_cond ::= table_name */ - { 303, 0 }, /* (225) from_db_opt ::= */ - { 303, -2 }, /* (226) from_db_opt ::= FROM db_name */ - { 252, -8 }, /* (227) cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options */ - { 252, -4 }, /* (228) cmd ::= DROP INDEX exists_opt index_name */ - { 305, -10 }, /* (229) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - { 305, -12 }, /* (230) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ - { 306, -1 }, /* (231) func_list ::= func */ - { 306, -3 }, /* (232) func_list ::= func_list NK_COMMA func */ - { 309, -4 }, /* (233) func ::= function_name NK_LP expression_list NK_RP */ - { 308, 0 }, /* (234) sma_stream_opt ::= */ - { 308, -3 }, /* (235) sma_stream_opt ::= stream_options WATERMARK duration_literal */ - { 308, -3 }, /* (236) sma_stream_opt ::= stream_options MAX_DELAY duration_literal */ - { 252, -6 }, /* (237) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression */ - { 252, -7 }, /* (238) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ - { 252, -9 }, /* (239) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ - { 252, -7 }, /* (240) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ - { 252, -9 }, /* (241) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ - { 252, -4 }, /* (242) cmd ::= DROP TOPIC exists_opt topic_name */ - { 252, -7 }, /* (243) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - { 252, -2 }, /* (244) cmd ::= DESC full_table_name */ - { 252, -2 }, /* (245) cmd ::= DESCRIBE full_table_name */ - { 252, -3 }, /* (246) cmd ::= RESET QUERY CACHE */ - { 252, -4 }, /* (247) cmd ::= EXPLAIN analyze_opt explain_options query_expression */ - { 314, 0 }, /* (248) analyze_opt ::= */ - { 314, -1 }, /* (249) analyze_opt ::= ANALYZE */ - { 315, 0 }, /* (250) explain_options ::= */ - { 315, -3 }, /* (251) explain_options ::= explain_options VERBOSE NK_BOOL */ - { 315, -3 }, /* (252) explain_options ::= explain_options RATIO NK_FLOAT */ - { 252, -6 }, /* (253) cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP */ - { 252, -10 }, /* (254) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ - { 252, -4 }, /* (255) cmd ::= DROP FUNCTION exists_opt function_name */ - { 316, 0 }, /* (256) agg_func_opt ::= */ - { 316, -1 }, /* (257) agg_func_opt ::= AGGREGATE */ - { 317, 0 }, /* (258) bufsize_opt ::= */ - { 317, -2 }, /* (259) bufsize_opt ::= BUFSIZE NK_INTEGER */ - { 252, -8 }, /* (260) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression */ - { 252, -4 }, /* (261) cmd ::= DROP STREAM exists_opt stream_name */ - { 319, 0 }, /* (262) into_opt ::= */ - { 319, -2 }, /* (263) into_opt ::= INTO full_table_name */ - { 310, 0 }, /* (264) stream_options ::= */ - { 310, -3 }, /* (265) stream_options ::= stream_options TRIGGER AT_ONCE */ - { 310, -3 }, /* (266) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - { 310, -4 }, /* (267) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - { 310, -3 }, /* (268) stream_options ::= stream_options WATERMARK duration_literal */ - { 310, -3 }, /* (269) stream_options ::= stream_options IGNORE EXPIRED */ - { 252, -3 }, /* (270) cmd ::= KILL CONNECTION NK_INTEGER */ - { 252, -3 }, /* (271) cmd ::= KILL QUERY NK_STRING */ - { 252, -3 }, /* (272) cmd ::= KILL TRANSACTION NK_INTEGER */ - { 252, -2 }, /* (273) cmd ::= BALANCE VGROUP */ - { 252, -4 }, /* (274) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - { 252, -4 }, /* (275) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - { 252, -3 }, /* (276) cmd ::= SPLIT VGROUP NK_INTEGER */ - { 320, -2 }, /* (277) dnode_list ::= DNODE NK_INTEGER */ - { 320, -3 }, /* (278) dnode_list ::= dnode_list DNODE NK_INTEGER */ - { 252, -3 }, /* (279) cmd ::= SYNCDB db_name REPLICA */ - { 252, -4 }, /* (280) cmd ::= DELETE FROM full_table_name where_clause_opt */ - { 252, -1 }, /* (281) cmd ::= query_expression */ - { 252, -5 }, /* (282) cmd ::= INSERT INTO full_table_name specific_cols_opt query_expression */ - { 255, -1 }, /* (283) literal ::= NK_INTEGER */ - { 255, -1 }, /* (284) literal ::= NK_FLOAT */ - { 255, -1 }, /* (285) literal ::= NK_STRING */ - { 255, -1 }, /* (286) literal ::= NK_BOOL */ - { 255, -2 }, /* (287) literal ::= TIMESTAMP NK_STRING */ - { 255, -1 }, /* (288) literal ::= duration_literal */ - { 255, -1 }, /* (289) literal ::= NULL */ - { 255, -1 }, /* (290) literal ::= NK_QUESTION */ - { 296, -1 }, /* (291) duration_literal ::= NK_VARIABLE */ - { 322, -1 }, /* (292) signed ::= NK_INTEGER */ - { 322, -2 }, /* (293) signed ::= NK_PLUS NK_INTEGER */ - { 322, -2 }, /* (294) signed ::= NK_MINUS NK_INTEGER */ - { 322, -1 }, /* (295) signed ::= NK_FLOAT */ - { 322, -2 }, /* (296) signed ::= NK_PLUS NK_FLOAT */ - { 322, -2 }, /* (297) signed ::= NK_MINUS NK_FLOAT */ - { 285, -1 }, /* (298) signed_literal ::= signed */ - { 285, -1 }, /* (299) signed_literal ::= NK_STRING */ - { 285, -1 }, /* (300) signed_literal ::= NK_BOOL */ - { 285, -2 }, /* (301) signed_literal ::= TIMESTAMP NK_STRING */ - { 285, -1 }, /* (302) signed_literal ::= duration_literal */ - { 285, -1 }, /* (303) signed_literal ::= NULL */ - { 285, -1 }, /* (304) signed_literal ::= literal_func */ - { 324, -1 }, /* (305) literal_list ::= signed_literal */ - { 324, -3 }, /* (306) literal_list ::= literal_list NK_COMMA signed_literal */ - { 263, -1 }, /* (307) db_name ::= NK_ID */ - { 291, -1 }, /* (308) table_name ::= NK_ID */ - { 283, -1 }, /* (309) column_name ::= NK_ID */ - { 298, -1 }, /* (310) function_name ::= NK_ID */ - { 325, -1 }, /* (311) table_alias ::= NK_ID */ - { 326, -1 }, /* (312) column_alias ::= NK_ID */ - { 257, -1 }, /* (313) user_name ::= NK_ID */ - { 304, -1 }, /* (314) index_name ::= NK_ID */ - { 311, -1 }, /* (315) topic_name ::= NK_ID */ - { 318, -1 }, /* (316) stream_name ::= NK_ID */ - { 313, -1 }, /* (317) cgroup_name ::= NK_ID */ - { 327, -1 }, /* (318) expression ::= literal */ - { 327, -1 }, /* (319) expression ::= pseudo_column */ - { 327, -1 }, /* (320) expression ::= column_reference */ - { 327, -1 }, /* (321) expression ::= function_expression */ - { 327, -1 }, /* (322) expression ::= subquery */ - { 327, -3 }, /* (323) expression ::= NK_LP expression NK_RP */ - { 327, -2 }, /* (324) expression ::= NK_PLUS expression */ - { 327, -2 }, /* (325) expression ::= NK_MINUS expression */ - { 327, -3 }, /* (326) expression ::= expression NK_PLUS expression */ - { 327, -3 }, /* (327) expression ::= expression NK_MINUS expression */ - { 327, -3 }, /* (328) expression ::= expression NK_STAR expression */ - { 327, -3 }, /* (329) expression ::= expression NK_SLASH expression */ - { 327, -3 }, /* (330) expression ::= expression NK_REM expression */ - { 327, -3 }, /* (331) expression ::= column_reference NK_ARROW NK_STRING */ - { 327, -3 }, /* (332) expression ::= expression NK_BITAND expression */ - { 327, -3 }, /* (333) expression ::= expression NK_BITOR expression */ - { 288, -1 }, /* (334) expression_list ::= expression */ - { 288, -3 }, /* (335) expression_list ::= expression_list NK_COMMA expression */ - { 329, -1 }, /* (336) column_reference ::= column_name */ - { 329, -3 }, /* (337) column_reference ::= table_name NK_DOT column_name */ - { 328, -1 }, /* (338) pseudo_column ::= ROWTS */ - { 328, -1 }, /* (339) pseudo_column ::= TBNAME */ - { 328, -3 }, /* (340) pseudo_column ::= table_name NK_DOT TBNAME */ - { 328, -1 }, /* (341) pseudo_column ::= QSTARTTS */ - { 328, -1 }, /* (342) pseudo_column ::= QENDTS */ - { 328, -1 }, /* (343) pseudo_column ::= WSTARTTS */ - { 328, -1 }, /* (344) pseudo_column ::= WENDTS */ - { 328, -1 }, /* (345) pseudo_column ::= WDURATION */ - { 330, -4 }, /* (346) function_expression ::= function_name NK_LP expression_list NK_RP */ - { 330, -4 }, /* (347) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - { 330, -6 }, /* (348) function_expression ::= CAST NK_LP expression AS type_name NK_RP */ - { 330, -1 }, /* (349) function_expression ::= literal_func */ - { 323, -3 }, /* (350) literal_func ::= noarg_func NK_LP NK_RP */ - { 323, -1 }, /* (351) literal_func ::= NOW */ - { 334, -1 }, /* (352) noarg_func ::= NOW */ - { 334, -1 }, /* (353) noarg_func ::= TODAY */ - { 334, -1 }, /* (354) noarg_func ::= TIMEZONE */ - { 334, -1 }, /* (355) noarg_func ::= DATABASE */ - { 334, -1 }, /* (356) noarg_func ::= CLIENT_VERSION */ - { 334, -1 }, /* (357) noarg_func ::= SERVER_VERSION */ - { 334, -1 }, /* (358) noarg_func ::= SERVER_STATUS */ - { 334, -1 }, /* (359) noarg_func ::= CURRENT_USER */ - { 334, -1 }, /* (360) noarg_func ::= USER */ - { 332, -1 }, /* (361) star_func ::= COUNT */ - { 332, -1 }, /* (362) star_func ::= FIRST */ - { 332, -1 }, /* (363) star_func ::= LAST */ - { 332, -1 }, /* (364) star_func ::= LAST_ROW */ - { 333, -1 }, /* (365) star_func_para_list ::= NK_STAR */ - { 333, -1 }, /* (366) star_func_para_list ::= other_para_list */ - { 335, -1 }, /* (367) other_para_list ::= star_func_para */ - { 335, -3 }, /* (368) other_para_list ::= other_para_list NK_COMMA star_func_para */ - { 336, -1 }, /* (369) star_func_para ::= expression */ - { 336, -3 }, /* (370) star_func_para ::= table_name NK_DOT NK_STAR */ - { 337, -3 }, /* (371) predicate ::= expression compare_op expression */ - { 337, -5 }, /* (372) predicate ::= expression BETWEEN expression AND expression */ - { 337, -6 }, /* (373) predicate ::= expression NOT BETWEEN expression AND expression */ - { 337, -3 }, /* (374) predicate ::= expression IS NULL */ - { 337, -4 }, /* (375) predicate ::= expression IS NOT NULL */ - { 337, -3 }, /* (376) predicate ::= expression in_op in_predicate_value */ - { 338, -1 }, /* (377) compare_op ::= NK_LT */ - { 338, -1 }, /* (378) compare_op ::= NK_GT */ - { 338, -1 }, /* (379) compare_op ::= NK_LE */ - { 338, -1 }, /* (380) compare_op ::= NK_GE */ - { 338, -1 }, /* (381) compare_op ::= NK_NE */ - { 338, -1 }, /* (382) compare_op ::= NK_EQ */ - { 338, -1 }, /* (383) compare_op ::= LIKE */ - { 338, -2 }, /* (384) compare_op ::= NOT LIKE */ - { 338, -1 }, /* (385) compare_op ::= MATCH */ - { 338, -1 }, /* (386) compare_op ::= NMATCH */ - { 338, -1 }, /* (387) compare_op ::= CONTAINS */ - { 339, -1 }, /* (388) in_op ::= IN */ - { 339, -2 }, /* (389) in_op ::= NOT IN */ - { 340, -3 }, /* (390) in_predicate_value ::= NK_LP expression_list NK_RP */ - { 341, -1 }, /* (391) boolean_value_expression ::= boolean_primary */ - { 341, -2 }, /* (392) boolean_value_expression ::= NOT boolean_primary */ - { 341, -3 }, /* (393) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - { 341, -3 }, /* (394) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - { 342, -1 }, /* (395) boolean_primary ::= predicate */ - { 342, -3 }, /* (396) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - { 343, -1 }, /* (397) common_expression ::= expression */ - { 343, -1 }, /* (398) common_expression ::= boolean_value_expression */ - { 344, 0 }, /* (399) from_clause_opt ::= */ - { 344, -2 }, /* (400) from_clause_opt ::= FROM table_reference_list */ - { 345, -1 }, /* (401) table_reference_list ::= table_reference */ - { 345, -3 }, /* (402) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - { 346, -1 }, /* (403) table_reference ::= table_primary */ - { 346, -1 }, /* (404) table_reference ::= joined_table */ - { 347, -2 }, /* (405) table_primary ::= table_name alias_opt */ - { 347, -4 }, /* (406) table_primary ::= db_name NK_DOT table_name alias_opt */ - { 347, -2 }, /* (407) table_primary ::= subquery alias_opt */ - { 347, -1 }, /* (408) table_primary ::= parenthesized_joined_table */ - { 349, 0 }, /* (409) alias_opt ::= */ - { 349, -1 }, /* (410) alias_opt ::= table_alias */ - { 349, -2 }, /* (411) alias_opt ::= AS table_alias */ - { 350, -3 }, /* (412) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - { 350, -3 }, /* (413) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - { 348, -6 }, /* (414) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - { 351, 0 }, /* (415) join_type ::= */ - { 351, -1 }, /* (416) join_type ::= INNER */ - { 353, -12 }, /* (417) query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ - { 354, 0 }, /* (418) set_quantifier_opt ::= */ - { 354, -1 }, /* (419) set_quantifier_opt ::= DISTINCT */ - { 354, -1 }, /* (420) set_quantifier_opt ::= ALL */ - { 355, -1 }, /* (421) select_list ::= select_item */ - { 355, -3 }, /* (422) select_list ::= select_list NK_COMMA select_item */ - { 363, -1 }, /* (423) select_item ::= NK_STAR */ - { 363, -1 }, /* (424) select_item ::= common_expression */ - { 363, -2 }, /* (425) select_item ::= common_expression column_alias */ - { 363, -3 }, /* (426) select_item ::= common_expression AS column_alias */ - { 363, -3 }, /* (427) select_item ::= table_name NK_DOT NK_STAR */ - { 321, 0 }, /* (428) where_clause_opt ::= */ - { 321, -2 }, /* (429) where_clause_opt ::= WHERE search_condition */ - { 356, 0 }, /* (430) partition_by_clause_opt ::= */ - { 356, -3 }, /* (431) partition_by_clause_opt ::= PARTITION BY expression_list */ - { 360, 0 }, /* (432) twindow_clause_opt ::= */ - { 360, -6 }, /* (433) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - { 360, -4 }, /* (434) twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ - { 360, -6 }, /* (435) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - { 360, -8 }, /* (436) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - { 307, 0 }, /* (437) sliding_opt ::= */ - { 307, -4 }, /* (438) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - { 359, 0 }, /* (439) fill_opt ::= */ - { 359, -4 }, /* (440) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - { 359, -6 }, /* (441) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ - { 364, -1 }, /* (442) fill_mode ::= NONE */ - { 364, -1 }, /* (443) fill_mode ::= PREV */ - { 364, -1 }, /* (444) fill_mode ::= NULL */ - { 364, -1 }, /* (445) fill_mode ::= LINEAR */ - { 364, -1 }, /* (446) fill_mode ::= NEXT */ - { 361, 0 }, /* (447) group_by_clause_opt ::= */ - { 361, -3 }, /* (448) group_by_clause_opt ::= GROUP BY group_by_list */ - { 365, -1 }, /* (449) group_by_list ::= expression */ - { 365, -3 }, /* (450) group_by_list ::= group_by_list NK_COMMA expression */ - { 362, 0 }, /* (451) having_clause_opt ::= */ - { 362, -2 }, /* (452) having_clause_opt ::= HAVING search_condition */ - { 357, 0 }, /* (453) range_opt ::= */ - { 357, -6 }, /* (454) range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ - { 358, 0 }, /* (455) every_opt ::= */ - { 358, -4 }, /* (456) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - { 312, -4 }, /* (457) query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ - { 366, -1 }, /* (458) query_expression_body ::= query_primary */ - { 366, -4 }, /* (459) query_expression_body ::= query_expression_body UNION ALL query_expression_body */ - { 366, -3 }, /* (460) query_expression_body ::= query_expression_body UNION query_expression_body */ - { 370, -1 }, /* (461) query_primary ::= query_specification */ - { 370, -6 }, /* (462) query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ - { 367, 0 }, /* (463) order_by_clause_opt ::= */ - { 367, -3 }, /* (464) order_by_clause_opt ::= ORDER BY sort_specification_list */ - { 368, 0 }, /* (465) slimit_clause_opt ::= */ - { 368, -2 }, /* (466) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - { 368, -4 }, /* (467) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - { 368, -4 }, /* (468) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 369, 0 }, /* (469) limit_clause_opt ::= */ - { 369, -2 }, /* (470) limit_clause_opt ::= LIMIT NK_INTEGER */ - { 369, -4 }, /* (471) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - { 369, -4 }, /* (472) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 331, -3 }, /* (473) subquery ::= NK_LP query_expression NK_RP */ - { 352, -1 }, /* (474) search_condition ::= common_expression */ - { 371, -1 }, /* (475) sort_specification_list ::= sort_specification */ - { 371, -3 }, /* (476) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - { 372, -3 }, /* (477) sort_specification ::= expression ordering_specification_opt null_ordering_opt */ - { 373, 0 }, /* (478) ordering_specification_opt ::= */ - { 373, -1 }, /* (479) ordering_specification_opt ::= ASC */ - { 373, -1 }, /* (480) ordering_specification_opt ::= DESC */ - { 374, 0 }, /* (481) null_ordering_opt ::= */ - { 374, -2 }, /* (482) null_ordering_opt ::= NULLS FIRST */ - { 374, -2 }, /* (483) null_ordering_opt ::= NULLS LAST */ + { 253, -6 }, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ + { 253, -4 }, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ + { 254, 0 }, /* (2) account_options ::= */ + { 254, -3 }, /* (3) account_options ::= account_options PPS literal */ + { 254, -3 }, /* (4) account_options ::= account_options TSERIES literal */ + { 254, -3 }, /* (5) account_options ::= account_options STORAGE literal */ + { 254, -3 }, /* (6) account_options ::= account_options STREAMS literal */ + { 254, -3 }, /* (7) account_options ::= account_options QTIME literal */ + { 254, -3 }, /* (8) account_options ::= account_options DBS literal */ + { 254, -3 }, /* (9) account_options ::= account_options USERS literal */ + { 254, -3 }, /* (10) account_options ::= account_options CONNS literal */ + { 254, -3 }, /* (11) account_options ::= account_options STATE literal */ + { 255, -1 }, /* (12) alter_account_options ::= alter_account_option */ + { 255, -2 }, /* (13) alter_account_options ::= alter_account_options alter_account_option */ + { 257, -2 }, /* (14) alter_account_option ::= PASS literal */ + { 257, -2 }, /* (15) alter_account_option ::= PPS literal */ + { 257, -2 }, /* (16) alter_account_option ::= TSERIES literal */ + { 257, -2 }, /* (17) alter_account_option ::= STORAGE literal */ + { 257, -2 }, /* (18) alter_account_option ::= STREAMS literal */ + { 257, -2 }, /* (19) alter_account_option ::= QTIME literal */ + { 257, -2 }, /* (20) alter_account_option ::= DBS literal */ + { 257, -2 }, /* (21) alter_account_option ::= USERS literal */ + { 257, -2 }, /* (22) alter_account_option ::= CONNS literal */ + { 257, -2 }, /* (23) alter_account_option ::= STATE literal */ + { 253, -6 }, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ + { 253, -5 }, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ + { 253, -5 }, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ + { 253, -5 }, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ + { 253, -3 }, /* (28) cmd ::= DROP USER user_name */ + { 259, 0 }, /* (29) sysinfo_opt ::= */ + { 259, -2 }, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ + { 253, -6 }, /* (31) cmd ::= GRANT privileges ON priv_level TO user_name */ + { 253, -6 }, /* (32) cmd ::= REVOKE privileges ON priv_level FROM user_name */ + { 260, -1 }, /* (33) privileges ::= ALL */ + { 260, -1 }, /* (34) privileges ::= priv_type_list */ + { 262, -1 }, /* (35) priv_type_list ::= priv_type */ + { 262, -3 }, /* (36) priv_type_list ::= priv_type_list NK_COMMA priv_type */ + { 263, -1 }, /* (37) priv_type ::= READ */ + { 263, -1 }, /* (38) priv_type ::= WRITE */ + { 261, -3 }, /* (39) priv_level ::= NK_STAR NK_DOT NK_STAR */ + { 261, -3 }, /* (40) priv_level ::= db_name NK_DOT NK_STAR */ + { 253, -3 }, /* (41) cmd ::= CREATE DNODE dnode_endpoint */ + { 253, -5 }, /* (42) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ + { 253, -3 }, /* (43) cmd ::= DROP DNODE NK_INTEGER */ + { 253, -3 }, /* (44) cmd ::= DROP DNODE dnode_endpoint */ + { 253, -4 }, /* (45) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ + { 253, -5 }, /* (46) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ + { 253, -4 }, /* (47) cmd ::= ALTER ALL DNODES NK_STRING */ + { 253, -5 }, /* (48) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ + { 265, -1 }, /* (49) dnode_endpoint ::= NK_STRING */ + { 265, -1 }, /* (50) dnode_endpoint ::= NK_ID */ + { 265, -1 }, /* (51) dnode_endpoint ::= NK_IPTOKEN */ + { 253, -3 }, /* (52) cmd ::= ALTER LOCAL NK_STRING */ + { 253, -4 }, /* (53) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ + { 253, -5 }, /* (54) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (55) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (56) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (57) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (58) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (59) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (60) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (61) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ + { 253, -5 }, /* (62) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ + { 253, -4 }, /* (63) cmd ::= DROP DATABASE exists_opt db_name */ + { 253, -2 }, /* (64) cmd ::= USE db_name */ + { 253, -4 }, /* (65) cmd ::= ALTER DATABASE db_name alter_db_options */ + { 253, -3 }, /* (66) cmd ::= FLUSH DATABASE db_name */ + { 266, -3 }, /* (67) not_exists_opt ::= IF NOT EXISTS */ + { 266, 0 }, /* (68) not_exists_opt ::= */ + { 268, -2 }, /* (69) exists_opt ::= IF EXISTS */ + { 268, 0 }, /* (70) exists_opt ::= */ + { 267, 0 }, /* (71) db_options ::= */ + { 267, -3 }, /* (72) db_options ::= db_options BUFFER NK_INTEGER */ + { 267, -3 }, /* (73) db_options ::= db_options CACHELAST NK_INTEGER */ + { 267, -3 }, /* (74) db_options ::= db_options COMP NK_INTEGER */ + { 267, -3 }, /* (75) db_options ::= db_options DURATION NK_INTEGER */ + { 267, -3 }, /* (76) db_options ::= db_options DURATION NK_VARIABLE */ + { 267, -3 }, /* (77) db_options ::= db_options FSYNC NK_INTEGER */ + { 267, -3 }, /* (78) db_options ::= db_options MAXROWS NK_INTEGER */ + { 267, -3 }, /* (79) db_options ::= db_options MINROWS NK_INTEGER */ + { 267, -3 }, /* (80) db_options ::= db_options KEEP integer_list */ + { 267, -3 }, /* (81) db_options ::= db_options KEEP variable_list */ + { 267, -3 }, /* (82) db_options ::= db_options PAGES NK_INTEGER */ + { 267, -3 }, /* (83) db_options ::= db_options PAGESIZE NK_INTEGER */ + { 267, -3 }, /* (84) db_options ::= db_options PRECISION NK_STRING */ + { 267, -3 }, /* (85) db_options ::= db_options REPLICA NK_INTEGER */ + { 267, -3 }, /* (86) db_options ::= db_options STRICT NK_INTEGER */ + { 267, -3 }, /* (87) db_options ::= db_options WAL NK_INTEGER */ + { 267, -3 }, /* (88) db_options ::= db_options VGROUPS NK_INTEGER */ + { 267, -3 }, /* (89) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ + { 267, -3 }, /* (90) db_options ::= db_options RETENTIONS retention_list */ + { 267, -3 }, /* (91) db_options ::= db_options SCHEMALESS NK_INTEGER */ + { 269, -1 }, /* (92) alter_db_options ::= alter_db_option */ + { 269, -2 }, /* (93) alter_db_options ::= alter_db_options alter_db_option */ + { 273, -2 }, /* (94) alter_db_option ::= BUFFER NK_INTEGER */ + { 273, -2 }, /* (95) alter_db_option ::= CACHELAST NK_INTEGER */ + { 273, -2 }, /* (96) alter_db_option ::= FSYNC NK_INTEGER */ + { 273, -2 }, /* (97) alter_db_option ::= KEEP integer_list */ + { 273, -2 }, /* (98) alter_db_option ::= KEEP variable_list */ + { 273, -2 }, /* (99) alter_db_option ::= PAGES NK_INTEGER */ + { 273, -2 }, /* (100) alter_db_option ::= REPLICA NK_INTEGER */ + { 273, -2 }, /* (101) alter_db_option ::= STRICT NK_INTEGER */ + { 273, -2 }, /* (102) alter_db_option ::= WAL NK_INTEGER */ + { 270, -1 }, /* (103) integer_list ::= NK_INTEGER */ + { 270, -3 }, /* (104) integer_list ::= integer_list NK_COMMA NK_INTEGER */ + { 271, -1 }, /* (105) variable_list ::= NK_VARIABLE */ + { 271, -3 }, /* (106) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + { 272, -1 }, /* (107) retention_list ::= retention */ + { 272, -3 }, /* (108) retention_list ::= retention_list NK_COMMA retention */ + { 274, -3 }, /* (109) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + { 253, -9 }, /* (110) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + { 253, -3 }, /* (111) cmd ::= CREATE TABLE multi_create_clause */ + { 253, -9 }, /* (112) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ + { 253, -3 }, /* (113) cmd ::= DROP TABLE multi_drop_clause */ + { 253, -4 }, /* (114) cmd ::= DROP STABLE exists_opt full_table_name */ + { 253, -3 }, /* (115) cmd ::= ALTER TABLE alter_table_clause */ + { 253, -3 }, /* (116) cmd ::= ALTER STABLE alter_table_clause */ + { 282, -2 }, /* (117) alter_table_clause ::= full_table_name alter_table_options */ + { 282, -5 }, /* (118) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + { 282, -4 }, /* (119) alter_table_clause ::= full_table_name DROP COLUMN column_name */ + { 282, -5 }, /* (120) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + { 282, -5 }, /* (121) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + { 282, -5 }, /* (122) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + { 282, -4 }, /* (123) alter_table_clause ::= full_table_name DROP TAG column_name */ + { 282, -5 }, /* (124) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + { 282, -5 }, /* (125) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + { 282, -6 }, /* (126) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + { 279, -1 }, /* (127) multi_create_clause ::= create_subtable_clause */ + { 279, -2 }, /* (128) multi_create_clause ::= multi_create_clause create_subtable_clause */ + { 287, -10 }, /* (129) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ + { 281, -1 }, /* (130) multi_drop_clause ::= drop_table_clause */ + { 281, -2 }, /* (131) multi_drop_clause ::= multi_drop_clause drop_table_clause */ + { 290, -2 }, /* (132) drop_table_clause ::= exists_opt full_table_name */ + { 288, 0 }, /* (133) specific_cols_opt ::= */ + { 288, -3 }, /* (134) specific_cols_opt ::= NK_LP col_name_list NK_RP */ + { 275, -1 }, /* (135) full_table_name ::= table_name */ + { 275, -3 }, /* (136) full_table_name ::= db_name NK_DOT table_name */ + { 276, -1 }, /* (137) column_def_list ::= column_def */ + { 276, -3 }, /* (138) column_def_list ::= column_def_list NK_COMMA column_def */ + { 293, -2 }, /* (139) column_def ::= column_name type_name */ + { 293, -4 }, /* (140) column_def ::= column_name type_name COMMENT NK_STRING */ + { 285, -1 }, /* (141) type_name ::= BOOL */ + { 285, -1 }, /* (142) type_name ::= TINYINT */ + { 285, -1 }, /* (143) type_name ::= SMALLINT */ + { 285, -1 }, /* (144) type_name ::= INT */ + { 285, -1 }, /* (145) type_name ::= INTEGER */ + { 285, -1 }, /* (146) type_name ::= BIGINT */ + { 285, -1 }, /* (147) type_name ::= FLOAT */ + { 285, -1 }, /* (148) type_name ::= DOUBLE */ + { 285, -4 }, /* (149) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + { 285, -1 }, /* (150) type_name ::= TIMESTAMP */ + { 285, -4 }, /* (151) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + { 285, -2 }, /* (152) type_name ::= TINYINT UNSIGNED */ + { 285, -2 }, /* (153) type_name ::= SMALLINT UNSIGNED */ + { 285, -2 }, /* (154) type_name ::= INT UNSIGNED */ + { 285, -2 }, /* (155) type_name ::= BIGINT UNSIGNED */ + { 285, -1 }, /* (156) type_name ::= JSON */ + { 285, -4 }, /* (157) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + { 285, -1 }, /* (158) type_name ::= MEDIUMBLOB */ + { 285, -1 }, /* (159) type_name ::= BLOB */ + { 285, -4 }, /* (160) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + { 285, -1 }, /* (161) type_name ::= DECIMAL */ + { 285, -4 }, /* (162) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + { 285, -6 }, /* (163) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + { 277, 0 }, /* (164) tags_def_opt ::= */ + { 277, -1 }, /* (165) tags_def_opt ::= tags_def */ + { 280, -4 }, /* (166) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + { 278, 0 }, /* (167) table_options ::= */ + { 278, -3 }, /* (168) table_options ::= table_options COMMENT NK_STRING */ + { 278, -3 }, /* (169) table_options ::= table_options MAX_DELAY duration_list */ + { 278, -3 }, /* (170) table_options ::= table_options WATERMARK duration_list */ + { 278, -5 }, /* (171) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + { 278, -3 }, /* (172) table_options ::= table_options TTL NK_INTEGER */ + { 278, -5 }, /* (173) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + { 283, -1 }, /* (174) alter_table_options ::= alter_table_option */ + { 283, -2 }, /* (175) alter_table_options ::= alter_table_options alter_table_option */ + { 296, -2 }, /* (176) alter_table_option ::= COMMENT NK_STRING */ + { 296, -2 }, /* (177) alter_table_option ::= TTL NK_INTEGER */ + { 294, -1 }, /* (178) duration_list ::= duration_literal */ + { 294, -3 }, /* (179) duration_list ::= duration_list NK_COMMA duration_literal */ + { 295, -1 }, /* (180) rollup_func_list ::= rollup_func_name */ + { 295, -3 }, /* (181) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + { 298, -1 }, /* (182) rollup_func_name ::= function_name */ + { 298, -1 }, /* (183) rollup_func_name ::= FIRST */ + { 298, -1 }, /* (184) rollup_func_name ::= LAST */ + { 291, -1 }, /* (185) col_name_list ::= col_name */ + { 291, -3 }, /* (186) col_name_list ::= col_name_list NK_COMMA col_name */ + { 300, -1 }, /* (187) col_name ::= column_name */ + { 253, -2 }, /* (188) cmd ::= SHOW DNODES */ + { 253, -2 }, /* (189) cmd ::= SHOW USERS */ + { 253, -2 }, /* (190) cmd ::= SHOW DATABASES */ + { 253, -4 }, /* (191) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + { 253, -4 }, /* (192) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + { 253, -3 }, /* (193) cmd ::= SHOW db_name_cond_opt VGROUPS */ + { 253, -2 }, /* (194) cmd ::= SHOW MNODES */ + { 253, -2 }, /* (195) cmd ::= SHOW MODULES */ + { 253, -2 }, /* (196) cmd ::= SHOW QNODES */ + { 253, -2 }, /* (197) cmd ::= SHOW FUNCTIONS */ + { 253, -5 }, /* (198) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + { 253, -2 }, /* (199) cmd ::= SHOW STREAMS */ + { 253, -2 }, /* (200) cmd ::= SHOW ACCOUNTS */ + { 253, -2 }, /* (201) cmd ::= SHOW APPS */ + { 253, -2 }, /* (202) cmd ::= SHOW CONNECTIONS */ + { 253, -2 }, /* (203) cmd ::= SHOW LICENCE */ + { 253, -2 }, /* (204) cmd ::= SHOW GRANTS */ + { 253, -4 }, /* (205) cmd ::= SHOW CREATE DATABASE db_name */ + { 253, -4 }, /* (206) cmd ::= SHOW CREATE TABLE full_table_name */ + { 253, -4 }, /* (207) cmd ::= SHOW CREATE STABLE full_table_name */ + { 253, -2 }, /* (208) cmd ::= SHOW QUERIES */ + { 253, -2 }, /* (209) cmd ::= SHOW SCORES */ + { 253, -2 }, /* (210) cmd ::= SHOW TOPICS */ + { 253, -2 }, /* (211) cmd ::= SHOW VARIABLES */ + { 253, -3 }, /* (212) cmd ::= SHOW LOCAL VARIABLES */ + { 253, -4 }, /* (213) cmd ::= SHOW DNODE NK_INTEGER VARIABLES */ + { 253, -2 }, /* (214) cmd ::= SHOW BNODES */ + { 253, -2 }, /* (215) cmd ::= SHOW SNODES */ + { 253, -2 }, /* (216) cmd ::= SHOW CLUSTER */ + { 253, -2 }, /* (217) cmd ::= SHOW TRANSACTIONS */ + { 253, -4 }, /* (218) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + { 253, -2 }, /* (219) cmd ::= SHOW CONSUMERS */ + { 253, -2 }, /* (220) cmd ::= SHOW SUBSCRIPTIONS */ + { 301, 0 }, /* (221) db_name_cond_opt ::= */ + { 301, -2 }, /* (222) db_name_cond_opt ::= db_name NK_DOT */ + { 302, 0 }, /* (223) like_pattern_opt ::= */ + { 302, -2 }, /* (224) like_pattern_opt ::= LIKE NK_STRING */ + { 303, -1 }, /* (225) table_name_cond ::= table_name */ + { 304, 0 }, /* (226) from_db_opt ::= */ + { 304, -2 }, /* (227) from_db_opt ::= FROM db_name */ + { 253, -8 }, /* (228) cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options */ + { 253, -4 }, /* (229) cmd ::= DROP INDEX exists_opt index_name */ + { 306, -10 }, /* (230) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + { 306, -12 }, /* (231) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ + { 307, -1 }, /* (232) func_list ::= func */ + { 307, -3 }, /* (233) func_list ::= func_list NK_COMMA func */ + { 310, -4 }, /* (234) func ::= function_name NK_LP expression_list NK_RP */ + { 309, 0 }, /* (235) sma_stream_opt ::= */ + { 309, -3 }, /* (236) sma_stream_opt ::= stream_options WATERMARK duration_literal */ + { 309, -3 }, /* (237) sma_stream_opt ::= stream_options MAX_DELAY duration_literal */ + { 253, -6 }, /* (238) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression */ + { 253, -7 }, /* (239) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ + { 253, -9 }, /* (240) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ + { 253, -7 }, /* (241) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ + { 253, -9 }, /* (242) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ + { 253, -4 }, /* (243) cmd ::= DROP TOPIC exists_opt topic_name */ + { 253, -7 }, /* (244) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + { 253, -2 }, /* (245) cmd ::= DESC full_table_name */ + { 253, -2 }, /* (246) cmd ::= DESCRIBE full_table_name */ + { 253, -3 }, /* (247) cmd ::= RESET QUERY CACHE */ + { 253, -4 }, /* (248) cmd ::= EXPLAIN analyze_opt explain_options query_expression */ + { 315, 0 }, /* (249) analyze_opt ::= */ + { 315, -1 }, /* (250) analyze_opt ::= ANALYZE */ + { 316, 0 }, /* (251) explain_options ::= */ + { 316, -3 }, /* (252) explain_options ::= explain_options VERBOSE NK_BOOL */ + { 316, -3 }, /* (253) explain_options ::= explain_options RATIO NK_FLOAT */ + { 253, -6 }, /* (254) cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP */ + { 253, -10 }, /* (255) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ + { 253, -4 }, /* (256) cmd ::= DROP FUNCTION exists_opt function_name */ + { 317, 0 }, /* (257) agg_func_opt ::= */ + { 317, -1 }, /* (258) agg_func_opt ::= AGGREGATE */ + { 318, 0 }, /* (259) bufsize_opt ::= */ + { 318, -2 }, /* (260) bufsize_opt ::= BUFSIZE NK_INTEGER */ + { 253, -8 }, /* (261) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression */ + { 253, -4 }, /* (262) cmd ::= DROP STREAM exists_opt stream_name */ + { 320, 0 }, /* (263) into_opt ::= */ + { 320, -2 }, /* (264) into_opt ::= INTO full_table_name */ + { 311, 0 }, /* (265) stream_options ::= */ + { 311, -3 }, /* (266) stream_options ::= stream_options TRIGGER AT_ONCE */ + { 311, -3 }, /* (267) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + { 311, -4 }, /* (268) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + { 311, -3 }, /* (269) stream_options ::= stream_options WATERMARK duration_literal */ + { 311, -3 }, /* (270) stream_options ::= stream_options IGNORE EXPIRED */ + { 253, -3 }, /* (271) cmd ::= KILL CONNECTION NK_INTEGER */ + { 253, -3 }, /* (272) cmd ::= KILL QUERY NK_STRING */ + { 253, -3 }, /* (273) cmd ::= KILL TRANSACTION NK_INTEGER */ + { 253, -2 }, /* (274) cmd ::= BALANCE VGROUP */ + { 253, -4 }, /* (275) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + { 253, -4 }, /* (276) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + { 253, -3 }, /* (277) cmd ::= SPLIT VGROUP NK_INTEGER */ + { 321, -2 }, /* (278) dnode_list ::= DNODE NK_INTEGER */ + { 321, -3 }, /* (279) dnode_list ::= dnode_list DNODE NK_INTEGER */ + { 253, -3 }, /* (280) cmd ::= SYNCDB db_name REPLICA */ + { 253, -4 }, /* (281) cmd ::= DELETE FROM full_table_name where_clause_opt */ + { 253, -1 }, /* (282) cmd ::= query_expression */ + { 253, -5 }, /* (283) cmd ::= INSERT INTO full_table_name specific_cols_opt query_expression */ + { 256, -1 }, /* (284) literal ::= NK_INTEGER */ + { 256, -1 }, /* (285) literal ::= NK_FLOAT */ + { 256, -1 }, /* (286) literal ::= NK_STRING */ + { 256, -1 }, /* (287) literal ::= NK_BOOL */ + { 256, -2 }, /* (288) literal ::= TIMESTAMP NK_STRING */ + { 256, -1 }, /* (289) literal ::= duration_literal */ + { 256, -1 }, /* (290) literal ::= NULL */ + { 256, -1 }, /* (291) literal ::= NK_QUESTION */ + { 297, -1 }, /* (292) duration_literal ::= NK_VARIABLE */ + { 323, -1 }, /* (293) signed ::= NK_INTEGER */ + { 323, -2 }, /* (294) signed ::= NK_PLUS NK_INTEGER */ + { 323, -2 }, /* (295) signed ::= NK_MINUS NK_INTEGER */ + { 323, -1 }, /* (296) signed ::= NK_FLOAT */ + { 323, -2 }, /* (297) signed ::= NK_PLUS NK_FLOAT */ + { 323, -2 }, /* (298) signed ::= NK_MINUS NK_FLOAT */ + { 286, -1 }, /* (299) signed_literal ::= signed */ + { 286, -1 }, /* (300) signed_literal ::= NK_STRING */ + { 286, -1 }, /* (301) signed_literal ::= NK_BOOL */ + { 286, -2 }, /* (302) signed_literal ::= TIMESTAMP NK_STRING */ + { 286, -1 }, /* (303) signed_literal ::= duration_literal */ + { 286, -1 }, /* (304) signed_literal ::= NULL */ + { 286, -1 }, /* (305) signed_literal ::= literal_func */ + { 325, -1 }, /* (306) literal_list ::= signed_literal */ + { 325, -3 }, /* (307) literal_list ::= literal_list NK_COMMA signed_literal */ + { 264, -1 }, /* (308) db_name ::= NK_ID */ + { 292, -1 }, /* (309) table_name ::= NK_ID */ + { 284, -1 }, /* (310) column_name ::= NK_ID */ + { 299, -1 }, /* (311) function_name ::= NK_ID */ + { 326, -1 }, /* (312) table_alias ::= NK_ID */ + { 327, -1 }, /* (313) column_alias ::= NK_ID */ + { 258, -1 }, /* (314) user_name ::= NK_ID */ + { 305, -1 }, /* (315) index_name ::= NK_ID */ + { 312, -1 }, /* (316) topic_name ::= NK_ID */ + { 319, -1 }, /* (317) stream_name ::= NK_ID */ + { 314, -1 }, /* (318) cgroup_name ::= NK_ID */ + { 328, -1 }, /* (319) expression ::= literal */ + { 328, -1 }, /* (320) expression ::= pseudo_column */ + { 328, -1 }, /* (321) expression ::= column_reference */ + { 328, -1 }, /* (322) expression ::= function_expression */ + { 328, -1 }, /* (323) expression ::= subquery */ + { 328, -3 }, /* (324) expression ::= NK_LP expression NK_RP */ + { 328, -2 }, /* (325) expression ::= NK_PLUS expression */ + { 328, -2 }, /* (326) expression ::= NK_MINUS expression */ + { 328, -3 }, /* (327) expression ::= expression NK_PLUS expression */ + { 328, -3 }, /* (328) expression ::= expression NK_MINUS expression */ + { 328, -3 }, /* (329) expression ::= expression NK_STAR expression */ + { 328, -3 }, /* (330) expression ::= expression NK_SLASH expression */ + { 328, -3 }, /* (331) expression ::= expression NK_REM expression */ + { 328, -3 }, /* (332) expression ::= column_reference NK_ARROW NK_STRING */ + { 328, -3 }, /* (333) expression ::= expression NK_BITAND expression */ + { 328, -3 }, /* (334) expression ::= expression NK_BITOR expression */ + { 289, -1 }, /* (335) expression_list ::= expression */ + { 289, -3 }, /* (336) expression_list ::= expression_list NK_COMMA expression */ + { 330, -1 }, /* (337) column_reference ::= column_name */ + { 330, -3 }, /* (338) column_reference ::= table_name NK_DOT column_name */ + { 329, -1 }, /* (339) pseudo_column ::= ROWTS */ + { 329, -1 }, /* (340) pseudo_column ::= TBNAME */ + { 329, -3 }, /* (341) pseudo_column ::= table_name NK_DOT TBNAME */ + { 329, -1 }, /* (342) pseudo_column ::= QSTARTTS */ + { 329, -1 }, /* (343) pseudo_column ::= QENDTS */ + { 329, -1 }, /* (344) pseudo_column ::= WSTARTTS */ + { 329, -1 }, /* (345) pseudo_column ::= WENDTS */ + { 329, -1 }, /* (346) pseudo_column ::= WDURATION */ + { 331, -4 }, /* (347) function_expression ::= function_name NK_LP expression_list NK_RP */ + { 331, -4 }, /* (348) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + { 331, -6 }, /* (349) function_expression ::= CAST NK_LP expression AS type_name NK_RP */ + { 331, -1 }, /* (350) function_expression ::= literal_func */ + { 324, -3 }, /* (351) literal_func ::= noarg_func NK_LP NK_RP */ + { 324, -1 }, /* (352) literal_func ::= NOW */ + { 335, -1 }, /* (353) noarg_func ::= NOW */ + { 335, -1 }, /* (354) noarg_func ::= TODAY */ + { 335, -1 }, /* (355) noarg_func ::= TIMEZONE */ + { 335, -1 }, /* (356) noarg_func ::= DATABASE */ + { 335, -1 }, /* (357) noarg_func ::= CLIENT_VERSION */ + { 335, -1 }, /* (358) noarg_func ::= SERVER_VERSION */ + { 335, -1 }, /* (359) noarg_func ::= SERVER_STATUS */ + { 335, -1 }, /* (360) noarg_func ::= CURRENT_USER */ + { 335, -1 }, /* (361) noarg_func ::= USER */ + { 333, -1 }, /* (362) star_func ::= COUNT */ + { 333, -1 }, /* (363) star_func ::= FIRST */ + { 333, -1 }, /* (364) star_func ::= LAST */ + { 333, -1 }, /* (365) star_func ::= LAST_ROW */ + { 334, -1 }, /* (366) star_func_para_list ::= NK_STAR */ + { 334, -1 }, /* (367) star_func_para_list ::= other_para_list */ + { 336, -1 }, /* (368) other_para_list ::= star_func_para */ + { 336, -3 }, /* (369) other_para_list ::= other_para_list NK_COMMA star_func_para */ + { 337, -1 }, /* (370) star_func_para ::= expression */ + { 337, -3 }, /* (371) star_func_para ::= table_name NK_DOT NK_STAR */ + { 338, -3 }, /* (372) predicate ::= expression compare_op expression */ + { 338, -5 }, /* (373) predicate ::= expression BETWEEN expression AND expression */ + { 338, -6 }, /* (374) predicate ::= expression NOT BETWEEN expression AND expression */ + { 338, -3 }, /* (375) predicate ::= expression IS NULL */ + { 338, -4 }, /* (376) predicate ::= expression IS NOT NULL */ + { 338, -3 }, /* (377) predicate ::= expression in_op in_predicate_value */ + { 339, -1 }, /* (378) compare_op ::= NK_LT */ + { 339, -1 }, /* (379) compare_op ::= NK_GT */ + { 339, -1 }, /* (380) compare_op ::= NK_LE */ + { 339, -1 }, /* (381) compare_op ::= NK_GE */ + { 339, -1 }, /* (382) compare_op ::= NK_NE */ + { 339, -1 }, /* (383) compare_op ::= NK_EQ */ + { 339, -1 }, /* (384) compare_op ::= LIKE */ + { 339, -2 }, /* (385) compare_op ::= NOT LIKE */ + { 339, -1 }, /* (386) compare_op ::= MATCH */ + { 339, -1 }, /* (387) compare_op ::= NMATCH */ + { 339, -1 }, /* (388) compare_op ::= CONTAINS */ + { 340, -1 }, /* (389) in_op ::= IN */ + { 340, -2 }, /* (390) in_op ::= NOT IN */ + { 341, -3 }, /* (391) in_predicate_value ::= NK_LP expression_list NK_RP */ + { 342, -1 }, /* (392) boolean_value_expression ::= boolean_primary */ + { 342, -2 }, /* (393) boolean_value_expression ::= NOT boolean_primary */ + { 342, -3 }, /* (394) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + { 342, -3 }, /* (395) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + { 343, -1 }, /* (396) boolean_primary ::= predicate */ + { 343, -3 }, /* (397) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + { 344, -1 }, /* (398) common_expression ::= expression */ + { 344, -1 }, /* (399) common_expression ::= boolean_value_expression */ + { 345, 0 }, /* (400) from_clause_opt ::= */ + { 345, -2 }, /* (401) from_clause_opt ::= FROM table_reference_list */ + { 346, -1 }, /* (402) table_reference_list ::= table_reference */ + { 346, -3 }, /* (403) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + { 347, -1 }, /* (404) table_reference ::= table_primary */ + { 347, -1 }, /* (405) table_reference ::= joined_table */ + { 348, -2 }, /* (406) table_primary ::= table_name alias_opt */ + { 348, -4 }, /* (407) table_primary ::= db_name NK_DOT table_name alias_opt */ + { 348, -2 }, /* (408) table_primary ::= subquery alias_opt */ + { 348, -1 }, /* (409) table_primary ::= parenthesized_joined_table */ + { 350, 0 }, /* (410) alias_opt ::= */ + { 350, -1 }, /* (411) alias_opt ::= table_alias */ + { 350, -2 }, /* (412) alias_opt ::= AS table_alias */ + { 351, -3 }, /* (413) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + { 351, -3 }, /* (414) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + { 349, -6 }, /* (415) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + { 352, 0 }, /* (416) join_type ::= */ + { 352, -1 }, /* (417) join_type ::= INNER */ + { 354, -12 }, /* (418) query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + { 355, 0 }, /* (419) set_quantifier_opt ::= */ + { 355, -1 }, /* (420) set_quantifier_opt ::= DISTINCT */ + { 355, -1 }, /* (421) set_quantifier_opt ::= ALL */ + { 356, -1 }, /* (422) select_list ::= select_item */ + { 356, -3 }, /* (423) select_list ::= select_list NK_COMMA select_item */ + { 364, -1 }, /* (424) select_item ::= NK_STAR */ + { 364, -1 }, /* (425) select_item ::= common_expression */ + { 364, -2 }, /* (426) select_item ::= common_expression column_alias */ + { 364, -3 }, /* (427) select_item ::= common_expression AS column_alias */ + { 364, -3 }, /* (428) select_item ::= table_name NK_DOT NK_STAR */ + { 322, 0 }, /* (429) where_clause_opt ::= */ + { 322, -2 }, /* (430) where_clause_opt ::= WHERE search_condition */ + { 357, 0 }, /* (431) partition_by_clause_opt ::= */ + { 357, -3 }, /* (432) partition_by_clause_opt ::= PARTITION BY expression_list */ + { 361, 0 }, /* (433) twindow_clause_opt ::= */ + { 361, -6 }, /* (434) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + { 361, -4 }, /* (435) twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ + { 361, -6 }, /* (436) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + { 361, -8 }, /* (437) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + { 308, 0 }, /* (438) sliding_opt ::= */ + { 308, -4 }, /* (439) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + { 360, 0 }, /* (440) fill_opt ::= */ + { 360, -4 }, /* (441) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + { 360, -6 }, /* (442) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + { 365, -1 }, /* (443) fill_mode ::= NONE */ + { 365, -1 }, /* (444) fill_mode ::= PREV */ + { 365, -1 }, /* (445) fill_mode ::= NULL */ + { 365, -1 }, /* (446) fill_mode ::= LINEAR */ + { 365, -1 }, /* (447) fill_mode ::= NEXT */ + { 362, 0 }, /* (448) group_by_clause_opt ::= */ + { 362, -3 }, /* (449) group_by_clause_opt ::= GROUP BY group_by_list */ + { 366, -1 }, /* (450) group_by_list ::= expression */ + { 366, -3 }, /* (451) group_by_list ::= group_by_list NK_COMMA expression */ + { 363, 0 }, /* (452) having_clause_opt ::= */ + { 363, -2 }, /* (453) having_clause_opt ::= HAVING search_condition */ + { 358, 0 }, /* (454) range_opt ::= */ + { 358, -6 }, /* (455) range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ + { 359, 0 }, /* (456) every_opt ::= */ + { 359, -4 }, /* (457) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + { 313, -4 }, /* (458) query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ + { 367, -1 }, /* (459) query_expression_body ::= query_primary */ + { 367, -4 }, /* (460) query_expression_body ::= query_expression_body UNION ALL query_expression_body */ + { 367, -3 }, /* (461) query_expression_body ::= query_expression_body UNION query_expression_body */ + { 371, -1 }, /* (462) query_primary ::= query_specification */ + { 371, -6 }, /* (463) query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ + { 368, 0 }, /* (464) order_by_clause_opt ::= */ + { 368, -3 }, /* (465) order_by_clause_opt ::= ORDER BY sort_specification_list */ + { 369, 0 }, /* (466) slimit_clause_opt ::= */ + { 369, -2 }, /* (467) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + { 369, -4 }, /* (468) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + { 369, -4 }, /* (469) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 370, 0 }, /* (470) limit_clause_opt ::= */ + { 370, -2 }, /* (471) limit_clause_opt ::= LIMIT NK_INTEGER */ + { 370, -4 }, /* (472) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + { 370, -4 }, /* (473) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 332, -3 }, /* (474) subquery ::= NK_LP query_expression NK_RP */ + { 353, -1 }, /* (475) search_condition ::= common_expression */ + { 372, -1 }, /* (476) sort_specification_list ::= sort_specification */ + { 372, -3 }, /* (477) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + { 373, -3 }, /* (478) sort_specification ::= expression ordering_specification_opt null_ordering_opt */ + { 374, 0 }, /* (479) ordering_specification_opt ::= */ + { 374, -1 }, /* (480) ordering_specification_opt ::= ASC */ + { 374, -1 }, /* (481) ordering_specification_opt ::= DESC */ + { 375, 0 }, /* (482) null_ordering_opt ::= */ + { 375, -2 }, /* (483) null_ordering_opt ::= NULLS FIRST */ + { 375, -2 }, /* (484) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -3259,11 +3267,11 @@ static YYACTIONTYPE yy_reduce( YYMINORTYPE yylhsminor; case 0: /* cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } - yy_destructor(yypParser,253,&yymsp[0].minor); + yy_destructor(yypParser,254,&yymsp[0].minor); break; case 1: /* cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } - yy_destructor(yypParser,254,&yymsp[0].minor); + yy_destructor(yypParser,255,&yymsp[0].minor); break; case 2: /* account_options ::= */ { } @@ -3277,20 +3285,20 @@ static YYACTIONTYPE yy_reduce( case 9: /* account_options ::= account_options USERS literal */ yytestcase(yyruleno==9); case 10: /* account_options ::= account_options CONNS literal */ yytestcase(yyruleno==10); case 11: /* account_options ::= account_options STATE literal */ yytestcase(yyruleno==11); -{ yy_destructor(yypParser,253,&yymsp[-2].minor); +{ yy_destructor(yypParser,254,&yymsp[-2].minor); { } - yy_destructor(yypParser,255,&yymsp[0].minor); + yy_destructor(yypParser,256,&yymsp[0].minor); } break; case 12: /* alter_account_options ::= alter_account_option */ -{ yy_destructor(yypParser,256,&yymsp[0].minor); +{ yy_destructor(yypParser,257,&yymsp[0].minor); { } } break; case 13: /* alter_account_options ::= alter_account_options alter_account_option */ -{ yy_destructor(yypParser,254,&yymsp[-1].minor); +{ yy_destructor(yypParser,255,&yymsp[-1].minor); { } - yy_destructor(yypParser,256,&yymsp[0].minor); + yy_destructor(yypParser,257,&yymsp[0].minor); } break; case 14: /* alter_account_option ::= PASS literal */ @@ -3304,72 +3312,72 @@ static YYACTIONTYPE yy_reduce( case 22: /* alter_account_option ::= CONNS literal */ yytestcase(yyruleno==22); case 23: /* alter_account_option ::= STATE literal */ yytestcase(yyruleno==23); { } - yy_destructor(yypParser,255,&yymsp[0].minor); + yy_destructor(yypParser,256,&yymsp[0].minor); break; case 24: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ -{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy329, &yymsp[-1].minor.yy0, yymsp[0].minor.yy653); } +{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy401, &yymsp[-1].minor.yy0, yymsp[0].minor.yy695); } break; case 25: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy329, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy401, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } break; case 26: /* cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy329, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy401, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } break; case 27: /* cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy329, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy401, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } break; case 28: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy329); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy401); } break; case 29: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy653 = 1; } +{ yymsp[1].minor.yy695 = 1; } break; case 30: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy653 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy695 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } break; case 31: /* cmd ::= GRANT privileges ON priv_level TO user_name */ -{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy609, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy525, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401); } break; case 32: /* cmd ::= REVOKE privileges ON priv_level FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy609, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy525, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401); } break; case 33: /* privileges ::= ALL */ -{ yymsp[0].minor.yy609 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy525 = PRIVILEGE_TYPE_ALL; } break; case 34: /* privileges ::= priv_type_list */ case 35: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==35); -{ yylhsminor.yy609 = yymsp[0].minor.yy609; } - yymsp[0].minor.yy609 = yylhsminor.yy609; +{ yylhsminor.yy525 = yymsp[0].minor.yy525; } + yymsp[0].minor.yy525 = yylhsminor.yy525; break; case 36: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy609 = yymsp[-2].minor.yy609 | yymsp[0].minor.yy609; } - yymsp[-2].minor.yy609 = yylhsminor.yy609; +{ yylhsminor.yy525 = yymsp[-2].minor.yy525 | yymsp[0].minor.yy525; } + yymsp[-2].minor.yy525 = yylhsminor.yy525; break; case 37: /* priv_type ::= READ */ -{ yymsp[0].minor.yy609 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy525 = PRIVILEGE_TYPE_READ; } break; case 38: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy609 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy525 = PRIVILEGE_TYPE_WRITE; } break; case 39: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy329 = yymsp[-2].minor.yy0; } - yymsp[-2].minor.yy329 = yylhsminor.yy329; +{ yylhsminor.yy401 = yymsp[-2].minor.yy0; } + yymsp[-2].minor.yy401 = yylhsminor.yy401; break; case 40: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy329 = yymsp[-2].minor.yy329; } - yymsp[-2].minor.yy329 = yylhsminor.yy329; +{ yylhsminor.yy401 = yymsp[-2].minor.yy401; } + yymsp[-2].minor.yy401 = yylhsminor.yy401; break; case 41: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy329, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy401, NULL); } break; case 42: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy0); } break; case 43: /* cmd ::= DROP DNODE NK_INTEGER */ { pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[0].minor.yy0); } break; case 44: /* cmd ::= DROP DNODE dnode_endpoint */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[0].minor.yy329); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[0].minor.yy401); } break; case 45: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -3386,32 +3394,32 @@ static YYACTIONTYPE yy_reduce( case 49: /* dnode_endpoint ::= NK_STRING */ case 50: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==50); case 51: /* dnode_endpoint ::= NK_IPTOKEN */ yytestcase(yyruleno==51); - case 307: /* db_name ::= NK_ID */ yytestcase(yyruleno==307); - case 308: /* table_name ::= NK_ID */ yytestcase(yyruleno==308); - case 309: /* column_name ::= NK_ID */ yytestcase(yyruleno==309); - case 310: /* function_name ::= NK_ID */ yytestcase(yyruleno==310); - case 311: /* table_alias ::= NK_ID */ yytestcase(yyruleno==311); - case 312: /* column_alias ::= NK_ID */ yytestcase(yyruleno==312); - case 313: /* user_name ::= NK_ID */ yytestcase(yyruleno==313); - case 314: /* index_name ::= NK_ID */ yytestcase(yyruleno==314); - case 315: /* topic_name ::= NK_ID */ yytestcase(yyruleno==315); - case 316: /* stream_name ::= NK_ID */ yytestcase(yyruleno==316); - case 317: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==317); - case 352: /* noarg_func ::= NOW */ yytestcase(yyruleno==352); - case 353: /* noarg_func ::= TODAY */ yytestcase(yyruleno==353); - case 354: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==354); - case 355: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==355); - case 356: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==356); - case 357: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==357); - case 358: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==358); - case 359: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==359); - case 360: /* noarg_func ::= USER */ yytestcase(yyruleno==360); - case 361: /* star_func ::= COUNT */ yytestcase(yyruleno==361); - case 362: /* star_func ::= FIRST */ yytestcase(yyruleno==362); - case 363: /* star_func ::= LAST */ yytestcase(yyruleno==363); - case 364: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==364); -{ yylhsminor.yy329 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy329 = yylhsminor.yy329; + case 308: /* db_name ::= NK_ID */ yytestcase(yyruleno==308); + case 309: /* table_name ::= NK_ID */ yytestcase(yyruleno==309); + case 310: /* column_name ::= NK_ID */ yytestcase(yyruleno==310); + case 311: /* function_name ::= NK_ID */ yytestcase(yyruleno==311); + case 312: /* table_alias ::= NK_ID */ yytestcase(yyruleno==312); + case 313: /* column_alias ::= NK_ID */ yytestcase(yyruleno==313); + case 314: /* user_name ::= NK_ID */ yytestcase(yyruleno==314); + case 315: /* index_name ::= NK_ID */ yytestcase(yyruleno==315); + case 316: /* topic_name ::= NK_ID */ yytestcase(yyruleno==316); + case 317: /* stream_name ::= NK_ID */ yytestcase(yyruleno==317); + case 318: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==318); + case 353: /* noarg_func ::= NOW */ yytestcase(yyruleno==353); + case 354: /* noarg_func ::= TODAY */ yytestcase(yyruleno==354); + case 355: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==355); + case 356: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==356); + case 357: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==357); + case 358: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==358); + case 359: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==359); + case 360: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==360); + case 361: /* noarg_func ::= USER */ yytestcase(yyruleno==361); + case 362: /* star_func ::= COUNT */ yytestcase(yyruleno==362); + case 363: /* star_func ::= FIRST */ yytestcase(yyruleno==363); + case 364: /* star_func ::= LAST */ yytestcase(yyruleno==364); + case 365: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==365); +{ yylhsminor.yy401 = yymsp[0].minor.yy0; } + yymsp[0].minor.yy401 = yylhsminor.yy401; break; case 52: /* cmd ::= ALTER LOCAL NK_STRING */ { pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -3444,1224 +3452,1227 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createDropComponentNodeStmt(pCxt, QUERY_NODE_DROP_MNODE_STMT, &yymsp[0].minor.yy0); } break; case 62: /* cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ -{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy737, &yymsp[-1].minor.yy329, yymsp[0].minor.yy212); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy89, &yymsp[-1].minor.yy401, yymsp[0].minor.yy248); } break; case 63: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; case 64: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy329); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy401); } break; case 65: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy329, yymsp[0].minor.yy212); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy401, yymsp[0].minor.yy248); } break; - case 66: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy737 = true; } + case 66: /* cmd ::= FLUSH DATABASE db_name */ +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy401); } break; - case 67: /* not_exists_opt ::= */ - case 69: /* exists_opt ::= */ yytestcase(yyruleno==69); - case 248: /* analyze_opt ::= */ yytestcase(yyruleno==248); - case 256: /* agg_func_opt ::= */ yytestcase(yyruleno==256); - case 418: /* set_quantifier_opt ::= */ yytestcase(yyruleno==418); -{ yymsp[1].minor.yy737 = false; } + case 67: /* not_exists_opt ::= IF NOT EXISTS */ +{ yymsp[-2].minor.yy89 = true; } break; - case 68: /* exists_opt ::= IF EXISTS */ -{ yymsp[-1].minor.yy737 = true; } + case 68: /* not_exists_opt ::= */ + case 70: /* exists_opt ::= */ yytestcase(yyruleno==70); + case 249: /* analyze_opt ::= */ yytestcase(yyruleno==249); + case 257: /* agg_func_opt ::= */ yytestcase(yyruleno==257); + case 419: /* set_quantifier_opt ::= */ yytestcase(yyruleno==419); +{ yymsp[1].minor.yy89 = false; } break; - case 70: /* db_options ::= */ -{ yymsp[1].minor.yy212 = createDefaultDatabaseOptions(pCxt); } + case 69: /* exists_opt ::= IF EXISTS */ +{ yymsp[-1].minor.yy89 = true; } break; - case 71: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 71: /* db_options ::= */ +{ yymsp[1].minor.yy248 = createDefaultDatabaseOptions(pCxt); } break; - case 72: /* db_options ::= db_options CACHELAST NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_CACHELAST, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 72: /* db_options ::= db_options BUFFER NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 73: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 73: /* db_options ::= db_options CACHELAST NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_CACHELAST, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 74: /* db_options ::= db_options DURATION NK_INTEGER */ - case 75: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==75); -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 74: /* db_options ::= db_options COMP NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 76: /* db_options ::= db_options FSYNC NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 75: /* db_options ::= db_options DURATION NK_INTEGER */ + case 76: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==76); +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 77: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 77: /* db_options ::= db_options FSYNC NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 78: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 78: /* db_options ::= db_options MAXROWS NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 79: /* db_options ::= db_options KEEP integer_list */ - case 80: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==80); -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_KEEP, yymsp[0].minor.yy424); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 81: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 82: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 83: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 84: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 85: /* db_options ::= db_options STRICT NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_STRICT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 86: /* db_options ::= db_options WAL NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 87: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 88: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 89: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_RETENTIONS, yymsp[0].minor.yy424); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 90: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy212 = setDatabaseOption(pCxt, yymsp[-2].minor.yy212, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 91: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy212 = createAlterDatabaseOptions(pCxt); yylhsminor.yy212 = setAlterDatabaseOption(pCxt, yylhsminor.yy212, &yymsp[0].minor.yy245); } - yymsp[0].minor.yy212 = yylhsminor.yy212; - break; - case 92: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy212 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy212, &yymsp[0].minor.yy245); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; - break; - case 93: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 94: /* alter_db_option ::= CACHELAST NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_CACHELAST; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 95: /* alter_db_option ::= FSYNC NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 96: /* alter_db_option ::= KEEP integer_list */ - case 97: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==97); -{ yymsp[-1].minor.yy245.type = DB_OPTION_KEEP; yymsp[-1].minor.yy245.pList = yymsp[0].minor.yy424; } - break; - case 98: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_PAGES; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 99: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 100: /* alter_db_option ::= STRICT NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_STRICT; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 101: /* alter_db_option ::= WAL NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = DB_OPTION_WAL; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } - break; - case 102: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy424 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy424 = yylhsminor.yy424; - break; - case 103: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 278: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==278); -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; - break; - case 104: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy424 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy424 = yylhsminor.yy424; - break; - case 105: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; - break; - case 106: /* retention_list ::= retention */ - case 126: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==126); - case 129: /* multi_drop_clause ::= drop_table_clause */ yytestcase(yyruleno==129); - case 136: /* column_def_list ::= column_def */ yytestcase(yyruleno==136); - case 179: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==179); - case 184: /* col_name_list ::= col_name */ yytestcase(yyruleno==184); - case 231: /* func_list ::= func */ yytestcase(yyruleno==231); - case 305: /* literal_list ::= signed_literal */ yytestcase(yyruleno==305); - case 367: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==367); - case 421: /* select_list ::= select_item */ yytestcase(yyruleno==421); - case 475: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==475); -{ yylhsminor.yy424 = createNodeList(pCxt, yymsp[0].minor.yy212); } - yymsp[0].minor.yy424 = yylhsminor.yy424; - break; - case 107: /* retention_list ::= retention_list NK_COMMA retention */ - case 137: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==137); - case 180: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==180); - case 185: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==185); - case 232: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==232); - case 306: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==306); - case 368: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==368); - case 422: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==422); - case 476: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==476); -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, yymsp[0].minor.yy212); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; - break; - case 108: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ -{ yylhsminor.yy212 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; - break; - case 109: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - case 111: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==111); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy737, yymsp[-5].minor.yy212, yymsp[-3].minor.yy424, yymsp[-1].minor.yy424, yymsp[0].minor.yy212); } - break; - case 110: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy424); } - break; - case 112: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy424); } - break; - case 113: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy737, yymsp[0].minor.yy212); } - break; - case 114: /* cmd ::= ALTER TABLE alter_table_clause */ - case 281: /* cmd ::= query_expression */ yytestcase(yyruleno==281); -{ pCxt->pRootNode = yymsp[0].minor.yy212; } - break; - case 115: /* cmd ::= ALTER STABLE alter_table_clause */ -{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy212); } - break; - case 116: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy212 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 79: /* db_options ::= db_options MINROWS NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 117: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy212 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + case 80: /* db_options ::= db_options KEEP integer_list */ + case 81: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==81); +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_KEEP, yymsp[0].minor.yy552); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 118: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy212 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy212, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy329); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; - break; - case 119: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy212 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + case 82: /* db_options ::= db_options PAGES NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 120: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy212 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy329, &yymsp[0].minor.yy329); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + case 83: /* db_options ::= db_options PAGESIZE NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 84: /* db_options ::= db_options PRECISION NK_STRING */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 85: /* db_options ::= db_options REPLICA NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 86: /* db_options ::= db_options STRICT NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_STRICT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 87: /* db_options ::= db_options WAL NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 88: /* db_options ::= db_options VGROUPS NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 89: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 90: /* db_options ::= db_options RETENTIONS retention_list */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_RETENTIONS, yymsp[0].minor.yy552); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 91: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ +{ yylhsminor.yy248 = setDatabaseOption(pCxt, yymsp[-2].minor.yy248, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 92: /* alter_db_options ::= alter_db_option */ +{ yylhsminor.yy248 = createAlterDatabaseOptions(pCxt); yylhsminor.yy248 = setAlterDatabaseOption(pCxt, yylhsminor.yy248, &yymsp[0].minor.yy301); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 93: /* alter_db_options ::= alter_db_options alter_db_option */ +{ yylhsminor.yy248 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy248, &yymsp[0].minor.yy301); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; + break; + case 94: /* alter_db_option ::= BUFFER NK_INTEGER */ +{ yymsp[-1].minor.yy301.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } + break; + case 95: /* alter_db_option ::= CACHELAST NK_INTEGER */ +{ yymsp[-1].minor.yy301.type = DB_OPTION_CACHELAST; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } + break; + case 96: /* alter_db_option ::= FSYNC NK_INTEGER */ +{ yymsp[-1].minor.yy301.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } + break; + case 97: /* alter_db_option ::= KEEP integer_list */ + case 98: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==98); +{ yymsp[-1].minor.yy301.type = DB_OPTION_KEEP; yymsp[-1].minor.yy301.pList = yymsp[0].minor.yy552; } + break; + case 99: /* alter_db_option ::= PAGES NK_INTEGER */ +{ yymsp[-1].minor.yy301.type = DB_OPTION_PAGES; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } + break; + case 100: /* alter_db_option ::= REPLICA NK_INTEGER */ +{ yymsp[-1].minor.yy301.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } + break; + case 101: /* alter_db_option ::= STRICT NK_INTEGER */ +{ yymsp[-1].minor.yy301.type = DB_OPTION_STRICT; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } + break; + case 102: /* alter_db_option ::= WAL NK_INTEGER */ +{ yymsp[-1].minor.yy301.type = DB_OPTION_WAL; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } + break; + case 103: /* integer_list ::= NK_INTEGER */ +{ yylhsminor.yy552 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy552 = yylhsminor.yy552; + break; + case 104: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ + case 279: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==279); +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; + break; + case 105: /* variable_list ::= NK_VARIABLE */ +{ yylhsminor.yy552 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy552 = yylhsminor.yy552; + break; + case 106: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; + break; + case 107: /* retention_list ::= retention */ + case 127: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==127); + case 130: /* multi_drop_clause ::= drop_table_clause */ yytestcase(yyruleno==130); + case 137: /* column_def_list ::= column_def */ yytestcase(yyruleno==137); + case 180: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==180); + case 185: /* col_name_list ::= col_name */ yytestcase(yyruleno==185); + case 232: /* func_list ::= func */ yytestcase(yyruleno==232); + case 306: /* literal_list ::= signed_literal */ yytestcase(yyruleno==306); + case 368: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==368); + case 422: /* select_list ::= select_item */ yytestcase(yyruleno==422); + case 476: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==476); +{ yylhsminor.yy552 = createNodeList(pCxt, yymsp[0].minor.yy248); } + yymsp[0].minor.yy552 = yylhsminor.yy552; + break; + case 108: /* retention_list ::= retention_list NK_COMMA retention */ + case 138: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==138); + case 181: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==181); + case 186: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==186); + case 233: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==233); + case 307: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==307); + case 369: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==369); + case 423: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==423); + case 477: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==477); +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, yymsp[0].minor.yy248); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; + break; + case 109: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ +{ yylhsminor.yy248 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; + break; + case 110: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + case 112: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==112); +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy89, yymsp[-5].minor.yy248, yymsp[-3].minor.yy552, yymsp[-1].minor.yy552, yymsp[0].minor.yy248); } + break; + case 111: /* cmd ::= CREATE TABLE multi_create_clause */ +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy552); } + break; + case 113: /* cmd ::= DROP TABLE multi_drop_clause */ +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy552); } + break; + case 114: /* cmd ::= DROP STABLE exists_opt full_table_name */ +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy89, yymsp[0].minor.yy248); } + break; + case 115: /* cmd ::= ALTER TABLE alter_table_clause */ + case 282: /* cmd ::= query_expression */ yytestcase(yyruleno==282); +{ pCxt->pRootNode = yymsp[0].minor.yy248; } + break; + case 116: /* cmd ::= ALTER STABLE alter_table_clause */ +{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy248); } + break; + case 117: /* alter_table_clause ::= full_table_name alter_table_options */ +{ yylhsminor.yy248 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 121: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy212 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + case 118: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ +{ yylhsminor.yy248 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 122: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy212 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy212, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy329); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + case 119: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ +{ yylhsminor.yy248 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy248, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy401); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; + break; + case 120: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ +{ yylhsminor.yy248 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 123: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy212 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + case 121: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ +{ yylhsminor.yy248 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy401, &yymsp[0].minor.yy401); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 124: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy212 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy212, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy329, &yymsp[0].minor.yy329); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + case 122: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ +{ yylhsminor.yy248 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 125: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy212 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy212, &yymsp[-2].minor.yy329, yymsp[0].minor.yy212); } - yymsp[-5].minor.yy212 = yylhsminor.yy212; + case 123: /* alter_table_clause ::= full_table_name DROP TAG column_name */ +{ yylhsminor.yy248 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy248, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy401); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 127: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 130: /* multi_drop_clause ::= multi_drop_clause drop_table_clause */ yytestcase(yyruleno==130); -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-1].minor.yy424, yymsp[0].minor.yy212); } - yymsp[-1].minor.yy424 = yylhsminor.yy424; + case 124: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ +{ yylhsminor.yy248 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 128: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ -{ yylhsminor.yy212 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy737, yymsp[-8].minor.yy212, yymsp[-6].minor.yy212, yymsp[-5].minor.yy424, yymsp[-2].minor.yy424, yymsp[0].minor.yy212); } - yymsp[-9].minor.yy212 = yylhsminor.yy212; + case 125: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ +{ yylhsminor.yy248 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy248, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy401, &yymsp[0].minor.yy401); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 131: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy212 = createDropTableClause(pCxt, yymsp[-1].minor.yy737, yymsp[0].minor.yy212); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 126: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ +{ yylhsminor.yy248 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy248, &yymsp[-2].minor.yy401, yymsp[0].minor.yy248); } + yymsp[-5].minor.yy248 = yylhsminor.yy248; break; - case 132: /* specific_cols_opt ::= */ - case 163: /* tags_def_opt ::= */ yytestcase(yyruleno==163); - case 430: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==430); - case 447: /* group_by_clause_opt ::= */ yytestcase(yyruleno==447); - case 463: /* order_by_clause_opt ::= */ yytestcase(yyruleno==463); -{ yymsp[1].minor.yy424 = NULL; } + case 128: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ + case 131: /* multi_drop_clause ::= multi_drop_clause drop_table_clause */ yytestcase(yyruleno==131); +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-1].minor.yy552, yymsp[0].minor.yy248); } + yymsp[-1].minor.yy552 = yylhsminor.yy552; break; - case 133: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ -{ yymsp[-2].minor.yy424 = yymsp[-1].minor.yy424; } + case 129: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ +{ yylhsminor.yy248 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy89, yymsp[-8].minor.yy248, yymsp[-6].minor.yy248, yymsp[-5].minor.yy552, yymsp[-2].minor.yy552, yymsp[0].minor.yy248); } + yymsp[-9].minor.yy248 = yylhsminor.yy248; break; - case 134: /* full_table_name ::= table_name */ -{ yylhsminor.yy212 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy329, NULL); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 132: /* drop_table_clause ::= exists_opt full_table_name */ +{ yylhsminor.yy248 = createDropTableClause(pCxt, yymsp[-1].minor.yy89, yymsp[0].minor.yy248); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 135: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy212 = createRealTableNode(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329, NULL); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 133: /* specific_cols_opt ::= */ + case 164: /* tags_def_opt ::= */ yytestcase(yyruleno==164); + case 431: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==431); + case 448: /* group_by_clause_opt ::= */ yytestcase(yyruleno==448); + case 464: /* order_by_clause_opt ::= */ yytestcase(yyruleno==464); +{ yymsp[1].minor.yy552 = NULL; } break; - case 138: /* column_def ::= column_name type_name */ -{ yylhsminor.yy212 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy329, yymsp[0].minor.yy34, NULL); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 134: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ +{ yymsp[-2].minor.yy552 = yymsp[-1].minor.yy552; } break; - case 139: /* column_def ::= column_name type_name COMMENT NK_STRING */ -{ yylhsminor.yy212 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy329, yymsp[-2].minor.yy34, &yymsp[0].minor.yy0); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + case 135: /* full_table_name ::= table_name */ +{ yylhsminor.yy248 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy401, NULL); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 140: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_BOOL); } + case 136: /* full_table_name ::= db_name NK_DOT table_name */ +{ yylhsminor.yy248 = createRealTableNode(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401, NULL); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 141: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_TINYINT); } + case 139: /* column_def ::= column_name type_name */ +{ yylhsminor.yy248 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy401, yymsp[0].minor.yy224, NULL); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 142: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_SMALLINT); } + case 140: /* column_def ::= column_name type_name COMMENT NK_STRING */ +{ yylhsminor.yy248 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy401, yymsp[-2].minor.yy224, &yymsp[0].minor.yy0); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 143: /* type_name ::= INT */ - case 144: /* type_name ::= INTEGER */ yytestcase(yyruleno==144); -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_INT); } + case 141: /* type_name ::= BOOL */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_BOOL); } break; - case 145: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_BIGINT); } + case 142: /* type_name ::= TINYINT */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; - case 146: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_FLOAT); } + case 143: /* type_name ::= SMALLINT */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; - case 147: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_DOUBLE); } + case 144: /* type_name ::= INT */ + case 145: /* type_name ::= INTEGER */ yytestcase(yyruleno==145); +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_INT); } break; - case 148: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } + case 146: /* type_name ::= BIGINT */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; - case 149: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } + case 147: /* type_name ::= FLOAT */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; - case 150: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } + case 148: /* type_name ::= DOUBLE */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; - case 151: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy34 = createDataType(TSDB_DATA_TYPE_UTINYINT); } + case 149: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ +{ yymsp[-3].minor.yy224 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; - case 152: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy34 = createDataType(TSDB_DATA_TYPE_USMALLINT); } + case 150: /* type_name ::= TIMESTAMP */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; - case 153: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy34 = createDataType(TSDB_DATA_TYPE_UINT); } + case 151: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ +{ yymsp[-3].minor.yy224 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; - case 154: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy34 = createDataType(TSDB_DATA_TYPE_UBIGINT); } + case 152: /* type_name ::= TINYINT UNSIGNED */ +{ yymsp[-1].minor.yy224 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; - case 155: /* type_name ::= JSON */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_JSON); } + case 153: /* type_name ::= SMALLINT UNSIGNED */ +{ yymsp[-1].minor.yy224 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; - case 156: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } + case 154: /* type_name ::= INT UNSIGNED */ +{ yymsp[-1].minor.yy224 = createDataType(TSDB_DATA_TYPE_UINT); } break; - case 157: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } + case 155: /* type_name ::= BIGINT UNSIGNED */ +{ yymsp[-1].minor.yy224 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; - case 158: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_BLOB); } + case 156: /* type_name ::= JSON */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_JSON); } break; - case 159: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } + case 157: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ +{ yymsp[-3].minor.yy224 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; - case 160: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy34 = createDataType(TSDB_DATA_TYPE_DECIMAL); } + case 158: /* type_name ::= MEDIUMBLOB */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; - case 161: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy34 = createDataType(TSDB_DATA_TYPE_DECIMAL); } + case 159: /* type_name ::= BLOB */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_BLOB); } break; - case 162: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy34 = createDataType(TSDB_DATA_TYPE_DECIMAL); } + case 160: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ +{ yymsp[-3].minor.yy224 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; - case 164: /* tags_def_opt ::= tags_def */ - case 366: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==366); -{ yylhsminor.yy424 = yymsp[0].minor.yy424; } - yymsp[0].minor.yy424 = yylhsminor.yy424; + case 161: /* type_name ::= DECIMAL */ +{ yymsp[0].minor.yy224 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 165: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ -{ yymsp[-3].minor.yy424 = yymsp[-1].minor.yy424; } + case 162: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ +{ yymsp[-3].minor.yy224 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 166: /* table_options ::= */ -{ yymsp[1].minor.yy212 = createDefaultTableOptions(pCxt); } + case 163: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ +{ yymsp[-5].minor.yy224 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 167: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-2].minor.yy212, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 165: /* tags_def_opt ::= tags_def */ + case 367: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==367); +{ yylhsminor.yy552 = yymsp[0].minor.yy552; } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; - case 168: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-2].minor.yy212, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy424); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 166: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ +{ yymsp[-3].minor.yy552 = yymsp[-1].minor.yy552; } break; - case 169: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-2].minor.yy212, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy424); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 167: /* table_options ::= */ +{ yymsp[1].minor.yy248 = createDefaultTableOptions(pCxt); } break; - case 170: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-4].minor.yy212, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy424); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + case 168: /* table_options ::= table_options COMMENT NK_STRING */ +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-2].minor.yy248, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 171: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-2].minor.yy212, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 169: /* table_options ::= table_options MAX_DELAY duration_list */ +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-2].minor.yy248, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy552); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 172: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-4].minor.yy212, TABLE_OPTION_SMA, yymsp[-1].minor.yy424); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + case 170: /* table_options ::= table_options WATERMARK duration_list */ +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-2].minor.yy248, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy552); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 173: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy212 = createAlterTableOptions(pCxt); yylhsminor.yy212 = setTableOption(pCxt, yylhsminor.yy212, yymsp[0].minor.yy245.type, &yymsp[0].minor.yy245.val); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 171: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-4].minor.yy248, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy552); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 174: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy212 = setTableOption(pCxt, yymsp[-1].minor.yy212, yymsp[0].minor.yy245.type, &yymsp[0].minor.yy245.val); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 172: /* table_options ::= table_options TTL NK_INTEGER */ +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-2].minor.yy248, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 175: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy245.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } + case 173: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-4].minor.yy248, TABLE_OPTION_SMA, yymsp[-1].minor.yy552); } + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 176: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy245.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy245.val = yymsp[0].minor.yy0; } + case 174: /* alter_table_options ::= alter_table_option */ +{ yylhsminor.yy248 = createAlterTableOptions(pCxt); yylhsminor.yy248 = setTableOption(pCxt, yylhsminor.yy248, yymsp[0].minor.yy301.type, &yymsp[0].minor.yy301.val); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 177: /* duration_list ::= duration_literal */ - case 334: /* expression_list ::= expression */ yytestcase(yyruleno==334); -{ yylhsminor.yy424 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy212)); } - yymsp[0].minor.yy424 = yylhsminor.yy424; + case 175: /* alter_table_options ::= alter_table_options alter_table_option */ +{ yylhsminor.yy248 = setTableOption(pCxt, yymsp[-1].minor.yy248, yymsp[0].minor.yy301.type, &yymsp[0].minor.yy301.val); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 178: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 335: /* expression_list ::= expression_list NK_COMMA expression */ yytestcase(yyruleno==335); -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, releaseRawExprNode(pCxt, yymsp[0].minor.yy212)); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; + case 176: /* alter_table_option ::= COMMENT NK_STRING */ +{ yymsp[-1].minor.yy301.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; - case 181: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy212 = createFunctionNode(pCxt, &yymsp[0].minor.yy329, NULL); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 177: /* alter_table_option ::= TTL NK_INTEGER */ +{ yymsp[-1].minor.yy301.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy301.val = yymsp[0].minor.yy0; } break; - case 182: /* rollup_func_name ::= FIRST */ - case 183: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==183); -{ yylhsminor.yy212 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 178: /* duration_list ::= duration_literal */ + case 335: /* expression_list ::= expression */ yytestcase(yyruleno==335); +{ yylhsminor.yy552 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy248)); } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; - case 186: /* col_name ::= column_name */ -{ yylhsminor.yy212 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy329); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 179: /* duration_list ::= duration_list NK_COMMA duration_literal */ + case 336: /* expression_list ::= expression_list NK_COMMA expression */ yytestcase(yyruleno==336); +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, releaseRawExprNode(pCxt, yymsp[0].minor.yy248)); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; break; - case 187: /* cmd ::= SHOW DNODES */ + case 182: /* rollup_func_name ::= function_name */ +{ yylhsminor.yy248 = createFunctionNode(pCxt, &yymsp[0].minor.yy401, NULL); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 183: /* rollup_func_name ::= FIRST */ + case 184: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==184); +{ yylhsminor.yy248 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 187: /* col_name ::= column_name */ +{ yylhsminor.yy248 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy401); } + yymsp[0].minor.yy248 = yylhsminor.yy248; + break; + case 188: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } break; - case 188: /* cmd ::= SHOW USERS */ + case 189: /* cmd ::= SHOW USERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_USERS_STMT); } break; - case 189: /* cmd ::= SHOW DATABASES */ + case 190: /* cmd ::= SHOW DATABASES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; - case 190: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy212, yymsp[0].minor.yy212, OP_TYPE_LIKE); } + case 191: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy248, yymsp[0].minor.yy248, OP_TYPE_LIKE); } break; - case 191: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy212, yymsp[0].minor.yy212, OP_TYPE_LIKE); } + case 192: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy248, yymsp[0].minor.yy248, OP_TYPE_LIKE); } break; - case 192: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy212, NULL, OP_TYPE_LIKE); } + case 193: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy248, NULL, OP_TYPE_LIKE); } break; - case 193: /* cmd ::= SHOW MNODES */ + case 194: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } break; - case 194: /* cmd ::= SHOW MODULES */ + case 195: /* cmd ::= SHOW MODULES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MODULES_STMT); } break; - case 195: /* cmd ::= SHOW QNODES */ + case 196: /* cmd ::= SHOW QNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QNODES_STMT); } break; - case 196: /* cmd ::= SHOW FUNCTIONS */ + case 197: /* cmd ::= SHOW FUNCTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; - case 197: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy212, yymsp[-1].minor.yy212, OP_TYPE_EQUAL); } + case 198: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy248, yymsp[-1].minor.yy248, OP_TYPE_EQUAL); } break; - case 198: /* cmd ::= SHOW STREAMS */ + case 199: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } break; - case 199: /* cmd ::= SHOW ACCOUNTS */ + case 200: /* cmd ::= SHOW ACCOUNTS */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } break; - case 200: /* cmd ::= SHOW APPS */ + case 201: /* cmd ::= SHOW APPS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_APPS_STMT); } break; - case 201: /* cmd ::= SHOW CONNECTIONS */ + case 202: /* cmd ::= SHOW CONNECTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONNECTIONS_STMT); } break; - case 202: /* cmd ::= SHOW LICENCE */ - case 203: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==203); + case 203: /* cmd ::= SHOW LICENCE */ + case 204: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==204); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCE_STMT); } break; - case 204: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy329); } + case 205: /* cmd ::= SHOW CREATE DATABASE db_name */ +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy401); } break; - case 205: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy212); } + case 206: /* cmd ::= SHOW CREATE TABLE full_table_name */ +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy248); } break; - case 206: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy212); } + case 207: /* cmd ::= SHOW CREATE STABLE full_table_name */ +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy248); } break; - case 207: /* cmd ::= SHOW QUERIES */ + case 208: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } break; - case 208: /* cmd ::= SHOW SCORES */ + case 209: /* cmd ::= SHOW SCORES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SCORES_STMT); } break; - case 209: /* cmd ::= SHOW TOPICS */ + case 210: /* cmd ::= SHOW TOPICS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TOPICS_STMT); } break; - case 210: /* cmd ::= SHOW VARIABLES */ + case 211: /* cmd ::= SHOW VARIABLES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_VARIABLES_STMT); } break; - case 211: /* cmd ::= SHOW LOCAL VARIABLES */ + case 212: /* cmd ::= SHOW LOCAL VARIABLES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; - case 212: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES */ + case 213: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES */ { pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-1].minor.yy0)); } break; - case 213: /* cmd ::= SHOW BNODES */ + case 214: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } break; - case 214: /* cmd ::= SHOW SNODES */ + case 215: /* cmd ::= SHOW SNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SNODES_STMT); } break; - case 215: /* cmd ::= SHOW CLUSTER */ + case 216: /* cmd ::= SHOW CLUSTER */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_STMT); } break; - case 216: /* cmd ::= SHOW TRANSACTIONS */ + case 217: /* cmd ::= SHOW TRANSACTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; - case 217: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy212); } + case 218: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy248); } break; - case 218: /* cmd ::= SHOW CONSUMERS */ + case 219: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } break; - case 219: /* cmd ::= SHOW SUBSCRIPTIONS */ + case 220: /* cmd ::= SHOW SUBSCRIPTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; - case 220: /* db_name_cond_opt ::= */ - case 225: /* from_db_opt ::= */ yytestcase(yyruleno==225); -{ yymsp[1].minor.yy212 = createDefaultDatabaseCondValue(pCxt); } + case 221: /* db_name_cond_opt ::= */ + case 226: /* from_db_opt ::= */ yytestcase(yyruleno==226); +{ yymsp[1].minor.yy248 = createDefaultDatabaseCondValue(pCxt); } break; - case 221: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy329); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 222: /* db_name_cond_opt ::= db_name NK_DOT */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy401); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 222: /* like_pattern_opt ::= */ - case 262: /* into_opt ::= */ yytestcase(yyruleno==262); - case 399: /* from_clause_opt ::= */ yytestcase(yyruleno==399); - case 428: /* where_clause_opt ::= */ yytestcase(yyruleno==428); - case 432: /* twindow_clause_opt ::= */ yytestcase(yyruleno==432); - case 437: /* sliding_opt ::= */ yytestcase(yyruleno==437); - case 439: /* fill_opt ::= */ yytestcase(yyruleno==439); - case 451: /* having_clause_opt ::= */ yytestcase(yyruleno==451); - case 453: /* range_opt ::= */ yytestcase(yyruleno==453); - case 455: /* every_opt ::= */ yytestcase(yyruleno==455); - case 465: /* slimit_clause_opt ::= */ yytestcase(yyruleno==465); - case 469: /* limit_clause_opt ::= */ yytestcase(yyruleno==469); -{ yymsp[1].minor.yy212 = NULL; } + case 223: /* like_pattern_opt ::= */ + case 263: /* into_opt ::= */ yytestcase(yyruleno==263); + case 400: /* from_clause_opt ::= */ yytestcase(yyruleno==400); + case 429: /* where_clause_opt ::= */ yytestcase(yyruleno==429); + case 433: /* twindow_clause_opt ::= */ yytestcase(yyruleno==433); + case 438: /* sliding_opt ::= */ yytestcase(yyruleno==438); + case 440: /* fill_opt ::= */ yytestcase(yyruleno==440); + case 452: /* having_clause_opt ::= */ yytestcase(yyruleno==452); + case 454: /* range_opt ::= */ yytestcase(yyruleno==454); + case 456: /* every_opt ::= */ yytestcase(yyruleno==456); + case 466: /* slimit_clause_opt ::= */ yytestcase(yyruleno==466); + case 470: /* limit_clause_opt ::= */ yytestcase(yyruleno==470); +{ yymsp[1].minor.yy248 = NULL; } break; - case 223: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + case 224: /* like_pattern_opt ::= LIKE NK_STRING */ +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; - case 224: /* table_name_cond ::= table_name */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy329); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 225: /* table_name_cond ::= table_name */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy401); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 226: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy329); } + case 227: /* from_db_opt ::= FROM db_name */ +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy401); } break; - case 227: /* cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy737, &yymsp[-3].minor.yy329, &yymsp[-1].minor.yy329, NULL, yymsp[0].minor.yy212); } + case 228: /* cmd ::= CREATE SMA INDEX not_exists_opt index_name ON table_name index_options */ +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy89, &yymsp[-3].minor.yy401, &yymsp[-1].minor.yy401, NULL, yymsp[0].minor.yy248); } break; - case 228: /* cmd ::= DROP INDEX exists_opt index_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } + case 229: /* cmd ::= DROP INDEX exists_opt index_name */ +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; - case 229: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy212 = createIndexOption(pCxt, yymsp[-7].minor.yy424, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), NULL, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } + case 230: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ +{ yymsp[-9].minor.yy248 = createIndexOption(pCxt, yymsp[-7].minor.yy552, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), NULL, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; - case 230: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-11].minor.yy212 = createIndexOption(pCxt, yymsp[-9].minor.yy424, releaseRawExprNode(pCxt, yymsp[-5].minor.yy212), releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } + case 231: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ +{ yymsp[-11].minor.yy248 = createIndexOption(pCxt, yymsp[-9].minor.yy552, releaseRawExprNode(pCxt, yymsp[-5].minor.yy248), releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; - case 233: /* func ::= function_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy212 = createFunctionNode(pCxt, &yymsp[-3].minor.yy329, yymsp[-1].minor.yy424); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + case 234: /* func ::= function_name NK_LP expression_list NK_RP */ +{ yylhsminor.yy248 = createFunctionNode(pCxt, &yymsp[-3].minor.yy401, yymsp[-1].minor.yy552); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 234: /* sma_stream_opt ::= */ - case 264: /* stream_options ::= */ yytestcase(yyruleno==264); -{ yymsp[1].minor.yy212 = createStreamOptions(pCxt); } + case 235: /* sma_stream_opt ::= */ + case 265: /* stream_options ::= */ yytestcase(yyruleno==265); +{ yymsp[1].minor.yy248 = createStreamOptions(pCxt); } break; - case 235: /* sma_stream_opt ::= stream_options WATERMARK duration_literal */ - case 268: /* stream_options ::= stream_options WATERMARK duration_literal */ yytestcase(yyruleno==268); -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy212); yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 236: /* sma_stream_opt ::= stream_options WATERMARK duration_literal */ + case 269: /* stream_options ::= stream_options WATERMARK duration_literal */ yytestcase(yyruleno==269); +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy248); yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 236: /* sma_stream_opt ::= stream_options MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy212); yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 237: /* sma_stream_opt ::= stream_options MAX_DELAY duration_literal */ +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy248); yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 237: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy737, &yymsp[-2].minor.yy329, yymsp[0].minor.yy212); } + case 238: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_expression */ +{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy89, &yymsp[-2].minor.yy401, yymsp[0].minor.yy248); } break; - case 238: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy737, &yymsp[-3].minor.yy329, &yymsp[0].minor.yy329, false); } + case 239: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy89, &yymsp[-3].minor.yy401, &yymsp[0].minor.yy401, false); } break; - case 239: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy737, &yymsp[-5].minor.yy329, &yymsp[0].minor.yy329, true); } + case 240: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy89, &yymsp[-5].minor.yy401, &yymsp[0].minor.yy401, true); } break; - case 240: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy737, &yymsp[-3].minor.yy329, yymsp[0].minor.yy212, false); } + case 241: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy89, &yymsp[-3].minor.yy401, yymsp[0].minor.yy248, false); } break; - case 241: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy737, &yymsp[-5].minor.yy329, yymsp[0].minor.yy212, true); } + case 242: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy89, &yymsp[-5].minor.yy401, yymsp[0].minor.yy248, true); } break; - case 242: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } + case 243: /* cmd ::= DROP TOPIC exists_opt topic_name */ +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; - case 243: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy737, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329); } + case 244: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ +{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy89, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401); } break; - case 244: /* cmd ::= DESC full_table_name */ - case 245: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==245); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy212); } + case 245: /* cmd ::= DESC full_table_name */ + case 246: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==246); +{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy248); } break; - case 246: /* cmd ::= RESET QUERY CACHE */ + case 247: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; - case 247: /* cmd ::= EXPLAIN analyze_opt explain_options query_expression */ -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy737, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } + case 248: /* cmd ::= EXPLAIN analyze_opt explain_options query_expression */ +{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy89, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; - case 249: /* analyze_opt ::= ANALYZE */ - case 257: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==257); - case 419: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==419); -{ yymsp[0].minor.yy737 = true; } + case 250: /* analyze_opt ::= ANALYZE */ + case 258: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==258); + case 420: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==420); +{ yymsp[0].minor.yy89 = true; } break; - case 250: /* explain_options ::= */ -{ yymsp[1].minor.yy212 = createDefaultExplainOptions(pCxt); } + case 251: /* explain_options ::= */ +{ yymsp[1].minor.yy248 = createDefaultExplainOptions(pCxt); } break; - case 251: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy212 = setExplainVerbose(pCxt, yymsp[-2].minor.yy212, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 252: /* explain_options ::= explain_options VERBOSE NK_BOOL */ +{ yylhsminor.yy248 = setExplainVerbose(pCxt, yymsp[-2].minor.yy248, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 252: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy212 = setExplainRatio(pCxt, yymsp[-2].minor.yy212, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 253: /* explain_options ::= explain_options RATIO NK_FLOAT */ +{ yylhsminor.yy248 = setExplainRatio(pCxt, yymsp[-2].minor.yy248, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 253: /* cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP */ -{ pCxt->pRootNode = createCompactStmt(pCxt, yymsp[-1].minor.yy424); } + case 254: /* cmd ::= COMPACT VNODES IN NK_LP integer_list NK_RP */ +{ pCxt->pRootNode = createCompactStmt(pCxt, yymsp[-1].minor.yy552); } break; - case 254: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ -{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-6].minor.yy737, yymsp[-8].minor.yy737, &yymsp[-5].minor.yy329, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy34, yymsp[0].minor.yy610); } + case 255: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ +{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-6].minor.yy89, yymsp[-8].minor.yy89, &yymsp[-5].minor.yy401, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy224, yymsp[0].minor.yy228); } break; - case 255: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } + case 256: /* cmd ::= DROP FUNCTION exists_opt function_name */ +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; - case 258: /* bufsize_opt ::= */ -{ yymsp[1].minor.yy610 = 0; } + case 259: /* bufsize_opt ::= */ +{ yymsp[1].minor.yy228 = 0; } break; - case 259: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ -{ yymsp[-1].minor.yy610 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } + case 260: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ +{ yymsp[-1].minor.yy228 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; - case 260: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression */ -{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-5].minor.yy737, &yymsp[-4].minor.yy329, yymsp[-2].minor.yy212, yymsp[-3].minor.yy212, yymsp[0].minor.yy212); } + case 261: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options into_opt AS query_expression */ +{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-5].minor.yy89, &yymsp[-4].minor.yy401, yymsp[-2].minor.yy248, yymsp[-3].minor.yy248, yymsp[0].minor.yy248); } break; - case 261: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy737, &yymsp[0].minor.yy329); } + case 262: /* cmd ::= DROP STREAM exists_opt stream_name */ +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy89, &yymsp[0].minor.yy401); } break; - case 263: /* into_opt ::= INTO full_table_name */ - case 400: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==400); - case 429: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==429); - case 452: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==452); -{ yymsp[-1].minor.yy212 = yymsp[0].minor.yy212; } + case 264: /* into_opt ::= INTO full_table_name */ + case 401: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==401); + case 430: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==430); + case 453: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==453); +{ yymsp[-1].minor.yy248 = yymsp[0].minor.yy248; } break; - case 265: /* stream_options ::= stream_options TRIGGER AT_ONCE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->triggerType = STREAM_TRIGGER_AT_ONCE; yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 266: /* stream_options ::= stream_options TRIGGER AT_ONCE */ +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->triggerType = STREAM_TRIGGER_AT_ONCE; yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 266: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 267: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 267: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-3].minor.yy212)->triggerType = STREAM_TRIGGER_MAX_DELAY; ((SStreamOptions*)yymsp[-3].minor.yy212)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy212); yylhsminor.yy212 = yymsp[-3].minor.yy212; } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + case 268: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ +{ ((SStreamOptions*)yymsp[-3].minor.yy248)->triggerType = STREAM_TRIGGER_MAX_DELAY; ((SStreamOptions*)yymsp[-3].minor.yy248)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy248); yylhsminor.yy248 = yymsp[-3].minor.yy248; } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 269: /* stream_options ::= stream_options IGNORE EXPIRED */ -{ ((SStreamOptions*)yymsp[-2].minor.yy212)->ignoreExpired = true; yylhsminor.yy212 = yymsp[-2].minor.yy212; } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 270: /* stream_options ::= stream_options IGNORE EXPIRED */ +{ ((SStreamOptions*)yymsp[-2].minor.yy248)->ignoreExpired = true; yylhsminor.yy248 = yymsp[-2].minor.yy248; } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 270: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 271: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 271: /* cmd ::= KILL QUERY NK_STRING */ + case 272: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 272: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 273: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 273: /* cmd ::= BALANCE VGROUP */ + case 274: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 274: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 275: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 275: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy424); } + case 276: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy552); } break; - case 276: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 277: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 277: /* dnode_list ::= DNODE NK_INTEGER */ -{ yymsp[-1].minor.yy424 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + case 278: /* dnode_list ::= DNODE NK_INTEGER */ +{ yymsp[-1].minor.yy552 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 279: /* cmd ::= SYNCDB db_name REPLICA */ -{ pCxt->pRootNode = createSyncdbStmt(pCxt, &yymsp[-1].minor.yy329); } + case 280: /* cmd ::= SYNCDB db_name REPLICA */ +{ pCxt->pRootNode = createSyncdbStmt(pCxt, &yymsp[-1].minor.yy401); } break; - case 280: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } + case 281: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; - case 282: /* cmd ::= INSERT INTO full_table_name specific_cols_opt query_expression */ -{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-2].minor.yy212, yymsp[-1].minor.yy424, yymsp[0].minor.yy212); } + case 283: /* cmd ::= INSERT INTO full_table_name specific_cols_opt query_expression */ +{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-2].minor.yy248, yymsp[-1].minor.yy552, yymsp[0].minor.yy248); } break; - case 283: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 284: /* literal ::= NK_INTEGER */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 284: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 285: /* literal ::= NK_FLOAT */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 285: /* literal ::= NK_STRING */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 286: /* literal ::= NK_STRING */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 286: /* literal ::= NK_BOOL */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 287: /* literal ::= NK_BOOL */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 287: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 288: /* literal ::= TIMESTAMP NK_STRING */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 288: /* literal ::= duration_literal */ - case 298: /* signed_literal ::= signed */ yytestcase(yyruleno==298); - case 318: /* expression ::= literal */ yytestcase(yyruleno==318); - case 319: /* expression ::= pseudo_column */ yytestcase(yyruleno==319); - case 320: /* expression ::= column_reference */ yytestcase(yyruleno==320); - case 321: /* expression ::= function_expression */ yytestcase(yyruleno==321); - case 322: /* expression ::= subquery */ yytestcase(yyruleno==322); - case 349: /* function_expression ::= literal_func */ yytestcase(yyruleno==349); - case 391: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==391); - case 395: /* boolean_primary ::= predicate */ yytestcase(yyruleno==395); - case 397: /* common_expression ::= expression */ yytestcase(yyruleno==397); - case 398: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==398); - case 401: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==401); - case 403: /* table_reference ::= table_primary */ yytestcase(yyruleno==403); - case 404: /* table_reference ::= joined_table */ yytestcase(yyruleno==404); - case 408: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==408); - case 458: /* query_expression_body ::= query_primary */ yytestcase(yyruleno==458); - case 461: /* query_primary ::= query_specification */ yytestcase(yyruleno==461); -{ yylhsminor.yy212 = yymsp[0].minor.yy212; } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 289: /* literal ::= duration_literal */ + case 299: /* signed_literal ::= signed */ yytestcase(yyruleno==299); + case 319: /* expression ::= literal */ yytestcase(yyruleno==319); + case 320: /* expression ::= pseudo_column */ yytestcase(yyruleno==320); + case 321: /* expression ::= column_reference */ yytestcase(yyruleno==321); + case 322: /* expression ::= function_expression */ yytestcase(yyruleno==322); + case 323: /* expression ::= subquery */ yytestcase(yyruleno==323); + case 350: /* function_expression ::= literal_func */ yytestcase(yyruleno==350); + case 392: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==392); + case 396: /* boolean_primary ::= predicate */ yytestcase(yyruleno==396); + case 398: /* common_expression ::= expression */ yytestcase(yyruleno==398); + case 399: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==399); + case 402: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==402); + case 404: /* table_reference ::= table_primary */ yytestcase(yyruleno==404); + case 405: /* table_reference ::= joined_table */ yytestcase(yyruleno==405); + case 409: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==409); + case 459: /* query_expression_body ::= query_primary */ yytestcase(yyruleno==459); + case 462: /* query_primary ::= query_specification */ yytestcase(yyruleno==462); +{ yylhsminor.yy248 = yymsp[0].minor.yy248; } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 289: /* literal ::= NULL */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 290: /* literal ::= NULL */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 290: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 291: /* literal ::= NK_QUESTION */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 291: /* duration_literal ::= NK_VARIABLE */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 292: /* duration_literal ::= NK_VARIABLE */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 292: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 293: /* signed ::= NK_INTEGER */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 293: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } + case 294: /* signed ::= NK_PLUS NK_INTEGER */ +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } break; - case 294: /* signed ::= NK_MINUS NK_INTEGER */ + case 295: /* signed ::= NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 295: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 296: /* signed ::= NK_FLOAT */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 296: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + case 297: /* signed ::= NK_PLUS NK_FLOAT */ +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 297: /* signed ::= NK_MINUS NK_FLOAT */ + case 298: /* signed ::= NK_MINUS NK_FLOAT */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 299: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 300: /* signed_literal ::= NK_STRING */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 300: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 301: /* signed_literal ::= NK_BOOL */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 301: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + case 302: /* signed_literal ::= TIMESTAMP NK_STRING */ +{ yymsp[-1].minor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 302: /* signed_literal ::= duration_literal */ - case 304: /* signed_literal ::= literal_func */ yytestcase(yyruleno==304); - case 369: /* star_func_para ::= expression */ yytestcase(yyruleno==369); - case 424: /* select_item ::= common_expression */ yytestcase(yyruleno==424); - case 474: /* search_condition ::= common_expression */ yytestcase(yyruleno==474); -{ yylhsminor.yy212 = releaseRawExprNode(pCxt, yymsp[0].minor.yy212); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 303: /* signed_literal ::= duration_literal */ + case 305: /* signed_literal ::= literal_func */ yytestcase(yyruleno==305); + case 370: /* star_func_para ::= expression */ yytestcase(yyruleno==370); + case 425: /* select_item ::= common_expression */ yytestcase(yyruleno==425); + case 475: /* search_condition ::= common_expression */ yytestcase(yyruleno==475); +{ yylhsminor.yy248 = releaseRawExprNode(pCxt, yymsp[0].minor.yy248); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 303: /* signed_literal ::= NULL */ -{ yylhsminor.yy212 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 304: /* signed_literal ::= NULL */ +{ yylhsminor.yy248 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 323: /* expression ::= NK_LP expression NK_RP */ - case 396: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==396); -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy212)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 324: /* expression ::= NK_LP expression NK_RP */ + case 397: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==397); +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy248)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 324: /* expression ::= NK_PLUS expression */ + case 325: /* expression ::= NK_PLUS expression */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy212)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy248)); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 325: /* expression ::= NK_MINUS expression */ + case 326: /* expression ::= NK_MINUS expression */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy212), NULL)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy248), NULL)); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 326: /* expression ::= expression NK_PLUS expression */ + case 327: /* expression ::= expression NK_PLUS expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 327: /* expression ::= expression NK_MINUS expression */ + case 328: /* expression ::= expression NK_MINUS expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 328: /* expression ::= expression NK_STAR expression */ + case 329: /* expression ::= expression NK_STAR expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 329: /* expression ::= expression NK_SLASH expression */ + case 330: /* expression ::= expression NK_SLASH expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 330: /* expression ::= expression NK_REM expression */ + case 331: /* expression ::= expression NK_REM expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 331: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 332: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 332: /* expression ::= expression NK_BITAND expression */ + case 333: /* expression ::= expression NK_BITAND expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 333: /* expression ::= expression NK_BITOR expression */ + case 334: /* expression ::= expression NK_BITOR expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 336: /* column_reference ::= column_name */ -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy329, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy329)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 337: /* column_reference ::= column_name */ +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy401, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy401)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 337: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329, createColumnNode(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy329)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 338: /* column_reference ::= table_name NK_DOT column_name */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401, createColumnNode(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy401)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 338: /* pseudo_column ::= ROWTS */ - case 339: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==339); - case 341: /* pseudo_column ::= QSTARTTS */ yytestcase(yyruleno==341); - case 342: /* pseudo_column ::= QENDTS */ yytestcase(yyruleno==342); - case 343: /* pseudo_column ::= WSTARTTS */ yytestcase(yyruleno==343); - case 344: /* pseudo_column ::= WENDTS */ yytestcase(yyruleno==344); - case 345: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==345); - case 351: /* literal_func ::= NOW */ yytestcase(yyruleno==351); -{ yylhsminor.yy212 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 339: /* pseudo_column ::= ROWTS */ + case 340: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==340); + case 342: /* pseudo_column ::= QSTARTTS */ yytestcase(yyruleno==342); + case 343: /* pseudo_column ::= QENDTS */ yytestcase(yyruleno==343); + case 344: /* pseudo_column ::= WSTARTTS */ yytestcase(yyruleno==344); + case 345: /* pseudo_column ::= WENDTS */ yytestcase(yyruleno==345); + case 346: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==346); + case 352: /* literal_func ::= NOW */ yytestcase(yyruleno==352); +{ yylhsminor.yy248 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 340: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy329)))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 341: /* pseudo_column ::= table_name NK_DOT TBNAME */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy401)))); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 346: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 347: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==347); -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy329, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy329, yymsp[-1].minor.yy424)); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + case 347: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 348: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==348); +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy401, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy401, yymsp[-1].minor.yy552)); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 348: /* function_expression ::= CAST NK_LP expression AS type_name NK_RP */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), yymsp[-1].minor.yy34)); } - yymsp[-5].minor.yy212 = yylhsminor.yy212; + case 349: /* function_expression ::= CAST NK_LP expression AS type_name NK_RP */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), yymsp[-1].minor.yy224)); } + yymsp[-5].minor.yy248 = yylhsminor.yy248; break; - case 350: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy329, NULL)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 351: /* literal_func ::= noarg_func NK_LP NK_RP */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy401, NULL)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 365: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy424 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy424 = yylhsminor.yy424; + case 366: /* star_func_para_list ::= NK_STAR */ +{ yylhsminor.yy552 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; - case 370: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 427: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==427); -{ yylhsminor.yy212 = createColumnNode(pCxt, &yymsp[-2].minor.yy329, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 371: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 428: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==428); +{ yylhsminor.yy248 = createColumnNode(pCxt, &yymsp[-2].minor.yy401, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 371: /* predicate ::= expression compare_op expression */ - case 376: /* predicate ::= expression in_op in_predicate_value */ yytestcase(yyruleno==376); + case 372: /* predicate ::= expression compare_op expression */ + case 377: /* predicate ::= expression in_op in_predicate_value */ yytestcase(yyruleno==377); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy290, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy716, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 372: /* predicate ::= expression BETWEEN expression AND expression */ + case 373: /* predicate ::= expression BETWEEN expression AND expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy212), releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy248), releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-4].minor.yy212 = yylhsminor.yy212; + yymsp[-4].minor.yy248 = yylhsminor.yy248; break; - case 373: /* predicate ::= expression NOT BETWEEN expression AND expression */ + case 374: /* predicate ::= expression NOT BETWEEN expression AND expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy212), releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy248), releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-5].minor.yy212 = yylhsminor.yy212; + yymsp[-5].minor.yy248 = yylhsminor.yy248; break; - case 374: /* predicate ::= expression IS NULL */ + case 375: /* predicate ::= expression IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), NULL)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 375: /* predicate ::= expression IS NOT NULL */ + case 376: /* predicate ::= expression IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), NULL)); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 377: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy290 = OP_TYPE_LOWER_THAN; } + case 378: /* compare_op ::= NK_LT */ +{ yymsp[0].minor.yy716 = OP_TYPE_LOWER_THAN; } break; - case 378: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy290 = OP_TYPE_GREATER_THAN; } + case 379: /* compare_op ::= NK_GT */ +{ yymsp[0].minor.yy716 = OP_TYPE_GREATER_THAN; } break; - case 379: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy290 = OP_TYPE_LOWER_EQUAL; } + case 380: /* compare_op ::= NK_LE */ +{ yymsp[0].minor.yy716 = OP_TYPE_LOWER_EQUAL; } break; - case 380: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy290 = OP_TYPE_GREATER_EQUAL; } + case 381: /* compare_op ::= NK_GE */ +{ yymsp[0].minor.yy716 = OP_TYPE_GREATER_EQUAL; } break; - case 381: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy290 = OP_TYPE_NOT_EQUAL; } + case 382: /* compare_op ::= NK_NE */ +{ yymsp[0].minor.yy716 = OP_TYPE_NOT_EQUAL; } break; - case 382: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy290 = OP_TYPE_EQUAL; } + case 383: /* compare_op ::= NK_EQ */ +{ yymsp[0].minor.yy716 = OP_TYPE_EQUAL; } break; - case 383: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy290 = OP_TYPE_LIKE; } + case 384: /* compare_op ::= LIKE */ +{ yymsp[0].minor.yy716 = OP_TYPE_LIKE; } break; - case 384: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy290 = OP_TYPE_NOT_LIKE; } + case 385: /* compare_op ::= NOT LIKE */ +{ yymsp[-1].minor.yy716 = OP_TYPE_NOT_LIKE; } break; - case 385: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy290 = OP_TYPE_MATCH; } + case 386: /* compare_op ::= MATCH */ +{ yymsp[0].minor.yy716 = OP_TYPE_MATCH; } break; - case 386: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy290 = OP_TYPE_NMATCH; } + case 387: /* compare_op ::= NMATCH */ +{ yymsp[0].minor.yy716 = OP_TYPE_NMATCH; } break; - case 387: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy290 = OP_TYPE_JSON_CONTAINS; } + case 388: /* compare_op ::= CONTAINS */ +{ yymsp[0].minor.yy716 = OP_TYPE_JSON_CONTAINS; } break; - case 388: /* in_op ::= IN */ -{ yymsp[0].minor.yy290 = OP_TYPE_IN; } + case 389: /* in_op ::= IN */ +{ yymsp[0].minor.yy716 = OP_TYPE_IN; } break; - case 389: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy290 = OP_TYPE_NOT_IN; } + case 390: /* in_op ::= NOT IN */ +{ yymsp[-1].minor.yy716 = OP_TYPE_NOT_IN; } break; - case 390: /* in_predicate_value ::= NK_LP expression_list NK_RP */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy424)); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 391: /* in_predicate_value ::= NK_LP expression_list NK_RP */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy552)); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 392: /* boolean_value_expression ::= NOT boolean_primary */ + case 393: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy212), NULL)); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy248), NULL)); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 393: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 394: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 394: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 395: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy212); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy212); - yylhsminor.yy212 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy248); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy248); + yylhsminor.yy248 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 402: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy212 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy212, yymsp[0].minor.yy212, NULL); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 403: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ +{ yylhsminor.yy248 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy248, yymsp[0].minor.yy248, NULL); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 405: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy212 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy329, &yymsp[0].minor.yy329); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 406: /* table_primary ::= table_name alias_opt */ +{ yylhsminor.yy248 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy401, &yymsp[0].minor.yy401); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 406: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy212 = createRealTableNode(pCxt, &yymsp[-3].minor.yy329, &yymsp[-1].minor.yy329, &yymsp[0].minor.yy329); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + case 407: /* table_primary ::= db_name NK_DOT table_name alias_opt */ +{ yylhsminor.yy248 = createRealTableNode(pCxt, &yymsp[-3].minor.yy401, &yymsp[-1].minor.yy401, &yymsp[0].minor.yy401); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 407: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy212 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy212), &yymsp[0].minor.yy329); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 408: /* table_primary ::= subquery alias_opt */ +{ yylhsminor.yy248 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy248), &yymsp[0].minor.yy401); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 409: /* alias_opt ::= */ -{ yymsp[1].minor.yy329 = nil_token; } + case 410: /* alias_opt ::= */ +{ yymsp[1].minor.yy401 = nil_token; } break; - case 410: /* alias_opt ::= table_alias */ -{ yylhsminor.yy329 = yymsp[0].minor.yy329; } - yymsp[0].minor.yy329 = yylhsminor.yy329; + case 411: /* alias_opt ::= table_alias */ +{ yylhsminor.yy401 = yymsp[0].minor.yy401; } + yymsp[0].minor.yy401 = yylhsminor.yy401; break; - case 411: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy329 = yymsp[0].minor.yy329; } + case 412: /* alias_opt ::= AS table_alias */ +{ yymsp[-1].minor.yy401 = yymsp[0].minor.yy401; } break; - case 412: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 413: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==413); -{ yymsp[-2].minor.yy212 = yymsp[-1].minor.yy212; } + case 413: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 414: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==414); +{ yymsp[-2].minor.yy248 = yymsp[-1].minor.yy248; } break; - case 414: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy212 = createJoinTableNode(pCxt, yymsp[-4].minor.yy162, yymsp[-5].minor.yy212, yymsp[-2].minor.yy212, yymsp[0].minor.yy212); } - yymsp[-5].minor.yy212 = yylhsminor.yy212; + case 415: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ +{ yylhsminor.yy248 = createJoinTableNode(pCxt, yymsp[-4].minor.yy52, yymsp[-5].minor.yy248, yymsp[-2].minor.yy248, yymsp[0].minor.yy248); } + yymsp[-5].minor.yy248 = yylhsminor.yy248; break; - case 415: /* join_type ::= */ -{ yymsp[1].minor.yy162 = JOIN_TYPE_INNER; } + case 416: /* join_type ::= */ +{ yymsp[1].minor.yy52 = JOIN_TYPE_INNER; } break; - case 416: /* join_type ::= INNER */ -{ yymsp[0].minor.yy162 = JOIN_TYPE_INNER; } + case 417: /* join_type ::= INNER */ +{ yymsp[0].minor.yy52 = JOIN_TYPE_INNER; } break; - case 417: /* query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + case 418: /* query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ { - yymsp[-11].minor.yy212 = createSelectStmt(pCxt, yymsp[-10].minor.yy737, yymsp[-9].minor.yy424, yymsp[-8].minor.yy212); - yymsp[-11].minor.yy212 = addWhereClause(pCxt, yymsp[-11].minor.yy212, yymsp[-7].minor.yy212); - yymsp[-11].minor.yy212 = addPartitionByClause(pCxt, yymsp[-11].minor.yy212, yymsp[-6].minor.yy424); - yymsp[-11].minor.yy212 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy212, yymsp[-2].minor.yy212); - yymsp[-11].minor.yy212 = addGroupByClause(pCxt, yymsp[-11].minor.yy212, yymsp[-1].minor.yy424); - yymsp[-11].minor.yy212 = addHavingClause(pCxt, yymsp[-11].minor.yy212, yymsp[0].minor.yy212); - yymsp[-11].minor.yy212 = addRangeClause(pCxt, yymsp[-11].minor.yy212, yymsp[-5].minor.yy212); - yymsp[-11].minor.yy212 = addEveryClause(pCxt, yymsp[-11].minor.yy212, yymsp[-4].minor.yy212); - yymsp[-11].minor.yy212 = addFillClause(pCxt, yymsp[-11].minor.yy212, yymsp[-3].minor.yy212); + yymsp[-11].minor.yy248 = createSelectStmt(pCxt, yymsp[-10].minor.yy89, yymsp[-9].minor.yy552, yymsp[-8].minor.yy248); + yymsp[-11].minor.yy248 = addWhereClause(pCxt, yymsp[-11].minor.yy248, yymsp[-7].minor.yy248); + yymsp[-11].minor.yy248 = addPartitionByClause(pCxt, yymsp[-11].minor.yy248, yymsp[-6].minor.yy552); + yymsp[-11].minor.yy248 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy248, yymsp[-2].minor.yy248); + yymsp[-11].minor.yy248 = addGroupByClause(pCxt, yymsp[-11].minor.yy248, yymsp[-1].minor.yy552); + yymsp[-11].minor.yy248 = addHavingClause(pCxt, yymsp[-11].minor.yy248, yymsp[0].minor.yy248); + yymsp[-11].minor.yy248 = addRangeClause(pCxt, yymsp[-11].minor.yy248, yymsp[-5].minor.yy248); + yymsp[-11].minor.yy248 = addEveryClause(pCxt, yymsp[-11].minor.yy248, yymsp[-4].minor.yy248); + yymsp[-11].minor.yy248 = addFillClause(pCxt, yymsp[-11].minor.yy248, yymsp[-3].minor.yy248); } break; - case 420: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy737 = false; } + case 421: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy89 = false; } break; - case 423: /* select_item ::= NK_STAR */ -{ yylhsminor.yy212 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy212 = yylhsminor.yy212; + case 424: /* select_item ::= NK_STAR */ +{ yylhsminor.yy248 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy248 = yylhsminor.yy248; break; - case 425: /* select_item ::= common_expression column_alias */ -{ yylhsminor.yy212 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy212), &yymsp[0].minor.yy329); } - yymsp[-1].minor.yy212 = yylhsminor.yy212; + case 426: /* select_item ::= common_expression column_alias */ +{ yylhsminor.yy248 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy248), &yymsp[0].minor.yy401); } + yymsp[-1].minor.yy248 = yylhsminor.yy248; break; - case 426: /* select_item ::= common_expression AS column_alias */ -{ yylhsminor.yy212 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), &yymsp[0].minor.yy329); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 427: /* select_item ::= common_expression AS column_alias */ +{ yylhsminor.yy248 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), &yymsp[0].minor.yy401); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 431: /* partition_by_clause_opt ::= PARTITION BY expression_list */ - case 448: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==448); - case 464: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==464); -{ yymsp[-2].minor.yy424 = yymsp[0].minor.yy424; } + case 432: /* partition_by_clause_opt ::= PARTITION BY expression_list */ + case 449: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==449); + case 465: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==465); +{ yymsp[-2].minor.yy552 = yymsp[0].minor.yy552; } break; - case 433: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ -{ yymsp[-5].minor.yy212 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), releaseRawExprNode(pCxt, yymsp[-1].minor.yy212)); } + case 434: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ +{ yymsp[-5].minor.yy248 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), releaseRawExprNode(pCxt, yymsp[-1].minor.yy248)); } break; - case 434: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ -{ yymsp[-3].minor.yy212 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy212)); } + case 435: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expression NK_RP */ +{ yymsp[-3].minor.yy248 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy248)); } break; - case 435: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy212 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), NULL, yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } + case 436: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-5].minor.yy248 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), NULL, yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; - case 436: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy212 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy212), releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), yymsp[-1].minor.yy212, yymsp[0].minor.yy212); } + case 437: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-7].minor.yy248 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy248), releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), yymsp[-1].minor.yy248, yymsp[0].minor.yy248); } break; - case 438: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - case 456: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==456); -{ yymsp[-3].minor.yy212 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy212); } + case 439: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + case 457: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==457); +{ yymsp[-3].minor.yy248 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy248); } break; - case 440: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy212 = createFillNode(pCxt, yymsp[-1].minor.yy294, NULL); } + case 441: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy248 = createFillNode(pCxt, yymsp[-1].minor.yy582, NULL); } break; - case 441: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ -{ yymsp[-5].minor.yy212 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy424)); } + case 442: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ +{ yymsp[-5].minor.yy248 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy552)); } break; - case 442: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy294 = FILL_MODE_NONE; } + case 443: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy582 = FILL_MODE_NONE; } break; - case 443: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy294 = FILL_MODE_PREV; } + case 444: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy582 = FILL_MODE_PREV; } break; - case 444: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy294 = FILL_MODE_NULL; } + case 445: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy582 = FILL_MODE_NULL; } break; - case 445: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy294 = FILL_MODE_LINEAR; } + case 446: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy582 = FILL_MODE_LINEAR; } break; - case 446: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy294 = FILL_MODE_NEXT; } + case 447: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy582 = FILL_MODE_NEXT; } break; - case 449: /* group_by_list ::= expression */ -{ yylhsminor.yy424 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); } - yymsp[0].minor.yy424 = yylhsminor.yy424; + case 450: /* group_by_list ::= expression */ +{ yylhsminor.yy552 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } + yymsp[0].minor.yy552 = yylhsminor.yy552; break; - case 450: /* group_by_list ::= group_by_list NK_COMMA expression */ -{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy212))); } - yymsp[-2].minor.yy424 = yylhsminor.yy424; + case 451: /* group_by_list ::= group_by_list NK_COMMA expression */ +{ yylhsminor.yy552 = addNodeToList(pCxt, yymsp[-2].minor.yy552, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy248))); } + yymsp[-2].minor.yy552 = yylhsminor.yy552; break; - case 454: /* range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ -{ yymsp[-5].minor.yy212 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy212), releaseRawExprNode(pCxt, yymsp[-1].minor.yy212)); } + case 455: /* range_opt ::= RANGE NK_LP expression NK_COMMA expression NK_RP */ +{ yymsp[-5].minor.yy248 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy248), releaseRawExprNode(pCxt, yymsp[-1].minor.yy248)); } break; - case 457: /* query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 458: /* query_expression ::= query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy212 = addOrderByClause(pCxt, yymsp[-3].minor.yy212, yymsp[-2].minor.yy424); - yylhsminor.yy212 = addSlimitClause(pCxt, yylhsminor.yy212, yymsp[-1].minor.yy212); - yylhsminor.yy212 = addLimitClause(pCxt, yylhsminor.yy212, yymsp[0].minor.yy212); + yylhsminor.yy248 = addOrderByClause(pCxt, yymsp[-3].minor.yy248, yymsp[-2].minor.yy552); + yylhsminor.yy248 = addSlimitClause(pCxt, yylhsminor.yy248, yymsp[-1].minor.yy248); + yylhsminor.yy248 = addLimitClause(pCxt, yylhsminor.yy248, yymsp[0].minor.yy248); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 459: /* query_expression_body ::= query_expression_body UNION ALL query_expression_body */ -{ yylhsminor.yy212 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy212, yymsp[0].minor.yy212); } - yymsp[-3].minor.yy212 = yylhsminor.yy212; + case 460: /* query_expression_body ::= query_expression_body UNION ALL query_expression_body */ +{ yylhsminor.yy248 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy248, yymsp[0].minor.yy248); } + yymsp[-3].minor.yy248 = yylhsminor.yy248; break; - case 460: /* query_expression_body ::= query_expression_body UNION query_expression_body */ -{ yylhsminor.yy212 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy212, yymsp[0].minor.yy212); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 461: /* query_expression_body ::= query_expression_body UNION query_expression_body */ +{ yylhsminor.yy248 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy248, yymsp[0].minor.yy248); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 462: /* query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ -{ yymsp[-5].minor.yy212 = yymsp[-4].minor.yy212; } - yy_destructor(yypParser,367,&yymsp[-3].minor); - yy_destructor(yypParser,368,&yymsp[-2].minor); - yy_destructor(yypParser,369,&yymsp[-1].minor); + case 463: /* query_primary ::= NK_LP query_expression_body order_by_clause_opt slimit_clause_opt limit_clause_opt NK_RP */ +{ yymsp[-5].minor.yy248 = yymsp[-4].minor.yy248; } + yy_destructor(yypParser,368,&yymsp[-3].minor); + yy_destructor(yypParser,369,&yymsp[-2].minor); + yy_destructor(yypParser,370,&yymsp[-1].minor); break; - case 466: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 470: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==470); -{ yymsp[-1].minor.yy212 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + case 467: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 471: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==471); +{ yymsp[-1].minor.yy248 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 467: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 471: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==471); -{ yymsp[-3].minor.yy212 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + case 468: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 472: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==472); +{ yymsp[-3].minor.yy248 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 468: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 472: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==472); -{ yymsp[-3].minor.yy212 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + case 469: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 473: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==473); +{ yymsp[-3].minor.yy248 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 473: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy212 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy212); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 474: /* subquery ::= NK_LP query_expression NK_RP */ +{ yylhsminor.yy248 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy248); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 477: /* sort_specification ::= expression ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy212 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy212), yymsp[-1].minor.yy188, yymsp[0].minor.yy607); } - yymsp[-2].minor.yy212 = yylhsminor.yy212; + case 478: /* sort_specification ::= expression ordering_specification_opt null_ordering_opt */ +{ yylhsminor.yy248 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy248), yymsp[-1].minor.yy482, yymsp[0].minor.yy345); } + yymsp[-2].minor.yy248 = yylhsminor.yy248; break; - case 478: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy188 = ORDER_ASC; } + case 479: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy482 = ORDER_ASC; } break; - case 479: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy188 = ORDER_ASC; } + case 480: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy482 = ORDER_ASC; } break; - case 480: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy188 = ORDER_DESC; } + case 481: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy482 = ORDER_DESC; } break; - case 481: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy607 = NULL_ORDER_DEFAULT; } + case 482: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy345 = NULL_ORDER_DEFAULT; } break; - case 482: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy607 = NULL_ORDER_FIRST; } + case 483: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy345 = NULL_ORDER_FIRST; } break; - case 483: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy607 = NULL_ORDER_LAST; } + case 484: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy345 = NULL_ORDER_LAST; } break; default: break;