From fbc9b2404ee89294da69257f021193495c7fc8a6 Mon Sep 17 00:00:00 2001 From: Xiaoyu Wang Date: Wed, 22 Mar 2023 09:53:56 +0800 Subject: [PATCH] feat: add sql command 'balance vgroup leader' --- include/common/ttokendef.h | 244 +- include/libs/nodes/nodes.h | 4 +- source/libs/parser/inc/sql.y | 1 + source/libs/parser/src/parTokenizer.c | 2 +- source/libs/parser/src/sql.c | 5748 +++++++++-------- .../parser/test/parAlterToBalanceTest.cpp | 17 + 6 files changed, 3018 insertions(+), 2998 deletions(-) diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index 9c21de1f8d..d1872240f7 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -223,128 +223,128 @@ #define TK_TRANSACTION 205 #define TK_BALANCE 206 #define TK_VGROUP 207 -#define TK_MERGE 208 -#define TK_REDISTRIBUTE 209 -#define TK_SPLIT 210 -#define TK_DELETE 211 -#define TK_INSERT 212 -#define TK_NULL 213 -#define TK_NK_QUESTION 214 -#define TK_NK_ARROW 215 -#define TK_ROWTS 216 -#define TK_QSTART 217 -#define TK_QEND 218 -#define TK_QDURATION 219 -#define TK_WSTART 220 -#define TK_WEND 221 -#define TK_WDURATION 222 -#define TK_IROWTS 223 -#define TK_ISFILLED 224 -#define TK_CAST 225 -#define TK_NOW 226 -#define TK_TODAY 227 -#define TK_TIMEZONE 228 -#define TK_CLIENT_VERSION 229 -#define TK_SERVER_VERSION 230 -#define TK_SERVER_STATUS 231 -#define TK_CURRENT_USER 232 -#define TK_CASE 233 -#define TK_WHEN 234 -#define TK_THEN 235 -#define TK_ELSE 236 -#define TK_BETWEEN 237 -#define TK_IS 238 -#define TK_NK_LT 239 -#define TK_NK_GT 240 -#define TK_NK_LE 241 -#define TK_NK_GE 242 -#define TK_NK_NE 243 -#define TK_MATCH 244 -#define TK_NMATCH 245 -#define TK_CONTAINS 246 -#define TK_IN 247 -#define TK_JOIN 248 -#define TK_INNER 249 -#define TK_SELECT 250 -#define TK_DISTINCT 251 -#define TK_WHERE 252 -#define TK_PARTITION 253 -#define TK_BY 254 -#define TK_SESSION 255 -#define TK_STATE_WINDOW 256 -#define TK_EVENT_WINDOW 257 -#define TK_SLIDING 258 -#define TK_FILL 259 -#define TK_VALUE 260 -#define TK_VALUE_F 261 -#define TK_NONE 262 -#define TK_PREV 263 -#define TK_NULL_F 264 -#define TK_LINEAR 265 -#define TK_NEXT 266 -#define TK_HAVING 267 -#define TK_RANGE 268 -#define TK_EVERY 269 -#define TK_ORDER 270 -#define TK_SLIMIT 271 -#define TK_SOFFSET 272 -#define TK_LIMIT 273 -#define TK_OFFSET 274 -#define TK_ASC 275 -#define TK_NULLS 276 -#define TK_ABORT 277 -#define TK_AFTER 278 -#define TK_ATTACH 279 -#define TK_BEFORE 280 -#define TK_BEGIN 281 -#define TK_BITAND 282 -#define TK_BITNOT 283 -#define TK_BITOR 284 -#define TK_BLOCKS 285 -#define TK_CHANGE 286 -#define TK_COMMA 287 -#define TK_CONCAT 288 -#define TK_CONFLICT 289 -#define TK_COPY 290 -#define TK_DEFERRED 291 -#define TK_DELIMITERS 292 -#define TK_DETACH 293 -#define TK_DIVIDE 294 -#define TK_DOT 295 -#define TK_EACH 296 -#define TK_FAIL 297 -#define TK_FILE 298 -#define TK_FOR 299 -#define TK_GLOB 300 -#define TK_ID 301 -#define TK_IMMEDIATE 302 -#define TK_IMPORT 303 -#define TK_INITIALLY 304 -#define TK_INSTEAD 305 -#define TK_ISNULL 306 -#define TK_KEY 307 -#define TK_MODULES 308 -#define TK_NK_BITNOT 309 -#define TK_NK_SEMI 310 -#define TK_NOTNULL 311 -#define TK_OF 312 -#define TK_PLUS 313 -#define TK_PRIVILEGE 314 -#define TK_RAISE 315 -#define TK_REPLACE 316 -#define TK_RESTRICT 317 -#define TK_ROW 318 -#define TK_SEMI 319 -#define TK_STAR 320 -#define TK_STATEMENT 321 -#define TK_STRICT 322 -#define TK_STRING 323 -#define TK_TIMES 324 -#define TK_VALUES 325 -#define TK_VARIABLE 326 -#define TK_VIEW 327 -#define TK_WAL 328 -#define TK_VGROUP_LEADER 329 +#define TK_LEADER 208 +#define TK_MERGE 209 +#define TK_REDISTRIBUTE 210 +#define TK_SPLIT 211 +#define TK_DELETE 212 +#define TK_INSERT 213 +#define TK_NULL 214 +#define TK_NK_QUESTION 215 +#define TK_NK_ARROW 216 +#define TK_ROWTS 217 +#define TK_QSTART 218 +#define TK_QEND 219 +#define TK_QDURATION 220 +#define TK_WSTART 221 +#define TK_WEND 222 +#define TK_WDURATION 223 +#define TK_IROWTS 224 +#define TK_ISFILLED 225 +#define TK_CAST 226 +#define TK_NOW 227 +#define TK_TODAY 228 +#define TK_TIMEZONE 229 +#define TK_CLIENT_VERSION 230 +#define TK_SERVER_VERSION 231 +#define TK_SERVER_STATUS 232 +#define TK_CURRENT_USER 233 +#define TK_CASE 234 +#define TK_WHEN 235 +#define TK_THEN 236 +#define TK_ELSE 237 +#define TK_BETWEEN 238 +#define TK_IS 239 +#define TK_NK_LT 240 +#define TK_NK_GT 241 +#define TK_NK_LE 242 +#define TK_NK_GE 243 +#define TK_NK_NE 244 +#define TK_MATCH 245 +#define TK_NMATCH 246 +#define TK_CONTAINS 247 +#define TK_IN 248 +#define TK_JOIN 249 +#define TK_INNER 250 +#define TK_SELECT 251 +#define TK_DISTINCT 252 +#define TK_WHERE 253 +#define TK_PARTITION 254 +#define TK_BY 255 +#define TK_SESSION 256 +#define TK_STATE_WINDOW 257 +#define TK_EVENT_WINDOW 258 +#define TK_SLIDING 259 +#define TK_FILL 260 +#define TK_VALUE 261 +#define TK_VALUE_F 262 +#define TK_NONE 263 +#define TK_PREV 264 +#define TK_NULL_F 265 +#define TK_LINEAR 266 +#define TK_NEXT 267 +#define TK_HAVING 268 +#define TK_RANGE 269 +#define TK_EVERY 270 +#define TK_ORDER 271 +#define TK_SLIMIT 272 +#define TK_SOFFSET 273 +#define TK_LIMIT 274 +#define TK_OFFSET 275 +#define TK_ASC 276 +#define TK_NULLS 277 +#define TK_ABORT 278 +#define TK_AFTER 279 +#define TK_ATTACH 280 +#define TK_BEFORE 281 +#define TK_BEGIN 282 +#define TK_BITAND 283 +#define TK_BITNOT 284 +#define TK_BITOR 285 +#define TK_BLOCKS 286 +#define TK_CHANGE 287 +#define TK_COMMA 288 +#define TK_CONCAT 289 +#define TK_CONFLICT 290 +#define TK_COPY 291 +#define TK_DEFERRED 292 +#define TK_DELIMITERS 293 +#define TK_DETACH 294 +#define TK_DIVIDE 295 +#define TK_DOT 296 +#define TK_EACH 297 +#define TK_FAIL 298 +#define TK_FILE 299 +#define TK_FOR 300 +#define TK_GLOB 301 +#define TK_ID 302 +#define TK_IMMEDIATE 303 +#define TK_IMPORT 304 +#define TK_INITIALLY 305 +#define TK_INSTEAD 306 +#define TK_ISNULL 307 +#define TK_KEY 308 +#define TK_MODULES 309 +#define TK_NK_BITNOT 310 +#define TK_NK_SEMI 311 +#define TK_NOTNULL 312 +#define TK_OF 313 +#define TK_PLUS 314 +#define TK_PRIVILEGE 315 +#define TK_RAISE 316 +#define TK_REPLACE 317 +#define TK_RESTRICT 318 +#define TK_ROW 319 +#define TK_SEMI 320 +#define TK_STAR 321 +#define TK_STATEMENT 322 +#define TK_STRICT 323 +#define TK_STRING 324 +#define TK_TIMES 325 +#define TK_VALUES 326 +#define TK_VARIABLE 327 +#define TK_VIEW 328 +#define TK_WAL 329 #define TK_NK_SPACE 600 #define TK_NK_COMMENT 601 diff --git a/include/libs/nodes/nodes.h b/include/libs/nodes/nodes.h index 0a92aa8c85..3556a8ac95 100644 --- a/include/libs/nodes/nodes.h +++ b/include/libs/nodes/nodes.h @@ -161,7 +161,6 @@ typedef enum ENodeType { QUERY_NODE_CREATE_STREAM_STMT, QUERY_NODE_DROP_STREAM_STMT, QUERY_NODE_BALANCE_VGROUP_STMT, - QUERY_NODE_BALANCE_VGROUP_LEADER_STMT, QUERY_NODE_MERGE_VGROUP_STMT, QUERY_NODE_REDISTRIBUTE_VGROUP_STMT, QUERY_NODE_SPLIT_VGROUP_STMT, @@ -210,7 +209,8 @@ typedef enum ENodeType { QUERY_NODE_INSERT_STMT, QUERY_NODE_QUERY, QUERY_NODE_SHOW_DB_ALIVE_STMT, - QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT, + QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT, + QUERY_NODE_BALANCE_VGROUP_LEADER_STMT, // logic plan node QUERY_NODE_LOGIC_PLAN_SCAN = 1000, diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index 72a0a70e36..623669bcf5 100644 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -597,6 +597,7 @@ cmd ::= KILL TRANSACTION NK_INTEGER(A). /************************************************ merge/redistribute/ vgroup ******************************************/ cmd ::= BALANCE VGROUP. { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } +cmd ::= BALANCE VGROUP LEADER. { pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt); } cmd ::= MERGE VGROUP NK_INTEGER(A) NK_INTEGER(B). { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &A, &B); } cmd ::= REDISTRIBUTE VGROUP NK_INTEGER(A) dnode_list(B). { pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &A, B); } cmd ::= SPLIT VGROUP NK_INTEGER(A). { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &A); } diff --git a/source/libs/parser/src/parTokenizer.c b/source/libs/parser/src/parTokenizer.c index d618c3fd6b..ed7e8acdee 100644 --- a/source/libs/parser/src/parTokenizer.c +++ b/source/libs/parser/src/parTokenizer.c @@ -127,6 +127,7 @@ static SKeyword keywordTable[] = { {"LANGUAGE", TK_LANGUAGE}, {"LAST", TK_LAST}, {"LAST_ROW", TK_LAST_ROW}, + {"LEADER", TK_LEADER}, {"LICENCES", TK_LICENCES}, {"LIKE", TK_LIKE}, {"LIMIT", TK_LIMIT}, @@ -250,7 +251,6 @@ static SKeyword keywordTable[] = { {"VERBOSE", TK_VERBOSE}, {"VGROUP", TK_VGROUP}, {"VGROUPS", TK_VGROUPS}, - {"VGROUP_LEADER", TK_VGROUP_LEADER}, {"VNODES", TK_VNODES}, {"WAL_FSYNC_PERIOD", TK_WAL_FSYNC_PERIOD}, {"WAL_LEVEL", TK_WAL_LEVEL}, diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index 8319bd38ee..bc890b97da 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 473 +#define YYNOCODE 474 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; - EOperatorType yy62; - SToken yy63; - EOrder yy158; - SNodeList* yy222; - SAlterOption yy233; - int32_t yy332; - int64_t yy393; - EJoinType yy574; - bool yy669; - ENullOrder yy675; - SDataType yy686; - int8_t yy707; - EFillMode yy822; - SNode* yy828; + int32_t yy136; + SDataType yy160; + SNodeList* yy172; + SNode* yy188; + int64_t yy189; + EOrder yy206; + EJoinType yy240; + int8_t yy371; + bool yy437; + SAlterOption yy653; + EFillMode yy654; + EOperatorType yy716; + SToken yy725; + ENullOrder yy913; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -139,17 +139,17 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 754 -#define YYNRULE 574 -#define YYNTOKEN 329 -#define YY_MAX_SHIFT 753 -#define YY_MIN_SHIFTREDUCE 1121 -#define YY_MAX_SHIFTREDUCE 1694 -#define YY_ERROR_ACTION 1695 -#define YY_ACCEPT_ACTION 1696 -#define YY_NO_ACTION 1697 -#define YY_MIN_REDUCE 1698 -#define YY_MAX_REDUCE 2271 +#define YYNSTATE 755 +#define YYNRULE 575 +#define YYNTOKEN 330 +#define YY_MAX_SHIFT 754 +#define YY_MIN_SHIFTREDUCE 1122 +#define YY_MAX_SHIFTREDUCE 1696 +#define YY_ERROR_ACTION 1697 +#define YY_ACCEPT_ACTION 1698 +#define YY_NO_ACTION 1699 +#define YY_MIN_REDUCE 1700 +#define YY_MAX_REDUCE 2274 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -216,773 +216,775 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (2833) +#define YY_ACTTAB_COUNT (2842) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 2069, 2247, 1980, 166, 2083, 2242, 491, 2101, 492, 1734, - /* 10 */ 1806, 2065, 45, 43, 1622, 600, 1980, 1978, 630, 2069, - /* 20 */ 385, 2246, 1471, 618, 1496, 2243, 2245, 2083, 376, 2186, - /* 30 */ 2065, 1977, 630, 1552, 2019, 1469, 1837, 2101, 44, 42, - /* 40 */ 41, 40, 39, 430, 642, 621, 2061, 2067, 366, 1173, - /* 50 */ 2051, 1172, 659, 629, 643, 2183, 139, 653, 1547, 2247, - /* 60 */ 2101, 599, 1914, 2242, 18, 2061, 2067, 367, 660, 350, - /* 70 */ 132, 1477, 167, 2051, 1710, 659, 653, 530, 1912, 2246, - /* 80 */ 1174, 240, 2082, 2243, 2244, 333, 2118, 1861, 642, 109, - /* 90 */ 2084, 663, 2086, 2087, 658, 2069, 653, 750, 65, 697, - /* 100 */ 14, 179, 507, 2171, 1973, 2082, 2065, 379, 2167, 2118, - /* 110 */ 45, 43, 168, 2084, 663, 2086, 2087, 658, 385, 653, - /* 120 */ 1471, 184, 270, 2179, 617, 1721, 133, 616, 73, 2197, - /* 130 */ 2242, 1552, 1173, 1469, 1172, 390, 1554, 1555, 1907, 1909, - /* 140 */ 606, 2061, 2067, 380, 2242, 605, 182, 222, 35, 291, - /* 150 */ 2243, 607, 653, 582, 2208, 273, 1547, 1838, 628, 605, - /* 160 */ 182, 642, 18, 1174, 2243, 607, 1527, 1537, 48, 1477, - /* 170 */ 1764, 2051, 1553, 1556, 38, 37, 178, 81, 44, 42, - /* 180 */ 41, 40, 39, 546, 545, 544, 1472, 509, 1470, 1901, - /* 190 */ 536, 136, 540, 176, 61, 750, 539, 61, 14, 92, - /* 200 */ 497, 538, 543, 61, 38, 37, 493, 537, 44, 42, - /* 210 */ 41, 40, 39, 1475, 1476, 1964, 1526, 1529, 1530, 1531, - /* 220 */ 1532, 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, 1548, - /* 230 */ 1549, 1550, 1551, 2, 1554, 1555, 727, 726, 725, 724, - /* 240 */ 395, 48, 723, 722, 143, 717, 716, 715, 714, 713, - /* 250 */ 712, 711, 156, 707, 706, 705, 394, 393, 702, 701, - /* 260 */ 700, 699, 698, 601, 1527, 1537, 596, 1661, 580, 695, - /* 270 */ 1553, 1556, 122, 1583, 1242, 121, 120, 119, 118, 117, - /* 280 */ 116, 115, 114, 113, 1472, 695, 1470, 154, 153, 692, - /* 290 */ 691, 690, 151, 38, 37, 697, 1154, 44, 42, 41, - /* 300 */ 40, 39, 1959, 154, 153, 692, 691, 690, 151, 1696, - /* 310 */ 1244, 1475, 1476, 190, 1526, 1529, 1530, 1531, 1532, 1533, - /* 320 */ 1534, 1535, 1536, 655, 651, 1545, 1546, 1548, 1549, 1550, - /* 330 */ 1551, 2, 11, 45, 43, 1156, 1839, 1159, 1160, 1496, - /* 340 */ 52, 385, 1299, 1471, 185, 32, 1959, 185, 1496, 345, - /* 350 */ 602, 597, 590, 185, 1552, 1588, 1469, 192, 1290, 685, - /* 360 */ 684, 683, 1294, 682, 1296, 1297, 681, 678, 86, 1305, - /* 370 */ 675, 1307, 1308, 672, 669, 1699, 31, 398, 2083, 1547, - /* 380 */ 147, 397, 38, 37, 354, 18, 44, 42, 41, 40, - /* 390 */ 39, 185, 1477, 1856, 1581, 500, 122, 492, 1734, 121, - /* 400 */ 120, 119, 118, 117, 116, 115, 114, 113, 38, 37, - /* 410 */ 629, 2101, 44, 42, 41, 40, 39, 377, 750, 657, - /* 420 */ 1499, 14, 468, 581, 2051, 164, 659, 2242, 61, 388, - /* 430 */ 1495, 45, 43, 1557, 1863, 282, 283, 161, 1959, 385, - /* 440 */ 281, 1471, 2248, 182, 364, 1497, 1863, 2243, 607, 196, - /* 450 */ 1582, 238, 1552, 1912, 1469, 237, 2082, 1554, 1555, 627, - /* 460 */ 2118, 1973, 569, 327, 2084, 663, 2086, 2087, 658, 656, - /* 470 */ 653, 644, 2136, 1698, 38, 37, 11, 1547, 44, 42, - /* 480 */ 41, 40, 39, 198, 197, 1388, 1389, 1527, 1537, 100, - /* 490 */ 1477, 1767, 490, 1553, 1556, 495, 1740, 131, 130, 129, - /* 500 */ 128, 127, 126, 125, 124, 123, 467, 1472, 499, 1470, - /* 510 */ 27, 495, 1740, 1854, 89, 340, 750, 424, 362, 46, - /* 520 */ 562, 423, 34, 383, 1576, 1577, 1578, 1579, 1580, 1584, - /* 530 */ 1585, 1586, 1587, 1720, 1475, 1476, 576, 1526, 1529, 1530, - /* 540 */ 1531, 1532, 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, - /* 550 */ 1548, 1549, 1550, 1551, 2, 1554, 1555, 546, 545, 544, - /* 560 */ 1477, 1333, 1334, 581, 536, 136, 540, 2242, 250, 49, - /* 570 */ 539, 1908, 1909, 1852, 106, 538, 543, 709, 185, 2051, - /* 580 */ 2083, 537, 2248, 182, 2065, 1527, 1537, 2243, 607, 33, - /* 590 */ 140, 1553, 1556, 13, 12, 38, 37, 1836, 1853, 44, - /* 600 */ 42, 41, 40, 39, 688, 1472, 2247, 1470, 542, 541, - /* 610 */ 38, 37, 560, 2101, 44, 42, 41, 40, 39, 2061, - /* 620 */ 2067, 660, 618, 1498, 1944, 558, 2051, 556, 659, 11, - /* 630 */ 653, 9, 1475, 1476, 86, 1526, 1529, 1530, 1531, 1532, - /* 640 */ 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, 1548, 1549, - /* 650 */ 1550, 1551, 2, 45, 43, 139, 248, 2083, 2082, 1857, - /* 660 */ 2070, 385, 2118, 1471, 643, 109, 2084, 663, 2086, 2087, - /* 670 */ 658, 2065, 653, 1497, 1552, 142, 1469, 149, 2142, 2171, - /* 680 */ 187, 38, 37, 379, 2167, 44, 42, 41, 40, 39, - /* 690 */ 2101, 1719, 176, 1595, 1498, 1914, 1754, 1861, 660, 1547, - /* 700 */ 90, 618, 363, 2051, 1684, 659, 2061, 2067, 1718, 695, - /* 710 */ 624, 1912, 1477, 352, 1963, 1650, 357, 653, 547, 185, - /* 720 */ 620, 180, 2179, 2180, 643, 137, 2184, 154, 153, 692, - /* 730 */ 691, 690, 151, 141, 139, 2082, 2142, 2051, 750, 2118, - /* 740 */ 54, 46, 169, 2084, 663, 2086, 2087, 658, 2246, 653, - /* 750 */ 1717, 45, 43, 643, 2051, 689, 581, 1861, 1905, 385, - /* 760 */ 2242, 1471, 593, 592, 1648, 1649, 1651, 1652, 1653, 428, - /* 770 */ 163, 272, 1552, 1850, 1469, 2248, 182, 1554, 1555, 448, - /* 780 */ 2243, 607, 358, 2186, 356, 355, 1861, 532, 447, 1405, - /* 790 */ 1406, 534, 629, 1846, 608, 2263, 2051, 1547, 1848, 2083, - /* 800 */ 181, 2179, 2180, 1716, 137, 2184, 1499, 1527, 1537, 2182, - /* 810 */ 1477, 1844, 533, 1553, 1556, 643, 38, 37, 2186, 643, - /* 820 */ 44, 42, 41, 40, 39, 1404, 1407, 1472, 687, 1470, - /* 830 */ 1914, 132, 2101, 1715, 2037, 429, 750, 373, 535, 14, - /* 840 */ 660, 638, 272, 1973, 2181, 2051, 1912, 659, 1861, 2051, - /* 850 */ 2044, 1691, 1861, 194, 1475, 1476, 1714, 1526, 1529, 1530, - /* 860 */ 1531, 1532, 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, - /* 870 */ 1548, 1549, 1550, 1551, 2, 1554, 1555, 2082, 245, 2051, - /* 880 */ 2045, 2118, 405, 1914, 110, 2084, 663, 2086, 2087, 658, - /* 890 */ 378, 653, 693, 388, 83, 1905, 581, 82, 2171, 1912, - /* 900 */ 2242, 164, 2051, 2168, 606, 1527, 1537, 1496, 2242, 1638, - /* 910 */ 1863, 1553, 1556, 721, 719, 2248, 182, 417, 61, 8, - /* 920 */ 2243, 607, 1253, 605, 182, 1472, 581, 1470, 2243, 607, - /* 930 */ 2242, 1914, 645, 1626, 2143, 1252, 1562, 654, 389, 1496, - /* 940 */ 419, 415, 1496, 1159, 1160, 2248, 182, 1912, 1690, 610, - /* 950 */ 2243, 607, 1475, 1476, 191, 1526, 1529, 1530, 1531, 1532, - /* 960 */ 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, 1548, 1549, - /* 970 */ 1550, 1551, 2, 1499, 336, 165, 1494, 643, 382, 381, - /* 980 */ 311, 567, 647, 461, 2143, 551, 475, 2083, 1485, 474, - /* 990 */ 41, 40, 39, 438, 309, 72, 1619, 477, 71, 1552, - /* 1000 */ 561, 1478, 1711, 422, 444, 421, 476, 2211, 694, 446, - /* 1010 */ 1861, 1905, 1471, 164, 236, 609, 205, 487, 485, 482, - /* 1020 */ 2101, 152, 1864, 618, 1547, 1469, 643, 581, 660, 554, - /* 1030 */ 420, 2242, 391, 2051, 548, 659, 1713, 1477, 643, 235, - /* 1040 */ 164, 534, 453, 1712, 2191, 1615, 2248, 182, 643, 1863, - /* 1050 */ 1914, 2243, 607, 1528, 454, 353, 139, 61, 710, 1861, - /* 1060 */ 1823, 1477, 533, 649, 508, 2082, 1913, 434, 185, 2118, - /* 1070 */ 1807, 1861, 109, 2084, 663, 2086, 2087, 658, 53, 653, - /* 1080 */ 69, 1861, 2051, 68, 2146, 1528, 2171, 750, 1528, 2051, - /* 1090 */ 379, 2167, 1709, 1708, 1480, 108, 472, 1707, 1747, 466, - /* 1100 */ 465, 464, 463, 460, 459, 458, 457, 456, 452, 451, - /* 1110 */ 450, 449, 335, 441, 440, 439, 643, 436, 435, 351, - /* 1120 */ 549, 249, 183, 2179, 2180, 613, 137, 2184, 643, 1615, - /* 1130 */ 305, 643, 1858, 1891, 152, 80, 79, 427, 2051, 2051, - /* 1140 */ 189, 2083, 643, 2051, 241, 239, 1257, 577, 51, 1861, - /* 1150 */ 3, 145, 1486, 134, 1481, 643, 1706, 643, 622, 1256, - /* 1160 */ 334, 1861, 1479, 413, 1861, 411, 407, 403, 400, 420, - /* 1170 */ 1705, 626, 2083, 286, 2101, 1861, 1472, 611, 1470, 1489, - /* 1180 */ 1491, 267, 621, 228, 643, 650, 226, 2051, 1861, 659, - /* 1190 */ 1861, 1440, 651, 1545, 1546, 1548, 1549, 1550, 1551, 643, - /* 1200 */ 640, 431, 2051, 1475, 1476, 2101, 1704, 185, 643, 643, - /* 1210 */ 1703, 1445, 1446, 660, 432, 641, 2051, 1861, 2051, 2082, - /* 1220 */ 659, 479, 2083, 2118, 292, 392, 109, 2084, 663, 2086, - /* 1230 */ 2087, 658, 1861, 653, 230, 1702, 1701, 229, 179, 2083, - /* 1240 */ 2171, 1861, 1861, 1618, 379, 2167, 232, 1483, 234, 231, - /* 1250 */ 2082, 233, 2051, 594, 2118, 2101, 2051, 109, 2084, 663, - /* 1260 */ 2086, 2087, 658, 660, 653, 152, 2198, 1745, 2051, 2262, - /* 1270 */ 659, 2171, 2101, 63, 221, 379, 2167, 564, 63, 563, - /* 1280 */ 660, 2051, 2051, 261, 254, 2051, 2205, 659, 105, 552, - /* 1290 */ 1693, 1694, 2102, 152, 396, 13, 12, 47, 102, 2083, - /* 1300 */ 2082, 279, 70, 2072, 2118, 150, 152, 168, 2084, 663, - /* 1310 */ 2086, 2087, 658, 63, 653, 1482, 1968, 2082, 1735, 2083, - /* 1320 */ 1902, 2118, 1443, 47, 109, 2084, 663, 2086, 2087, 658, - /* 1330 */ 1647, 653, 2101, 2201, 1573, 1646, 2262, 753, 2171, 703, - /* 1340 */ 660, 256, 379, 2167, 619, 2051, 1741, 659, 269, 2209, - /* 1350 */ 625, 298, 2101, 2218, 1402, 614, 2074, 47, 284, 635, - /* 1360 */ 660, 1222, 288, 1283, 667, 2051, 175, 659, 150, 152, - /* 1370 */ 1589, 704, 743, 739, 735, 731, 296, 2082, 266, 135, - /* 1380 */ 1538, 2118, 150, 1203, 109, 2084, 663, 2086, 2087, 658, - /* 1390 */ 1, 653, 4, 1220, 399, 745, 2262, 2082, 2171, 404, - /* 1400 */ 349, 2118, 379, 2167, 109, 2084, 663, 2086, 2087, 658, - /* 1410 */ 1425, 653, 299, 588, 304, 195, 2262, 107, 2171, 1204, - /* 1420 */ 289, 1311, 379, 2167, 433, 1315, 1322, 1499, 2083, 1969, - /* 1430 */ 437, 470, 442, 2236, 1494, 223, 1320, 455, 462, 155, - /* 1440 */ 1961, 469, 480, 471, 481, 478, 483, 200, 2083, 484, - /* 1450 */ 171, 199, 639, 202, 486, 488, 526, 522, 518, 514, - /* 1460 */ 220, 2101, 1500, 489, 1502, 498, 501, 1497, 208, 660, - /* 1470 */ 1501, 502, 210, 503, 2051, 1503, 659, 506, 504, 213, - /* 1480 */ 215, 2101, 1176, 84, 85, 510, 527, 276, 531, 660, - /* 1490 */ 529, 528, 275, 219, 2051, 111, 659, 2028, 2025, 339, - /* 1500 */ 1851, 87, 566, 2024, 218, 88, 2082, 571, 1432, 300, - /* 1510 */ 2118, 243, 568, 109, 2084, 663, 2086, 2087, 658, 148, - /* 1520 */ 653, 242, 2083, 225, 1847, 2262, 2082, 2171, 227, 157, - /* 1530 */ 2118, 379, 2167, 109, 2084, 663, 2086, 2087, 658, 158, - /* 1540 */ 653, 1849, 2190, 1845, 570, 2144, 2083, 2171, 159, 160, - /* 1550 */ 572, 379, 2167, 244, 246, 2101, 578, 2202, 2212, 585, - /* 1560 */ 575, 595, 633, 660, 2217, 252, 255, 591, 2051, 368, - /* 1570 */ 659, 217, 211, 598, 7, 604, 216, 586, 505, 2101, - /* 1580 */ 584, 2216, 583, 265, 615, 369, 1615, 660, 612, 2265, - /* 1590 */ 138, 262, 2051, 1498, 659, 209, 2083, 2193, 2187, 623, - /* 1600 */ 2082, 372, 172, 263, 2118, 1504, 260, 109, 2084, 663, - /* 1610 */ 2086, 2087, 658, 2083, 653, 274, 264, 95, 268, 646, - /* 1620 */ 301, 2171, 1974, 2241, 2082, 379, 2167, 636, 2118, 2101, - /* 1630 */ 631, 110, 2084, 663, 2086, 2087, 658, 660, 653, 302, - /* 1640 */ 637, 632, 2051, 1988, 659, 2171, 2101, 97, 1987, 2170, - /* 1650 */ 2167, 303, 1986, 375, 660, 1862, 60, 2152, 99, 2051, - /* 1660 */ 101, 659, 665, 1906, 746, 1824, 295, 306, 747, 310, - /* 1670 */ 749, 341, 50, 2083, 2082, 315, 2043, 308, 2118, 2042, - /* 1680 */ 342, 321, 2084, 663, 2086, 2087, 658, 329, 653, 330, - /* 1690 */ 319, 2082, 2041, 2083, 77, 2118, 2038, 401, 110, 2084, - /* 1700 */ 663, 2086, 2087, 658, 402, 653, 2101, 1462, 1463, 188, - /* 1710 */ 406, 2036, 2171, 408, 660, 409, 648, 2167, 410, 2051, - /* 1720 */ 2035, 659, 412, 2034, 414, 603, 2101, 2033, 416, 2032, - /* 1730 */ 418, 78, 1428, 1427, 660, 2000, 1999, 1998, 426, 2051, - /* 1740 */ 425, 659, 1997, 1996, 1379, 1952, 1951, 1949, 1948, 144, - /* 1750 */ 1947, 661, 1950, 1946, 1945, 2118, 2083, 1943, 110, 2084, - /* 1760 */ 663, 2086, 2087, 658, 1942, 653, 1941, 193, 443, 1940, - /* 1770 */ 445, 2082, 2171, 1954, 1939, 2118, 344, 2167, 169, 2084, - /* 1780 */ 663, 2086, 2087, 658, 1381, 653, 1938, 1937, 1936, 2101, - /* 1790 */ 1935, 1934, 1933, 1932, 374, 1931, 1930, 660, 1929, 1928, - /* 1800 */ 1927, 1926, 2051, 1925, 659, 146, 1924, 1923, 1922, 1953, - /* 1810 */ 1921, 1920, 1919, 1918, 2083, 1917, 473, 1916, 1915, 1254, - /* 1820 */ 337, 338, 1770, 201, 1258, 1769, 203, 1768, 204, 1250, - /* 1830 */ 1766, 2264, 1730, 177, 2082, 1162, 1729, 1161, 2118, 2083, - /* 1840 */ 2015, 328, 2084, 663, 2086, 2087, 658, 2101, 653, 2007, - /* 1850 */ 1995, 2071, 494, 1994, 1972, 657, 206, 1840, 75, 76, - /* 1860 */ 2051, 214, 659, 496, 207, 212, 1765, 1763, 511, 1761, - /* 1870 */ 515, 1759, 2101, 513, 519, 1757, 517, 384, 1744, 512, - /* 1880 */ 660, 523, 521, 525, 1743, 2051, 516, 659, 1726, 520, - /* 1890 */ 1842, 62, 2082, 1196, 1327, 524, 2118, 1841, 1326, 327, - /* 1900 */ 2084, 663, 2086, 2087, 658, 1241, 653, 1240, 2137, 1239, - /* 1910 */ 1755, 1232, 2083, 1748, 1238, 1237, 1234, 2082, 1233, 1746, - /* 1920 */ 1231, 2118, 359, 360, 328, 2084, 663, 2086, 2087, 658, - /* 1930 */ 718, 653, 550, 2083, 361, 720, 224, 553, 1725, 555, - /* 1940 */ 1724, 557, 1723, 559, 112, 2101, 1450, 2014, 26, 1452, - /* 1950 */ 386, 1449, 1454, 660, 1436, 66, 2006, 573, 2051, 1993, - /* 1960 */ 659, 1434, 2083, 1991, 162, 2247, 2101, 19, 16, 1663, - /* 1970 */ 20, 58, 59, 28, 660, 258, 259, 251, 30, 2051, - /* 1980 */ 64, 659, 17, 2083, 2072, 587, 1678, 21, 5, 6, - /* 1990 */ 2082, 589, 1677, 370, 2118, 2101, 253, 328, 2084, 663, - /* 2000 */ 2086, 2087, 658, 660, 653, 1682, 1645, 170, 2051, 257, - /* 2010 */ 659, 565, 271, 55, 1681, 2118, 2101, 29, 323, 2084, - /* 2020 */ 663, 2086, 2087, 658, 660, 653, 574, 579, 371, 2051, - /* 2030 */ 247, 659, 365, 2083, 1637, 57, 91, 173, 1992, 1990, - /* 2040 */ 2082, 1989, 1683, 1971, 2118, 1684, 1612, 312, 2084, 663, - /* 2050 */ 2086, 2087, 658, 1611, 653, 93, 94, 277, 2083, 96, - /* 2060 */ 22, 2082, 278, 1970, 280, 2118, 2101, 1643, 313, 2084, - /* 2070 */ 663, 2086, 2087, 658, 660, 653, 285, 287, 67, 2051, - /* 2080 */ 290, 659, 98, 102, 23, 1564, 634, 1563, 12, 1487, - /* 2090 */ 1519, 2101, 2121, 2083, 174, 1542, 1540, 652, 10, 660, - /* 2100 */ 36, 186, 1539, 15, 2051, 24, 659, 1574, 1511, 25, - /* 2110 */ 56, 2082, 1312, 662, 666, 2118, 2083, 664, 314, 2084, - /* 2120 */ 663, 2086, 2087, 658, 387, 653, 2101, 668, 670, 1309, - /* 2130 */ 671, 673, 1306, 1300, 660, 674, 2082, 676, 1298, 2051, - /* 2140 */ 2118, 659, 677, 320, 2084, 663, 2086, 2087, 658, 2101, - /* 2150 */ 653, 679, 680, 1289, 293, 103, 104, 660, 1321, 1304, - /* 2160 */ 686, 74, 2051, 1317, 659, 1194, 1248, 1303, 1302, 1301, - /* 2170 */ 696, 2082, 1228, 1227, 2083, 2118, 708, 1226, 324, 2084, - /* 2180 */ 663, 2086, 2087, 658, 1225, 653, 1224, 1223, 1221, 1219, - /* 2190 */ 1218, 1217, 294, 2083, 2082, 1215, 1214, 1213, 2118, 1212, - /* 2200 */ 1211, 316, 2084, 663, 2086, 2087, 658, 2101, 653, 1210, - /* 2210 */ 1245, 1209, 1200, 1243, 1206, 660, 1205, 1202, 1201, 1199, - /* 2220 */ 2051, 1762, 659, 728, 730, 1760, 2101, 732, 729, 1758, - /* 2230 */ 734, 736, 738, 1756, 660, 733, 740, 737, 742, 2051, - /* 2240 */ 1742, 659, 741, 744, 1151, 1722, 297, 748, 1697, 1473, - /* 2250 */ 307, 751, 2082, 1697, 2083, 1697, 2118, 752, 1697, 325, - /* 2260 */ 2084, 663, 2086, 2087, 658, 1697, 653, 1697, 1697, 1697, - /* 2270 */ 1697, 2082, 1697, 1697, 1697, 2118, 1697, 1697, 317, 2084, - /* 2280 */ 663, 2086, 2087, 658, 1697, 653, 1697, 2101, 1697, 1697, - /* 2290 */ 1697, 1697, 1697, 1697, 1697, 660, 1697, 1697, 1697, 1697, - /* 2300 */ 2051, 1697, 659, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2310 */ 1697, 1697, 2083, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2320 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2083, 1697, - /* 2330 */ 1697, 1697, 2082, 1697, 1697, 1697, 2118, 1697, 1697, 326, - /* 2340 */ 2084, 663, 2086, 2087, 658, 2101, 653, 1697, 1697, 1697, - /* 2350 */ 1697, 1697, 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, - /* 2360 */ 659, 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, - /* 2370 */ 1697, 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, - /* 2380 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2390 */ 2082, 2083, 1697, 1697, 2118, 1697, 1697, 318, 2084, 663, - /* 2400 */ 2086, 2087, 658, 1697, 653, 1697, 2082, 2083, 1697, 1697, - /* 2410 */ 2118, 1697, 1697, 331, 2084, 663, 2086, 2087, 658, 1697, - /* 2420 */ 653, 1697, 1697, 1697, 2101, 1697, 2083, 1697, 1697, 1697, - /* 2430 */ 1697, 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, 659, - /* 2440 */ 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, - /* 2450 */ 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, 2101, - /* 2460 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, 2082, - /* 2470 */ 1697, 1697, 2051, 2118, 659, 1697, 332, 2084, 663, 2086, - /* 2480 */ 2087, 658, 1697, 653, 1697, 2082, 1697, 1697, 1697, 2118, - /* 2490 */ 2083, 1697, 2095, 2084, 663, 2086, 2087, 658, 1697, 653, - /* 2500 */ 1697, 1697, 1697, 1697, 2082, 1697, 1697, 2083, 2118, 1697, - /* 2510 */ 1697, 2094, 2084, 663, 2086, 2087, 658, 1697, 653, 1697, - /* 2520 */ 1697, 1697, 1697, 2101, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2530 */ 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, 659, 1697, - /* 2540 */ 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, - /* 2550 */ 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, 1697, - /* 2560 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2083, 2082, 1697, - /* 2570 */ 1697, 1697, 2118, 1697, 1697, 2093, 2084, 663, 2086, 2087, - /* 2580 */ 658, 1697, 653, 1697, 1697, 2082, 1697, 2083, 1697, 2118, - /* 2590 */ 1697, 1697, 346, 2084, 663, 2086, 2087, 658, 1697, 653, - /* 2600 */ 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, - /* 2610 */ 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, 1697, - /* 2620 */ 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, - /* 2630 */ 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, 1697, - /* 2640 */ 1697, 1697, 1697, 1697, 1697, 2082, 1697, 1697, 1697, 2118, - /* 2650 */ 1697, 1697, 347, 2084, 663, 2086, 2087, 658, 1697, 653, - /* 2660 */ 1697, 2083, 1697, 1697, 1697, 2082, 1697, 1697, 1697, 2118, - /* 2670 */ 1697, 1697, 343, 2084, 663, 2086, 2087, 658, 2083, 653, - /* 2680 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2690 */ 1697, 1697, 1697, 1697, 2101, 1697, 1697, 1697, 1697, 1697, - /* 2700 */ 1697, 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, 659, - /* 2710 */ 1697, 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, - /* 2720 */ 1697, 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, - /* 2730 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2082, - /* 2740 */ 2083, 1697, 1697, 2118, 1697, 1697, 348, 2084, 663, 2086, - /* 2750 */ 2087, 658, 1697, 653, 1697, 1697, 661, 1697, 1697, 1697, - /* 2760 */ 2118, 1697, 1697, 323, 2084, 663, 2086, 2087, 658, 1697, - /* 2770 */ 653, 1697, 1697, 2101, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2780 */ 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, 659, 1697, - /* 2790 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2800 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2810 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2082, 1697, - /* 2820 */ 1697, 1697, 2118, 1697, 1697, 322, 2084, 663, 2086, 2087, - /* 2830 */ 658, 1697, 653, + /* 0 */ 1854, 1982, 425, 1916, 625, 492, 424, 493, 1736, 164, + /* 10 */ 364, 2068, 45, 43, 1624, 1698, 1980, 631, 1866, 1914, + /* 20 */ 386, 431, 1473, 391, 38, 37, 1909, 1911, 44, 42, + /* 30 */ 41, 40, 39, 1554, 122, 1471, 1766, 121, 120, 119, + /* 40 */ 118, 117, 116, 115, 114, 113, 2064, 2070, 582, 498, + /* 50 */ 582, 1498, 2245, 2086, 2245, 494, 2250, 654, 1549, 501, + /* 60 */ 2245, 493, 1736, 333, 18, 1499, 1621, 2251, 182, 2251, + /* 70 */ 182, 1479, 2246, 608, 2246, 608, 2249, 1916, 35, 291, + /* 80 */ 2246, 2248, 86, 399, 351, 510, 2104, 398, 44, 42, + /* 90 */ 41, 40, 39, 1914, 622, 1910, 1911, 751, 355, 2054, + /* 100 */ 14, 660, 728, 727, 726, 725, 396, 1858, 724, 723, + /* 110 */ 143, 718, 717, 716, 715, 714, 713, 712, 156, 708, + /* 120 */ 707, 706, 395, 394, 703, 702, 701, 700, 699, 582, + /* 130 */ 2021, 2085, 1174, 2245, 1173, 2121, 1556, 1557, 109, 2087, + /* 140 */ 664, 2089, 2090, 659, 643, 654, 1982, 222, 2251, 182, + /* 150 */ 179, 65, 2174, 2246, 608, 607, 380, 2170, 377, 2245, + /* 160 */ 644, 1979, 631, 1175, 619, 607, 1529, 1539, 643, 2245, + /* 170 */ 184, 1916, 1555, 1558, 606, 182, 132, 240, 2200, 2246, + /* 180 */ 608, 1334, 1335, 531, 606, 182, 1474, 1915, 1472, 2246, + /* 190 */ 608, 1916, 629, 1863, 1693, 38, 37, 139, 374, 44, + /* 200 */ 42, 41, 40, 39, 38, 37, 602, 1914, 44, 42, + /* 210 */ 41, 40, 39, 2086, 1477, 1478, 1501, 1528, 1531, 1532, + /* 220 */ 1533, 1534, 1535, 1536, 1537, 1538, 656, 652, 1547, 1548, + /* 230 */ 1550, 1551, 1552, 1553, 2, 45, 43, 1916, 643, 1498, + /* 240 */ 336, 1498, 1496, 386, 379, 1473, 2104, 61, 48, 462, + /* 250 */ 619, 345, 476, 1914, 661, 475, 1554, 644, 1471, 2054, + /* 260 */ 176, 660, 621, 180, 2182, 2183, 698, 137, 2187, 389, + /* 270 */ 445, 1497, 477, 132, 167, 447, 1712, 161, 2073, 1652, + /* 280 */ 536, 1549, 1966, 139, 365, 176, 1865, 18, 2040, 2068, + /* 290 */ 1863, 2085, 1692, 1914, 1479, 2121, 1583, 166, 109, 2087, + /* 300 */ 664, 2089, 2090, 659, 1808, 654, 353, 1965, 142, 1585, + /* 310 */ 149, 2145, 2174, 1701, 1620, 2086, 380, 2170, 48, 61, + /* 320 */ 751, 354, 1946, 14, 2064, 2070, 594, 593, 1650, 1651, + /* 330 */ 1653, 1654, 1655, 435, 122, 654, 406, 121, 120, 119, + /* 340 */ 118, 117, 116, 115, 114, 113, 543, 542, 2104, 181, + /* 350 */ 2182, 2183, 1584, 137, 2187, 1174, 661, 1173, 570, 1556, + /* 360 */ 1557, 2054, 473, 660, 250, 467, 466, 465, 464, 461, + /* 370 */ 460, 459, 458, 457, 453, 452, 451, 450, 335, 442, + /* 380 */ 441, 440, 32, 437, 436, 352, 1175, 1389, 1390, 1529, + /* 390 */ 1539, 11, 1590, 2085, 61, 1555, 1558, 2121, 185, 185, + /* 400 */ 109, 2087, 664, 2089, 2090, 659, 597, 654, 1479, 1474, + /* 410 */ 358, 1472, 2149, 646, 2174, 2146, 38, 37, 380, 2170, + /* 420 */ 44, 42, 41, 40, 39, 34, 384, 1578, 1579, 1580, + /* 430 */ 1581, 1582, 1586, 1587, 1588, 1589, 239, 1477, 1478, 418, + /* 440 */ 1528, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 656, + /* 450 */ 652, 1547, 1548, 1550, 1551, 1552, 1553, 2, 11, 45, + /* 460 */ 43, 491, 420, 416, 496, 1742, 1628, 386, 1500, 1473, + /* 470 */ 185, 2086, 1498, 11, 223, 9, 359, 449, 357, 356, + /* 480 */ 1554, 533, 1471, 710, 500, 535, 448, 496, 1742, 171, + /* 490 */ 2250, 603, 598, 591, 2245, 527, 523, 519, 515, 220, + /* 500 */ 2086, 630, 1446, 1447, 2104, 1549, 534, 1300, 2104, 1663, + /* 510 */ 2249, 18, 622, 1839, 2246, 2247, 601, 2054, 1479, 660, + /* 520 */ 630, 1852, 619, 1291, 686, 685, 684, 1295, 683, 1297, + /* 530 */ 1298, 682, 679, 2104, 1306, 676, 1308, 1309, 673, 670, + /* 540 */ 87, 661, 100, 218, 751, 185, 2054, 14, 660, 2085, + /* 550 */ 508, 630, 1975, 2121, 1254, 139, 109, 2087, 664, 2089, + /* 560 */ 2090, 659, 600, 654, 1769, 1243, 1856, 1253, 179, 628, + /* 570 */ 2174, 1975, 2189, 535, 380, 2170, 698, 238, 2085, 49, + /* 580 */ 561, 237, 2121, 1556, 1557, 109, 2087, 664, 2089, 2090, + /* 590 */ 659, 644, 654, 559, 534, 557, 2201, 2147, 2186, 2174, + /* 600 */ 639, 1245, 1975, 380, 2170, 1499, 648, 187, 2146, 2086, + /* 610 */ 217, 211, 644, 1529, 1539, 216, 272, 506, 1530, 1555, + /* 620 */ 1558, 183, 2182, 2183, 1863, 137, 2187, 689, 54, 478, + /* 630 */ 547, 546, 545, 1474, 209, 1472, 106, 537, 136, 541, + /* 640 */ 89, 340, 2104, 540, 363, 1863, 563, 1564, 539, 544, + /* 650 */ 661, 1848, 140, 1498, 538, 2054, 1841, 660, 282, 283, + /* 660 */ 1855, 1477, 1478, 281, 1528, 1531, 1532, 1533, 1534, 1535, + /* 670 */ 1536, 1537, 1538, 656, 652, 1547, 1548, 1550, 1551, 1552, + /* 680 */ 1553, 2, 45, 43, 1559, 378, 2086, 2085, 1850, 273, + /* 690 */ 386, 2121, 1473, 164, 109, 2087, 664, 2089, 2090, 659, + /* 700 */ 147, 654, 1865, 1554, 31, 1471, 2265, 1723, 2174, 644, + /* 710 */ 38, 37, 380, 2170, 44, 42, 41, 40, 39, 2104, + /* 720 */ 1501, 1406, 1407, 2208, 1155, 429, 61, 661, 1549, 2249, + /* 730 */ 185, 61, 2054, 92, 660, 389, 2086, 547, 546, 545, + /* 740 */ 2072, 1479, 1863, 164, 537, 136, 541, 178, 1722, 2037, + /* 750 */ 540, 2068, 1865, 2054, 469, 539, 544, 1405, 1408, 1721, + /* 760 */ 1903, 538, 2086, 1157, 2085, 1160, 1161, 751, 2121, 2104, + /* 770 */ 46, 109, 2087, 664, 2089, 2090, 659, 658, 654, 86, + /* 780 */ 1258, 1961, 2054, 2265, 660, 2174, 2064, 2070, 367, 380, + /* 790 */ 2170, 194, 190, 1257, 2054, 2104, 1473, 654, 1846, 1530, + /* 800 */ 2221, 644, 1501, 661, 1859, 2054, 1556, 1557, 2054, 1471, + /* 810 */ 660, 423, 688, 422, 2085, 198, 197, 430, 2121, 722, + /* 820 */ 720, 327, 2087, 664, 2089, 2090, 659, 657, 654, 645, + /* 830 */ 2139, 711, 83, 1825, 1863, 82, 1529, 1539, 468, 421, + /* 840 */ 2085, 644, 1555, 1558, 2121, 1479, 644, 109, 2087, 664, + /* 850 */ 2089, 2090, 659, 644, 654, 480, 1474, 439, 1472, 2265, + /* 860 */ 577, 2174, 454, 2250, 2072, 380, 2170, 1961, 191, 455, + /* 870 */ 141, 751, 2075, 2145, 1863, 2068, 589, 185, 192, 1863, + /* 880 */ 1500, 2086, 185, 2189, 1477, 1478, 1863, 1528, 1531, 1532, + /* 890 */ 1533, 1534, 1535, 1536, 1537, 1538, 656, 652, 1547, 1548, + /* 900 */ 1550, 1551, 1552, 1553, 2, 45, 43, 1700, 2072, 2185, + /* 910 */ 2064, 2070, 368, 386, 2104, 1473, 41, 40, 39, 2068, + /* 920 */ 8, 654, 661, 13, 12, 2077, 1554, 2054, 1471, 660, + /* 930 */ 245, 131, 130, 129, 128, 127, 126, 125, 124, 123, + /* 940 */ 38, 37, 1916, 73, 44, 42, 41, 40, 39, 390, + /* 950 */ 249, 1549, 1840, 2086, 2064, 2070, 381, 413, 1914, 2085, + /* 960 */ 1474, 1686, 1472, 2121, 1479, 654, 109, 2087, 664, 2089, + /* 970 */ 2090, 659, 1961, 654, 2189, 644, 27, 655, 2265, 392, + /* 980 */ 2174, 1720, 1809, 196, 380, 2170, 2104, 164, 1477, 1478, + /* 990 */ 751, 509, 81, 46, 661, 2239, 1865, 610, 1719, 2054, + /* 1000 */ 2184, 660, 1718, 383, 382, 1160, 1161, 611, 1863, 1717, + /* 1010 */ 38, 37, 432, 1487, 44, 42, 41, 40, 39, 690, + /* 1020 */ 644, 644, 1907, 1597, 1554, 433, 1480, 2054, 272, 1556, + /* 1030 */ 1557, 2085, 1716, 2194, 1617, 2121, 1860, 241, 109, 2087, + /* 1040 */ 664, 2089, 2090, 659, 2054, 654, 552, 644, 2054, 1549, + /* 1050 */ 2265, 696, 2174, 1863, 1863, 2054, 380, 2170, 1498, 1529, + /* 1060 */ 1539, 562, 1479, 578, 696, 1555, 1558, 2193, 614, 154, + /* 1070 */ 153, 693, 692, 691, 151, 236, 644, 152, 2054, 1474, + /* 1080 */ 1863, 1472, 154, 153, 693, 692, 691, 151, 650, 1715, + /* 1090 */ 555, 694, 623, 695, 1907, 549, 1907, 1714, 305, 228, + /* 1100 */ 235, 1893, 226, 1640, 2086, 1695, 1696, 1477, 1478, 1863, + /* 1110 */ 1528, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 656, + /* 1120 */ 652, 1547, 1548, 1550, 1551, 1552, 1553, 2, 45, 43, + /* 1130 */ 1711, 1617, 644, 1482, 53, 2054, 386, 2104, 1473, 644, + /* 1140 */ 581, 69, 619, 2054, 68, 661, 105, 33, 627, 1554, + /* 1150 */ 2054, 1471, 660, 38, 37, 286, 102, 44, 42, 41, + /* 1160 */ 40, 39, 38, 37, 644, 1863, 44, 42, 41, 40, + /* 1170 */ 39, 51, 1863, 3, 1549, 139, 2054, 1488, 1838, 1483, + /* 1180 */ 641, 1710, 2085, 1709, 644, 1713, 2121, 1479, 1708, 109, + /* 1190 */ 2087, 664, 2089, 2090, 659, 644, 654, 1863, 644, 230, + /* 1200 */ 642, 647, 229, 2174, 1530, 1491, 1493, 380, 2170, 2214, + /* 1210 */ 1707, 292, 52, 751, 393, 1706, 14, 1863, 652, 1547, + /* 1220 */ 1548, 1550, 1551, 1552, 1553, 13, 12, 2054, 1863, 2054, + /* 1230 */ 145, 1863, 134, 267, 2054, 165, 612, 248, 1705, 1704, + /* 1240 */ 311, 270, 2182, 618, 1756, 133, 617, 1703, 232, 2245, + /* 1250 */ 2047, 231, 1556, 1557, 309, 72, 2054, 234, 71, 221, + /* 1260 */ 233, 2054, 1204, 595, 606, 182, 548, 38, 37, 2246, + /* 1270 */ 608, 44, 42, 41, 40, 39, 205, 488, 486, 483, + /* 1280 */ 1481, 90, 1529, 1539, 2054, 2054, 1485, 651, 1555, 1558, + /* 1290 */ 696, 261, 565, 2054, 564, 2105, 582, 1749, 1205, 615, + /* 1300 */ 2245, 1747, 1474, 1904, 1472, 152, 2048, 397, 154, 153, + /* 1310 */ 693, 692, 691, 151, 1743, 2251, 182, 61, 1737, 550, + /* 1320 */ 2246, 608, 163, 553, 152, 47, 63, 2086, 63, 254, + /* 1330 */ 1477, 1478, 47, 1528, 1531, 1532, 1533, 1534, 1535, 1536, + /* 1340 */ 1537, 1538, 656, 652, 1547, 1548, 1550, 1551, 1552, 1553, + /* 1350 */ 2, 152, 582, 269, 47, 108, 2245, 704, 2086, 1970, + /* 1360 */ 2104, 279, 1441, 746, 70, 150, 705, 152, 661, 2204, + /* 1370 */ 620, 2251, 182, 2054, 63, 660, 2246, 608, 668, 1223, + /* 1380 */ 266, 1444, 1540, 1649, 150, 1648, 256, 1, 1221, 304, + /* 1390 */ 4, 2104, 152, 405, 135, 80, 79, 428, 400, 661, + /* 1400 */ 189, 349, 1426, 299, 2054, 2085, 660, 150, 626, 2121, + /* 1410 */ 568, 1403, 168, 2087, 664, 2089, 2090, 659, 284, 654, + /* 1420 */ 334, 636, 288, 414, 1284, 195, 412, 408, 404, 401, + /* 1430 */ 421, 1591, 1501, 1484, 434, 1312, 2085, 1575, 2086, 1971, + /* 1440 */ 2121, 1316, 438, 110, 2087, 664, 2089, 2090, 659, 1323, + /* 1450 */ 654, 1321, 471, 583, 2211, 443, 582, 2174, 2086, 1496, + /* 1460 */ 2245, 2173, 2170, 456, 155, 1963, 463, 470, 185, 472, + /* 1470 */ 481, 2104, 482, 479, 200, 2251, 182, 199, 484, 661, + /* 1480 */ 2246, 608, 202, 485, 2054, 1502, 660, 487, 489, 208, + /* 1490 */ 490, 2104, 499, 1504, 502, 1499, 503, 210, 1503, 661, + /* 1500 */ 504, 1505, 505, 213, 2054, 507, 660, 215, 84, 85, + /* 1510 */ 511, 219, 1177, 567, 528, 529, 2085, 530, 532, 339, + /* 1520 */ 2121, 111, 2030, 110, 2087, 664, 2089, 2090, 659, 569, + /* 1530 */ 654, 1853, 225, 1849, 227, 2086, 662, 2174, 157, 158, + /* 1540 */ 2121, 649, 2170, 110, 2087, 664, 2089, 2090, 659, 1851, + /* 1550 */ 654, 1847, 2086, 159, 2027, 160, 2026, 2174, 88, 148, + /* 1560 */ 242, 344, 2170, 572, 571, 300, 246, 576, 2104, 579, + /* 1570 */ 2205, 586, 596, 592, 2220, 634, 661, 2219, 369, 573, + /* 1580 */ 244, 2054, 2215, 660, 252, 2104, 599, 7, 2196, 255, + /* 1590 */ 605, 260, 172, 661, 587, 585, 584, 613, 2054, 370, + /* 1600 */ 660, 262, 616, 2268, 1617, 138, 2244, 1500, 624, 274, + /* 1610 */ 265, 373, 2086, 2085, 1976, 268, 95, 2121, 2190, 1506, + /* 1620 */ 169, 2087, 664, 2089, 2090, 659, 301, 654, 632, 633, + /* 1630 */ 2085, 1990, 1989, 1988, 2121, 302, 2086, 110, 2087, 664, + /* 1640 */ 2089, 2090, 659, 263, 654, 2104, 637, 264, 638, 376, + /* 1650 */ 97, 2174, 303, 661, 99, 60, 2171, 1864, 2054, 101, + /* 1660 */ 660, 2155, 666, 295, 1826, 1908, 747, 748, 306, 2104, + /* 1670 */ 750, 341, 609, 2266, 50, 330, 2046, 661, 310, 2045, + /* 1680 */ 2044, 77, 2054, 308, 660, 402, 342, 2041, 1464, 315, + /* 1690 */ 2085, 403, 329, 319, 2121, 1465, 188, 168, 2087, 664, + /* 1700 */ 2089, 2090, 659, 407, 654, 2039, 409, 2086, 410, 411, + /* 1710 */ 2038, 350, 2036, 415, 2085, 2035, 417, 2034, 2121, 419, + /* 1720 */ 78, 321, 2087, 664, 2089, 2090, 659, 1429, 654, 2086, + /* 1730 */ 1428, 2002, 2001, 2000, 426, 427, 1999, 1998, 1380, 2212, + /* 1740 */ 2104, 1954, 1953, 1951, 144, 1950, 1949, 1952, 661, 444, + /* 1750 */ 193, 1942, 446, 2054, 1948, 660, 1947, 1945, 1944, 1943, + /* 1760 */ 1956, 1941, 2104, 1940, 1939, 604, 146, 375, 1938, 1937, + /* 1770 */ 661, 1936, 1935, 1934, 1933, 2054, 1932, 660, 1931, 2086, + /* 1780 */ 1930, 1929, 1928, 1927, 1926, 2085, 1925, 1924, 1955, 2121, + /* 1790 */ 1923, 1922, 169, 2087, 664, 2089, 2090, 659, 1921, 654, + /* 1800 */ 1920, 1382, 2086, 1919, 474, 1918, 1917, 2085, 1772, 337, + /* 1810 */ 201, 2121, 2104, 1771, 328, 2087, 664, 2089, 2090, 659, + /* 1820 */ 658, 654, 338, 1255, 1259, 2054, 1770, 660, 1251, 1768, + /* 1830 */ 1732, 1163, 2074, 203, 206, 2104, 75, 1162, 177, 1731, + /* 1840 */ 385, 2017, 495, 661, 207, 2267, 497, 204, 2054, 76, + /* 1850 */ 660, 2009, 1997, 212, 214, 1996, 1974, 2085, 1842, 1767, + /* 1860 */ 2086, 2121, 512, 513, 327, 2087, 664, 2089, 2090, 659, + /* 1870 */ 1765, 654, 1197, 2140, 514, 1763, 517, 516, 1761, 518, + /* 1880 */ 2085, 754, 520, 522, 2121, 521, 1759, 328, 2087, 664, + /* 1890 */ 2089, 2090, 659, 2104, 654, 298, 524, 525, 387, 526, + /* 1900 */ 1746, 661, 1745, 1728, 1844, 62, 2054, 1328, 660, 1327, + /* 1910 */ 175, 1843, 1242, 719, 1241, 1240, 744, 740, 736, 732, + /* 1920 */ 296, 1233, 1757, 1239, 1238, 224, 1235, 2086, 721, 1234, + /* 1930 */ 1232, 360, 1750, 551, 361, 1748, 362, 1727, 2085, 1726, + /* 1940 */ 554, 556, 2121, 558, 1725, 328, 2087, 664, 2089, 2090, + /* 1950 */ 659, 560, 654, 112, 1451, 1453, 2086, 26, 1450, 2016, + /* 1960 */ 2104, 107, 1435, 66, 289, 1455, 2008, 1437, 661, 574, + /* 1970 */ 1995, 1993, 2250, 2054, 19, 660, 16, 55, 58, 64, + /* 1980 */ 575, 28, 59, 259, 258, 590, 1665, 2086, 5, 2104, + /* 1990 */ 247, 1680, 366, 251, 580, 588, 640, 661, 2075, 253, + /* 2000 */ 162, 170, 2054, 6, 660, 566, 30, 21, 20, 2121, + /* 2010 */ 17, 1647, 323, 2087, 664, 2089, 2090, 659, 2086, 654, + /* 2020 */ 2104, 257, 1679, 371, 29, 1684, 1639, 1685, 661, 1686, + /* 2030 */ 1683, 276, 372, 2054, 2085, 660, 275, 57, 2121, 271, + /* 2040 */ 1994, 312, 2087, 664, 2089, 2090, 659, 1614, 654, 91, + /* 2050 */ 173, 2104, 1433, 1613, 1992, 243, 1991, 1973, 93, 661, + /* 2060 */ 94, 277, 1972, 96, 2054, 2085, 660, 22, 280, 2121, + /* 2070 */ 56, 23, 313, 2087, 664, 2089, 2090, 659, 278, 654, + /* 2080 */ 1645, 285, 2086, 67, 635, 287, 98, 1566, 102, 290, + /* 2090 */ 10, 12, 1565, 1489, 174, 186, 2085, 1544, 2124, 2086, + /* 2100 */ 2121, 653, 36, 314, 2087, 664, 2089, 2090, 659, 1542, + /* 2110 */ 654, 1541, 15, 24, 1521, 2104, 1513, 25, 665, 1313, + /* 2120 */ 667, 388, 669, 661, 1310, 671, 672, 1305, 2054, 1576, + /* 2130 */ 660, 1307, 2104, 663, 674, 675, 677, 680, 1301, 678, + /* 2140 */ 661, 1290, 1299, 681, 687, 2054, 103, 660, 1304, 2086, + /* 2150 */ 293, 1303, 1302, 104, 1318, 1322, 1195, 697, 74, 1229, + /* 2160 */ 2085, 1228, 1227, 1226, 2121, 1225, 1224, 320, 2087, 664, + /* 2170 */ 2089, 2090, 659, 1222, 654, 1220, 1219, 2085, 1218, 1249, + /* 2180 */ 709, 2121, 2104, 294, 324, 2087, 664, 2089, 2090, 659, + /* 2190 */ 661, 654, 1216, 1215, 1214, 2054, 1213, 660, 1212, 2086, + /* 2200 */ 1211, 1210, 1244, 1207, 1246, 1206, 1203, 1202, 1201, 1764, + /* 2210 */ 1200, 729, 730, 1762, 733, 2086, 731, 734, 1760, 735, + /* 2220 */ 737, 738, 1758, 739, 741, 1744, 742, 2085, 745, 743, + /* 2230 */ 1152, 2121, 2104, 1724, 316, 2087, 664, 2089, 2090, 659, + /* 2240 */ 661, 654, 297, 1475, 749, 2054, 307, 660, 2104, 752, + /* 2250 */ 753, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, + /* 2260 */ 1699, 2054, 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2270 */ 1699, 1699, 1699, 1699, 1699, 1699, 2086, 2085, 1699, 1699, + /* 2280 */ 1699, 2121, 1699, 1699, 325, 2087, 664, 2089, 2090, 659, + /* 2290 */ 1699, 654, 1699, 2085, 2086, 1699, 1699, 2121, 1699, 1699, + /* 2300 */ 317, 2087, 664, 2089, 2090, 659, 1699, 654, 1699, 2104, + /* 2310 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, + /* 2320 */ 1699, 1699, 2054, 1699, 660, 1699, 1699, 2104, 1699, 1699, + /* 2330 */ 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, + /* 2340 */ 2054, 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2350 */ 1699, 1699, 2086, 1699, 2085, 1699, 1699, 1699, 2121, 1699, + /* 2360 */ 1699, 326, 2087, 664, 2089, 2090, 659, 1699, 654, 2086, + /* 2370 */ 1699, 1699, 2085, 1699, 1699, 1699, 2121, 1699, 1699, 318, + /* 2380 */ 2087, 664, 2089, 2090, 659, 2104, 654, 1699, 1699, 1699, + /* 2390 */ 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, 2054, 1699, + /* 2400 */ 660, 1699, 2104, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2410 */ 661, 1699, 1699, 1699, 1699, 2054, 1699, 660, 1699, 1699, + /* 2420 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2430 */ 2085, 1699, 1699, 2086, 2121, 1699, 1699, 331, 2087, 664, + /* 2440 */ 2089, 2090, 659, 1699, 654, 1699, 1699, 2085, 1699, 2086, + /* 2450 */ 1699, 2121, 1699, 1699, 332, 2087, 664, 2089, 2090, 659, + /* 2460 */ 1699, 654, 1699, 1699, 1699, 1699, 2104, 1699, 1699, 1699, + /* 2470 */ 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, 2054, + /* 2480 */ 1699, 660, 2104, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2490 */ 661, 1699, 1699, 1699, 1699, 2054, 1699, 660, 1699, 1699, + /* 2500 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2510 */ 1699, 2085, 1699, 1699, 1699, 2121, 2086, 1699, 2098, 2087, + /* 2520 */ 664, 2089, 2090, 659, 1699, 654, 1699, 2085, 1699, 1699, + /* 2530 */ 1699, 2121, 1699, 2086, 2097, 2087, 664, 2089, 2090, 659, + /* 2540 */ 1699, 654, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 2104, + /* 2550 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, + /* 2560 */ 1699, 1699, 2054, 1699, 660, 1699, 2104, 1699, 1699, 1699, + /* 2570 */ 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, 2054, + /* 2580 */ 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2590 */ 1699, 1699, 1699, 1699, 2085, 2086, 1699, 1699, 2121, 1699, + /* 2600 */ 1699, 2096, 2087, 664, 2089, 2090, 659, 1699, 654, 1699, + /* 2610 */ 1699, 2085, 1699, 1699, 1699, 2121, 1699, 1699, 346, 2087, + /* 2620 */ 664, 2089, 2090, 659, 1699, 654, 1699, 1699, 2104, 1699, + /* 2630 */ 1699, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, + /* 2640 */ 1699, 2054, 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2650 */ 1699, 1699, 1699, 1699, 1699, 1699, 2086, 1699, 1699, 1699, + /* 2660 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2670 */ 1699, 1699, 1699, 2085, 2086, 1699, 1699, 2121, 1699, 1699, + /* 2680 */ 347, 2087, 664, 2089, 2090, 659, 1699, 654, 1699, 2104, + /* 2690 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, + /* 2700 */ 1699, 1699, 2054, 1699, 660, 1699, 1699, 2104, 1699, 1699, + /* 2710 */ 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, + /* 2720 */ 2054, 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2730 */ 1699, 1699, 2086, 1699, 2085, 1699, 1699, 1699, 2121, 1699, + /* 2740 */ 1699, 343, 2087, 664, 2089, 2090, 659, 1699, 654, 2086, + /* 2750 */ 1699, 1699, 2085, 1699, 1699, 1699, 2121, 1699, 1699, 348, + /* 2760 */ 2087, 664, 2089, 2090, 659, 2104, 654, 1699, 1699, 1699, + /* 2770 */ 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, 2054, 1699, + /* 2780 */ 660, 1699, 2104, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2790 */ 661, 1699, 1699, 1699, 1699, 2054, 1699, 660, 1699, 1699, + /* 2800 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, + /* 2810 */ 662, 1699, 1699, 1699, 2121, 1699, 1699, 323, 2087, 664, + /* 2820 */ 2089, 2090, 659, 1699, 654, 1699, 1699, 2085, 1699, 1699, + /* 2830 */ 1699, 2121, 1699, 1699, 322, 2087, 664, 2089, 2090, 659, + /* 2840 */ 1699, 654, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 367, 443, 380, 347, 332, 447, 336, 365, 338, 339, - /* 10 */ 354, 378, 12, 13, 14, 373, 380, 395, 396, 367, - /* 20 */ 20, 463, 22, 340, 20, 467, 468, 332, 392, 416, - /* 30 */ 378, 395, 396, 33, 361, 35, 0, 365, 12, 13, - /* 40 */ 14, 15, 16, 340, 20, 373, 413, 414, 415, 20, - /* 50 */ 378, 22, 380, 340, 340, 442, 373, 424, 58, 443, - /* 60 */ 365, 419, 365, 447, 64, 413, 414, 415, 373, 372, - /* 70 */ 356, 71, 331, 378, 333, 380, 424, 363, 381, 463, - /* 80 */ 51, 408, 410, 467, 468, 382, 414, 373, 20, 417, - /* 90 */ 418, 419, 420, 421, 422, 367, 424, 97, 4, 63, - /* 100 */ 100, 429, 389, 431, 391, 410, 378, 435, 436, 414, - /* 110 */ 12, 13, 417, 418, 419, 420, 421, 422, 20, 424, - /* 120 */ 22, 449, 439, 440, 441, 332, 443, 444, 111, 457, - /* 130 */ 447, 33, 20, 35, 22, 376, 136, 137, 379, 380, - /* 140 */ 443, 413, 414, 415, 447, 462, 463, 35, 432, 433, - /* 150 */ 467, 468, 424, 458, 459, 58, 58, 0, 20, 462, - /* 160 */ 463, 20, 64, 51, 467, 468, 166, 167, 100, 71, - /* 170 */ 0, 378, 172, 173, 8, 9, 364, 160, 12, 13, - /* 180 */ 14, 15, 16, 66, 67, 68, 186, 63, 188, 377, - /* 190 */ 73, 74, 75, 365, 100, 97, 79, 100, 100, 102, - /* 200 */ 14, 84, 85, 100, 8, 9, 20, 90, 12, 13, - /* 210 */ 14, 15, 16, 213, 214, 387, 216, 217, 218, 219, + /* 0 */ 368, 381, 398, 366, 398, 337, 402, 339, 340, 366, + /* 10 */ 373, 379, 12, 13, 14, 330, 396, 397, 375, 382, + /* 20 */ 20, 341, 22, 377, 8, 9, 380, 381, 12, 13, + /* 30 */ 14, 15, 16, 33, 21, 35, 0, 24, 25, 26, + /* 40 */ 27, 28, 29, 30, 31, 32, 414, 415, 444, 14, + /* 50 */ 444, 20, 448, 333, 448, 20, 444, 425, 58, 337, + /* 60 */ 448, 339, 340, 383, 64, 20, 4, 463, 464, 463, + /* 70 */ 464, 71, 468, 469, 468, 469, 464, 366, 433, 434, + /* 80 */ 468, 469, 347, 398, 373, 63, 366, 402, 12, 13, + /* 90 */ 14, 15, 16, 382, 374, 380, 381, 97, 363, 379, + /* 100 */ 100, 381, 66, 67, 68, 69, 70, 372, 72, 73, + /* 110 */ 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + /* 120 */ 84, 85, 86, 87, 88, 89, 90, 91, 92, 444, + /* 130 */ 362, 411, 20, 448, 22, 415, 136, 137, 418, 419, + /* 140 */ 420, 421, 422, 423, 20, 425, 381, 35, 463, 464, + /* 150 */ 430, 4, 432, 468, 469, 444, 436, 437, 393, 448, + /* 160 */ 341, 396, 397, 51, 341, 444, 166, 167, 20, 448, + /* 170 */ 450, 366, 172, 173, 463, 464, 357, 409, 458, 468, + /* 180 */ 469, 136, 137, 364, 463, 464, 186, 382, 188, 468, + /* 190 */ 469, 366, 20, 374, 178, 8, 9, 374, 373, 12, + /* 200 */ 13, 14, 15, 16, 8, 9, 20, 382, 12, 13, + /* 210 */ 14, 15, 16, 333, 214, 215, 20, 217, 218, 219, /* 220 */ 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, - /* 230 */ 230, 231, 232, 233, 136, 137, 66, 67, 68, 69, - /* 240 */ 70, 100, 72, 73, 74, 75, 76, 77, 78, 79, - /* 250 */ 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - /* 260 */ 90, 91, 92, 20, 166, 167, 171, 101, 96, 112, - /* 270 */ 172, 173, 21, 165, 35, 24, 25, 26, 27, 28, - /* 280 */ 29, 30, 31, 32, 186, 112, 188, 130, 131, 132, - /* 290 */ 133, 134, 135, 8, 9, 63, 4, 12, 13, 14, - /* 300 */ 15, 16, 373, 130, 131, 132, 133, 134, 135, 329, - /* 310 */ 71, 213, 214, 384, 216, 217, 218, 219, 220, 221, - /* 320 */ 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, - /* 330 */ 232, 233, 234, 12, 13, 43, 0, 45, 46, 20, - /* 340 */ 168, 20, 97, 22, 250, 237, 373, 250, 20, 64, - /* 350 */ 255, 256, 257, 250, 33, 247, 35, 384, 113, 114, - /* 360 */ 115, 116, 117, 118, 119, 120, 121, 122, 346, 124, - /* 370 */ 125, 126, 127, 128, 129, 0, 2, 397, 332, 58, - /* 380 */ 44, 401, 8, 9, 362, 64, 12, 13, 14, 15, - /* 390 */ 16, 250, 71, 371, 109, 336, 21, 338, 339, 24, - /* 400 */ 25, 26, 27, 28, 29, 30, 31, 32, 8, 9, - /* 410 */ 340, 365, 12, 13, 14, 15, 16, 357, 97, 373, - /* 420 */ 20, 100, 80, 443, 378, 365, 380, 447, 100, 357, - /* 430 */ 20, 12, 13, 14, 374, 130, 131, 365, 373, 20, - /* 440 */ 135, 22, 462, 463, 372, 20, 374, 467, 468, 384, - /* 450 */ 165, 131, 33, 381, 35, 135, 410, 136, 137, 389, - /* 460 */ 414, 391, 111, 417, 418, 419, 420, 421, 422, 423, - /* 470 */ 424, 425, 426, 0, 8, 9, 234, 58, 12, 13, - /* 480 */ 14, 15, 16, 141, 142, 166, 167, 166, 167, 344, - /* 490 */ 71, 0, 337, 172, 173, 340, 341, 24, 25, 26, - /* 500 */ 27, 28, 29, 30, 31, 32, 164, 186, 337, 188, - /* 510 */ 44, 340, 341, 368, 194, 195, 97, 397, 198, 100, - /* 520 */ 200, 401, 237, 238, 239, 240, 241, 242, 243, 244, - /* 530 */ 245, 246, 247, 332, 213, 214, 402, 216, 217, 218, - /* 540 */ 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, - /* 550 */ 229, 230, 231, 232, 233, 136, 137, 66, 67, 68, - /* 560 */ 71, 136, 137, 443, 73, 74, 75, 447, 168, 100, - /* 570 */ 79, 379, 380, 367, 344, 84, 85, 71, 250, 378, - /* 580 */ 332, 90, 462, 463, 378, 166, 167, 467, 468, 2, - /* 590 */ 360, 172, 173, 1, 2, 8, 9, 0, 368, 12, - /* 600 */ 13, 14, 15, 16, 111, 186, 3, 188, 351, 352, - /* 610 */ 8, 9, 21, 365, 12, 13, 14, 15, 16, 413, - /* 620 */ 414, 373, 340, 20, 0, 34, 378, 36, 380, 234, - /* 630 */ 424, 236, 213, 214, 346, 216, 217, 218, 219, 220, - /* 640 */ 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, - /* 650 */ 231, 232, 233, 12, 13, 373, 58, 332, 410, 371, - /* 660 */ 367, 20, 414, 22, 340, 417, 418, 419, 420, 421, - /* 670 */ 422, 378, 424, 20, 33, 427, 35, 429, 430, 431, - /* 680 */ 356, 8, 9, 435, 436, 12, 13, 14, 15, 16, - /* 690 */ 365, 332, 365, 101, 20, 365, 0, 373, 373, 58, - /* 700 */ 102, 340, 372, 378, 101, 380, 413, 414, 332, 112, - /* 710 */ 397, 381, 71, 386, 387, 213, 37, 424, 22, 250, - /* 720 */ 438, 439, 440, 441, 340, 443, 444, 130, 131, 132, - /* 730 */ 133, 134, 135, 427, 373, 410, 430, 378, 97, 414, - /* 740 */ 356, 100, 417, 418, 419, 420, 421, 422, 3, 424, - /* 750 */ 332, 12, 13, 340, 378, 375, 443, 373, 378, 20, - /* 760 */ 447, 22, 260, 261, 262, 263, 264, 265, 266, 356, - /* 770 */ 168, 168, 33, 366, 35, 462, 463, 136, 137, 155, - /* 780 */ 467, 468, 103, 416, 105, 106, 373, 108, 164, 136, - /* 790 */ 137, 112, 340, 366, 469, 470, 378, 58, 366, 332, - /* 800 */ 439, 440, 441, 332, 443, 444, 20, 166, 167, 442, - /* 810 */ 71, 366, 133, 172, 173, 340, 8, 9, 416, 340, - /* 820 */ 12, 13, 14, 15, 16, 172, 173, 186, 366, 188, - /* 830 */ 365, 356, 365, 332, 0, 356, 97, 372, 363, 100, - /* 840 */ 373, 389, 168, 391, 442, 378, 381, 380, 373, 378, - /* 850 */ 397, 178, 373, 58, 213, 214, 332, 216, 217, 218, - /* 860 */ 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, - /* 870 */ 229, 230, 231, 232, 233, 136, 137, 410, 366, 378, - /* 880 */ 397, 414, 48, 365, 417, 418, 419, 420, 421, 422, - /* 890 */ 372, 424, 375, 357, 99, 378, 443, 102, 431, 381, - /* 900 */ 447, 365, 378, 436, 443, 166, 167, 20, 447, 101, - /* 910 */ 374, 172, 173, 351, 352, 462, 463, 181, 100, 39, - /* 920 */ 467, 468, 22, 462, 463, 186, 443, 188, 467, 468, - /* 930 */ 447, 365, 428, 14, 430, 35, 14, 366, 372, 20, - /* 940 */ 204, 205, 20, 45, 46, 462, 463, 381, 275, 44, - /* 950 */ 467, 468, 213, 214, 168, 216, 217, 218, 219, 220, - /* 960 */ 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, - /* 970 */ 231, 232, 233, 20, 18, 18, 20, 340, 12, 13, - /* 980 */ 23, 397, 428, 27, 430, 4, 30, 332, 22, 33, - /* 990 */ 14, 15, 16, 356, 37, 38, 4, 97, 41, 33, - /* 1000 */ 19, 35, 333, 185, 48, 187, 50, 388, 375, 53, - /* 1010 */ 373, 378, 22, 365, 33, 270, 59, 60, 61, 62, - /* 1020 */ 365, 44, 374, 340, 58, 35, 340, 443, 373, 48, - /* 1030 */ 212, 447, 357, 378, 53, 380, 332, 71, 340, 58, - /* 1040 */ 365, 112, 356, 332, 248, 249, 462, 463, 340, 374, - /* 1050 */ 365, 467, 468, 166, 356, 99, 373, 100, 353, 373, - /* 1060 */ 355, 71, 133, 97, 356, 410, 381, 111, 250, 414, - /* 1070 */ 354, 373, 417, 418, 419, 420, 421, 422, 101, 424, - /* 1080 */ 99, 373, 378, 102, 429, 166, 431, 97, 166, 378, - /* 1090 */ 435, 436, 332, 332, 35, 138, 140, 332, 0, 143, - /* 1100 */ 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, - /* 1110 */ 154, 155, 156, 157, 158, 159, 340, 161, 162, 163, - /* 1120 */ 22, 168, 439, 440, 441, 44, 443, 444, 340, 249, - /* 1130 */ 358, 340, 356, 361, 44, 178, 179, 180, 378, 378, - /* 1140 */ 183, 332, 340, 378, 356, 130, 22, 356, 42, 373, - /* 1150 */ 44, 42, 186, 44, 188, 340, 332, 340, 356, 35, - /* 1160 */ 203, 373, 35, 206, 373, 208, 209, 210, 211, 212, - /* 1170 */ 332, 356, 332, 356, 365, 373, 186, 272, 188, 213, - /* 1180 */ 214, 471, 373, 104, 340, 64, 107, 378, 373, 380, - /* 1190 */ 373, 101, 226, 227, 228, 229, 230, 231, 232, 340, - /* 1200 */ 356, 22, 378, 213, 214, 365, 332, 250, 340, 340, - /* 1210 */ 332, 196, 197, 373, 35, 356, 378, 373, 378, 410, - /* 1220 */ 380, 97, 332, 414, 356, 356, 417, 418, 419, 420, - /* 1230 */ 421, 422, 373, 424, 104, 332, 332, 107, 429, 332, - /* 1240 */ 431, 373, 373, 251, 435, 436, 104, 188, 104, 107, - /* 1250 */ 410, 107, 378, 460, 414, 365, 378, 417, 418, 419, - /* 1260 */ 420, 421, 422, 373, 424, 44, 457, 0, 378, 429, - /* 1270 */ 380, 431, 365, 44, 342, 435, 436, 199, 44, 201, - /* 1280 */ 373, 378, 378, 454, 44, 378, 446, 380, 100, 22, - /* 1290 */ 136, 137, 365, 44, 342, 1, 2, 44, 110, 332, - /* 1300 */ 410, 44, 44, 47, 414, 44, 44, 417, 418, 419, - /* 1310 */ 420, 421, 422, 44, 424, 188, 388, 410, 339, 332, - /* 1320 */ 377, 414, 101, 44, 417, 418, 419, 420, 421, 422, - /* 1330 */ 101, 424, 365, 388, 213, 101, 429, 19, 431, 13, - /* 1340 */ 373, 101, 435, 436, 445, 378, 0, 380, 464, 459, - /* 1350 */ 101, 33, 365, 446, 101, 274, 100, 44, 101, 101, - /* 1360 */ 373, 35, 101, 101, 44, 378, 48, 380, 44, 44, - /* 1370 */ 101, 13, 54, 55, 56, 57, 58, 410, 437, 44, - /* 1380 */ 101, 414, 44, 35, 417, 418, 419, 420, 421, 422, - /* 1390 */ 448, 424, 252, 35, 412, 49, 429, 410, 431, 48, - /* 1400 */ 411, 414, 435, 436, 417, 418, 419, 420, 421, 422, - /* 1410 */ 184, 424, 399, 446, 101, 42, 429, 99, 431, 71, - /* 1420 */ 102, 101, 435, 436, 385, 101, 101, 20, 332, 388, - /* 1430 */ 385, 165, 383, 446, 20, 33, 101, 340, 385, 101, - /* 1440 */ 340, 383, 98, 383, 350, 95, 94, 340, 332, 348, - /* 1450 */ 48, 349, 134, 340, 340, 340, 54, 55, 56, 57, - /* 1460 */ 58, 365, 20, 334, 20, 334, 405, 20, 346, 373, - /* 1470 */ 20, 380, 346, 341, 378, 20, 380, 341, 398, 346, - /* 1480 */ 346, 365, 52, 346, 346, 340, 343, 169, 365, 373, - /* 1490 */ 334, 343, 174, 346, 378, 340, 380, 378, 378, 334, - /* 1500 */ 365, 99, 202, 378, 102, 100, 410, 192, 190, 405, - /* 1510 */ 414, 193, 409, 417, 418, 419, 420, 421, 422, 407, - /* 1520 */ 424, 344, 332, 365, 365, 429, 410, 431, 365, 365, - /* 1530 */ 414, 435, 436, 417, 418, 419, 420, 421, 422, 365, - /* 1540 */ 424, 365, 446, 365, 191, 429, 332, 431, 365, 365, - /* 1550 */ 404, 435, 436, 403, 344, 365, 340, 388, 388, 378, - /* 1560 */ 380, 259, 258, 373, 453, 393, 393, 378, 378, 378, - /* 1570 */ 380, 169, 170, 378, 267, 177, 174, 269, 176, 365, - /* 1580 */ 268, 453, 253, 412, 273, 276, 249, 373, 271, 472, - /* 1590 */ 373, 452, 378, 20, 380, 193, 332, 456, 416, 340, - /* 1600 */ 410, 341, 453, 451, 414, 20, 455, 417, 418, 419, - /* 1610 */ 420, 421, 422, 332, 424, 344, 450, 344, 465, 429, - /* 1620 */ 393, 431, 391, 466, 410, 435, 436, 170, 414, 365, - /* 1630 */ 378, 417, 418, 419, 420, 421, 422, 373, 424, 393, - /* 1640 */ 390, 378, 378, 378, 380, 431, 365, 344, 378, 435, - /* 1650 */ 436, 361, 378, 378, 373, 373, 100, 434, 344, 378, - /* 1660 */ 100, 380, 369, 378, 36, 355, 344, 340, 335, 330, - /* 1670 */ 334, 394, 400, 332, 410, 359, 0, 345, 414, 0, - /* 1680 */ 394, 417, 418, 419, 420, 421, 422, 359, 424, 406, - /* 1690 */ 359, 410, 0, 332, 42, 414, 0, 35, 417, 418, - /* 1700 */ 419, 420, 421, 422, 207, 424, 365, 35, 35, 35, - /* 1710 */ 207, 0, 431, 35, 373, 35, 435, 436, 207, 378, - /* 1720 */ 0, 380, 207, 0, 35, 461, 365, 0, 22, 0, - /* 1730 */ 35, 194, 188, 186, 373, 0, 0, 0, 181, 378, - /* 1740 */ 182, 380, 0, 0, 47, 0, 0, 0, 0, 42, - /* 1750 */ 0, 410, 0, 0, 0, 414, 332, 0, 417, 418, - /* 1760 */ 419, 420, 421, 422, 0, 424, 0, 155, 35, 0, - /* 1770 */ 155, 410, 431, 0, 0, 414, 435, 436, 417, 418, - /* 1780 */ 419, 420, 421, 422, 22, 424, 0, 0, 0, 365, - /* 1790 */ 0, 0, 0, 0, 370, 0, 0, 373, 0, 0, - /* 1800 */ 0, 0, 378, 0, 380, 42, 0, 0, 0, 0, - /* 1810 */ 0, 0, 0, 0, 332, 0, 139, 0, 0, 22, - /* 1820 */ 96, 96, 0, 58, 22, 0, 58, 0, 58, 35, - /* 1830 */ 0, 470, 0, 44, 410, 14, 0, 14, 414, 332, - /* 1840 */ 0, 417, 418, 419, 420, 421, 422, 365, 424, 0, - /* 1850 */ 0, 47, 47, 0, 0, 373, 42, 0, 39, 39, - /* 1860 */ 378, 177, 380, 47, 40, 39, 0, 0, 35, 0, - /* 1870 */ 35, 0, 365, 39, 35, 0, 39, 370, 0, 48, - /* 1880 */ 373, 35, 39, 39, 0, 378, 48, 380, 0, 48, - /* 1890 */ 0, 109, 410, 65, 35, 48, 414, 0, 22, 417, - /* 1900 */ 418, 419, 420, 421, 422, 35, 424, 35, 426, 35, - /* 1910 */ 0, 22, 332, 0, 35, 35, 35, 410, 35, 0, - /* 1920 */ 35, 414, 22, 22, 417, 418, 419, 420, 421, 422, - /* 1930 */ 44, 424, 50, 332, 22, 44, 107, 35, 0, 35, - /* 1940 */ 0, 35, 0, 22, 20, 365, 35, 0, 100, 35, - /* 1950 */ 370, 35, 101, 373, 22, 100, 0, 22, 378, 0, - /* 1960 */ 380, 35, 332, 0, 189, 3, 365, 44, 254, 101, - /* 1970 */ 254, 44, 44, 100, 373, 44, 47, 100, 44, 378, - /* 1980 */ 3, 380, 254, 332, 47, 98, 35, 44, 96, 96, - /* 1990 */ 410, 95, 35, 35, 414, 365, 101, 417, 418, 419, - /* 2000 */ 420, 421, 422, 373, 424, 35, 101, 100, 378, 100, - /* 2010 */ 380, 410, 47, 168, 35, 414, 365, 100, 417, 418, - /* 2020 */ 419, 420, 421, 422, 373, 424, 168, 175, 35, 378, - /* 2030 */ 170, 380, 168, 332, 101, 44, 100, 47, 0, 0, - /* 2040 */ 410, 0, 101, 0, 414, 101, 101, 417, 418, 419, - /* 2050 */ 420, 421, 422, 101, 424, 100, 39, 47, 332, 39, - /* 2060 */ 100, 410, 101, 0, 100, 414, 365, 101, 417, 418, - /* 2070 */ 419, 420, 421, 422, 373, 424, 100, 169, 100, 378, - /* 2080 */ 47, 380, 100, 110, 44, 98, 171, 98, 2, 22, - /* 2090 */ 22, 365, 100, 332, 47, 101, 101, 100, 235, 373, - /* 2100 */ 100, 47, 101, 100, 378, 100, 380, 213, 101, 100, - /* 2110 */ 248, 410, 101, 215, 35, 414, 332, 111, 417, 418, - /* 2120 */ 419, 420, 421, 422, 35, 424, 365, 100, 35, 101, - /* 2130 */ 100, 35, 101, 101, 373, 100, 410, 35, 101, 378, - /* 2140 */ 414, 380, 100, 417, 418, 419, 420, 421, 422, 365, - /* 2150 */ 424, 35, 100, 22, 44, 100, 100, 373, 35, 123, - /* 2160 */ 112, 100, 378, 22, 380, 65, 71, 123, 123, 123, - /* 2170 */ 64, 410, 35, 35, 332, 414, 93, 35, 417, 418, - /* 2180 */ 419, 420, 421, 422, 35, 424, 35, 35, 35, 35, - /* 2190 */ 35, 35, 44, 332, 410, 35, 35, 35, 414, 22, - /* 2200 */ 35, 417, 418, 419, 420, 421, 422, 365, 424, 35, - /* 2210 */ 71, 35, 22, 35, 35, 373, 35, 35, 35, 35, - /* 2220 */ 378, 0, 380, 35, 39, 0, 365, 35, 48, 0, - /* 2230 */ 39, 35, 39, 0, 373, 48, 35, 48, 39, 378, - /* 2240 */ 0, 380, 48, 35, 35, 0, 22, 21, 473, 22, - /* 2250 */ 22, 21, 410, 473, 332, 473, 414, 20, 473, 417, - /* 2260 */ 418, 419, 420, 421, 422, 473, 424, 473, 473, 473, - /* 2270 */ 473, 410, 473, 473, 473, 414, 473, 473, 417, 418, - /* 2280 */ 419, 420, 421, 422, 473, 424, 473, 365, 473, 473, - /* 2290 */ 473, 473, 473, 473, 473, 373, 473, 473, 473, 473, - /* 2300 */ 378, 473, 380, 473, 473, 473, 473, 473, 473, 473, - /* 2310 */ 473, 473, 332, 473, 473, 473, 473, 473, 473, 473, - /* 2320 */ 473, 473, 473, 473, 473, 473, 473, 473, 332, 473, - /* 2330 */ 473, 473, 410, 473, 473, 473, 414, 473, 473, 417, - /* 2340 */ 418, 419, 420, 421, 422, 365, 424, 473, 473, 473, - /* 2350 */ 473, 473, 473, 373, 473, 473, 473, 473, 378, 473, - /* 2360 */ 380, 365, 473, 473, 473, 473, 473, 473, 473, 373, - /* 2370 */ 473, 473, 473, 473, 378, 473, 380, 473, 473, 473, - /* 2380 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, - /* 2390 */ 410, 332, 473, 473, 414, 473, 473, 417, 418, 419, - /* 2400 */ 420, 421, 422, 473, 424, 473, 410, 332, 473, 473, - /* 2410 */ 414, 473, 473, 417, 418, 419, 420, 421, 422, 473, - /* 2420 */ 424, 473, 473, 473, 365, 473, 332, 473, 473, 473, - /* 2430 */ 473, 473, 373, 473, 473, 473, 473, 378, 473, 380, - /* 2440 */ 365, 473, 473, 473, 473, 473, 473, 473, 373, 473, - /* 2450 */ 473, 473, 473, 378, 473, 380, 473, 473, 473, 365, - /* 2460 */ 473, 473, 473, 473, 473, 473, 473, 373, 473, 410, - /* 2470 */ 473, 473, 378, 414, 380, 473, 417, 418, 419, 420, - /* 2480 */ 421, 422, 473, 424, 473, 410, 473, 473, 473, 414, - /* 2490 */ 332, 473, 417, 418, 419, 420, 421, 422, 473, 424, - /* 2500 */ 473, 473, 473, 473, 410, 473, 473, 332, 414, 473, - /* 2510 */ 473, 417, 418, 419, 420, 421, 422, 473, 424, 473, - /* 2520 */ 473, 473, 473, 365, 473, 473, 473, 473, 473, 473, - /* 2530 */ 473, 373, 473, 473, 473, 473, 378, 473, 380, 473, - /* 2540 */ 365, 473, 473, 473, 473, 473, 473, 473, 373, 473, - /* 2550 */ 473, 473, 473, 378, 473, 380, 473, 473, 473, 473, - /* 2560 */ 473, 473, 473, 473, 473, 473, 473, 332, 410, 473, - /* 2570 */ 473, 473, 414, 473, 473, 417, 418, 419, 420, 421, - /* 2580 */ 422, 473, 424, 473, 473, 410, 473, 332, 473, 414, - /* 2590 */ 473, 473, 417, 418, 419, 420, 421, 422, 473, 424, - /* 2600 */ 365, 473, 473, 473, 473, 473, 473, 473, 373, 473, - /* 2610 */ 473, 473, 473, 378, 473, 380, 473, 473, 473, 473, - /* 2620 */ 365, 473, 473, 473, 473, 473, 473, 473, 373, 473, - /* 2630 */ 473, 473, 473, 378, 473, 380, 473, 473, 473, 473, - /* 2640 */ 473, 473, 473, 473, 473, 410, 473, 473, 473, 414, - /* 2650 */ 473, 473, 417, 418, 419, 420, 421, 422, 473, 424, - /* 2660 */ 473, 332, 473, 473, 473, 410, 473, 473, 473, 414, - /* 2670 */ 473, 473, 417, 418, 419, 420, 421, 422, 332, 424, - /* 2680 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, - /* 2690 */ 473, 473, 473, 473, 365, 473, 473, 473, 473, 473, - /* 2700 */ 473, 473, 373, 473, 473, 473, 473, 378, 473, 380, - /* 2710 */ 473, 365, 473, 473, 473, 473, 473, 473, 473, 373, - /* 2720 */ 473, 473, 473, 473, 378, 473, 380, 473, 473, 473, - /* 2730 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 410, - /* 2740 */ 332, 473, 473, 414, 473, 473, 417, 418, 419, 420, - /* 2750 */ 421, 422, 473, 424, 473, 473, 410, 473, 473, 473, - /* 2760 */ 414, 473, 473, 417, 418, 419, 420, 421, 422, 473, - /* 2770 */ 424, 473, 473, 365, 473, 473, 473, 473, 473, 473, - /* 2780 */ 473, 373, 473, 473, 473, 473, 378, 473, 380, 473, - /* 2790 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, - /* 2800 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, - /* 2810 */ 473, 473, 473, 473, 473, 473, 473, 473, 410, 473, - /* 2820 */ 473, 473, 414, 473, 473, 417, 418, 419, 420, 421, - /* 2830 */ 422, 473, 424, + /* 230 */ 230, 231, 232, 233, 234, 12, 13, 366, 20, 20, + /* 240 */ 18, 20, 20, 20, 373, 22, 366, 100, 100, 27, + /* 250 */ 341, 64, 30, 382, 374, 33, 33, 341, 35, 379, + /* 260 */ 366, 381, 439, 440, 441, 442, 63, 444, 445, 358, + /* 270 */ 48, 20, 50, 357, 332, 53, 334, 366, 368, 214, + /* 280 */ 364, 58, 388, 374, 373, 366, 375, 64, 0, 379, + /* 290 */ 374, 411, 276, 382, 71, 415, 109, 348, 418, 419, + /* 300 */ 420, 421, 422, 423, 355, 425, 387, 388, 428, 165, + /* 310 */ 430, 431, 432, 0, 252, 333, 436, 437, 100, 100, + /* 320 */ 97, 99, 0, 100, 414, 415, 261, 262, 263, 264, + /* 330 */ 265, 266, 267, 111, 21, 425, 48, 24, 25, 26, + /* 340 */ 27, 28, 29, 30, 31, 32, 352, 353, 366, 440, + /* 350 */ 441, 442, 165, 444, 445, 20, 374, 22, 111, 136, + /* 360 */ 137, 379, 140, 381, 168, 143, 144, 145, 146, 147, + /* 370 */ 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, + /* 380 */ 158, 159, 238, 161, 162, 163, 51, 166, 167, 166, + /* 390 */ 167, 235, 248, 411, 100, 172, 173, 415, 251, 251, + /* 400 */ 418, 419, 420, 421, 422, 423, 171, 425, 71, 186, + /* 410 */ 37, 188, 430, 429, 432, 431, 8, 9, 436, 437, + /* 420 */ 12, 13, 14, 15, 16, 238, 239, 240, 241, 242, + /* 430 */ 243, 244, 245, 246, 247, 248, 130, 214, 215, 181, + /* 440 */ 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, + /* 450 */ 227, 228, 229, 230, 231, 232, 233, 234, 235, 12, + /* 460 */ 13, 338, 204, 205, 341, 342, 14, 20, 20, 22, + /* 470 */ 251, 333, 20, 235, 33, 237, 103, 155, 105, 106, + /* 480 */ 33, 108, 35, 71, 338, 112, 164, 341, 342, 48, + /* 490 */ 444, 256, 257, 258, 448, 54, 55, 56, 57, 58, + /* 500 */ 333, 341, 196, 197, 366, 58, 133, 97, 366, 101, + /* 510 */ 464, 64, 374, 0, 468, 469, 374, 379, 71, 381, + /* 520 */ 341, 367, 341, 113, 114, 115, 116, 117, 118, 119, + /* 530 */ 120, 121, 122, 366, 124, 125, 126, 127, 128, 129, + /* 540 */ 99, 374, 345, 102, 97, 251, 379, 100, 381, 411, + /* 550 */ 390, 341, 392, 415, 22, 374, 418, 419, 420, 421, + /* 560 */ 422, 423, 420, 425, 0, 35, 369, 35, 430, 390, + /* 570 */ 432, 392, 417, 112, 436, 437, 63, 131, 411, 100, + /* 580 */ 21, 135, 415, 136, 137, 418, 419, 420, 421, 422, + /* 590 */ 423, 341, 425, 34, 133, 36, 458, 430, 443, 432, + /* 600 */ 390, 71, 392, 436, 437, 20, 429, 357, 431, 333, + /* 610 */ 169, 170, 341, 166, 167, 174, 168, 176, 166, 172, + /* 620 */ 173, 440, 441, 442, 374, 444, 445, 111, 357, 97, + /* 630 */ 66, 67, 68, 186, 193, 188, 345, 73, 74, 75, + /* 640 */ 194, 195, 366, 79, 198, 374, 200, 14, 84, 85, + /* 650 */ 374, 367, 361, 20, 90, 379, 0, 381, 130, 131, + /* 660 */ 369, 214, 215, 135, 217, 218, 219, 220, 221, 222, + /* 670 */ 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, + /* 680 */ 233, 234, 12, 13, 14, 358, 333, 411, 367, 58, + /* 690 */ 20, 415, 22, 366, 418, 419, 420, 421, 422, 423, + /* 700 */ 44, 425, 375, 33, 2, 35, 430, 333, 432, 341, + /* 710 */ 8, 9, 436, 437, 12, 13, 14, 15, 16, 366, + /* 720 */ 20, 136, 137, 447, 4, 357, 100, 374, 58, 3, + /* 730 */ 251, 100, 379, 102, 381, 358, 333, 66, 67, 68, + /* 740 */ 368, 71, 374, 366, 73, 74, 75, 365, 333, 0, + /* 750 */ 79, 379, 375, 379, 80, 84, 85, 172, 173, 333, + /* 760 */ 378, 90, 333, 43, 411, 45, 46, 97, 415, 366, + /* 770 */ 100, 418, 419, 420, 421, 422, 423, 374, 425, 347, + /* 780 */ 22, 374, 379, 430, 381, 432, 414, 415, 416, 436, + /* 790 */ 437, 58, 385, 35, 379, 366, 22, 425, 367, 166, + /* 800 */ 447, 341, 20, 374, 372, 379, 136, 137, 379, 35, + /* 810 */ 381, 185, 367, 187, 411, 141, 142, 357, 415, 352, + /* 820 */ 353, 418, 419, 420, 421, 422, 423, 424, 425, 426, + /* 830 */ 427, 354, 99, 356, 374, 102, 166, 167, 164, 213, + /* 840 */ 411, 341, 172, 173, 415, 71, 341, 418, 419, 420, + /* 850 */ 421, 422, 423, 341, 425, 97, 186, 357, 188, 430, + /* 860 */ 403, 432, 357, 3, 368, 436, 437, 374, 168, 357, + /* 870 */ 428, 97, 47, 431, 374, 379, 447, 251, 385, 374, + /* 880 */ 20, 333, 251, 417, 214, 215, 374, 217, 218, 219, + /* 890 */ 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, + /* 900 */ 230, 231, 232, 233, 234, 12, 13, 0, 368, 443, + /* 910 */ 414, 415, 416, 20, 366, 22, 14, 15, 16, 379, + /* 920 */ 39, 425, 374, 1, 2, 100, 33, 379, 35, 381, + /* 930 */ 367, 24, 25, 26, 27, 28, 29, 30, 31, 32, + /* 940 */ 8, 9, 366, 111, 12, 13, 14, 15, 16, 373, + /* 950 */ 168, 58, 0, 333, 414, 415, 416, 208, 382, 411, + /* 960 */ 186, 101, 188, 415, 71, 425, 418, 419, 420, 421, + /* 970 */ 422, 423, 374, 425, 417, 341, 44, 367, 430, 358, + /* 980 */ 432, 333, 355, 385, 436, 437, 366, 366, 214, 215, + /* 990 */ 97, 357, 160, 100, 374, 447, 375, 271, 333, 379, + /* 1000 */ 443, 381, 333, 12, 13, 45, 46, 44, 374, 333, + /* 1010 */ 8, 9, 22, 22, 12, 13, 14, 15, 16, 376, + /* 1020 */ 341, 341, 379, 101, 33, 35, 35, 379, 168, 136, + /* 1030 */ 137, 411, 333, 249, 250, 415, 357, 357, 418, 419, + /* 1040 */ 420, 421, 422, 423, 379, 425, 4, 341, 379, 58, + /* 1050 */ 430, 112, 432, 374, 374, 379, 436, 437, 20, 166, + /* 1060 */ 167, 19, 71, 357, 112, 172, 173, 447, 44, 130, + /* 1070 */ 131, 132, 133, 134, 135, 33, 341, 44, 379, 186, + /* 1080 */ 374, 188, 130, 131, 132, 133, 134, 135, 97, 333, + /* 1090 */ 48, 376, 357, 376, 379, 53, 379, 333, 359, 104, + /* 1100 */ 58, 362, 107, 101, 333, 136, 137, 214, 215, 374, + /* 1110 */ 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, + /* 1120 */ 227, 228, 229, 230, 231, 232, 233, 234, 12, 13, + /* 1130 */ 333, 250, 341, 35, 101, 379, 20, 366, 22, 341, + /* 1140 */ 96, 99, 341, 379, 102, 374, 100, 2, 357, 33, + /* 1150 */ 379, 35, 381, 8, 9, 357, 110, 12, 13, 14, + /* 1160 */ 15, 16, 8, 9, 341, 374, 12, 13, 14, 15, + /* 1170 */ 16, 42, 374, 44, 58, 374, 379, 186, 0, 188, + /* 1180 */ 357, 333, 411, 333, 341, 334, 415, 71, 333, 418, + /* 1190 */ 419, 420, 421, 422, 423, 341, 425, 374, 341, 104, + /* 1200 */ 357, 430, 107, 432, 166, 214, 215, 436, 437, 389, + /* 1210 */ 333, 357, 168, 97, 357, 333, 100, 374, 227, 228, + /* 1220 */ 229, 230, 231, 232, 233, 1, 2, 379, 374, 379, + /* 1230 */ 42, 374, 44, 472, 379, 18, 273, 58, 333, 333, + /* 1240 */ 23, 440, 441, 442, 0, 444, 445, 333, 104, 448, + /* 1250 */ 398, 107, 136, 137, 37, 38, 379, 104, 41, 343, + /* 1260 */ 107, 379, 35, 461, 463, 464, 22, 8, 9, 468, + /* 1270 */ 469, 12, 13, 14, 15, 16, 59, 60, 61, 62, + /* 1280 */ 35, 102, 166, 167, 379, 379, 188, 64, 172, 173, + /* 1290 */ 112, 455, 199, 379, 201, 366, 444, 0, 71, 275, + /* 1300 */ 448, 0, 186, 378, 188, 44, 398, 343, 130, 131, + /* 1310 */ 132, 133, 134, 135, 0, 463, 464, 100, 340, 22, + /* 1320 */ 468, 469, 168, 22, 44, 44, 44, 333, 44, 44, + /* 1330 */ 214, 215, 44, 217, 218, 219, 220, 221, 222, 223, + /* 1340 */ 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + /* 1350 */ 234, 44, 444, 465, 44, 138, 448, 13, 333, 389, + /* 1360 */ 366, 44, 101, 49, 44, 44, 13, 44, 374, 389, + /* 1370 */ 446, 463, 464, 379, 44, 381, 468, 469, 44, 35, + /* 1380 */ 438, 101, 101, 101, 44, 101, 101, 449, 35, 101, + /* 1390 */ 253, 366, 44, 48, 44, 178, 179, 180, 413, 374, + /* 1400 */ 183, 412, 184, 400, 379, 411, 381, 44, 101, 415, + /* 1410 */ 398, 101, 418, 419, 420, 421, 422, 423, 101, 425, + /* 1420 */ 203, 101, 101, 206, 101, 42, 209, 210, 211, 212, + /* 1430 */ 213, 101, 20, 188, 386, 101, 411, 214, 333, 389, + /* 1440 */ 415, 101, 386, 418, 419, 420, 421, 422, 423, 101, + /* 1450 */ 425, 101, 165, 459, 460, 384, 444, 432, 333, 20, + /* 1460 */ 448, 436, 437, 341, 101, 341, 386, 384, 251, 384, + /* 1470 */ 98, 366, 351, 95, 341, 463, 464, 350, 94, 374, + /* 1480 */ 468, 469, 341, 349, 379, 20, 381, 341, 341, 347, + /* 1490 */ 335, 366, 335, 20, 406, 20, 381, 347, 20, 374, + /* 1500 */ 342, 20, 399, 347, 379, 342, 381, 347, 347, 347, + /* 1510 */ 341, 347, 52, 202, 344, 344, 411, 335, 366, 335, + /* 1520 */ 415, 341, 379, 418, 419, 420, 421, 422, 423, 410, + /* 1530 */ 425, 366, 366, 366, 366, 333, 411, 432, 366, 366, + /* 1540 */ 415, 436, 437, 418, 419, 420, 421, 422, 423, 366, + /* 1550 */ 425, 366, 333, 366, 379, 366, 379, 432, 100, 408, + /* 1560 */ 345, 436, 437, 192, 191, 406, 345, 381, 366, 341, + /* 1570 */ 389, 379, 260, 379, 454, 259, 374, 454, 379, 405, + /* 1580 */ 404, 379, 389, 381, 394, 366, 379, 268, 457, 394, + /* 1590 */ 177, 456, 454, 374, 270, 269, 254, 272, 379, 277, + /* 1600 */ 381, 453, 274, 473, 250, 374, 467, 20, 341, 345, + /* 1610 */ 413, 342, 333, 411, 392, 466, 345, 415, 417, 20, + /* 1620 */ 418, 419, 420, 421, 422, 423, 394, 425, 379, 379, + /* 1630 */ 411, 379, 379, 379, 415, 394, 333, 418, 419, 420, + /* 1640 */ 421, 422, 423, 452, 425, 366, 170, 451, 391, 379, + /* 1650 */ 345, 432, 362, 374, 345, 100, 437, 374, 379, 100, + /* 1660 */ 381, 435, 370, 345, 356, 379, 36, 336, 341, 366, + /* 1670 */ 335, 395, 470, 471, 401, 407, 0, 374, 331, 0, + /* 1680 */ 0, 42, 379, 346, 381, 35, 395, 0, 35, 360, + /* 1690 */ 411, 207, 360, 360, 415, 35, 35, 418, 419, 420, + /* 1700 */ 421, 422, 423, 207, 425, 0, 35, 333, 35, 207, + /* 1710 */ 0, 207, 0, 35, 411, 0, 22, 0, 415, 35, + /* 1720 */ 194, 418, 419, 420, 421, 422, 423, 188, 425, 333, + /* 1730 */ 186, 0, 0, 0, 182, 181, 0, 0, 47, 460, + /* 1740 */ 366, 0, 0, 0, 42, 0, 0, 0, 374, 35, + /* 1750 */ 155, 0, 155, 379, 0, 381, 0, 0, 0, 0, + /* 1760 */ 0, 0, 366, 0, 0, 462, 42, 371, 0, 0, + /* 1770 */ 374, 0, 0, 0, 0, 379, 0, 381, 0, 333, + /* 1780 */ 0, 0, 0, 0, 0, 411, 0, 0, 0, 415, + /* 1790 */ 0, 0, 418, 419, 420, 421, 422, 423, 0, 425, + /* 1800 */ 0, 22, 333, 0, 139, 0, 0, 411, 0, 96, + /* 1810 */ 58, 415, 366, 0, 418, 419, 420, 421, 422, 423, + /* 1820 */ 374, 425, 96, 22, 22, 379, 0, 381, 35, 0, + /* 1830 */ 0, 14, 47, 58, 42, 366, 39, 14, 44, 0, + /* 1840 */ 371, 0, 47, 374, 40, 471, 47, 58, 379, 39, + /* 1850 */ 381, 0, 0, 39, 177, 0, 0, 411, 0, 0, + /* 1860 */ 333, 415, 35, 48, 418, 419, 420, 421, 422, 423, + /* 1870 */ 0, 425, 65, 427, 39, 0, 48, 35, 0, 39, + /* 1880 */ 411, 19, 35, 39, 415, 48, 0, 418, 419, 420, + /* 1890 */ 421, 422, 423, 366, 425, 33, 35, 48, 371, 39, + /* 1900 */ 0, 374, 0, 0, 0, 109, 379, 35, 381, 22, + /* 1910 */ 48, 0, 35, 44, 35, 35, 54, 55, 56, 57, + /* 1920 */ 58, 22, 0, 35, 35, 107, 35, 333, 44, 35, + /* 1930 */ 35, 22, 0, 50, 22, 0, 22, 0, 411, 0, + /* 1940 */ 35, 35, 415, 35, 0, 418, 419, 420, 421, 422, + /* 1950 */ 423, 22, 425, 20, 35, 35, 333, 100, 35, 0, + /* 1960 */ 366, 99, 35, 100, 102, 101, 0, 22, 374, 22, + /* 1970 */ 0, 0, 3, 379, 44, 381, 255, 168, 44, 3, + /* 1980 */ 168, 100, 44, 47, 44, 95, 101, 333, 96, 366, + /* 1990 */ 170, 35, 168, 100, 175, 98, 134, 374, 47, 101, + /* 2000 */ 189, 100, 379, 96, 381, 411, 44, 44, 255, 415, + /* 2010 */ 255, 101, 418, 419, 420, 421, 422, 423, 333, 425, + /* 2020 */ 366, 100, 35, 35, 100, 35, 101, 101, 374, 101, + /* 2030 */ 35, 169, 35, 379, 411, 381, 174, 44, 415, 47, + /* 2040 */ 0, 418, 419, 420, 421, 422, 423, 101, 425, 100, + /* 2050 */ 47, 366, 190, 101, 0, 193, 0, 0, 100, 374, + /* 2060 */ 39, 47, 0, 39, 379, 411, 381, 100, 100, 415, + /* 2070 */ 249, 44, 418, 419, 420, 421, 422, 423, 101, 425, + /* 2080 */ 101, 100, 333, 100, 171, 169, 100, 98, 110, 47, + /* 2090 */ 236, 2, 98, 22, 47, 47, 411, 101, 100, 333, + /* 2100 */ 415, 100, 100, 418, 419, 420, 421, 422, 423, 101, + /* 2110 */ 425, 101, 100, 100, 22, 366, 101, 100, 111, 101, + /* 2120 */ 35, 35, 100, 374, 101, 35, 100, 123, 379, 214, + /* 2130 */ 381, 101, 366, 216, 35, 100, 35, 35, 101, 100, + /* 2140 */ 374, 22, 101, 100, 112, 379, 100, 381, 123, 333, + /* 2150 */ 44, 123, 123, 100, 22, 35, 65, 64, 100, 35, + /* 2160 */ 411, 35, 35, 35, 415, 35, 35, 418, 419, 420, + /* 2170 */ 421, 422, 423, 35, 425, 35, 35, 411, 35, 71, + /* 2180 */ 93, 415, 366, 44, 418, 419, 420, 421, 422, 423, + /* 2190 */ 374, 425, 35, 35, 35, 379, 22, 381, 35, 333, + /* 2200 */ 35, 35, 35, 35, 71, 35, 35, 35, 22, 0, + /* 2210 */ 35, 35, 48, 0, 35, 333, 39, 48, 0, 39, + /* 2220 */ 35, 48, 0, 39, 35, 0, 48, 411, 35, 39, + /* 2230 */ 35, 415, 366, 0, 418, 419, 420, 421, 422, 423, + /* 2240 */ 374, 425, 22, 22, 21, 379, 22, 381, 366, 21, + /* 2250 */ 20, 474, 474, 474, 474, 474, 374, 474, 474, 474, + /* 2260 */ 474, 379, 474, 381, 474, 474, 474, 474, 474, 474, + /* 2270 */ 474, 474, 474, 474, 474, 474, 333, 411, 474, 474, + /* 2280 */ 474, 415, 474, 474, 418, 419, 420, 421, 422, 423, + /* 2290 */ 474, 425, 474, 411, 333, 474, 474, 415, 474, 474, + /* 2300 */ 418, 419, 420, 421, 422, 423, 474, 425, 474, 366, + /* 2310 */ 474, 474, 474, 474, 474, 474, 474, 374, 474, 474, + /* 2320 */ 474, 474, 379, 474, 381, 474, 474, 366, 474, 474, + /* 2330 */ 474, 474, 474, 474, 474, 374, 474, 474, 474, 474, + /* 2340 */ 379, 474, 381, 474, 474, 474, 474, 474, 474, 474, + /* 2350 */ 474, 474, 333, 474, 411, 474, 474, 474, 415, 474, + /* 2360 */ 474, 418, 419, 420, 421, 422, 423, 474, 425, 333, + /* 2370 */ 474, 474, 411, 474, 474, 474, 415, 474, 474, 418, + /* 2380 */ 419, 420, 421, 422, 423, 366, 425, 474, 474, 474, + /* 2390 */ 474, 474, 474, 374, 474, 474, 474, 474, 379, 474, + /* 2400 */ 381, 474, 366, 474, 474, 474, 474, 474, 474, 474, + /* 2410 */ 374, 474, 474, 474, 474, 379, 474, 381, 474, 474, + /* 2420 */ 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2430 */ 411, 474, 474, 333, 415, 474, 474, 418, 419, 420, + /* 2440 */ 421, 422, 423, 474, 425, 474, 474, 411, 474, 333, + /* 2450 */ 474, 415, 474, 474, 418, 419, 420, 421, 422, 423, + /* 2460 */ 474, 425, 474, 474, 474, 474, 366, 474, 474, 474, + /* 2470 */ 474, 474, 474, 474, 374, 474, 474, 474, 474, 379, + /* 2480 */ 474, 381, 366, 474, 474, 474, 474, 474, 474, 474, + /* 2490 */ 374, 474, 474, 474, 474, 379, 474, 381, 474, 474, + /* 2500 */ 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2510 */ 474, 411, 474, 474, 474, 415, 333, 474, 418, 419, + /* 2520 */ 420, 421, 422, 423, 474, 425, 474, 411, 474, 474, + /* 2530 */ 474, 415, 474, 333, 418, 419, 420, 421, 422, 423, + /* 2540 */ 474, 425, 474, 474, 474, 474, 474, 474, 474, 366, + /* 2550 */ 474, 474, 474, 474, 474, 474, 474, 374, 474, 474, + /* 2560 */ 474, 474, 379, 474, 381, 474, 366, 474, 474, 474, + /* 2570 */ 474, 474, 474, 474, 374, 474, 474, 474, 474, 379, + /* 2580 */ 474, 381, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2590 */ 474, 474, 474, 474, 411, 333, 474, 474, 415, 474, + /* 2600 */ 474, 418, 419, 420, 421, 422, 423, 474, 425, 474, + /* 2610 */ 474, 411, 474, 474, 474, 415, 474, 474, 418, 419, + /* 2620 */ 420, 421, 422, 423, 474, 425, 474, 474, 366, 474, + /* 2630 */ 474, 474, 474, 474, 474, 474, 374, 474, 474, 474, + /* 2640 */ 474, 379, 474, 381, 474, 474, 474, 474, 474, 474, + /* 2650 */ 474, 474, 474, 474, 474, 474, 333, 474, 474, 474, + /* 2660 */ 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2670 */ 474, 474, 474, 411, 333, 474, 474, 415, 474, 474, + /* 2680 */ 418, 419, 420, 421, 422, 423, 474, 425, 474, 366, + /* 2690 */ 474, 474, 474, 474, 474, 474, 474, 374, 474, 474, + /* 2700 */ 474, 474, 379, 474, 381, 474, 474, 366, 474, 474, + /* 2710 */ 474, 474, 474, 474, 474, 374, 474, 474, 474, 474, + /* 2720 */ 379, 474, 381, 474, 474, 474, 474, 474, 474, 474, + /* 2730 */ 474, 474, 333, 474, 411, 474, 474, 474, 415, 474, + /* 2740 */ 474, 418, 419, 420, 421, 422, 423, 474, 425, 333, + /* 2750 */ 474, 474, 411, 474, 474, 474, 415, 474, 474, 418, + /* 2760 */ 419, 420, 421, 422, 423, 366, 425, 474, 474, 474, + /* 2770 */ 474, 474, 474, 374, 474, 474, 474, 474, 379, 474, + /* 2780 */ 381, 474, 366, 474, 474, 474, 474, 474, 474, 474, + /* 2790 */ 374, 474, 474, 474, 474, 379, 474, 381, 474, 474, + /* 2800 */ 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2810 */ 411, 474, 474, 474, 415, 474, 474, 418, 419, 420, + /* 2820 */ 421, 422, 423, 474, 425, 474, 474, 411, 474, 474, + /* 2830 */ 474, 415, 474, 474, 418, 419, 420, 421, 422, 423, + /* 2840 */ 474, 425, }; -#define YY_SHIFT_COUNT (753) +#define YY_SHIFT_COUNT (754) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2245) +#define YY_SHIFT_MAX (2233) static const unsigned short int yy_shift_ofst[] = { - /* 0 */ 957, 0, 98, 0, 321, 321, 321, 321, 321, 321, - /* 10 */ 321, 321, 321, 321, 321, 419, 641, 641, 739, 641, - /* 20 */ 641, 641, 641, 641, 641, 641, 641, 641, 641, 641, - /* 30 */ 641, 641, 641, 641, 641, 641, 641, 641, 641, 641, - /* 40 */ 641, 641, 641, 641, 641, 641, 641, 641, 141, 328, - /* 50 */ 818, 68, 97, 103, 469, 103, 68, 68, 966, 966, - /* 60 */ 966, 103, 966, 966, 94, 103, 4, 653, 24, 24, - /* 70 */ 653, 292, 292, 319, 425, 186, 186, 24, 24, 24, - /* 80 */ 24, 24, 24, 24, 138, 24, 24, 124, 4, 24, - /* 90 */ 24, 243, 24, 4, 24, 138, 24, 138, 4, 24, - /* 100 */ 24, 4, 24, 4, 4, 4, 24, 232, 956, 285, - /* 110 */ 285, 117, 251, 990, 990, 990, 990, 990, 990, 990, - /* 120 */ 990, 990, 990, 990, 990, 990, 990, 990, 990, 990, - /* 130 */ 990, 990, 679, 603, 319, 425, 239, 674, 674, 674, - /* 140 */ 36, 395, 395, 239, 410, 410, 410, 124, 351, 242, - /* 150 */ 4, 489, 4, 489, 489, 493, 506, 245, 245, 245, - /* 160 */ 245, 245, 245, 245, 245, 1318, 491, 375, 400, 673, - /* 170 */ 502, 112, 95, 919, 922, 29, 786, 898, 929, 953, - /* 180 */ 796, 880, 745, 796, 1106, 992, 887, 1140, 1351, 1226, - /* 190 */ 1373, 1407, 1373, 1266, 1414, 1414, 1373, 1266, 1266, 1344, - /* 200 */ 1350, 1414, 1352, 1414, 1414, 1414, 1442, 1442, 1444, 124, - /* 210 */ 1447, 124, 1450, 1455, 124, 1450, 124, 124, 124, 1414, - /* 220 */ 124, 1430, 1430, 1442, 4, 4, 4, 4, 4, 4, - /* 230 */ 4, 4, 4, 4, 4, 1414, 1442, 489, 489, 489, - /* 240 */ 1300, 1405, 1444, 232, 1315, 1353, 1447, 232, 1414, 1407, - /* 250 */ 1407, 489, 1302, 1304, 489, 1302, 1304, 489, 489, 4, - /* 260 */ 1307, 1398, 1302, 1308, 1312, 1329, 1140, 1309, 1311, 1317, - /* 270 */ 1337, 410, 1573, 1414, 1450, 232, 232, 1585, 1304, 489, - /* 280 */ 489, 489, 489, 489, 1304, 489, 1457, 232, 493, 232, - /* 290 */ 410, 1556, 1560, 489, 506, 1414, 232, 1628, 1442, 2833, - /* 300 */ 2833, 2833, 2833, 2833, 2833, 2833, 2833, 2833, 170, 1402, - /* 310 */ 473, 981, 166, 466, 808, 157, 374, 587, 602, 597, - /* 320 */ 196, 196, 196, 196, 196, 196, 196, 196, 196, 173, - /* 330 */ 320, 26, 26, 342, 736, 624, 795, 900, 1124, 591, - /* 340 */ 1015, 305, 305, 976, 592, 108, 976, 976, 976, 834, - /* 350 */ 977, 1179, 1109, 17, 336, 1079, 1130, 1142, 1144, 696, - /* 360 */ 1098, 1267, 1078, 1090, 1221, 598, 1229, 1234, 1240, 1154, - /* 370 */ 905, 1081, 172, 1249, 1253, 1257, 1258, 1261, 1262, 1294, - /* 380 */ 1269, 1059, 1127, 1121, 1279, 1256, 1313, 1320, 1324, 1325, - /* 390 */ 1335, 1338, 1188, 1326, 1358, 1348, 1346, 1676, 1679, 1692, - /* 400 */ 1652, 1696, 1662, 1497, 1672, 1673, 1674, 1503, 1711, 1678, - /* 410 */ 1680, 1511, 1720, 1515, 1723, 1689, 1727, 1706, 1729, 1695, - /* 420 */ 1537, 1544, 1547, 1735, 1736, 1737, 1558, 1557, 1742, 1743, - /* 430 */ 1697, 1745, 1746, 1747, 1707, 1748, 1750, 1752, 1753, 1754, - /* 440 */ 1757, 1764, 1766, 1612, 1733, 1769, 1615, 1773, 1774, 1786, - /* 450 */ 1787, 1788, 1790, 1791, 1792, 1793, 1795, 1796, 1798, 1799, - /* 460 */ 1800, 1801, 1803, 1763, 1806, 1807, 1808, 1809, 1810, 1811, - /* 470 */ 1762, 1812, 1813, 1815, 1677, 1817, 1818, 1797, 1724, 1802, - /* 480 */ 1725, 1822, 1765, 1794, 1825, 1768, 1827, 1770, 1830, 1832, - /* 490 */ 1814, 1819, 1789, 1804, 1821, 1805, 1823, 1816, 1836, 1824, - /* 500 */ 1820, 1840, 1849, 1850, 1826, 1684, 1853, 1854, 1857, 1828, - /* 510 */ 1866, 1867, 1833, 1831, 1834, 1869, 1835, 1838, 1837, 1871, - /* 520 */ 1839, 1841, 1843, 1875, 1846, 1847, 1844, 1878, 1884, 1888, - /* 530 */ 1890, 1782, 1829, 1859, 1876, 1897, 1870, 1872, 1874, 1879, - /* 540 */ 1880, 1886, 1891, 1881, 1883, 1889, 1885, 1910, 1900, 1913, - /* 550 */ 1901, 1882, 1919, 1912, 1902, 1938, 1904, 1940, 1906, 1942, - /* 560 */ 1921, 1924, 1911, 1914, 1916, 1851, 1848, 1947, 1845, 1855, - /* 570 */ 1926, 1932, 1956, 1775, 1935, 1858, 1860, 1959, 1963, 1864, - /* 580 */ 1852, 1962, 1923, 1714, 1873, 1868, 1877, 1892, 1887, 1893, - /* 590 */ 1896, 1895, 1927, 1928, 1905, 1907, 1909, 1917, 1933, 1931, - /* 600 */ 1929, 1937, 1936, 1934, 1716, 1941, 1944, 1977, 1943, 1728, - /* 610 */ 1951, 1957, 1958, 1970, 1979, 1993, 1945, 1952, 1965, 1862, - /* 620 */ 1991, 1990, 2038, 2039, 2041, 2043, 1955, 2017, 1804, 2010, - /* 630 */ 1960, 1961, 1966, 1964, 1976, 1915, 1978, 2063, 2020, 1908, - /* 640 */ 1982, 1973, 1804, 2033, 2040, 1987, 1863, 1989, 2086, 2067, - /* 650 */ 1894, 1992, 1994, 1997, 1995, 2000, 2001, 2047, 2003, 2005, - /* 660 */ 2054, 2007, 2068, 1898, 2009, 2006, 2011, 2079, 2089, 2027, - /* 670 */ 2028, 2093, 2030, 2031, 2096, 2035, 2032, 2102, 2042, 2037, - /* 680 */ 2116, 2052, 2036, 2044, 2045, 2046, 2131, 2048, 2055, 2110, - /* 690 */ 2056, 2123, 2061, 2110, 2110, 2141, 2100, 2106, 2137, 2138, - /* 700 */ 2142, 2149, 2151, 2152, 2153, 2154, 2155, 2156, 2095, 2083, - /* 710 */ 2148, 2160, 2161, 2162, 2177, 2165, 2174, 2176, 2139, 1886, - /* 720 */ 2178, 1891, 2179, 2181, 2182, 2183, 2190, 2184, 2221, 2188, - /* 730 */ 2180, 2185, 2225, 2192, 2187, 2191, 2229, 2196, 2189, 2193, - /* 740 */ 2233, 2201, 2194, 2199, 2240, 2208, 2209, 2245, 2224, 2226, - /* 750 */ 2227, 2228, 2230, 2237, + /* 0 */ 1217, 0, 223, 0, 447, 447, 447, 447, 447, 447, + /* 10 */ 447, 447, 447, 447, 447, 670, 893, 893, 1116, 893, + /* 20 */ 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, + /* 30 */ 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, + /* 40 */ 893, 893, 893, 893, 893, 893, 893, 893, 148, 219, + /* 50 */ 626, 218, 631, 294, 479, 294, 218, 218, 991, 991, + /* 60 */ 991, 294, 991, 991, 147, 294, 31, 585, 124, 124, + /* 70 */ 585, 720, 720, 221, 45, 35, 35, 124, 124, 124, + /* 80 */ 124, 124, 124, 124, 172, 124, 124, 22, 31, 124, + /* 90 */ 124, 186, 124, 31, 124, 172, 124, 172, 31, 124, + /* 100 */ 124, 31, 124, 31, 31, 31, 124, 203, 222, 187, + /* 110 */ 187, 671, 13, 774, 774, 774, 774, 774, 774, 774, + /* 120 */ 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, + /* 130 */ 774, 774, 373, 860, 221, 45, 530, 448, 448, 448, + /* 140 */ 513, 238, 238, 530, 251, 251, 251, 22, 247, 156, + /* 150 */ 31, 337, 31, 337, 337, 516, 412, 410, 410, 410, + /* 160 */ 410, 410, 410, 410, 410, 1862, 564, 313, 196, 16, + /* 170 */ 65, 112, 235, 452, 633, 335, 700, 960, 461, 782, + /* 180 */ 784, 881, 726, 784, 1129, 62, 1038, 1137, 1345, 1218, + /* 190 */ 1383, 1412, 1383, 1287, 1439, 1439, 1383, 1287, 1287, 1372, + /* 200 */ 1378, 1439, 1384, 1439, 1439, 1439, 1465, 1465, 1473, 22, + /* 210 */ 1475, 22, 1478, 1481, 22, 1478, 22, 22, 22, 1439, + /* 220 */ 22, 1460, 1460, 1465, 31, 31, 31, 31, 31, 31, + /* 230 */ 31, 31, 31, 31, 31, 1439, 1465, 337, 337, 337, + /* 240 */ 1311, 1458, 1473, 203, 1371, 1373, 1475, 203, 1439, 1412, + /* 250 */ 1412, 337, 1312, 1316, 337, 1312, 1316, 337, 337, 31, + /* 260 */ 1319, 1413, 1312, 1324, 1326, 1342, 1137, 1322, 1328, 1325, + /* 270 */ 1354, 251, 1587, 1439, 1478, 203, 203, 1599, 1316, 337, + /* 280 */ 337, 337, 337, 337, 1316, 337, 1476, 203, 516, 203, + /* 290 */ 251, 1555, 1559, 337, 412, 1439, 203, 1630, 1465, 2842, + /* 300 */ 2842, 2842, 2842, 2842, 2842, 2842, 2842, 2842, 36, 441, + /* 310 */ 907, 1042, 408, 932, 1002, 952, 702, 1145, 1154, 1178, + /* 320 */ 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, 939, + /* 330 */ 446, 76, 76, 674, 258, 322, 733, 532, 758, 559, + /* 340 */ 306, 528, 528, 902, 922, 144, 902, 902, 902, 288, + /* 350 */ 749, 1033, 990, 1188, 832, 656, 995, 1095, 1144, 1153, + /* 360 */ 1244, 1297, 1301, 1093, 1261, 1280, 1179, 1282, 1284, 1285, + /* 370 */ 969, 963, 1024, 1044, 1307, 1310, 1317, 1320, 1321, 1323, + /* 380 */ 1224, 1330, 1098, 1245, 1223, 1281, 825, 1288, 1334, 1340, + /* 390 */ 1348, 1350, 1363, 1046, 1344, 1353, 1227, 1314, 1676, 1679, + /* 400 */ 1680, 1639, 1687, 1650, 1484, 1653, 1660, 1661, 1496, 1705, + /* 410 */ 1671, 1673, 1502, 1710, 1504, 1712, 1678, 1715, 1694, 1717, + /* 420 */ 1684, 1526, 1539, 1544, 1731, 1732, 1733, 1552, 1554, 1736, + /* 430 */ 1737, 1691, 1741, 1742, 1743, 1702, 1745, 1746, 1747, 1754, + /* 440 */ 1756, 1757, 1758, 1759, 1595, 1714, 1751, 1597, 1760, 1761, + /* 450 */ 1763, 1764, 1768, 1769, 1771, 1772, 1773, 1774, 1776, 1778, + /* 460 */ 1780, 1781, 1782, 1783, 1724, 1784, 1786, 1787, 1788, 1790, + /* 470 */ 1791, 1779, 1798, 1800, 1803, 1665, 1805, 1806, 1801, 1713, + /* 480 */ 1802, 1726, 1808, 1752, 1793, 1813, 1775, 1826, 1789, 1829, + /* 490 */ 1830, 1792, 1797, 1794, 1785, 1817, 1795, 1823, 1799, 1839, + /* 500 */ 1804, 1810, 1841, 1851, 1852, 1814, 1677, 1855, 1856, 1858, + /* 510 */ 1807, 1859, 1870, 1827, 1815, 1835, 1875, 1842, 1828, 1840, + /* 520 */ 1878, 1847, 1837, 1844, 1886, 1861, 1849, 1860, 1900, 1902, + /* 530 */ 1903, 1904, 1796, 1818, 1872, 1887, 1911, 1877, 1879, 1880, + /* 540 */ 1888, 1889, 1869, 1884, 1891, 1894, 1899, 1895, 1922, 1909, + /* 550 */ 1932, 1912, 1883, 1935, 1914, 1905, 1937, 1906, 1939, 1908, + /* 560 */ 1944, 1929, 1933, 1919, 1920, 1923, 1864, 1857, 1959, 1809, + /* 570 */ 1863, 1927, 1945, 1966, 1811, 1947, 1812, 1820, 1970, 1971, + /* 580 */ 1824, 1819, 1969, 1930, 1721, 1881, 1885, 1893, 1892, 1897, + /* 590 */ 1907, 1890, 1898, 1934, 1938, 1910, 1901, 1921, 1924, 1925, + /* 600 */ 1940, 1936, 1951, 1949, 1962, 1753, 1926, 1928, 1976, 1963, + /* 610 */ 1755, 1956, 1987, 1988, 1990, 1995, 1997, 1946, 1952, 1992, + /* 620 */ 1821, 1993, 2003, 2040, 2054, 2056, 2057, 1958, 2021, 1785, + /* 630 */ 2014, 1967, 1977, 1979, 1968, 1981, 1913, 1983, 2062, 2024, + /* 640 */ 1916, 1986, 1978, 1785, 2042, 2027, 1989, 1854, 1994, 2089, + /* 650 */ 2071, 1915, 1998, 1996, 2001, 2008, 2002, 2010, 2047, 2012, + /* 660 */ 2013, 2048, 2015, 2092, 1917, 2017, 2007, 2018, 2085, 2086, + /* 670 */ 2022, 2023, 2090, 2026, 2030, 2099, 2035, 2037, 2101, 2039, + /* 680 */ 2041, 2102, 2043, 2004, 2025, 2028, 2029, 2119, 2032, 2046, + /* 690 */ 2106, 2053, 2120, 2058, 2106, 2106, 2132, 2091, 2093, 2124, + /* 700 */ 2126, 2127, 2128, 2130, 2131, 2138, 2140, 2141, 2143, 2108, + /* 710 */ 2087, 2139, 2157, 2158, 2159, 2174, 2163, 2165, 2166, 2133, + /* 720 */ 1869, 2167, 1884, 2168, 2170, 2171, 2172, 2186, 2175, 2209, + /* 730 */ 2176, 2164, 2177, 2213, 2179, 2169, 2180, 2218, 2185, 2173, + /* 740 */ 2184, 2222, 2189, 2178, 2190, 2225, 2193, 2195, 2233, 2220, + /* 750 */ 2223, 2221, 2224, 2228, 2230, }; #define YY_REDUCE_COUNT (307) -#define YY_REDUCE_MIN (-442) -#define YY_REDUCE_MAX (2408) +#define YY_REDUCE_MIN (-396) +#define YY_REDUCE_MAX (2416) static const short yy_reduce_ofst[] = { - /* 0 */ -20, -328, 248, 809, 840, 907, 967, 987, 1096, 655, - /* 10 */ 1116, 1190, 1214, 1281, 1341, 46, -305, 325, 467, 890, - /* 20 */ 1264, 1361, 1424, 1482, 1507, 1580, 1601, 1630, 1651, 1701, - /* 30 */ 1726, 1761, 1784, 1842, 1861, 1922, 1980, 1996, 2059, 2075, - /* 40 */ 2094, 2158, 2175, 2235, 2255, 2329, 2346, 2408, -317, -303, - /* 50 */ 120, 282, 313, 453, 483, 584, 361, 683, -367, -348, - /* 60 */ -272, 461, 206, 293, -442, -384, 72, -364, -286, 475, - /* 70 */ -378, -330, 59, 327, -241, 155, 171, 324, 384, 413, - /* 80 */ 479, 637, 686, 698, -287, 708, 776, 22, 330, 788, - /* 90 */ 791, -358, 802, 465, 815, 70, 817, 452, 60, 844, - /* 100 */ 859, 518, 868, 536, 566, 675, 869, 230, -297, -284, - /* 110 */ -284, -344, -259, -207, 201, 359, 376, 418, 471, 501, - /* 120 */ 524, 704, 711, 760, 761, 765, 824, 838, 874, 878, - /* 130 */ 903, 904, -188, -387, -172, 192, 257, -387, 367, 402, - /* 140 */ 145, 504, 554, 562, -71, -27, 65, 288, -327, 306, - /* 150 */ 648, 380, 685, 517, 633, 772, 705, 407, 427, 432, - /* 160 */ 445, 462, 512, 571, 462, 134, 716, 669, 619, 710, - /* 170 */ 793, 932, 829, 927, 927, 952, 928, 979, 943, 945, - /* 180 */ 899, 899, 884, 899, 941, 942, 927, 982, 989, 1013, - /* 190 */ 1039, 1041, 1045, 1049, 1097, 1100, 1053, 1058, 1060, 1094, - /* 200 */ 1102, 1107, 1101, 1113, 1114, 1115, 1129, 1131, 1061, 1122, - /* 210 */ 1091, 1126, 1132, 1080, 1133, 1136, 1134, 1137, 1138, 1145, - /* 220 */ 1147, 1143, 1148, 1156, 1123, 1135, 1158, 1159, 1163, 1164, - /* 230 */ 1174, 1176, 1178, 1183, 1184, 1155, 1165, 1119, 1120, 1125, - /* 240 */ 1103, 1112, 1104, 1177, 1146, 1150, 1180, 1210, 1216, 1169, - /* 250 */ 1170, 1181, 1111, 1172, 1189, 1128, 1173, 1191, 1195, 927, - /* 260 */ 1141, 1151, 1149, 1139, 1152, 1166, 1171, 1117, 1157, 1153, - /* 270 */ 899, 1217, 1182, 1259, 1260, 1271, 1273, 1231, 1227, 1252, - /* 280 */ 1263, 1265, 1270, 1274, 1246, 1275, 1250, 1303, 1290, 1314, - /* 290 */ 1282, 1223, 1293, 1285, 1310, 1327, 1322, 1333, 1336, 1272, - /* 300 */ 1283, 1277, 1286, 1316, 1328, 1331, 1332, 1339, + /* 0 */ -315, -280, -120, 138, 276, 353, 429, 548, 620, -18, + /* 10 */ 167, 771, 1025, 1105, 1125, 403, 994, 1202, 1219, 1279, + /* 20 */ 1303, 1374, 1396, 1446, 1469, 1527, 1594, 1623, 1654, 1685, + /* 30 */ 1749, 1766, 1816, 1866, 1882, 1943, 1961, 2019, 2036, 2100, + /* 40 */ 2116, 2183, 2200, 2262, 2323, 2341, 2399, 2416, 801, -289, + /* 50 */ -396, -177, -394, 852, 908, 1012, -91, 181, 372, 496, + /* 60 */ 540, -279, -368, -90, -388, 46, -89, -235, -181, -84, + /* 70 */ -380, -332, -278, -81, -354, 123, 146, 250, 271, 368, + /* 80 */ 460, 500, 505, 512, 160, 634, 679, -265, -363, 680, + /* 90 */ 706, 142, 735, -175, 791, 179, 798, 210, 327, 823, + /* 100 */ 843, -129, 854, 377, 576, 621, 857, 291, -320, -355, + /* 110 */ -355, -51, -58, 374, 415, 426, 648, 665, 669, 676, + /* 120 */ 699, 756, 764, 797, 848, 850, 855, 877, 882, 905, + /* 130 */ 906, 914, 382, 155, -106, -285, -6, 155, 466, 557, + /* 140 */ 197, -16, 177, 467, 407, 493, 598, 432, -232, 442, + /* 150 */ -357, 643, -195, 715, 717, 739, 477, 154, 284, 321, + /* 160 */ 431, 445, 563, 610, 445, 457, 627, 851, 820, 761, + /* 170 */ 802, 916, 836, 929, 929, 964, 970, 978, 925, 980, + /* 180 */ 924, 924, 888, 924, 942, 938, 929, 985, 989, 1003, + /* 190 */ 1048, 1050, 1056, 1071, 1122, 1124, 1080, 1083, 1085, 1121, + /* 200 */ 1127, 1133, 1134, 1141, 1146, 1147, 1155, 1157, 1088, 1142, + /* 210 */ 1115, 1150, 1158, 1103, 1156, 1163, 1160, 1161, 1162, 1169, + /* 220 */ 1164, 1170, 1171, 1182, 1152, 1165, 1166, 1167, 1168, 1172, + /* 230 */ 1173, 1183, 1185, 1187, 1189, 1180, 1184, 1143, 1175, 1177, + /* 240 */ 1119, 1151, 1159, 1215, 1174, 1176, 1186, 1221, 1228, 1181, + /* 250 */ 1193, 1192, 1120, 1190, 1194, 1123, 1195, 1199, 1207, 929, + /* 260 */ 1131, 1135, 1138, 1148, 1191, 1196, 1197, 1130, 1139, 1149, + /* 270 */ 924, 1231, 1201, 1267, 1269, 1264, 1271, 1222, 1232, 1249, + /* 280 */ 1250, 1252, 1253, 1254, 1241, 1270, 1257, 1305, 1290, 1309, + /* 290 */ 1283, 1226, 1292, 1286, 1308, 1327, 1318, 1331, 1335, 1273, + /* 300 */ 1268, 1276, 1291, 1329, 1332, 1333, 1337, 1347, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 10 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 20 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 30 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 40 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 50 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 60 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 70 */ 1695, 1695, 1695, 1962, 1695, 1695, 1695, 1695, 1695, 1695, - /* 80 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1774, 1695, 1695, - /* 90 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 100 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1772, 1955, 2173, - /* 110 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 120 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 130 */ 1695, 1695, 1695, 2185, 1695, 1695, 1695, 2185, 2185, 2185, - /* 140 */ 1772, 2145, 2145, 1695, 1695, 1695, 1695, 1774, 2018, 1695, - /* 150 */ 1695, 1695, 1695, 1695, 1695, 1890, 1695, 1695, 1695, 1695, - /* 160 */ 1695, 1914, 1695, 1695, 1695, 2008, 1695, 1695, 2210, 2266, - /* 170 */ 1695, 1695, 2213, 1695, 1695, 1695, 1967, 1695, 1843, 2200, - /* 180 */ 2177, 2191, 2250, 2178, 2175, 2194, 1695, 2204, 1695, 2001, - /* 190 */ 1960, 1695, 1960, 1957, 1695, 1695, 1960, 1957, 1957, 1832, - /* 200 */ 1828, 1695, 1826, 1695, 1695, 1695, 1695, 1695, 1695, 1774, - /* 210 */ 1695, 1774, 1695, 1695, 1774, 1695, 1774, 1774, 1774, 1695, - /* 220 */ 1774, 1752, 1752, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 230 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 240 */ 2030, 2016, 1695, 1772, 2012, 2010, 1695, 1772, 1695, 1695, - /* 250 */ 1695, 1695, 2221, 2219, 1695, 2221, 2219, 1695, 1695, 1695, - /* 260 */ 2235, 2231, 2221, 2239, 2237, 2206, 2204, 2269, 2256, 2252, - /* 270 */ 2191, 1695, 1695, 1695, 1695, 1772, 1772, 1695, 2219, 1695, - /* 280 */ 1695, 1695, 1695, 1695, 2219, 1695, 1695, 1772, 1695, 1772, - /* 290 */ 1695, 1695, 1859, 1695, 1695, 1695, 1772, 1727, 1695, 2003, - /* 300 */ 2021, 1985, 1985, 1893, 1893, 1893, 1775, 1700, 1695, 1695, - /* 310 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 320 */ 2234, 2233, 2100, 1695, 2149, 2148, 2147, 2138, 2099, 1855, - /* 330 */ 1695, 2098, 2097, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 340 */ 1695, 1976, 1975, 2091, 1695, 1695, 2092, 2090, 2089, 1695, - /* 350 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 360 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 370 */ 2253, 2257, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 2174, - /* 380 */ 1695, 1695, 1695, 1695, 1695, 2073, 1695, 1695, 1695, 1695, - /* 390 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 400 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 410 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 420 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 430 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 440 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 450 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 460 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 470 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 480 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 490 */ 1695, 1695, 1732, 2078, 1695, 1695, 1695, 1695, 1695, 1695, - /* 500 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 510 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 520 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 530 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 540 */ 1695, 1813, 1812, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 550 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 560 */ 1695, 1695, 1695, 1695, 1695, 2082, 1695, 1695, 1695, 1695, - /* 570 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 580 */ 1695, 2249, 2207, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 590 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 600 */ 1695, 2073, 1695, 2232, 1695, 1695, 2247, 1695, 2251, 1695, - /* 610 */ 1695, 1695, 1695, 1695, 1695, 1695, 2184, 2180, 1695, 1695, - /* 620 */ 2176, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 2081, 1695, - /* 630 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 640 */ 1695, 1695, 2072, 1695, 2135, 1695, 1695, 1695, 2169, 1695, - /* 650 */ 1695, 2120, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 660 */ 1695, 2082, 1695, 2085, 1695, 1695, 1695, 1695, 1695, 1887, - /* 670 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 680 */ 1695, 1695, 1872, 1870, 1869, 1868, 1695, 1865, 1695, 1900, - /* 690 */ 1695, 1695, 1695, 1896, 1895, 1695, 1695, 1695, 1695, 1695, - /* 700 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 710 */ 1793, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1785, - /* 720 */ 1695, 1784, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 730 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 740 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 750 */ 1695, 1695, 1695, 1695, + /* 0 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 10 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 20 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 30 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 40 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 50 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 60 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 70 */ 1697, 1697, 1697, 1964, 1697, 1697, 1697, 1697, 1697, 1697, + /* 80 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1776, 1697, 1697, + /* 90 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 100 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1774, 1957, 2176, + /* 110 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 120 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 130 */ 1697, 1697, 1697, 2188, 1697, 1697, 1697, 2188, 2188, 2188, + /* 140 */ 1774, 2148, 2148, 1697, 1697, 1697, 1697, 1776, 2020, 1697, + /* 150 */ 1697, 1697, 1697, 1697, 1697, 1892, 1697, 1697, 1697, 1697, + /* 160 */ 1697, 1916, 1697, 1697, 1697, 2010, 1697, 1697, 2213, 2269, + /* 170 */ 1697, 1697, 2216, 1697, 1697, 1697, 1969, 1697, 1845, 2203, + /* 180 */ 2180, 2194, 2253, 2181, 2178, 2197, 1697, 2207, 1697, 2003, + /* 190 */ 1962, 1697, 1962, 1959, 1697, 1697, 1962, 1959, 1959, 1834, + /* 200 */ 1830, 1697, 1828, 1697, 1697, 1697, 1697, 1697, 1697, 1776, + /* 210 */ 1697, 1776, 1697, 1697, 1776, 1697, 1776, 1776, 1776, 1697, + /* 220 */ 1776, 1754, 1754, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 230 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 240 */ 2032, 2018, 1697, 1774, 2014, 2012, 1697, 1774, 1697, 1697, + /* 250 */ 1697, 1697, 2224, 2222, 1697, 2224, 2222, 1697, 1697, 1697, + /* 260 */ 2238, 2234, 2224, 2242, 2240, 2209, 2207, 2272, 2259, 2255, + /* 270 */ 2194, 1697, 1697, 1697, 1697, 1774, 1774, 1697, 2222, 1697, + /* 280 */ 1697, 1697, 1697, 1697, 2222, 1697, 1697, 1774, 1697, 1774, + /* 290 */ 1697, 1697, 1861, 1697, 1697, 1697, 1774, 1729, 1697, 2005, + /* 300 */ 2023, 1987, 1987, 1895, 1895, 1895, 1777, 1702, 1697, 1697, + /* 310 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 320 */ 2237, 2236, 2103, 1697, 2152, 2151, 2150, 2141, 2102, 1857, + /* 330 */ 1697, 2101, 2100, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 340 */ 1697, 1978, 1977, 2094, 1697, 1697, 2095, 2093, 2092, 1697, + /* 350 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 360 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 370 */ 1697, 2256, 2260, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 380 */ 2177, 1697, 1697, 1697, 1697, 1697, 2076, 1697, 1697, 1697, + /* 390 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 400 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 410 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 420 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 430 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 440 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 450 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 460 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 470 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 480 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 490 */ 1697, 1697, 1697, 1734, 2081, 1697, 1697, 1697, 1697, 1697, + /* 500 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 510 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 520 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 530 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 540 */ 1697, 1697, 1815, 1814, 1697, 1697, 1697, 1697, 1697, 1697, + /* 550 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 560 */ 1697, 1697, 1697, 1697, 1697, 1697, 2085, 1697, 1697, 1697, + /* 570 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 580 */ 1697, 1697, 2252, 2210, 1697, 1697, 1697, 1697, 1697, 1697, + /* 590 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 600 */ 1697, 1697, 2076, 1697, 2235, 1697, 1697, 2250, 1697, 2254, + /* 610 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2187, 2183, 1697, + /* 620 */ 1697, 2179, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2084, + /* 630 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 640 */ 1697, 1697, 1697, 2075, 1697, 2138, 1697, 1697, 1697, 2172, + /* 650 */ 1697, 1697, 2123, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 660 */ 1697, 1697, 2085, 1697, 2088, 1697, 1697, 1697, 1697, 1697, + /* 670 */ 1889, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 680 */ 1697, 1697, 1697, 1874, 1872, 1871, 1870, 1697, 1867, 1697, + /* 690 */ 1902, 1697, 1697, 1697, 1898, 1897, 1697, 1697, 1697, 1697, + /* 700 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 710 */ 1697, 1795, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 720 */ 1787, 1697, 1786, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 730 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 740 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, + /* 750 */ 1697, 1697, 1697, 1697, 1697, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1100,7 +1102,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* START => nothing */ 0, /* WITH => nothing */ 0, /* TIMESTAMP => nothing */ - 277, /* END => ABORT */ + 278, /* END => ABORT */ 0, /* TABLE => nothing */ 0, /* NK_LP => nothing */ 0, /* NK_RP => nothing */ @@ -1210,7 +1212,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* TRANSACTION => nothing */ 0, /* BALANCE => nothing */ 0, /* VGROUP => nothing */ - 0, /* VGROUP_LEADER => nothing */ + 0, /* LEADER => nothing */ 0, /* MERGE => nothing */ 0, /* REDISTRIBUTE => nothing */ 0, /* SPLIT => nothing */ @@ -1281,57 +1283,57 @@ static const YYCODETYPE yyFallback[] = { 0, /* ASC => nothing */ 0, /* NULLS => nothing */ 0, /* ABORT => nothing */ - 277, /* AFTER => ABORT */ - 277, /* ATTACH => ABORT */ - 277, /* BEFORE => ABORT */ - 277, /* BEGIN => ABORT */ - 277, /* BITAND => ABORT */ - 277, /* BITNOT => ABORT */ - 277, /* BITOR => ABORT */ - 277, /* BLOCKS => ABORT */ - 277, /* CHANGE => ABORT */ - 277, /* COMMA => ABORT */ - 277, /* CONCAT => ABORT */ - 277, /* CONFLICT => ABORT */ - 277, /* COPY => ABORT */ - 277, /* DEFERRED => ABORT */ - 277, /* DELIMITERS => ABORT */ - 277, /* DETACH => ABORT */ - 277, /* DIVIDE => ABORT */ - 277, /* DOT => ABORT */ - 277, /* EACH => ABORT */ - 277, /* FAIL => ABORT */ - 277, /* FILE => ABORT */ - 277, /* FOR => ABORT */ - 277, /* GLOB => ABORT */ - 277, /* ID => ABORT */ - 277, /* IMMEDIATE => ABORT */ - 277, /* IMPORT => ABORT */ - 277, /* INITIALLY => ABORT */ - 277, /* INSTEAD => ABORT */ - 277, /* ISNULL => ABORT */ - 277, /* KEY => ABORT */ - 277, /* MODULES => ABORT */ - 277, /* NK_BITNOT => ABORT */ - 277, /* NK_SEMI => ABORT */ - 277, /* NOTNULL => ABORT */ - 277, /* OF => ABORT */ - 277, /* PLUS => ABORT */ - 277, /* PRIVILEGE => ABORT */ - 277, /* RAISE => ABORT */ - 277, /* REPLACE => ABORT */ - 277, /* RESTRICT => ABORT */ - 277, /* ROW => ABORT */ - 277, /* SEMI => ABORT */ - 277, /* STAR => ABORT */ - 277, /* STATEMENT => ABORT */ - 277, /* STRICT => ABORT */ - 277, /* STRING => ABORT */ - 277, /* TIMES => ABORT */ - 277, /* VALUES => ABORT */ - 277, /* VARIABLE => ABORT */ - 277, /* VIEW => ABORT */ - 277, /* WAL => ABORT */ + 278, /* AFTER => ABORT */ + 278, /* ATTACH => ABORT */ + 278, /* BEFORE => ABORT */ + 278, /* BEGIN => ABORT */ + 278, /* BITAND => ABORT */ + 278, /* BITNOT => ABORT */ + 278, /* BITOR => ABORT */ + 278, /* BLOCKS => ABORT */ + 278, /* CHANGE => ABORT */ + 278, /* COMMA => ABORT */ + 278, /* CONCAT => ABORT */ + 278, /* CONFLICT => ABORT */ + 278, /* COPY => ABORT */ + 278, /* DEFERRED => ABORT */ + 278, /* DELIMITERS => ABORT */ + 278, /* DETACH => ABORT */ + 278, /* DIVIDE => ABORT */ + 278, /* DOT => ABORT */ + 278, /* EACH => ABORT */ + 278, /* FAIL => ABORT */ + 278, /* FILE => ABORT */ + 278, /* FOR => ABORT */ + 278, /* GLOB => ABORT */ + 278, /* ID => ABORT */ + 278, /* IMMEDIATE => ABORT */ + 278, /* IMPORT => ABORT */ + 278, /* INITIALLY => ABORT */ + 278, /* INSTEAD => ABORT */ + 278, /* ISNULL => ABORT */ + 278, /* KEY => ABORT */ + 278, /* MODULES => ABORT */ + 278, /* NK_BITNOT => ABORT */ + 278, /* NK_SEMI => ABORT */ + 278, /* NOTNULL => ABORT */ + 278, /* OF => ABORT */ + 278, /* PLUS => ABORT */ + 278, /* PRIVILEGE => ABORT */ + 278, /* RAISE => ABORT */ + 278, /* REPLACE => ABORT */ + 278, /* RESTRICT => ABORT */ + 278, /* ROW => ABORT */ + 278, /* SEMI => ABORT */ + 278, /* STAR => ABORT */ + 278, /* STATEMENT => ABORT */ + 278, /* STRICT => ABORT */ + 278, /* STRING => ABORT */ + 278, /* TIMES => ABORT */ + 278, /* VALUES => ABORT */ + 278, /* VARIABLE => ABORT */ + 278, /* VIEW => ABORT */ + 278, /* WAL => ABORT */ }; #endif /* YYFALLBACK */ @@ -1627,272 +1629,272 @@ static const char *const yyTokenName[] = { /* 205 */ "TRANSACTION", /* 206 */ "BALANCE", /* 207 */ "VGROUP", - /* 208 */ "MERGE", - /* 209 */ "REDISTRIBUTE", - /* 210 */ "SPLIT", - /* 211 */ "DELETE", - /* 212 */ "INSERT", - /* 213 */ "NULL", - /* 214 */ "NK_QUESTION", - /* 215 */ "NK_ARROW", - /* 216 */ "ROWTS", - /* 217 */ "QSTART", - /* 218 */ "QEND", - /* 219 */ "QDURATION", - /* 220 */ "WSTART", - /* 221 */ "WEND", - /* 222 */ "WDURATION", - /* 223 */ "IROWTS", - /* 224 */ "ISFILLED", - /* 225 */ "CAST", - /* 226 */ "NOW", - /* 227 */ "TODAY", - /* 228 */ "TIMEZONE", - /* 229 */ "CLIENT_VERSION", - /* 230 */ "SERVER_VERSION", - /* 231 */ "SERVER_STATUS", - /* 232 */ "CURRENT_USER", - /* 233 */ "CASE", - /* 234 */ "WHEN", - /* 235 */ "THEN", - /* 236 */ "ELSE", - /* 237 */ "BETWEEN", - /* 238 */ "IS", - /* 239 */ "NK_LT", - /* 240 */ "NK_GT", - /* 241 */ "NK_LE", - /* 242 */ "NK_GE", - /* 243 */ "NK_NE", - /* 244 */ "MATCH", - /* 245 */ "NMATCH", - /* 246 */ "CONTAINS", - /* 247 */ "IN", - /* 248 */ "JOIN", - /* 249 */ "INNER", - /* 250 */ "SELECT", - /* 251 */ "DISTINCT", - /* 252 */ "WHERE", - /* 253 */ "PARTITION", - /* 254 */ "BY", - /* 255 */ "SESSION", - /* 256 */ "STATE_WINDOW", - /* 257 */ "EVENT_WINDOW", - /* 258 */ "SLIDING", - /* 259 */ "FILL", - /* 260 */ "VALUE", - /* 261 */ "VALUE_F", - /* 262 */ "NONE", - /* 263 */ "PREV", - /* 264 */ "NULL_F", - /* 265 */ "LINEAR", - /* 266 */ "NEXT", - /* 267 */ "HAVING", - /* 268 */ "RANGE", - /* 269 */ "EVERY", - /* 270 */ "ORDER", - /* 271 */ "SLIMIT", - /* 272 */ "SOFFSET", - /* 273 */ "LIMIT", - /* 274 */ "OFFSET", - /* 275 */ "ASC", - /* 276 */ "NULLS", - /* 277 */ "ABORT", - /* 278 */ "AFTER", - /* 279 */ "ATTACH", - /* 280 */ "BEFORE", - /* 281 */ "BEGIN", - /* 282 */ "BITAND", - /* 283 */ "BITNOT", - /* 284 */ "BITOR", - /* 285 */ "BLOCKS", - /* 286 */ "CHANGE", - /* 287 */ "COMMA", - /* 288 */ "CONCAT", - /* 289 */ "CONFLICT", - /* 290 */ "COPY", - /* 291 */ "DEFERRED", - /* 292 */ "DELIMITERS", - /* 293 */ "DETACH", - /* 294 */ "DIVIDE", - /* 295 */ "DOT", - /* 296 */ "EACH", - /* 297 */ "FAIL", - /* 298 */ "FILE", - /* 299 */ "FOR", - /* 300 */ "GLOB", - /* 301 */ "ID", - /* 302 */ "IMMEDIATE", - /* 303 */ "IMPORT", - /* 304 */ "INITIALLY", - /* 305 */ "INSTEAD", - /* 306 */ "ISNULL", - /* 307 */ "KEY", - /* 308 */ "MODULES", - /* 309 */ "NK_BITNOT", - /* 310 */ "NK_SEMI", - /* 311 */ "NOTNULL", - /* 312 */ "OF", - /* 313 */ "PLUS", - /* 314 */ "PRIVILEGE", - /* 315 */ "RAISE", - /* 316 */ "REPLACE", - /* 317 */ "RESTRICT", - /* 318 */ "ROW", - /* 319 */ "SEMI", - /* 320 */ "STAR", - /* 321 */ "STATEMENT", - /* 322 */ "STRICT", - /* 323 */ "STRING", - /* 324 */ "TIMES", - /* 325 */ "VALUES", - /* 326 */ "VARIABLE", - /* 327 */ "VIEW", - /* 328 */ "WAL", - /* 329 */ "cmd", - /* 330 */ "account_options", - /* 331 */ "alter_account_options", - /* 332 */ "literal", - /* 333 */ "alter_account_option", - /* 334 */ "user_name", - /* 335 */ "sysinfo_opt", - /* 336 */ "privileges", - /* 337 */ "priv_level", - /* 338 */ "priv_type_list", - /* 339 */ "priv_type", - /* 340 */ "db_name", - /* 341 */ "topic_name", - /* 342 */ "dnode_endpoint", - /* 343 */ "force_opt", - /* 344 */ "not_exists_opt", - /* 345 */ "db_options", - /* 346 */ "exists_opt", - /* 347 */ "alter_db_options", - /* 348 */ "speed_opt", - /* 349 */ "start_opt", - /* 350 */ "end_opt", - /* 351 */ "integer_list", - /* 352 */ "variable_list", - /* 353 */ "retention_list", - /* 354 */ "alter_db_option", - /* 355 */ "retention", - /* 356 */ "full_table_name", - /* 357 */ "column_def_list", - /* 358 */ "tags_def_opt", - /* 359 */ "table_options", - /* 360 */ "multi_create_clause", - /* 361 */ "tags_def", - /* 362 */ "multi_drop_clause", - /* 363 */ "alter_table_clause", - /* 364 */ "alter_table_options", - /* 365 */ "column_name", - /* 366 */ "type_name", - /* 367 */ "signed_literal", - /* 368 */ "create_subtable_clause", - /* 369 */ "specific_cols_opt", - /* 370 */ "expression_list", - /* 371 */ "drop_table_clause", - /* 372 */ "col_name_list", - /* 373 */ "table_name", - /* 374 */ "column_def", - /* 375 */ "duration_list", - /* 376 */ "rollup_func_list", - /* 377 */ "alter_table_option", - /* 378 */ "duration_literal", - /* 379 */ "rollup_func_name", - /* 380 */ "function_name", - /* 381 */ "col_name", - /* 382 */ "db_name_cond_opt", - /* 383 */ "like_pattern_opt", - /* 384 */ "table_name_cond", - /* 385 */ "from_db_opt", - /* 386 */ "tag_list_opt", - /* 387 */ "tag_item", - /* 388 */ "column_alias", - /* 389 */ "full_index_name", - /* 390 */ "index_options", - /* 391 */ "index_name", - /* 392 */ "func_list", - /* 393 */ "sliding_opt", - /* 394 */ "sma_stream_opt", - /* 395 */ "func", - /* 396 */ "sma_func_name", - /* 397 */ "query_or_subquery", - /* 398 */ "cgroup_name", - /* 399 */ "analyze_opt", - /* 400 */ "explain_options", - /* 401 */ "insert_query", - /* 402 */ "agg_func_opt", - /* 403 */ "bufsize_opt", - /* 404 */ "language_opt", - /* 405 */ "stream_name", - /* 406 */ "stream_options", - /* 407 */ "col_list_opt", - /* 408 */ "tag_def_or_ref_opt", - /* 409 */ "subtable_opt", - /* 410 */ "expression", - /* 411 */ "dnode_list", - /* 412 */ "where_clause_opt", - /* 413 */ "signed", - /* 414 */ "literal_func", - /* 415 */ "literal_list", - /* 416 */ "table_alias", - /* 417 */ "expr_or_subquery", - /* 418 */ "pseudo_column", - /* 419 */ "column_reference", - /* 420 */ "function_expression", - /* 421 */ "case_when_expression", - /* 422 */ "star_func", - /* 423 */ "star_func_para_list", - /* 424 */ "noarg_func", - /* 425 */ "other_para_list", - /* 426 */ "star_func_para", - /* 427 */ "when_then_list", - /* 428 */ "case_when_else_opt", - /* 429 */ "common_expression", - /* 430 */ "when_then_expr", - /* 431 */ "predicate", - /* 432 */ "compare_op", - /* 433 */ "in_op", - /* 434 */ "in_predicate_value", - /* 435 */ "boolean_value_expression", - /* 436 */ "boolean_primary", - /* 437 */ "from_clause_opt", - /* 438 */ "table_reference_list", - /* 439 */ "table_reference", - /* 440 */ "table_primary", - /* 441 */ "joined_table", - /* 442 */ "alias_opt", - /* 443 */ "subquery", - /* 444 */ "parenthesized_joined_table", - /* 445 */ "join_type", - /* 446 */ "search_condition", - /* 447 */ "query_specification", - /* 448 */ "set_quantifier_opt", - /* 449 */ "select_list", - /* 450 */ "partition_by_clause_opt", - /* 451 */ "range_opt", - /* 452 */ "every_opt", - /* 453 */ "fill_opt", - /* 454 */ "twindow_clause_opt", - /* 455 */ "group_by_clause_opt", - /* 456 */ "having_clause_opt", - /* 457 */ "select_item", - /* 458 */ "partition_list", - /* 459 */ "partition_item", - /* 460 */ "fill_mode", - /* 461 */ "group_by_list", - /* 462 */ "query_expression", - /* 463 */ "query_simple", - /* 464 */ "order_by_clause_opt", - /* 465 */ "slimit_clause_opt", - /* 466 */ "limit_clause_opt", - /* 467 */ "union_query_expression", - /* 468 */ "query_simple_or_subquery", - /* 469 */ "sort_specification_list", - /* 470 */ "sort_specification", - /* 471 */ "ordering_specification_opt", - /* 472 */ "null_ordering_opt", - /* 473 */ "VGROUP_LEADER", + /* 208 */ "LEADER", + /* 209 */ "MERGE", + /* 210 */ "REDISTRIBUTE", + /* 211 */ "SPLIT", + /* 212 */ "DELETE", + /* 213 */ "INSERT", + /* 214 */ "NULL", + /* 215 */ "NK_QUESTION", + /* 216 */ "NK_ARROW", + /* 217 */ "ROWTS", + /* 218 */ "QSTART", + /* 219 */ "QEND", + /* 220 */ "QDURATION", + /* 221 */ "WSTART", + /* 222 */ "WEND", + /* 223 */ "WDURATION", + /* 224 */ "IROWTS", + /* 225 */ "ISFILLED", + /* 226 */ "CAST", + /* 227 */ "NOW", + /* 228 */ "TODAY", + /* 229 */ "TIMEZONE", + /* 230 */ "CLIENT_VERSION", + /* 231 */ "SERVER_VERSION", + /* 232 */ "SERVER_STATUS", + /* 233 */ "CURRENT_USER", + /* 234 */ "CASE", + /* 235 */ "WHEN", + /* 236 */ "THEN", + /* 237 */ "ELSE", + /* 238 */ "BETWEEN", + /* 239 */ "IS", + /* 240 */ "NK_LT", + /* 241 */ "NK_GT", + /* 242 */ "NK_LE", + /* 243 */ "NK_GE", + /* 244 */ "NK_NE", + /* 245 */ "MATCH", + /* 246 */ "NMATCH", + /* 247 */ "CONTAINS", + /* 248 */ "IN", + /* 249 */ "JOIN", + /* 250 */ "INNER", + /* 251 */ "SELECT", + /* 252 */ "DISTINCT", + /* 253 */ "WHERE", + /* 254 */ "PARTITION", + /* 255 */ "BY", + /* 256 */ "SESSION", + /* 257 */ "STATE_WINDOW", + /* 258 */ "EVENT_WINDOW", + /* 259 */ "SLIDING", + /* 260 */ "FILL", + /* 261 */ "VALUE", + /* 262 */ "VALUE_F", + /* 263 */ "NONE", + /* 264 */ "PREV", + /* 265 */ "NULL_F", + /* 266 */ "LINEAR", + /* 267 */ "NEXT", + /* 268 */ "HAVING", + /* 269 */ "RANGE", + /* 270 */ "EVERY", + /* 271 */ "ORDER", + /* 272 */ "SLIMIT", + /* 273 */ "SOFFSET", + /* 274 */ "LIMIT", + /* 275 */ "OFFSET", + /* 276 */ "ASC", + /* 277 */ "NULLS", + /* 278 */ "ABORT", + /* 279 */ "AFTER", + /* 280 */ "ATTACH", + /* 281 */ "BEFORE", + /* 282 */ "BEGIN", + /* 283 */ "BITAND", + /* 284 */ "BITNOT", + /* 285 */ "BITOR", + /* 286 */ "BLOCKS", + /* 287 */ "CHANGE", + /* 288 */ "COMMA", + /* 289 */ "CONCAT", + /* 290 */ "CONFLICT", + /* 291 */ "COPY", + /* 292 */ "DEFERRED", + /* 293 */ "DELIMITERS", + /* 294 */ "DETACH", + /* 295 */ "DIVIDE", + /* 296 */ "DOT", + /* 297 */ "EACH", + /* 298 */ "FAIL", + /* 299 */ "FILE", + /* 300 */ "FOR", + /* 301 */ "GLOB", + /* 302 */ "ID", + /* 303 */ "IMMEDIATE", + /* 304 */ "IMPORT", + /* 305 */ "INITIALLY", + /* 306 */ "INSTEAD", + /* 307 */ "ISNULL", + /* 308 */ "KEY", + /* 309 */ "MODULES", + /* 310 */ "NK_BITNOT", + /* 311 */ "NK_SEMI", + /* 312 */ "NOTNULL", + /* 313 */ "OF", + /* 314 */ "PLUS", + /* 315 */ "PRIVILEGE", + /* 316 */ "RAISE", + /* 317 */ "REPLACE", + /* 318 */ "RESTRICT", + /* 319 */ "ROW", + /* 320 */ "SEMI", + /* 321 */ "STAR", + /* 322 */ "STATEMENT", + /* 323 */ "STRICT", + /* 324 */ "STRING", + /* 325 */ "TIMES", + /* 326 */ "VALUES", + /* 327 */ "VARIABLE", + /* 328 */ "VIEW", + /* 329 */ "WAL", + /* 330 */ "cmd", + /* 331 */ "account_options", + /* 332 */ "alter_account_options", + /* 333 */ "literal", + /* 334 */ "alter_account_option", + /* 335 */ "user_name", + /* 336 */ "sysinfo_opt", + /* 337 */ "privileges", + /* 338 */ "priv_level", + /* 339 */ "priv_type_list", + /* 340 */ "priv_type", + /* 341 */ "db_name", + /* 342 */ "topic_name", + /* 343 */ "dnode_endpoint", + /* 344 */ "force_opt", + /* 345 */ "not_exists_opt", + /* 346 */ "db_options", + /* 347 */ "exists_opt", + /* 348 */ "alter_db_options", + /* 349 */ "speed_opt", + /* 350 */ "start_opt", + /* 351 */ "end_opt", + /* 352 */ "integer_list", + /* 353 */ "variable_list", + /* 354 */ "retention_list", + /* 355 */ "alter_db_option", + /* 356 */ "retention", + /* 357 */ "full_table_name", + /* 358 */ "column_def_list", + /* 359 */ "tags_def_opt", + /* 360 */ "table_options", + /* 361 */ "multi_create_clause", + /* 362 */ "tags_def", + /* 363 */ "multi_drop_clause", + /* 364 */ "alter_table_clause", + /* 365 */ "alter_table_options", + /* 366 */ "column_name", + /* 367 */ "type_name", + /* 368 */ "signed_literal", + /* 369 */ "create_subtable_clause", + /* 370 */ "specific_cols_opt", + /* 371 */ "expression_list", + /* 372 */ "drop_table_clause", + /* 373 */ "col_name_list", + /* 374 */ "table_name", + /* 375 */ "column_def", + /* 376 */ "duration_list", + /* 377 */ "rollup_func_list", + /* 378 */ "alter_table_option", + /* 379 */ "duration_literal", + /* 380 */ "rollup_func_name", + /* 381 */ "function_name", + /* 382 */ "col_name", + /* 383 */ "db_name_cond_opt", + /* 384 */ "like_pattern_opt", + /* 385 */ "table_name_cond", + /* 386 */ "from_db_opt", + /* 387 */ "tag_list_opt", + /* 388 */ "tag_item", + /* 389 */ "column_alias", + /* 390 */ "full_index_name", + /* 391 */ "index_options", + /* 392 */ "index_name", + /* 393 */ "func_list", + /* 394 */ "sliding_opt", + /* 395 */ "sma_stream_opt", + /* 396 */ "func", + /* 397 */ "sma_func_name", + /* 398 */ "query_or_subquery", + /* 399 */ "cgroup_name", + /* 400 */ "analyze_opt", + /* 401 */ "explain_options", + /* 402 */ "insert_query", + /* 403 */ "agg_func_opt", + /* 404 */ "bufsize_opt", + /* 405 */ "language_opt", + /* 406 */ "stream_name", + /* 407 */ "stream_options", + /* 408 */ "col_list_opt", + /* 409 */ "tag_def_or_ref_opt", + /* 410 */ "subtable_opt", + /* 411 */ "expression", + /* 412 */ "dnode_list", + /* 413 */ "where_clause_opt", + /* 414 */ "signed", + /* 415 */ "literal_func", + /* 416 */ "literal_list", + /* 417 */ "table_alias", + /* 418 */ "expr_or_subquery", + /* 419 */ "pseudo_column", + /* 420 */ "column_reference", + /* 421 */ "function_expression", + /* 422 */ "case_when_expression", + /* 423 */ "star_func", + /* 424 */ "star_func_para_list", + /* 425 */ "noarg_func", + /* 426 */ "other_para_list", + /* 427 */ "star_func_para", + /* 428 */ "when_then_list", + /* 429 */ "case_when_else_opt", + /* 430 */ "common_expression", + /* 431 */ "when_then_expr", + /* 432 */ "predicate", + /* 433 */ "compare_op", + /* 434 */ "in_op", + /* 435 */ "in_predicate_value", + /* 436 */ "boolean_value_expression", + /* 437 */ "boolean_primary", + /* 438 */ "from_clause_opt", + /* 439 */ "table_reference_list", + /* 440 */ "table_reference", + /* 441 */ "table_primary", + /* 442 */ "joined_table", + /* 443 */ "alias_opt", + /* 444 */ "subquery", + /* 445 */ "parenthesized_joined_table", + /* 446 */ "join_type", + /* 447 */ "search_condition", + /* 448 */ "query_specification", + /* 449 */ "set_quantifier_opt", + /* 450 */ "select_list", + /* 451 */ "partition_by_clause_opt", + /* 452 */ "range_opt", + /* 453 */ "every_opt", + /* 454 */ "fill_opt", + /* 455 */ "twindow_clause_opt", + /* 456 */ "group_by_clause_opt", + /* 457 */ "having_clause_opt", + /* 458 */ "select_item", + /* 459 */ "partition_list", + /* 460 */ "partition_item", + /* 461 */ "fill_mode", + /* 462 */ "group_by_list", + /* 463 */ "query_expression", + /* 464 */ "query_simple", + /* 465 */ "order_by_clause_opt", + /* 466 */ "slimit_clause_opt", + /* 467 */ "limit_clause_opt", + /* 468 */ "union_query_expression", + /* 469 */ "query_simple_or_subquery", + /* 470 */ "sort_specification_list", + /* 471 */ "sort_specification", + /* 472 */ "ordering_specification_opt", + /* 473 */ "null_ordering_opt", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -2238,243 +2240,243 @@ static const char *const yyRuleName[] = { /* 335 */ "cmd ::= KILL QUERY NK_STRING", /* 336 */ "cmd ::= KILL TRANSACTION NK_INTEGER", /* 337 */ "cmd ::= BALANCE VGROUP", - /* 338 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 339 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 340 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 341 */ "dnode_list ::= DNODE NK_INTEGER", - /* 342 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 343 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 344 */ "cmd ::= query_or_subquery", - /* 345 */ "cmd ::= insert_query", - /* 346 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 347 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", - /* 348 */ "literal ::= NK_INTEGER", - /* 349 */ "literal ::= NK_FLOAT", - /* 350 */ "literal ::= NK_STRING", - /* 351 */ "literal ::= NK_BOOL", - /* 352 */ "literal ::= TIMESTAMP NK_STRING", - /* 353 */ "literal ::= duration_literal", - /* 354 */ "literal ::= NULL", - /* 355 */ "literal ::= NK_QUESTION", - /* 356 */ "duration_literal ::= NK_VARIABLE", - /* 357 */ "signed ::= NK_INTEGER", - /* 358 */ "signed ::= NK_PLUS NK_INTEGER", - /* 359 */ "signed ::= NK_MINUS NK_INTEGER", - /* 360 */ "signed ::= NK_FLOAT", - /* 361 */ "signed ::= NK_PLUS NK_FLOAT", - /* 362 */ "signed ::= NK_MINUS NK_FLOAT", - /* 363 */ "signed_literal ::= signed", - /* 364 */ "signed_literal ::= NK_STRING", - /* 365 */ "signed_literal ::= NK_BOOL", - /* 366 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 367 */ "signed_literal ::= duration_literal", - /* 368 */ "signed_literal ::= NULL", - /* 369 */ "signed_literal ::= literal_func", - /* 370 */ "signed_literal ::= NK_QUESTION", - /* 371 */ "literal_list ::= signed_literal", - /* 372 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 373 */ "db_name ::= NK_ID", - /* 374 */ "table_name ::= NK_ID", - /* 375 */ "column_name ::= NK_ID", - /* 376 */ "function_name ::= NK_ID", - /* 377 */ "table_alias ::= NK_ID", - /* 378 */ "column_alias ::= NK_ID", - /* 379 */ "user_name ::= NK_ID", - /* 380 */ "topic_name ::= NK_ID", - /* 381 */ "stream_name ::= NK_ID", - /* 382 */ "cgroup_name ::= NK_ID", - /* 383 */ "index_name ::= NK_ID", - /* 384 */ "expr_or_subquery ::= expression", - /* 385 */ "expression ::= literal", - /* 386 */ "expression ::= pseudo_column", - /* 387 */ "expression ::= column_reference", - /* 388 */ "expression ::= function_expression", - /* 389 */ "expression ::= case_when_expression", - /* 390 */ "expression ::= NK_LP expression NK_RP", - /* 391 */ "expression ::= NK_PLUS expr_or_subquery", - /* 392 */ "expression ::= NK_MINUS expr_or_subquery", - /* 393 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 394 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 395 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 396 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 397 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 398 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 399 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 400 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 401 */ "expression_list ::= expr_or_subquery", - /* 402 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 403 */ "column_reference ::= column_name", - /* 404 */ "column_reference ::= table_name NK_DOT column_name", - /* 405 */ "pseudo_column ::= ROWTS", - /* 406 */ "pseudo_column ::= TBNAME", - /* 407 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 408 */ "pseudo_column ::= QSTART", - /* 409 */ "pseudo_column ::= QEND", - /* 410 */ "pseudo_column ::= QDURATION", - /* 411 */ "pseudo_column ::= WSTART", - /* 412 */ "pseudo_column ::= WEND", - /* 413 */ "pseudo_column ::= WDURATION", - /* 414 */ "pseudo_column ::= IROWTS", - /* 415 */ "pseudo_column ::= ISFILLED", - /* 416 */ "pseudo_column ::= QTAGS", - /* 417 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 418 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 419 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 420 */ "function_expression ::= literal_func", - /* 421 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 422 */ "literal_func ::= NOW", - /* 423 */ "noarg_func ::= NOW", - /* 424 */ "noarg_func ::= TODAY", - /* 425 */ "noarg_func ::= TIMEZONE", - /* 426 */ "noarg_func ::= DATABASE", - /* 427 */ "noarg_func ::= CLIENT_VERSION", - /* 428 */ "noarg_func ::= SERVER_VERSION", - /* 429 */ "noarg_func ::= SERVER_STATUS", - /* 430 */ "noarg_func ::= CURRENT_USER", - /* 431 */ "noarg_func ::= USER", - /* 432 */ "star_func ::= COUNT", - /* 433 */ "star_func ::= FIRST", - /* 434 */ "star_func ::= LAST", - /* 435 */ "star_func ::= LAST_ROW", - /* 436 */ "star_func_para_list ::= NK_STAR", - /* 437 */ "star_func_para_list ::= other_para_list", - /* 438 */ "other_para_list ::= star_func_para", - /* 439 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 440 */ "star_func_para ::= expr_or_subquery", - /* 441 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 442 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 443 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 444 */ "when_then_list ::= when_then_expr", - /* 445 */ "when_then_list ::= when_then_list when_then_expr", - /* 446 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 447 */ "case_when_else_opt ::=", - /* 448 */ "case_when_else_opt ::= ELSE common_expression", - /* 449 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 450 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 451 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 452 */ "predicate ::= expr_or_subquery IS NULL", - /* 453 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 454 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 455 */ "compare_op ::= NK_LT", - /* 456 */ "compare_op ::= NK_GT", - /* 457 */ "compare_op ::= NK_LE", - /* 458 */ "compare_op ::= NK_GE", - /* 459 */ "compare_op ::= NK_NE", - /* 460 */ "compare_op ::= NK_EQ", - /* 461 */ "compare_op ::= LIKE", - /* 462 */ "compare_op ::= NOT LIKE", - /* 463 */ "compare_op ::= MATCH", - /* 464 */ "compare_op ::= NMATCH", - /* 465 */ "compare_op ::= CONTAINS", - /* 466 */ "in_op ::= IN", - /* 467 */ "in_op ::= NOT IN", - /* 468 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 469 */ "boolean_value_expression ::= boolean_primary", - /* 470 */ "boolean_value_expression ::= NOT boolean_primary", - /* 471 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 472 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 473 */ "boolean_primary ::= predicate", - /* 474 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 475 */ "common_expression ::= expr_or_subquery", - /* 476 */ "common_expression ::= boolean_value_expression", - /* 477 */ "from_clause_opt ::=", - /* 478 */ "from_clause_opt ::= FROM table_reference_list", - /* 479 */ "table_reference_list ::= table_reference", - /* 480 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 481 */ "table_reference ::= table_primary", - /* 482 */ "table_reference ::= joined_table", - /* 483 */ "table_primary ::= table_name alias_opt", - /* 484 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 485 */ "table_primary ::= subquery alias_opt", - /* 486 */ "table_primary ::= parenthesized_joined_table", - /* 487 */ "alias_opt ::=", - /* 488 */ "alias_opt ::= table_alias", - /* 489 */ "alias_opt ::= AS table_alias", - /* 490 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 491 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 492 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 493 */ "join_type ::=", - /* 494 */ "join_type ::= INNER", - /* 495 */ "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", - /* 496 */ "set_quantifier_opt ::=", - /* 497 */ "set_quantifier_opt ::= DISTINCT", - /* 498 */ "set_quantifier_opt ::= ALL", - /* 499 */ "select_list ::= select_item", - /* 500 */ "select_list ::= select_list NK_COMMA select_item", - /* 501 */ "select_item ::= NK_STAR", - /* 502 */ "select_item ::= common_expression", - /* 503 */ "select_item ::= common_expression column_alias", - /* 504 */ "select_item ::= common_expression AS column_alias", - /* 505 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 506 */ "where_clause_opt ::=", - /* 507 */ "where_clause_opt ::= WHERE search_condition", - /* 508 */ "partition_by_clause_opt ::=", - /* 509 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 510 */ "partition_list ::= partition_item", - /* 511 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 512 */ "partition_item ::= expr_or_subquery", - /* 513 */ "partition_item ::= expr_or_subquery column_alias", - /* 514 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 515 */ "twindow_clause_opt ::=", - /* 516 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 517 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 518 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 519 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 520 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 521 */ "sliding_opt ::=", - /* 522 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 523 */ "fill_opt ::=", - /* 524 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 525 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", - /* 526 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP", - /* 527 */ "fill_mode ::= NONE", - /* 528 */ "fill_mode ::= PREV", - /* 529 */ "fill_mode ::= NULL", - /* 530 */ "fill_mode ::= NULL_F", - /* 531 */ "fill_mode ::= LINEAR", - /* 532 */ "fill_mode ::= NEXT", - /* 533 */ "group_by_clause_opt ::=", - /* 534 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 535 */ "group_by_list ::= expr_or_subquery", - /* 536 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 537 */ "having_clause_opt ::=", - /* 538 */ "having_clause_opt ::= HAVING search_condition", - /* 539 */ "range_opt ::=", - /* 540 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 541 */ "every_opt ::=", - /* 542 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 543 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 544 */ "query_simple ::= query_specification", - /* 545 */ "query_simple ::= union_query_expression", - /* 546 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 547 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 548 */ "query_simple_or_subquery ::= query_simple", - /* 549 */ "query_simple_or_subquery ::= subquery", - /* 550 */ "query_or_subquery ::= query_expression", - /* 551 */ "query_or_subquery ::= subquery", - /* 552 */ "order_by_clause_opt ::=", - /* 553 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 554 */ "slimit_clause_opt ::=", - /* 555 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 556 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 557 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 558 */ "limit_clause_opt ::=", - /* 559 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 560 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 561 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 562 */ "subquery ::= NK_LP query_expression NK_RP", - /* 563 */ "subquery ::= NK_LP subquery NK_RP", - /* 564 */ "search_condition ::= common_expression", - /* 565 */ "sort_specification_list ::= sort_specification", - /* 566 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 567 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 568 */ "ordering_specification_opt ::=", - /* 569 */ "ordering_specification_opt ::= ASC", - /* 570 */ "ordering_specification_opt ::= DESC", - /* 571 */ "null_ordering_opt ::=", - /* 572 */ "null_ordering_opt ::= NULLS FIRST", - /* 573 */ "null_ordering_opt ::= NULLS LAST", - /* 574 */ "cmd ::= BALANCE VGROUP_LEADER", + /* 338 */ "cmd ::= BALANCE VGROUP LEADER", + /* 339 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 340 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 341 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 342 */ "dnode_list ::= DNODE NK_INTEGER", + /* 343 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 344 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 345 */ "cmd ::= query_or_subquery", + /* 346 */ "cmd ::= insert_query", + /* 347 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 348 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", + /* 349 */ "literal ::= NK_INTEGER", + /* 350 */ "literal ::= NK_FLOAT", + /* 351 */ "literal ::= NK_STRING", + /* 352 */ "literal ::= NK_BOOL", + /* 353 */ "literal ::= TIMESTAMP NK_STRING", + /* 354 */ "literal ::= duration_literal", + /* 355 */ "literal ::= NULL", + /* 356 */ "literal ::= NK_QUESTION", + /* 357 */ "duration_literal ::= NK_VARIABLE", + /* 358 */ "signed ::= NK_INTEGER", + /* 359 */ "signed ::= NK_PLUS NK_INTEGER", + /* 360 */ "signed ::= NK_MINUS NK_INTEGER", + /* 361 */ "signed ::= NK_FLOAT", + /* 362 */ "signed ::= NK_PLUS NK_FLOAT", + /* 363 */ "signed ::= NK_MINUS NK_FLOAT", + /* 364 */ "signed_literal ::= signed", + /* 365 */ "signed_literal ::= NK_STRING", + /* 366 */ "signed_literal ::= NK_BOOL", + /* 367 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 368 */ "signed_literal ::= duration_literal", + /* 369 */ "signed_literal ::= NULL", + /* 370 */ "signed_literal ::= literal_func", + /* 371 */ "signed_literal ::= NK_QUESTION", + /* 372 */ "literal_list ::= signed_literal", + /* 373 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 374 */ "db_name ::= NK_ID", + /* 375 */ "table_name ::= NK_ID", + /* 376 */ "column_name ::= NK_ID", + /* 377 */ "function_name ::= NK_ID", + /* 378 */ "table_alias ::= NK_ID", + /* 379 */ "column_alias ::= NK_ID", + /* 380 */ "user_name ::= NK_ID", + /* 381 */ "topic_name ::= NK_ID", + /* 382 */ "stream_name ::= NK_ID", + /* 383 */ "cgroup_name ::= NK_ID", + /* 384 */ "index_name ::= NK_ID", + /* 385 */ "expr_or_subquery ::= expression", + /* 386 */ "expression ::= literal", + /* 387 */ "expression ::= pseudo_column", + /* 388 */ "expression ::= column_reference", + /* 389 */ "expression ::= function_expression", + /* 390 */ "expression ::= case_when_expression", + /* 391 */ "expression ::= NK_LP expression NK_RP", + /* 392 */ "expression ::= NK_PLUS expr_or_subquery", + /* 393 */ "expression ::= NK_MINUS expr_or_subquery", + /* 394 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 395 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 396 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 397 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 398 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 399 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 400 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 401 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 402 */ "expression_list ::= expr_or_subquery", + /* 403 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 404 */ "column_reference ::= column_name", + /* 405 */ "column_reference ::= table_name NK_DOT column_name", + /* 406 */ "pseudo_column ::= ROWTS", + /* 407 */ "pseudo_column ::= TBNAME", + /* 408 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 409 */ "pseudo_column ::= QSTART", + /* 410 */ "pseudo_column ::= QEND", + /* 411 */ "pseudo_column ::= QDURATION", + /* 412 */ "pseudo_column ::= WSTART", + /* 413 */ "pseudo_column ::= WEND", + /* 414 */ "pseudo_column ::= WDURATION", + /* 415 */ "pseudo_column ::= IROWTS", + /* 416 */ "pseudo_column ::= ISFILLED", + /* 417 */ "pseudo_column ::= QTAGS", + /* 418 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 419 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 420 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 421 */ "function_expression ::= literal_func", + /* 422 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 423 */ "literal_func ::= NOW", + /* 424 */ "noarg_func ::= NOW", + /* 425 */ "noarg_func ::= TODAY", + /* 426 */ "noarg_func ::= TIMEZONE", + /* 427 */ "noarg_func ::= DATABASE", + /* 428 */ "noarg_func ::= CLIENT_VERSION", + /* 429 */ "noarg_func ::= SERVER_VERSION", + /* 430 */ "noarg_func ::= SERVER_STATUS", + /* 431 */ "noarg_func ::= CURRENT_USER", + /* 432 */ "noarg_func ::= USER", + /* 433 */ "star_func ::= COUNT", + /* 434 */ "star_func ::= FIRST", + /* 435 */ "star_func ::= LAST", + /* 436 */ "star_func ::= LAST_ROW", + /* 437 */ "star_func_para_list ::= NK_STAR", + /* 438 */ "star_func_para_list ::= other_para_list", + /* 439 */ "other_para_list ::= star_func_para", + /* 440 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 441 */ "star_func_para ::= expr_or_subquery", + /* 442 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 443 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 444 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 445 */ "when_then_list ::= when_then_expr", + /* 446 */ "when_then_list ::= when_then_list when_then_expr", + /* 447 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 448 */ "case_when_else_opt ::=", + /* 449 */ "case_when_else_opt ::= ELSE common_expression", + /* 450 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 451 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 452 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 453 */ "predicate ::= expr_or_subquery IS NULL", + /* 454 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 455 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 456 */ "compare_op ::= NK_LT", + /* 457 */ "compare_op ::= NK_GT", + /* 458 */ "compare_op ::= NK_LE", + /* 459 */ "compare_op ::= NK_GE", + /* 460 */ "compare_op ::= NK_NE", + /* 461 */ "compare_op ::= NK_EQ", + /* 462 */ "compare_op ::= LIKE", + /* 463 */ "compare_op ::= NOT LIKE", + /* 464 */ "compare_op ::= MATCH", + /* 465 */ "compare_op ::= NMATCH", + /* 466 */ "compare_op ::= CONTAINS", + /* 467 */ "in_op ::= IN", + /* 468 */ "in_op ::= NOT IN", + /* 469 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 470 */ "boolean_value_expression ::= boolean_primary", + /* 471 */ "boolean_value_expression ::= NOT boolean_primary", + /* 472 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 473 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 474 */ "boolean_primary ::= predicate", + /* 475 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 476 */ "common_expression ::= expr_or_subquery", + /* 477 */ "common_expression ::= boolean_value_expression", + /* 478 */ "from_clause_opt ::=", + /* 479 */ "from_clause_opt ::= FROM table_reference_list", + /* 480 */ "table_reference_list ::= table_reference", + /* 481 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 482 */ "table_reference ::= table_primary", + /* 483 */ "table_reference ::= joined_table", + /* 484 */ "table_primary ::= table_name alias_opt", + /* 485 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 486 */ "table_primary ::= subquery alias_opt", + /* 487 */ "table_primary ::= parenthesized_joined_table", + /* 488 */ "alias_opt ::=", + /* 489 */ "alias_opt ::= table_alias", + /* 490 */ "alias_opt ::= AS table_alias", + /* 491 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 492 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 493 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 494 */ "join_type ::=", + /* 495 */ "join_type ::= INNER", + /* 496 */ "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", + /* 497 */ "set_quantifier_opt ::=", + /* 498 */ "set_quantifier_opt ::= DISTINCT", + /* 499 */ "set_quantifier_opt ::= ALL", + /* 500 */ "select_list ::= select_item", + /* 501 */ "select_list ::= select_list NK_COMMA select_item", + /* 502 */ "select_item ::= NK_STAR", + /* 503 */ "select_item ::= common_expression", + /* 504 */ "select_item ::= common_expression column_alias", + /* 505 */ "select_item ::= common_expression AS column_alias", + /* 506 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 507 */ "where_clause_opt ::=", + /* 508 */ "where_clause_opt ::= WHERE search_condition", + /* 509 */ "partition_by_clause_opt ::=", + /* 510 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 511 */ "partition_list ::= partition_item", + /* 512 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 513 */ "partition_item ::= expr_or_subquery", + /* 514 */ "partition_item ::= expr_or_subquery column_alias", + /* 515 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 516 */ "twindow_clause_opt ::=", + /* 517 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 518 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 519 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 520 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 521 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 522 */ "sliding_opt ::=", + /* 523 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 524 */ "fill_opt ::=", + /* 525 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 526 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", + /* 527 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP", + /* 528 */ "fill_mode ::= NONE", + /* 529 */ "fill_mode ::= PREV", + /* 530 */ "fill_mode ::= NULL", + /* 531 */ "fill_mode ::= NULL_F", + /* 532 */ "fill_mode ::= LINEAR", + /* 533 */ "fill_mode ::= NEXT", + /* 534 */ "group_by_clause_opt ::=", + /* 535 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 536 */ "group_by_list ::= expr_or_subquery", + /* 537 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 538 */ "having_clause_opt ::=", + /* 539 */ "having_clause_opt ::= HAVING search_condition", + /* 540 */ "range_opt ::=", + /* 541 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 542 */ "every_opt ::=", + /* 543 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 544 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 545 */ "query_simple ::= query_specification", + /* 546 */ "query_simple ::= union_query_expression", + /* 547 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 548 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 549 */ "query_simple_or_subquery ::= query_simple", + /* 550 */ "query_simple_or_subquery ::= subquery", + /* 551 */ "query_or_subquery ::= query_expression", + /* 552 */ "query_or_subquery ::= subquery", + /* 553 */ "order_by_clause_opt ::=", + /* 554 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 555 */ "slimit_clause_opt ::=", + /* 556 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 557 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 558 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 559 */ "limit_clause_opt ::=", + /* 560 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 561 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 562 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 563 */ "subquery ::= NK_LP query_expression NK_RP", + /* 564 */ "subquery ::= NK_LP subquery NK_RP", + /* 565 */ "search_condition ::= common_expression", + /* 566 */ "sort_specification_list ::= sort_specification", + /* 567 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 568 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 569 */ "ordering_specification_opt ::=", + /* 570 */ "ordering_specification_opt ::= ASC", + /* 571 */ "ordering_specification_opt ::= DESC", + /* 572 */ "null_ordering_opt ::=", + /* 573 */ "null_ordering_opt ::= NULLS FIRST", + /* 574 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -2601,202 +2603,202 @@ static void yy_destructor( */ /********* Begin destructor definitions ***************************************/ /* Default NON-TERMINAL Destructor */ - case 329: /* cmd */ - case 332: /* literal */ - case 345: /* db_options */ - case 347: /* alter_db_options */ - case 349: /* start_opt */ - case 350: /* end_opt */ - case 355: /* retention */ - case 356: /* full_table_name */ - case 359: /* table_options */ - case 363: /* alter_table_clause */ - case 364: /* alter_table_options */ - case 367: /* signed_literal */ - case 368: /* create_subtable_clause */ - case 371: /* drop_table_clause */ - case 374: /* column_def */ - case 378: /* duration_literal */ - case 379: /* rollup_func_name */ - case 381: /* col_name */ - case 382: /* db_name_cond_opt */ - case 383: /* like_pattern_opt */ - case 384: /* table_name_cond */ - case 385: /* from_db_opt */ - case 387: /* tag_item */ - case 389: /* full_index_name */ - case 390: /* index_options */ - case 393: /* sliding_opt */ - case 394: /* sma_stream_opt */ - case 395: /* func */ - case 397: /* query_or_subquery */ - case 400: /* explain_options */ - case 401: /* insert_query */ - case 406: /* stream_options */ - case 409: /* subtable_opt */ - case 410: /* expression */ - case 412: /* where_clause_opt */ - case 413: /* signed */ - case 414: /* literal_func */ - case 417: /* expr_or_subquery */ - case 418: /* pseudo_column */ - case 419: /* column_reference */ - case 420: /* function_expression */ - case 421: /* case_when_expression */ - case 426: /* star_func_para */ - case 428: /* case_when_else_opt */ - case 429: /* common_expression */ - case 430: /* when_then_expr */ - case 431: /* predicate */ - case 434: /* in_predicate_value */ - case 435: /* boolean_value_expression */ - case 436: /* boolean_primary */ - case 437: /* from_clause_opt */ - case 438: /* table_reference_list */ - case 439: /* table_reference */ - case 440: /* table_primary */ - case 441: /* joined_table */ - case 443: /* subquery */ - case 444: /* parenthesized_joined_table */ - case 446: /* search_condition */ - case 447: /* query_specification */ - case 451: /* range_opt */ - case 452: /* every_opt */ - case 453: /* fill_opt */ - case 454: /* twindow_clause_opt */ - case 456: /* having_clause_opt */ - case 457: /* select_item */ - case 459: /* partition_item */ - case 462: /* query_expression */ - case 463: /* query_simple */ - case 465: /* slimit_clause_opt */ - case 466: /* limit_clause_opt */ - case 467: /* union_query_expression */ - case 468: /* query_simple_or_subquery */ - case 470: /* sort_specification */ + case 330: /* cmd */ + case 333: /* literal */ + case 346: /* db_options */ + case 348: /* alter_db_options */ + case 350: /* start_opt */ + case 351: /* end_opt */ + case 356: /* retention */ + case 357: /* full_table_name */ + case 360: /* table_options */ + case 364: /* alter_table_clause */ + case 365: /* alter_table_options */ + case 368: /* signed_literal */ + case 369: /* create_subtable_clause */ + case 372: /* drop_table_clause */ + case 375: /* column_def */ + case 379: /* duration_literal */ + case 380: /* rollup_func_name */ + case 382: /* col_name */ + case 383: /* db_name_cond_opt */ + case 384: /* like_pattern_opt */ + case 385: /* table_name_cond */ + case 386: /* from_db_opt */ + case 388: /* tag_item */ + case 390: /* full_index_name */ + case 391: /* index_options */ + case 394: /* sliding_opt */ + case 395: /* sma_stream_opt */ + case 396: /* func */ + case 398: /* query_or_subquery */ + case 401: /* explain_options */ + case 402: /* insert_query */ + case 407: /* stream_options */ + case 410: /* subtable_opt */ + case 411: /* expression */ + case 413: /* where_clause_opt */ + case 414: /* signed */ + case 415: /* literal_func */ + case 418: /* expr_or_subquery */ + case 419: /* pseudo_column */ + case 420: /* column_reference */ + case 421: /* function_expression */ + case 422: /* case_when_expression */ + case 427: /* star_func_para */ + case 429: /* case_when_else_opt */ + case 430: /* common_expression */ + case 431: /* when_then_expr */ + case 432: /* predicate */ + case 435: /* in_predicate_value */ + case 436: /* boolean_value_expression */ + case 437: /* boolean_primary */ + case 438: /* from_clause_opt */ + case 439: /* table_reference_list */ + case 440: /* table_reference */ + case 441: /* table_primary */ + case 442: /* joined_table */ + case 444: /* subquery */ + case 445: /* parenthesized_joined_table */ + case 447: /* search_condition */ + case 448: /* query_specification */ + case 452: /* range_opt */ + case 453: /* every_opt */ + case 454: /* fill_opt */ + case 455: /* twindow_clause_opt */ + case 457: /* having_clause_opt */ + case 458: /* select_item */ + case 460: /* partition_item */ + case 463: /* query_expression */ + case 464: /* query_simple */ + case 466: /* slimit_clause_opt */ + case 467: /* limit_clause_opt */ + case 468: /* union_query_expression */ + case 469: /* query_simple_or_subquery */ + case 471: /* sort_specification */ { - nodesDestroyNode((yypminor->yy828)); + nodesDestroyNode((yypminor->yy188)); } break; - case 330: /* account_options */ - case 331: /* alter_account_options */ - case 333: /* alter_account_option */ - case 348: /* speed_opt */ - case 403: /* bufsize_opt */ + case 331: /* account_options */ + case 332: /* alter_account_options */ + case 334: /* alter_account_option */ + case 349: /* speed_opt */ + case 404: /* bufsize_opt */ { } break; - case 334: /* user_name */ - case 337: /* priv_level */ - case 340: /* db_name */ - case 341: /* topic_name */ - case 342: /* dnode_endpoint */ - case 365: /* column_name */ - case 373: /* table_name */ - case 380: /* function_name */ - case 388: /* column_alias */ - case 391: /* index_name */ - case 396: /* sma_func_name */ - case 398: /* cgroup_name */ - case 404: /* language_opt */ - case 405: /* stream_name */ - case 416: /* table_alias */ - case 422: /* star_func */ - case 424: /* noarg_func */ - case 442: /* alias_opt */ + case 335: /* user_name */ + case 338: /* priv_level */ + case 341: /* db_name */ + case 342: /* topic_name */ + case 343: /* dnode_endpoint */ + case 366: /* column_name */ + case 374: /* table_name */ + case 381: /* function_name */ + case 389: /* column_alias */ + case 392: /* index_name */ + case 397: /* sma_func_name */ + case 399: /* cgroup_name */ + case 405: /* language_opt */ + case 406: /* stream_name */ + case 417: /* table_alias */ + case 423: /* star_func */ + case 425: /* noarg_func */ + case 443: /* alias_opt */ { } break; - case 335: /* sysinfo_opt */ + case 336: /* sysinfo_opt */ { } break; - case 336: /* privileges */ - case 338: /* priv_type_list */ - case 339: /* priv_type */ + case 337: /* privileges */ + case 339: /* priv_type_list */ + case 340: /* priv_type */ { } break; - case 343: /* force_opt */ - case 344: /* not_exists_opt */ - case 346: /* exists_opt */ - case 399: /* analyze_opt */ - case 402: /* agg_func_opt */ - case 448: /* set_quantifier_opt */ + case 344: /* force_opt */ + case 345: /* not_exists_opt */ + case 347: /* exists_opt */ + case 400: /* analyze_opt */ + case 403: /* agg_func_opt */ + case 449: /* set_quantifier_opt */ { } break; - case 351: /* integer_list */ - case 352: /* variable_list */ - case 353: /* retention_list */ - case 357: /* column_def_list */ - case 358: /* tags_def_opt */ - case 360: /* multi_create_clause */ - case 361: /* tags_def */ - case 362: /* multi_drop_clause */ - case 369: /* specific_cols_opt */ - case 370: /* expression_list */ - case 372: /* col_name_list */ - case 375: /* duration_list */ - case 376: /* rollup_func_list */ - case 386: /* tag_list_opt */ - case 392: /* func_list */ - case 407: /* col_list_opt */ - case 408: /* tag_def_or_ref_opt */ - case 411: /* dnode_list */ - case 415: /* literal_list */ - case 423: /* star_func_para_list */ - case 425: /* other_para_list */ - case 427: /* when_then_list */ - case 449: /* select_list */ - case 450: /* partition_by_clause_opt */ - case 455: /* group_by_clause_opt */ - case 458: /* partition_list */ - case 461: /* group_by_list */ - case 464: /* order_by_clause_opt */ - case 469: /* sort_specification_list */ + case 352: /* integer_list */ + case 353: /* variable_list */ + case 354: /* retention_list */ + case 358: /* column_def_list */ + case 359: /* tags_def_opt */ + case 361: /* multi_create_clause */ + case 362: /* tags_def */ + case 363: /* multi_drop_clause */ + case 370: /* specific_cols_opt */ + case 371: /* expression_list */ + case 373: /* col_name_list */ + case 376: /* duration_list */ + case 377: /* rollup_func_list */ + case 387: /* tag_list_opt */ + case 393: /* func_list */ + case 408: /* col_list_opt */ + case 409: /* tag_def_or_ref_opt */ + case 412: /* dnode_list */ + case 416: /* literal_list */ + case 424: /* star_func_para_list */ + case 426: /* other_para_list */ + case 428: /* when_then_list */ + case 450: /* select_list */ + case 451: /* partition_by_clause_opt */ + case 456: /* group_by_clause_opt */ + case 459: /* partition_list */ + case 462: /* group_by_list */ + case 465: /* order_by_clause_opt */ + case 470: /* sort_specification_list */ { - nodesDestroyList((yypminor->yy222)); + nodesDestroyList((yypminor->yy172)); } break; - case 354: /* alter_db_option */ - case 377: /* alter_table_option */ + case 355: /* alter_db_option */ + case 378: /* alter_table_option */ { } break; - case 366: /* type_name */ + case 367: /* type_name */ { } break; - case 432: /* compare_op */ - case 433: /* in_op */ + case 433: /* compare_op */ + case 434: /* in_op */ { } break; - case 445: /* join_type */ + case 446: /* join_type */ { } break; - case 460: /* fill_mode */ + case 461: /* fill_mode */ { } break; - case 471: /* ordering_specification_opt */ + case 472: /* ordering_specification_opt */ { } break; - case 472: /* null_ordering_opt */ + case 473: /* null_ordering_opt */ { } @@ -3095,581 +3097,581 @@ 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[] = { - { 329, -6 }, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ - { 329, -4 }, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ - { 330, 0 }, /* (2) account_options ::= */ - { 330, -3 }, /* (3) account_options ::= account_options PPS literal */ - { 330, -3 }, /* (4) account_options ::= account_options TSERIES literal */ - { 330, -3 }, /* (5) account_options ::= account_options STORAGE literal */ - { 330, -3 }, /* (6) account_options ::= account_options STREAMS literal */ - { 330, -3 }, /* (7) account_options ::= account_options QTIME literal */ - { 330, -3 }, /* (8) account_options ::= account_options DBS literal */ - { 330, -3 }, /* (9) account_options ::= account_options USERS literal */ - { 330, -3 }, /* (10) account_options ::= account_options CONNS literal */ - { 330, -3 }, /* (11) account_options ::= account_options STATE literal */ - { 331, -1 }, /* (12) alter_account_options ::= alter_account_option */ - { 331, -2 }, /* (13) alter_account_options ::= alter_account_options alter_account_option */ - { 333, -2 }, /* (14) alter_account_option ::= PASS literal */ - { 333, -2 }, /* (15) alter_account_option ::= PPS literal */ - { 333, -2 }, /* (16) alter_account_option ::= TSERIES literal */ - { 333, -2 }, /* (17) alter_account_option ::= STORAGE literal */ - { 333, -2 }, /* (18) alter_account_option ::= STREAMS literal */ - { 333, -2 }, /* (19) alter_account_option ::= QTIME literal */ - { 333, -2 }, /* (20) alter_account_option ::= DBS literal */ - { 333, -2 }, /* (21) alter_account_option ::= USERS literal */ - { 333, -2 }, /* (22) alter_account_option ::= CONNS literal */ - { 333, -2 }, /* (23) alter_account_option ::= STATE literal */ - { 329, -6 }, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ - { 329, -5 }, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ - { 329, -5 }, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ - { 329, -5 }, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ - { 329, -3 }, /* (28) cmd ::= DROP USER user_name */ - { 335, 0 }, /* (29) sysinfo_opt ::= */ - { 335, -2 }, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ - { 329, -6 }, /* (31) cmd ::= GRANT privileges ON priv_level TO user_name */ - { 329, -6 }, /* (32) cmd ::= REVOKE privileges ON priv_level FROM user_name */ - { 336, -1 }, /* (33) privileges ::= ALL */ - { 336, -1 }, /* (34) privileges ::= priv_type_list */ - { 336, -1 }, /* (35) privileges ::= SUBSCRIBE */ - { 338, -1 }, /* (36) priv_type_list ::= priv_type */ - { 338, -3 }, /* (37) priv_type_list ::= priv_type_list NK_COMMA priv_type */ - { 339, -1 }, /* (38) priv_type ::= READ */ - { 339, -1 }, /* (39) priv_type ::= WRITE */ - { 337, -3 }, /* (40) priv_level ::= NK_STAR NK_DOT NK_STAR */ - { 337, -3 }, /* (41) priv_level ::= db_name NK_DOT NK_STAR */ - { 337, -1 }, /* (42) priv_level ::= topic_name */ - { 329, -3 }, /* (43) cmd ::= CREATE DNODE dnode_endpoint */ - { 329, -5 }, /* (44) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ - { 329, -4 }, /* (45) cmd ::= DROP DNODE NK_INTEGER force_opt */ - { 329, -4 }, /* (46) cmd ::= DROP DNODE dnode_endpoint force_opt */ - { 329, -4 }, /* (47) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ - { 329, -5 }, /* (48) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ - { 329, -4 }, /* (49) cmd ::= ALTER ALL DNODES NK_STRING */ - { 329, -5 }, /* (50) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ - { 342, -1 }, /* (51) dnode_endpoint ::= NK_STRING */ - { 342, -1 }, /* (52) dnode_endpoint ::= NK_ID */ - { 342, -1 }, /* (53) dnode_endpoint ::= NK_IPTOKEN */ - { 343, 0 }, /* (54) force_opt ::= */ - { 343, -1 }, /* (55) force_opt ::= FORCE */ - { 329, -3 }, /* (56) cmd ::= ALTER LOCAL NK_STRING */ - { 329, -4 }, /* (57) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ - { 329, -5 }, /* (58) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (59) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (60) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (61) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (62) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (63) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (64) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (65) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (66) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ - { 329, -4 }, /* (67) cmd ::= DROP DATABASE exists_opt db_name */ - { 329, -2 }, /* (68) cmd ::= USE db_name */ - { 329, -4 }, /* (69) cmd ::= ALTER DATABASE db_name alter_db_options */ - { 329, -3 }, /* (70) cmd ::= FLUSH DATABASE db_name */ - { 329, -4 }, /* (71) cmd ::= TRIM DATABASE db_name speed_opt */ - { 329, -5 }, /* (72) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ - { 344, -3 }, /* (73) not_exists_opt ::= IF NOT EXISTS */ - { 344, 0 }, /* (74) not_exists_opt ::= */ - { 346, -2 }, /* (75) exists_opt ::= IF EXISTS */ - { 346, 0 }, /* (76) exists_opt ::= */ - { 345, 0 }, /* (77) db_options ::= */ - { 345, -3 }, /* (78) db_options ::= db_options BUFFER NK_INTEGER */ - { 345, -3 }, /* (79) db_options ::= db_options CACHEMODEL NK_STRING */ - { 345, -3 }, /* (80) db_options ::= db_options CACHESIZE NK_INTEGER */ - { 345, -3 }, /* (81) db_options ::= db_options COMP NK_INTEGER */ - { 345, -3 }, /* (82) db_options ::= db_options DURATION NK_INTEGER */ - { 345, -3 }, /* (83) db_options ::= db_options DURATION NK_VARIABLE */ - { 345, -3 }, /* (84) db_options ::= db_options MAXROWS NK_INTEGER */ - { 345, -3 }, /* (85) db_options ::= db_options MINROWS NK_INTEGER */ - { 345, -3 }, /* (86) db_options ::= db_options KEEP integer_list */ - { 345, -3 }, /* (87) db_options ::= db_options KEEP variable_list */ - { 345, -3 }, /* (88) db_options ::= db_options PAGES NK_INTEGER */ - { 345, -3 }, /* (89) db_options ::= db_options PAGESIZE NK_INTEGER */ - { 345, -3 }, /* (90) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ - { 345, -3 }, /* (91) db_options ::= db_options PRECISION NK_STRING */ - { 345, -3 }, /* (92) db_options ::= db_options REPLICA NK_INTEGER */ - { 345, -3 }, /* (93) db_options ::= db_options VGROUPS NK_INTEGER */ - { 345, -3 }, /* (94) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ - { 345, -3 }, /* (95) db_options ::= db_options RETENTIONS retention_list */ - { 345, -3 }, /* (96) db_options ::= db_options SCHEMALESS NK_INTEGER */ - { 345, -3 }, /* (97) db_options ::= db_options WAL_LEVEL NK_INTEGER */ - { 345, -3 }, /* (98) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ - { 345, -3 }, /* (99) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ - { 345, -4 }, /* (100) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - { 345, -3 }, /* (101) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ - { 345, -4 }, /* (102) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - { 345, -3 }, /* (103) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ - { 345, -3 }, /* (104) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ - { 345, -3 }, /* (105) db_options ::= db_options STT_TRIGGER NK_INTEGER */ - { 345, -3 }, /* (106) db_options ::= db_options TABLE_PREFIX NK_INTEGER */ - { 345, -3 }, /* (107) db_options ::= db_options TABLE_SUFFIX NK_INTEGER */ - { 347, -1 }, /* (108) alter_db_options ::= alter_db_option */ - { 347, -2 }, /* (109) alter_db_options ::= alter_db_options alter_db_option */ - { 354, -2 }, /* (110) alter_db_option ::= BUFFER NK_INTEGER */ - { 354, -2 }, /* (111) alter_db_option ::= CACHEMODEL NK_STRING */ - { 354, -2 }, /* (112) alter_db_option ::= CACHESIZE NK_INTEGER */ - { 354, -2 }, /* (113) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ - { 354, -2 }, /* (114) alter_db_option ::= KEEP integer_list */ - { 354, -2 }, /* (115) alter_db_option ::= KEEP variable_list */ - { 354, -2 }, /* (116) alter_db_option ::= PAGES NK_INTEGER */ - { 354, -2 }, /* (117) alter_db_option ::= REPLICA NK_INTEGER */ - { 354, -2 }, /* (118) alter_db_option ::= WAL_LEVEL NK_INTEGER */ - { 354, -2 }, /* (119) alter_db_option ::= STT_TRIGGER NK_INTEGER */ - { 354, -2 }, /* (120) alter_db_option ::= MINROWS NK_INTEGER */ - { 351, -1 }, /* (121) integer_list ::= NK_INTEGER */ - { 351, -3 }, /* (122) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - { 352, -1 }, /* (123) variable_list ::= NK_VARIABLE */ - { 352, -3 }, /* (124) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - { 353, -1 }, /* (125) retention_list ::= retention */ - { 353, -3 }, /* (126) retention_list ::= retention_list NK_COMMA retention */ - { 355, -3 }, /* (127) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - { 348, 0 }, /* (128) speed_opt ::= */ - { 348, -2 }, /* (129) speed_opt ::= MAX_SPEED NK_INTEGER */ - { 349, 0 }, /* (130) start_opt ::= */ - { 349, -3 }, /* (131) start_opt ::= START WITH NK_INTEGER */ - { 349, -3 }, /* (132) start_opt ::= START WITH NK_STRING */ - { 349, -4 }, /* (133) start_opt ::= START WITH TIMESTAMP NK_STRING */ - { 350, 0 }, /* (134) end_opt ::= */ - { 350, -3 }, /* (135) end_opt ::= END WITH NK_INTEGER */ - { 350, -3 }, /* (136) end_opt ::= END WITH NK_STRING */ - { 350, -4 }, /* (137) end_opt ::= END WITH TIMESTAMP NK_STRING */ - { 329, -9 }, /* (138) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - { 329, -3 }, /* (139) cmd ::= CREATE TABLE multi_create_clause */ - { 329, -9 }, /* (140) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - { 329, -3 }, /* (141) cmd ::= DROP TABLE multi_drop_clause */ - { 329, -4 }, /* (142) cmd ::= DROP STABLE exists_opt full_table_name */ - { 329, -3 }, /* (143) cmd ::= ALTER TABLE alter_table_clause */ - { 329, -3 }, /* (144) cmd ::= ALTER STABLE alter_table_clause */ - { 363, -2 }, /* (145) alter_table_clause ::= full_table_name alter_table_options */ - { 363, -5 }, /* (146) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - { 363, -4 }, /* (147) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - { 363, -5 }, /* (148) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - { 363, -5 }, /* (149) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - { 363, -5 }, /* (150) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - { 363, -4 }, /* (151) alter_table_clause ::= full_table_name DROP TAG column_name */ - { 363, -5 }, /* (152) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - { 363, -5 }, /* (153) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - { 363, -6 }, /* (154) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - { 360, -1 }, /* (155) multi_create_clause ::= create_subtable_clause */ - { 360, -2 }, /* (156) multi_create_clause ::= multi_create_clause create_subtable_clause */ - { 368, -10 }, /* (157) 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 */ - { 362, -1 }, /* (158) multi_drop_clause ::= drop_table_clause */ - { 362, -3 }, /* (159) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ - { 371, -2 }, /* (160) drop_table_clause ::= exists_opt full_table_name */ - { 369, 0 }, /* (161) specific_cols_opt ::= */ - { 369, -3 }, /* (162) specific_cols_opt ::= NK_LP col_name_list NK_RP */ - { 356, -1 }, /* (163) full_table_name ::= table_name */ - { 356, -3 }, /* (164) full_table_name ::= db_name NK_DOT table_name */ - { 357, -1 }, /* (165) column_def_list ::= column_def */ - { 357, -3 }, /* (166) column_def_list ::= column_def_list NK_COMMA column_def */ - { 374, -2 }, /* (167) column_def ::= column_name type_name */ - { 374, -4 }, /* (168) column_def ::= column_name type_name COMMENT NK_STRING */ - { 366, -1 }, /* (169) type_name ::= BOOL */ - { 366, -1 }, /* (170) type_name ::= TINYINT */ - { 366, -1 }, /* (171) type_name ::= SMALLINT */ - { 366, -1 }, /* (172) type_name ::= INT */ - { 366, -1 }, /* (173) type_name ::= INTEGER */ - { 366, -1 }, /* (174) type_name ::= BIGINT */ - { 366, -1 }, /* (175) type_name ::= FLOAT */ - { 366, -1 }, /* (176) type_name ::= DOUBLE */ - { 366, -4 }, /* (177) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - { 366, -1 }, /* (178) type_name ::= TIMESTAMP */ - { 366, -4 }, /* (179) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - { 366, -2 }, /* (180) type_name ::= TINYINT UNSIGNED */ - { 366, -2 }, /* (181) type_name ::= SMALLINT UNSIGNED */ - { 366, -2 }, /* (182) type_name ::= INT UNSIGNED */ - { 366, -2 }, /* (183) type_name ::= BIGINT UNSIGNED */ - { 366, -1 }, /* (184) type_name ::= JSON */ - { 366, -4 }, /* (185) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - { 366, -1 }, /* (186) type_name ::= MEDIUMBLOB */ - { 366, -1 }, /* (187) type_name ::= BLOB */ - { 366, -4 }, /* (188) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - { 366, -1 }, /* (189) type_name ::= DECIMAL */ - { 366, -4 }, /* (190) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - { 366, -6 }, /* (191) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - { 358, 0 }, /* (192) tags_def_opt ::= */ - { 358, -1 }, /* (193) tags_def_opt ::= tags_def */ - { 361, -4 }, /* (194) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - { 359, 0 }, /* (195) table_options ::= */ - { 359, -3 }, /* (196) table_options ::= table_options COMMENT NK_STRING */ - { 359, -3 }, /* (197) table_options ::= table_options MAX_DELAY duration_list */ - { 359, -3 }, /* (198) table_options ::= table_options WATERMARK duration_list */ - { 359, -5 }, /* (199) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - { 359, -3 }, /* (200) table_options ::= table_options TTL NK_INTEGER */ - { 359, -5 }, /* (201) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - { 359, -3 }, /* (202) table_options ::= table_options DELETE_MARK duration_list */ - { 364, -1 }, /* (203) alter_table_options ::= alter_table_option */ - { 364, -2 }, /* (204) alter_table_options ::= alter_table_options alter_table_option */ - { 377, -2 }, /* (205) alter_table_option ::= COMMENT NK_STRING */ - { 377, -2 }, /* (206) alter_table_option ::= TTL NK_INTEGER */ - { 375, -1 }, /* (207) duration_list ::= duration_literal */ - { 375, -3 }, /* (208) duration_list ::= duration_list NK_COMMA duration_literal */ - { 376, -1 }, /* (209) rollup_func_list ::= rollup_func_name */ - { 376, -3 }, /* (210) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - { 379, -1 }, /* (211) rollup_func_name ::= function_name */ - { 379, -1 }, /* (212) rollup_func_name ::= FIRST */ - { 379, -1 }, /* (213) rollup_func_name ::= LAST */ - { 372, -1 }, /* (214) col_name_list ::= col_name */ - { 372, -3 }, /* (215) col_name_list ::= col_name_list NK_COMMA col_name */ - { 381, -1 }, /* (216) col_name ::= column_name */ - { 329, -2 }, /* (217) cmd ::= SHOW DNODES */ - { 329, -2 }, /* (218) cmd ::= SHOW USERS */ - { 329, -3 }, /* (219) cmd ::= SHOW USER PRIVILEGES */ - { 329, -2 }, /* (220) cmd ::= SHOW DATABASES */ - { 329, -4 }, /* (221) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - { 329, -4 }, /* (222) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - { 329, -3 }, /* (223) cmd ::= SHOW db_name_cond_opt VGROUPS */ - { 329, -2 }, /* (224) cmd ::= SHOW MNODES */ - { 329, -2 }, /* (225) cmd ::= SHOW QNODES */ - { 329, -2 }, /* (226) cmd ::= SHOW FUNCTIONS */ - { 329, -5 }, /* (227) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - { 329, -2 }, /* (228) cmd ::= SHOW STREAMS */ - { 329, -2 }, /* (229) cmd ::= SHOW ACCOUNTS */ - { 329, -2 }, /* (230) cmd ::= SHOW APPS */ - { 329, -2 }, /* (231) cmd ::= SHOW CONNECTIONS */ - { 329, -2 }, /* (232) cmd ::= SHOW LICENCES */ - { 329, -2 }, /* (233) cmd ::= SHOW GRANTS */ - { 329, -4 }, /* (234) cmd ::= SHOW CREATE DATABASE db_name */ - { 329, -4 }, /* (235) cmd ::= SHOW CREATE TABLE full_table_name */ - { 329, -4 }, /* (236) cmd ::= SHOW CREATE STABLE full_table_name */ - { 329, -2 }, /* (237) cmd ::= SHOW QUERIES */ - { 329, -2 }, /* (238) cmd ::= SHOW SCORES */ - { 329, -2 }, /* (239) cmd ::= SHOW TOPICS */ - { 329, -2 }, /* (240) cmd ::= SHOW VARIABLES */ - { 329, -3 }, /* (241) cmd ::= SHOW CLUSTER VARIABLES */ - { 329, -3 }, /* (242) cmd ::= SHOW LOCAL VARIABLES */ - { 329, -5 }, /* (243) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - { 329, -2 }, /* (244) cmd ::= SHOW BNODES */ - { 329, -2 }, /* (245) cmd ::= SHOW SNODES */ - { 329, -2 }, /* (246) cmd ::= SHOW CLUSTER */ - { 329, -2 }, /* (247) cmd ::= SHOW TRANSACTIONS */ - { 329, -4 }, /* (248) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - { 329, -2 }, /* (249) cmd ::= SHOW CONSUMERS */ - { 329, -2 }, /* (250) cmd ::= SHOW SUBSCRIPTIONS */ - { 329, -5 }, /* (251) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - { 329, -7 }, /* (252) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - { 329, -3 }, /* (253) cmd ::= SHOW VNODES NK_INTEGER */ - { 329, -3 }, /* (254) cmd ::= SHOW VNODES NK_STRING */ - { 329, -3 }, /* (255) cmd ::= SHOW db_name_cond_opt ALIVE */ - { 329, -3 }, /* (256) cmd ::= SHOW CLUSTER ALIVE */ - { 382, 0 }, /* (257) db_name_cond_opt ::= */ - { 382, -2 }, /* (258) db_name_cond_opt ::= db_name NK_DOT */ - { 383, 0 }, /* (259) like_pattern_opt ::= */ - { 383, -2 }, /* (260) like_pattern_opt ::= LIKE NK_STRING */ - { 384, -1 }, /* (261) table_name_cond ::= table_name */ - { 385, 0 }, /* (262) from_db_opt ::= */ - { 385, -2 }, /* (263) from_db_opt ::= FROM db_name */ - { 386, 0 }, /* (264) tag_list_opt ::= */ - { 386, -1 }, /* (265) tag_list_opt ::= tag_item */ - { 386, -3 }, /* (266) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - { 387, -1 }, /* (267) tag_item ::= TBNAME */ - { 387, -1 }, /* (268) tag_item ::= QTAGS */ - { 387, -1 }, /* (269) tag_item ::= column_name */ - { 387, -2 }, /* (270) tag_item ::= column_name column_alias */ - { 387, -3 }, /* (271) tag_item ::= column_name AS column_alias */ - { 329, -8 }, /* (272) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ - { 329, -9 }, /* (273) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ - { 329, -4 }, /* (274) cmd ::= DROP INDEX exists_opt full_index_name */ - { 389, -1 }, /* (275) full_index_name ::= index_name */ - { 389, -3 }, /* (276) full_index_name ::= db_name NK_DOT index_name */ - { 390, -10 }, /* (277) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - { 390, -12 }, /* (278) 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 */ - { 392, -1 }, /* (279) func_list ::= func */ - { 392, -3 }, /* (280) func_list ::= func_list NK_COMMA func */ - { 395, -4 }, /* (281) func ::= sma_func_name NK_LP expression_list NK_RP */ - { 396, -1 }, /* (282) sma_func_name ::= function_name */ - { 396, -1 }, /* (283) sma_func_name ::= COUNT */ - { 396, -1 }, /* (284) sma_func_name ::= FIRST */ - { 396, -1 }, /* (285) sma_func_name ::= LAST */ - { 396, -1 }, /* (286) sma_func_name ::= LAST_ROW */ - { 394, 0 }, /* (287) sma_stream_opt ::= */ - { 394, -3 }, /* (288) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - { 394, -3 }, /* (289) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - { 394, -3 }, /* (290) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - { 329, -6 }, /* (291) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - { 329, -7 }, /* (292) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ - { 329, -9 }, /* (293) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ - { 329, -7 }, /* (294) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ - { 329, -9 }, /* (295) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ - { 329, -4 }, /* (296) cmd ::= DROP TOPIC exists_opt topic_name */ - { 329, -7 }, /* (297) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - { 329, -2 }, /* (298) cmd ::= DESC full_table_name */ - { 329, -2 }, /* (299) cmd ::= DESCRIBE full_table_name */ - { 329, -3 }, /* (300) cmd ::= RESET QUERY CACHE */ - { 329, -4 }, /* (301) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - { 329, -4 }, /* (302) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - { 399, 0 }, /* (303) analyze_opt ::= */ - { 399, -1 }, /* (304) analyze_opt ::= ANALYZE */ - { 400, 0 }, /* (305) explain_options ::= */ - { 400, -3 }, /* (306) explain_options ::= explain_options VERBOSE NK_BOOL */ - { 400, -3 }, /* (307) explain_options ::= explain_options RATIO NK_FLOAT */ - { 329, -11 }, /* (308) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - { 329, -4 }, /* (309) cmd ::= DROP FUNCTION exists_opt function_name */ - { 402, 0 }, /* (310) agg_func_opt ::= */ - { 402, -1 }, /* (311) agg_func_opt ::= AGGREGATE */ - { 403, 0 }, /* (312) bufsize_opt ::= */ - { 403, -2 }, /* (313) bufsize_opt ::= BUFSIZE NK_INTEGER */ - { 404, 0 }, /* (314) language_opt ::= */ - { 404, -2 }, /* (315) language_opt ::= LANGUAGE NK_STRING */ - { 329, -12 }, /* (316) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - { 329, -4 }, /* (317) cmd ::= DROP STREAM exists_opt stream_name */ - { 407, 0 }, /* (318) col_list_opt ::= */ - { 407, -3 }, /* (319) col_list_opt ::= NK_LP col_name_list NK_RP */ - { 408, 0 }, /* (320) tag_def_or_ref_opt ::= */ - { 408, -1 }, /* (321) tag_def_or_ref_opt ::= tags_def */ - { 408, -4 }, /* (322) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - { 406, 0 }, /* (323) stream_options ::= */ - { 406, -3 }, /* (324) stream_options ::= stream_options TRIGGER AT_ONCE */ - { 406, -3 }, /* (325) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - { 406, -4 }, /* (326) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - { 406, -3 }, /* (327) stream_options ::= stream_options WATERMARK duration_literal */ - { 406, -4 }, /* (328) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - { 406, -3 }, /* (329) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - { 406, -3 }, /* (330) stream_options ::= stream_options DELETE_MARK duration_literal */ - { 406, -4 }, /* (331) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - { 409, 0 }, /* (332) subtable_opt ::= */ - { 409, -4 }, /* (333) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - { 329, -3 }, /* (334) cmd ::= KILL CONNECTION NK_INTEGER */ - { 329, -3 }, /* (335) cmd ::= KILL QUERY NK_STRING */ - { 329, -3 }, /* (336) cmd ::= KILL TRANSACTION NK_INTEGER */ - { 329, -2 }, /* (337) cmd ::= BALANCE VGROUP */ - { 329, -4 }, /* (338) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - { 329, -4 }, /* (339) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - { 329, -3 }, /* (340) cmd ::= SPLIT VGROUP NK_INTEGER */ - { 411, -2 }, /* (341) dnode_list ::= DNODE NK_INTEGER */ - { 411, -3 }, /* (342) dnode_list ::= dnode_list DNODE NK_INTEGER */ - { 329, -4 }, /* (343) cmd ::= DELETE FROM full_table_name where_clause_opt */ - { 329, -1 }, /* (344) cmd ::= query_or_subquery */ - { 329, -1 }, /* (345) cmd ::= insert_query */ - { 401, -7 }, /* (346) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - { 401, -4 }, /* (347) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - { 332, -1 }, /* (348) literal ::= NK_INTEGER */ - { 332, -1 }, /* (349) literal ::= NK_FLOAT */ - { 332, -1 }, /* (350) literal ::= NK_STRING */ - { 332, -1 }, /* (351) literal ::= NK_BOOL */ - { 332, -2 }, /* (352) literal ::= TIMESTAMP NK_STRING */ - { 332, -1 }, /* (353) literal ::= duration_literal */ - { 332, -1 }, /* (354) literal ::= NULL */ - { 332, -1 }, /* (355) literal ::= NK_QUESTION */ - { 378, -1 }, /* (356) duration_literal ::= NK_VARIABLE */ - { 413, -1 }, /* (357) signed ::= NK_INTEGER */ - { 413, -2 }, /* (358) signed ::= NK_PLUS NK_INTEGER */ - { 413, -2 }, /* (359) signed ::= NK_MINUS NK_INTEGER */ - { 413, -1 }, /* (360) signed ::= NK_FLOAT */ - { 413, -2 }, /* (361) signed ::= NK_PLUS NK_FLOAT */ - { 413, -2 }, /* (362) signed ::= NK_MINUS NK_FLOAT */ - { 367, -1 }, /* (363) signed_literal ::= signed */ - { 367, -1 }, /* (364) signed_literal ::= NK_STRING */ - { 367, -1 }, /* (365) signed_literal ::= NK_BOOL */ - { 367, -2 }, /* (366) signed_literal ::= TIMESTAMP NK_STRING */ - { 367, -1 }, /* (367) signed_literal ::= duration_literal */ - { 367, -1 }, /* (368) signed_literal ::= NULL */ - { 367, -1 }, /* (369) signed_literal ::= literal_func */ - { 367, -1 }, /* (370) signed_literal ::= NK_QUESTION */ - { 415, -1 }, /* (371) literal_list ::= signed_literal */ - { 415, -3 }, /* (372) literal_list ::= literal_list NK_COMMA signed_literal */ - { 340, -1 }, /* (373) db_name ::= NK_ID */ - { 373, -1 }, /* (374) table_name ::= NK_ID */ - { 365, -1 }, /* (375) column_name ::= NK_ID */ - { 380, -1 }, /* (376) function_name ::= NK_ID */ - { 416, -1 }, /* (377) table_alias ::= NK_ID */ - { 388, -1 }, /* (378) column_alias ::= NK_ID */ - { 334, -1 }, /* (379) user_name ::= NK_ID */ - { 341, -1 }, /* (380) topic_name ::= NK_ID */ - { 405, -1 }, /* (381) stream_name ::= NK_ID */ - { 398, -1 }, /* (382) cgroup_name ::= NK_ID */ - { 391, -1 }, /* (383) index_name ::= NK_ID */ - { 417, -1 }, /* (384) expr_or_subquery ::= expression */ - { 410, -1 }, /* (385) expression ::= literal */ - { 410, -1 }, /* (386) expression ::= pseudo_column */ - { 410, -1 }, /* (387) expression ::= column_reference */ - { 410, -1 }, /* (388) expression ::= function_expression */ - { 410, -1 }, /* (389) expression ::= case_when_expression */ - { 410, -3 }, /* (390) expression ::= NK_LP expression NK_RP */ - { 410, -2 }, /* (391) expression ::= NK_PLUS expr_or_subquery */ - { 410, -2 }, /* (392) expression ::= NK_MINUS expr_or_subquery */ - { 410, -3 }, /* (393) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - { 410, -3 }, /* (394) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - { 410, -3 }, /* (395) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - { 410, -3 }, /* (396) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - { 410, -3 }, /* (397) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - { 410, -3 }, /* (398) expression ::= column_reference NK_ARROW NK_STRING */ - { 410, -3 }, /* (399) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - { 410, -3 }, /* (400) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - { 370, -1 }, /* (401) expression_list ::= expr_or_subquery */ - { 370, -3 }, /* (402) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - { 419, -1 }, /* (403) column_reference ::= column_name */ - { 419, -3 }, /* (404) column_reference ::= table_name NK_DOT column_name */ - { 418, -1 }, /* (405) pseudo_column ::= ROWTS */ - { 418, -1 }, /* (406) pseudo_column ::= TBNAME */ - { 418, -3 }, /* (407) pseudo_column ::= table_name NK_DOT TBNAME */ - { 418, -1 }, /* (408) pseudo_column ::= QSTART */ - { 418, -1 }, /* (409) pseudo_column ::= QEND */ - { 418, -1 }, /* (410) pseudo_column ::= QDURATION */ - { 418, -1 }, /* (411) pseudo_column ::= WSTART */ - { 418, -1 }, /* (412) pseudo_column ::= WEND */ - { 418, -1 }, /* (413) pseudo_column ::= WDURATION */ - { 418, -1 }, /* (414) pseudo_column ::= IROWTS */ - { 418, -1 }, /* (415) pseudo_column ::= ISFILLED */ - { 418, -1 }, /* (416) pseudo_column ::= QTAGS */ - { 420, -4 }, /* (417) function_expression ::= function_name NK_LP expression_list NK_RP */ - { 420, -4 }, /* (418) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - { 420, -6 }, /* (419) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - { 420, -1 }, /* (420) function_expression ::= literal_func */ - { 414, -3 }, /* (421) literal_func ::= noarg_func NK_LP NK_RP */ - { 414, -1 }, /* (422) literal_func ::= NOW */ - { 424, -1 }, /* (423) noarg_func ::= NOW */ - { 424, -1 }, /* (424) noarg_func ::= TODAY */ - { 424, -1 }, /* (425) noarg_func ::= TIMEZONE */ - { 424, -1 }, /* (426) noarg_func ::= DATABASE */ - { 424, -1 }, /* (427) noarg_func ::= CLIENT_VERSION */ - { 424, -1 }, /* (428) noarg_func ::= SERVER_VERSION */ - { 424, -1 }, /* (429) noarg_func ::= SERVER_STATUS */ - { 424, -1 }, /* (430) noarg_func ::= CURRENT_USER */ - { 424, -1 }, /* (431) noarg_func ::= USER */ - { 422, -1 }, /* (432) star_func ::= COUNT */ - { 422, -1 }, /* (433) star_func ::= FIRST */ - { 422, -1 }, /* (434) star_func ::= LAST */ - { 422, -1 }, /* (435) star_func ::= LAST_ROW */ - { 423, -1 }, /* (436) star_func_para_list ::= NK_STAR */ - { 423, -1 }, /* (437) star_func_para_list ::= other_para_list */ - { 425, -1 }, /* (438) other_para_list ::= star_func_para */ - { 425, -3 }, /* (439) other_para_list ::= other_para_list NK_COMMA star_func_para */ - { 426, -1 }, /* (440) star_func_para ::= expr_or_subquery */ - { 426, -3 }, /* (441) star_func_para ::= table_name NK_DOT NK_STAR */ - { 421, -4 }, /* (442) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - { 421, -5 }, /* (443) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - { 427, -1 }, /* (444) when_then_list ::= when_then_expr */ - { 427, -2 }, /* (445) when_then_list ::= when_then_list when_then_expr */ - { 430, -4 }, /* (446) when_then_expr ::= WHEN common_expression THEN common_expression */ - { 428, 0 }, /* (447) case_when_else_opt ::= */ - { 428, -2 }, /* (448) case_when_else_opt ::= ELSE common_expression */ - { 431, -3 }, /* (449) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - { 431, -5 }, /* (450) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - { 431, -6 }, /* (451) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - { 431, -3 }, /* (452) predicate ::= expr_or_subquery IS NULL */ - { 431, -4 }, /* (453) predicate ::= expr_or_subquery IS NOT NULL */ - { 431, -3 }, /* (454) predicate ::= expr_or_subquery in_op in_predicate_value */ - { 432, -1 }, /* (455) compare_op ::= NK_LT */ - { 432, -1 }, /* (456) compare_op ::= NK_GT */ - { 432, -1 }, /* (457) compare_op ::= NK_LE */ - { 432, -1 }, /* (458) compare_op ::= NK_GE */ - { 432, -1 }, /* (459) compare_op ::= NK_NE */ - { 432, -1 }, /* (460) compare_op ::= NK_EQ */ - { 432, -1 }, /* (461) compare_op ::= LIKE */ - { 432, -2 }, /* (462) compare_op ::= NOT LIKE */ - { 432, -1 }, /* (463) compare_op ::= MATCH */ - { 432, -1 }, /* (464) compare_op ::= NMATCH */ - { 432, -1 }, /* (465) compare_op ::= CONTAINS */ - { 433, -1 }, /* (466) in_op ::= IN */ - { 433, -2 }, /* (467) in_op ::= NOT IN */ - { 434, -3 }, /* (468) in_predicate_value ::= NK_LP literal_list NK_RP */ - { 435, -1 }, /* (469) boolean_value_expression ::= boolean_primary */ - { 435, -2 }, /* (470) boolean_value_expression ::= NOT boolean_primary */ - { 435, -3 }, /* (471) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - { 435, -3 }, /* (472) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - { 436, -1 }, /* (473) boolean_primary ::= predicate */ - { 436, -3 }, /* (474) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - { 429, -1 }, /* (475) common_expression ::= expr_or_subquery */ - { 429, -1 }, /* (476) common_expression ::= boolean_value_expression */ - { 437, 0 }, /* (477) from_clause_opt ::= */ - { 437, -2 }, /* (478) from_clause_opt ::= FROM table_reference_list */ - { 438, -1 }, /* (479) table_reference_list ::= table_reference */ - { 438, -3 }, /* (480) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - { 439, -1 }, /* (481) table_reference ::= table_primary */ - { 439, -1 }, /* (482) table_reference ::= joined_table */ - { 440, -2 }, /* (483) table_primary ::= table_name alias_opt */ - { 440, -4 }, /* (484) table_primary ::= db_name NK_DOT table_name alias_opt */ - { 440, -2 }, /* (485) table_primary ::= subquery alias_opt */ - { 440, -1 }, /* (486) table_primary ::= parenthesized_joined_table */ - { 442, 0 }, /* (487) alias_opt ::= */ - { 442, -1 }, /* (488) alias_opt ::= table_alias */ - { 442, -2 }, /* (489) alias_opt ::= AS table_alias */ - { 444, -3 }, /* (490) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - { 444, -3 }, /* (491) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - { 441, -6 }, /* (492) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - { 445, 0 }, /* (493) join_type ::= */ - { 445, -1 }, /* (494) join_type ::= INNER */ - { 447, -12 }, /* (495) 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 */ - { 448, 0 }, /* (496) set_quantifier_opt ::= */ - { 448, -1 }, /* (497) set_quantifier_opt ::= DISTINCT */ - { 448, -1 }, /* (498) set_quantifier_opt ::= ALL */ - { 449, -1 }, /* (499) select_list ::= select_item */ - { 449, -3 }, /* (500) select_list ::= select_list NK_COMMA select_item */ - { 457, -1 }, /* (501) select_item ::= NK_STAR */ - { 457, -1 }, /* (502) select_item ::= common_expression */ - { 457, -2 }, /* (503) select_item ::= common_expression column_alias */ - { 457, -3 }, /* (504) select_item ::= common_expression AS column_alias */ - { 457, -3 }, /* (505) select_item ::= table_name NK_DOT NK_STAR */ - { 412, 0 }, /* (506) where_clause_opt ::= */ - { 412, -2 }, /* (507) where_clause_opt ::= WHERE search_condition */ - { 450, 0 }, /* (508) partition_by_clause_opt ::= */ - { 450, -3 }, /* (509) partition_by_clause_opt ::= PARTITION BY partition_list */ - { 458, -1 }, /* (510) partition_list ::= partition_item */ - { 458, -3 }, /* (511) partition_list ::= partition_list NK_COMMA partition_item */ - { 459, -1 }, /* (512) partition_item ::= expr_or_subquery */ - { 459, -2 }, /* (513) partition_item ::= expr_or_subquery column_alias */ - { 459, -3 }, /* (514) partition_item ::= expr_or_subquery AS column_alias */ - { 454, 0 }, /* (515) twindow_clause_opt ::= */ - { 454, -6 }, /* (516) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - { 454, -4 }, /* (517) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - { 454, -6 }, /* (518) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - { 454, -8 }, /* (519) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - { 454, -7 }, /* (520) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - { 393, 0 }, /* (521) sliding_opt ::= */ - { 393, -4 }, /* (522) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - { 453, 0 }, /* (523) fill_opt ::= */ - { 453, -4 }, /* (524) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - { 453, -6 }, /* (525) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ - { 453, -6 }, /* (526) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ - { 460, -1 }, /* (527) fill_mode ::= NONE */ - { 460, -1 }, /* (528) fill_mode ::= PREV */ - { 460, -1 }, /* (529) fill_mode ::= NULL */ - { 460, -1 }, /* (530) fill_mode ::= NULL_F */ - { 460, -1 }, /* (531) fill_mode ::= LINEAR */ - { 460, -1 }, /* (532) fill_mode ::= NEXT */ - { 455, 0 }, /* (533) group_by_clause_opt ::= */ - { 455, -3 }, /* (534) group_by_clause_opt ::= GROUP BY group_by_list */ - { 461, -1 }, /* (535) group_by_list ::= expr_or_subquery */ - { 461, -3 }, /* (536) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - { 456, 0 }, /* (537) having_clause_opt ::= */ - { 456, -2 }, /* (538) having_clause_opt ::= HAVING search_condition */ - { 451, 0 }, /* (539) range_opt ::= */ - { 451, -6 }, /* (540) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - { 452, 0 }, /* (541) every_opt ::= */ - { 452, -4 }, /* (542) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - { 462, -4 }, /* (543) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - { 463, -1 }, /* (544) query_simple ::= query_specification */ - { 463, -1 }, /* (545) query_simple ::= union_query_expression */ - { 467, -4 }, /* (546) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - { 467, -3 }, /* (547) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - { 468, -1 }, /* (548) query_simple_or_subquery ::= query_simple */ - { 468, -1 }, /* (549) query_simple_or_subquery ::= subquery */ - { 397, -1 }, /* (550) query_or_subquery ::= query_expression */ - { 397, -1 }, /* (551) query_or_subquery ::= subquery */ - { 464, 0 }, /* (552) order_by_clause_opt ::= */ - { 464, -3 }, /* (553) order_by_clause_opt ::= ORDER BY sort_specification_list */ - { 465, 0 }, /* (554) slimit_clause_opt ::= */ - { 465, -2 }, /* (555) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - { 465, -4 }, /* (556) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - { 465, -4 }, /* (557) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 466, 0 }, /* (558) limit_clause_opt ::= */ - { 466, -2 }, /* (559) limit_clause_opt ::= LIMIT NK_INTEGER */ - { 466, -4 }, /* (560) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - { 466, -4 }, /* (561) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 443, -3 }, /* (562) subquery ::= NK_LP query_expression NK_RP */ - { 443, -3 }, /* (563) subquery ::= NK_LP subquery NK_RP */ - { 446, -1 }, /* (564) search_condition ::= common_expression */ - { 469, -1 }, /* (565) sort_specification_list ::= sort_specification */ - { 469, -3 }, /* (566) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - { 470, -3 }, /* (567) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - { 471, 0 }, /* (568) ordering_specification_opt ::= */ - { 471, -1 }, /* (569) ordering_specification_opt ::= ASC */ - { 471, -1 }, /* (570) ordering_specification_opt ::= DESC */ - { 472, 0 }, /* (571) null_ordering_opt ::= */ - { 472, -2 }, /* (572) null_ordering_opt ::= NULLS FIRST */ - { 472, -2 }, /* (573) null_ordering_opt ::= NULLS LAST */ - { 329, -2 }, /* (574) cmd ::= BALANCE VGROUP_LEADER */ + { 330, -6 }, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ + { 330, -4 }, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ + { 331, 0 }, /* (2) account_options ::= */ + { 331, -3 }, /* (3) account_options ::= account_options PPS literal */ + { 331, -3 }, /* (4) account_options ::= account_options TSERIES literal */ + { 331, -3 }, /* (5) account_options ::= account_options STORAGE literal */ + { 331, -3 }, /* (6) account_options ::= account_options STREAMS literal */ + { 331, -3 }, /* (7) account_options ::= account_options QTIME literal */ + { 331, -3 }, /* (8) account_options ::= account_options DBS literal */ + { 331, -3 }, /* (9) account_options ::= account_options USERS literal */ + { 331, -3 }, /* (10) account_options ::= account_options CONNS literal */ + { 331, -3 }, /* (11) account_options ::= account_options STATE literal */ + { 332, -1 }, /* (12) alter_account_options ::= alter_account_option */ + { 332, -2 }, /* (13) alter_account_options ::= alter_account_options alter_account_option */ + { 334, -2 }, /* (14) alter_account_option ::= PASS literal */ + { 334, -2 }, /* (15) alter_account_option ::= PPS literal */ + { 334, -2 }, /* (16) alter_account_option ::= TSERIES literal */ + { 334, -2 }, /* (17) alter_account_option ::= STORAGE literal */ + { 334, -2 }, /* (18) alter_account_option ::= STREAMS literal */ + { 334, -2 }, /* (19) alter_account_option ::= QTIME literal */ + { 334, -2 }, /* (20) alter_account_option ::= DBS literal */ + { 334, -2 }, /* (21) alter_account_option ::= USERS literal */ + { 334, -2 }, /* (22) alter_account_option ::= CONNS literal */ + { 334, -2 }, /* (23) alter_account_option ::= STATE literal */ + { 330, -6 }, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ + { 330, -5 }, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ + { 330, -5 }, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ + { 330, -5 }, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ + { 330, -3 }, /* (28) cmd ::= DROP USER user_name */ + { 336, 0 }, /* (29) sysinfo_opt ::= */ + { 336, -2 }, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ + { 330, -6 }, /* (31) cmd ::= GRANT privileges ON priv_level TO user_name */ + { 330, -6 }, /* (32) cmd ::= REVOKE privileges ON priv_level FROM user_name */ + { 337, -1 }, /* (33) privileges ::= ALL */ + { 337, -1 }, /* (34) privileges ::= priv_type_list */ + { 337, -1 }, /* (35) privileges ::= SUBSCRIBE */ + { 339, -1 }, /* (36) priv_type_list ::= priv_type */ + { 339, -3 }, /* (37) priv_type_list ::= priv_type_list NK_COMMA priv_type */ + { 340, -1 }, /* (38) priv_type ::= READ */ + { 340, -1 }, /* (39) priv_type ::= WRITE */ + { 338, -3 }, /* (40) priv_level ::= NK_STAR NK_DOT NK_STAR */ + { 338, -3 }, /* (41) priv_level ::= db_name NK_DOT NK_STAR */ + { 338, -1 }, /* (42) priv_level ::= topic_name */ + { 330, -3 }, /* (43) cmd ::= CREATE DNODE dnode_endpoint */ + { 330, -5 }, /* (44) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ + { 330, -4 }, /* (45) cmd ::= DROP DNODE NK_INTEGER force_opt */ + { 330, -4 }, /* (46) cmd ::= DROP DNODE dnode_endpoint force_opt */ + { 330, -4 }, /* (47) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ + { 330, -5 }, /* (48) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ + { 330, -4 }, /* (49) cmd ::= ALTER ALL DNODES NK_STRING */ + { 330, -5 }, /* (50) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ + { 343, -1 }, /* (51) dnode_endpoint ::= NK_STRING */ + { 343, -1 }, /* (52) dnode_endpoint ::= NK_ID */ + { 343, -1 }, /* (53) dnode_endpoint ::= NK_IPTOKEN */ + { 344, 0 }, /* (54) force_opt ::= */ + { 344, -1 }, /* (55) force_opt ::= FORCE */ + { 330, -3 }, /* (56) cmd ::= ALTER LOCAL NK_STRING */ + { 330, -4 }, /* (57) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ + { 330, -5 }, /* (58) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (59) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (60) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (61) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (62) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (63) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (64) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (65) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (66) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ + { 330, -4 }, /* (67) cmd ::= DROP DATABASE exists_opt db_name */ + { 330, -2 }, /* (68) cmd ::= USE db_name */ + { 330, -4 }, /* (69) cmd ::= ALTER DATABASE db_name alter_db_options */ + { 330, -3 }, /* (70) cmd ::= FLUSH DATABASE db_name */ + { 330, -4 }, /* (71) cmd ::= TRIM DATABASE db_name speed_opt */ + { 330, -5 }, /* (72) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ + { 345, -3 }, /* (73) not_exists_opt ::= IF NOT EXISTS */ + { 345, 0 }, /* (74) not_exists_opt ::= */ + { 347, -2 }, /* (75) exists_opt ::= IF EXISTS */ + { 347, 0 }, /* (76) exists_opt ::= */ + { 346, 0 }, /* (77) db_options ::= */ + { 346, -3 }, /* (78) db_options ::= db_options BUFFER NK_INTEGER */ + { 346, -3 }, /* (79) db_options ::= db_options CACHEMODEL NK_STRING */ + { 346, -3 }, /* (80) db_options ::= db_options CACHESIZE NK_INTEGER */ + { 346, -3 }, /* (81) db_options ::= db_options COMP NK_INTEGER */ + { 346, -3 }, /* (82) db_options ::= db_options DURATION NK_INTEGER */ + { 346, -3 }, /* (83) db_options ::= db_options DURATION NK_VARIABLE */ + { 346, -3 }, /* (84) db_options ::= db_options MAXROWS NK_INTEGER */ + { 346, -3 }, /* (85) db_options ::= db_options MINROWS NK_INTEGER */ + { 346, -3 }, /* (86) db_options ::= db_options KEEP integer_list */ + { 346, -3 }, /* (87) db_options ::= db_options KEEP variable_list */ + { 346, -3 }, /* (88) db_options ::= db_options PAGES NK_INTEGER */ + { 346, -3 }, /* (89) db_options ::= db_options PAGESIZE NK_INTEGER */ + { 346, -3 }, /* (90) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ + { 346, -3 }, /* (91) db_options ::= db_options PRECISION NK_STRING */ + { 346, -3 }, /* (92) db_options ::= db_options REPLICA NK_INTEGER */ + { 346, -3 }, /* (93) db_options ::= db_options VGROUPS NK_INTEGER */ + { 346, -3 }, /* (94) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ + { 346, -3 }, /* (95) db_options ::= db_options RETENTIONS retention_list */ + { 346, -3 }, /* (96) db_options ::= db_options SCHEMALESS NK_INTEGER */ + { 346, -3 }, /* (97) db_options ::= db_options WAL_LEVEL NK_INTEGER */ + { 346, -3 }, /* (98) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ + { 346, -3 }, /* (99) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ + { 346, -4 }, /* (100) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + { 346, -3 }, /* (101) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ + { 346, -4 }, /* (102) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + { 346, -3 }, /* (103) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ + { 346, -3 }, /* (104) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ + { 346, -3 }, /* (105) db_options ::= db_options STT_TRIGGER NK_INTEGER */ + { 346, -3 }, /* (106) db_options ::= db_options TABLE_PREFIX NK_INTEGER */ + { 346, -3 }, /* (107) db_options ::= db_options TABLE_SUFFIX NK_INTEGER */ + { 348, -1 }, /* (108) alter_db_options ::= alter_db_option */ + { 348, -2 }, /* (109) alter_db_options ::= alter_db_options alter_db_option */ + { 355, -2 }, /* (110) alter_db_option ::= BUFFER NK_INTEGER */ + { 355, -2 }, /* (111) alter_db_option ::= CACHEMODEL NK_STRING */ + { 355, -2 }, /* (112) alter_db_option ::= CACHESIZE NK_INTEGER */ + { 355, -2 }, /* (113) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ + { 355, -2 }, /* (114) alter_db_option ::= KEEP integer_list */ + { 355, -2 }, /* (115) alter_db_option ::= KEEP variable_list */ + { 355, -2 }, /* (116) alter_db_option ::= PAGES NK_INTEGER */ + { 355, -2 }, /* (117) alter_db_option ::= REPLICA NK_INTEGER */ + { 355, -2 }, /* (118) alter_db_option ::= WAL_LEVEL NK_INTEGER */ + { 355, -2 }, /* (119) alter_db_option ::= STT_TRIGGER NK_INTEGER */ + { 355, -2 }, /* (120) alter_db_option ::= MINROWS NK_INTEGER */ + { 352, -1 }, /* (121) integer_list ::= NK_INTEGER */ + { 352, -3 }, /* (122) integer_list ::= integer_list NK_COMMA NK_INTEGER */ + { 353, -1 }, /* (123) variable_list ::= NK_VARIABLE */ + { 353, -3 }, /* (124) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + { 354, -1 }, /* (125) retention_list ::= retention */ + { 354, -3 }, /* (126) retention_list ::= retention_list NK_COMMA retention */ + { 356, -3 }, /* (127) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + { 349, 0 }, /* (128) speed_opt ::= */ + { 349, -2 }, /* (129) speed_opt ::= MAX_SPEED NK_INTEGER */ + { 350, 0 }, /* (130) start_opt ::= */ + { 350, -3 }, /* (131) start_opt ::= START WITH NK_INTEGER */ + { 350, -3 }, /* (132) start_opt ::= START WITH NK_STRING */ + { 350, -4 }, /* (133) start_opt ::= START WITH TIMESTAMP NK_STRING */ + { 351, 0 }, /* (134) end_opt ::= */ + { 351, -3 }, /* (135) end_opt ::= END WITH NK_INTEGER */ + { 351, -3 }, /* (136) end_opt ::= END WITH NK_STRING */ + { 351, -4 }, /* (137) end_opt ::= END WITH TIMESTAMP NK_STRING */ + { 330, -9 }, /* (138) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + { 330, -3 }, /* (139) cmd ::= CREATE TABLE multi_create_clause */ + { 330, -9 }, /* (140) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ + { 330, -3 }, /* (141) cmd ::= DROP TABLE multi_drop_clause */ + { 330, -4 }, /* (142) cmd ::= DROP STABLE exists_opt full_table_name */ + { 330, -3 }, /* (143) cmd ::= ALTER TABLE alter_table_clause */ + { 330, -3 }, /* (144) cmd ::= ALTER STABLE alter_table_clause */ + { 364, -2 }, /* (145) alter_table_clause ::= full_table_name alter_table_options */ + { 364, -5 }, /* (146) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + { 364, -4 }, /* (147) alter_table_clause ::= full_table_name DROP COLUMN column_name */ + { 364, -5 }, /* (148) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + { 364, -5 }, /* (149) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + { 364, -5 }, /* (150) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + { 364, -4 }, /* (151) alter_table_clause ::= full_table_name DROP TAG column_name */ + { 364, -5 }, /* (152) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + { 364, -5 }, /* (153) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + { 364, -6 }, /* (154) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + { 361, -1 }, /* (155) multi_create_clause ::= create_subtable_clause */ + { 361, -2 }, /* (156) multi_create_clause ::= multi_create_clause create_subtable_clause */ + { 369, -10 }, /* (157) 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 */ + { 363, -1 }, /* (158) multi_drop_clause ::= drop_table_clause */ + { 363, -3 }, /* (159) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ + { 372, -2 }, /* (160) drop_table_clause ::= exists_opt full_table_name */ + { 370, 0 }, /* (161) specific_cols_opt ::= */ + { 370, -3 }, /* (162) specific_cols_opt ::= NK_LP col_name_list NK_RP */ + { 357, -1 }, /* (163) full_table_name ::= table_name */ + { 357, -3 }, /* (164) full_table_name ::= db_name NK_DOT table_name */ + { 358, -1 }, /* (165) column_def_list ::= column_def */ + { 358, -3 }, /* (166) column_def_list ::= column_def_list NK_COMMA column_def */ + { 375, -2 }, /* (167) column_def ::= column_name type_name */ + { 375, -4 }, /* (168) column_def ::= column_name type_name COMMENT NK_STRING */ + { 367, -1 }, /* (169) type_name ::= BOOL */ + { 367, -1 }, /* (170) type_name ::= TINYINT */ + { 367, -1 }, /* (171) type_name ::= SMALLINT */ + { 367, -1 }, /* (172) type_name ::= INT */ + { 367, -1 }, /* (173) type_name ::= INTEGER */ + { 367, -1 }, /* (174) type_name ::= BIGINT */ + { 367, -1 }, /* (175) type_name ::= FLOAT */ + { 367, -1 }, /* (176) type_name ::= DOUBLE */ + { 367, -4 }, /* (177) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + { 367, -1 }, /* (178) type_name ::= TIMESTAMP */ + { 367, -4 }, /* (179) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + { 367, -2 }, /* (180) type_name ::= TINYINT UNSIGNED */ + { 367, -2 }, /* (181) type_name ::= SMALLINT UNSIGNED */ + { 367, -2 }, /* (182) type_name ::= INT UNSIGNED */ + { 367, -2 }, /* (183) type_name ::= BIGINT UNSIGNED */ + { 367, -1 }, /* (184) type_name ::= JSON */ + { 367, -4 }, /* (185) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + { 367, -1 }, /* (186) type_name ::= MEDIUMBLOB */ + { 367, -1 }, /* (187) type_name ::= BLOB */ + { 367, -4 }, /* (188) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + { 367, -1 }, /* (189) type_name ::= DECIMAL */ + { 367, -4 }, /* (190) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + { 367, -6 }, /* (191) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + { 359, 0 }, /* (192) tags_def_opt ::= */ + { 359, -1 }, /* (193) tags_def_opt ::= tags_def */ + { 362, -4 }, /* (194) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + { 360, 0 }, /* (195) table_options ::= */ + { 360, -3 }, /* (196) table_options ::= table_options COMMENT NK_STRING */ + { 360, -3 }, /* (197) table_options ::= table_options MAX_DELAY duration_list */ + { 360, -3 }, /* (198) table_options ::= table_options WATERMARK duration_list */ + { 360, -5 }, /* (199) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + { 360, -3 }, /* (200) table_options ::= table_options TTL NK_INTEGER */ + { 360, -5 }, /* (201) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + { 360, -3 }, /* (202) table_options ::= table_options DELETE_MARK duration_list */ + { 365, -1 }, /* (203) alter_table_options ::= alter_table_option */ + { 365, -2 }, /* (204) alter_table_options ::= alter_table_options alter_table_option */ + { 378, -2 }, /* (205) alter_table_option ::= COMMENT NK_STRING */ + { 378, -2 }, /* (206) alter_table_option ::= TTL NK_INTEGER */ + { 376, -1 }, /* (207) duration_list ::= duration_literal */ + { 376, -3 }, /* (208) duration_list ::= duration_list NK_COMMA duration_literal */ + { 377, -1 }, /* (209) rollup_func_list ::= rollup_func_name */ + { 377, -3 }, /* (210) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + { 380, -1 }, /* (211) rollup_func_name ::= function_name */ + { 380, -1 }, /* (212) rollup_func_name ::= FIRST */ + { 380, -1 }, /* (213) rollup_func_name ::= LAST */ + { 373, -1 }, /* (214) col_name_list ::= col_name */ + { 373, -3 }, /* (215) col_name_list ::= col_name_list NK_COMMA col_name */ + { 382, -1 }, /* (216) col_name ::= column_name */ + { 330, -2 }, /* (217) cmd ::= SHOW DNODES */ + { 330, -2 }, /* (218) cmd ::= SHOW USERS */ + { 330, -3 }, /* (219) cmd ::= SHOW USER PRIVILEGES */ + { 330, -2 }, /* (220) cmd ::= SHOW DATABASES */ + { 330, -4 }, /* (221) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + { 330, -4 }, /* (222) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + { 330, -3 }, /* (223) cmd ::= SHOW db_name_cond_opt VGROUPS */ + { 330, -2 }, /* (224) cmd ::= SHOW MNODES */ + { 330, -2 }, /* (225) cmd ::= SHOW QNODES */ + { 330, -2 }, /* (226) cmd ::= SHOW FUNCTIONS */ + { 330, -5 }, /* (227) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + { 330, -2 }, /* (228) cmd ::= SHOW STREAMS */ + { 330, -2 }, /* (229) cmd ::= SHOW ACCOUNTS */ + { 330, -2 }, /* (230) cmd ::= SHOW APPS */ + { 330, -2 }, /* (231) cmd ::= SHOW CONNECTIONS */ + { 330, -2 }, /* (232) cmd ::= SHOW LICENCES */ + { 330, -2 }, /* (233) cmd ::= SHOW GRANTS */ + { 330, -4 }, /* (234) cmd ::= SHOW CREATE DATABASE db_name */ + { 330, -4 }, /* (235) cmd ::= SHOW CREATE TABLE full_table_name */ + { 330, -4 }, /* (236) cmd ::= SHOW CREATE STABLE full_table_name */ + { 330, -2 }, /* (237) cmd ::= SHOW QUERIES */ + { 330, -2 }, /* (238) cmd ::= SHOW SCORES */ + { 330, -2 }, /* (239) cmd ::= SHOW TOPICS */ + { 330, -2 }, /* (240) cmd ::= SHOW VARIABLES */ + { 330, -3 }, /* (241) cmd ::= SHOW CLUSTER VARIABLES */ + { 330, -3 }, /* (242) cmd ::= SHOW LOCAL VARIABLES */ + { 330, -5 }, /* (243) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + { 330, -2 }, /* (244) cmd ::= SHOW BNODES */ + { 330, -2 }, /* (245) cmd ::= SHOW SNODES */ + { 330, -2 }, /* (246) cmd ::= SHOW CLUSTER */ + { 330, -2 }, /* (247) cmd ::= SHOW TRANSACTIONS */ + { 330, -4 }, /* (248) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + { 330, -2 }, /* (249) cmd ::= SHOW CONSUMERS */ + { 330, -2 }, /* (250) cmd ::= SHOW SUBSCRIPTIONS */ + { 330, -5 }, /* (251) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + { 330, -7 }, /* (252) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + { 330, -3 }, /* (253) cmd ::= SHOW VNODES NK_INTEGER */ + { 330, -3 }, /* (254) cmd ::= SHOW VNODES NK_STRING */ + { 330, -3 }, /* (255) cmd ::= SHOW db_name_cond_opt ALIVE */ + { 330, -3 }, /* (256) cmd ::= SHOW CLUSTER ALIVE */ + { 383, 0 }, /* (257) db_name_cond_opt ::= */ + { 383, -2 }, /* (258) db_name_cond_opt ::= db_name NK_DOT */ + { 384, 0 }, /* (259) like_pattern_opt ::= */ + { 384, -2 }, /* (260) like_pattern_opt ::= LIKE NK_STRING */ + { 385, -1 }, /* (261) table_name_cond ::= table_name */ + { 386, 0 }, /* (262) from_db_opt ::= */ + { 386, -2 }, /* (263) from_db_opt ::= FROM db_name */ + { 387, 0 }, /* (264) tag_list_opt ::= */ + { 387, -1 }, /* (265) tag_list_opt ::= tag_item */ + { 387, -3 }, /* (266) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + { 388, -1 }, /* (267) tag_item ::= TBNAME */ + { 388, -1 }, /* (268) tag_item ::= QTAGS */ + { 388, -1 }, /* (269) tag_item ::= column_name */ + { 388, -2 }, /* (270) tag_item ::= column_name column_alias */ + { 388, -3 }, /* (271) tag_item ::= column_name AS column_alias */ + { 330, -8 }, /* (272) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + { 330, -9 }, /* (273) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + { 330, -4 }, /* (274) cmd ::= DROP INDEX exists_opt full_index_name */ + { 390, -1 }, /* (275) full_index_name ::= index_name */ + { 390, -3 }, /* (276) full_index_name ::= db_name NK_DOT index_name */ + { 391, -10 }, /* (277) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + { 391, -12 }, /* (278) 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 */ + { 393, -1 }, /* (279) func_list ::= func */ + { 393, -3 }, /* (280) func_list ::= func_list NK_COMMA func */ + { 396, -4 }, /* (281) func ::= sma_func_name NK_LP expression_list NK_RP */ + { 397, -1 }, /* (282) sma_func_name ::= function_name */ + { 397, -1 }, /* (283) sma_func_name ::= COUNT */ + { 397, -1 }, /* (284) sma_func_name ::= FIRST */ + { 397, -1 }, /* (285) sma_func_name ::= LAST */ + { 397, -1 }, /* (286) sma_func_name ::= LAST_ROW */ + { 395, 0 }, /* (287) sma_stream_opt ::= */ + { 395, -3 }, /* (288) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + { 395, -3 }, /* (289) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + { 395, -3 }, /* (290) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + { 330, -6 }, /* (291) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + { 330, -7 }, /* (292) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ + { 330, -9 }, /* (293) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ + { 330, -7 }, /* (294) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ + { 330, -9 }, /* (295) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ + { 330, -4 }, /* (296) cmd ::= DROP TOPIC exists_opt topic_name */ + { 330, -7 }, /* (297) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + { 330, -2 }, /* (298) cmd ::= DESC full_table_name */ + { 330, -2 }, /* (299) cmd ::= DESCRIBE full_table_name */ + { 330, -3 }, /* (300) cmd ::= RESET QUERY CACHE */ + { 330, -4 }, /* (301) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + { 330, -4 }, /* (302) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + { 400, 0 }, /* (303) analyze_opt ::= */ + { 400, -1 }, /* (304) analyze_opt ::= ANALYZE */ + { 401, 0 }, /* (305) explain_options ::= */ + { 401, -3 }, /* (306) explain_options ::= explain_options VERBOSE NK_BOOL */ + { 401, -3 }, /* (307) explain_options ::= explain_options RATIO NK_FLOAT */ + { 330, -11 }, /* (308) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + { 330, -4 }, /* (309) cmd ::= DROP FUNCTION exists_opt function_name */ + { 403, 0 }, /* (310) agg_func_opt ::= */ + { 403, -1 }, /* (311) agg_func_opt ::= AGGREGATE */ + { 404, 0 }, /* (312) bufsize_opt ::= */ + { 404, -2 }, /* (313) bufsize_opt ::= BUFSIZE NK_INTEGER */ + { 405, 0 }, /* (314) language_opt ::= */ + { 405, -2 }, /* (315) language_opt ::= LANGUAGE NK_STRING */ + { 330, -12 }, /* (316) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + { 330, -4 }, /* (317) cmd ::= DROP STREAM exists_opt stream_name */ + { 408, 0 }, /* (318) col_list_opt ::= */ + { 408, -3 }, /* (319) col_list_opt ::= NK_LP col_name_list NK_RP */ + { 409, 0 }, /* (320) tag_def_or_ref_opt ::= */ + { 409, -1 }, /* (321) tag_def_or_ref_opt ::= tags_def */ + { 409, -4 }, /* (322) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + { 407, 0 }, /* (323) stream_options ::= */ + { 407, -3 }, /* (324) stream_options ::= stream_options TRIGGER AT_ONCE */ + { 407, -3 }, /* (325) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + { 407, -4 }, /* (326) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + { 407, -3 }, /* (327) stream_options ::= stream_options WATERMARK duration_literal */ + { 407, -4 }, /* (328) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + { 407, -3 }, /* (329) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + { 407, -3 }, /* (330) stream_options ::= stream_options DELETE_MARK duration_literal */ + { 407, -4 }, /* (331) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + { 410, 0 }, /* (332) subtable_opt ::= */ + { 410, -4 }, /* (333) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + { 330, -3 }, /* (334) cmd ::= KILL CONNECTION NK_INTEGER */ + { 330, -3 }, /* (335) cmd ::= KILL QUERY NK_STRING */ + { 330, -3 }, /* (336) cmd ::= KILL TRANSACTION NK_INTEGER */ + { 330, -2 }, /* (337) cmd ::= BALANCE VGROUP */ + { 330, -3 }, /* (338) cmd ::= BALANCE VGROUP LEADER */ + { 330, -4 }, /* (339) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + { 330, -4 }, /* (340) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + { 330, -3 }, /* (341) cmd ::= SPLIT VGROUP NK_INTEGER */ + { 412, -2 }, /* (342) dnode_list ::= DNODE NK_INTEGER */ + { 412, -3 }, /* (343) dnode_list ::= dnode_list DNODE NK_INTEGER */ + { 330, -4 }, /* (344) cmd ::= DELETE FROM full_table_name where_clause_opt */ + { 330, -1 }, /* (345) cmd ::= query_or_subquery */ + { 330, -1 }, /* (346) cmd ::= insert_query */ + { 402, -7 }, /* (347) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + { 402, -4 }, /* (348) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + { 333, -1 }, /* (349) literal ::= NK_INTEGER */ + { 333, -1 }, /* (350) literal ::= NK_FLOAT */ + { 333, -1 }, /* (351) literal ::= NK_STRING */ + { 333, -1 }, /* (352) literal ::= NK_BOOL */ + { 333, -2 }, /* (353) literal ::= TIMESTAMP NK_STRING */ + { 333, -1 }, /* (354) literal ::= duration_literal */ + { 333, -1 }, /* (355) literal ::= NULL */ + { 333, -1 }, /* (356) literal ::= NK_QUESTION */ + { 379, -1 }, /* (357) duration_literal ::= NK_VARIABLE */ + { 414, -1 }, /* (358) signed ::= NK_INTEGER */ + { 414, -2 }, /* (359) signed ::= NK_PLUS NK_INTEGER */ + { 414, -2 }, /* (360) signed ::= NK_MINUS NK_INTEGER */ + { 414, -1 }, /* (361) signed ::= NK_FLOAT */ + { 414, -2 }, /* (362) signed ::= NK_PLUS NK_FLOAT */ + { 414, -2 }, /* (363) signed ::= NK_MINUS NK_FLOAT */ + { 368, -1 }, /* (364) signed_literal ::= signed */ + { 368, -1 }, /* (365) signed_literal ::= NK_STRING */ + { 368, -1 }, /* (366) signed_literal ::= NK_BOOL */ + { 368, -2 }, /* (367) signed_literal ::= TIMESTAMP NK_STRING */ + { 368, -1 }, /* (368) signed_literal ::= duration_literal */ + { 368, -1 }, /* (369) signed_literal ::= NULL */ + { 368, -1 }, /* (370) signed_literal ::= literal_func */ + { 368, -1 }, /* (371) signed_literal ::= NK_QUESTION */ + { 416, -1 }, /* (372) literal_list ::= signed_literal */ + { 416, -3 }, /* (373) literal_list ::= literal_list NK_COMMA signed_literal */ + { 341, -1 }, /* (374) db_name ::= NK_ID */ + { 374, -1 }, /* (375) table_name ::= NK_ID */ + { 366, -1 }, /* (376) column_name ::= NK_ID */ + { 381, -1 }, /* (377) function_name ::= NK_ID */ + { 417, -1 }, /* (378) table_alias ::= NK_ID */ + { 389, -1 }, /* (379) column_alias ::= NK_ID */ + { 335, -1 }, /* (380) user_name ::= NK_ID */ + { 342, -1 }, /* (381) topic_name ::= NK_ID */ + { 406, -1 }, /* (382) stream_name ::= NK_ID */ + { 399, -1 }, /* (383) cgroup_name ::= NK_ID */ + { 392, -1 }, /* (384) index_name ::= NK_ID */ + { 418, -1 }, /* (385) expr_or_subquery ::= expression */ + { 411, -1 }, /* (386) expression ::= literal */ + { 411, -1 }, /* (387) expression ::= pseudo_column */ + { 411, -1 }, /* (388) expression ::= column_reference */ + { 411, -1 }, /* (389) expression ::= function_expression */ + { 411, -1 }, /* (390) expression ::= case_when_expression */ + { 411, -3 }, /* (391) expression ::= NK_LP expression NK_RP */ + { 411, -2 }, /* (392) expression ::= NK_PLUS expr_or_subquery */ + { 411, -2 }, /* (393) expression ::= NK_MINUS expr_or_subquery */ + { 411, -3 }, /* (394) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + { 411, -3 }, /* (395) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + { 411, -3 }, /* (396) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + { 411, -3 }, /* (397) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + { 411, -3 }, /* (398) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + { 411, -3 }, /* (399) expression ::= column_reference NK_ARROW NK_STRING */ + { 411, -3 }, /* (400) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + { 411, -3 }, /* (401) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + { 371, -1 }, /* (402) expression_list ::= expr_or_subquery */ + { 371, -3 }, /* (403) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + { 420, -1 }, /* (404) column_reference ::= column_name */ + { 420, -3 }, /* (405) column_reference ::= table_name NK_DOT column_name */ + { 419, -1 }, /* (406) pseudo_column ::= ROWTS */ + { 419, -1 }, /* (407) pseudo_column ::= TBNAME */ + { 419, -3 }, /* (408) pseudo_column ::= table_name NK_DOT TBNAME */ + { 419, -1 }, /* (409) pseudo_column ::= QSTART */ + { 419, -1 }, /* (410) pseudo_column ::= QEND */ + { 419, -1 }, /* (411) pseudo_column ::= QDURATION */ + { 419, -1 }, /* (412) pseudo_column ::= WSTART */ + { 419, -1 }, /* (413) pseudo_column ::= WEND */ + { 419, -1 }, /* (414) pseudo_column ::= WDURATION */ + { 419, -1 }, /* (415) pseudo_column ::= IROWTS */ + { 419, -1 }, /* (416) pseudo_column ::= ISFILLED */ + { 419, -1 }, /* (417) pseudo_column ::= QTAGS */ + { 421, -4 }, /* (418) function_expression ::= function_name NK_LP expression_list NK_RP */ + { 421, -4 }, /* (419) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + { 421, -6 }, /* (420) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + { 421, -1 }, /* (421) function_expression ::= literal_func */ + { 415, -3 }, /* (422) literal_func ::= noarg_func NK_LP NK_RP */ + { 415, -1 }, /* (423) literal_func ::= NOW */ + { 425, -1 }, /* (424) noarg_func ::= NOW */ + { 425, -1 }, /* (425) noarg_func ::= TODAY */ + { 425, -1 }, /* (426) noarg_func ::= TIMEZONE */ + { 425, -1 }, /* (427) noarg_func ::= DATABASE */ + { 425, -1 }, /* (428) noarg_func ::= CLIENT_VERSION */ + { 425, -1 }, /* (429) noarg_func ::= SERVER_VERSION */ + { 425, -1 }, /* (430) noarg_func ::= SERVER_STATUS */ + { 425, -1 }, /* (431) noarg_func ::= CURRENT_USER */ + { 425, -1 }, /* (432) noarg_func ::= USER */ + { 423, -1 }, /* (433) star_func ::= COUNT */ + { 423, -1 }, /* (434) star_func ::= FIRST */ + { 423, -1 }, /* (435) star_func ::= LAST */ + { 423, -1 }, /* (436) star_func ::= LAST_ROW */ + { 424, -1 }, /* (437) star_func_para_list ::= NK_STAR */ + { 424, -1 }, /* (438) star_func_para_list ::= other_para_list */ + { 426, -1 }, /* (439) other_para_list ::= star_func_para */ + { 426, -3 }, /* (440) other_para_list ::= other_para_list NK_COMMA star_func_para */ + { 427, -1 }, /* (441) star_func_para ::= expr_or_subquery */ + { 427, -3 }, /* (442) star_func_para ::= table_name NK_DOT NK_STAR */ + { 422, -4 }, /* (443) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + { 422, -5 }, /* (444) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + { 428, -1 }, /* (445) when_then_list ::= when_then_expr */ + { 428, -2 }, /* (446) when_then_list ::= when_then_list when_then_expr */ + { 431, -4 }, /* (447) when_then_expr ::= WHEN common_expression THEN common_expression */ + { 429, 0 }, /* (448) case_when_else_opt ::= */ + { 429, -2 }, /* (449) case_when_else_opt ::= ELSE common_expression */ + { 432, -3 }, /* (450) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + { 432, -5 }, /* (451) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + { 432, -6 }, /* (452) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + { 432, -3 }, /* (453) predicate ::= expr_or_subquery IS NULL */ + { 432, -4 }, /* (454) predicate ::= expr_or_subquery IS NOT NULL */ + { 432, -3 }, /* (455) predicate ::= expr_or_subquery in_op in_predicate_value */ + { 433, -1 }, /* (456) compare_op ::= NK_LT */ + { 433, -1 }, /* (457) compare_op ::= NK_GT */ + { 433, -1 }, /* (458) compare_op ::= NK_LE */ + { 433, -1 }, /* (459) compare_op ::= NK_GE */ + { 433, -1 }, /* (460) compare_op ::= NK_NE */ + { 433, -1 }, /* (461) compare_op ::= NK_EQ */ + { 433, -1 }, /* (462) compare_op ::= LIKE */ + { 433, -2 }, /* (463) compare_op ::= NOT LIKE */ + { 433, -1 }, /* (464) compare_op ::= MATCH */ + { 433, -1 }, /* (465) compare_op ::= NMATCH */ + { 433, -1 }, /* (466) compare_op ::= CONTAINS */ + { 434, -1 }, /* (467) in_op ::= IN */ + { 434, -2 }, /* (468) in_op ::= NOT IN */ + { 435, -3 }, /* (469) in_predicate_value ::= NK_LP literal_list NK_RP */ + { 436, -1 }, /* (470) boolean_value_expression ::= boolean_primary */ + { 436, -2 }, /* (471) boolean_value_expression ::= NOT boolean_primary */ + { 436, -3 }, /* (472) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + { 436, -3 }, /* (473) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + { 437, -1 }, /* (474) boolean_primary ::= predicate */ + { 437, -3 }, /* (475) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + { 430, -1 }, /* (476) common_expression ::= expr_or_subquery */ + { 430, -1 }, /* (477) common_expression ::= boolean_value_expression */ + { 438, 0 }, /* (478) from_clause_opt ::= */ + { 438, -2 }, /* (479) from_clause_opt ::= FROM table_reference_list */ + { 439, -1 }, /* (480) table_reference_list ::= table_reference */ + { 439, -3 }, /* (481) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + { 440, -1 }, /* (482) table_reference ::= table_primary */ + { 440, -1 }, /* (483) table_reference ::= joined_table */ + { 441, -2 }, /* (484) table_primary ::= table_name alias_opt */ + { 441, -4 }, /* (485) table_primary ::= db_name NK_DOT table_name alias_opt */ + { 441, -2 }, /* (486) table_primary ::= subquery alias_opt */ + { 441, -1 }, /* (487) table_primary ::= parenthesized_joined_table */ + { 443, 0 }, /* (488) alias_opt ::= */ + { 443, -1 }, /* (489) alias_opt ::= table_alias */ + { 443, -2 }, /* (490) alias_opt ::= AS table_alias */ + { 445, -3 }, /* (491) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + { 445, -3 }, /* (492) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + { 442, -6 }, /* (493) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + { 446, 0 }, /* (494) join_type ::= */ + { 446, -1 }, /* (495) join_type ::= INNER */ + { 448, -12 }, /* (496) 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 */ + { 449, 0 }, /* (497) set_quantifier_opt ::= */ + { 449, -1 }, /* (498) set_quantifier_opt ::= DISTINCT */ + { 449, -1 }, /* (499) set_quantifier_opt ::= ALL */ + { 450, -1 }, /* (500) select_list ::= select_item */ + { 450, -3 }, /* (501) select_list ::= select_list NK_COMMA select_item */ + { 458, -1 }, /* (502) select_item ::= NK_STAR */ + { 458, -1 }, /* (503) select_item ::= common_expression */ + { 458, -2 }, /* (504) select_item ::= common_expression column_alias */ + { 458, -3 }, /* (505) select_item ::= common_expression AS column_alias */ + { 458, -3 }, /* (506) select_item ::= table_name NK_DOT NK_STAR */ + { 413, 0 }, /* (507) where_clause_opt ::= */ + { 413, -2 }, /* (508) where_clause_opt ::= WHERE search_condition */ + { 451, 0 }, /* (509) partition_by_clause_opt ::= */ + { 451, -3 }, /* (510) partition_by_clause_opt ::= PARTITION BY partition_list */ + { 459, -1 }, /* (511) partition_list ::= partition_item */ + { 459, -3 }, /* (512) partition_list ::= partition_list NK_COMMA partition_item */ + { 460, -1 }, /* (513) partition_item ::= expr_or_subquery */ + { 460, -2 }, /* (514) partition_item ::= expr_or_subquery column_alias */ + { 460, -3 }, /* (515) partition_item ::= expr_or_subquery AS column_alias */ + { 455, 0 }, /* (516) twindow_clause_opt ::= */ + { 455, -6 }, /* (517) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + { 455, -4 }, /* (518) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + { 455, -6 }, /* (519) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + { 455, -8 }, /* (520) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + { 455, -7 }, /* (521) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + { 394, 0 }, /* (522) sliding_opt ::= */ + { 394, -4 }, /* (523) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + { 454, 0 }, /* (524) fill_opt ::= */ + { 454, -4 }, /* (525) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + { 454, -6 }, /* (526) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + { 454, -6 }, /* (527) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ + { 461, -1 }, /* (528) fill_mode ::= NONE */ + { 461, -1 }, /* (529) fill_mode ::= PREV */ + { 461, -1 }, /* (530) fill_mode ::= NULL */ + { 461, -1 }, /* (531) fill_mode ::= NULL_F */ + { 461, -1 }, /* (532) fill_mode ::= LINEAR */ + { 461, -1 }, /* (533) fill_mode ::= NEXT */ + { 456, 0 }, /* (534) group_by_clause_opt ::= */ + { 456, -3 }, /* (535) group_by_clause_opt ::= GROUP BY group_by_list */ + { 462, -1 }, /* (536) group_by_list ::= expr_or_subquery */ + { 462, -3 }, /* (537) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + { 457, 0 }, /* (538) having_clause_opt ::= */ + { 457, -2 }, /* (539) having_clause_opt ::= HAVING search_condition */ + { 452, 0 }, /* (540) range_opt ::= */ + { 452, -6 }, /* (541) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + { 453, 0 }, /* (542) every_opt ::= */ + { 453, -4 }, /* (543) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + { 463, -4 }, /* (544) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + { 464, -1 }, /* (545) query_simple ::= query_specification */ + { 464, -1 }, /* (546) query_simple ::= union_query_expression */ + { 468, -4 }, /* (547) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + { 468, -3 }, /* (548) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + { 469, -1 }, /* (549) query_simple_or_subquery ::= query_simple */ + { 469, -1 }, /* (550) query_simple_or_subquery ::= subquery */ + { 398, -1 }, /* (551) query_or_subquery ::= query_expression */ + { 398, -1 }, /* (552) query_or_subquery ::= subquery */ + { 465, 0 }, /* (553) order_by_clause_opt ::= */ + { 465, -3 }, /* (554) order_by_clause_opt ::= ORDER BY sort_specification_list */ + { 466, 0 }, /* (555) slimit_clause_opt ::= */ + { 466, -2 }, /* (556) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + { 466, -4 }, /* (557) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + { 466, -4 }, /* (558) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 467, 0 }, /* (559) limit_clause_opt ::= */ + { 467, -2 }, /* (560) limit_clause_opt ::= LIMIT NK_INTEGER */ + { 467, -4 }, /* (561) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + { 467, -4 }, /* (562) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 444, -3 }, /* (563) subquery ::= NK_LP query_expression NK_RP */ + { 444, -3 }, /* (564) subquery ::= NK_LP subquery NK_RP */ + { 447, -1 }, /* (565) search_condition ::= common_expression */ + { 470, -1 }, /* (566) sort_specification_list ::= sort_specification */ + { 470, -3 }, /* (567) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + { 471, -3 }, /* (568) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + { 472, 0 }, /* (569) ordering_specification_opt ::= */ + { 472, -1 }, /* (570) ordering_specification_opt ::= ASC */ + { 472, -1 }, /* (571) ordering_specification_opt ::= DESC */ + { 473, 0 }, /* (572) null_ordering_opt ::= */ + { 473, -2 }, /* (573) null_ordering_opt ::= NULLS FIRST */ + { 473, -2 }, /* (574) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -3758,11 +3760,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,330,&yymsp[0].minor); + yy_destructor(yypParser,331,&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,331,&yymsp[0].minor); + yy_destructor(yypParser,332,&yymsp[0].minor); break; case 2: /* account_options ::= */ { } @@ -3776,20 +3778,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,330,&yymsp[-2].minor); +{ yy_destructor(yypParser,331,&yymsp[-2].minor); { } - yy_destructor(yypParser,332,&yymsp[0].minor); + yy_destructor(yypParser,333,&yymsp[0].minor); } break; case 12: /* alter_account_options ::= alter_account_option */ -{ yy_destructor(yypParser,333,&yymsp[0].minor); +{ yy_destructor(yypParser,334,&yymsp[0].minor); { } } break; case 13: /* alter_account_options ::= alter_account_options alter_account_option */ -{ yy_destructor(yypParser,331,&yymsp[-1].minor); +{ yy_destructor(yypParser,332,&yymsp[-1].minor); { } - yy_destructor(yypParser,333,&yymsp[0].minor); + yy_destructor(yypParser,334,&yymsp[0].minor); } break; case 14: /* alter_account_option ::= PASS literal */ @@ -3803,81 +3805,81 @@ 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,332,&yymsp[0].minor); + yy_destructor(yypParser,333,&yymsp[0].minor); break; case 24: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ -{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy63, &yymsp[-1].minor.yy0, yymsp[0].minor.yy707); } +{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy725, &yymsp[-1].minor.yy0, yymsp[0].minor.yy371); } break; case 25: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy63, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy725, 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.yy63, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy725, 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.yy63, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy725, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } break; case 28: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy725); } break; case 29: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy707 = 1; } +{ yymsp[1].minor.yy371 = 1; } break; case 30: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy707 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy371 = 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.yy393, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy189, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } break; case 32: /* cmd ::= REVOKE privileges ON priv_level FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy393, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy189, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } break; case 33: /* privileges ::= ALL */ -{ yymsp[0].minor.yy393 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy189 = PRIVILEGE_TYPE_ALL; } break; case 34: /* privileges ::= priv_type_list */ case 36: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==36); -{ yylhsminor.yy393 = yymsp[0].minor.yy393; } - yymsp[0].minor.yy393 = yylhsminor.yy393; +{ yylhsminor.yy189 = yymsp[0].minor.yy189; } + yymsp[0].minor.yy189 = yylhsminor.yy189; break; case 35: /* privileges ::= SUBSCRIBE */ -{ yymsp[0].minor.yy393 = PRIVILEGE_TYPE_SUBSCRIBE; } +{ yymsp[0].minor.yy189 = PRIVILEGE_TYPE_SUBSCRIBE; } break; case 37: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy393 = yymsp[-2].minor.yy393 | yymsp[0].minor.yy393; } - yymsp[-2].minor.yy393 = yylhsminor.yy393; +{ yylhsminor.yy189 = yymsp[-2].minor.yy189 | yymsp[0].minor.yy189; } + yymsp[-2].minor.yy189 = yylhsminor.yy189; break; case 38: /* priv_type ::= READ */ -{ yymsp[0].minor.yy393 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy189 = PRIVILEGE_TYPE_READ; } break; case 39: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy393 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy189 = PRIVILEGE_TYPE_WRITE; } break; case 40: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy63 = yymsp[-2].minor.yy0; } - yymsp[-2].minor.yy63 = yylhsminor.yy63; +{ yylhsminor.yy725 = yymsp[-2].minor.yy0; } + yymsp[-2].minor.yy725 = yylhsminor.yy725; break; case 41: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy63 = yymsp[-2].minor.yy63; } - yymsp[-2].minor.yy63 = yylhsminor.yy63; +{ yylhsminor.yy725 = yymsp[-2].minor.yy725; } + yymsp[-2].minor.yy725 = yylhsminor.yy725; break; case 42: /* priv_level ::= topic_name */ case 282: /* sma_func_name ::= function_name */ yytestcase(yyruleno==282); - case 488: /* alias_opt ::= table_alias */ yytestcase(yyruleno==488); -{ yylhsminor.yy63 = yymsp[0].minor.yy63; } - yymsp[0].minor.yy63 = yylhsminor.yy63; + case 489: /* alias_opt ::= table_alias */ yytestcase(yyruleno==489); +{ yylhsminor.yy725 = yymsp[0].minor.yy725; } + yymsp[0].minor.yy725 = yylhsminor.yy725; break; case 43: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy63, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy725, NULL); } break; case 44: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0); } break; case 45: /* cmd ::= DROP DNODE NK_INTEGER force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy669); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy437); } break; case 46: /* cmd ::= DROP DNODE dnode_endpoint force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy63, yymsp[0].minor.yy669); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy725, yymsp[0].minor.yy437); } break; case 47: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -3898,46 +3900,46 @@ static YYACTIONTYPE yy_reduce( case 284: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==284); case 285: /* sma_func_name ::= LAST */ yytestcase(yyruleno==285); case 286: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==286); - case 373: /* db_name ::= NK_ID */ yytestcase(yyruleno==373); - case 374: /* table_name ::= NK_ID */ yytestcase(yyruleno==374); - case 375: /* column_name ::= NK_ID */ yytestcase(yyruleno==375); - case 376: /* function_name ::= NK_ID */ yytestcase(yyruleno==376); - case 377: /* table_alias ::= NK_ID */ yytestcase(yyruleno==377); - case 378: /* column_alias ::= NK_ID */ yytestcase(yyruleno==378); - case 379: /* user_name ::= NK_ID */ yytestcase(yyruleno==379); - case 380: /* topic_name ::= NK_ID */ yytestcase(yyruleno==380); - case 381: /* stream_name ::= NK_ID */ yytestcase(yyruleno==381); - case 382: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==382); - case 383: /* index_name ::= NK_ID */ yytestcase(yyruleno==383); - case 423: /* noarg_func ::= NOW */ yytestcase(yyruleno==423); - case 424: /* noarg_func ::= TODAY */ yytestcase(yyruleno==424); - case 425: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==425); - case 426: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==426); - case 427: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==427); - case 428: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==428); - case 429: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==429); - case 430: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==430); - case 431: /* noarg_func ::= USER */ yytestcase(yyruleno==431); - case 432: /* star_func ::= COUNT */ yytestcase(yyruleno==432); - case 433: /* star_func ::= FIRST */ yytestcase(yyruleno==433); - case 434: /* star_func ::= LAST */ yytestcase(yyruleno==434); - case 435: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==435); -{ yylhsminor.yy63 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy63 = yylhsminor.yy63; + case 374: /* db_name ::= NK_ID */ yytestcase(yyruleno==374); + case 375: /* table_name ::= NK_ID */ yytestcase(yyruleno==375); + case 376: /* column_name ::= NK_ID */ yytestcase(yyruleno==376); + case 377: /* function_name ::= NK_ID */ yytestcase(yyruleno==377); + case 378: /* table_alias ::= NK_ID */ yytestcase(yyruleno==378); + case 379: /* column_alias ::= NK_ID */ yytestcase(yyruleno==379); + case 380: /* user_name ::= NK_ID */ yytestcase(yyruleno==380); + case 381: /* topic_name ::= NK_ID */ yytestcase(yyruleno==381); + case 382: /* stream_name ::= NK_ID */ yytestcase(yyruleno==382); + case 383: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==383); + case 384: /* index_name ::= NK_ID */ yytestcase(yyruleno==384); + case 424: /* noarg_func ::= NOW */ yytestcase(yyruleno==424); + case 425: /* noarg_func ::= TODAY */ yytestcase(yyruleno==425); + case 426: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==426); + case 427: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==427); + case 428: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==428); + case 429: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==429); + case 430: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==430); + case 431: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==431); + case 432: /* noarg_func ::= USER */ yytestcase(yyruleno==432); + case 433: /* star_func ::= COUNT */ yytestcase(yyruleno==433); + case 434: /* star_func ::= FIRST */ yytestcase(yyruleno==434); + case 435: /* star_func ::= LAST */ yytestcase(yyruleno==435); + case 436: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==436); +{ yylhsminor.yy725 = yymsp[0].minor.yy0; } + yymsp[0].minor.yy725 = yylhsminor.yy725; break; case 54: /* force_opt ::= */ case 74: /* not_exists_opt ::= */ yytestcase(yyruleno==74); case 76: /* exists_opt ::= */ yytestcase(yyruleno==76); case 303: /* analyze_opt ::= */ yytestcase(yyruleno==303); case 310: /* agg_func_opt ::= */ yytestcase(yyruleno==310); - case 496: /* set_quantifier_opt ::= */ yytestcase(yyruleno==496); -{ yymsp[1].minor.yy669 = false; } + case 497: /* set_quantifier_opt ::= */ yytestcase(yyruleno==497); +{ yymsp[1].minor.yy437 = false; } break; case 55: /* force_opt ::= FORCE */ case 304: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==304); case 311: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==311); - case 497: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==497); -{ yymsp[0].minor.yy669 = true; } + case 498: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==498); +{ yymsp[0].minor.yy437 = true; } break; case 56: /* cmd ::= ALTER LOCAL NK_STRING */ { pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -3970,212 +3972,212 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createDropComponentNodeStmt(pCxt, QUERY_NODE_DROP_MNODE_STMT, &yymsp[0].minor.yy0); } break; case 66: /* cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ -{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy669, &yymsp[-1].minor.yy63, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy437, &yymsp[-1].minor.yy725, yymsp[0].minor.yy188); } break; case 67: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; case 68: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy725); } break; case 69: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy63, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy725, yymsp[0].minor.yy188); } break; case 70: /* cmd ::= FLUSH DATABASE db_name */ -{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy725); } break; case 71: /* cmd ::= TRIM DATABASE db_name speed_opt */ -{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy63, yymsp[0].minor.yy332); } +{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy725, yymsp[0].minor.yy136); } break; case 72: /* cmd ::= COMPACT DATABASE db_name start_opt end_opt */ -{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy63, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy725, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; case 73: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy669 = true; } +{ yymsp[-2].minor.yy437 = true; } break; case 75: /* exists_opt ::= IF EXISTS */ -{ yymsp[-1].minor.yy669 = true; } +{ yymsp[-1].minor.yy437 = true; } break; case 77: /* db_options ::= */ -{ yymsp[1].minor.yy828 = createDefaultDatabaseOptions(pCxt); } +{ yymsp[1].minor.yy188 = createDefaultDatabaseOptions(pCxt); } break; case 78: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 79: /* db_options ::= db_options CACHEMODEL NK_STRING */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 80: /* db_options ::= db_options CACHESIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 81: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 82: /* db_options ::= db_options DURATION NK_INTEGER */ case 83: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==83); -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 84: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 85: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 86: /* db_options ::= db_options KEEP integer_list */ case 87: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==87); -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_KEEP, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_KEEP, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 88: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 89: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 90: /* db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 91: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 92: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 93: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 94: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 95: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_RETENTIONS, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_RETENTIONS, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 96: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 97: /* db_options ::= db_options WAL_LEVEL NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 98: /* db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 99: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 100: /* db_options ::= db_options WAL_RETENTION_PERIOD 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.yy828 = setDatabaseOption(pCxt, yymsp[-3].minor.yy828, DB_OPTION_WAL_RETENTION_PERIOD, &t); + yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-3].minor.yy188, DB_OPTION_WAL_RETENTION_PERIOD, &t); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 101: /* db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 102: /* db_options ::= db_options WAL_RETENTION_SIZE 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.yy828 = setDatabaseOption(pCxt, yymsp[-3].minor.yy828, DB_OPTION_WAL_RETENTION_SIZE, &t); + yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-3].minor.yy188, DB_OPTION_WAL_RETENTION_SIZE, &t); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 103: /* db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 104: /* db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 105: /* db_options ::= db_options STT_TRIGGER NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 106: /* db_options ::= db_options TABLE_PREFIX NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_TABLE_PREFIX, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_TABLE_PREFIX, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 107: /* db_options ::= db_options TABLE_SUFFIX NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_TABLE_SUFFIX, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_TABLE_SUFFIX, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 108: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy828 = createAlterDatabaseOptions(pCxt); yylhsminor.yy828 = setAlterDatabaseOption(pCxt, yylhsminor.yy828, &yymsp[0].minor.yy233); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterDatabaseOptions(pCxt); yylhsminor.yy188 = setAlterDatabaseOption(pCxt, yylhsminor.yy188, &yymsp[0].minor.yy653); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 109: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy828 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy828, &yymsp[0].minor.yy233); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy188, &yymsp[0].minor.yy653); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 110: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 111: /* alter_db_option ::= CACHEMODEL NK_STRING */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 112: /* alter_db_option ::= CACHESIZE NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 113: /* alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 114: /* alter_db_option ::= KEEP integer_list */ case 115: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==115); -{ yymsp[-1].minor.yy233.type = DB_OPTION_KEEP; yymsp[-1].minor.yy233.pList = yymsp[0].minor.yy222; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_KEEP; yymsp[-1].minor.yy653.pList = yymsp[0].minor.yy172; } break; case 116: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_PAGES; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_PAGES; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 117: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 118: /* alter_db_option ::= WAL_LEVEL NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_WAL; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_WAL; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 119: /* alter_db_option ::= STT_TRIGGER NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 120: /* alter_db_option ::= MINROWS NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 121: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy222 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy222 = yylhsminor.yy222; +{ yylhsminor.yy172 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 122: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 342: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==342); -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; + case 343: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==343); +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; case 123: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy222 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy222 = yylhsminor.yy222; +{ yylhsminor.yy172 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 124: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; case 125: /* retention_list ::= retention */ case 155: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==155); @@ -4185,14 +4187,14 @@ static YYACTIONTYPE yy_reduce( case 214: /* col_name_list ::= col_name */ yytestcase(yyruleno==214); case 265: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==265); case 279: /* func_list ::= func */ yytestcase(yyruleno==279); - case 371: /* literal_list ::= signed_literal */ yytestcase(yyruleno==371); - case 438: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==438); - case 444: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==444); - case 499: /* select_list ::= select_item */ yytestcase(yyruleno==499); - case 510: /* partition_list ::= partition_item */ yytestcase(yyruleno==510); - case 565: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==565); -{ yylhsminor.yy222 = createNodeList(pCxt, yymsp[0].minor.yy828); } - yymsp[0].minor.yy222 = yylhsminor.yy222; + case 372: /* literal_list ::= signed_literal */ yytestcase(yyruleno==372); + case 439: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==439); + case 445: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==445); + case 500: /* select_list ::= select_item */ yytestcase(yyruleno==500); + case 511: /* partition_list ::= partition_item */ yytestcase(yyruleno==511); + case 566: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==566); +{ yylhsminor.yy172 = createNodeList(pCxt, yymsp[0].minor.yy188); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 126: /* retention_list ::= retention_list NK_COMMA retention */ case 159: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==159); @@ -4201,305 +4203,305 @@ static YYACTIONTYPE yy_reduce( case 215: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==215); case 266: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==266); case 280: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==280); - case 372: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==372); - case 439: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==439); - case 500: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==500); - case 511: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==511); - case 566: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==566); -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, yymsp[0].minor.yy828); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; + case 373: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==373); + case 440: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==440); + case 501: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==501); + case 512: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==512); + case 567: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==567); +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, yymsp[0].minor.yy188); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; case 127: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ -{ yylhsminor.yy828 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 128: /* speed_opt ::= */ case 312: /* bufsize_opt ::= */ yytestcase(yyruleno==312); -{ yymsp[1].minor.yy332 = 0; } +{ yymsp[1].minor.yy136 = 0; } break; case 129: /* speed_opt ::= MAX_SPEED NK_INTEGER */ case 313: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==313); -{ yymsp[-1].minor.yy332 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy136 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 130: /* start_opt ::= */ case 134: /* end_opt ::= */ yytestcase(yyruleno==134); case 259: /* like_pattern_opt ::= */ yytestcase(yyruleno==259); case 332: /* subtable_opt ::= */ yytestcase(yyruleno==332); - case 447: /* case_when_else_opt ::= */ yytestcase(yyruleno==447); - case 477: /* from_clause_opt ::= */ yytestcase(yyruleno==477); - case 506: /* where_clause_opt ::= */ yytestcase(yyruleno==506); - case 515: /* twindow_clause_opt ::= */ yytestcase(yyruleno==515); - case 521: /* sliding_opt ::= */ yytestcase(yyruleno==521); - case 523: /* fill_opt ::= */ yytestcase(yyruleno==523); - case 537: /* having_clause_opt ::= */ yytestcase(yyruleno==537); - case 539: /* range_opt ::= */ yytestcase(yyruleno==539); - case 541: /* every_opt ::= */ yytestcase(yyruleno==541); - case 554: /* slimit_clause_opt ::= */ yytestcase(yyruleno==554); - case 558: /* limit_clause_opt ::= */ yytestcase(yyruleno==558); -{ yymsp[1].minor.yy828 = NULL; } + case 448: /* case_when_else_opt ::= */ yytestcase(yyruleno==448); + case 478: /* from_clause_opt ::= */ yytestcase(yyruleno==478); + case 507: /* where_clause_opt ::= */ yytestcase(yyruleno==507); + case 516: /* twindow_clause_opt ::= */ yytestcase(yyruleno==516); + case 522: /* sliding_opt ::= */ yytestcase(yyruleno==522); + case 524: /* fill_opt ::= */ yytestcase(yyruleno==524); + case 538: /* having_clause_opt ::= */ yytestcase(yyruleno==538); + case 540: /* range_opt ::= */ yytestcase(yyruleno==540); + case 542: /* every_opt ::= */ yytestcase(yyruleno==542); + case 555: /* slimit_clause_opt ::= */ yytestcase(yyruleno==555); + case 559: /* limit_clause_opt ::= */ yytestcase(yyruleno==559); +{ yymsp[1].minor.yy188 = NULL; } break; case 131: /* start_opt ::= START WITH NK_INTEGER */ case 135: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==135); -{ yymsp[-2].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } break; case 132: /* start_opt ::= START WITH NK_STRING */ case 136: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==136); -{ yymsp[-2].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 133: /* start_opt ::= START WITH TIMESTAMP NK_STRING */ case 137: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==137); -{ yymsp[-3].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-3].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 138: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ case 140: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==140); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy669, yymsp[-5].minor.yy828, yymsp[-3].minor.yy222, yymsp[-1].minor.yy222, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy437, yymsp[-5].minor.yy188, yymsp[-3].minor.yy172, yymsp[-1].minor.yy172, yymsp[0].minor.yy188); } break; case 139: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy222); } +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy172); } break; case 141: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy222); } +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy172); } break; case 142: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy669, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy188); } break; case 143: /* cmd ::= ALTER TABLE alter_table_clause */ - case 344: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==344); - case 345: /* cmd ::= insert_query */ yytestcase(yyruleno==345); -{ pCxt->pRootNode = yymsp[0].minor.yy828; } + case 345: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==345); + case 346: /* cmd ::= insert_query */ yytestcase(yyruleno==346); +{ pCxt->pRootNode = yymsp[0].minor.yy188; } break; case 144: /* cmd ::= ALTER STABLE alter_table_clause */ -{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy828); } +{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy188); } break; case 145: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy828 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 146: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 147: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy828 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy828, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy63); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy188, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy725); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 148: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 149: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy828 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 150: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 151: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy828 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy828, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy63); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy188, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy725); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 152: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 153: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy828 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 154: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy828 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy828, &yymsp[-2].minor.yy63, yymsp[0].minor.yy828); } - yymsp[-5].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy188, &yymsp[-2].minor.yy725, yymsp[0].minor.yy188); } + yymsp[-5].minor.yy188 = yylhsminor.yy188; break; case 156: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 445: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==445); -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-1].minor.yy222, yymsp[0].minor.yy828); } - yymsp[-1].minor.yy222 = yylhsminor.yy222; + case 446: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==446); +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-1].minor.yy172, yymsp[0].minor.yy188); } + yymsp[-1].minor.yy172 = yylhsminor.yy172; break; case 157: /* 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.yy828 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy669, yymsp[-8].minor.yy828, yymsp[-6].minor.yy828, yymsp[-5].minor.yy222, yymsp[-2].minor.yy222, yymsp[0].minor.yy828); } - yymsp[-9].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy437, yymsp[-8].minor.yy188, yymsp[-6].minor.yy188, yymsp[-5].minor.yy172, yymsp[-2].minor.yy172, yymsp[0].minor.yy188); } + yymsp[-9].minor.yy188 = yylhsminor.yy188; break; case 160: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy828 = createDropTableClause(pCxt, yymsp[-1].minor.yy669, yymsp[0].minor.yy828); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createDropTableClause(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy188); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 161: /* specific_cols_opt ::= */ case 192: /* tags_def_opt ::= */ yytestcase(yyruleno==192); case 264: /* tag_list_opt ::= */ yytestcase(yyruleno==264); case 318: /* col_list_opt ::= */ yytestcase(yyruleno==318); case 320: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==320); - case 508: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==508); - case 533: /* group_by_clause_opt ::= */ yytestcase(yyruleno==533); - case 552: /* order_by_clause_opt ::= */ yytestcase(yyruleno==552); -{ yymsp[1].minor.yy222 = NULL; } + case 509: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==509); + case 534: /* group_by_clause_opt ::= */ yytestcase(yyruleno==534); + case 553: /* order_by_clause_opt ::= */ yytestcase(yyruleno==553); +{ yymsp[1].minor.yy172 = NULL; } break; case 162: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ case 319: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==319); -{ yymsp[-2].minor.yy222 = yymsp[-1].minor.yy222; } +{ yymsp[-2].minor.yy172 = yymsp[-1].minor.yy172; } break; case 163: /* full_table_name ::= table_name */ -{ yylhsminor.yy828 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy63, NULL); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy725, NULL); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 164: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy828 = createRealTableNode(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63, NULL); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createRealTableNode(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725, NULL); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 167: /* column_def ::= column_name type_name */ -{ yylhsminor.yy828 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686, NULL); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160, NULL); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 168: /* column_def ::= column_name type_name COMMENT NK_STRING */ -{ yylhsminor.yy828 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy63, yymsp[-2].minor.yy686, &yymsp[0].minor.yy0); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy725, yymsp[-2].minor.yy160, &yymsp[0].minor.yy0); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 169: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_BOOL); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_BOOL); } break; case 170: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_TINYINT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; case 171: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_SMALLINT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; case 172: /* type_name ::= INT */ case 173: /* type_name ::= INTEGER */ yytestcase(yyruleno==173); -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_INT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_INT); } break; case 174: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_BIGINT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; case 175: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_FLOAT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; case 176: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_DOUBLE); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; case 177: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; case 178: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; case 179: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; case 180: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_UTINYINT); } +{ yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; case 181: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_USMALLINT); } +{ yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; case 182: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_UINT); } +{ yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_UINT); } break; case 183: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_UBIGINT); } +{ yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; case 184: /* type_name ::= JSON */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_JSON); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_JSON); } break; case 185: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; case 186: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; case 187: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_BLOB); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_BLOB); } break; case 188: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; case 189: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 190: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-3].minor.yy160 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 191: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy686 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-5].minor.yy160 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 193: /* tags_def_opt ::= tags_def */ case 321: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==321); - case 437: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==437); -{ yylhsminor.yy222 = yymsp[0].minor.yy222; } - yymsp[0].minor.yy222 = yylhsminor.yy222; + case 438: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==438); +{ yylhsminor.yy172 = yymsp[0].minor.yy172; } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 194: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ case 322: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==322); -{ yymsp[-3].minor.yy222 = yymsp[-1].minor.yy222; } +{ yymsp[-3].minor.yy172 = yymsp[-1].minor.yy172; } break; case 195: /* table_options ::= */ -{ yymsp[1].minor.yy828 = createDefaultTableOptions(pCxt); } +{ yymsp[1].minor.yy188 = createDefaultTableOptions(pCxt); } break; case 196: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 197: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 198: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 199: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-4].minor.yy828, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy222); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-4].minor.yy188, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy172); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 200: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 201: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-4].minor.yy828, TABLE_OPTION_SMA, yymsp[-1].minor.yy222); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-4].minor.yy188, TABLE_OPTION_SMA, yymsp[-1].minor.yy172); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 202: /* table_options ::= table_options DELETE_MARK duration_list */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 203: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy828 = createAlterTableOptions(pCxt); yylhsminor.yy828 = setTableOption(pCxt, yylhsminor.yy828, yymsp[0].minor.yy233.type, &yymsp[0].minor.yy233.val); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableOptions(pCxt); yylhsminor.yy188 = setTableOption(pCxt, yylhsminor.yy188, yymsp[0].minor.yy653.type, &yymsp[0].minor.yy653.val); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 204: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy233.type, &yymsp[0].minor.yy233.val); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy653.type, &yymsp[0].minor.yy653.val); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 205: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy233.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 206: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 207: /* duration_list ::= duration_literal */ - case 401: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==401); -{ yylhsminor.yy222 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[0].minor.yy222 = yylhsminor.yy222; + case 402: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==402); +{ yylhsminor.yy172 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 208: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 402: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==402); -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; + case 403: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==403); +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; case 211: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy828 = createFunctionNode(pCxt, &yymsp[0].minor.yy63, NULL); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createFunctionNode(pCxt, &yymsp[0].minor.yy725, NULL); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 212: /* rollup_func_name ::= FIRST */ case 213: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==213); case 268: /* tag_item ::= QTAGS */ yytestcase(yyruleno==268); -{ yylhsminor.yy828 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 216: /* col_name ::= column_name */ case 269: /* tag_item ::= column_name */ yytestcase(yyruleno==269); -{ yylhsminor.yy828 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy63); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy725); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 217: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } @@ -4514,13 +4516,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; case 221: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, OP_TYPE_LIKE); } break; case 222: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, OP_TYPE_LIKE); } break; case 223: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy828, NULL, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy188, NULL, OP_TYPE_LIKE); } break; case 224: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } @@ -4532,7 +4534,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; case 227: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy828, yymsp[-1].minor.yy828, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy188, yymsp[-1].minor.yy188, OP_TYPE_EQUAL); } break; case 228: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } @@ -4551,13 +4553,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; case 234: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy725); } break; case 235: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy188); } break; case 236: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy188); } break; case 237: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } @@ -4576,7 +4578,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; case 243: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy188); } break; case 244: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } @@ -4591,7 +4593,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; case 248: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy188); } break; case 249: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } @@ -4600,10 +4602,10 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; case 251: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy828, yymsp[-1].minor.yy828, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy188, yymsp[-1].minor.yy188, OP_TYPE_EQUAL); } break; case 252: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy828, yymsp[-3].minor.yy222); } +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy188, yymsp[-3].minor.yy172); } break; case 253: /* cmd ::= SHOW VNODES NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } @@ -4612,178 +4614,178 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, createValueNode(pCxt, TSDB_DATA_TYPE_VARCHAR, &yymsp[0].minor.yy0)); } break; case 255: /* cmd ::= SHOW db_name_cond_opt ALIVE */ -{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy828, QUERY_NODE_SHOW_DB_ALIVE_STMT); } +{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy188, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; case 256: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; case 257: /* db_name_cond_opt ::= */ case 262: /* from_db_opt ::= */ yytestcase(yyruleno==262); -{ yymsp[1].minor.yy828 = createDefaultDatabaseCondValue(pCxt); } +{ yymsp[1].minor.yy188 = createDefaultDatabaseCondValue(pCxt); } break; case 258: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy828 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 260: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } +{ yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; case 261: /* table_name_cond ::= table_name */ -{ yylhsminor.yy828 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy63); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy725); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 263: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy828 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy63); } +{ yymsp[-1].minor.yy188 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy725); } break; case 267: /* tag_item ::= TBNAME */ -{ yylhsminor.yy828 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 270: /* tag_item ::= column_name column_alias */ -{ yylhsminor.yy828 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy63), &yymsp[0].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy725), &yymsp[0].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 271: /* tag_item ::= column_name AS column_alias */ -{ yylhsminor.yy828 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy63), &yymsp[0].minor.yy63); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy725), &yymsp[0].minor.yy725); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 272: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy669, yymsp[-3].minor.yy828, yymsp[-1].minor.yy828, NULL, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy437, yymsp[-3].minor.yy188, yymsp[-1].minor.yy188, NULL, yymsp[0].minor.yy188); } break; case 273: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy669, yymsp[-5].minor.yy828, yymsp[-3].minor.yy828, yymsp[-1].minor.yy222, NULL); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy437, yymsp[-5].minor.yy188, yymsp[-3].minor.yy188, yymsp[-1].minor.yy172, NULL); } break; case 274: /* cmd ::= DROP INDEX exists_opt full_index_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy669, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy188); } break; case 275: /* full_index_name ::= index_name */ -{ yylhsminor.yy828 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy63); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy725); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 276: /* full_index_name ::= db_name NK_DOT index_name */ -{ yylhsminor.yy828 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 277: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy828 = createIndexOption(pCxt, yymsp[-7].minor.yy222, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), NULL, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } +{ yymsp[-9].minor.yy188 = createIndexOption(pCxt, yymsp[-7].minor.yy172, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), NULL, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; case 278: /* 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.yy828 = createIndexOption(pCxt, yymsp[-9].minor.yy222, releaseRawExprNode(pCxt, yymsp[-5].minor.yy828), releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } +{ yymsp[-11].minor.yy188 = createIndexOption(pCxt, yymsp[-9].minor.yy172, releaseRawExprNode(pCxt, yymsp[-5].minor.yy188), releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; case 281: /* func ::= sma_func_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy828 = createFunctionNode(pCxt, &yymsp[-3].minor.yy63, yymsp[-1].minor.yy222); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createFunctionNode(pCxt, &yymsp[-3].minor.yy725, yymsp[-1].minor.yy172); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 287: /* sma_stream_opt ::= */ case 323: /* stream_options ::= */ yytestcase(yyruleno==323); -{ yymsp[1].minor.yy828 = createStreamOptions(pCxt); } +{ yymsp[1].minor.yy188 = createStreamOptions(pCxt); } break; case 288: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy828)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = yymsp[-2].minor.yy828; } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ ((SStreamOptions*)yymsp[-2].minor.yy188)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = yymsp[-2].minor.yy188; } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 289: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy828)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = yymsp[-2].minor.yy828; } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ ((SStreamOptions*)yymsp[-2].minor.yy188)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = yymsp[-2].minor.yy188; } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 290: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy828)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = yymsp[-2].minor.yy828; } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ ((SStreamOptions*)yymsp[-2].minor.yy188)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = yymsp[-2].minor.yy188; } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 291: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy669, &yymsp[-2].minor.yy63, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy437, &yymsp[-2].minor.yy725, yymsp[0].minor.yy188); } break; case 292: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy669, &yymsp[-3].minor.yy63, &yymsp[0].minor.yy63, false); } +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy437, &yymsp[-3].minor.yy725, &yymsp[0].minor.yy725, false); } break; case 293: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy669, &yymsp[-5].minor.yy63, &yymsp[0].minor.yy63, true); } +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy437, &yymsp[-5].minor.yy725, &yymsp[0].minor.yy725, true); } break; case 294: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy669, &yymsp[-3].minor.yy63, yymsp[0].minor.yy828, false); } +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy437, &yymsp[-3].minor.yy725, yymsp[0].minor.yy188, false); } break; case 295: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy669, &yymsp[-5].minor.yy63, yymsp[0].minor.yy828, true); } +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy437, &yymsp[-5].minor.yy725, yymsp[0].minor.yy188, true); } break; case 296: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; case 297: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy669, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy437, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } break; case 298: /* cmd ::= DESC full_table_name */ case 299: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==299); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy188); } break; case 300: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; case 301: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ case 302: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==302); -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy669, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy437, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; case 305: /* explain_options ::= */ -{ yymsp[1].minor.yy828 = createDefaultExplainOptions(pCxt); } +{ yymsp[1].minor.yy188 = createDefaultExplainOptions(pCxt); } break; case 306: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy828 = setExplainVerbose(pCxt, yymsp[-2].minor.yy828, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setExplainVerbose(pCxt, yymsp[-2].minor.yy188, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 307: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy828 = setExplainRatio(pCxt, yymsp[-2].minor.yy828, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setExplainRatio(pCxt, yymsp[-2].minor.yy188, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 308: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ -{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy669, yymsp[-9].minor.yy669, &yymsp[-6].minor.yy63, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy686, yymsp[-1].minor.yy332, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy437, yymsp[-9].minor.yy437, &yymsp[-6].minor.yy725, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy160, yymsp[-1].minor.yy136, &yymsp[0].minor.yy725); } break; case 309: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; case 314: /* language_opt ::= */ -{ yymsp[1].minor.yy63 = nil_token; } +{ yymsp[1].minor.yy725 = nil_token; } break; case 315: /* language_opt ::= LANGUAGE NK_STRING */ -{ yymsp[-1].minor.yy63 = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy725 = yymsp[0].minor.yy0; } break; case 316: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ -{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy669, &yymsp[-8].minor.yy63, yymsp[-5].minor.yy828, yymsp[-7].minor.yy828, yymsp[-3].minor.yy222, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, yymsp[-4].minor.yy222); } +{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy437, &yymsp[-8].minor.yy725, yymsp[-5].minor.yy188, yymsp[-7].minor.yy188, yymsp[-3].minor.yy172, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, yymsp[-4].minor.yy172); } break; case 317: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; case 324: /* stream_options ::= stream_options TRIGGER AT_ONCE */ case 325: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==325); -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 326: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-3].minor.yy828, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-3].minor.yy188, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 327: /* stream_options ::= stream_options WATERMARK duration_literal */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 328: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-3].minor.yy828, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-3].minor.yy188, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 329: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 330: /* stream_options ::= stream_options DELETE_MARK duration_literal */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 331: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-3].minor.yy828, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-3].minor.yy188, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 333: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 522: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==522); - case 542: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==542); -{ yymsp[-3].minor.yy828 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy828); } + case 523: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==523); + case 543: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==543); +{ yymsp[-3].minor.yy188 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy188); } break; case 334: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } @@ -4795,581 +4797,581 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; case 337: /* cmd ::= BALANCE VGROUP */ +{ pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } + break; + case 338: /* cmd ::= BALANCE VGROUP LEADER */ { pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt); } break; - case 338: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 339: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 339: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy222); } + case 340: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy172); } break; - case 340: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 341: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 341: /* dnode_list ::= DNODE NK_INTEGER */ -{ yymsp[-1].minor.yy222 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - break; - case 343: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } - break; - case 346: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ -{ yymsp[-6].minor.yy828 = createInsertStmt(pCxt, yymsp[-4].minor.yy828, yymsp[-2].minor.yy222, yymsp[0].minor.yy828); } - break; - case 347: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ -{ yymsp[-3].minor.yy828 = createInsertStmt(pCxt, yymsp[-1].minor.yy828, NULL, yymsp[0].minor.yy828); } - break; - case 348: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 349: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 350: /* literal ::= NK_STRING */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 351: /* literal ::= NK_BOOL */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 352: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; - break; - case 353: /* literal ::= duration_literal */ - case 363: /* signed_literal ::= signed */ yytestcase(yyruleno==363); - case 384: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==384); - case 385: /* expression ::= literal */ yytestcase(yyruleno==385); - case 386: /* expression ::= pseudo_column */ yytestcase(yyruleno==386); - case 387: /* expression ::= column_reference */ yytestcase(yyruleno==387); - case 388: /* expression ::= function_expression */ yytestcase(yyruleno==388); - case 389: /* expression ::= case_when_expression */ yytestcase(yyruleno==389); - case 420: /* function_expression ::= literal_func */ yytestcase(yyruleno==420); - case 469: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==469); - case 473: /* boolean_primary ::= predicate */ yytestcase(yyruleno==473); - case 475: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==475); - case 476: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==476); - case 479: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==479); - case 481: /* table_reference ::= table_primary */ yytestcase(yyruleno==481); - case 482: /* table_reference ::= joined_table */ yytestcase(yyruleno==482); - case 486: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==486); - case 544: /* query_simple ::= query_specification */ yytestcase(yyruleno==544); - case 545: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==545); - case 548: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==548); - case 550: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==550); -{ yylhsminor.yy828 = yymsp[0].minor.yy828; } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 354: /* literal ::= NULL */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 355: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 356: /* duration_literal ::= NK_VARIABLE */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 357: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 358: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - break; - case 359: /* signed ::= NK_MINUS NK_INTEGER */ + case 342: /* dnode_list ::= DNODE NK_INTEGER */ +{ yymsp[-1].minor.yy172 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + break; + case 344: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } + break; + case 347: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ +{ yymsp[-6].minor.yy188 = createInsertStmt(pCxt, yymsp[-4].minor.yy188, yymsp[-2].minor.yy172, yymsp[0].minor.yy188); } + break; + case 348: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ +{ yymsp[-3].minor.yy188 = createInsertStmt(pCxt, yymsp[-1].minor.yy188, NULL, yymsp[0].minor.yy188); } + break; + case 349: /* literal ::= NK_INTEGER */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 350: /* literal ::= NK_FLOAT */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 351: /* literal ::= NK_STRING */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 352: /* literal ::= NK_BOOL */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 353: /* literal ::= TIMESTAMP NK_STRING */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; + break; + case 354: /* literal ::= duration_literal */ + case 364: /* signed_literal ::= signed */ yytestcase(yyruleno==364); + case 385: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==385); + case 386: /* expression ::= literal */ yytestcase(yyruleno==386); + case 387: /* expression ::= pseudo_column */ yytestcase(yyruleno==387); + case 388: /* expression ::= column_reference */ yytestcase(yyruleno==388); + case 389: /* expression ::= function_expression */ yytestcase(yyruleno==389); + case 390: /* expression ::= case_when_expression */ yytestcase(yyruleno==390); + case 421: /* function_expression ::= literal_func */ yytestcase(yyruleno==421); + case 470: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==470); + case 474: /* boolean_primary ::= predicate */ yytestcase(yyruleno==474); + case 476: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==476); + case 477: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==477); + case 480: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==480); + case 482: /* table_reference ::= table_primary */ yytestcase(yyruleno==482); + case 483: /* table_reference ::= joined_table */ yytestcase(yyruleno==483); + case 487: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==487); + case 545: /* query_simple ::= query_specification */ yytestcase(yyruleno==545); + case 546: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==546); + case 549: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==549); + case 551: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==551); +{ yylhsminor.yy188 = yymsp[0].minor.yy188; } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 355: /* literal ::= NULL */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 356: /* literal ::= NK_QUESTION */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 357: /* duration_literal ::= NK_VARIABLE */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 358: /* signed ::= NK_INTEGER */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 359: /* signed ::= NK_PLUS NK_INTEGER */ +{ yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + break; + case 360: /* 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.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 360: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 361: /* signed ::= NK_FLOAT */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 361: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + case 362: /* signed ::= NK_PLUS NK_FLOAT */ +{ yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 362: /* signed ::= NK_MINUS NK_FLOAT */ + case 363: /* 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.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; - break; - case 364: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 365: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 366: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } - break; - case 367: /* signed_literal ::= duration_literal */ - case 369: /* signed_literal ::= literal_func */ yytestcase(yyruleno==369); - case 440: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==440); - case 502: /* select_item ::= common_expression */ yytestcase(yyruleno==502); - case 512: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==512); - case 549: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==549); - case 551: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==551); - case 564: /* search_condition ::= common_expression */ yytestcase(yyruleno==564); -{ yylhsminor.yy828 = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 368: /* signed_literal ::= NULL */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 370: /* signed_literal ::= NK_QUESTION */ -{ yylhsminor.yy828 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 390: /* expression ::= NK_LP expression NK_RP */ - case 474: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==474); - case 563: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==563); -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; - break; - case 391: /* expression ::= NK_PLUS expr_or_subquery */ + yymsp[-1].minor.yy188 = yylhsminor.yy188; + break; + case 365: /* signed_literal ::= NK_STRING */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 366: /* signed_literal ::= NK_BOOL */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 367: /* signed_literal ::= TIMESTAMP NK_STRING */ +{ yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + break; + case 368: /* signed_literal ::= duration_literal */ + case 370: /* signed_literal ::= literal_func */ yytestcase(yyruleno==370); + case 441: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==441); + case 503: /* select_item ::= common_expression */ yytestcase(yyruleno==503); + case 513: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==513); + case 550: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==550); + case 552: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==552); + case 565: /* search_condition ::= common_expression */ yytestcase(yyruleno==565); +{ yylhsminor.yy188 = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 369: /* signed_literal ::= NULL */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 371: /* signed_literal ::= NK_QUESTION */ +{ yylhsminor.yy188 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 391: /* expression ::= NK_LP expression NK_RP */ + case 475: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==475); + case 564: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==564); +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; + break; + case 392: /* expression ::= NK_PLUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 392: /* expression ::= NK_MINUS expr_or_subquery */ + case 393: /* expression ::= NK_MINUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy828), NULL)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy188), NULL)); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 393: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 394: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 394: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 395: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 395: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 396: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 396: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 397: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 397: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 398: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 398: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 399: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 399: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 400: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 400: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 401: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; - break; - case 403: /* column_reference ::= column_name */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy63, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy63)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 404: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63, createColumnNode(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; - break; - case 405: /* pseudo_column ::= ROWTS */ - case 406: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==406); - case 408: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==408); - case 409: /* pseudo_column ::= QEND */ yytestcase(yyruleno==409); - case 410: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==410); - case 411: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==411); - case 412: /* pseudo_column ::= WEND */ yytestcase(yyruleno==412); - case 413: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==413); - case 414: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==414); - case 415: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==415); - case 416: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==416); - case 422: /* literal_func ::= NOW */ yytestcase(yyruleno==422); -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; - break; - case 407: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy63)))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; - break; - case 417: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 418: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==418); -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy63, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy63, yymsp[-1].minor.yy222)); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; - break; - case 419: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-1].minor.yy686)); } - yymsp[-5].minor.yy828 = yylhsminor.yy828; - break; - case 421: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy63, NULL)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; - break; - case 436: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy222 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy222 = yylhsminor.yy222; - break; - case 441: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 505: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==505); -{ yylhsminor.yy828 = createColumnNode(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; - break; - case 442: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy222, yymsp[-1].minor.yy828)); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; - break; - case 443: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-2].minor.yy222, yymsp[-1].minor.yy828)); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; - break; - case 446: /* when_then_expr ::= WHEN common_expression THEN common_expression */ -{ yymsp[-3].minor.yy828 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - break; - case 448: /* case_when_else_opt ::= ELSE common_expression */ -{ yymsp[-1].minor.yy828 = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); } - break; - case 449: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 454: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==454); + yymsp[-2].minor.yy188 = yylhsminor.yy188; + break; + case 404: /* column_reference ::= column_name */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy725, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy725)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 405: /* column_reference ::= table_name NK_DOT column_name */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725, createColumnNode(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; + break; + case 406: /* pseudo_column ::= ROWTS */ + case 407: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==407); + case 409: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==409); + case 410: /* pseudo_column ::= QEND */ yytestcase(yyruleno==410); + case 411: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==411); + case 412: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==412); + case 413: /* pseudo_column ::= WEND */ yytestcase(yyruleno==413); + case 414: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==414); + case 415: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==415); + case 416: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==416); + case 417: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==417); + case 423: /* literal_func ::= NOW */ yytestcase(yyruleno==423); +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; + break; + case 408: /* pseudo_column ::= table_name NK_DOT TBNAME */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy725)))); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; + break; + case 418: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 419: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==419); +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy725, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy725, yymsp[-1].minor.yy172)); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; + break; + case 420: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-1].minor.yy160)); } + yymsp[-5].minor.yy188 = yylhsminor.yy188; + break; + case 422: /* literal_func ::= noarg_func NK_LP NK_RP */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy725, NULL)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; + break; + case 437: /* star_func_para_list ::= NK_STAR */ +{ yylhsminor.yy172 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy172 = yylhsminor.yy172; + break; + case 442: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 506: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==506); +{ yylhsminor.yy188 = createColumnNode(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; + break; + case 443: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy172, yymsp[-1].minor.yy188)); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; + break; + case 444: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-2].minor.yy172, yymsp[-1].minor.yy188)); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; + break; + case 447: /* when_then_expr ::= WHEN common_expression THEN common_expression */ +{ yymsp[-3].minor.yy188 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + break; + case 449: /* case_when_else_opt ::= ELSE common_expression */ +{ yymsp[-1].minor.yy188 = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); } + break; + case 450: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 455: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==455); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy62, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy716, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 450: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 451: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy828), releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy188), releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 451: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 452: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy828), releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy188), releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-5].minor.yy828 = yylhsminor.yy828; + yymsp[-5].minor.yy188 = yylhsminor.yy188; break; - case 452: /* predicate ::= expr_or_subquery IS NULL */ + case 453: /* predicate ::= expr_or_subquery IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), NULL)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 453: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 454: /* predicate ::= expr_or_subquery IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), NULL)); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 455: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy62 = OP_TYPE_LOWER_THAN; } + case 456: /* compare_op ::= NK_LT */ +{ yymsp[0].minor.yy716 = OP_TYPE_LOWER_THAN; } break; - case 456: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy62 = OP_TYPE_GREATER_THAN; } + case 457: /* compare_op ::= NK_GT */ +{ yymsp[0].minor.yy716 = OP_TYPE_GREATER_THAN; } break; - case 457: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy62 = OP_TYPE_LOWER_EQUAL; } + case 458: /* compare_op ::= NK_LE */ +{ yymsp[0].minor.yy716 = OP_TYPE_LOWER_EQUAL; } break; - case 458: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy62 = OP_TYPE_GREATER_EQUAL; } + case 459: /* compare_op ::= NK_GE */ +{ yymsp[0].minor.yy716 = OP_TYPE_GREATER_EQUAL; } break; - case 459: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy62 = OP_TYPE_NOT_EQUAL; } + case 460: /* compare_op ::= NK_NE */ +{ yymsp[0].minor.yy716 = OP_TYPE_NOT_EQUAL; } break; - case 460: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy62 = OP_TYPE_EQUAL; } + case 461: /* compare_op ::= NK_EQ */ +{ yymsp[0].minor.yy716 = OP_TYPE_EQUAL; } break; - case 461: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy62 = OP_TYPE_LIKE; } + case 462: /* compare_op ::= LIKE */ +{ yymsp[0].minor.yy716 = OP_TYPE_LIKE; } break; - case 462: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy62 = OP_TYPE_NOT_LIKE; } + case 463: /* compare_op ::= NOT LIKE */ +{ yymsp[-1].minor.yy716 = OP_TYPE_NOT_LIKE; } break; - case 463: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy62 = OP_TYPE_MATCH; } + case 464: /* compare_op ::= MATCH */ +{ yymsp[0].minor.yy716 = OP_TYPE_MATCH; } break; - case 464: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy62 = OP_TYPE_NMATCH; } + case 465: /* compare_op ::= NMATCH */ +{ yymsp[0].minor.yy716 = OP_TYPE_NMATCH; } break; - case 465: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy62 = OP_TYPE_JSON_CONTAINS; } + case 466: /* compare_op ::= CONTAINS */ +{ yymsp[0].minor.yy716 = OP_TYPE_JSON_CONTAINS; } break; - case 466: /* in_op ::= IN */ -{ yymsp[0].minor.yy62 = OP_TYPE_IN; } + case 467: /* in_op ::= IN */ +{ yymsp[0].minor.yy716 = OP_TYPE_IN; } break; - case 467: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy62 = OP_TYPE_NOT_IN; } + case 468: /* in_op ::= NOT IN */ +{ yymsp[-1].minor.yy716 = OP_TYPE_NOT_IN; } break; - case 468: /* in_predicate_value ::= NK_LP literal_list NK_RP */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy222)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 469: /* in_predicate_value ::= NK_LP literal_list NK_RP */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy172)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 470: /* boolean_value_expression ::= NOT boolean_primary */ + case 471: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy828), NULL)); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy188), NULL)); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 471: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 472: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 472: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 473: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 478: /* from_clause_opt ::= FROM table_reference_list */ - case 507: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==507); - case 538: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==538); -{ yymsp[-1].minor.yy828 = yymsp[0].minor.yy828; } + case 479: /* from_clause_opt ::= FROM table_reference_list */ + case 508: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==508); + case 539: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==539); +{ yymsp[-1].minor.yy188 = yymsp[0].minor.yy188; } break; - case 480: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy828 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, NULL); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 481: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ +{ yylhsminor.yy188 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, NULL); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 483: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy828 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + case 484: /* table_primary ::= table_name alias_opt */ +{ yylhsminor.yy188 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 484: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy828 = createRealTableNode(pCxt, &yymsp[-3].minor.yy63, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + case 485: /* table_primary ::= db_name NK_DOT table_name alias_opt */ +{ yylhsminor.yy188 = createRealTableNode(pCxt, &yymsp[-3].minor.yy725, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 485: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy828 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828), &yymsp[0].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + case 486: /* table_primary ::= subquery alias_opt */ +{ yylhsminor.yy188 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188), &yymsp[0].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 487: /* alias_opt ::= */ -{ yymsp[1].minor.yy63 = nil_token; } + case 488: /* alias_opt ::= */ +{ yymsp[1].minor.yy725 = nil_token; } break; - case 489: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy63 = yymsp[0].minor.yy63; } + case 490: /* alias_opt ::= AS table_alias */ +{ yymsp[-1].minor.yy725 = yymsp[0].minor.yy725; } break; - case 490: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 491: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==491); -{ yymsp[-2].minor.yy828 = yymsp[-1].minor.yy828; } + case 491: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 492: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==492); +{ yymsp[-2].minor.yy188 = yymsp[-1].minor.yy188; } break; - case 492: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy828 = createJoinTableNode(pCxt, yymsp[-4].minor.yy574, yymsp[-5].minor.yy828, yymsp[-2].minor.yy828, yymsp[0].minor.yy828); } - yymsp[-5].minor.yy828 = yylhsminor.yy828; + case 493: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ +{ yylhsminor.yy188 = createJoinTableNode(pCxt, yymsp[-4].minor.yy240, yymsp[-5].minor.yy188, yymsp[-2].minor.yy188, yymsp[0].minor.yy188); } + yymsp[-5].minor.yy188 = yylhsminor.yy188; break; - case 493: /* join_type ::= */ -{ yymsp[1].minor.yy574 = JOIN_TYPE_INNER; } + case 494: /* join_type ::= */ +{ yymsp[1].minor.yy240 = JOIN_TYPE_INNER; } break; - case 494: /* join_type ::= INNER */ -{ yymsp[0].minor.yy574 = JOIN_TYPE_INNER; } + case 495: /* join_type ::= INNER */ +{ yymsp[0].minor.yy240 = JOIN_TYPE_INNER; } break; - case 495: /* 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 496: /* 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.yy828 = createSelectStmt(pCxt, yymsp[-10].minor.yy669, yymsp[-9].minor.yy222, yymsp[-8].minor.yy828); - yymsp[-11].minor.yy828 = addWhereClause(pCxt, yymsp[-11].minor.yy828, yymsp[-7].minor.yy828); - yymsp[-11].minor.yy828 = addPartitionByClause(pCxt, yymsp[-11].minor.yy828, yymsp[-6].minor.yy222); - yymsp[-11].minor.yy828 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy828, yymsp[-2].minor.yy828); - yymsp[-11].minor.yy828 = addGroupByClause(pCxt, yymsp[-11].minor.yy828, yymsp[-1].minor.yy222); - yymsp[-11].minor.yy828 = addHavingClause(pCxt, yymsp[-11].minor.yy828, yymsp[0].minor.yy828); - yymsp[-11].minor.yy828 = addRangeClause(pCxt, yymsp[-11].minor.yy828, yymsp[-5].minor.yy828); - yymsp[-11].minor.yy828 = addEveryClause(pCxt, yymsp[-11].minor.yy828, yymsp[-4].minor.yy828); - yymsp[-11].minor.yy828 = addFillClause(pCxt, yymsp[-11].minor.yy828, yymsp[-3].minor.yy828); + yymsp[-11].minor.yy188 = createSelectStmt(pCxt, yymsp[-10].minor.yy437, yymsp[-9].minor.yy172, yymsp[-8].minor.yy188); + yymsp[-11].minor.yy188 = addWhereClause(pCxt, yymsp[-11].minor.yy188, yymsp[-7].minor.yy188); + yymsp[-11].minor.yy188 = addPartitionByClause(pCxt, yymsp[-11].minor.yy188, yymsp[-6].minor.yy172); + yymsp[-11].minor.yy188 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy188, yymsp[-2].minor.yy188); + yymsp[-11].minor.yy188 = addGroupByClause(pCxt, yymsp[-11].minor.yy188, yymsp[-1].minor.yy172); + yymsp[-11].minor.yy188 = addHavingClause(pCxt, yymsp[-11].minor.yy188, yymsp[0].minor.yy188); + yymsp[-11].minor.yy188 = addRangeClause(pCxt, yymsp[-11].minor.yy188, yymsp[-5].minor.yy188); + yymsp[-11].minor.yy188 = addEveryClause(pCxt, yymsp[-11].minor.yy188, yymsp[-4].minor.yy188); + yymsp[-11].minor.yy188 = addFillClause(pCxt, yymsp[-11].minor.yy188, yymsp[-3].minor.yy188); } break; - case 498: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy669 = false; } + case 499: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy437 = false; } break; - case 501: /* select_item ::= NK_STAR */ -{ yylhsminor.yy828 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 502: /* select_item ::= NK_STAR */ +{ yylhsminor.yy188 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 503: /* select_item ::= common_expression column_alias */ - case 513: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==513); -{ yylhsminor.yy828 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828), &yymsp[0].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + case 504: /* select_item ::= common_expression column_alias */ + case 514: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==514); +{ yylhsminor.yy188 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188), &yymsp[0].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 504: /* select_item ::= common_expression AS column_alias */ - case 514: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==514); -{ yylhsminor.yy828 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), &yymsp[0].minor.yy63); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 505: /* select_item ::= common_expression AS column_alias */ + case 515: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==515); +{ yylhsminor.yy188 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), &yymsp[0].minor.yy725); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 509: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 534: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==534); - case 553: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==553); -{ yymsp[-2].minor.yy222 = yymsp[0].minor.yy222; } + case 510: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 535: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==535); + case 554: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==554); +{ yymsp[-2].minor.yy172 = yymsp[0].minor.yy172; } break; - case 516: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ -{ yymsp[-5].minor.yy828 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } + case 517: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ +{ yymsp[-5].minor.yy188 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } break; - case 517: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy828 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } + case 518: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy188 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } break; - case 518: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy828 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), NULL, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } + case 519: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-5].minor.yy188 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), NULL, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 519: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy828 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy828), releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } + case 520: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-7].minor.yy188 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy188), releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 520: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ -{ yymsp[-6].minor.yy828 = createEventWindowNode(pCxt, yymsp[-3].minor.yy828, yymsp[0].minor.yy828); } + case 521: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ +{ yymsp[-6].minor.yy188 = createEventWindowNode(pCxt, yymsp[-3].minor.yy188, yymsp[0].minor.yy188); } break; - case 524: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy828 = createFillNode(pCxt, yymsp[-1].minor.yy822, NULL); } + case 525: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy188 = createFillNode(pCxt, yymsp[-1].minor.yy654, NULL); } break; - case 525: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ -{ yymsp[-5].minor.yy828 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy222)); } + case 526: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ +{ yymsp[-5].minor.yy188 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy172)); } break; - case 526: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ -{ yymsp[-5].minor.yy828 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy222)); } + case 527: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ +{ yymsp[-5].minor.yy188 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy172)); } break; - case 527: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy822 = FILL_MODE_NONE; } + case 528: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy654 = FILL_MODE_NONE; } break; - case 528: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy822 = FILL_MODE_PREV; } + case 529: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy654 = FILL_MODE_PREV; } break; - case 529: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy822 = FILL_MODE_NULL; } + case 530: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy654 = FILL_MODE_NULL; } break; - case 530: /* fill_mode ::= NULL_F */ -{ yymsp[0].minor.yy822 = FILL_MODE_NULL_F; } + case 531: /* fill_mode ::= NULL_F */ +{ yymsp[0].minor.yy654 = FILL_MODE_NULL_F; } break; - case 531: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy822 = FILL_MODE_LINEAR; } + case 532: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy654 = FILL_MODE_LINEAR; } break; - case 532: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy822 = FILL_MODE_NEXT; } + case 533: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy654 = FILL_MODE_NEXT; } break; - case 535: /* group_by_list ::= expr_or_subquery */ -{ yylhsminor.yy222 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); } - yymsp[0].minor.yy222 = yylhsminor.yy222; + case 536: /* group_by_list ::= expr_or_subquery */ +{ yylhsminor.yy172 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 536: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; + case 537: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; - case 540: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ -{ yymsp[-5].minor.yy828 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } + case 541: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ +{ yymsp[-5].minor.yy188 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } break; - case 543: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 544: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy828 = addOrderByClause(pCxt, yymsp[-3].minor.yy828, yymsp[-2].minor.yy222); - yylhsminor.yy828 = addSlimitClause(pCxt, yylhsminor.yy828, yymsp[-1].minor.yy828); - yylhsminor.yy828 = addLimitClause(pCxt, yylhsminor.yy828, yymsp[0].minor.yy828); + yylhsminor.yy188 = addOrderByClause(pCxt, yymsp[-3].minor.yy188, yymsp[-2].minor.yy172); + yylhsminor.yy188 = addSlimitClause(pCxt, yylhsminor.yy188, yymsp[-1].minor.yy188); + yylhsminor.yy188 = addLimitClause(pCxt, yylhsminor.yy188, yymsp[0].minor.yy188); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 546: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ -{ yylhsminor.yy828 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy828, yymsp[0].minor.yy828); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + case 547: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ +{ yylhsminor.yy188 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy188, yymsp[0].minor.yy188); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 547: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ -{ yylhsminor.yy828 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy828, yymsp[0].minor.yy828); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 548: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ +{ yylhsminor.yy188 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy188, yymsp[0].minor.yy188); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 555: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 559: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==559); -{ yymsp[-1].minor.yy828 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + case 556: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 560: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==560); +{ yymsp[-1].minor.yy188 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 556: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 560: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==560); -{ yymsp[-3].minor.yy828 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + case 557: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 561: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==561); +{ yymsp[-3].minor.yy188 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 557: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 561: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==561); -{ yymsp[-3].minor.yy828 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + case 558: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 562: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==562); +{ yymsp[-3].minor.yy188 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 562: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy828); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 563: /* subquery ::= NK_LP query_expression NK_RP */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy188); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 567: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy828 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), yymsp[-1].minor.yy158, yymsp[0].minor.yy675); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 568: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ +{ yylhsminor.yy188 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), yymsp[-1].minor.yy206, yymsp[0].minor.yy913); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 568: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy158 = ORDER_ASC; } + case 569: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy206 = ORDER_ASC; } break; - case 569: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy158 = ORDER_ASC; } + case 570: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy206 = ORDER_ASC; } break; - case 570: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy158 = ORDER_DESC; } + case 571: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy206 = ORDER_DESC; } break; - case 571: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy675 = NULL_ORDER_DEFAULT; } + case 572: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy913 = NULL_ORDER_DEFAULT; } break; - case 572: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy675 = NULL_ORDER_FIRST; } + case 573: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy913 = NULL_ORDER_FIRST; } break; - case 573: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy675 = NULL_ORDER_LAST; } - break; - case 574: /* cmd ::= BALANCE VGROUP_LEADER */ -{ pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt); } + case 574: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy913 = NULL_ORDER_LAST; } break; default: break; diff --git a/source/libs/parser/test/parAlterToBalanceTest.cpp b/source/libs/parser/test/parAlterToBalanceTest.cpp index 4cccfd449c..69c9f2c139 100644 --- a/source/libs/parser/test/parAlterToBalanceTest.cpp +++ b/source/libs/parser/test/parAlterToBalanceTest.cpp @@ -831,4 +831,21 @@ TEST_F(ParserInitialATest, balanceVgroup) { run("BALANCE VGROUP"); } +/* + * BALANCE VGROUP LEADER + */ +TEST_F(ParserInitialATest, balanceVgroup) { + useDb("root", "test"); + + setCheckDdlFunc([&](const SQuery* pQuery, ParserStage stage) { + ASSERT_EQ(nodeType(pQuery->pRoot), QUERY_NODE_BALANCE_VGROUP_LEADER_STMT); + ASSERT_EQ(pQuery->pCmdMsg->msgType, TDMT_MND_BALANCE_VGROUP_LEADER); + SBalanceVgroupReq req = {0}; + ASSERT_EQ(tSerializeSBalanceVgroupLeaderReq(pQuery->pCmdMsg->pMsg, pQuery->pCmdMsg->msgLen, &req), + TSDB_CODE_SUCCESS); + }); + + run("BALANCE VGROUP LEADER"); +} + } // namespace ParserTest \ No newline at end of file -- GitLab