From 4cfa6cea33c0a41d05e3ea93a650d238853d840e Mon Sep 17 00:00:00 2001 From: Xiaoyu Wang Date: Mon, 19 Dec 2022 10:57:56 +0800 Subject: [PATCH] enh: tsma support first/last/count functions --- include/common/ttokendef.h | 118 +- source/libs/parser/inc/sql.y | 10 +- source/libs/parser/src/sql.c | 4759 +++++++++++++++++----------------- 3 files changed, 2466 insertions(+), 2421 deletions(-) diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index 7533cfbb02..aa277da982 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -182,65 +182,65 @@ #define TK_INDEX 164 #define TK_FUNCTION 165 #define TK_INTERVAL 166 -#define TK_TOPIC 167 -#define TK_WITH 168 -#define TK_META 169 -#define TK_CONSUMER 170 -#define TK_GROUP 171 -#define TK_DESC 172 -#define TK_DESCRIBE 173 -#define TK_RESET 174 -#define TK_QUERY 175 -#define TK_CACHE 176 -#define TK_EXPLAIN 177 -#define TK_ANALYZE 178 -#define TK_VERBOSE 179 -#define TK_NK_BOOL 180 -#define TK_RATIO 181 -#define TK_NK_FLOAT 182 -#define TK_OUTPUTTYPE 183 -#define TK_AGGREGATE 184 -#define TK_BUFSIZE 185 -#define TK_STREAM 186 -#define TK_INTO 187 -#define TK_TRIGGER 188 -#define TK_AT_ONCE 189 -#define TK_WINDOW_CLOSE 190 -#define TK_IGNORE 191 -#define TK_EXPIRED 192 -#define TK_FILL_HISTORY 193 -#define TK_SUBTABLE 194 -#define TK_KILL 195 -#define TK_CONNECTION 196 -#define TK_TRANSACTION 197 -#define TK_BALANCE 198 -#define TK_VGROUP 199 -#define TK_MERGE 200 -#define TK_REDISTRIBUTE 201 -#define TK_SPLIT 202 -#define TK_DELETE 203 -#define TK_INSERT 204 -#define TK_NULL 205 -#define TK_NK_QUESTION 206 -#define TK_NK_ARROW 207 -#define TK_ROWTS 208 -#define TK_QSTART 209 -#define TK_QEND 210 -#define TK_QDURATION 211 -#define TK_WSTART 212 -#define TK_WEND 213 -#define TK_WDURATION 214 -#define TK_IROWTS 215 -#define TK_CAST 216 -#define TK_NOW 217 -#define TK_TODAY 218 -#define TK_TIMEZONE 219 -#define TK_CLIENT_VERSION 220 -#define TK_SERVER_VERSION 221 -#define TK_SERVER_STATUS 222 -#define TK_CURRENT_USER 223 -#define TK_COUNT 224 -#define TK_LAST_ROW 225 +#define TK_COUNT 167 +#define TK_LAST_ROW 168 +#define TK_TOPIC 169 +#define TK_WITH 170 +#define TK_META 171 +#define TK_CONSUMER 172 +#define TK_GROUP 173 +#define TK_DESC 174 +#define TK_DESCRIBE 175 +#define TK_RESET 176 +#define TK_QUERY 177 +#define TK_CACHE 178 +#define TK_EXPLAIN 179 +#define TK_ANALYZE 180 +#define TK_VERBOSE 181 +#define TK_NK_BOOL 182 +#define TK_RATIO 183 +#define TK_NK_FLOAT 184 +#define TK_OUTPUTTYPE 185 +#define TK_AGGREGATE 186 +#define TK_BUFSIZE 187 +#define TK_STREAM 188 +#define TK_INTO 189 +#define TK_TRIGGER 190 +#define TK_AT_ONCE 191 +#define TK_WINDOW_CLOSE 192 +#define TK_IGNORE 193 +#define TK_EXPIRED 194 +#define TK_FILL_HISTORY 195 +#define TK_SUBTABLE 196 +#define TK_KILL 197 +#define TK_CONNECTION 198 +#define TK_TRANSACTION 199 +#define TK_BALANCE 200 +#define TK_VGROUP 201 +#define TK_MERGE 202 +#define TK_REDISTRIBUTE 203 +#define TK_SPLIT 204 +#define TK_DELETE 205 +#define TK_INSERT 206 +#define TK_NULL 207 +#define TK_NK_QUESTION 208 +#define TK_NK_ARROW 209 +#define TK_ROWTS 210 +#define TK_QSTART 211 +#define TK_QEND 212 +#define TK_QDURATION 213 +#define TK_WSTART 214 +#define TK_WEND 215 +#define TK_WDURATION 216 +#define TK_IROWTS 217 +#define TK_CAST 218 +#define TK_NOW 219 +#define TK_TODAY 220 +#define TK_TIMEZONE 221 +#define TK_CLIENT_VERSION 222 +#define TK_SERVER_VERSION 223 +#define TK_SERVER_STATUS 224 +#define TK_CURRENT_USER 225 #define TK_CASE 226 #define TK_END 227 #define TK_WHEN 228 diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index e01d0243a9..aec8558d00 100644 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -473,7 +473,15 @@ index_options(A) ::= FUNCTION NK_LP func_list(B) NK_RP INTERVAL func_list(A) ::= func(B). { A = createNodeList(pCxt, B); } func_list(A) ::= func_list(B) NK_COMMA func(C). { A = addNodeToList(pCxt, B, C); } -func(A) ::= function_name(B) NK_LP expression_list(C) NK_RP. { A = createFunctionNode(pCxt, &B, C); } +func(A) ::= sma_func_name(B) NK_LP expression_list(C) NK_RP. { A = createFunctionNode(pCxt, &B, C); } + +%type sma_func_name { SToken } +%destructor sma_func_name { } +sma_func_name(A) ::= function_name(B). { A = B; } +sma_func_name(A) ::= COUNT(B). { A = B; } +sma_func_name(A) ::= FIRST(B). { A = B; } +sma_func_name(A) ::= LAST(B). { A = B; } +sma_func_name(A) ::= LAST_ROW(B). { A = B; } sma_stream_opt(A) ::= . { A = createStreamOptions(pCxt); } sma_stream_opt(A) ::= sma_stream_opt(B) WATERMARK duration_literal(C). { ((SStreamOptions*)B)->pWatermark = releaseRawExprNode(pCxt, C); A = B; } diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index b383d02006..e8b2c122ae 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 459 +#define YYNOCODE 460 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; - EOperatorType yy20; - SNode* yy74; - ENullOrder yy109; - SToken yy317; - EOrder yy326; - bool yy335; - int8_t yy449; - int64_t yy531; - EJoinType yy630; - SAlterOption yy767; - EFillMode yy828; - int32_t yy856; - SNodeList* yy874; - SDataType yy898; + SAlterOption yy5; + bool yy57; + EFillMode yy214; + EJoinType yy332; + int32_t yy340; + int8_t yy383; + SDataType yy384; + SNodeList* yy424; + EOrder yy538; + EOperatorType yy620; + SNode* yy752; + ENullOrder yy777; + SToken yy849; + int64_t yy869; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -140,16 +140,16 @@ typedef union { #define ParseCTX_STORE #define YYFALLBACK 1 #define YYNSTATE 714 -#define YYNRULE 539 +#define YYNRULE 544 #define YYNTOKEN 324 #define YY_MAX_SHIFT 713 -#define YY_MIN_SHIFTREDUCE 1055 -#define YY_MAX_SHIFTREDUCE 1593 -#define YY_ERROR_ACTION 1594 -#define YY_ACCEPT_ACTION 1595 -#define YY_NO_ACTION 1596 -#define YY_MIN_REDUCE 1597 -#define YY_MAX_REDUCE 2135 +#define YY_MIN_SHIFTREDUCE 1060 +#define YY_MAX_SHIFTREDUCE 1603 +#define YY_ERROR_ACTION 1604 +#define YY_ACCEPT_ACTION 1605 +#define YY_NO_ACTION 1606 +#define YY_MIN_REDUCE 1607 +#define YY_MAX_REDUCE 2150 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -216,790 +216,810 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (2968) +#define YY_ACTTAB_COUNT (3067) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 460, 354, 461, 1633, 1739, 469, 1595, 461, 1633, 157, - /* 10 */ 542, 82, 45, 43, 1523, 1937, 169, 159, 1752, 1609, - /* 20 */ 362, 1401, 1374, 38, 37, 129, 1933, 44, 42, 41, - /* 30 */ 40, 39, 602, 1453, 1745, 1372, 1666, 334, 1850, 602, - /* 40 */ 1937, 367, 38, 37, 1796, 1798, 44, 42, 41, 40, - /* 50 */ 39, 1933, 407, 1846, 1929, 1935, 345, 583, 1448, 27, - /* 60 */ 1527, 31, 1728, 18, 183, 613, 1399, 38, 37, 377, - /* 70 */ 1380, 44, 42, 41, 40, 39, 171, 1950, 1803, 1929, - /* 80 */ 1935, 357, 64, 45, 43, 355, 1399, 1741, 133, 1790, - /* 90 */ 613, 362, 320, 1374, 1801, 14, 459, 327, 1933, 464, - /* 100 */ 1639, 514, 513, 512, 1453, 365, 1372, 48, 1968, 130, - /* 110 */ 508, 547, 466, 157, 507, 2106, 586, 710, 462, 506, - /* 120 */ 511, 1919, 1752, 619, 478, 505, 1929, 1935, 566, 1448, - /* 130 */ 2112, 175, 1455, 1456, 18, 2107, 572, 613, 1482, 468, - /* 140 */ 160, 1380, 464, 1639, 583, 1704, 1949, 174, 2045, 2046, - /* 150 */ 1984, 131, 2050, 102, 1951, 623, 1953, 1954, 618, 571, - /* 160 */ 613, 1429, 1438, 2106, 259, 172, 14, 2037, 514, 513, - /* 170 */ 512, 356, 2033, 60, 478, 133, 130, 508, 570, 175, - /* 180 */ 1375, 507, 1373, 2107, 572, 177, 506, 511, 710, 605, - /* 190 */ 1938, 2009, 505, 2063, 1483, 227, 44, 42, 41, 40, - /* 200 */ 39, 1933, 1088, 1455, 1456, 1378, 1379, 1430, 1428, 1431, - /* 210 */ 1432, 1433, 1434, 1435, 1436, 1437, 615, 611, 1446, 1447, - /* 220 */ 1449, 1450, 1451, 1452, 1454, 1457, 2, 1310, 1311, 1929, - /* 230 */ 1935, 1400, 1429, 1438, 257, 2045, 582, 368, 126, 581, - /* 240 */ 613, 1090, 2106, 1093, 1094, 157, 60, 1107, 1803, 1106, - /* 250 */ 339, 1375, 1550, 1373, 1752, 84, 322, 570, 175, 532, - /* 260 */ 443, 530, 2107, 572, 1802, 34, 360, 1477, 1478, 1479, - /* 270 */ 1480, 1481, 1485, 1486, 1487, 1488, 1378, 1379, 1108, 1428, - /* 280 */ 1431, 1432, 1433, 1434, 1435, 1436, 1437, 615, 611, 1446, - /* 290 */ 1447, 1449, 1450, 1451, 1452, 1454, 1457, 2, 2111, 11, - /* 300 */ 45, 43, 558, 1548, 1549, 1551, 1552, 11, 362, 9, - /* 310 */ 1374, 340, 602, 338, 337, 1401, 501, 583, 191, 190, - /* 320 */ 503, 1453, 178, 1372, 1214, 645, 644, 643, 1218, 642, - /* 330 */ 1220, 1221, 641, 1223, 638, 1598, 1229, 635, 1231, 1232, - /* 340 */ 632, 629, 502, 1257, 1258, 260, 1448, 235, 133, 187, - /* 350 */ 2111, 18, 228, 610, 2106, 99, 115, 11, 1380, 114, - /* 360 */ 113, 112, 111, 110, 109, 108, 107, 106, 169, 134, - /* 370 */ 2110, 45, 43, 1458, 2107, 2109, 607, 1742, 2009, 362, - /* 380 */ 401, 1374, 60, 14, 87, 79, 85, 48, 78, 60, - /* 390 */ 1851, 1583, 1453, 115, 1372, 178, 114, 113, 112, 111, - /* 400 */ 110, 109, 108, 107, 106, 710, 585, 173, 2045, 2046, - /* 410 */ 49, 131, 2050, 213, 590, 1351, 1352, 1448, 590, 2111, - /* 420 */ 1455, 1456, 547, 2106, 353, 82, 2106, 1861, 164, 1380, - /* 430 */ 1107, 1862, 1106, 561, 495, 491, 487, 483, 210, 2110, - /* 440 */ 1374, 2112, 175, 2107, 2108, 212, 2107, 572, 1746, 1429, - /* 450 */ 1438, 267, 268, 1372, 46, 1597, 266, 1399, 259, 38, - /* 460 */ 37, 1108, 1803, 44, 42, 41, 40, 39, 1375, 331, - /* 470 */ 1373, 1402, 1402, 400, 83, 399, 710, 208, 1801, 124, - /* 480 */ 123, 122, 121, 120, 119, 118, 117, 116, 1380, 2052, - /* 490 */ 1620, 1455, 1456, 1378, 1379, 1474, 1428, 1431, 1432, 1433, - /* 500 */ 1434, 1435, 1436, 1437, 615, 611, 1446, 1447, 1449, 1450, - /* 510 */ 1451, 1452, 1454, 1457, 2, 2049, 567, 562, 556, 1463, - /* 520 */ 1429, 1438, 38, 37, 1484, 1399, 44, 42, 41, 40, - /* 530 */ 39, 178, 60, 571, 1919, 710, 178, 2106, 178, 1375, - /* 540 */ 396, 1373, 1400, 1968, 207, 201, 1726, 206, 35, 276, - /* 550 */ 474, 565, 570, 175, 157, 589, 1399, 2107, 572, 178, - /* 560 */ 1950, 398, 394, 1753, 1378, 1379, 199, 1428, 1431, 1432, - /* 570 */ 1433, 1434, 1435, 1436, 1437, 615, 611, 1446, 1447, 1449, - /* 580 */ 1450, 1451, 1452, 1454, 1457, 2, 45, 43, 603, 603, - /* 590 */ 564, 1968, 1797, 1798, 362, 32, 1374, 547, 1375, 620, - /* 600 */ 1373, 2106, 54, 180, 1919, 1489, 619, 1453, 657, 1372, - /* 610 */ 1560, 41, 40, 39, 237, 184, 2112, 175, 1803, 1750, - /* 620 */ 1750, 2107, 572, 1378, 1379, 366, 375, 510, 509, 1949, - /* 630 */ 2110, 603, 1448, 1984, 1801, 8, 102, 1951, 623, 1953, - /* 640 */ 1954, 618, 1727, 613, 1380, 125, 136, 2052, 143, 2008, - /* 650 */ 2037, 1950, 499, 2052, 356, 2033, 374, 45, 43, 1402, - /* 660 */ 519, 528, 1750, 603, 1619, 362, 1430, 1374, 547, 46, - /* 670 */ 13, 12, 2106, 2048, 526, 529, 524, 125, 1453, 2047, - /* 680 */ 1372, 178, 1968, 93, 504, 1846, 1174, 2112, 175, 226, - /* 690 */ 586, 710, 2107, 572, 1750, 1919, 185, 619, 547, 681, - /* 700 */ 679, 1398, 2106, 1448, 522, 1743, 1455, 1456, 1919, 516, - /* 710 */ 135, 603, 648, 2008, 225, 1380, 1618, 2112, 175, 1617, - /* 720 */ 1949, 1176, 2107, 572, 1984, 405, 1846, 102, 1951, 623, - /* 730 */ 1953, 1954, 618, 603, 613, 1429, 1438, 189, 657, 172, - /* 740 */ 14, 2037, 1750, 603, 603, 356, 2033, 406, 229, 655, - /* 750 */ 66, 1780, 649, 65, 1375, 1794, 1373, 415, 429, 503, - /* 760 */ 1919, 1616, 710, 1919, 1750, 1496, 1640, 2064, 148, 147, - /* 770 */ 652, 651, 650, 145, 1750, 1750, 1380, 1455, 1456, 1378, - /* 780 */ 1379, 502, 1428, 1431, 1432, 1433, 1434, 1435, 1436, 1437, - /* 790 */ 615, 611, 1446, 1447, 1449, 1450, 1451, 1452, 1454, 1457, - /* 800 */ 2, 319, 236, 1397, 603, 1919, 1429, 1438, 1615, 653, - /* 810 */ 437, 654, 1794, 450, 1794, 705, 449, 290, 430, 669, - /* 820 */ 1780, 670, 50, 1720, 3, 1375, 1663, 1373, 1614, 1613, - /* 830 */ 1612, 421, 146, 451, 33, 1750, 423, 1093, 1094, 1516, - /* 840 */ 38, 37, 1725, 1833, 44, 42, 41, 40, 39, 1399, - /* 850 */ 1378, 1379, 1919, 1428, 1431, 1432, 1433, 1434, 1435, 1436, - /* 860 */ 1437, 615, 611, 1446, 1447, 1449, 1450, 1451, 1452, 1454, - /* 870 */ 1457, 2, 1919, 1919, 1919, 38, 37, 335, 1735, 44, - /* 880 */ 42, 41, 40, 39, 53, 218, 2057, 1516, 216, 411, - /* 890 */ 574, 687, 686, 685, 684, 372, 1520, 683, 682, 137, - /* 900 */ 677, 676, 675, 674, 673, 672, 671, 150, 667, 666, - /* 910 */ 665, 371, 370, 662, 661, 660, 659, 658, 139, 447, - /* 920 */ 127, 1383, 442, 441, 440, 439, 436, 435, 434, 433, - /* 930 */ 432, 428, 427, 426, 425, 336, 418, 417, 416, 69, - /* 940 */ 413, 412, 333, 158, 578, 535, 38, 37, 296, 655, - /* 950 */ 44, 42, 41, 40, 39, 220, 222, 1950, 219, 221, - /* 960 */ 1611, 1608, 294, 68, 224, 1610, 67, 223, 148, 147, - /* 970 */ 652, 651, 650, 145, 1737, 38, 37, 1950, 603, 44, - /* 980 */ 42, 41, 40, 39, 195, 456, 454, 547, 1968, 77, - /* 990 */ 1430, 2106, 476, 583, 424, 575, 620, 1607, 1606, 1605, - /* 1000 */ 98, 1919, 408, 619, 1919, 1919, 2112, 175, 1968, 1750, - /* 1010 */ 95, 2107, 572, 603, 52, 409, 620, 603, 603, 546, - /* 1020 */ 60, 1919, 1604, 619, 133, 1906, 1949, 477, 62, 241, - /* 1030 */ 1984, 1747, 141, 102, 1951, 623, 1953, 1954, 618, 1590, - /* 1040 */ 613, 1919, 1919, 1919, 1750, 2126, 1949, 2037, 1750, 1750, - /* 1050 */ 1984, 356, 2033, 102, 1951, 623, 1953, 1954, 618, 101, - /* 1060 */ 613, 1382, 2071, 1539, 603, 2126, 1919, 2037, 1386, 1950, - /* 1070 */ 655, 356, 2033, 384, 1603, 1592, 1593, 1602, 543, 1733, - /* 1080 */ 1547, 243, 2084, 176, 2045, 2046, 232, 131, 2050, 148, - /* 1090 */ 147, 652, 651, 650, 145, 1750, 614, 76, 75, 404, - /* 1100 */ 1968, 156, 182, 603, 647, 603, 1705, 2077, 620, 559, - /* 1110 */ 603, 1653, 1950, 1919, 47, 619, 1601, 587, 1919, 271, - /* 1120 */ 318, 1919, 254, 392, 598, 390, 386, 382, 379, 376, - /* 1130 */ 603, 13, 12, 515, 1750, 1589, 1750, 1519, 1949, 603, - /* 1140 */ 603, 1750, 1984, 1968, 600, 102, 1951, 623, 1953, 1954, - /* 1150 */ 618, 620, 613, 601, 277, 1950, 1919, 2126, 619, 2037, - /* 1160 */ 1919, 1750, 1646, 356, 2033, 1644, 1321, 579, 1600, 178, - /* 1170 */ 1750, 1750, 38, 37, 554, 264, 44, 42, 41, 40, - /* 1180 */ 39, 1949, 603, 211, 517, 1984, 1968, 520, 102, 1951, - /* 1190 */ 623, 1953, 1954, 618, 620, 613, 369, 248, 1940, 1919, - /* 1200 */ 2126, 619, 2037, 142, 144, 146, 356, 2033, 1385, 373, - /* 1210 */ 62, 47, 1919, 1750, 1634, 47, 576, 2100, 627, 359, - /* 1220 */ 358, 144, 1950, 146, 1949, 663, 128, 269, 1984, 1388, - /* 1230 */ 144, 102, 1951, 623, 1953, 1954, 618, 664, 613, 1136, - /* 1240 */ 1453, 1969, 1381, 2126, 1855, 2037, 1942, 1155, 1791, 356, - /* 1250 */ 2033, 2067, 584, 1968, 253, 595, 273, 1207, 256, 1153, - /* 1260 */ 2056, 620, 1490, 1439, 1, 1448, 1919, 289, 619, 4, - /* 1270 */ 1235, 378, 332, 1239, 1137, 1246, 1950, 1380, 1244, 383, - /* 1280 */ 1338, 188, 149, 284, 410, 1402, 414, 445, 1856, 419, - /* 1290 */ 1397, 1949, 431, 1848, 438, 1984, 444, 446, 102, 1951, - /* 1300 */ 623, 1953, 1954, 618, 452, 613, 192, 1968, 453, 455, - /* 1310 */ 2012, 457, 2037, 1403, 1405, 620, 356, 2033, 458, 467, - /* 1320 */ 1919, 470, 619, 198, 609, 471, 1404, 200, 472, 1406, - /* 1330 */ 473, 475, 203, 479, 205, 80, 1110, 81, 209, 496, - /* 1340 */ 497, 498, 321, 105, 1896, 1949, 500, 534, 1895, 1984, - /* 1350 */ 536, 538, 102, 1951, 623, 1953, 1954, 618, 1740, 613, - /* 1360 */ 230, 215, 1950, 1736, 2010, 217, 2037, 151, 152, 1738, - /* 1370 */ 356, 2033, 1734, 153, 154, 537, 285, 541, 233, 544, - /* 1380 */ 2068, 7, 560, 2083, 2082, 593, 569, 1389, 2059, 1384, - /* 1390 */ 551, 557, 249, 1968, 247, 346, 552, 550, 2078, 563, - /* 1400 */ 165, 620, 239, 250, 549, 251, 1919, 347, 619, 580, - /* 1410 */ 577, 242, 1392, 1394, 2129, 1516, 2105, 132, 1401, 255, - /* 1420 */ 252, 588, 261, 350, 611, 1446, 1447, 1449, 1450, 1451, - /* 1430 */ 1452, 1949, 2053, 286, 591, 1984, 1950, 592, 102, 1951, - /* 1440 */ 623, 1953, 1954, 618, 1867, 613, 1866, 1865, 287, 352, - /* 1450 */ 606, 596, 2037, 597, 90, 288, 356, 2033, 92, 1751, - /* 1460 */ 59, 2018, 94, 1795, 1721, 625, 706, 1968, 291, 707, - /* 1470 */ 709, 51, 300, 315, 280, 620, 323, 314, 304, 1950, - /* 1480 */ 1919, 324, 619, 295, 293, 1913, 1912, 73, 1911, 1910, - /* 1490 */ 74, 1907, 380, 1366, 381, 1367, 181, 385, 1905, 387, - /* 1500 */ 388, 389, 1904, 391, 1903, 1949, 393, 1902, 1901, 1984, - /* 1510 */ 1968, 397, 103, 1951, 623, 1953, 1954, 618, 620, 613, - /* 1520 */ 1341, 395, 1950, 1919, 1340, 619, 2037, 402, 403, 1876, - /* 1530 */ 2036, 2033, 1878, 1877, 1875, 1841, 1840, 1301, 1838, 138, - /* 1540 */ 1837, 1836, 1839, 1835, 1834, 1832, 1831, 1830, 1949, 420, - /* 1550 */ 1950, 186, 1984, 1968, 1829, 103, 1951, 623, 1953, 1954, - /* 1560 */ 618, 620, 613, 422, 1828, 1827, 1919, 1826, 619, 2037, - /* 1570 */ 140, 1813, 1812, 608, 2033, 1825, 1824, 1823, 1822, 1821, - /* 1580 */ 1820, 1968, 1819, 1818, 1817, 1816, 1815, 1814, 1811, 617, - /* 1590 */ 1810, 621, 1809, 1808, 1919, 1984, 619, 1807, 103, 1951, - /* 1600 */ 623, 1953, 1954, 618, 1806, 613, 1805, 448, 1804, 1182, - /* 1610 */ 1668, 1303, 2037, 193, 1667, 194, 326, 2033, 1665, 1949, - /* 1620 */ 1629, 1096, 713, 1984, 1628, 170, 312, 1951, 623, 1953, - /* 1630 */ 1954, 618, 616, 613, 604, 2002, 283, 196, 1950, 71, - /* 1640 */ 1095, 1939, 197, 463, 72, 465, 1891, 1885, 1874, 204, - /* 1650 */ 202, 168, 1873, 1858, 1729, 1129, 1664, 703, 699, 695, - /* 1660 */ 691, 281, 1662, 480, 481, 1660, 484, 485, 482, 1968, - /* 1670 */ 1658, 486, 488, 489, 490, 1656, 492, 620, 493, 494, - /* 1680 */ 1643, 1950, 1919, 1642, 619, 1625, 1731, 1730, 1250, 678, - /* 1690 */ 1251, 1165, 1173, 1172, 1171, 1170, 1654, 100, 1950, 1167, - /* 1700 */ 274, 341, 1166, 61, 1647, 680, 1164, 1949, 1645, 521, - /* 1710 */ 342, 1984, 1968, 518, 161, 1951, 623, 1953, 1954, 618, - /* 1720 */ 620, 613, 343, 214, 1624, 1919, 523, 619, 1623, 1968, - /* 1730 */ 525, 1622, 527, 599, 104, 1358, 1356, 620, 1355, 26, - /* 1740 */ 531, 1890, 1919, 1884, 619, 155, 1347, 539, 1872, 1870, - /* 1750 */ 1949, 19, 1950, 2111, 1984, 548, 2074, 162, 1951, 623, - /* 1760 */ 1953, 1954, 618, 16, 613, 555, 234, 1949, 1950, 1562, - /* 1770 */ 262, 1984, 55, 240, 103, 1951, 623, 1953, 1954, 618, - /* 1780 */ 540, 613, 545, 1968, 28, 344, 553, 1345, 2037, 231, - /* 1790 */ 58, 620, 238, 2034, 1546, 245, 1919, 163, 619, 1968, - /* 1800 */ 244, 5, 6, 246, 29, 1940, 30, 620, 1538, 573, - /* 1810 */ 2127, 86, 1919, 1582, 619, 1583, 20, 63, 21, 1513, - /* 1820 */ 1577, 1949, 1576, 348, 1581, 1984, 1580, 349, 161, 1951, - /* 1830 */ 623, 1953, 1954, 618, 1512, 613, 1871, 1949, 1950, 57, - /* 1840 */ 258, 1984, 1869, 166, 306, 1951, 623, 1953, 1954, 618, - /* 1850 */ 1868, 613, 22, 1857, 1950, 263, 1544, 56, 265, 270, - /* 1860 */ 17, 88, 89, 91, 275, 23, 95, 10, 12, 1968, - /* 1870 */ 2075, 1390, 594, 1475, 1987, 612, 1465, 620, 1464, 272, - /* 1880 */ 167, 36, 1919, 1421, 619, 1968, 1443, 179, 568, 15, - /* 1890 */ 351, 622, 24, 620, 1441, 1440, 1413, 1950, 1919, 25, - /* 1900 */ 619, 1236, 626, 364, 628, 1213, 1233, 1949, 624, 630, - /* 1910 */ 631, 1984, 1230, 633, 162, 1951, 623, 1953, 1954, 618, - /* 1920 */ 634, 613, 1224, 1949, 636, 637, 639, 1984, 1968, 640, - /* 1930 */ 313, 1951, 623, 1953, 1954, 618, 617, 613, 1228, 1222, - /* 1940 */ 96, 1919, 646, 619, 278, 1245, 1227, 1226, 1225, 97, - /* 1950 */ 70, 1241, 1127, 656, 1950, 1161, 1160, 1159, 1158, 1157, - /* 1960 */ 1156, 1154, 1152, 1151, 668, 1150, 1949, 2128, 1180, 1148, - /* 1970 */ 1984, 1147, 1145, 312, 1951, 623, 1953, 1954, 618, 279, - /* 1980 */ 613, 1146, 2003, 1144, 1143, 1968, 1142, 1177, 1175, 1139, - /* 1990 */ 361, 1138, 1135, 620, 1134, 1133, 1132, 1661, 1919, 688, - /* 2000 */ 619, 690, 1659, 692, 694, 1950, 689, 1657, 693, 696, - /* 2010 */ 698, 697, 1655, 700, 701, 702, 1641, 704, 1085, 1621, - /* 2020 */ 282, 708, 711, 1949, 712, 1376, 1950, 1984, 292, 1596, - /* 2030 */ 313, 1951, 623, 1953, 1954, 618, 1968, 613, 1596, 1596, - /* 2040 */ 1596, 363, 1596, 1596, 620, 1596, 1596, 1596, 1950, 1919, - /* 2050 */ 1596, 619, 1596, 1596, 1596, 1596, 1596, 1968, 1596, 1596, - /* 2060 */ 1596, 1596, 1596, 1596, 1596, 620, 1596, 1596, 1596, 1596, - /* 2070 */ 1919, 1596, 619, 1596, 1949, 1596, 1596, 1596, 1984, 1968, - /* 2080 */ 1596, 313, 1951, 623, 1953, 1954, 618, 620, 613, 1596, - /* 2090 */ 1596, 1596, 1919, 1596, 619, 533, 1596, 1596, 1596, 1984, - /* 2100 */ 1596, 1596, 308, 1951, 623, 1953, 1954, 618, 1596, 613, - /* 2110 */ 1596, 1950, 1596, 1596, 1596, 1596, 1596, 1949, 1596, 1596, - /* 2120 */ 1596, 1984, 1596, 1596, 297, 1951, 623, 1953, 1954, 618, - /* 2130 */ 1596, 613, 1596, 1596, 1596, 1950, 1596, 1596, 1596, 1596, - /* 2140 */ 1596, 1596, 1968, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2150 */ 620, 1596, 1596, 1596, 1596, 1919, 1596, 619, 1596, 1596, - /* 2160 */ 1596, 1596, 1596, 1596, 1596, 1596, 1968, 1596, 1596, 1596, - /* 2170 */ 1596, 1596, 1596, 1596, 620, 1596, 1596, 1596, 1596, 1919, - /* 2180 */ 1949, 619, 1596, 1596, 1984, 1596, 1596, 298, 1951, 623, - /* 2190 */ 1953, 1954, 618, 1596, 613, 1596, 1596, 1950, 1596, 1596, - /* 2200 */ 1596, 1596, 1596, 1596, 1949, 1596, 1596, 1596, 1984, 1596, - /* 2210 */ 1596, 299, 1951, 623, 1953, 1954, 618, 1596, 613, 1596, - /* 2220 */ 1596, 1950, 1596, 1596, 1596, 1596, 1596, 1596, 1968, 1596, - /* 2230 */ 1596, 1596, 1596, 1596, 1596, 1596, 620, 1596, 1596, 1596, - /* 2240 */ 1596, 1919, 1596, 619, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2250 */ 1596, 1596, 1968, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2260 */ 620, 1596, 1596, 1596, 1950, 1919, 1949, 619, 1596, 1596, - /* 2270 */ 1984, 1596, 1596, 305, 1951, 623, 1953, 1954, 618, 1596, - /* 2280 */ 613, 1596, 1950, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2290 */ 1949, 1596, 1596, 1596, 1984, 1968, 1596, 309, 1951, 623, - /* 2300 */ 1953, 1954, 618, 620, 613, 1596, 1596, 1596, 1919, 1596, - /* 2310 */ 619, 1596, 1596, 1968, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2320 */ 1596, 620, 1596, 1596, 1596, 1596, 1919, 1596, 619, 1596, - /* 2330 */ 1596, 1596, 1596, 1949, 1596, 1596, 1596, 1984, 1596, 1596, - /* 2340 */ 301, 1951, 623, 1953, 1954, 618, 1596, 613, 1596, 1596, - /* 2350 */ 1596, 1949, 1596, 1596, 1950, 1984, 1596, 1596, 310, 1951, - /* 2360 */ 623, 1953, 1954, 618, 1596, 613, 1596, 1596, 1596, 1596, - /* 2370 */ 1596, 1596, 1950, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2380 */ 1596, 1596, 1596, 1596, 1596, 1968, 1596, 1596, 1596, 1596, - /* 2390 */ 1596, 1596, 1596, 620, 1596, 1596, 1596, 1596, 1919, 1596, - /* 2400 */ 619, 1596, 1596, 1968, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2410 */ 1596, 620, 1596, 1596, 1596, 1950, 1919, 1596, 619, 1596, - /* 2420 */ 1596, 1596, 1596, 1949, 1596, 1596, 1596, 1984, 1596, 1596, - /* 2430 */ 302, 1951, 623, 1953, 1954, 618, 1596, 613, 1596, 1950, - /* 2440 */ 1596, 1949, 1596, 1596, 1596, 1984, 1968, 1596, 311, 1951, - /* 2450 */ 623, 1953, 1954, 618, 620, 613, 1596, 1596, 1596, 1919, - /* 2460 */ 1596, 619, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2470 */ 1968, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 620, 1596, - /* 2480 */ 1596, 1596, 1596, 1919, 1949, 619, 1596, 1596, 1984, 1596, - /* 2490 */ 1596, 303, 1951, 623, 1953, 1954, 618, 1596, 613, 1596, - /* 2500 */ 1596, 1596, 1950, 1596, 1596, 1596, 1596, 1596, 1949, 1596, - /* 2510 */ 1596, 1596, 1984, 1596, 1596, 316, 1951, 623, 1953, 1954, - /* 2520 */ 618, 1596, 613, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2530 */ 1596, 1596, 1596, 1968, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2540 */ 1596, 620, 1596, 1596, 1596, 1596, 1919, 1596, 619, 1596, - /* 2550 */ 1596, 1596, 1596, 1596, 1596, 1596, 1950, 1596, 1596, 1596, - /* 2560 */ 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2570 */ 1596, 1949, 1596, 1596, 1596, 1984, 1596, 1596, 317, 1951, - /* 2580 */ 623, 1953, 1954, 618, 1596, 613, 1596, 1968, 1596, 1596, - /* 2590 */ 1596, 1596, 1596, 1596, 1596, 620, 1596, 1596, 1596, 1596, - /* 2600 */ 1919, 1596, 619, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2610 */ 1950, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2620 */ 1596, 1596, 1596, 1596, 1596, 1949, 1950, 1596, 1596, 1984, - /* 2630 */ 1596, 1596, 1962, 1951, 623, 1953, 1954, 618, 1596, 613, - /* 2640 */ 1596, 1968, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 620, - /* 2650 */ 1596, 1596, 1596, 1596, 1919, 1596, 619, 1968, 1596, 1596, - /* 2660 */ 1596, 1596, 1596, 1596, 1596, 620, 1596, 1596, 1596, 1950, - /* 2670 */ 1919, 1596, 619, 1596, 1596, 1596, 1596, 1596, 1596, 1949, - /* 2680 */ 1596, 1596, 1596, 1984, 1596, 1596, 1961, 1951, 623, 1953, - /* 2690 */ 1954, 618, 1596, 613, 1596, 1949, 1596, 1596, 1596, 1984, - /* 2700 */ 1968, 1596, 1960, 1951, 623, 1953, 1954, 618, 620, 613, - /* 2710 */ 1596, 1596, 1596, 1919, 1596, 619, 1596, 1596, 1596, 1596, - /* 2720 */ 1596, 1596, 1596, 1596, 1596, 1596, 1950, 1596, 1596, 1596, - /* 2730 */ 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1949, 1596, - /* 2740 */ 1596, 1596, 1984, 1950, 1596, 328, 1951, 623, 1953, 1954, - /* 2750 */ 618, 1596, 613, 1596, 1596, 1596, 1596, 1968, 1596, 1596, - /* 2760 */ 1596, 1596, 1596, 1596, 1596, 620, 1596, 1596, 1596, 1950, - /* 2770 */ 1919, 1596, 619, 1596, 1968, 1596, 1596, 1596, 1596, 1596, - /* 2780 */ 1596, 1596, 620, 1596, 1596, 1596, 1596, 1919, 1596, 619, - /* 2790 */ 1596, 1596, 1596, 1596, 1596, 1949, 1596, 1596, 1596, 1984, - /* 2800 */ 1968, 1596, 329, 1951, 623, 1953, 1954, 618, 620, 613, - /* 2810 */ 1596, 1596, 1949, 1919, 1596, 619, 1984, 1596, 1596, 325, - /* 2820 */ 1951, 623, 1953, 1954, 618, 1596, 613, 1596, 1596, 1596, - /* 2830 */ 1950, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1949, 1596, - /* 2840 */ 1596, 1596, 1984, 1596, 1596, 330, 1951, 623, 1953, 1954, - /* 2850 */ 618, 1596, 613, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2860 */ 1596, 1968, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 620, - /* 2870 */ 1596, 1596, 1596, 1596, 1919, 1596, 619, 1596, 1596, 1596, - /* 2880 */ 1596, 1596, 1596, 1596, 1950, 1596, 1596, 1596, 1596, 1596, - /* 2890 */ 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 621, - /* 2900 */ 1596, 1596, 1596, 1984, 1596, 1596, 308, 1951, 623, 1953, - /* 2910 */ 1954, 618, 1596, 613, 1596, 1968, 1596, 1596, 1596, 1596, - /* 2920 */ 1596, 1596, 1596, 620, 1596, 1596, 1596, 1596, 1919, 1596, - /* 2930 */ 619, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2940 */ 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, 1596, - /* 2950 */ 1596, 1596, 1596, 1949, 1596, 1596, 1596, 1984, 1596, 1596, - /* 2960 */ 307, 1951, 623, 1953, 1954, 618, 1596, 613, + /* 0 */ 1749, 407, 460, 1874, 461, 1643, 469, 367, 461, 1643, + /* 10 */ 1806, 1808, 45, 43, 1533, 1952, 1872, 590, 1630, 466, + /* 20 */ 362, 1745, 1384, 38, 37, 462, 1948, 44, 42, 41, + /* 30 */ 40, 39, 169, 1463, 459, 1382, 229, 464, 1649, 1790, + /* 40 */ 571, 320, 38, 37, 2121, 1813, 44, 42, 41, 40, + /* 50 */ 39, 602, 355, 334, 1860, 1944, 1950, 345, 1458, 570, + /* 60 */ 175, 1811, 1934, 18, 2122, 572, 613, 38, 37, 1965, + /* 70 */ 1390, 44, 42, 41, 40, 39, 468, 1410, 583, 464, + /* 80 */ 1649, 38, 37, 45, 43, 44, 42, 41, 40, 39, + /* 90 */ 354, 362, 171, 1384, 1607, 14, 603, 327, 157, 1112, + /* 100 */ 1983, 1111, 2125, 27, 1463, 1800, 1382, 1762, 586, 134, + /* 110 */ 54, 1570, 602, 1934, 603, 619, 1410, 710, 125, 124, + /* 120 */ 123, 122, 121, 120, 119, 118, 117, 1760, 126, 1458, + /* 130 */ 1113, 1605, 1465, 1466, 18, 499, 35, 276, 1492, 1964, + /* 140 */ 84, 1390, 478, 1999, 64, 1760, 103, 1966, 623, 1968, + /* 150 */ 1969, 618, 602, 613, 130, 2126, 1807, 1808, 172, 2121, + /* 160 */ 2052, 1439, 1448, 1755, 356, 2048, 14, 1464, 1467, 257, + /* 170 */ 2060, 582, 1738, 127, 581, 2125, 84, 2121, 177, 2122, + /* 180 */ 2124, 2126, 1385, 2126, 1383, 2121, 2078, 48, 710, 1262, + /* 190 */ 1263, 160, 570, 175, 1493, 377, 1714, 2122, 572, 1756, + /* 200 */ 1411, 2125, 1409, 1465, 1466, 2122, 2123, 1388, 1389, 396, + /* 210 */ 1438, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 615, 611, + /* 220 */ 1456, 1457, 1459, 1460, 1461, 1462, 2, 48, 1329, 1330, + /* 230 */ 398, 394, 1439, 1448, 478, 60, 156, 547, 1464, 1467, + /* 240 */ 116, 2121, 648, 115, 114, 113, 112, 111, 110, 109, + /* 250 */ 108, 107, 339, 1385, 1560, 1383, 2127, 175, 41, 40, + /* 260 */ 39, 2122, 572, 1328, 1331, 34, 360, 1487, 1488, 1489, + /* 270 */ 1490, 1491, 1495, 1496, 1497, 1498, 1593, 60, 1388, 1389, + /* 280 */ 260, 1438, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 615, + /* 290 */ 611, 1456, 1457, 1459, 1460, 1461, 1462, 2, 169, 11, + /* 300 */ 45, 43, 558, 1558, 1559, 1561, 1562, 159, 362, 1619, + /* 310 */ 1384, 1093, 227, 340, 566, 338, 337, 60, 501, 89, + /* 320 */ 1861, 1463, 503, 1382, 1219, 645, 644, 643, 1223, 642, + /* 330 */ 1225, 1226, 641, 1228, 638, 1676, 1234, 635, 1236, 1237, + /* 340 */ 632, 629, 213, 259, 502, 1952, 1458, 1409, 1751, 401, + /* 350 */ 1095, 18, 1098, 1099, 1813, 11, 1948, 164, 1390, 1948, + /* 360 */ 365, 366, 574, 495, 491, 487, 483, 210, 157, 60, + /* 370 */ 1811, 45, 43, 1468, 86, 322, 178, 1762, 532, 362, + /* 380 */ 530, 1384, 1983, 14, 178, 1944, 1950, 357, 1944, 1950, + /* 390 */ 565, 547, 1463, 49, 1382, 2121, 613, 510, 509, 613, + /* 400 */ 514, 513, 512, 85, 1411, 710, 208, 1608, 131, 508, + /* 410 */ 2127, 175, 11, 507, 9, 2122, 572, 1458, 506, 511, + /* 420 */ 1465, 1466, 267, 268, 505, 1737, 178, 266, 116, 1390, + /* 430 */ 564, 115, 114, 113, 112, 111, 110, 109, 108, 107, + /* 440 */ 38, 37, 681, 679, 44, 42, 41, 40, 39, 1439, + /* 450 */ 1448, 368, 1412, 1813, 46, 1464, 1467, 38, 37, 157, + /* 460 */ 331, 44, 42, 41, 40, 39, 178, 2067, 1762, 1811, + /* 470 */ 1385, 1537, 1383, 207, 201, 60, 710, 1409, 206, 38, + /* 480 */ 37, 474, 657, 44, 42, 41, 40, 39, 1315, 1316, + /* 490 */ 1393, 1465, 1466, 2064, 1629, 1388, 1389, 199, 1438, 1441, + /* 500 */ 1442, 1443, 1444, 1445, 1446, 1447, 615, 611, 1456, 1457, + /* 510 */ 1459, 1460, 1461, 1462, 2, 514, 513, 512, 178, 1409, + /* 520 */ 1439, 1448, 528, 131, 508, 571, 1464, 1467, 507, 2121, + /* 530 */ 1179, 2067, 655, 506, 511, 526, 2067, 524, 1934, 505, + /* 540 */ 1408, 1385, 178, 1383, 570, 175, 100, 259, 1628, 2122, + /* 550 */ 572, 148, 147, 652, 651, 650, 145, 2063, 583, 589, + /* 560 */ 135, 400, 2062, 399, 1627, 1181, 1388, 1389, 1752, 1438, + /* 570 */ 1441, 1442, 1443, 1444, 1445, 1446, 1447, 615, 611, 1456, + /* 580 */ 1457, 1459, 1460, 1461, 1462, 2, 45, 43, 603, 134, + /* 590 */ 1384, 1473, 1934, 1843, 362, 237, 1384, 1409, 713, 52, + /* 600 */ 1874, 547, 180, 1382, 187, 2121, 546, 1463, 1934, 1382, + /* 610 */ 353, 146, 283, 1871, 590, 603, 1965, 1736, 1440, 1760, + /* 620 */ 2127, 175, 375, 1600, 178, 2122, 572, 168, 583, 405, + /* 630 */ 1953, 1856, 1458, 703, 699, 695, 691, 281, 1390, 1396, + /* 640 */ 81, 1948, 183, 80, 1390, 1856, 1760, 1983, 585, 173, + /* 650 */ 2060, 2061, 94, 132, 2065, 617, 185, 45, 43, 134, + /* 660 */ 1934, 603, 619, 53, 547, 362, 1494, 1384, 2121, 46, + /* 670 */ 1944, 1950, 1626, 101, 1753, 126, 274, 583, 1463, 657, + /* 680 */ 1382, 613, 504, 2127, 175, 710, 1964, 443, 2122, 572, + /* 690 */ 1999, 710, 1760, 312, 1966, 623, 1968, 1969, 618, 616, + /* 700 */ 613, 604, 2017, 1458, 1735, 1625, 1465, 1466, 134, 599, + /* 710 */ 44, 42, 41, 40, 39, 1390, 1934, 1599, 561, 174, + /* 720 */ 2060, 2061, 1624, 132, 2065, 136, 38, 37, 2023, 1747, + /* 730 */ 44, 42, 41, 40, 39, 1439, 1448, 32, 1440, 1623, + /* 740 */ 14, 1464, 1467, 603, 424, 191, 190, 1499, 262, 1934, + /* 750 */ 1385, 605, 1383, 2024, 13, 12, 1385, 406, 1383, 228, + /* 760 */ 1622, 607, 710, 2024, 1412, 1355, 1934, 231, 176, 2060, + /* 770 */ 2061, 1412, 132, 2065, 1760, 1388, 1389, 1465, 1466, 8, + /* 780 */ 374, 1388, 1389, 1934, 1438, 1441, 1442, 1443, 1444, 1445, + /* 790 */ 1446, 1447, 615, 611, 1456, 1457, 1459, 1460, 1461, 1462, + /* 800 */ 2, 567, 562, 556, 1934, 603, 1439, 1448, 319, 157, + /* 810 */ 1407, 655, 1464, 1467, 1549, 2072, 1526, 437, 1763, 415, + /* 820 */ 450, 1813, 547, 449, 1361, 1362, 2121, 1385, 1856, 1383, + /* 830 */ 148, 147, 652, 651, 650, 145, 1760, 1812, 421, 189, + /* 840 */ 451, 2127, 175, 423, 1409, 1621, 2122, 572, 649, 1506, + /* 850 */ 575, 1804, 1388, 1389, 610, 1438, 1441, 1442, 1443, 1444, + /* 860 */ 1445, 1446, 1447, 615, 611, 1456, 1457, 1459, 1460, 1461, + /* 870 */ 1462, 2, 1618, 653, 1617, 670, 1804, 1730, 158, 654, + /* 880 */ 1616, 31, 1804, 296, 335, 1673, 603, 38, 37, 1934, + /* 890 */ 1530, 44, 42, 41, 40, 39, 411, 294, 70, 33, + /* 900 */ 429, 69, 1615, 1098, 1099, 38, 37, 184, 1390, 44, + /* 910 */ 42, 41, 40, 39, 236, 408, 1934, 1760, 1934, 195, + /* 920 */ 456, 454, 290, 669, 1934, 1790, 447, 542, 409, 442, + /* 930 */ 441, 440, 439, 436, 435, 434, 433, 432, 428, 427, + /* 940 */ 426, 425, 336, 418, 417, 416, 1934, 413, 412, 333, + /* 950 */ 687, 686, 685, 684, 372, 60, 683, 682, 138, 677, + /* 960 */ 676, 675, 674, 673, 672, 671, 150, 667, 666, 665, + /* 970 */ 371, 370, 662, 661, 660, 659, 658, 1112, 503, 1111, + /* 980 */ 50, 1921, 3, 1526, 235, 1440, 1614, 578, 1613, 1612, + /* 990 */ 603, 603, 212, 603, 102, 603, 655, 1611, 1484, 519, + /* 1000 */ 502, 140, 1392, 128, 430, 476, 1965, 477, 1113, 1757, + /* 1010 */ 1743, 603, 535, 603, 529, 148, 147, 652, 651, 650, + /* 1020 */ 145, 1760, 1760, 87, 1760, 142, 1760, 543, 226, 384, + /* 1030 */ 1934, 232, 1934, 1934, 78, 77, 404, 1983, 1610, 182, + /* 1040 */ 614, 1934, 1760, 522, 1760, 620, 218, 647, 516, 216, + /* 1050 */ 1934, 1650, 619, 225, 547, 1602, 1603, 318, 2121, 1141, + /* 1060 */ 392, 71, 390, 386, 382, 379, 376, 603, 1965, 220, + /* 1070 */ 1715, 576, 219, 2127, 175, 62, 1964, 603, 2122, 572, + /* 1080 */ 1999, 587, 1934, 103, 1966, 623, 1968, 1969, 618, 67, + /* 1090 */ 613, 271, 66, 137, 1142, 143, 2023, 2052, 1760, 1983, + /* 1100 */ 705, 356, 2048, 603, 178, 603, 603, 586, 1760, 603, + /* 1110 */ 603, 79, 1934, 222, 619, 224, 221, 598, 223, 600, + /* 1120 */ 601, 1663, 1965, 277, 369, 241, 47, 1557, 264, 99, + /* 1130 */ 68, 1529, 1656, 1654, 1760, 144, 1760, 1760, 1964, 96, + /* 1140 */ 1760, 1760, 1999, 515, 1620, 103, 1966, 623, 1968, 1969, + /* 1150 */ 618, 1395, 613, 1983, 517, 520, 146, 172, 2092, 2052, + /* 1160 */ 254, 620, 62, 356, 2048, 211, 1934, 47, 619, 663, + /* 1170 */ 13, 12, 47, 1955, 559, 664, 248, 243, 1326, 627, + /* 1180 */ 269, 1965, 595, 144, 1984, 2079, 146, 273, 129, 373, + /* 1190 */ 144, 1160, 1964, 1865, 2082, 1644, 1999, 1158, 584, 103, + /* 1200 */ 1966, 623, 1968, 1969, 618, 1801, 613, 256, 1212, 253, + /* 1210 */ 579, 2141, 1983, 2052, 1500, 1, 378, 356, 2048, 1449, + /* 1220 */ 620, 1957, 4, 383, 289, 1934, 1348, 619, 2086, 332, + /* 1230 */ 284, 1240, 188, 410, 1412, 1244, 445, 1866, 1251, 1407, + /* 1240 */ 1249, 414, 149, 419, 431, 1858, 438, 1965, 444, 446, + /* 1250 */ 452, 1964, 192, 455, 453, 1999, 457, 1413, 103, 1966, + /* 1260 */ 623, 1968, 1969, 618, 458, 613, 467, 1965, 470, 1415, + /* 1270 */ 2141, 198, 2052, 1410, 471, 200, 356, 2048, 1983, 1414, + /* 1280 */ 472, 1416, 203, 473, 475, 479, 620, 2099, 1115, 498, + /* 1290 */ 205, 1934, 82, 619, 83, 209, 496, 500, 1983, 497, + /* 1300 */ 1750, 106, 321, 215, 1746, 534, 620, 1911, 536, 285, + /* 1310 */ 217, 1934, 537, 619, 151, 538, 230, 1964, 544, 233, + /* 1320 */ 152, 1999, 1748, 1744, 103, 1966, 623, 1968, 1969, 618, + /* 1330 */ 153, 613, 154, 560, 1910, 2098, 2141, 1964, 2052, 551, + /* 1340 */ 593, 1999, 356, 2048, 103, 1966, 623, 1968, 1969, 618, + /* 1350 */ 2083, 613, 541, 554, 2097, 239, 2141, 557, 2052, 359, + /* 1360 */ 358, 346, 356, 2048, 1965, 2093, 242, 563, 7, 1398, + /* 1370 */ 2074, 569, 552, 2115, 247, 550, 549, 580, 2144, 1526, + /* 1380 */ 1463, 2120, 1391, 577, 347, 255, 252, 133, 1411, 588, + /* 1390 */ 286, 350, 2068, 591, 592, 1983, 261, 1882, 1881, 1880, + /* 1400 */ 352, 287, 597, 620, 596, 1458, 91, 288, 1934, 93, + /* 1410 */ 619, 1761, 59, 2033, 95, 165, 250, 1390, 625, 1805, + /* 1420 */ 1731, 706, 280, 1965, 249, 251, 709, 291, 707, 51, + /* 1430 */ 315, 295, 323, 293, 1964, 324, 1928, 300, 1999, 1927, + /* 1440 */ 314, 103, 1966, 623, 1968, 1969, 618, 304, 613, 75, + /* 1450 */ 1926, 1925, 76, 2141, 1983, 2052, 1922, 380, 381, 356, + /* 1460 */ 2048, 1376, 620, 1377, 609, 181, 385, 1934, 1920, 619, + /* 1470 */ 2071, 389, 387, 388, 1919, 391, 1918, 393, 1917, 395, + /* 1480 */ 1916, 397, 1351, 1350, 1893, 1892, 402, 403, 1891, 1890, + /* 1490 */ 1306, 1851, 1850, 1964, 1848, 139, 1847, 1999, 1846, 1849, + /* 1500 */ 103, 1966, 623, 1968, 1969, 618, 1845, 613, 1844, 1842, + /* 1510 */ 1841, 1840, 2027, 1965, 2052, 186, 420, 1839, 356, 2048, + /* 1520 */ 422, 1838, 1837, 1836, 1835, 1834, 1833, 1832, 1831, 1399, + /* 1530 */ 1830, 1394, 1829, 1828, 1827, 1826, 1825, 1824, 1823, 141, + /* 1540 */ 1822, 1821, 1820, 1819, 1983, 1818, 1817, 1816, 448, 1815, + /* 1550 */ 1814, 1308, 620, 1187, 1402, 1404, 1678, 1934, 193, 619, + /* 1560 */ 1677, 194, 1675, 1639, 170, 1101, 611, 1456, 1457, 1459, + /* 1570 */ 1460, 1461, 1462, 196, 1638, 1965, 1906, 1900, 73, 1100, + /* 1580 */ 1889, 204, 1888, 1964, 197, 1868, 1739, 1999, 1674, 1672, + /* 1590 */ 103, 1966, 623, 1968, 1969, 618, 74, 613, 1965, 1954, + /* 1600 */ 463, 465, 2025, 202, 2052, 480, 1983, 481, 356, 2048, + /* 1610 */ 482, 1670, 1134, 484, 620, 1668, 485, 489, 486, 1934, + /* 1620 */ 490, 619, 488, 1666, 1653, 492, 1652, 1635, 1741, 1983, + /* 1630 */ 494, 493, 1256, 1740, 1255, 1178, 1177, 620, 1176, 1175, + /* 1640 */ 678, 1172, 1934, 680, 619, 1964, 1664, 1170, 1171, 1999, + /* 1650 */ 1657, 1169, 103, 1966, 623, 1968, 1969, 618, 341, 613, + /* 1660 */ 518, 342, 61, 214, 606, 1965, 2052, 1655, 1964, 343, + /* 1670 */ 356, 2048, 1999, 1634, 1633, 104, 1966, 623, 1968, 1969, + /* 1680 */ 618, 1632, 613, 521, 523, 527, 525, 1366, 1965, 2052, + /* 1690 */ 105, 1368, 1365, 2051, 2048, 531, 1983, 26, 1905, 1357, + /* 1700 */ 1899, 155, 539, 1887, 620, 1885, 19, 2126, 16, 1934, + /* 1710 */ 1572, 619, 28, 238, 553, 555, 240, 1556, 55, 1983, + /* 1720 */ 58, 245, 246, 30, 163, 244, 29, 620, 1548, 540, + /* 1730 */ 1955, 20, 1934, 1592, 619, 1964, 344, 234, 88, 1999, + /* 1740 */ 1593, 63, 104, 1966, 623, 1968, 1969, 618, 1587, 613, + /* 1750 */ 21, 1965, 17, 1586, 348, 1591, 2052, 1590, 621, 349, + /* 1760 */ 608, 2048, 1999, 545, 5, 104, 1966, 623, 1968, 1969, + /* 1770 */ 618, 1965, 613, 258, 1523, 6, 57, 166, 1522, 2052, + /* 1780 */ 1886, 1884, 1983, 326, 2048, 1883, 22, 1867, 263, 1554, + /* 1790 */ 620, 265, 270, 90, 65, 1934, 92, 619, 275, 272, + /* 1800 */ 594, 23, 1983, 12, 10, 1485, 1400, 96, 1453, 2002, + /* 1810 */ 620, 612, 167, 1451, 179, 1934, 36, 619, 1431, 1450, + /* 1820 */ 1475, 1964, 15, 626, 24, 1999, 364, 1423, 161, 1966, + /* 1830 */ 623, 1968, 1969, 618, 1474, 613, 25, 630, 1241, 624, + /* 1840 */ 1965, 1964, 628, 633, 1238, 1999, 1235, 631, 162, 1966, + /* 1850 */ 623, 1968, 1969, 618, 622, 613, 634, 636, 1229, 637, + /* 1860 */ 639, 56, 1227, 640, 1233, 1232, 1218, 646, 1231, 548, + /* 1870 */ 2089, 1983, 1230, 97, 278, 1250, 1246, 98, 1132, 620, + /* 1880 */ 656, 72, 1166, 1165, 1934, 1164, 619, 1163, 1162, 1185, + /* 1890 */ 1161, 1159, 1157, 1156, 1965, 1155, 668, 1153, 1152, 1151, + /* 1900 */ 573, 2142, 1150, 279, 1149, 1182, 1148, 1147, 1180, 1144, + /* 1910 */ 1964, 1965, 1143, 1140, 1999, 1138, 1139, 104, 1966, 623, + /* 1920 */ 1968, 1969, 618, 1137, 613, 1983, 1671, 688, 690, 1669, + /* 1930 */ 689, 2052, 692, 620, 693, 694, 2049, 1667, 1934, 696, + /* 1940 */ 619, 698, 1983, 1665, 700, 702, 697, 701, 1651, 704, + /* 1950 */ 620, 1090, 1631, 282, 708, 1934, 1386, 619, 292, 711, + /* 1960 */ 712, 1606, 1606, 1606, 1964, 1965, 1606, 1606, 1999, 1606, + /* 1970 */ 1606, 161, 1966, 623, 1968, 1969, 618, 1606, 613, 1606, + /* 1980 */ 1606, 1964, 1606, 1965, 1606, 1999, 1606, 1606, 306, 1966, + /* 1990 */ 623, 1968, 1969, 618, 1606, 613, 1983, 1606, 1606, 1606, + /* 2000 */ 1606, 1606, 1606, 1606, 620, 1606, 1606, 1606, 1606, 1934, + /* 2010 */ 1606, 619, 1606, 2090, 1983, 1606, 1606, 1606, 1606, 351, + /* 2020 */ 1606, 1606, 620, 1606, 1606, 1606, 1606, 1934, 1606, 619, + /* 2030 */ 1606, 1606, 568, 1606, 1606, 1964, 1606, 1965, 1606, 1999, + /* 2040 */ 1606, 1606, 162, 1966, 623, 1968, 1969, 618, 1606, 613, + /* 2050 */ 1606, 1606, 1606, 1964, 1606, 1965, 1606, 1999, 1606, 1606, + /* 2060 */ 313, 1966, 623, 1968, 1969, 618, 1606, 613, 1983, 1606, + /* 2070 */ 1606, 1606, 1606, 1606, 1606, 1606, 617, 1606, 1606, 1606, + /* 2080 */ 1606, 1934, 1606, 619, 1606, 1606, 1983, 1606, 1606, 1606, + /* 2090 */ 1606, 361, 1606, 1606, 620, 2143, 1606, 1606, 1606, 1934, + /* 2100 */ 1606, 619, 1606, 1606, 1606, 1606, 1606, 1964, 1606, 1606, + /* 2110 */ 1965, 1999, 1606, 1606, 312, 1966, 623, 1968, 1969, 618, + /* 2120 */ 1606, 613, 1606, 2018, 1606, 1964, 1606, 1606, 1606, 1999, + /* 2130 */ 1965, 1606, 313, 1966, 623, 1968, 1969, 618, 1606, 613, + /* 2140 */ 1606, 1983, 1606, 1606, 1606, 1606, 363, 1606, 1606, 620, + /* 2150 */ 1606, 1606, 1606, 1606, 1934, 1606, 619, 1606, 1606, 1606, + /* 2160 */ 1606, 1983, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 620, + /* 2170 */ 1606, 1606, 1606, 1606, 1934, 1606, 619, 1606, 1606, 1606, + /* 2180 */ 1964, 1606, 1606, 1606, 1999, 1606, 1606, 313, 1966, 623, + /* 2190 */ 1968, 1969, 618, 1606, 613, 1606, 1606, 1965, 1606, 1606, + /* 2200 */ 533, 1606, 1606, 1606, 1999, 1606, 1606, 308, 1966, 623, + /* 2210 */ 1968, 1969, 618, 1606, 613, 1606, 1606, 1606, 1606, 1606, + /* 2220 */ 1606, 1606, 1965, 1606, 1606, 1606, 1606, 1606, 1983, 1606, + /* 2230 */ 1606, 1606, 1606, 1606, 1606, 1606, 620, 1606, 1606, 1606, + /* 2240 */ 1606, 1934, 1606, 619, 1606, 1606, 1606, 1606, 1606, 1965, + /* 2250 */ 1606, 1606, 1606, 1983, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2260 */ 1606, 620, 1606, 1606, 1606, 1606, 1934, 1964, 619, 1606, + /* 2270 */ 1606, 1999, 1606, 1606, 297, 1966, 623, 1968, 1969, 618, + /* 2280 */ 1983, 613, 1606, 1606, 1606, 1606, 1606, 1606, 620, 1606, + /* 2290 */ 1606, 1606, 1964, 1934, 1606, 619, 1999, 1606, 1606, 298, + /* 2300 */ 1966, 623, 1968, 1969, 618, 1606, 613, 1606, 1606, 1965, + /* 2310 */ 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1964, + /* 2320 */ 1606, 1606, 1606, 1999, 1606, 1606, 299, 1966, 623, 1968, + /* 2330 */ 1969, 618, 1965, 613, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2340 */ 1983, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 620, 1606, + /* 2350 */ 1606, 1606, 1606, 1934, 1606, 619, 1606, 1606, 1606, 1606, + /* 2360 */ 1606, 1606, 1606, 1983, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2370 */ 1606, 620, 1606, 1606, 1606, 1606, 1934, 1606, 619, 1964, + /* 2380 */ 1606, 1606, 1606, 1999, 1606, 1606, 305, 1966, 623, 1968, + /* 2390 */ 1969, 618, 1965, 613, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2400 */ 1606, 1606, 1964, 1606, 1606, 1606, 1999, 1606, 1606, 309, + /* 2410 */ 1966, 623, 1968, 1969, 618, 1606, 613, 1606, 1606, 1965, + /* 2420 */ 1606, 1606, 1606, 1983, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2430 */ 1606, 620, 1606, 1606, 1606, 1606, 1934, 1606, 619, 1606, + /* 2440 */ 1606, 1606, 1606, 1606, 1965, 1606, 1606, 1606, 1606, 1606, + /* 2450 */ 1983, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 620, 1606, + /* 2460 */ 1606, 1606, 1964, 1934, 1606, 619, 1999, 1606, 1606, 301, + /* 2470 */ 1966, 623, 1968, 1969, 618, 1983, 613, 1606, 1606, 1606, + /* 2480 */ 1606, 1606, 1606, 620, 1606, 1606, 1606, 1606, 1934, 1964, + /* 2490 */ 619, 1606, 1606, 1999, 1606, 1606, 310, 1966, 623, 1968, + /* 2500 */ 1969, 618, 1965, 613, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2510 */ 1606, 1606, 1606, 1606, 1964, 1606, 1606, 1606, 1999, 1965, + /* 2520 */ 1606, 302, 1966, 623, 1968, 1969, 618, 1606, 613, 1606, + /* 2530 */ 1606, 1606, 1606, 1983, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2540 */ 1606, 620, 1606, 1606, 1606, 1606, 1934, 1606, 619, 1606, + /* 2550 */ 1983, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 620, 1606, + /* 2560 */ 1606, 1606, 1606, 1934, 1606, 619, 1606, 1606, 1606, 1606, + /* 2570 */ 1606, 1965, 1964, 1606, 1606, 1606, 1999, 1606, 1606, 311, + /* 2580 */ 1966, 623, 1968, 1969, 618, 1606, 613, 1606, 1606, 1964, + /* 2590 */ 1606, 1606, 1606, 1999, 1965, 1606, 303, 1966, 623, 1968, + /* 2600 */ 1969, 618, 1983, 613, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2610 */ 620, 1606, 1606, 1606, 1606, 1934, 1606, 619, 1606, 1606, + /* 2620 */ 1606, 1606, 1606, 1965, 1606, 1983, 1606, 1606, 1606, 1606, + /* 2630 */ 1606, 1606, 1606, 620, 1606, 1606, 1606, 1606, 1934, 1606, + /* 2640 */ 619, 1964, 1606, 1606, 1606, 1999, 1606, 1606, 316, 1966, + /* 2650 */ 623, 1968, 1969, 618, 1983, 613, 1606, 1606, 1606, 1606, + /* 2660 */ 1606, 1606, 620, 1606, 1964, 1606, 1606, 1934, 1999, 619, + /* 2670 */ 1606, 317, 1966, 623, 1968, 1969, 618, 1606, 613, 1606, + /* 2680 */ 1606, 1965, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2690 */ 1606, 1606, 1606, 1964, 1606, 1606, 1606, 1999, 1606, 1965, + /* 2700 */ 1977, 1966, 623, 1968, 1969, 618, 1606, 613, 1606, 1606, + /* 2710 */ 1606, 1606, 1983, 1606, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2720 */ 620, 1606, 1606, 1606, 1606, 1934, 1606, 619, 1606, 1606, + /* 2730 */ 1983, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 620, 1606, + /* 2740 */ 1606, 1606, 1606, 1934, 1606, 619, 1606, 1606, 1606, 1606, + /* 2750 */ 1606, 1964, 1606, 1606, 1606, 1999, 1606, 1606, 1976, 1966, + /* 2760 */ 623, 1968, 1969, 618, 1965, 613, 1606, 1606, 1606, 1964, + /* 2770 */ 1606, 1606, 1606, 1999, 1606, 1606, 1975, 1966, 623, 1968, + /* 2780 */ 1969, 618, 1606, 613, 1606, 1606, 1965, 1606, 1606, 1606, + /* 2790 */ 1606, 1606, 1606, 1606, 1606, 1983, 1606, 1606, 1606, 1606, + /* 2800 */ 1606, 1606, 1606, 620, 1606, 1606, 1606, 1606, 1934, 1606, + /* 2810 */ 619, 1606, 1606, 1606, 1606, 1606, 1606, 1983, 1606, 1606, + /* 2820 */ 1606, 1606, 1606, 1606, 1606, 620, 1606, 1606, 1606, 1606, + /* 2830 */ 1934, 1606, 619, 1606, 1964, 1606, 1606, 1606, 1999, 1606, + /* 2840 */ 1606, 328, 1966, 623, 1968, 1969, 618, 1965, 613, 1606, + /* 2850 */ 1606, 1606, 1606, 1606, 1606, 1606, 1964, 1606, 1606, 1606, + /* 2860 */ 1999, 1606, 1606, 329, 1966, 623, 1968, 1969, 618, 1965, + /* 2870 */ 613, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1983, 1606, + /* 2880 */ 1606, 1606, 1606, 1606, 1606, 1606, 620, 1606, 1606, 1606, + /* 2890 */ 1606, 1934, 1606, 619, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2900 */ 1983, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 620, 1606, + /* 2910 */ 1606, 1606, 1606, 1934, 1606, 619, 1606, 1964, 1606, 1606, + /* 2920 */ 1606, 1999, 1606, 1606, 325, 1966, 623, 1968, 1969, 618, + /* 2930 */ 1965, 613, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1964, + /* 2940 */ 1606, 1606, 1606, 1999, 1606, 1606, 330, 1966, 623, 1968, + /* 2950 */ 1969, 618, 1606, 613, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2960 */ 1606, 1983, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 620, + /* 2970 */ 1606, 1606, 1606, 1606, 1934, 1606, 619, 1606, 1606, 1606, + /* 2980 */ 1606, 1606, 1965, 1606, 1606, 1606, 1606, 1606, 1606, 1606, + /* 2990 */ 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, + /* 3000 */ 621, 1606, 1606, 1606, 1999, 1606, 1606, 308, 1966, 623, + /* 3010 */ 1968, 1969, 618, 1983, 613, 1606, 1606, 1606, 1606, 1606, + /* 3020 */ 1606, 620, 1606, 1606, 1606, 1606, 1934, 1606, 619, 1606, + /* 3030 */ 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, + /* 3040 */ 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, 1606, + /* 3050 */ 1606, 1606, 1964, 1606, 1606, 1606, 1999, 1606, 1606, 307, + /* 3060 */ 1966, 623, 1968, 1969, 618, 1606, 613, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 331, 350, 333, 334, 359, 331, 324, 333, 334, 358, - /* 10 */ 391, 341, 12, 13, 14, 360, 358, 326, 367, 328, - /* 20 */ 20, 20, 22, 8, 9, 355, 371, 12, 13, 14, - /* 30 */ 15, 16, 20, 33, 364, 35, 0, 379, 380, 20, - /* 40 */ 360, 369, 8, 9, 372, 373, 12, 13, 14, 15, - /* 50 */ 16, 371, 335, 366, 399, 400, 401, 335, 58, 44, - /* 60 */ 14, 2, 0, 63, 377, 410, 20, 8, 9, 387, - /* 70 */ 70, 12, 13, 14, 15, 16, 357, 327, 358, 399, - /* 80 */ 400, 401, 4, 12, 13, 365, 20, 360, 366, 370, - /* 90 */ 410, 20, 375, 22, 374, 95, 332, 63, 371, 335, - /* 100 */ 336, 65, 66, 67, 33, 350, 35, 95, 358, 73, - /* 110 */ 74, 429, 14, 358, 78, 433, 366, 117, 20, 83, - /* 120 */ 84, 371, 367, 373, 62, 89, 399, 400, 20, 58, - /* 130 */ 448, 449, 132, 133, 63, 453, 454, 410, 104, 332, - /* 140 */ 342, 70, 335, 336, 335, 347, 396, 425, 426, 427, - /* 150 */ 400, 429, 430, 403, 404, 405, 406, 407, 408, 429, - /* 160 */ 410, 161, 162, 433, 163, 415, 95, 417, 65, 66, - /* 170 */ 67, 421, 422, 95, 62, 366, 73, 74, 448, 449, - /* 180 */ 180, 78, 182, 453, 454, 435, 83, 84, 117, 414, - /* 190 */ 360, 416, 89, 443, 160, 127, 12, 13, 14, 15, - /* 200 */ 16, 371, 4, 132, 133, 205, 206, 161, 208, 209, + /* 0 */ 359, 335, 331, 373, 333, 334, 331, 369, 333, 334, + /* 10 */ 372, 373, 12, 13, 14, 360, 386, 387, 327, 14, + /* 20 */ 20, 359, 22, 8, 9, 20, 371, 12, 13, 14, + /* 30 */ 15, 16, 358, 33, 332, 35, 351, 335, 336, 354, + /* 40 */ 430, 375, 8, 9, 434, 358, 12, 13, 14, 15, + /* 50 */ 16, 20, 365, 379, 380, 400, 401, 402, 58, 449, + /* 60 */ 450, 374, 371, 63, 454, 455, 411, 8, 9, 327, + /* 70 */ 70, 12, 13, 14, 15, 16, 332, 20, 335, 335, + /* 80 */ 336, 8, 9, 12, 13, 12, 13, 14, 15, 16, + /* 90 */ 350, 20, 357, 22, 0, 95, 335, 63, 358, 20, + /* 100 */ 358, 22, 3, 44, 33, 370, 35, 367, 366, 366, + /* 110 */ 349, 96, 20, 371, 335, 373, 20, 117, 24, 25, + /* 120 */ 26, 27, 28, 29, 30, 31, 32, 366, 349, 58, + /* 130 */ 51, 324, 132, 133, 63, 356, 419, 420, 104, 397, + /* 140 */ 341, 70, 62, 401, 4, 366, 404, 405, 406, 407, + /* 150 */ 408, 409, 20, 411, 355, 430, 372, 373, 416, 434, + /* 160 */ 418, 161, 162, 364, 422, 423, 95, 167, 168, 426, + /* 170 */ 427, 428, 0, 430, 431, 450, 341, 434, 436, 454, + /* 180 */ 455, 430, 182, 3, 184, 434, 444, 95, 117, 132, + /* 190 */ 133, 342, 449, 450, 160, 388, 347, 454, 455, 364, + /* 200 */ 20, 450, 20, 132, 133, 454, 455, 207, 208, 177, /* 210 */ 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - /* 220 */ 220, 221, 222, 223, 224, 225, 226, 161, 162, 399, - /* 230 */ 400, 20, 161, 162, 425, 426, 427, 350, 429, 430, - /* 240 */ 410, 43, 433, 45, 46, 358, 95, 20, 358, 22, - /* 250 */ 37, 180, 205, 182, 367, 187, 188, 448, 449, 191, - /* 260 */ 79, 193, 453, 454, 374, 231, 232, 233, 234, 235, - /* 270 */ 236, 237, 238, 239, 240, 241, 205, 206, 51, 208, - /* 280 */ 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, - /* 290 */ 219, 220, 221, 222, 223, 224, 225, 226, 3, 228, - /* 300 */ 12, 13, 255, 256, 257, 258, 259, 228, 20, 230, - /* 310 */ 22, 98, 20, 100, 101, 20, 103, 335, 137, 138, - /* 320 */ 107, 33, 244, 35, 108, 109, 110, 111, 112, 113, + /* 220 */ 220, 221, 222, 223, 224, 225, 226, 95, 132, 133, + /* 230 */ 198, 199, 161, 162, 62, 95, 163, 430, 167, 168, + /* 240 */ 21, 434, 106, 24, 25, 26, 27, 28, 29, 30, + /* 250 */ 31, 32, 37, 182, 207, 184, 449, 450, 14, 15, + /* 260 */ 16, 454, 455, 167, 168, 231, 232, 233, 234, 235, + /* 270 */ 236, 237, 238, 239, 240, 241, 96, 95, 207, 208, + /* 280 */ 58, 210, 211, 212, 213, 214, 215, 216, 217, 218, + /* 290 */ 219, 220, 221, 222, 223, 224, 225, 226, 358, 228, + /* 300 */ 12, 13, 255, 256, 257, 258, 259, 326, 20, 328, + /* 310 */ 22, 4, 127, 98, 20, 100, 101, 95, 103, 97, + /* 320 */ 380, 33, 107, 35, 108, 109, 110, 111, 112, 113, /* 330 */ 114, 115, 116, 117, 118, 0, 120, 121, 122, 123, - /* 340 */ 124, 125, 129, 132, 133, 58, 58, 58, 366, 58, - /* 350 */ 429, 63, 126, 63, 433, 339, 21, 228, 70, 24, - /* 360 */ 25, 26, 27, 28, 29, 30, 31, 32, 358, 353, - /* 370 */ 449, 12, 13, 14, 453, 454, 414, 361, 416, 20, - /* 380 */ 387, 22, 95, 95, 97, 94, 97, 95, 97, 95, - /* 390 */ 380, 96, 33, 21, 35, 244, 24, 25, 26, 27, - /* 400 */ 28, 29, 30, 31, 32, 117, 424, 425, 426, 427, - /* 410 */ 95, 429, 430, 33, 373, 189, 190, 58, 373, 429, - /* 420 */ 132, 133, 429, 433, 383, 341, 433, 386, 48, 70, - /* 430 */ 20, 386, 22, 166, 54, 55, 56, 57, 58, 449, - /* 440 */ 22, 448, 449, 453, 454, 35, 453, 454, 364, 161, - /* 450 */ 162, 126, 127, 35, 95, 0, 131, 20, 163, 8, - /* 460 */ 9, 51, 358, 12, 13, 14, 15, 16, 180, 365, - /* 470 */ 182, 20, 20, 179, 94, 181, 117, 97, 374, 24, - /* 480 */ 25, 26, 27, 28, 29, 30, 31, 32, 70, 402, - /* 490 */ 327, 132, 133, 205, 206, 205, 208, 209, 210, 211, + /* 340 */ 124, 125, 33, 163, 129, 360, 58, 20, 360, 388, + /* 350 */ 43, 63, 45, 46, 358, 228, 371, 48, 70, 371, + /* 360 */ 350, 365, 263, 54, 55, 56, 57, 58, 358, 95, + /* 370 */ 374, 12, 13, 14, 189, 190, 244, 367, 193, 20, + /* 380 */ 195, 22, 358, 95, 244, 400, 401, 402, 400, 401, + /* 390 */ 366, 430, 33, 95, 35, 434, 411, 344, 345, 411, + /* 400 */ 65, 66, 67, 94, 20, 117, 97, 0, 73, 74, + /* 410 */ 449, 450, 228, 78, 230, 454, 455, 58, 83, 84, + /* 420 */ 132, 133, 126, 127, 89, 0, 244, 131, 21, 70, + /* 430 */ 406, 24, 25, 26, 27, 28, 29, 30, 31, 32, + /* 440 */ 8, 9, 344, 345, 12, 13, 14, 15, 16, 161, + /* 450 */ 162, 350, 20, 358, 95, 167, 168, 8, 9, 358, + /* 460 */ 365, 12, 13, 14, 15, 16, 244, 403, 367, 374, + /* 470 */ 182, 14, 184, 164, 165, 95, 117, 20, 169, 8, + /* 480 */ 9, 172, 62, 12, 13, 14, 15, 16, 161, 162, + /* 490 */ 35, 132, 133, 429, 327, 207, 208, 188, 210, 211, /* 500 */ 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, - /* 510 */ 222, 223, 224, 225, 226, 428, 249, 250, 251, 14, - /* 520 */ 161, 162, 8, 9, 160, 20, 12, 13, 14, 15, - /* 530 */ 16, 244, 95, 429, 371, 117, 244, 433, 244, 180, - /* 540 */ 175, 182, 20, 358, 164, 165, 0, 167, 418, 419, - /* 550 */ 170, 366, 448, 449, 358, 387, 20, 453, 454, 244, - /* 560 */ 327, 196, 197, 367, 205, 206, 186, 208, 209, 210, + /* 510 */ 222, 223, 224, 225, 226, 65, 66, 67, 244, 20, + /* 520 */ 161, 162, 21, 73, 74, 430, 167, 168, 78, 434, + /* 530 */ 35, 403, 107, 83, 84, 34, 403, 36, 371, 89, + /* 540 */ 20, 182, 244, 184, 449, 450, 339, 163, 327, 454, + /* 550 */ 455, 126, 127, 128, 129, 130, 131, 429, 335, 388, + /* 560 */ 353, 181, 429, 183, 327, 70, 207, 208, 361, 210, /* 570 */ 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - /* 580 */ 221, 222, 223, 224, 225, 226, 12, 13, 335, 335, - /* 590 */ 405, 358, 372, 373, 20, 231, 22, 429, 180, 366, - /* 600 */ 182, 433, 349, 349, 371, 241, 373, 33, 62, 35, - /* 610 */ 96, 14, 15, 16, 163, 163, 448, 449, 358, 366, - /* 620 */ 366, 453, 454, 205, 206, 365, 387, 344, 345, 396, - /* 630 */ 3, 335, 58, 400, 374, 39, 403, 404, 405, 406, - /* 640 */ 407, 408, 0, 410, 70, 349, 413, 402, 415, 416, - /* 650 */ 417, 327, 356, 402, 421, 422, 387, 12, 13, 20, - /* 660 */ 4, 21, 366, 335, 327, 20, 161, 22, 429, 95, - /* 670 */ 1, 2, 433, 428, 34, 19, 36, 349, 33, 428, - /* 680 */ 35, 244, 358, 339, 356, 366, 35, 448, 449, 33, - /* 690 */ 366, 117, 453, 454, 366, 371, 377, 373, 429, 344, - /* 700 */ 345, 20, 433, 58, 48, 361, 132, 133, 371, 53, - /* 710 */ 413, 335, 106, 416, 58, 70, 327, 448, 449, 327, - /* 720 */ 396, 70, 453, 454, 400, 349, 366, 403, 404, 405, - /* 730 */ 406, 407, 408, 335, 410, 161, 162, 377, 62, 415, - /* 740 */ 95, 417, 366, 335, 335, 421, 422, 349, 351, 107, - /* 750 */ 94, 354, 368, 97, 180, 371, 182, 349, 349, 107, - /* 760 */ 371, 327, 117, 371, 366, 96, 0, 443, 126, 127, - /* 770 */ 128, 129, 130, 131, 366, 366, 70, 132, 133, 205, - /* 780 */ 206, 129, 208, 209, 210, 211, 212, 213, 214, 215, + /* 580 */ 221, 222, 223, 224, 225, 226, 12, 13, 335, 366, + /* 590 */ 22, 14, 371, 0, 20, 163, 22, 20, 19, 163, + /* 600 */ 373, 430, 349, 35, 58, 434, 170, 33, 371, 35, + /* 610 */ 383, 44, 33, 386, 387, 335, 327, 0, 161, 366, + /* 620 */ 449, 450, 388, 174, 244, 454, 455, 48, 335, 349, + /* 630 */ 360, 366, 58, 54, 55, 56, 57, 58, 70, 184, + /* 640 */ 94, 371, 377, 97, 70, 366, 366, 358, 425, 426, + /* 650 */ 427, 428, 339, 430, 431, 366, 377, 12, 13, 366, + /* 660 */ 371, 335, 373, 96, 430, 20, 160, 22, 434, 95, + /* 670 */ 400, 401, 327, 94, 361, 349, 97, 335, 33, 62, + /* 680 */ 35, 411, 356, 449, 450, 117, 397, 79, 454, 455, + /* 690 */ 401, 117, 366, 404, 405, 406, 407, 408, 409, 410, + /* 700 */ 411, 412, 413, 58, 0, 327, 132, 133, 366, 130, + /* 710 */ 12, 13, 14, 15, 16, 70, 371, 268, 166, 426, + /* 720 */ 427, 428, 327, 430, 431, 414, 8, 9, 417, 359, + /* 730 */ 12, 13, 14, 15, 16, 161, 162, 231, 161, 327, + /* 740 */ 95, 167, 168, 335, 151, 137, 138, 241, 169, 371, + /* 750 */ 182, 415, 184, 417, 1, 2, 182, 349, 184, 126, + /* 760 */ 327, 415, 117, 417, 20, 186, 371, 188, 426, 427, + /* 770 */ 428, 20, 430, 431, 366, 207, 208, 132, 133, 39, + /* 780 */ 388, 207, 208, 371, 210, 211, 212, 213, 214, 215, /* 790 */ 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, - /* 800 */ 226, 18, 163, 20, 335, 371, 161, 162, 327, 368, - /* 810 */ 27, 368, 371, 30, 371, 49, 33, 351, 349, 70, - /* 820 */ 354, 346, 42, 348, 44, 180, 0, 182, 327, 327, - /* 830 */ 327, 48, 44, 50, 2, 366, 53, 45, 46, 243, - /* 840 */ 8, 9, 0, 0, 12, 13, 14, 15, 16, 20, - /* 850 */ 205, 206, 371, 208, 209, 210, 211, 212, 213, 214, + /* 800 */ 226, 249, 250, 251, 371, 335, 161, 162, 18, 358, + /* 810 */ 20, 107, 167, 168, 96, 242, 243, 27, 367, 349, + /* 820 */ 30, 358, 430, 33, 191, 192, 434, 182, 366, 184, + /* 830 */ 126, 127, 128, 129, 130, 131, 366, 374, 48, 377, + /* 840 */ 50, 449, 450, 53, 20, 327, 454, 455, 368, 96, + /* 850 */ 44, 371, 207, 208, 63, 210, 211, 212, 213, 214, /* 860 */ 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, - /* 870 */ 225, 226, 371, 371, 371, 8, 9, 94, 359, 12, - /* 880 */ 13, 14, 15, 16, 96, 99, 242, 243, 102, 106, - /* 890 */ 263, 65, 66, 67, 68, 69, 4, 71, 72, 73, - /* 900 */ 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, - /* 910 */ 84, 85, 86, 87, 88, 89, 90, 91, 42, 136, - /* 920 */ 44, 35, 139, 140, 141, 142, 143, 144, 145, 146, - /* 930 */ 147, 148, 149, 150, 151, 152, 153, 154, 155, 106, - /* 940 */ 157, 158, 159, 18, 44, 387, 8, 9, 23, 107, - /* 950 */ 12, 13, 14, 15, 16, 99, 99, 327, 102, 102, - /* 960 */ 327, 327, 37, 38, 99, 328, 41, 102, 126, 127, - /* 970 */ 128, 129, 130, 131, 359, 8, 9, 327, 335, 12, - /* 980 */ 13, 14, 15, 16, 59, 60, 61, 429, 358, 156, - /* 990 */ 161, 433, 349, 335, 151, 44, 366, 327, 327, 327, - /* 1000 */ 95, 371, 22, 373, 371, 371, 448, 449, 358, 366, - /* 1010 */ 105, 453, 454, 335, 163, 35, 366, 335, 335, 168, - /* 1020 */ 95, 371, 327, 373, 366, 0, 396, 349, 44, 44, - /* 1030 */ 400, 349, 349, 403, 404, 405, 406, 407, 408, 172, - /* 1040 */ 410, 371, 371, 371, 366, 415, 396, 417, 366, 366, - /* 1050 */ 400, 421, 422, 403, 404, 405, 406, 407, 408, 134, - /* 1060 */ 410, 35, 432, 96, 335, 415, 371, 417, 182, 327, - /* 1070 */ 107, 421, 422, 48, 327, 132, 133, 327, 349, 359, - /* 1080 */ 96, 96, 432, 425, 426, 427, 359, 429, 430, 126, - /* 1090 */ 127, 128, 129, 130, 131, 366, 359, 172, 173, 174, - /* 1100 */ 358, 163, 177, 335, 359, 335, 347, 381, 366, 446, - /* 1110 */ 335, 0, 327, 371, 44, 373, 327, 349, 371, 349, - /* 1120 */ 195, 371, 457, 198, 349, 200, 201, 202, 203, 204, - /* 1130 */ 335, 1, 2, 22, 366, 268, 366, 245, 396, 335, - /* 1140 */ 335, 366, 400, 358, 349, 403, 404, 405, 406, 407, - /* 1150 */ 408, 366, 410, 349, 349, 327, 371, 415, 373, 417, - /* 1160 */ 371, 366, 0, 421, 422, 0, 96, 267, 327, 244, - /* 1170 */ 366, 366, 8, 9, 432, 44, 12, 13, 14, 15, - /* 1180 */ 16, 396, 335, 337, 22, 400, 358, 22, 403, 404, - /* 1190 */ 405, 406, 407, 408, 366, 410, 349, 440, 47, 371, - /* 1200 */ 415, 373, 417, 44, 44, 44, 421, 422, 182, 337, - /* 1210 */ 44, 44, 371, 366, 334, 44, 265, 432, 44, 12, - /* 1220 */ 13, 44, 327, 44, 396, 13, 44, 96, 400, 22, - /* 1230 */ 44, 403, 404, 405, 406, 407, 408, 13, 410, 35, - /* 1240 */ 33, 358, 35, 415, 381, 417, 95, 35, 370, 421, - /* 1250 */ 422, 381, 431, 358, 423, 96, 96, 96, 450, 35, - /* 1260 */ 432, 366, 96, 96, 434, 58, 371, 96, 373, 246, - /* 1270 */ 96, 398, 397, 96, 70, 96, 327, 70, 96, 48, - /* 1280 */ 178, 42, 96, 389, 378, 20, 378, 160, 381, 376, - /* 1290 */ 20, 396, 335, 335, 378, 400, 376, 376, 403, 404, - /* 1300 */ 405, 406, 407, 408, 93, 410, 335, 358, 343, 335, - /* 1310 */ 415, 335, 417, 20, 20, 366, 421, 422, 329, 329, - /* 1320 */ 371, 393, 373, 341, 117, 373, 20, 341, 336, 20, - /* 1330 */ 388, 336, 341, 335, 341, 341, 52, 341, 341, 338, - /* 1340 */ 338, 329, 329, 335, 371, 396, 358, 194, 371, 400, - /* 1350 */ 395, 392, 403, 404, 405, 406, 407, 408, 358, 410, - /* 1360 */ 339, 358, 327, 358, 415, 358, 417, 358, 358, 358, - /* 1370 */ 421, 422, 358, 358, 358, 185, 393, 373, 339, 335, - /* 1380 */ 381, 260, 254, 439, 439, 253, 171, 180, 442, 182, - /* 1390 */ 371, 371, 438, 358, 441, 371, 262, 261, 381, 371, - /* 1400 */ 439, 366, 384, 437, 247, 436, 371, 269, 373, 266, - /* 1410 */ 264, 384, 205, 206, 458, 243, 452, 366, 20, 451, - /* 1420 */ 398, 335, 339, 336, 217, 218, 219, 220, 221, 222, - /* 1430 */ 223, 396, 402, 384, 371, 400, 327, 371, 403, 404, - /* 1440 */ 405, 406, 407, 408, 371, 410, 371, 371, 384, 371, - /* 1450 */ 415, 165, 417, 382, 339, 354, 421, 422, 339, 366, - /* 1460 */ 95, 420, 95, 371, 348, 362, 36, 358, 335, 330, - /* 1470 */ 329, 390, 352, 394, 339, 366, 385, 352, 352, 327, - /* 1480 */ 371, 385, 373, 325, 340, 0, 0, 187, 0, 0, - /* 1490 */ 42, 0, 35, 35, 199, 35, 35, 199, 0, 35, - /* 1500 */ 35, 199, 0, 199, 0, 396, 35, 0, 0, 400, - /* 1510 */ 358, 35, 403, 404, 405, 406, 407, 408, 366, 410, - /* 1520 */ 182, 22, 327, 371, 180, 373, 417, 176, 175, 0, - /* 1530 */ 421, 422, 0, 0, 0, 0, 0, 47, 0, 42, - /* 1540 */ 0, 0, 0, 0, 0, 0, 0, 0, 396, 35, - /* 1550 */ 327, 151, 400, 358, 0, 403, 404, 405, 406, 407, - /* 1560 */ 408, 366, 410, 151, 0, 0, 371, 0, 373, 417, - /* 1570 */ 42, 0, 0, 421, 422, 0, 0, 0, 0, 0, - /* 1580 */ 0, 358, 0, 0, 0, 0, 0, 0, 0, 366, - /* 1590 */ 0, 396, 0, 0, 371, 400, 373, 0, 403, 404, - /* 1600 */ 405, 406, 407, 408, 0, 410, 0, 135, 0, 35, - /* 1610 */ 0, 22, 417, 58, 0, 58, 421, 422, 0, 396, - /* 1620 */ 0, 14, 19, 400, 0, 44, 403, 404, 405, 406, - /* 1630 */ 407, 408, 409, 410, 411, 412, 33, 42, 327, 39, - /* 1640 */ 14, 47, 40, 47, 39, 47, 0, 0, 0, 171, - /* 1650 */ 39, 48, 0, 0, 0, 64, 0, 54, 55, 56, - /* 1660 */ 57, 58, 0, 35, 48, 0, 35, 48, 39, 358, - /* 1670 */ 0, 39, 35, 48, 39, 0, 35, 366, 48, 39, - /* 1680 */ 0, 327, 371, 0, 373, 0, 0, 0, 22, 44, - /* 1690 */ 35, 22, 35, 35, 35, 35, 0, 94, 327, 35, - /* 1700 */ 97, 22, 35, 104, 0, 44, 35, 396, 0, 35, - /* 1710 */ 22, 400, 358, 50, 403, 404, 405, 406, 407, 408, - /* 1720 */ 366, 410, 22, 102, 0, 371, 35, 373, 0, 358, - /* 1730 */ 35, 0, 22, 130, 20, 96, 35, 366, 35, 95, - /* 1740 */ 192, 0, 371, 0, 373, 183, 35, 22, 0, 0, - /* 1750 */ 396, 44, 327, 3, 400, 444, 445, 403, 404, 405, - /* 1760 */ 406, 407, 408, 248, 410, 252, 165, 396, 327, 96, - /* 1770 */ 167, 400, 163, 96, 403, 404, 405, 406, 407, 408, - /* 1780 */ 163, 410, 169, 358, 95, 163, 227, 184, 417, 186, - /* 1790 */ 44, 366, 95, 422, 96, 44, 371, 95, 373, 358, - /* 1800 */ 95, 168, 168, 47, 95, 47, 44, 366, 96, 455, - /* 1810 */ 456, 95, 371, 96, 373, 96, 248, 3, 44, 96, - /* 1820 */ 35, 396, 35, 35, 35, 400, 35, 35, 403, 404, - /* 1830 */ 405, 406, 407, 408, 96, 410, 0, 396, 327, 44, - /* 1840 */ 47, 400, 0, 47, 403, 404, 405, 406, 407, 408, - /* 1850 */ 0, 410, 95, 0, 327, 96, 96, 242, 95, 95, - /* 1860 */ 248, 95, 39, 95, 47, 44, 105, 229, 2, 358, - /* 1870 */ 445, 22, 166, 205, 95, 95, 227, 366, 227, 164, - /* 1880 */ 47, 95, 371, 22, 373, 358, 96, 47, 447, 95, - /* 1890 */ 363, 207, 95, 366, 96, 96, 96, 327, 371, 95, - /* 1900 */ 373, 96, 35, 35, 95, 22, 96, 396, 106, 35, - /* 1910 */ 95, 400, 96, 35, 403, 404, 405, 406, 407, 408, - /* 1920 */ 95, 410, 96, 396, 35, 95, 35, 400, 358, 95, - /* 1930 */ 403, 404, 405, 406, 407, 408, 366, 410, 119, 96, - /* 1940 */ 95, 371, 107, 373, 44, 35, 119, 119, 119, 95, - /* 1950 */ 95, 22, 64, 63, 327, 35, 35, 35, 35, 35, - /* 1960 */ 35, 35, 35, 35, 92, 35, 396, 456, 70, 35, - /* 1970 */ 400, 35, 22, 403, 404, 405, 406, 407, 408, 44, - /* 1980 */ 410, 35, 412, 35, 35, 358, 35, 70, 35, 35, - /* 1990 */ 363, 35, 35, 366, 35, 22, 35, 0, 371, 35, - /* 2000 */ 373, 39, 0, 35, 39, 327, 48, 0, 48, 35, - /* 2010 */ 39, 48, 0, 35, 48, 39, 0, 35, 35, 0, - /* 2020 */ 22, 21, 21, 396, 20, 22, 327, 400, 22, 459, - /* 2030 */ 403, 404, 405, 406, 407, 408, 358, 410, 459, 459, - /* 2040 */ 459, 363, 459, 459, 366, 459, 459, 459, 327, 371, - /* 2050 */ 459, 373, 459, 459, 459, 459, 459, 358, 459, 459, - /* 2060 */ 459, 459, 459, 459, 459, 366, 459, 459, 459, 459, - /* 2070 */ 371, 459, 373, 459, 396, 459, 459, 459, 400, 358, - /* 2080 */ 459, 403, 404, 405, 406, 407, 408, 366, 410, 459, - /* 2090 */ 459, 459, 371, 459, 373, 396, 459, 459, 459, 400, - /* 2100 */ 459, 459, 403, 404, 405, 406, 407, 408, 459, 410, - /* 2110 */ 459, 327, 459, 459, 459, 459, 459, 396, 459, 459, - /* 2120 */ 459, 400, 459, 459, 403, 404, 405, 406, 407, 408, - /* 2130 */ 459, 410, 459, 459, 459, 327, 459, 459, 459, 459, - /* 2140 */ 459, 459, 358, 459, 459, 459, 459, 459, 459, 459, - /* 2150 */ 366, 459, 459, 459, 459, 371, 459, 373, 459, 459, - /* 2160 */ 459, 459, 459, 459, 459, 459, 358, 459, 459, 459, - /* 2170 */ 459, 459, 459, 459, 366, 459, 459, 459, 459, 371, - /* 2180 */ 396, 373, 459, 459, 400, 459, 459, 403, 404, 405, - /* 2190 */ 406, 407, 408, 459, 410, 459, 459, 327, 459, 459, - /* 2200 */ 459, 459, 459, 459, 396, 459, 459, 459, 400, 459, - /* 2210 */ 459, 403, 404, 405, 406, 407, 408, 459, 410, 459, - /* 2220 */ 459, 327, 459, 459, 459, 459, 459, 459, 358, 459, - /* 2230 */ 459, 459, 459, 459, 459, 459, 366, 459, 459, 459, - /* 2240 */ 459, 371, 459, 373, 459, 459, 459, 459, 459, 459, - /* 2250 */ 459, 459, 358, 459, 459, 459, 459, 459, 459, 459, - /* 2260 */ 366, 459, 459, 459, 327, 371, 396, 373, 459, 459, - /* 2270 */ 400, 459, 459, 403, 404, 405, 406, 407, 408, 459, - /* 2280 */ 410, 459, 327, 459, 459, 459, 459, 459, 459, 459, - /* 2290 */ 396, 459, 459, 459, 400, 358, 459, 403, 404, 405, - /* 2300 */ 406, 407, 408, 366, 410, 459, 459, 459, 371, 459, - /* 2310 */ 373, 459, 459, 358, 459, 459, 459, 459, 459, 459, - /* 2320 */ 459, 366, 459, 459, 459, 459, 371, 459, 373, 459, - /* 2330 */ 459, 459, 459, 396, 459, 459, 459, 400, 459, 459, - /* 2340 */ 403, 404, 405, 406, 407, 408, 459, 410, 459, 459, - /* 2350 */ 459, 396, 459, 459, 327, 400, 459, 459, 403, 404, - /* 2360 */ 405, 406, 407, 408, 459, 410, 459, 459, 459, 459, - /* 2370 */ 459, 459, 327, 459, 459, 459, 459, 459, 459, 459, - /* 2380 */ 459, 459, 459, 459, 459, 358, 459, 459, 459, 459, - /* 2390 */ 459, 459, 459, 366, 459, 459, 459, 459, 371, 459, - /* 2400 */ 373, 459, 459, 358, 459, 459, 459, 459, 459, 459, - /* 2410 */ 459, 366, 459, 459, 459, 327, 371, 459, 373, 459, - /* 2420 */ 459, 459, 459, 396, 459, 459, 459, 400, 459, 459, - /* 2430 */ 403, 404, 405, 406, 407, 408, 459, 410, 459, 327, - /* 2440 */ 459, 396, 459, 459, 459, 400, 358, 459, 403, 404, - /* 2450 */ 405, 406, 407, 408, 366, 410, 459, 459, 459, 371, - /* 2460 */ 459, 373, 459, 459, 459, 459, 459, 459, 459, 459, - /* 2470 */ 358, 459, 459, 459, 459, 459, 459, 459, 366, 459, - /* 2480 */ 459, 459, 459, 371, 396, 373, 459, 459, 400, 459, - /* 2490 */ 459, 403, 404, 405, 406, 407, 408, 459, 410, 459, - /* 2500 */ 459, 459, 327, 459, 459, 459, 459, 459, 396, 459, - /* 2510 */ 459, 459, 400, 459, 459, 403, 404, 405, 406, 407, - /* 2520 */ 408, 459, 410, 459, 459, 459, 459, 459, 459, 459, - /* 2530 */ 459, 459, 459, 358, 459, 459, 459, 459, 459, 459, - /* 2540 */ 459, 366, 459, 459, 459, 459, 371, 459, 373, 459, - /* 2550 */ 459, 459, 459, 459, 459, 459, 327, 459, 459, 459, - /* 2560 */ 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, - /* 2570 */ 459, 396, 459, 459, 459, 400, 459, 459, 403, 404, - /* 2580 */ 405, 406, 407, 408, 459, 410, 459, 358, 459, 459, - /* 2590 */ 459, 459, 459, 459, 459, 366, 459, 459, 459, 459, - /* 2600 */ 371, 459, 373, 459, 459, 459, 459, 459, 459, 459, - /* 2610 */ 327, 459, 459, 459, 459, 459, 459, 459, 459, 459, - /* 2620 */ 459, 459, 459, 459, 459, 396, 327, 459, 459, 400, - /* 2630 */ 459, 459, 403, 404, 405, 406, 407, 408, 459, 410, - /* 2640 */ 459, 358, 459, 459, 459, 459, 459, 459, 459, 366, - /* 2650 */ 459, 459, 459, 459, 371, 459, 373, 358, 459, 459, - /* 2660 */ 459, 459, 459, 459, 459, 366, 459, 459, 459, 327, - /* 2670 */ 371, 459, 373, 459, 459, 459, 459, 459, 459, 396, - /* 2680 */ 459, 459, 459, 400, 459, 459, 403, 404, 405, 406, - /* 2690 */ 407, 408, 459, 410, 459, 396, 459, 459, 459, 400, - /* 2700 */ 358, 459, 403, 404, 405, 406, 407, 408, 366, 410, - /* 2710 */ 459, 459, 459, 371, 459, 373, 459, 459, 459, 459, - /* 2720 */ 459, 459, 459, 459, 459, 459, 327, 459, 459, 459, - /* 2730 */ 459, 459, 459, 459, 459, 459, 459, 459, 396, 459, - /* 2740 */ 459, 459, 400, 327, 459, 403, 404, 405, 406, 407, - /* 2750 */ 408, 459, 410, 459, 459, 459, 459, 358, 459, 459, - /* 2760 */ 459, 459, 459, 459, 459, 366, 459, 459, 459, 327, - /* 2770 */ 371, 459, 373, 459, 358, 459, 459, 459, 459, 459, - /* 2780 */ 459, 459, 366, 459, 459, 459, 459, 371, 459, 373, - /* 2790 */ 459, 459, 459, 459, 459, 396, 459, 459, 459, 400, - /* 2800 */ 358, 459, 403, 404, 405, 406, 407, 408, 366, 410, - /* 2810 */ 459, 459, 396, 371, 459, 373, 400, 459, 459, 403, - /* 2820 */ 404, 405, 406, 407, 408, 459, 410, 459, 459, 459, - /* 2830 */ 327, 459, 459, 459, 459, 459, 459, 459, 396, 459, - /* 2840 */ 459, 459, 400, 459, 459, 403, 404, 405, 406, 407, - /* 2850 */ 408, 459, 410, 459, 459, 459, 459, 459, 459, 459, - /* 2860 */ 459, 358, 459, 459, 459, 459, 459, 459, 459, 366, - /* 2870 */ 459, 459, 459, 459, 371, 459, 373, 459, 459, 459, - /* 2880 */ 459, 459, 459, 459, 327, 459, 459, 459, 459, 459, - /* 2890 */ 459, 459, 459, 459, 459, 459, 459, 459, 459, 396, - /* 2900 */ 459, 459, 459, 400, 459, 459, 403, 404, 405, 406, - /* 2910 */ 407, 408, 459, 410, 459, 358, 459, 459, 459, 459, - /* 2920 */ 459, 459, 459, 366, 459, 459, 459, 459, 371, 459, - /* 2930 */ 373, 459, 459, 459, 459, 459, 459, 459, 459, 459, - /* 2940 */ 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, - /* 2950 */ 459, 459, 459, 396, 459, 459, 459, 400, 459, 459, - /* 2960 */ 403, 404, 405, 406, 407, 408, 459, 410, + /* 870 */ 225, 226, 327, 368, 327, 346, 371, 348, 18, 368, + /* 880 */ 327, 2, 371, 23, 94, 0, 335, 8, 9, 371, + /* 890 */ 4, 12, 13, 14, 15, 16, 106, 37, 38, 2, + /* 900 */ 349, 41, 327, 45, 46, 8, 9, 163, 70, 12, + /* 910 */ 13, 14, 15, 16, 163, 22, 371, 366, 371, 59, + /* 920 */ 60, 61, 351, 70, 371, 354, 136, 392, 35, 139, + /* 930 */ 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + /* 940 */ 150, 151, 152, 153, 154, 155, 371, 157, 158, 159, + /* 950 */ 65, 66, 67, 68, 69, 95, 71, 72, 73, 74, + /* 960 */ 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, + /* 970 */ 85, 86, 87, 88, 89, 90, 91, 20, 107, 22, + /* 980 */ 42, 0, 44, 243, 58, 161, 327, 44, 327, 327, + /* 990 */ 335, 335, 35, 335, 134, 335, 107, 327, 207, 4, + /* 1000 */ 129, 42, 35, 44, 349, 349, 327, 349, 51, 349, + /* 1010 */ 359, 335, 388, 335, 19, 126, 127, 128, 129, 130, + /* 1020 */ 131, 366, 366, 97, 366, 349, 366, 349, 33, 48, + /* 1030 */ 371, 359, 371, 371, 174, 175, 176, 358, 327, 179, + /* 1040 */ 359, 371, 366, 48, 366, 366, 99, 359, 53, 102, + /* 1050 */ 371, 0, 373, 58, 430, 132, 133, 197, 434, 35, + /* 1060 */ 200, 106, 202, 203, 204, 205, 206, 335, 327, 99, + /* 1070 */ 347, 265, 102, 449, 450, 44, 397, 335, 454, 455, + /* 1080 */ 401, 349, 371, 404, 405, 406, 407, 408, 409, 94, + /* 1090 */ 411, 349, 97, 414, 70, 416, 417, 418, 366, 358, + /* 1100 */ 49, 422, 423, 335, 244, 335, 335, 366, 366, 335, + /* 1110 */ 335, 156, 371, 99, 373, 99, 102, 349, 102, 349, + /* 1120 */ 349, 0, 327, 349, 349, 44, 44, 96, 44, 95, + /* 1130 */ 44, 245, 0, 0, 366, 44, 366, 366, 397, 105, + /* 1140 */ 366, 366, 401, 22, 328, 404, 405, 406, 407, 408, + /* 1150 */ 409, 184, 411, 358, 22, 22, 44, 416, 381, 418, + /* 1160 */ 458, 366, 44, 422, 423, 337, 371, 44, 373, 13, + /* 1170 */ 1, 2, 44, 47, 447, 13, 441, 96, 96, 44, + /* 1180 */ 96, 327, 96, 44, 358, 444, 44, 96, 44, 337, + /* 1190 */ 44, 35, 397, 381, 381, 334, 401, 35, 432, 404, + /* 1200 */ 405, 406, 407, 408, 409, 370, 411, 451, 96, 424, + /* 1210 */ 267, 416, 358, 418, 96, 435, 399, 422, 423, 96, + /* 1220 */ 366, 95, 246, 48, 96, 371, 180, 373, 433, 398, + /* 1230 */ 390, 96, 42, 378, 20, 96, 160, 381, 96, 20, + /* 1240 */ 96, 378, 96, 376, 335, 335, 378, 327, 376, 376, + /* 1250 */ 93, 397, 335, 335, 343, 401, 335, 20, 404, 405, + /* 1260 */ 406, 407, 408, 409, 329, 411, 329, 327, 394, 20, + /* 1270 */ 416, 341, 418, 20, 373, 341, 422, 423, 358, 20, + /* 1280 */ 336, 20, 341, 389, 336, 335, 366, 433, 52, 329, + /* 1290 */ 341, 371, 341, 373, 341, 341, 338, 358, 358, 338, + /* 1300 */ 358, 335, 329, 358, 358, 196, 366, 371, 396, 394, + /* 1310 */ 358, 371, 187, 373, 358, 393, 339, 397, 335, 339, + /* 1320 */ 358, 401, 358, 358, 404, 405, 406, 407, 408, 409, + /* 1330 */ 358, 411, 358, 254, 371, 440, 416, 397, 418, 371, + /* 1340 */ 253, 401, 422, 423, 404, 405, 406, 407, 408, 409, + /* 1350 */ 381, 411, 373, 433, 440, 384, 416, 371, 418, 12, + /* 1360 */ 13, 371, 422, 423, 327, 381, 384, 371, 260, 22, + /* 1370 */ 443, 173, 262, 433, 442, 261, 247, 266, 459, 243, + /* 1380 */ 33, 453, 35, 264, 269, 452, 399, 366, 20, 335, + /* 1390 */ 384, 336, 403, 371, 371, 358, 339, 371, 371, 371, + /* 1400 */ 371, 384, 382, 366, 165, 58, 339, 354, 371, 339, + /* 1410 */ 373, 366, 95, 421, 95, 440, 438, 70, 362, 371, + /* 1420 */ 348, 36, 339, 327, 439, 437, 329, 335, 330, 391, + /* 1430 */ 395, 325, 385, 340, 397, 385, 0, 352, 401, 0, + /* 1440 */ 352, 404, 405, 406, 407, 408, 409, 352, 411, 189, + /* 1450 */ 0, 0, 42, 416, 358, 418, 0, 35, 201, 422, + /* 1460 */ 423, 35, 366, 35, 117, 35, 201, 371, 0, 373, + /* 1470 */ 433, 201, 35, 35, 0, 201, 0, 35, 0, 22, + /* 1480 */ 0, 35, 184, 182, 0, 0, 178, 177, 0, 0, + /* 1490 */ 47, 0, 0, 397, 0, 42, 0, 401, 0, 0, + /* 1500 */ 404, 405, 406, 407, 408, 409, 0, 411, 0, 0, + /* 1510 */ 0, 0, 416, 327, 418, 151, 35, 0, 422, 423, + /* 1520 */ 151, 0, 0, 0, 0, 0, 0, 0, 0, 182, + /* 1530 */ 0, 184, 0, 0, 0, 0, 0, 0, 0, 42, + /* 1540 */ 0, 0, 0, 0, 358, 0, 0, 0, 135, 0, + /* 1550 */ 0, 22, 366, 35, 207, 208, 0, 371, 58, 373, + /* 1560 */ 0, 58, 0, 0, 44, 14, 219, 220, 221, 222, + /* 1570 */ 223, 224, 225, 42, 0, 327, 0, 0, 39, 14, + /* 1580 */ 0, 173, 0, 397, 40, 0, 0, 401, 0, 0, + /* 1590 */ 404, 405, 406, 407, 408, 409, 39, 411, 327, 47, + /* 1600 */ 47, 47, 416, 39, 418, 35, 358, 48, 422, 423, + /* 1610 */ 39, 0, 64, 35, 366, 0, 48, 48, 39, 371, + /* 1620 */ 39, 373, 35, 0, 0, 35, 0, 0, 0, 358, + /* 1630 */ 39, 48, 35, 0, 22, 35, 35, 366, 35, 35, + /* 1640 */ 44, 35, 371, 44, 373, 397, 0, 22, 35, 401, + /* 1650 */ 0, 35, 404, 405, 406, 407, 408, 409, 22, 411, + /* 1660 */ 50, 22, 104, 102, 416, 327, 418, 0, 397, 22, + /* 1670 */ 422, 423, 401, 0, 0, 404, 405, 406, 407, 408, + /* 1680 */ 409, 0, 411, 35, 35, 22, 35, 35, 327, 418, + /* 1690 */ 20, 96, 35, 422, 423, 194, 358, 95, 0, 35, + /* 1700 */ 0, 185, 22, 0, 366, 0, 44, 3, 248, 371, + /* 1710 */ 96, 373, 95, 95, 227, 252, 96, 96, 163, 358, + /* 1720 */ 44, 44, 47, 44, 95, 95, 95, 366, 96, 163, + /* 1730 */ 47, 248, 371, 96, 373, 397, 163, 165, 95, 401, + /* 1740 */ 96, 3, 404, 405, 406, 407, 408, 409, 35, 411, + /* 1750 */ 44, 327, 248, 35, 35, 35, 418, 35, 397, 35, + /* 1760 */ 422, 423, 401, 171, 170, 404, 405, 406, 407, 408, + /* 1770 */ 409, 327, 411, 47, 96, 170, 44, 47, 96, 418, + /* 1780 */ 0, 0, 358, 422, 423, 0, 95, 0, 96, 96, + /* 1790 */ 366, 95, 95, 39, 95, 371, 95, 373, 47, 164, + /* 1800 */ 166, 44, 358, 2, 229, 207, 22, 105, 96, 95, + /* 1810 */ 366, 95, 47, 96, 47, 371, 95, 373, 22, 96, + /* 1820 */ 227, 397, 95, 35, 95, 401, 35, 96, 404, 405, + /* 1830 */ 406, 407, 408, 409, 227, 411, 95, 35, 96, 106, + /* 1840 */ 327, 397, 95, 35, 96, 401, 96, 95, 404, 405, + /* 1850 */ 406, 407, 408, 409, 209, 411, 95, 35, 96, 95, + /* 1860 */ 35, 242, 96, 95, 119, 119, 22, 107, 119, 445, + /* 1870 */ 446, 358, 119, 95, 44, 35, 22, 95, 64, 366, + /* 1880 */ 63, 95, 35, 35, 371, 35, 373, 35, 35, 70, + /* 1890 */ 35, 35, 35, 35, 327, 35, 92, 35, 35, 35, + /* 1900 */ 456, 457, 22, 44, 35, 70, 35, 35, 35, 35, + /* 1910 */ 397, 327, 35, 35, 401, 22, 35, 404, 405, 406, + /* 1920 */ 407, 408, 409, 35, 411, 358, 0, 35, 39, 0, + /* 1930 */ 48, 418, 35, 366, 48, 39, 423, 0, 371, 35, + /* 1940 */ 373, 39, 358, 0, 35, 39, 48, 48, 0, 35, + /* 1950 */ 366, 35, 0, 22, 21, 371, 22, 373, 22, 21, + /* 1960 */ 20, 460, 460, 460, 397, 327, 460, 460, 401, 460, + /* 1970 */ 460, 404, 405, 406, 407, 408, 409, 460, 411, 460, + /* 1980 */ 460, 397, 460, 327, 460, 401, 460, 460, 404, 405, + /* 1990 */ 406, 407, 408, 409, 460, 411, 358, 460, 460, 460, + /* 2000 */ 460, 460, 460, 460, 366, 460, 460, 460, 460, 371, + /* 2010 */ 460, 373, 460, 446, 358, 460, 460, 460, 460, 363, + /* 2020 */ 460, 460, 366, 460, 460, 460, 460, 371, 460, 373, + /* 2030 */ 460, 460, 448, 460, 460, 397, 460, 327, 460, 401, + /* 2040 */ 460, 460, 404, 405, 406, 407, 408, 409, 460, 411, + /* 2050 */ 460, 460, 460, 397, 460, 327, 460, 401, 460, 460, + /* 2060 */ 404, 405, 406, 407, 408, 409, 460, 411, 358, 460, + /* 2070 */ 460, 460, 460, 460, 460, 460, 366, 460, 460, 460, + /* 2080 */ 460, 371, 460, 373, 460, 460, 358, 460, 460, 460, + /* 2090 */ 460, 363, 460, 460, 366, 457, 460, 460, 460, 371, + /* 2100 */ 460, 373, 460, 460, 460, 460, 460, 397, 460, 460, + /* 2110 */ 327, 401, 460, 460, 404, 405, 406, 407, 408, 409, + /* 2120 */ 460, 411, 460, 413, 460, 397, 460, 460, 460, 401, + /* 2130 */ 327, 460, 404, 405, 406, 407, 408, 409, 460, 411, + /* 2140 */ 460, 358, 460, 460, 460, 460, 363, 460, 460, 366, + /* 2150 */ 460, 460, 460, 460, 371, 460, 373, 460, 460, 460, + /* 2160 */ 460, 358, 460, 460, 460, 460, 460, 460, 460, 366, + /* 2170 */ 460, 460, 460, 460, 371, 460, 373, 460, 460, 460, + /* 2180 */ 397, 460, 460, 460, 401, 460, 460, 404, 405, 406, + /* 2190 */ 407, 408, 409, 460, 411, 460, 460, 327, 460, 460, + /* 2200 */ 397, 460, 460, 460, 401, 460, 460, 404, 405, 406, + /* 2210 */ 407, 408, 409, 460, 411, 460, 460, 460, 460, 460, + /* 2220 */ 460, 460, 327, 460, 460, 460, 460, 460, 358, 460, + /* 2230 */ 460, 460, 460, 460, 460, 460, 366, 460, 460, 460, + /* 2240 */ 460, 371, 460, 373, 460, 460, 460, 460, 460, 327, + /* 2250 */ 460, 460, 460, 358, 460, 460, 460, 460, 460, 460, + /* 2260 */ 460, 366, 460, 460, 460, 460, 371, 397, 373, 460, + /* 2270 */ 460, 401, 460, 460, 404, 405, 406, 407, 408, 409, + /* 2280 */ 358, 411, 460, 460, 460, 460, 460, 460, 366, 460, + /* 2290 */ 460, 460, 397, 371, 460, 373, 401, 460, 460, 404, + /* 2300 */ 405, 406, 407, 408, 409, 460, 411, 460, 460, 327, + /* 2310 */ 460, 460, 460, 460, 460, 460, 460, 460, 460, 397, + /* 2320 */ 460, 460, 460, 401, 460, 460, 404, 405, 406, 407, + /* 2330 */ 408, 409, 327, 411, 460, 460, 460, 460, 460, 460, + /* 2340 */ 358, 460, 460, 460, 460, 460, 460, 460, 366, 460, + /* 2350 */ 460, 460, 460, 371, 460, 373, 460, 460, 460, 460, + /* 2360 */ 460, 460, 460, 358, 460, 460, 460, 460, 460, 460, + /* 2370 */ 460, 366, 460, 460, 460, 460, 371, 460, 373, 397, + /* 2380 */ 460, 460, 460, 401, 460, 460, 404, 405, 406, 407, + /* 2390 */ 408, 409, 327, 411, 460, 460, 460, 460, 460, 460, + /* 2400 */ 460, 460, 397, 460, 460, 460, 401, 460, 460, 404, + /* 2410 */ 405, 406, 407, 408, 409, 460, 411, 460, 460, 327, + /* 2420 */ 460, 460, 460, 358, 460, 460, 460, 460, 460, 460, + /* 2430 */ 460, 366, 460, 460, 460, 460, 371, 460, 373, 460, + /* 2440 */ 460, 460, 460, 460, 327, 460, 460, 460, 460, 460, + /* 2450 */ 358, 460, 460, 460, 460, 460, 460, 460, 366, 460, + /* 2460 */ 460, 460, 397, 371, 460, 373, 401, 460, 460, 404, + /* 2470 */ 405, 406, 407, 408, 409, 358, 411, 460, 460, 460, + /* 2480 */ 460, 460, 460, 366, 460, 460, 460, 460, 371, 397, + /* 2490 */ 373, 460, 460, 401, 460, 460, 404, 405, 406, 407, + /* 2500 */ 408, 409, 327, 411, 460, 460, 460, 460, 460, 460, + /* 2510 */ 460, 460, 460, 460, 397, 460, 460, 460, 401, 327, + /* 2520 */ 460, 404, 405, 406, 407, 408, 409, 460, 411, 460, + /* 2530 */ 460, 460, 460, 358, 460, 460, 460, 460, 460, 460, + /* 2540 */ 460, 366, 460, 460, 460, 460, 371, 460, 373, 460, + /* 2550 */ 358, 460, 460, 460, 460, 460, 460, 460, 366, 460, + /* 2560 */ 460, 460, 460, 371, 460, 373, 460, 460, 460, 460, + /* 2570 */ 460, 327, 397, 460, 460, 460, 401, 460, 460, 404, + /* 2580 */ 405, 406, 407, 408, 409, 460, 411, 460, 460, 397, + /* 2590 */ 460, 460, 460, 401, 327, 460, 404, 405, 406, 407, + /* 2600 */ 408, 409, 358, 411, 460, 460, 460, 460, 460, 460, + /* 2610 */ 366, 460, 460, 460, 460, 371, 460, 373, 460, 460, + /* 2620 */ 460, 460, 460, 327, 460, 358, 460, 460, 460, 460, + /* 2630 */ 460, 460, 460, 366, 460, 460, 460, 460, 371, 460, + /* 2640 */ 373, 397, 460, 460, 460, 401, 460, 460, 404, 405, + /* 2650 */ 406, 407, 408, 409, 358, 411, 460, 460, 460, 460, + /* 2660 */ 460, 460, 366, 460, 397, 460, 460, 371, 401, 373, + /* 2670 */ 460, 404, 405, 406, 407, 408, 409, 460, 411, 460, + /* 2680 */ 460, 327, 460, 460, 460, 460, 460, 460, 460, 460, + /* 2690 */ 460, 460, 460, 397, 460, 460, 460, 401, 460, 327, + /* 2700 */ 404, 405, 406, 407, 408, 409, 460, 411, 460, 460, + /* 2710 */ 460, 460, 358, 460, 460, 460, 460, 460, 460, 460, + /* 2720 */ 366, 460, 460, 460, 460, 371, 460, 373, 460, 460, + /* 2730 */ 358, 460, 460, 460, 460, 460, 460, 460, 366, 460, + /* 2740 */ 460, 460, 460, 371, 460, 373, 460, 460, 460, 460, + /* 2750 */ 460, 397, 460, 460, 460, 401, 460, 460, 404, 405, + /* 2760 */ 406, 407, 408, 409, 327, 411, 460, 460, 460, 397, + /* 2770 */ 460, 460, 460, 401, 460, 460, 404, 405, 406, 407, + /* 2780 */ 408, 409, 460, 411, 460, 460, 327, 460, 460, 460, + /* 2790 */ 460, 460, 460, 460, 460, 358, 460, 460, 460, 460, + /* 2800 */ 460, 460, 460, 366, 460, 460, 460, 460, 371, 460, + /* 2810 */ 373, 460, 460, 460, 460, 460, 460, 358, 460, 460, + /* 2820 */ 460, 460, 460, 460, 460, 366, 460, 460, 460, 460, + /* 2830 */ 371, 460, 373, 460, 397, 460, 460, 460, 401, 460, + /* 2840 */ 460, 404, 405, 406, 407, 408, 409, 327, 411, 460, + /* 2850 */ 460, 460, 460, 460, 460, 460, 397, 460, 460, 460, + /* 2860 */ 401, 460, 460, 404, 405, 406, 407, 408, 409, 327, + /* 2870 */ 411, 460, 460, 460, 460, 460, 460, 460, 358, 460, + /* 2880 */ 460, 460, 460, 460, 460, 460, 366, 460, 460, 460, + /* 2890 */ 460, 371, 460, 373, 460, 460, 460, 460, 460, 460, + /* 2900 */ 358, 460, 460, 460, 460, 460, 460, 460, 366, 460, + /* 2910 */ 460, 460, 460, 371, 460, 373, 460, 397, 460, 460, + /* 2920 */ 460, 401, 460, 460, 404, 405, 406, 407, 408, 409, + /* 2930 */ 327, 411, 460, 460, 460, 460, 460, 460, 460, 397, + /* 2940 */ 460, 460, 460, 401, 460, 460, 404, 405, 406, 407, + /* 2950 */ 408, 409, 460, 411, 460, 460, 460, 460, 460, 460, + /* 2960 */ 460, 358, 460, 460, 460, 460, 460, 460, 460, 366, + /* 2970 */ 460, 460, 460, 460, 371, 460, 373, 460, 460, 460, + /* 2980 */ 460, 460, 327, 460, 460, 460, 460, 460, 460, 460, + /* 2990 */ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, + /* 3000 */ 397, 460, 460, 460, 401, 460, 460, 404, 405, 406, + /* 3010 */ 407, 408, 409, 358, 411, 460, 460, 460, 460, 460, + /* 3020 */ 460, 366, 460, 460, 460, 460, 371, 460, 373, 460, + /* 3030 */ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, + /* 3040 */ 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, + /* 3050 */ 460, 460, 397, 460, 460, 460, 401, 460, 460, 404, + /* 3060 */ 405, 406, 407, 408, 409, 460, 411, }; #define YY_SHIFT_COUNT (713) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2019) +#define YY_SHIFT_MAX (1952) static const unsigned short int yy_shift_ofst[] = { - /* 0 */ 925, 0, 71, 0, 288, 288, 288, 288, 288, 288, + /* 0 */ 860, 0, 71, 0, 288, 288, 288, 288, 288, 288, /* 10 */ 288, 288, 288, 288, 288, 359, 574, 574, 645, 574, /* 20 */ 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, /* 30 */ 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, - /* 40 */ 574, 574, 574, 574, 574, 574, 574, 574, 292, 437, - /* 50 */ 12, 294, 287, 151, 315, 151, 12, 12, 1207, 1207, - /* 60 */ 151, 1207, 1207, 78, 151, 19, 19, 198, 198, 66, - /* 70 */ 211, 98, 98, 19, 19, 19, 19, 19, 19, 19, - /* 80 */ 19, 19, 19, 112, 19, 19, 108, 19, 522, 19, - /* 90 */ 19, 536, 19, 19, 536, 19, 536, 536, 536, 19, - /* 100 */ 676, 783, 34, 34, 372, 103, 418, 418, 418, 418, - /* 110 */ 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, - /* 120 */ 418, 418, 418, 418, 418, 213, 295, 66, 211, 62, - /* 130 */ 651, 1, 1, 1, 546, 79, 79, 651, 681, 681, - /* 140 */ 681, 606, 522, 129, 536, 706, 536, 706, 706, 606, - /* 150 */ 749, 216, 216, 216, 216, 216, 216, 216, 1603, 335, - /* 160 */ 36, 451, 867, 47, 410, 267, 46, 505, 227, 452, - /* 170 */ 792, 652, 639, 644, 596, 627, 644, 780, 892, 829, - /* 180 */ 1023, 1231, 1102, 1239, 1265, 1239, 1127, 1270, 1270, 1239, - /* 190 */ 1127, 1127, 1211, 1270, 1270, 1270, 1293, 1293, 1294, 112, - /* 200 */ 522, 112, 1306, 1309, 112, 1306, 112, 112, 112, 1270, - /* 210 */ 112, 1284, 1284, 1293, 536, 536, 536, 536, 536, 536, - /* 220 */ 536, 536, 536, 536, 536, 1270, 1293, 706, 706, 1153, - /* 230 */ 1294, 676, 1190, 522, 676, 1270, 1265, 1265, 706, 1128, - /* 240 */ 1132, 706, 1128, 1132, 706, 706, 536, 1121, 1215, 1128, - /* 250 */ 1134, 1136, 1157, 1023, 1138, 1143, 1146, 1172, 681, 1398, - /* 260 */ 1270, 1306, 676, 1132, 706, 706, 706, 706, 706, 1132, - /* 270 */ 706, 1286, 676, 606, 676, 681, 1365, 1367, 706, 749, - /* 280 */ 1270, 676, 1430, 1293, 2968, 2968, 2968, 2968, 2968, 2968, - /* 290 */ 2968, 2968, 2968, 826, 380, 455, 656, 514, 15, 967, - /* 300 */ 642, 59, 832, 938, 842, 1164, 1164, 1164, 1164, 1164, - /* 310 */ 1164, 1164, 1164, 1164, 963, 68, 184, 184, 365, 291, - /* 320 */ 181, 640, 226, 325, 325, 597, 669, 364, 597, 597, - /* 330 */ 597, 788, 1025, 980, 876, 833, 843, 786, 856, 857, - /* 340 */ 865, 1111, 1162, 1165, 289, 984, 985, 943, 951, 900, - /* 350 */ 851, 1070, 1131, 1159, 1160, 1161, 1130, 1166, 886, 1026, - /* 360 */ 290, 1167, 1151, 1171, 1174, 1177, 1179, 1182, 1186, 905, - /* 370 */ 1212, 1224, 1204, 766, 1485, 1486, 1300, 1488, 1489, 1448, - /* 380 */ 1491, 1457, 1295, 1458, 1460, 1461, 1298, 1498, 1464, 1465, - /* 390 */ 1302, 1502, 1304, 1504, 1471, 1507, 1499, 1508, 1476, 1338, - /* 400 */ 1344, 1532, 1533, 1351, 1353, 1529, 1534, 1490, 1535, 1536, - /* 410 */ 1538, 1497, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547, - /* 420 */ 1400, 1514, 1554, 1412, 1564, 1565, 1567, 1575, 1576, 1577, - /* 430 */ 1578, 1579, 1580, 1582, 1583, 1584, 1585, 1586, 1587, 1528, - /* 440 */ 1571, 1572, 1588, 1590, 1592, 1589, 1593, 1597, 1604, 1472, - /* 450 */ 1606, 1608, 1574, 1610, 1555, 1614, 1557, 1618, 1620, 1595, - /* 460 */ 1600, 1581, 1594, 1607, 1596, 1626, 1598, 1624, 1602, 1605, - /* 470 */ 1646, 1647, 1648, 1611, 1478, 1652, 1653, 1654, 1591, 1656, - /* 480 */ 1662, 1628, 1616, 1629, 1665, 1631, 1619, 1632, 1670, 1637, - /* 490 */ 1625, 1635, 1675, 1641, 1630, 1640, 1680, 1683, 1685, 1686, - /* 500 */ 1599, 1621, 1655, 1666, 1687, 1657, 1658, 1659, 1660, 1645, - /* 510 */ 1661, 1664, 1667, 1669, 1671, 1696, 1679, 1704, 1688, 1663, - /* 520 */ 1708, 1700, 1674, 1724, 1691, 1728, 1695, 1731, 1710, 1714, - /* 530 */ 1701, 1703, 1548, 1639, 1644, 1741, 1609, 1711, 1743, 1562, - /* 540 */ 1725, 1617, 1601, 1748, 1749, 1622, 1613, 1750, 1707, 1515, - /* 550 */ 1689, 1673, 1697, 1633, 1559, 1634, 1513, 1677, 1746, 1698, - /* 560 */ 1702, 1705, 1709, 1712, 1751, 1756, 1758, 1716, 1762, 1568, - /* 570 */ 1717, 1719, 1814, 1774, 1612, 1785, 1787, 1788, 1789, 1791, - /* 580 */ 1792, 1723, 1738, 1793, 1615, 1795, 1796, 1836, 1842, 1850, - /* 590 */ 1757, 1759, 1760, 1763, 1764, 1706, 1766, 1853, 1823, 1715, - /* 600 */ 1768, 1761, 1594, 1817, 1821, 1649, 1638, 1651, 1866, 1849, - /* 610 */ 1668, 1779, 1790, 1780, 1798, 1786, 1799, 1833, 1794, 1797, - /* 620 */ 1840, 1800, 1861, 1684, 1804, 1802, 1805, 1867, 1868, 1809, - /* 630 */ 1810, 1874, 1815, 1816, 1878, 1825, 1826, 1889, 1830, 1843, - /* 640 */ 1891, 1834, 1819, 1827, 1828, 1829, 1883, 1835, 1845, 1900, - /* 650 */ 1854, 1910, 1855, 1900, 1900, 1929, 1888, 1890, 1920, 1921, - /* 660 */ 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1930, 1898, 1872, - /* 670 */ 1935, 1934, 1936, 1946, 1950, 1948, 1949, 1951, 1917, 1645, - /* 680 */ 1953, 1661, 1954, 1956, 1957, 1959, 1973, 1961, 1997, 1964, - /* 690 */ 1958, 1962, 2002, 1968, 1960, 1965, 2007, 1974, 1963, 1971, - /* 700 */ 2012, 1978, 1966, 1976, 2016, 1982, 1983, 2019, 1998, 2000, - /* 710 */ 2003, 2006, 2001, 2004, + /* 40 */ 574, 574, 574, 574, 574, 574, 574, 574, 132, 182, + /* 50 */ 92, 380, 222, 274, 298, 274, 92, 92, 1347, 1347, + /* 60 */ 274, 1347, 1347, 140, 274, 96, 31, 31, 96, 307, + /* 70 */ 307, 327, 57, 5, 5, 31, 31, 31, 31, 31, + /* 80 */ 31, 31, 31, 31, 31, 80, 31, 31, 294, 31, + /* 90 */ 31, 31, 499, 31, 31, 499, 31, 499, 499, 499, + /* 100 */ 31, 420, 790, 34, 34, 219, 450, 568, 568, 568, + /* 110 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, + /* 120 */ 568, 568, 568, 568, 568, 568, 215, 180, 327, 57, + /* 130 */ 172, 495, 384, 384, 384, 617, 184, 184, 495, 520, + /* 140 */ 520, 520, 136, 127, 499, 838, 499, 838, 838, 136, + /* 150 */ 853, 216, 216, 216, 216, 216, 216, 216, 579, 407, + /* 160 */ 335, 432, 449, 47, 957, 552, 457, 577, 79, 744, + /* 170 */ 858, 871, 751, 573, 740, 99, 573, 938, 886, 824, + /* 180 */ 976, 1175, 1046, 1190, 1214, 1190, 1076, 1219, 1219, 1190, + /* 190 */ 1076, 1076, 1157, 1219, 1219, 1219, 1237, 1237, 1249, 80, + /* 200 */ 1253, 80, 1259, 1261, 80, 1259, 80, 80, 80, 1219, + /* 210 */ 80, 1236, 1236, 1237, 499, 499, 499, 499, 499, 499, + /* 220 */ 499, 499, 499, 499, 499, 1219, 1237, 838, 838, 1109, + /* 230 */ 1249, 420, 1125, 1253, 420, 1219, 1214, 1214, 838, 1079, + /* 240 */ 1087, 838, 1079, 1087, 838, 838, 499, 1108, 1198, 1079, + /* 250 */ 1110, 1114, 1129, 976, 1115, 1111, 1119, 1136, 520, 1368, + /* 260 */ 1219, 1259, 420, 1087, 838, 838, 838, 838, 838, 1087, + /* 270 */ 838, 1239, 420, 136, 420, 520, 1317, 1319, 838, 853, + /* 280 */ 1219, 420, 1385, 1237, 3067, 3067, 3067, 3067, 3067, 3067, + /* 290 */ 3067, 3067, 3067, 885, 309, 94, 995, 15, 59, 718, + /* 300 */ 425, 879, 897, 73, 704, 471, 471, 471, 471, 471, + /* 310 */ 471, 471, 471, 471, 889, 185, 698, 698, 32, 546, + /* 320 */ 608, 501, 633, 296, 296, 244, 753, 506, 244, 244, + /* 330 */ 244, 567, 981, 893, 959, 955, 593, 947, 970, 1014, + /* 340 */ 1016, 1121, 1132, 1133, 926, 1031, 1081, 923, 806, 943, + /* 350 */ 436, 1082, 1084, 1086, 1091, 1112, 1169, 1118, 455, 967, + /* 360 */ 791, 1123, 1126, 1128, 1135, 1139, 1142, 1144, 1146, 1034, + /* 370 */ 1156, 1162, 1024, 1051, 1436, 1439, 1260, 1450, 1451, 1410, + /* 380 */ 1456, 1422, 1257, 1426, 1428, 1430, 1265, 1468, 1437, 1438, + /* 390 */ 1270, 1474, 1274, 1476, 1442, 1478, 1457, 1480, 1446, 1298, + /* 400 */ 1301, 1484, 1485, 1308, 1310, 1488, 1489, 1443, 1491, 1492, + /* 410 */ 1494, 1453, 1496, 1498, 1499, 1506, 1508, 1509, 1510, 1511, + /* 420 */ 1364, 1481, 1517, 1369, 1521, 1522, 1523, 1524, 1525, 1526, + /* 430 */ 1527, 1528, 1530, 1532, 1533, 1534, 1535, 1536, 1537, 1497, + /* 440 */ 1538, 1540, 1541, 1542, 1543, 1529, 1545, 1546, 1547, 1413, + /* 450 */ 1549, 1550, 1518, 1556, 1500, 1560, 1503, 1562, 1563, 1531, + /* 460 */ 1539, 1520, 1552, 1551, 1553, 1565, 1554, 1574, 1544, 1557, + /* 470 */ 1576, 1577, 1580, 1564, 1408, 1582, 1585, 1586, 1548, 1588, + /* 480 */ 1589, 1570, 1559, 1571, 1611, 1578, 1568, 1579, 1615, 1587, + /* 490 */ 1569, 1581, 1623, 1590, 1583, 1591, 1624, 1626, 1627, 1628, + /* 500 */ 1558, 1561, 1597, 1612, 1633, 1600, 1601, 1603, 1604, 1596, + /* 510 */ 1599, 1606, 1613, 1625, 1616, 1646, 1636, 1650, 1639, 1610, + /* 520 */ 1667, 1647, 1648, 1673, 1649, 1674, 1651, 1681, 1663, 1670, + /* 530 */ 1652, 1657, 1501, 1595, 1602, 1698, 1555, 1664, 1700, 1516, + /* 540 */ 1680, 1566, 1572, 1703, 1705, 1573, 1592, 1704, 1662, 1460, + /* 550 */ 1617, 1614, 1618, 1594, 1487, 1605, 1463, 1620, 1676, 1621, + /* 560 */ 1629, 1630, 1631, 1632, 1677, 1675, 1683, 1643, 1679, 1483, + /* 570 */ 1637, 1644, 1738, 1706, 1504, 1713, 1718, 1719, 1720, 1722, + /* 580 */ 1724, 1678, 1682, 1726, 1619, 1732, 1730, 1780, 1781, 1785, + /* 590 */ 1691, 1692, 1693, 1696, 1697, 1634, 1699, 1787, 1754, 1635, + /* 600 */ 1701, 1702, 1552, 1751, 1757, 1593, 1575, 1607, 1801, 1784, + /* 610 */ 1598, 1714, 1712, 1716, 1717, 1721, 1723, 1765, 1727, 1729, + /* 620 */ 1767, 1731, 1796, 1645, 1741, 1733, 1742, 1788, 1791, 1747, + /* 630 */ 1748, 1802, 1752, 1750, 1808, 1761, 1762, 1822, 1764, 1766, + /* 640 */ 1825, 1768, 1745, 1746, 1749, 1753, 1844, 1760, 1778, 1830, + /* 650 */ 1782, 1840, 1786, 1830, 1830, 1854, 1814, 1817, 1847, 1848, + /* 660 */ 1850, 1852, 1853, 1855, 1856, 1857, 1858, 1860, 1819, 1804, + /* 670 */ 1859, 1862, 1863, 1864, 1880, 1869, 1871, 1872, 1835, 1596, + /* 680 */ 1873, 1599, 1874, 1877, 1878, 1881, 1893, 1888, 1926, 1892, + /* 690 */ 1882, 1889, 1929, 1897, 1886, 1896, 1937, 1904, 1898, 1902, + /* 700 */ 1943, 1909, 1899, 1906, 1948, 1914, 1916, 1952, 1931, 1933, + /* 710 */ 1934, 1936, 1938, 1940, }; #define YY_REDUCE_COUNT (292) -#define YY_REDUCE_MIN (-381) -#define YY_REDUCE_MAX (2557) +#define YY_REDUCE_MIN (-390) +#define YY_REDUCE_MAX (2655) static const short yy_reduce_ofst[] = { - /* 0 */ -318, -250, 233, 324, 630, 650, 742, 785, 828, 895, - /* 10 */ 949, 1035, 1109, 1152, 1195, 1223, 1311, 1354, 1371, 1425, - /* 20 */ 1441, 1511, 1527, 1570, 1627, 1678, 1699, 1721, 1784, 1808, - /* 30 */ 1870, 1894, 1937, 1955, 2027, 2045, 2088, 2112, 2175, 2229, - /* 40 */ 2283, 2299, 2342, 2399, 2416, 2442, 2503, 2557, -191, 104, - /* 50 */ -18, -7, 168, 239, 269, 558, -278, 658, -345, -320, - /* 60 */ -270, -273, -170, -79, -10, 296, 328, -331, -326, -342, - /* 70 */ -328, -236, -193, 253, 254, 376, 398, 408, 409, 469, - /* 80 */ 643, 678, 682, -330, 683, 729, 185, 768, 41, 770, - /* 90 */ 775, -349, 795, 804, -280, 805, -245, 260, -113, 847, - /* 100 */ 16, -283, 130, 130, -309, -202, 163, 337, 389, 392, - /* 110 */ 434, 481, 501, 502, 503, 633, 634, 670, 671, 672, - /* 120 */ 695, 747, 750, 789, 841, -281, 87, 10, 220, 84, - /* 130 */ 283, 87, 245, 251, 344, -225, -38, 355, -313, 319, - /* 140 */ 360, 397, 45, 297, 196, 384, -110, 441, 443, 466, - /* 150 */ 475, -355, 519, 615, 720, 727, 737, 745, -381, 637, - /* 160 */ 759, 726, 665, 663, 846, 757, 883, 883, 872, 863, - /* 170 */ 880, 878, 870, 821, 821, 808, 821, 831, 830, 883, - /* 180 */ 873, 875, 894, 906, 907, 908, 913, 957, 958, 916, - /* 190 */ 920, 921, 965, 971, 974, 976, 989, 990, 928, 982, - /* 200 */ 952, 986, 992, 942, 991, 995, 993, 994, 996, 998, - /* 210 */ 997, 1001, 1002, 1012, 988, 1000, 1003, 1005, 1007, 1009, - /* 220 */ 1010, 1011, 1014, 1015, 1016, 1008, 1013, 973, 977, 955, - /* 230 */ 983, 1021, 959, 1004, 1039, 1044, 999, 1017, 1019, 944, - /* 240 */ 1018, 1020, 945, 1027, 1024, 1028, 883, 946, 953, 961, - /* 250 */ 954, 966, 969, 1022, 956, 964, 968, 821, 1051, 1030, - /* 260 */ 1086, 1087, 1083, 1049, 1063, 1066, 1073, 1075, 1076, 1064, - /* 270 */ 1078, 1071, 1115, 1101, 1119, 1093, 1041, 1103, 1092, 1116, - /* 280 */ 1133, 1135, 1139, 1141, 1081, 1079, 1091, 1096, 1120, 1125, - /* 290 */ 1126, 1144, 1158, + /* 0 */ -193, -258, 679, 741, 795, 854, 920, 940, 1037, 1096, + /* 10 */ 1186, 1248, 1271, 1338, 1361, 289, 1424, 1444, 1513, 1567, + /* 20 */ 1584, 1638, 1656, 1710, 1728, 1783, 1803, 1870, 1895, 1922, + /* 30 */ 1982, 2005, 2065, 2092, 2117, 2175, 2192, 2244, 2267, 2296, + /* 40 */ 2354, 2372, 2437, 2459, 2520, 2542, 2603, 2655, -257, 95, + /* 50 */ 223, -39, 171, 234, 392, 624, 293, 342, -345, -15, + /* 60 */ -390, -12, 270, -275, -249, 227, -221, 326, -370, -329, + /* 70 */ -325, -326, -362, -298, -256, -239, 253, 280, 408, 470, + /* 80 */ 551, 655, 656, 658, 660, -201, 676, 678, 24, 732, + /* 90 */ 742, 768, -260, 770, 771, -313, 774, 10, -4, 101, + /* 100 */ 775, 207, -334, -283, -283, -19, -151, -309, 167, 221, + /* 110 */ 237, 345, 378, 395, 412, 433, 518, 545, 547, 553, + /* 120 */ 575, 659, 661, 662, 670, 711, -265, 64, -60, -216, + /* 130 */ -165, 53, 64, 128, 133, 313, 336, 346, 98, 265, + /* 140 */ 279, 462, -315, 311, 451, 480, 463, 505, 511, 571, + /* 150 */ 529, -359, -338, 370, 651, 672, 681, 688, 535, 816, + /* 160 */ 723, 777, 702, 727, 828, 735, 826, 826, 852, 812, + /* 170 */ 861, 835, 813, 766, 766, 756, 766, 785, 780, 826, + /* 180 */ 817, 831, 840, 855, 856, 863, 867, 909, 910, 868, + /* 190 */ 872, 873, 911, 917, 918, 921, 935, 937, 874, 930, + /* 200 */ 901, 934, 944, 894, 941, 948, 949, 951, 953, 950, + /* 210 */ 954, 958, 961, 960, 939, 942, 945, 946, 952, 956, + /* 220 */ 962, 964, 965, 972, 974, 966, 973, 936, 963, 912, + /* 230 */ 915, 977, 922, 979, 980, 983, 969, 984, 968, 895, + /* 240 */ 971, 986, 914, 982, 990, 996, 826, 927, 932, 975, + /* 250 */ 985, 978, 988, 987, 919, 928, 933, 766, 1021, 989, + /* 260 */ 1054, 1055, 1057, 1006, 1022, 1023, 1026, 1027, 1028, 1017, + /* 270 */ 1029, 1020, 1067, 1053, 1070, 1045, 992, 1056, 1048, 1072, + /* 280 */ 1092, 1083, 1098, 1097, 1038, 1035, 1047, 1050, 1085, 1088, + /* 290 */ 1095, 1093, 1106, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 10 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 20 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 30 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 40 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 50 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 60 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1849, - /* 70 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 80 */ 1594, 1594, 1594, 1672, 1594, 1594, 1594, 1594, 1594, 1594, - /* 90 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 100 */ 1670, 1842, 2039, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 110 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 120 */ 1594, 1594, 1594, 1594, 1594, 1594, 2051, 1594, 1594, 1672, - /* 130 */ 1594, 2051, 2051, 2051, 1670, 2011, 2011, 1594, 1594, 1594, - /* 140 */ 1594, 1779, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1779, - /* 150 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1886, 1594, - /* 160 */ 1594, 2076, 2130, 1594, 1594, 2079, 1594, 1594, 1594, 1854, - /* 170 */ 1594, 1732, 2066, 2043, 2057, 2114, 2044, 2041, 2060, 1594, - /* 180 */ 2070, 1594, 1879, 1847, 1594, 1847, 1844, 1594, 1594, 1847, - /* 190 */ 1844, 1844, 1723, 1594, 1594, 1594, 1594, 1594, 1594, 1672, - /* 200 */ 1594, 1672, 1594, 1594, 1672, 1594, 1672, 1672, 1672, 1594, - /* 210 */ 1672, 1651, 1651, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 220 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1899, - /* 230 */ 1594, 1670, 1888, 1594, 1670, 1594, 1594, 1594, 1594, 2087, - /* 240 */ 2085, 1594, 2087, 2085, 1594, 1594, 1594, 2099, 2095, 2087, - /* 250 */ 2103, 2101, 2072, 2070, 2133, 2120, 2116, 2057, 1594, 1594, - /* 260 */ 1594, 1594, 1670, 2085, 1594, 1594, 1594, 1594, 1594, 2085, - /* 270 */ 1594, 1594, 1670, 1594, 1670, 1594, 1594, 1748, 1594, 1594, - /* 280 */ 1594, 1670, 1626, 1594, 1881, 1892, 1864, 1864, 1782, 1782, - /* 290 */ 1782, 1673, 1599, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 300 */ 1594, 1594, 1594, 1594, 1594, 2098, 2097, 1967, 1594, 2015, - /* 310 */ 2014, 2013, 2004, 1966, 1744, 1594, 1965, 1964, 1594, 1594, - /* 320 */ 1594, 1594, 1594, 1860, 1859, 1958, 1594, 1594, 1959, 1957, - /* 330 */ 1956, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 340 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 2117, 2121, - /* 350 */ 1594, 1594, 1594, 1594, 1594, 1594, 2040, 1594, 1594, 1594, - /* 360 */ 1594, 1594, 1941, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 370 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 380 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 390 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 400 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 410 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 420 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 430 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 440 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 450 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 460 */ 1594, 1631, 1946, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 470 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 480 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 490 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 500 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1711, - /* 510 */ 1710, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 520 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 530 */ 1594, 1594, 1594, 1949, 1594, 1594, 1594, 1594, 1594, 1594, - /* 540 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 2113, 2073, 1594, - /* 550 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 560 */ 1594, 1594, 1594, 1594, 1594, 1594, 1941, 1594, 2096, 1594, - /* 570 */ 1594, 2111, 1594, 2115, 1594, 1594, 1594, 1594, 1594, 1594, - /* 580 */ 1594, 2050, 2046, 1594, 1594, 2042, 1594, 1594, 1594, 1594, - /* 590 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 600 */ 1594, 1594, 1940, 1594, 2001, 1594, 1594, 1594, 2035, 1594, - /* 610 */ 1594, 1986, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 620 */ 1594, 1949, 1594, 1952, 1594, 1594, 1594, 1594, 1594, 1776, - /* 630 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 640 */ 1594, 1594, 1761, 1759, 1758, 1757, 1594, 1754, 1594, 1789, - /* 650 */ 1594, 1594, 1594, 1785, 1784, 1594, 1594, 1594, 1594, 1594, - /* 660 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 670 */ 1691, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1683, - /* 680 */ 1594, 1682, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 690 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 700 */ 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, 1594, - /* 710 */ 1594, 1594, 1594, 1594, + /* 0 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 10 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 20 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 30 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 40 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 50 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 60 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 70 */ 1604, 1859, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 80 */ 1604, 1604, 1604, 1604, 1604, 1682, 1604, 1604, 1604, 1604, + /* 90 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 100 */ 1604, 1680, 1852, 2054, 1604, 1604, 1604, 1604, 1604, 1604, + /* 110 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 120 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 2066, 1604, 1604, + /* 130 */ 1682, 1604, 2066, 2066, 2066, 1680, 2026, 2026, 1604, 1604, + /* 140 */ 1604, 1604, 1789, 1604, 1604, 1604, 1604, 1604, 1604, 1789, + /* 150 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1901, 1604, + /* 160 */ 1604, 2091, 2145, 1604, 1604, 2094, 1604, 1604, 1604, 1864, + /* 170 */ 1604, 1742, 2081, 2058, 2072, 2129, 2059, 2056, 2075, 1604, + /* 180 */ 2085, 1604, 1894, 1857, 1604, 1857, 1854, 1604, 1604, 1857, + /* 190 */ 1854, 1854, 1733, 1604, 1604, 1604, 1604, 1604, 1604, 1682, + /* 200 */ 1604, 1682, 1604, 1604, 1682, 1604, 1682, 1682, 1682, 1604, + /* 210 */ 1682, 1661, 1661, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 220 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1914, + /* 230 */ 1604, 1680, 1903, 1604, 1680, 1604, 1604, 1604, 1604, 2102, + /* 240 */ 2100, 1604, 2102, 2100, 1604, 1604, 1604, 2114, 2110, 2102, + /* 250 */ 2118, 2116, 2087, 2085, 2148, 2135, 2131, 2072, 1604, 1604, + /* 260 */ 1604, 1604, 1680, 2100, 1604, 1604, 1604, 1604, 1604, 2100, + /* 270 */ 1604, 1604, 1680, 1604, 1680, 1604, 1604, 1758, 1604, 1604, + /* 280 */ 1604, 1680, 1636, 1604, 1896, 1907, 1879, 1879, 1792, 1792, + /* 290 */ 1792, 1683, 1609, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 300 */ 1604, 1604, 1604, 1604, 1604, 2113, 2112, 1982, 1604, 2030, + /* 310 */ 2029, 2028, 2019, 1981, 1754, 1604, 1980, 1979, 1604, 1604, + /* 320 */ 1604, 1604, 1604, 1870, 1869, 1973, 1604, 1604, 1974, 1972, + /* 330 */ 1971, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 340 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 2132, 2136, + /* 350 */ 1604, 1604, 1604, 1604, 1604, 1604, 2055, 1604, 1604, 1604, + /* 360 */ 1604, 1604, 1956, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 370 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 380 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 390 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 400 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 410 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 420 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 430 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 440 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 450 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 460 */ 1604, 1641, 1961, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 470 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 480 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 490 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 500 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1721, + /* 510 */ 1720, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 520 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 530 */ 1604, 1604, 1604, 1964, 1604, 1604, 1604, 1604, 1604, 1604, + /* 540 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 2128, 2088, 1604, + /* 550 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 560 */ 1604, 1604, 1604, 1604, 1604, 1604, 1956, 1604, 2111, 1604, + /* 570 */ 1604, 2126, 1604, 2130, 1604, 1604, 1604, 1604, 1604, 1604, + /* 580 */ 1604, 2065, 2061, 1604, 1604, 2057, 1604, 1604, 1604, 1604, + /* 590 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 600 */ 1604, 1604, 1955, 1604, 2016, 1604, 1604, 1604, 2050, 1604, + /* 610 */ 1604, 2001, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 620 */ 1604, 1964, 1604, 1967, 1604, 1604, 1604, 1604, 1604, 1786, + /* 630 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 640 */ 1604, 1604, 1771, 1769, 1768, 1767, 1604, 1764, 1604, 1799, + /* 650 */ 1604, 1604, 1604, 1795, 1794, 1604, 1604, 1604, 1604, 1604, + /* 660 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 670 */ 1701, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1693, + /* 680 */ 1604, 1692, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 690 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 700 */ 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, 1604, + /* 710 */ 1604, 1604, 1604, 1604, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1186,6 +1206,8 @@ static const YYCODETYPE yyFallback[] = { 0, /* INDEX => nothing */ 0, /* FUNCTION => nothing */ 0, /* INTERVAL => nothing */ + 0, /* COUNT => nothing */ + 0, /* LAST_ROW => nothing */ 0, /* TOPIC => nothing */ 0, /* WITH => nothing */ 0, /* META => nothing */ @@ -1243,8 +1265,6 @@ static const YYCODETYPE yyFallback[] = { 0, /* SERVER_VERSION => nothing */ 0, /* SERVER_STATUS => nothing */ 0, /* CURRENT_USER => nothing */ - 0, /* COUNT => nothing */ - 0, /* LAST_ROW => nothing */ 0, /* CASE => nothing */ 270, /* END => ABORT */ 0, /* WHEN => nothing */ @@ -1597,65 +1617,65 @@ static const char *const yyTokenName[] = { /* 164 */ "INDEX", /* 165 */ "FUNCTION", /* 166 */ "INTERVAL", - /* 167 */ "TOPIC", - /* 168 */ "WITH", - /* 169 */ "META", - /* 170 */ "CONSUMER", - /* 171 */ "GROUP", - /* 172 */ "DESC", - /* 173 */ "DESCRIBE", - /* 174 */ "RESET", - /* 175 */ "QUERY", - /* 176 */ "CACHE", - /* 177 */ "EXPLAIN", - /* 178 */ "ANALYZE", - /* 179 */ "VERBOSE", - /* 180 */ "NK_BOOL", - /* 181 */ "RATIO", - /* 182 */ "NK_FLOAT", - /* 183 */ "OUTPUTTYPE", - /* 184 */ "AGGREGATE", - /* 185 */ "BUFSIZE", - /* 186 */ "STREAM", - /* 187 */ "INTO", - /* 188 */ "TRIGGER", - /* 189 */ "AT_ONCE", - /* 190 */ "WINDOW_CLOSE", - /* 191 */ "IGNORE", - /* 192 */ "EXPIRED", - /* 193 */ "FILL_HISTORY", - /* 194 */ "SUBTABLE", - /* 195 */ "KILL", - /* 196 */ "CONNECTION", - /* 197 */ "TRANSACTION", - /* 198 */ "BALANCE", - /* 199 */ "VGROUP", - /* 200 */ "MERGE", - /* 201 */ "REDISTRIBUTE", - /* 202 */ "SPLIT", - /* 203 */ "DELETE", - /* 204 */ "INSERT", - /* 205 */ "NULL", - /* 206 */ "NK_QUESTION", - /* 207 */ "NK_ARROW", - /* 208 */ "ROWTS", - /* 209 */ "QSTART", - /* 210 */ "QEND", - /* 211 */ "QDURATION", - /* 212 */ "WSTART", - /* 213 */ "WEND", - /* 214 */ "WDURATION", - /* 215 */ "IROWTS", - /* 216 */ "CAST", - /* 217 */ "NOW", - /* 218 */ "TODAY", - /* 219 */ "TIMEZONE", - /* 220 */ "CLIENT_VERSION", - /* 221 */ "SERVER_VERSION", - /* 222 */ "SERVER_STATUS", - /* 223 */ "CURRENT_USER", - /* 224 */ "COUNT", - /* 225 */ "LAST_ROW", + /* 167 */ "COUNT", + /* 168 */ "LAST_ROW", + /* 169 */ "TOPIC", + /* 170 */ "WITH", + /* 171 */ "META", + /* 172 */ "CONSUMER", + /* 173 */ "GROUP", + /* 174 */ "DESC", + /* 175 */ "DESCRIBE", + /* 176 */ "RESET", + /* 177 */ "QUERY", + /* 178 */ "CACHE", + /* 179 */ "EXPLAIN", + /* 180 */ "ANALYZE", + /* 181 */ "VERBOSE", + /* 182 */ "NK_BOOL", + /* 183 */ "RATIO", + /* 184 */ "NK_FLOAT", + /* 185 */ "OUTPUTTYPE", + /* 186 */ "AGGREGATE", + /* 187 */ "BUFSIZE", + /* 188 */ "STREAM", + /* 189 */ "INTO", + /* 190 */ "TRIGGER", + /* 191 */ "AT_ONCE", + /* 192 */ "WINDOW_CLOSE", + /* 193 */ "IGNORE", + /* 194 */ "EXPIRED", + /* 195 */ "FILL_HISTORY", + /* 196 */ "SUBTABLE", + /* 197 */ "KILL", + /* 198 */ "CONNECTION", + /* 199 */ "TRANSACTION", + /* 200 */ "BALANCE", + /* 201 */ "VGROUP", + /* 202 */ "MERGE", + /* 203 */ "REDISTRIBUTE", + /* 204 */ "SPLIT", + /* 205 */ "DELETE", + /* 206 */ "INSERT", + /* 207 */ "NULL", + /* 208 */ "NK_QUESTION", + /* 209 */ "NK_ARROW", + /* 210 */ "ROWTS", + /* 211 */ "QSTART", + /* 212 */ "QEND", + /* 213 */ "QDURATION", + /* 214 */ "WSTART", + /* 215 */ "WEND", + /* 216 */ "WDURATION", + /* 217 */ "IROWTS", + /* 218 */ "CAST", + /* 219 */ "NOW", + /* 220 */ "TODAY", + /* 221 */ "TIMEZONE", + /* 222 */ "CLIENT_VERSION", + /* 223 */ "SERVER_VERSION", + /* 224 */ "SERVER_STATUS", + /* 225 */ "CURRENT_USER", /* 226 */ "CASE", /* 227 */ "END", /* 228 */ "WHEN", @@ -1817,78 +1837,79 @@ static const char *const yyTokenName[] = { /* 384 */ "sliding_opt", /* 385 */ "sma_stream_opt", /* 386 */ "func", - /* 387 */ "query_or_subquery", - /* 388 */ "cgroup_name", - /* 389 */ "analyze_opt", - /* 390 */ "explain_options", - /* 391 */ "agg_func_opt", - /* 392 */ "bufsize_opt", - /* 393 */ "stream_name", - /* 394 */ "stream_options", - /* 395 */ "subtable_opt", - /* 396 */ "expression", - /* 397 */ "dnode_list", - /* 398 */ "where_clause_opt", - /* 399 */ "signed", - /* 400 */ "literal_func", - /* 401 */ "literal_list", - /* 402 */ "table_alias", - /* 403 */ "expr_or_subquery", - /* 404 */ "pseudo_column", - /* 405 */ "column_reference", - /* 406 */ "function_expression", - /* 407 */ "case_when_expression", - /* 408 */ "star_func", - /* 409 */ "star_func_para_list", - /* 410 */ "noarg_func", - /* 411 */ "other_para_list", - /* 412 */ "star_func_para", - /* 413 */ "when_then_list", - /* 414 */ "case_when_else_opt", - /* 415 */ "common_expression", - /* 416 */ "when_then_expr", - /* 417 */ "predicate", - /* 418 */ "compare_op", - /* 419 */ "in_op", - /* 420 */ "in_predicate_value", - /* 421 */ "boolean_value_expression", - /* 422 */ "boolean_primary", - /* 423 */ "from_clause_opt", - /* 424 */ "table_reference_list", - /* 425 */ "table_reference", - /* 426 */ "table_primary", - /* 427 */ "joined_table", - /* 428 */ "alias_opt", - /* 429 */ "subquery", - /* 430 */ "parenthesized_joined_table", - /* 431 */ "join_type", - /* 432 */ "search_condition", - /* 433 */ "query_specification", - /* 434 */ "set_quantifier_opt", - /* 435 */ "select_list", - /* 436 */ "partition_by_clause_opt", - /* 437 */ "range_opt", - /* 438 */ "every_opt", - /* 439 */ "fill_opt", - /* 440 */ "twindow_clause_opt", - /* 441 */ "group_by_clause_opt", - /* 442 */ "having_clause_opt", - /* 443 */ "select_item", - /* 444 */ "partition_list", - /* 445 */ "partition_item", - /* 446 */ "fill_mode", - /* 447 */ "group_by_list", - /* 448 */ "query_expression", - /* 449 */ "query_simple", - /* 450 */ "order_by_clause_opt", - /* 451 */ "slimit_clause_opt", - /* 452 */ "limit_clause_opt", - /* 453 */ "union_query_expression", - /* 454 */ "query_simple_or_subquery", - /* 455 */ "sort_specification_list", - /* 456 */ "sort_specification", - /* 457 */ "ordering_specification_opt", - /* 458 */ "null_ordering_opt", + /* 387 */ "sma_func_name", + /* 388 */ "query_or_subquery", + /* 389 */ "cgroup_name", + /* 390 */ "analyze_opt", + /* 391 */ "explain_options", + /* 392 */ "agg_func_opt", + /* 393 */ "bufsize_opt", + /* 394 */ "stream_name", + /* 395 */ "stream_options", + /* 396 */ "subtable_opt", + /* 397 */ "expression", + /* 398 */ "dnode_list", + /* 399 */ "where_clause_opt", + /* 400 */ "signed", + /* 401 */ "literal_func", + /* 402 */ "literal_list", + /* 403 */ "table_alias", + /* 404 */ "expr_or_subquery", + /* 405 */ "pseudo_column", + /* 406 */ "column_reference", + /* 407 */ "function_expression", + /* 408 */ "case_when_expression", + /* 409 */ "star_func", + /* 410 */ "star_func_para_list", + /* 411 */ "noarg_func", + /* 412 */ "other_para_list", + /* 413 */ "star_func_para", + /* 414 */ "when_then_list", + /* 415 */ "case_when_else_opt", + /* 416 */ "common_expression", + /* 417 */ "when_then_expr", + /* 418 */ "predicate", + /* 419 */ "compare_op", + /* 420 */ "in_op", + /* 421 */ "in_predicate_value", + /* 422 */ "boolean_value_expression", + /* 423 */ "boolean_primary", + /* 424 */ "from_clause_opt", + /* 425 */ "table_reference_list", + /* 426 */ "table_reference", + /* 427 */ "table_primary", + /* 428 */ "joined_table", + /* 429 */ "alias_opt", + /* 430 */ "subquery", + /* 431 */ "parenthesized_joined_table", + /* 432 */ "join_type", + /* 433 */ "search_condition", + /* 434 */ "query_specification", + /* 435 */ "set_quantifier_opt", + /* 436 */ "select_list", + /* 437 */ "partition_by_clause_opt", + /* 438 */ "range_opt", + /* 439 */ "every_opt", + /* 440 */ "fill_opt", + /* 441 */ "twindow_clause_opt", + /* 442 */ "group_by_clause_opt", + /* 443 */ "having_clause_opt", + /* 444 */ "select_item", + /* 445 */ "partition_list", + /* 446 */ "partition_item", + /* 447 */ "fill_mode", + /* 448 */ "group_by_list", + /* 449 */ "query_expression", + /* 450 */ "query_simple", + /* 451 */ "order_by_clause_opt", + /* 452 */ "slimit_clause_opt", + /* 453 */ "limit_clause_opt", + /* 454 */ "union_query_expression", + /* 455 */ "query_simple_or_subquery", + /* 456 */ "sort_specification_list", + /* 457 */ "sort_specification", + /* 458 */ "ordering_specification_opt", + /* 459 */ "null_ordering_opt", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -2162,279 +2183,284 @@ static const char *const yyRuleName[] = { /* 263 */ "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", /* 264 */ "func_list ::= func", /* 265 */ "func_list ::= func_list NK_COMMA func", - /* 266 */ "func ::= function_name NK_LP expression_list NK_RP", - /* 267 */ "sma_stream_opt ::=", - /* 268 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", - /* 269 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", - /* 270 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", - /* 271 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", - /* 272 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name", - /* 273 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name", - /* 274 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name", - /* 275 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name", - /* 276 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 277 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 278 */ "cmd ::= DESC full_table_name", - /* 279 */ "cmd ::= DESCRIBE full_table_name", - /* 280 */ "cmd ::= RESET QUERY CACHE", - /* 281 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", - /* 282 */ "analyze_opt ::=", - /* 283 */ "analyze_opt ::= ANALYZE", - /* 284 */ "explain_options ::=", - /* 285 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 286 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 287 */ "cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt", - /* 288 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 289 */ "agg_func_opt ::=", - /* 290 */ "agg_func_opt ::= AGGREGATE", - /* 291 */ "bufsize_opt ::=", - /* 292 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 293 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name tags_def_opt subtable_opt AS query_or_subquery", - /* 294 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 295 */ "stream_options ::=", - /* 296 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 297 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 298 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 299 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 300 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", - /* 301 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", - /* 302 */ "subtable_opt ::=", - /* 303 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", - /* 304 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 305 */ "cmd ::= KILL QUERY NK_STRING", - /* 306 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 307 */ "cmd ::= BALANCE VGROUP", - /* 308 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 309 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 310 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 311 */ "dnode_list ::= DNODE NK_INTEGER", - /* 312 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 313 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 314 */ "cmd ::= query_or_subquery", - /* 315 */ "cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 316 */ "cmd ::= INSERT INTO full_table_name query_or_subquery", - /* 317 */ "literal ::= NK_INTEGER", - /* 318 */ "literal ::= NK_FLOAT", - /* 319 */ "literal ::= NK_STRING", - /* 320 */ "literal ::= NK_BOOL", - /* 321 */ "literal ::= TIMESTAMP NK_STRING", - /* 322 */ "literal ::= duration_literal", - /* 323 */ "literal ::= NULL", - /* 324 */ "literal ::= NK_QUESTION", - /* 325 */ "duration_literal ::= NK_VARIABLE", - /* 326 */ "signed ::= NK_INTEGER", - /* 327 */ "signed ::= NK_PLUS NK_INTEGER", - /* 328 */ "signed ::= NK_MINUS NK_INTEGER", - /* 329 */ "signed ::= NK_FLOAT", - /* 330 */ "signed ::= NK_PLUS NK_FLOAT", - /* 331 */ "signed ::= NK_MINUS NK_FLOAT", - /* 332 */ "signed_literal ::= signed", - /* 333 */ "signed_literal ::= NK_STRING", - /* 334 */ "signed_literal ::= NK_BOOL", - /* 335 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 336 */ "signed_literal ::= duration_literal", - /* 337 */ "signed_literal ::= NULL", - /* 338 */ "signed_literal ::= literal_func", - /* 339 */ "signed_literal ::= NK_QUESTION", - /* 340 */ "literal_list ::= signed_literal", - /* 341 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 342 */ "db_name ::= NK_ID", - /* 343 */ "table_name ::= NK_ID", - /* 344 */ "column_name ::= NK_ID", - /* 345 */ "function_name ::= NK_ID", - /* 346 */ "table_alias ::= NK_ID", - /* 347 */ "column_alias ::= NK_ID", - /* 348 */ "user_name ::= NK_ID", - /* 349 */ "topic_name ::= NK_ID", - /* 350 */ "stream_name ::= NK_ID", - /* 351 */ "cgroup_name ::= NK_ID", - /* 352 */ "expr_or_subquery ::= expression", - /* 353 */ "expression ::= literal", - /* 354 */ "expression ::= pseudo_column", - /* 355 */ "expression ::= column_reference", - /* 356 */ "expression ::= function_expression", - /* 357 */ "expression ::= case_when_expression", - /* 358 */ "expression ::= NK_LP expression NK_RP", - /* 359 */ "expression ::= NK_PLUS expr_or_subquery", - /* 360 */ "expression ::= NK_MINUS expr_or_subquery", - /* 361 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 362 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 363 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 364 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 365 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 366 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 367 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 368 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 369 */ "expression_list ::= expr_or_subquery", - /* 370 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 371 */ "column_reference ::= column_name", - /* 372 */ "column_reference ::= table_name NK_DOT column_name", - /* 373 */ "pseudo_column ::= ROWTS", - /* 374 */ "pseudo_column ::= TBNAME", - /* 375 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 376 */ "pseudo_column ::= QSTART", - /* 377 */ "pseudo_column ::= QEND", - /* 378 */ "pseudo_column ::= QDURATION", - /* 379 */ "pseudo_column ::= WSTART", - /* 380 */ "pseudo_column ::= WEND", - /* 381 */ "pseudo_column ::= WDURATION", - /* 382 */ "pseudo_column ::= IROWTS", - /* 383 */ "pseudo_column ::= QTAGS", - /* 384 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 385 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 386 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 387 */ "function_expression ::= literal_func", - /* 388 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 389 */ "literal_func ::= NOW", - /* 390 */ "noarg_func ::= NOW", - /* 391 */ "noarg_func ::= TODAY", - /* 392 */ "noarg_func ::= TIMEZONE", - /* 393 */ "noarg_func ::= DATABASE", - /* 394 */ "noarg_func ::= CLIENT_VERSION", - /* 395 */ "noarg_func ::= SERVER_VERSION", - /* 396 */ "noarg_func ::= SERVER_STATUS", - /* 397 */ "noarg_func ::= CURRENT_USER", - /* 398 */ "noarg_func ::= USER", - /* 399 */ "star_func ::= COUNT", - /* 400 */ "star_func ::= FIRST", - /* 401 */ "star_func ::= LAST", - /* 402 */ "star_func ::= LAST_ROW", - /* 403 */ "star_func_para_list ::= NK_STAR", - /* 404 */ "star_func_para_list ::= other_para_list", - /* 405 */ "other_para_list ::= star_func_para", - /* 406 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 407 */ "star_func_para ::= expr_or_subquery", - /* 408 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 409 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 410 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 411 */ "when_then_list ::= when_then_expr", - /* 412 */ "when_then_list ::= when_then_list when_then_expr", - /* 413 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 414 */ "case_when_else_opt ::=", - /* 415 */ "case_when_else_opt ::= ELSE common_expression", - /* 416 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 417 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 418 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 419 */ "predicate ::= expr_or_subquery IS NULL", - /* 420 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 421 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 422 */ "compare_op ::= NK_LT", - /* 423 */ "compare_op ::= NK_GT", - /* 424 */ "compare_op ::= NK_LE", - /* 425 */ "compare_op ::= NK_GE", - /* 426 */ "compare_op ::= NK_NE", - /* 427 */ "compare_op ::= NK_EQ", - /* 428 */ "compare_op ::= LIKE", - /* 429 */ "compare_op ::= NOT LIKE", - /* 430 */ "compare_op ::= MATCH", - /* 431 */ "compare_op ::= NMATCH", - /* 432 */ "compare_op ::= CONTAINS", - /* 433 */ "in_op ::= IN", - /* 434 */ "in_op ::= NOT IN", - /* 435 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 436 */ "boolean_value_expression ::= boolean_primary", - /* 437 */ "boolean_value_expression ::= NOT boolean_primary", - /* 438 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 439 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 440 */ "boolean_primary ::= predicate", - /* 441 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 442 */ "common_expression ::= expr_or_subquery", - /* 443 */ "common_expression ::= boolean_value_expression", - /* 444 */ "from_clause_opt ::=", - /* 445 */ "from_clause_opt ::= FROM table_reference_list", - /* 446 */ "table_reference_list ::= table_reference", - /* 447 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 448 */ "table_reference ::= table_primary", - /* 449 */ "table_reference ::= joined_table", - /* 450 */ "table_primary ::= table_name alias_opt", - /* 451 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 452 */ "table_primary ::= subquery alias_opt", - /* 453 */ "table_primary ::= parenthesized_joined_table", - /* 454 */ "alias_opt ::=", - /* 455 */ "alias_opt ::= table_alias", - /* 456 */ "alias_opt ::= AS table_alias", - /* 457 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 458 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 459 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 460 */ "join_type ::=", - /* 461 */ "join_type ::= INNER", - /* 462 */ "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", - /* 463 */ "set_quantifier_opt ::=", - /* 464 */ "set_quantifier_opt ::= DISTINCT", - /* 465 */ "set_quantifier_opt ::= ALL", - /* 466 */ "select_list ::= select_item", - /* 467 */ "select_list ::= select_list NK_COMMA select_item", - /* 468 */ "select_item ::= NK_STAR", - /* 469 */ "select_item ::= common_expression", - /* 470 */ "select_item ::= common_expression column_alias", - /* 471 */ "select_item ::= common_expression AS column_alias", - /* 472 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 473 */ "where_clause_opt ::=", - /* 474 */ "where_clause_opt ::= WHERE search_condition", - /* 475 */ "partition_by_clause_opt ::=", - /* 476 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 477 */ "partition_list ::= partition_item", - /* 478 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 479 */ "partition_item ::= expr_or_subquery", - /* 480 */ "partition_item ::= expr_or_subquery column_alias", - /* 481 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 482 */ "twindow_clause_opt ::=", - /* 483 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 484 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 485 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 486 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 487 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 488 */ "sliding_opt ::=", - /* 489 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 490 */ "fill_opt ::=", - /* 491 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 492 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", - /* 493 */ "fill_mode ::= NONE", - /* 494 */ "fill_mode ::= PREV", - /* 495 */ "fill_mode ::= NULL", - /* 496 */ "fill_mode ::= LINEAR", - /* 497 */ "fill_mode ::= NEXT", - /* 498 */ "group_by_clause_opt ::=", - /* 499 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 500 */ "group_by_list ::= expr_or_subquery", - /* 501 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 502 */ "having_clause_opt ::=", - /* 503 */ "having_clause_opt ::= HAVING search_condition", - /* 504 */ "range_opt ::=", - /* 505 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 506 */ "every_opt ::=", - /* 507 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 508 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 509 */ "query_simple ::= query_specification", - /* 510 */ "query_simple ::= union_query_expression", - /* 511 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 512 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 513 */ "query_simple_or_subquery ::= query_simple", - /* 514 */ "query_simple_or_subquery ::= subquery", - /* 515 */ "query_or_subquery ::= query_expression", - /* 516 */ "query_or_subquery ::= subquery", - /* 517 */ "order_by_clause_opt ::=", - /* 518 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 519 */ "slimit_clause_opt ::=", - /* 520 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 521 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 522 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 523 */ "limit_clause_opt ::=", - /* 524 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 525 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 526 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 527 */ "subquery ::= NK_LP query_expression NK_RP", - /* 528 */ "subquery ::= NK_LP subquery NK_RP", - /* 529 */ "search_condition ::= common_expression", - /* 530 */ "sort_specification_list ::= sort_specification", - /* 531 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 532 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 533 */ "ordering_specification_opt ::=", - /* 534 */ "ordering_specification_opt ::= ASC", - /* 535 */ "ordering_specification_opt ::= DESC", - /* 536 */ "null_ordering_opt ::=", - /* 537 */ "null_ordering_opt ::= NULLS FIRST", - /* 538 */ "null_ordering_opt ::= NULLS LAST", + /* 266 */ "func ::= sma_func_name NK_LP expression_list NK_RP", + /* 267 */ "sma_func_name ::= function_name", + /* 268 */ "sma_func_name ::= COUNT", + /* 269 */ "sma_func_name ::= FIRST", + /* 270 */ "sma_func_name ::= LAST", + /* 271 */ "sma_func_name ::= LAST_ROW", + /* 272 */ "sma_stream_opt ::=", + /* 273 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", + /* 274 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", + /* 275 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", + /* 276 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", + /* 277 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name", + /* 278 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name", + /* 279 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name", + /* 280 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name", + /* 281 */ "cmd ::= DROP TOPIC exists_opt topic_name", + /* 282 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", + /* 283 */ "cmd ::= DESC full_table_name", + /* 284 */ "cmd ::= DESCRIBE full_table_name", + /* 285 */ "cmd ::= RESET QUERY CACHE", + /* 286 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", + /* 287 */ "analyze_opt ::=", + /* 288 */ "analyze_opt ::= ANALYZE", + /* 289 */ "explain_options ::=", + /* 290 */ "explain_options ::= explain_options VERBOSE NK_BOOL", + /* 291 */ "explain_options ::= explain_options RATIO NK_FLOAT", + /* 292 */ "cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt", + /* 293 */ "cmd ::= DROP FUNCTION exists_opt function_name", + /* 294 */ "agg_func_opt ::=", + /* 295 */ "agg_func_opt ::= AGGREGATE", + /* 296 */ "bufsize_opt ::=", + /* 297 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", + /* 298 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name tags_def_opt subtable_opt AS query_or_subquery", + /* 299 */ "cmd ::= DROP STREAM exists_opt stream_name", + /* 300 */ "stream_options ::=", + /* 301 */ "stream_options ::= stream_options TRIGGER AT_ONCE", + /* 302 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", + /* 303 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", + /* 304 */ "stream_options ::= stream_options WATERMARK duration_literal", + /* 305 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", + /* 306 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", + /* 307 */ "subtable_opt ::=", + /* 308 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", + /* 309 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 310 */ "cmd ::= KILL QUERY NK_STRING", + /* 311 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 312 */ "cmd ::= BALANCE VGROUP", + /* 313 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 314 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 315 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 316 */ "dnode_list ::= DNODE NK_INTEGER", + /* 317 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 318 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 319 */ "cmd ::= query_or_subquery", + /* 320 */ "cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 321 */ "cmd ::= INSERT INTO full_table_name query_or_subquery", + /* 322 */ "literal ::= NK_INTEGER", + /* 323 */ "literal ::= NK_FLOAT", + /* 324 */ "literal ::= NK_STRING", + /* 325 */ "literal ::= NK_BOOL", + /* 326 */ "literal ::= TIMESTAMP NK_STRING", + /* 327 */ "literal ::= duration_literal", + /* 328 */ "literal ::= NULL", + /* 329 */ "literal ::= NK_QUESTION", + /* 330 */ "duration_literal ::= NK_VARIABLE", + /* 331 */ "signed ::= NK_INTEGER", + /* 332 */ "signed ::= NK_PLUS NK_INTEGER", + /* 333 */ "signed ::= NK_MINUS NK_INTEGER", + /* 334 */ "signed ::= NK_FLOAT", + /* 335 */ "signed ::= NK_PLUS NK_FLOAT", + /* 336 */ "signed ::= NK_MINUS NK_FLOAT", + /* 337 */ "signed_literal ::= signed", + /* 338 */ "signed_literal ::= NK_STRING", + /* 339 */ "signed_literal ::= NK_BOOL", + /* 340 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 341 */ "signed_literal ::= duration_literal", + /* 342 */ "signed_literal ::= NULL", + /* 343 */ "signed_literal ::= literal_func", + /* 344 */ "signed_literal ::= NK_QUESTION", + /* 345 */ "literal_list ::= signed_literal", + /* 346 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 347 */ "db_name ::= NK_ID", + /* 348 */ "table_name ::= NK_ID", + /* 349 */ "column_name ::= NK_ID", + /* 350 */ "function_name ::= NK_ID", + /* 351 */ "table_alias ::= NK_ID", + /* 352 */ "column_alias ::= NK_ID", + /* 353 */ "user_name ::= NK_ID", + /* 354 */ "topic_name ::= NK_ID", + /* 355 */ "stream_name ::= NK_ID", + /* 356 */ "cgroup_name ::= NK_ID", + /* 357 */ "expr_or_subquery ::= expression", + /* 358 */ "expression ::= literal", + /* 359 */ "expression ::= pseudo_column", + /* 360 */ "expression ::= column_reference", + /* 361 */ "expression ::= function_expression", + /* 362 */ "expression ::= case_when_expression", + /* 363 */ "expression ::= NK_LP expression NK_RP", + /* 364 */ "expression ::= NK_PLUS expr_or_subquery", + /* 365 */ "expression ::= NK_MINUS expr_or_subquery", + /* 366 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 367 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 368 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 369 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 370 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 371 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 372 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 373 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 374 */ "expression_list ::= expr_or_subquery", + /* 375 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 376 */ "column_reference ::= column_name", + /* 377 */ "column_reference ::= table_name NK_DOT column_name", + /* 378 */ "pseudo_column ::= ROWTS", + /* 379 */ "pseudo_column ::= TBNAME", + /* 380 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 381 */ "pseudo_column ::= QSTART", + /* 382 */ "pseudo_column ::= QEND", + /* 383 */ "pseudo_column ::= QDURATION", + /* 384 */ "pseudo_column ::= WSTART", + /* 385 */ "pseudo_column ::= WEND", + /* 386 */ "pseudo_column ::= WDURATION", + /* 387 */ "pseudo_column ::= IROWTS", + /* 388 */ "pseudo_column ::= QTAGS", + /* 389 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 390 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 391 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 392 */ "function_expression ::= literal_func", + /* 393 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 394 */ "literal_func ::= NOW", + /* 395 */ "noarg_func ::= NOW", + /* 396 */ "noarg_func ::= TODAY", + /* 397 */ "noarg_func ::= TIMEZONE", + /* 398 */ "noarg_func ::= DATABASE", + /* 399 */ "noarg_func ::= CLIENT_VERSION", + /* 400 */ "noarg_func ::= SERVER_VERSION", + /* 401 */ "noarg_func ::= SERVER_STATUS", + /* 402 */ "noarg_func ::= CURRENT_USER", + /* 403 */ "noarg_func ::= USER", + /* 404 */ "star_func ::= COUNT", + /* 405 */ "star_func ::= FIRST", + /* 406 */ "star_func ::= LAST", + /* 407 */ "star_func ::= LAST_ROW", + /* 408 */ "star_func_para_list ::= NK_STAR", + /* 409 */ "star_func_para_list ::= other_para_list", + /* 410 */ "other_para_list ::= star_func_para", + /* 411 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 412 */ "star_func_para ::= expr_or_subquery", + /* 413 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 414 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 415 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 416 */ "when_then_list ::= when_then_expr", + /* 417 */ "when_then_list ::= when_then_list when_then_expr", + /* 418 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 419 */ "case_when_else_opt ::=", + /* 420 */ "case_when_else_opt ::= ELSE common_expression", + /* 421 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 422 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 423 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 424 */ "predicate ::= expr_or_subquery IS NULL", + /* 425 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 426 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 427 */ "compare_op ::= NK_LT", + /* 428 */ "compare_op ::= NK_GT", + /* 429 */ "compare_op ::= NK_LE", + /* 430 */ "compare_op ::= NK_GE", + /* 431 */ "compare_op ::= NK_NE", + /* 432 */ "compare_op ::= NK_EQ", + /* 433 */ "compare_op ::= LIKE", + /* 434 */ "compare_op ::= NOT LIKE", + /* 435 */ "compare_op ::= MATCH", + /* 436 */ "compare_op ::= NMATCH", + /* 437 */ "compare_op ::= CONTAINS", + /* 438 */ "in_op ::= IN", + /* 439 */ "in_op ::= NOT IN", + /* 440 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 441 */ "boolean_value_expression ::= boolean_primary", + /* 442 */ "boolean_value_expression ::= NOT boolean_primary", + /* 443 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 444 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 445 */ "boolean_primary ::= predicate", + /* 446 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 447 */ "common_expression ::= expr_or_subquery", + /* 448 */ "common_expression ::= boolean_value_expression", + /* 449 */ "from_clause_opt ::=", + /* 450 */ "from_clause_opt ::= FROM table_reference_list", + /* 451 */ "table_reference_list ::= table_reference", + /* 452 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 453 */ "table_reference ::= table_primary", + /* 454 */ "table_reference ::= joined_table", + /* 455 */ "table_primary ::= table_name alias_opt", + /* 456 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 457 */ "table_primary ::= subquery alias_opt", + /* 458 */ "table_primary ::= parenthesized_joined_table", + /* 459 */ "alias_opt ::=", + /* 460 */ "alias_opt ::= table_alias", + /* 461 */ "alias_opt ::= AS table_alias", + /* 462 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 463 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 464 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 465 */ "join_type ::=", + /* 466 */ "join_type ::= INNER", + /* 467 */ "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", + /* 468 */ "set_quantifier_opt ::=", + /* 469 */ "set_quantifier_opt ::= DISTINCT", + /* 470 */ "set_quantifier_opt ::= ALL", + /* 471 */ "select_list ::= select_item", + /* 472 */ "select_list ::= select_list NK_COMMA select_item", + /* 473 */ "select_item ::= NK_STAR", + /* 474 */ "select_item ::= common_expression", + /* 475 */ "select_item ::= common_expression column_alias", + /* 476 */ "select_item ::= common_expression AS column_alias", + /* 477 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 478 */ "where_clause_opt ::=", + /* 479 */ "where_clause_opt ::= WHERE search_condition", + /* 480 */ "partition_by_clause_opt ::=", + /* 481 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 482 */ "partition_list ::= partition_item", + /* 483 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 484 */ "partition_item ::= expr_or_subquery", + /* 485 */ "partition_item ::= expr_or_subquery column_alias", + /* 486 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 487 */ "twindow_clause_opt ::=", + /* 488 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 489 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 490 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 491 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 492 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 493 */ "sliding_opt ::=", + /* 494 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 495 */ "fill_opt ::=", + /* 496 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 497 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", + /* 498 */ "fill_mode ::= NONE", + /* 499 */ "fill_mode ::= PREV", + /* 500 */ "fill_mode ::= NULL", + /* 501 */ "fill_mode ::= LINEAR", + /* 502 */ "fill_mode ::= NEXT", + /* 503 */ "group_by_clause_opt ::=", + /* 504 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 505 */ "group_by_list ::= expr_or_subquery", + /* 506 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 507 */ "having_clause_opt ::=", + /* 508 */ "having_clause_opt ::= HAVING search_condition", + /* 509 */ "range_opt ::=", + /* 510 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 511 */ "every_opt ::=", + /* 512 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 513 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 514 */ "query_simple ::= query_specification", + /* 515 */ "query_simple ::= union_query_expression", + /* 516 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 517 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 518 */ "query_simple_or_subquery ::= query_simple", + /* 519 */ "query_simple_or_subquery ::= subquery", + /* 520 */ "query_or_subquery ::= query_expression", + /* 521 */ "query_or_subquery ::= subquery", + /* 522 */ "order_by_clause_opt ::=", + /* 523 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 524 */ "slimit_clause_opt ::=", + /* 525 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 526 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 527 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 528 */ "limit_clause_opt ::=", + /* 529 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 530 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 531 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 532 */ "subquery ::= NK_LP query_expression NK_RP", + /* 533 */ "subquery ::= NK_LP subquery NK_RP", + /* 534 */ "search_condition ::= common_expression", + /* 535 */ "sort_specification_list ::= sort_specification", + /* 536 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 537 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 538 */ "ordering_specification_opt ::=", + /* 539 */ "ordering_specification_opt ::= ASC", + /* 540 */ "ordering_specification_opt ::= DESC", + /* 541 */ "null_ordering_opt ::=", + /* 542 */ "null_ordering_opt ::= NULLS FIRST", + /* 543 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -2586,59 +2612,59 @@ static void yy_destructor( case 384: /* sliding_opt */ case 385: /* sma_stream_opt */ case 386: /* func */ - case 387: /* query_or_subquery */ - case 390: /* explain_options */ - case 394: /* stream_options */ - case 395: /* subtable_opt */ - case 396: /* expression */ - case 398: /* where_clause_opt */ - case 399: /* signed */ - case 400: /* literal_func */ - case 403: /* expr_or_subquery */ - case 404: /* pseudo_column */ - case 405: /* column_reference */ - case 406: /* function_expression */ - case 407: /* case_when_expression */ - case 412: /* star_func_para */ - case 414: /* case_when_else_opt */ - case 415: /* common_expression */ - case 416: /* when_then_expr */ - case 417: /* predicate */ - case 420: /* in_predicate_value */ - case 421: /* boolean_value_expression */ - case 422: /* boolean_primary */ - case 423: /* from_clause_opt */ - case 424: /* table_reference_list */ - case 425: /* table_reference */ - case 426: /* table_primary */ - case 427: /* joined_table */ - case 429: /* subquery */ - case 430: /* parenthesized_joined_table */ - case 432: /* search_condition */ - case 433: /* query_specification */ - case 437: /* range_opt */ - case 438: /* every_opt */ - case 439: /* fill_opt */ - case 440: /* twindow_clause_opt */ - case 442: /* having_clause_opt */ - case 443: /* select_item */ - case 445: /* partition_item */ - case 448: /* query_expression */ - case 449: /* query_simple */ - case 451: /* slimit_clause_opt */ - case 452: /* limit_clause_opt */ - case 453: /* union_query_expression */ - case 454: /* query_simple_or_subquery */ - case 456: /* sort_specification */ + case 388: /* query_or_subquery */ + case 391: /* explain_options */ + case 395: /* stream_options */ + case 396: /* subtable_opt */ + case 397: /* expression */ + case 399: /* where_clause_opt */ + case 400: /* signed */ + case 401: /* literal_func */ + case 404: /* expr_or_subquery */ + case 405: /* pseudo_column */ + case 406: /* column_reference */ + case 407: /* function_expression */ + case 408: /* case_when_expression */ + case 413: /* star_func_para */ + case 415: /* case_when_else_opt */ + case 416: /* common_expression */ + case 417: /* when_then_expr */ + case 418: /* predicate */ + case 421: /* in_predicate_value */ + case 422: /* boolean_value_expression */ + case 423: /* boolean_primary */ + case 424: /* from_clause_opt */ + case 425: /* table_reference_list */ + case 426: /* table_reference */ + case 427: /* table_primary */ + case 428: /* joined_table */ + case 430: /* subquery */ + case 431: /* parenthesized_joined_table */ + case 433: /* search_condition */ + case 434: /* query_specification */ + case 438: /* range_opt */ + case 439: /* every_opt */ + case 440: /* fill_opt */ + case 441: /* twindow_clause_opt */ + case 443: /* having_clause_opt */ + case 444: /* select_item */ + case 446: /* partition_item */ + case 449: /* query_expression */ + case 450: /* query_simple */ + case 452: /* slimit_clause_opt */ + case 453: /* limit_clause_opt */ + case 454: /* union_query_expression */ + case 455: /* query_simple_or_subquery */ + case 457: /* sort_specification */ { - nodesDestroyNode((yypminor->yy74)); + nodesDestroyNode((yypminor->yy752)); } break; case 325: /* account_options */ case 326: /* alter_account_options */ case 328: /* alter_account_option */ case 343: /* speed_opt */ - case 392: /* bufsize_opt */ + case 393: /* bufsize_opt */ { } @@ -2652,12 +2678,13 @@ static void yy_destructor( case 366: /* table_name */ case 373: /* function_name */ case 381: /* column_alias */ - case 388: /* cgroup_name */ - case 393: /* stream_name */ - case 402: /* table_alias */ - case 408: /* star_func */ - case 410: /* noarg_func */ - case 428: /* alias_opt */ + case 387: /* sma_func_name */ + case 389: /* cgroup_name */ + case 394: /* stream_name */ + case 403: /* table_alias */ + case 409: /* star_func */ + case 411: /* noarg_func */ + case 429: /* alias_opt */ { } @@ -2677,9 +2704,9 @@ static void yy_destructor( case 338: /* force_opt */ case 339: /* not_exists_opt */ case 341: /* exists_opt */ - case 389: /* analyze_opt */ - case 391: /* agg_func_opt */ - case 434: /* set_quantifier_opt */ + case 390: /* analyze_opt */ + case 392: /* agg_func_opt */ + case 435: /* set_quantifier_opt */ { } @@ -2699,20 +2726,20 @@ static void yy_destructor( case 369: /* rollup_func_list */ case 379: /* tag_list_opt */ case 383: /* func_list */ - case 397: /* dnode_list */ - case 401: /* literal_list */ - case 409: /* star_func_para_list */ - case 411: /* other_para_list */ - case 413: /* when_then_list */ - case 435: /* select_list */ - case 436: /* partition_by_clause_opt */ - case 441: /* group_by_clause_opt */ - case 444: /* partition_list */ - case 447: /* group_by_list */ - case 450: /* order_by_clause_opt */ - case 455: /* sort_specification_list */ + case 398: /* dnode_list */ + case 402: /* literal_list */ + case 410: /* star_func_para_list */ + case 412: /* other_para_list */ + case 414: /* when_then_list */ + case 436: /* select_list */ + case 437: /* partition_by_clause_opt */ + case 442: /* group_by_clause_opt */ + case 445: /* partition_list */ + case 448: /* group_by_list */ + case 451: /* order_by_clause_opt */ + case 456: /* sort_specification_list */ { - nodesDestroyList((yypminor->yy874)); + nodesDestroyList((yypminor->yy424)); } break; case 347: /* alter_db_option */ @@ -2726,28 +2753,28 @@ static void yy_destructor( } break; - case 418: /* compare_op */ - case 419: /* in_op */ + case 419: /* compare_op */ + case 420: /* in_op */ { } break; - case 431: /* join_type */ + case 432: /* join_type */ { } break; - case 446: /* fill_mode */ + case 447: /* fill_mode */ { } break; - case 457: /* ordering_specification_opt */ + case 458: /* ordering_specification_opt */ { } break; - case 458: /* null_ordering_opt */ + case 459: /* null_ordering_opt */ { } @@ -3312,279 +3339,284 @@ static const struct { { 382, -12 }, /* (263) 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 */ { 383, -1 }, /* (264) func_list ::= func */ { 383, -3 }, /* (265) func_list ::= func_list NK_COMMA func */ - { 386, -4 }, /* (266) func ::= function_name NK_LP expression_list NK_RP */ - { 385, 0 }, /* (267) sma_stream_opt ::= */ - { 385, -3 }, /* (268) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - { 385, -3 }, /* (269) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - { 385, -3 }, /* (270) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - { 324, -6 }, /* (271) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - { 324, -7 }, /* (272) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ - { 324, -9 }, /* (273) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ - { 324, -7 }, /* (274) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ - { 324, -9 }, /* (275) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ - { 324, -4 }, /* (276) cmd ::= DROP TOPIC exists_opt topic_name */ - { 324, -7 }, /* (277) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - { 324, -2 }, /* (278) cmd ::= DESC full_table_name */ - { 324, -2 }, /* (279) cmd ::= DESCRIBE full_table_name */ - { 324, -3 }, /* (280) cmd ::= RESET QUERY CACHE */ - { 324, -4 }, /* (281) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - { 389, 0 }, /* (282) analyze_opt ::= */ - { 389, -1 }, /* (283) analyze_opt ::= ANALYZE */ - { 390, 0 }, /* (284) explain_options ::= */ - { 390, -3 }, /* (285) explain_options ::= explain_options VERBOSE NK_BOOL */ - { 390, -3 }, /* (286) explain_options ::= explain_options RATIO NK_FLOAT */ - { 324, -10 }, /* (287) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ - { 324, -4 }, /* (288) cmd ::= DROP FUNCTION exists_opt function_name */ - { 391, 0 }, /* (289) agg_func_opt ::= */ - { 391, -1 }, /* (290) agg_func_opt ::= AGGREGATE */ - { 392, 0 }, /* (291) bufsize_opt ::= */ - { 392, -2 }, /* (292) bufsize_opt ::= BUFSIZE NK_INTEGER */ - { 324, -11 }, /* (293) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name tags_def_opt subtable_opt AS query_or_subquery */ - { 324, -4 }, /* (294) cmd ::= DROP STREAM exists_opt stream_name */ - { 394, 0 }, /* (295) stream_options ::= */ - { 394, -3 }, /* (296) stream_options ::= stream_options TRIGGER AT_ONCE */ - { 394, -3 }, /* (297) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - { 394, -4 }, /* (298) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - { 394, -3 }, /* (299) stream_options ::= stream_options WATERMARK duration_literal */ - { 394, -4 }, /* (300) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - { 394, -3 }, /* (301) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - { 395, 0 }, /* (302) subtable_opt ::= */ - { 395, -4 }, /* (303) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - { 324, -3 }, /* (304) cmd ::= KILL CONNECTION NK_INTEGER */ - { 324, -3 }, /* (305) cmd ::= KILL QUERY NK_STRING */ - { 324, -3 }, /* (306) cmd ::= KILL TRANSACTION NK_INTEGER */ - { 324, -2 }, /* (307) cmd ::= BALANCE VGROUP */ - { 324, -4 }, /* (308) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - { 324, -4 }, /* (309) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - { 324, -3 }, /* (310) cmd ::= SPLIT VGROUP NK_INTEGER */ - { 397, -2 }, /* (311) dnode_list ::= DNODE NK_INTEGER */ - { 397, -3 }, /* (312) dnode_list ::= dnode_list DNODE NK_INTEGER */ - { 324, -4 }, /* (313) cmd ::= DELETE FROM full_table_name where_clause_opt */ - { 324, -1 }, /* (314) cmd ::= query_or_subquery */ - { 324, -7 }, /* (315) cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - { 324, -4 }, /* (316) cmd ::= INSERT INTO full_table_name query_or_subquery */ - { 327, -1 }, /* (317) literal ::= NK_INTEGER */ - { 327, -1 }, /* (318) literal ::= NK_FLOAT */ - { 327, -1 }, /* (319) literal ::= NK_STRING */ - { 327, -1 }, /* (320) literal ::= NK_BOOL */ - { 327, -2 }, /* (321) literal ::= TIMESTAMP NK_STRING */ - { 327, -1 }, /* (322) literal ::= duration_literal */ - { 327, -1 }, /* (323) literal ::= NULL */ - { 327, -1 }, /* (324) literal ::= NK_QUESTION */ - { 371, -1 }, /* (325) duration_literal ::= NK_VARIABLE */ - { 399, -1 }, /* (326) signed ::= NK_INTEGER */ - { 399, -2 }, /* (327) signed ::= NK_PLUS NK_INTEGER */ - { 399, -2 }, /* (328) signed ::= NK_MINUS NK_INTEGER */ - { 399, -1 }, /* (329) signed ::= NK_FLOAT */ - { 399, -2 }, /* (330) signed ::= NK_PLUS NK_FLOAT */ - { 399, -2 }, /* (331) signed ::= NK_MINUS NK_FLOAT */ - { 360, -1 }, /* (332) signed_literal ::= signed */ - { 360, -1 }, /* (333) signed_literal ::= NK_STRING */ - { 360, -1 }, /* (334) signed_literal ::= NK_BOOL */ - { 360, -2 }, /* (335) signed_literal ::= TIMESTAMP NK_STRING */ - { 360, -1 }, /* (336) signed_literal ::= duration_literal */ - { 360, -1 }, /* (337) signed_literal ::= NULL */ - { 360, -1 }, /* (338) signed_literal ::= literal_func */ - { 360, -1 }, /* (339) signed_literal ::= NK_QUESTION */ - { 401, -1 }, /* (340) literal_list ::= signed_literal */ - { 401, -3 }, /* (341) literal_list ::= literal_list NK_COMMA signed_literal */ - { 335, -1 }, /* (342) db_name ::= NK_ID */ - { 366, -1 }, /* (343) table_name ::= NK_ID */ - { 358, -1 }, /* (344) column_name ::= NK_ID */ - { 373, -1 }, /* (345) function_name ::= NK_ID */ - { 402, -1 }, /* (346) table_alias ::= NK_ID */ - { 381, -1 }, /* (347) column_alias ::= NK_ID */ - { 329, -1 }, /* (348) user_name ::= NK_ID */ - { 336, -1 }, /* (349) topic_name ::= NK_ID */ - { 393, -1 }, /* (350) stream_name ::= NK_ID */ - { 388, -1 }, /* (351) cgroup_name ::= NK_ID */ - { 403, -1 }, /* (352) expr_or_subquery ::= expression */ - { 396, -1 }, /* (353) expression ::= literal */ - { 396, -1 }, /* (354) expression ::= pseudo_column */ - { 396, -1 }, /* (355) expression ::= column_reference */ - { 396, -1 }, /* (356) expression ::= function_expression */ - { 396, -1 }, /* (357) expression ::= case_when_expression */ - { 396, -3 }, /* (358) expression ::= NK_LP expression NK_RP */ - { 396, -2 }, /* (359) expression ::= NK_PLUS expr_or_subquery */ - { 396, -2 }, /* (360) expression ::= NK_MINUS expr_or_subquery */ - { 396, -3 }, /* (361) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - { 396, -3 }, /* (362) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - { 396, -3 }, /* (363) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - { 396, -3 }, /* (364) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - { 396, -3 }, /* (365) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - { 396, -3 }, /* (366) expression ::= column_reference NK_ARROW NK_STRING */ - { 396, -3 }, /* (367) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - { 396, -3 }, /* (368) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - { 363, -1 }, /* (369) expression_list ::= expr_or_subquery */ - { 363, -3 }, /* (370) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - { 405, -1 }, /* (371) column_reference ::= column_name */ - { 405, -3 }, /* (372) column_reference ::= table_name NK_DOT column_name */ - { 404, -1 }, /* (373) pseudo_column ::= ROWTS */ - { 404, -1 }, /* (374) pseudo_column ::= TBNAME */ - { 404, -3 }, /* (375) pseudo_column ::= table_name NK_DOT TBNAME */ - { 404, -1 }, /* (376) pseudo_column ::= QSTART */ - { 404, -1 }, /* (377) pseudo_column ::= QEND */ - { 404, -1 }, /* (378) pseudo_column ::= QDURATION */ - { 404, -1 }, /* (379) pseudo_column ::= WSTART */ - { 404, -1 }, /* (380) pseudo_column ::= WEND */ - { 404, -1 }, /* (381) pseudo_column ::= WDURATION */ - { 404, -1 }, /* (382) pseudo_column ::= IROWTS */ - { 404, -1 }, /* (383) pseudo_column ::= QTAGS */ - { 406, -4 }, /* (384) function_expression ::= function_name NK_LP expression_list NK_RP */ - { 406, -4 }, /* (385) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - { 406, -6 }, /* (386) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - { 406, -1 }, /* (387) function_expression ::= literal_func */ - { 400, -3 }, /* (388) literal_func ::= noarg_func NK_LP NK_RP */ - { 400, -1 }, /* (389) literal_func ::= NOW */ - { 410, -1 }, /* (390) noarg_func ::= NOW */ - { 410, -1 }, /* (391) noarg_func ::= TODAY */ - { 410, -1 }, /* (392) noarg_func ::= TIMEZONE */ - { 410, -1 }, /* (393) noarg_func ::= DATABASE */ - { 410, -1 }, /* (394) noarg_func ::= CLIENT_VERSION */ - { 410, -1 }, /* (395) noarg_func ::= SERVER_VERSION */ - { 410, -1 }, /* (396) noarg_func ::= SERVER_STATUS */ - { 410, -1 }, /* (397) noarg_func ::= CURRENT_USER */ - { 410, -1 }, /* (398) noarg_func ::= USER */ - { 408, -1 }, /* (399) star_func ::= COUNT */ - { 408, -1 }, /* (400) star_func ::= FIRST */ - { 408, -1 }, /* (401) star_func ::= LAST */ - { 408, -1 }, /* (402) star_func ::= LAST_ROW */ - { 409, -1 }, /* (403) star_func_para_list ::= NK_STAR */ - { 409, -1 }, /* (404) star_func_para_list ::= other_para_list */ - { 411, -1 }, /* (405) other_para_list ::= star_func_para */ - { 411, -3 }, /* (406) other_para_list ::= other_para_list NK_COMMA star_func_para */ - { 412, -1 }, /* (407) star_func_para ::= expr_or_subquery */ - { 412, -3 }, /* (408) star_func_para ::= table_name NK_DOT NK_STAR */ - { 407, -4 }, /* (409) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - { 407, -5 }, /* (410) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - { 413, -1 }, /* (411) when_then_list ::= when_then_expr */ - { 413, -2 }, /* (412) when_then_list ::= when_then_list when_then_expr */ - { 416, -4 }, /* (413) when_then_expr ::= WHEN common_expression THEN common_expression */ - { 414, 0 }, /* (414) case_when_else_opt ::= */ - { 414, -2 }, /* (415) case_when_else_opt ::= ELSE common_expression */ - { 417, -3 }, /* (416) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - { 417, -5 }, /* (417) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - { 417, -6 }, /* (418) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - { 417, -3 }, /* (419) predicate ::= expr_or_subquery IS NULL */ - { 417, -4 }, /* (420) predicate ::= expr_or_subquery IS NOT NULL */ - { 417, -3 }, /* (421) predicate ::= expr_or_subquery in_op in_predicate_value */ - { 418, -1 }, /* (422) compare_op ::= NK_LT */ - { 418, -1 }, /* (423) compare_op ::= NK_GT */ - { 418, -1 }, /* (424) compare_op ::= NK_LE */ - { 418, -1 }, /* (425) compare_op ::= NK_GE */ - { 418, -1 }, /* (426) compare_op ::= NK_NE */ - { 418, -1 }, /* (427) compare_op ::= NK_EQ */ - { 418, -1 }, /* (428) compare_op ::= LIKE */ - { 418, -2 }, /* (429) compare_op ::= NOT LIKE */ - { 418, -1 }, /* (430) compare_op ::= MATCH */ - { 418, -1 }, /* (431) compare_op ::= NMATCH */ - { 418, -1 }, /* (432) compare_op ::= CONTAINS */ - { 419, -1 }, /* (433) in_op ::= IN */ - { 419, -2 }, /* (434) in_op ::= NOT IN */ - { 420, -3 }, /* (435) in_predicate_value ::= NK_LP literal_list NK_RP */ - { 421, -1 }, /* (436) boolean_value_expression ::= boolean_primary */ - { 421, -2 }, /* (437) boolean_value_expression ::= NOT boolean_primary */ - { 421, -3 }, /* (438) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - { 421, -3 }, /* (439) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - { 422, -1 }, /* (440) boolean_primary ::= predicate */ - { 422, -3 }, /* (441) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - { 415, -1 }, /* (442) common_expression ::= expr_or_subquery */ - { 415, -1 }, /* (443) common_expression ::= boolean_value_expression */ - { 423, 0 }, /* (444) from_clause_opt ::= */ - { 423, -2 }, /* (445) from_clause_opt ::= FROM table_reference_list */ - { 424, -1 }, /* (446) table_reference_list ::= table_reference */ - { 424, -3 }, /* (447) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - { 425, -1 }, /* (448) table_reference ::= table_primary */ - { 425, -1 }, /* (449) table_reference ::= joined_table */ - { 426, -2 }, /* (450) table_primary ::= table_name alias_opt */ - { 426, -4 }, /* (451) table_primary ::= db_name NK_DOT table_name alias_opt */ - { 426, -2 }, /* (452) table_primary ::= subquery alias_opt */ - { 426, -1 }, /* (453) table_primary ::= parenthesized_joined_table */ - { 428, 0 }, /* (454) alias_opt ::= */ - { 428, -1 }, /* (455) alias_opt ::= table_alias */ - { 428, -2 }, /* (456) alias_opt ::= AS table_alias */ - { 430, -3 }, /* (457) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - { 430, -3 }, /* (458) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - { 427, -6 }, /* (459) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - { 431, 0 }, /* (460) join_type ::= */ - { 431, -1 }, /* (461) join_type ::= INNER */ - { 433, -12 }, /* (462) 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 */ - { 434, 0 }, /* (463) set_quantifier_opt ::= */ - { 434, -1 }, /* (464) set_quantifier_opt ::= DISTINCT */ - { 434, -1 }, /* (465) set_quantifier_opt ::= ALL */ - { 435, -1 }, /* (466) select_list ::= select_item */ - { 435, -3 }, /* (467) select_list ::= select_list NK_COMMA select_item */ - { 443, -1 }, /* (468) select_item ::= NK_STAR */ - { 443, -1 }, /* (469) select_item ::= common_expression */ - { 443, -2 }, /* (470) select_item ::= common_expression column_alias */ - { 443, -3 }, /* (471) select_item ::= common_expression AS column_alias */ - { 443, -3 }, /* (472) select_item ::= table_name NK_DOT NK_STAR */ - { 398, 0 }, /* (473) where_clause_opt ::= */ - { 398, -2 }, /* (474) where_clause_opt ::= WHERE search_condition */ - { 436, 0 }, /* (475) partition_by_clause_opt ::= */ - { 436, -3 }, /* (476) partition_by_clause_opt ::= PARTITION BY partition_list */ - { 444, -1 }, /* (477) partition_list ::= partition_item */ - { 444, -3 }, /* (478) partition_list ::= partition_list NK_COMMA partition_item */ - { 445, -1 }, /* (479) partition_item ::= expr_or_subquery */ - { 445, -2 }, /* (480) partition_item ::= expr_or_subquery column_alias */ - { 445, -3 }, /* (481) partition_item ::= expr_or_subquery AS column_alias */ - { 440, 0 }, /* (482) twindow_clause_opt ::= */ - { 440, -6 }, /* (483) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - { 440, -4 }, /* (484) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - { 440, -6 }, /* (485) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - { 440, -8 }, /* (486) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - { 440, -7 }, /* (487) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - { 384, 0 }, /* (488) sliding_opt ::= */ - { 384, -4 }, /* (489) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - { 439, 0 }, /* (490) fill_opt ::= */ - { 439, -4 }, /* (491) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - { 439, -6 }, /* (492) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ - { 446, -1 }, /* (493) fill_mode ::= NONE */ - { 446, -1 }, /* (494) fill_mode ::= PREV */ - { 446, -1 }, /* (495) fill_mode ::= NULL */ - { 446, -1 }, /* (496) fill_mode ::= LINEAR */ - { 446, -1 }, /* (497) fill_mode ::= NEXT */ - { 441, 0 }, /* (498) group_by_clause_opt ::= */ - { 441, -3 }, /* (499) group_by_clause_opt ::= GROUP BY group_by_list */ - { 447, -1 }, /* (500) group_by_list ::= expr_or_subquery */ - { 447, -3 }, /* (501) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - { 442, 0 }, /* (502) having_clause_opt ::= */ - { 442, -2 }, /* (503) having_clause_opt ::= HAVING search_condition */ - { 437, 0 }, /* (504) range_opt ::= */ - { 437, -6 }, /* (505) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - { 438, 0 }, /* (506) every_opt ::= */ - { 438, -4 }, /* (507) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - { 448, -4 }, /* (508) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - { 449, -1 }, /* (509) query_simple ::= query_specification */ - { 449, -1 }, /* (510) query_simple ::= union_query_expression */ - { 453, -4 }, /* (511) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - { 453, -3 }, /* (512) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - { 454, -1 }, /* (513) query_simple_or_subquery ::= query_simple */ - { 454, -1 }, /* (514) query_simple_or_subquery ::= subquery */ - { 387, -1 }, /* (515) query_or_subquery ::= query_expression */ - { 387, -1 }, /* (516) query_or_subquery ::= subquery */ - { 450, 0 }, /* (517) order_by_clause_opt ::= */ - { 450, -3 }, /* (518) order_by_clause_opt ::= ORDER BY sort_specification_list */ - { 451, 0 }, /* (519) slimit_clause_opt ::= */ - { 451, -2 }, /* (520) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - { 451, -4 }, /* (521) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - { 451, -4 }, /* (522) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 452, 0 }, /* (523) limit_clause_opt ::= */ - { 452, -2 }, /* (524) limit_clause_opt ::= LIMIT NK_INTEGER */ - { 452, -4 }, /* (525) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - { 452, -4 }, /* (526) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 429, -3 }, /* (527) subquery ::= NK_LP query_expression NK_RP */ - { 429, -3 }, /* (528) subquery ::= NK_LP subquery NK_RP */ - { 432, -1 }, /* (529) search_condition ::= common_expression */ - { 455, -1 }, /* (530) sort_specification_list ::= sort_specification */ - { 455, -3 }, /* (531) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - { 456, -3 }, /* (532) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - { 457, 0 }, /* (533) ordering_specification_opt ::= */ - { 457, -1 }, /* (534) ordering_specification_opt ::= ASC */ - { 457, -1 }, /* (535) ordering_specification_opt ::= DESC */ - { 458, 0 }, /* (536) null_ordering_opt ::= */ - { 458, -2 }, /* (537) null_ordering_opt ::= NULLS FIRST */ - { 458, -2 }, /* (538) null_ordering_opt ::= NULLS LAST */ + { 386, -4 }, /* (266) func ::= sma_func_name NK_LP expression_list NK_RP */ + { 387, -1 }, /* (267) sma_func_name ::= function_name */ + { 387, -1 }, /* (268) sma_func_name ::= COUNT */ + { 387, -1 }, /* (269) sma_func_name ::= FIRST */ + { 387, -1 }, /* (270) sma_func_name ::= LAST */ + { 387, -1 }, /* (271) sma_func_name ::= LAST_ROW */ + { 385, 0 }, /* (272) sma_stream_opt ::= */ + { 385, -3 }, /* (273) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + { 385, -3 }, /* (274) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + { 385, -3 }, /* (275) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + { 324, -6 }, /* (276) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + { 324, -7 }, /* (277) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ + { 324, -9 }, /* (278) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ + { 324, -7 }, /* (279) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ + { 324, -9 }, /* (280) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ + { 324, -4 }, /* (281) cmd ::= DROP TOPIC exists_opt topic_name */ + { 324, -7 }, /* (282) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + { 324, -2 }, /* (283) cmd ::= DESC full_table_name */ + { 324, -2 }, /* (284) cmd ::= DESCRIBE full_table_name */ + { 324, -3 }, /* (285) cmd ::= RESET QUERY CACHE */ + { 324, -4 }, /* (286) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + { 390, 0 }, /* (287) analyze_opt ::= */ + { 390, -1 }, /* (288) analyze_opt ::= ANALYZE */ + { 391, 0 }, /* (289) explain_options ::= */ + { 391, -3 }, /* (290) explain_options ::= explain_options VERBOSE NK_BOOL */ + { 391, -3 }, /* (291) explain_options ::= explain_options RATIO NK_FLOAT */ + { 324, -10 }, /* (292) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ + { 324, -4 }, /* (293) cmd ::= DROP FUNCTION exists_opt function_name */ + { 392, 0 }, /* (294) agg_func_opt ::= */ + { 392, -1 }, /* (295) agg_func_opt ::= AGGREGATE */ + { 393, 0 }, /* (296) bufsize_opt ::= */ + { 393, -2 }, /* (297) bufsize_opt ::= BUFSIZE NK_INTEGER */ + { 324, -11 }, /* (298) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name tags_def_opt subtable_opt AS query_or_subquery */ + { 324, -4 }, /* (299) cmd ::= DROP STREAM exists_opt stream_name */ + { 395, 0 }, /* (300) stream_options ::= */ + { 395, -3 }, /* (301) stream_options ::= stream_options TRIGGER AT_ONCE */ + { 395, -3 }, /* (302) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + { 395, -4 }, /* (303) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + { 395, -3 }, /* (304) stream_options ::= stream_options WATERMARK duration_literal */ + { 395, -4 }, /* (305) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + { 395, -3 }, /* (306) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + { 396, 0 }, /* (307) subtable_opt ::= */ + { 396, -4 }, /* (308) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + { 324, -3 }, /* (309) cmd ::= KILL CONNECTION NK_INTEGER */ + { 324, -3 }, /* (310) cmd ::= KILL QUERY NK_STRING */ + { 324, -3 }, /* (311) cmd ::= KILL TRANSACTION NK_INTEGER */ + { 324, -2 }, /* (312) cmd ::= BALANCE VGROUP */ + { 324, -4 }, /* (313) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + { 324, -4 }, /* (314) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + { 324, -3 }, /* (315) cmd ::= SPLIT VGROUP NK_INTEGER */ + { 398, -2 }, /* (316) dnode_list ::= DNODE NK_INTEGER */ + { 398, -3 }, /* (317) dnode_list ::= dnode_list DNODE NK_INTEGER */ + { 324, -4 }, /* (318) cmd ::= DELETE FROM full_table_name where_clause_opt */ + { 324, -1 }, /* (319) cmd ::= query_or_subquery */ + { 324, -7 }, /* (320) cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + { 324, -4 }, /* (321) cmd ::= INSERT INTO full_table_name query_or_subquery */ + { 327, -1 }, /* (322) literal ::= NK_INTEGER */ + { 327, -1 }, /* (323) literal ::= NK_FLOAT */ + { 327, -1 }, /* (324) literal ::= NK_STRING */ + { 327, -1 }, /* (325) literal ::= NK_BOOL */ + { 327, -2 }, /* (326) literal ::= TIMESTAMP NK_STRING */ + { 327, -1 }, /* (327) literal ::= duration_literal */ + { 327, -1 }, /* (328) literal ::= NULL */ + { 327, -1 }, /* (329) literal ::= NK_QUESTION */ + { 371, -1 }, /* (330) duration_literal ::= NK_VARIABLE */ + { 400, -1 }, /* (331) signed ::= NK_INTEGER */ + { 400, -2 }, /* (332) signed ::= NK_PLUS NK_INTEGER */ + { 400, -2 }, /* (333) signed ::= NK_MINUS NK_INTEGER */ + { 400, -1 }, /* (334) signed ::= NK_FLOAT */ + { 400, -2 }, /* (335) signed ::= NK_PLUS NK_FLOAT */ + { 400, -2 }, /* (336) signed ::= NK_MINUS NK_FLOAT */ + { 360, -1 }, /* (337) signed_literal ::= signed */ + { 360, -1 }, /* (338) signed_literal ::= NK_STRING */ + { 360, -1 }, /* (339) signed_literal ::= NK_BOOL */ + { 360, -2 }, /* (340) signed_literal ::= TIMESTAMP NK_STRING */ + { 360, -1 }, /* (341) signed_literal ::= duration_literal */ + { 360, -1 }, /* (342) signed_literal ::= NULL */ + { 360, -1 }, /* (343) signed_literal ::= literal_func */ + { 360, -1 }, /* (344) signed_literal ::= NK_QUESTION */ + { 402, -1 }, /* (345) literal_list ::= signed_literal */ + { 402, -3 }, /* (346) literal_list ::= literal_list NK_COMMA signed_literal */ + { 335, -1 }, /* (347) db_name ::= NK_ID */ + { 366, -1 }, /* (348) table_name ::= NK_ID */ + { 358, -1 }, /* (349) column_name ::= NK_ID */ + { 373, -1 }, /* (350) function_name ::= NK_ID */ + { 403, -1 }, /* (351) table_alias ::= NK_ID */ + { 381, -1 }, /* (352) column_alias ::= NK_ID */ + { 329, -1 }, /* (353) user_name ::= NK_ID */ + { 336, -1 }, /* (354) topic_name ::= NK_ID */ + { 394, -1 }, /* (355) stream_name ::= NK_ID */ + { 389, -1 }, /* (356) cgroup_name ::= NK_ID */ + { 404, -1 }, /* (357) expr_or_subquery ::= expression */ + { 397, -1 }, /* (358) expression ::= literal */ + { 397, -1 }, /* (359) expression ::= pseudo_column */ + { 397, -1 }, /* (360) expression ::= column_reference */ + { 397, -1 }, /* (361) expression ::= function_expression */ + { 397, -1 }, /* (362) expression ::= case_when_expression */ + { 397, -3 }, /* (363) expression ::= NK_LP expression NK_RP */ + { 397, -2 }, /* (364) expression ::= NK_PLUS expr_or_subquery */ + { 397, -2 }, /* (365) expression ::= NK_MINUS expr_or_subquery */ + { 397, -3 }, /* (366) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + { 397, -3 }, /* (367) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + { 397, -3 }, /* (368) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + { 397, -3 }, /* (369) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + { 397, -3 }, /* (370) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + { 397, -3 }, /* (371) expression ::= column_reference NK_ARROW NK_STRING */ + { 397, -3 }, /* (372) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + { 397, -3 }, /* (373) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + { 363, -1 }, /* (374) expression_list ::= expr_or_subquery */ + { 363, -3 }, /* (375) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + { 406, -1 }, /* (376) column_reference ::= column_name */ + { 406, -3 }, /* (377) column_reference ::= table_name NK_DOT column_name */ + { 405, -1 }, /* (378) pseudo_column ::= ROWTS */ + { 405, -1 }, /* (379) pseudo_column ::= TBNAME */ + { 405, -3 }, /* (380) pseudo_column ::= table_name NK_DOT TBNAME */ + { 405, -1 }, /* (381) pseudo_column ::= QSTART */ + { 405, -1 }, /* (382) pseudo_column ::= QEND */ + { 405, -1 }, /* (383) pseudo_column ::= QDURATION */ + { 405, -1 }, /* (384) pseudo_column ::= WSTART */ + { 405, -1 }, /* (385) pseudo_column ::= WEND */ + { 405, -1 }, /* (386) pseudo_column ::= WDURATION */ + { 405, -1 }, /* (387) pseudo_column ::= IROWTS */ + { 405, -1 }, /* (388) pseudo_column ::= QTAGS */ + { 407, -4 }, /* (389) function_expression ::= function_name NK_LP expression_list NK_RP */ + { 407, -4 }, /* (390) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + { 407, -6 }, /* (391) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + { 407, -1 }, /* (392) function_expression ::= literal_func */ + { 401, -3 }, /* (393) literal_func ::= noarg_func NK_LP NK_RP */ + { 401, -1 }, /* (394) literal_func ::= NOW */ + { 411, -1 }, /* (395) noarg_func ::= NOW */ + { 411, -1 }, /* (396) noarg_func ::= TODAY */ + { 411, -1 }, /* (397) noarg_func ::= TIMEZONE */ + { 411, -1 }, /* (398) noarg_func ::= DATABASE */ + { 411, -1 }, /* (399) noarg_func ::= CLIENT_VERSION */ + { 411, -1 }, /* (400) noarg_func ::= SERVER_VERSION */ + { 411, -1 }, /* (401) noarg_func ::= SERVER_STATUS */ + { 411, -1 }, /* (402) noarg_func ::= CURRENT_USER */ + { 411, -1 }, /* (403) noarg_func ::= USER */ + { 409, -1 }, /* (404) star_func ::= COUNT */ + { 409, -1 }, /* (405) star_func ::= FIRST */ + { 409, -1 }, /* (406) star_func ::= LAST */ + { 409, -1 }, /* (407) star_func ::= LAST_ROW */ + { 410, -1 }, /* (408) star_func_para_list ::= NK_STAR */ + { 410, -1 }, /* (409) star_func_para_list ::= other_para_list */ + { 412, -1 }, /* (410) other_para_list ::= star_func_para */ + { 412, -3 }, /* (411) other_para_list ::= other_para_list NK_COMMA star_func_para */ + { 413, -1 }, /* (412) star_func_para ::= expr_or_subquery */ + { 413, -3 }, /* (413) star_func_para ::= table_name NK_DOT NK_STAR */ + { 408, -4 }, /* (414) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + { 408, -5 }, /* (415) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + { 414, -1 }, /* (416) when_then_list ::= when_then_expr */ + { 414, -2 }, /* (417) when_then_list ::= when_then_list when_then_expr */ + { 417, -4 }, /* (418) when_then_expr ::= WHEN common_expression THEN common_expression */ + { 415, 0 }, /* (419) case_when_else_opt ::= */ + { 415, -2 }, /* (420) case_when_else_opt ::= ELSE common_expression */ + { 418, -3 }, /* (421) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + { 418, -5 }, /* (422) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + { 418, -6 }, /* (423) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + { 418, -3 }, /* (424) predicate ::= expr_or_subquery IS NULL */ + { 418, -4 }, /* (425) predicate ::= expr_or_subquery IS NOT NULL */ + { 418, -3 }, /* (426) predicate ::= expr_or_subquery in_op in_predicate_value */ + { 419, -1 }, /* (427) compare_op ::= NK_LT */ + { 419, -1 }, /* (428) compare_op ::= NK_GT */ + { 419, -1 }, /* (429) compare_op ::= NK_LE */ + { 419, -1 }, /* (430) compare_op ::= NK_GE */ + { 419, -1 }, /* (431) compare_op ::= NK_NE */ + { 419, -1 }, /* (432) compare_op ::= NK_EQ */ + { 419, -1 }, /* (433) compare_op ::= LIKE */ + { 419, -2 }, /* (434) compare_op ::= NOT LIKE */ + { 419, -1 }, /* (435) compare_op ::= MATCH */ + { 419, -1 }, /* (436) compare_op ::= NMATCH */ + { 419, -1 }, /* (437) compare_op ::= CONTAINS */ + { 420, -1 }, /* (438) in_op ::= IN */ + { 420, -2 }, /* (439) in_op ::= NOT IN */ + { 421, -3 }, /* (440) in_predicate_value ::= NK_LP literal_list NK_RP */ + { 422, -1 }, /* (441) boolean_value_expression ::= boolean_primary */ + { 422, -2 }, /* (442) boolean_value_expression ::= NOT boolean_primary */ + { 422, -3 }, /* (443) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + { 422, -3 }, /* (444) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + { 423, -1 }, /* (445) boolean_primary ::= predicate */ + { 423, -3 }, /* (446) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + { 416, -1 }, /* (447) common_expression ::= expr_or_subquery */ + { 416, -1 }, /* (448) common_expression ::= boolean_value_expression */ + { 424, 0 }, /* (449) from_clause_opt ::= */ + { 424, -2 }, /* (450) from_clause_opt ::= FROM table_reference_list */ + { 425, -1 }, /* (451) table_reference_list ::= table_reference */ + { 425, -3 }, /* (452) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + { 426, -1 }, /* (453) table_reference ::= table_primary */ + { 426, -1 }, /* (454) table_reference ::= joined_table */ + { 427, -2 }, /* (455) table_primary ::= table_name alias_opt */ + { 427, -4 }, /* (456) table_primary ::= db_name NK_DOT table_name alias_opt */ + { 427, -2 }, /* (457) table_primary ::= subquery alias_opt */ + { 427, -1 }, /* (458) table_primary ::= parenthesized_joined_table */ + { 429, 0 }, /* (459) alias_opt ::= */ + { 429, -1 }, /* (460) alias_opt ::= table_alias */ + { 429, -2 }, /* (461) alias_opt ::= AS table_alias */ + { 431, -3 }, /* (462) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + { 431, -3 }, /* (463) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + { 428, -6 }, /* (464) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + { 432, 0 }, /* (465) join_type ::= */ + { 432, -1 }, /* (466) join_type ::= INNER */ + { 434, -12 }, /* (467) 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 */ + { 435, 0 }, /* (468) set_quantifier_opt ::= */ + { 435, -1 }, /* (469) set_quantifier_opt ::= DISTINCT */ + { 435, -1 }, /* (470) set_quantifier_opt ::= ALL */ + { 436, -1 }, /* (471) select_list ::= select_item */ + { 436, -3 }, /* (472) select_list ::= select_list NK_COMMA select_item */ + { 444, -1 }, /* (473) select_item ::= NK_STAR */ + { 444, -1 }, /* (474) select_item ::= common_expression */ + { 444, -2 }, /* (475) select_item ::= common_expression column_alias */ + { 444, -3 }, /* (476) select_item ::= common_expression AS column_alias */ + { 444, -3 }, /* (477) select_item ::= table_name NK_DOT NK_STAR */ + { 399, 0 }, /* (478) where_clause_opt ::= */ + { 399, -2 }, /* (479) where_clause_opt ::= WHERE search_condition */ + { 437, 0 }, /* (480) partition_by_clause_opt ::= */ + { 437, -3 }, /* (481) partition_by_clause_opt ::= PARTITION BY partition_list */ + { 445, -1 }, /* (482) partition_list ::= partition_item */ + { 445, -3 }, /* (483) partition_list ::= partition_list NK_COMMA partition_item */ + { 446, -1 }, /* (484) partition_item ::= expr_or_subquery */ + { 446, -2 }, /* (485) partition_item ::= expr_or_subquery column_alias */ + { 446, -3 }, /* (486) partition_item ::= expr_or_subquery AS column_alias */ + { 441, 0 }, /* (487) twindow_clause_opt ::= */ + { 441, -6 }, /* (488) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + { 441, -4 }, /* (489) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + { 441, -6 }, /* (490) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + { 441, -8 }, /* (491) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + { 441, -7 }, /* (492) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + { 384, 0 }, /* (493) sliding_opt ::= */ + { 384, -4 }, /* (494) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + { 440, 0 }, /* (495) fill_opt ::= */ + { 440, -4 }, /* (496) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + { 440, -6 }, /* (497) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + { 447, -1 }, /* (498) fill_mode ::= NONE */ + { 447, -1 }, /* (499) fill_mode ::= PREV */ + { 447, -1 }, /* (500) fill_mode ::= NULL */ + { 447, -1 }, /* (501) fill_mode ::= LINEAR */ + { 447, -1 }, /* (502) fill_mode ::= NEXT */ + { 442, 0 }, /* (503) group_by_clause_opt ::= */ + { 442, -3 }, /* (504) group_by_clause_opt ::= GROUP BY group_by_list */ + { 448, -1 }, /* (505) group_by_list ::= expr_or_subquery */ + { 448, -3 }, /* (506) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + { 443, 0 }, /* (507) having_clause_opt ::= */ + { 443, -2 }, /* (508) having_clause_opt ::= HAVING search_condition */ + { 438, 0 }, /* (509) range_opt ::= */ + { 438, -6 }, /* (510) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + { 439, 0 }, /* (511) every_opt ::= */ + { 439, -4 }, /* (512) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + { 449, -4 }, /* (513) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + { 450, -1 }, /* (514) query_simple ::= query_specification */ + { 450, -1 }, /* (515) query_simple ::= union_query_expression */ + { 454, -4 }, /* (516) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + { 454, -3 }, /* (517) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + { 455, -1 }, /* (518) query_simple_or_subquery ::= query_simple */ + { 455, -1 }, /* (519) query_simple_or_subquery ::= subquery */ + { 388, -1 }, /* (520) query_or_subquery ::= query_expression */ + { 388, -1 }, /* (521) query_or_subquery ::= subquery */ + { 451, 0 }, /* (522) order_by_clause_opt ::= */ + { 451, -3 }, /* (523) order_by_clause_opt ::= ORDER BY sort_specification_list */ + { 452, 0 }, /* (524) slimit_clause_opt ::= */ + { 452, -2 }, /* (525) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + { 452, -4 }, /* (526) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + { 452, -4 }, /* (527) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 453, 0 }, /* (528) limit_clause_opt ::= */ + { 453, -2 }, /* (529) limit_clause_opt ::= LIMIT NK_INTEGER */ + { 453, -4 }, /* (530) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + { 453, -4 }, /* (531) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 430, -3 }, /* (532) subquery ::= NK_LP query_expression NK_RP */ + { 430, -3 }, /* (533) subquery ::= NK_LP subquery NK_RP */ + { 433, -1 }, /* (534) search_condition ::= common_expression */ + { 456, -1 }, /* (535) sort_specification_list ::= sort_specification */ + { 456, -3 }, /* (536) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + { 457, -3 }, /* (537) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + { 458, 0 }, /* (538) ordering_specification_opt ::= */ + { 458, -1 }, /* (539) ordering_specification_opt ::= ASC */ + { 458, -1 }, /* (540) ordering_specification_opt ::= DESC */ + { 459, 0 }, /* (541) null_ordering_opt ::= */ + { 459, -2 }, /* (542) null_ordering_opt ::= NULLS FIRST */ + { 459, -2 }, /* (543) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -3721,77 +3753,78 @@ static YYACTIONTYPE yy_reduce( yy_destructor(yypParser,327,&yymsp[0].minor); break; case 24: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ -{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy317, &yymsp[-1].minor.yy0, yymsp[0].minor.yy449); } +{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy849, &yymsp[-1].minor.yy0, yymsp[0].minor.yy383); } break; case 25: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy317, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy849, 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.yy317, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy849, 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.yy317, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy849, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } break; case 28: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy317); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy849); } break; case 29: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy449 = 1; } +{ yymsp[1].minor.yy383 = 1; } break; case 30: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy449 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy383 = 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.yy531, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy317); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy869, &yymsp[-2].minor.yy849, &yymsp[0].minor.yy849); } break; case 32: /* cmd ::= REVOKE privileges ON priv_level FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy531, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy317); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy869, &yymsp[-2].minor.yy849, &yymsp[0].minor.yy849); } break; case 33: /* privileges ::= ALL */ -{ yymsp[0].minor.yy531 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy869 = PRIVILEGE_TYPE_ALL; } break; case 34: /* privileges ::= priv_type_list */ case 36: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==36); -{ yylhsminor.yy531 = yymsp[0].minor.yy531; } - yymsp[0].minor.yy531 = yylhsminor.yy531; +{ yylhsminor.yy869 = yymsp[0].minor.yy869; } + yymsp[0].minor.yy869 = yylhsminor.yy869; break; case 35: /* privileges ::= SUBSCRIBE */ -{ yymsp[0].minor.yy531 = PRIVILEGE_TYPE_SUBSCRIBE; } +{ yymsp[0].minor.yy869 = PRIVILEGE_TYPE_SUBSCRIBE; } break; case 37: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy531 = yymsp[-2].minor.yy531 | yymsp[0].minor.yy531; } - yymsp[-2].minor.yy531 = yylhsminor.yy531; +{ yylhsminor.yy869 = yymsp[-2].minor.yy869 | yymsp[0].minor.yy869; } + yymsp[-2].minor.yy869 = yylhsminor.yy869; break; case 38: /* priv_type ::= READ */ -{ yymsp[0].minor.yy531 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy869 = PRIVILEGE_TYPE_READ; } break; case 39: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy531 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy869 = PRIVILEGE_TYPE_WRITE; } break; case 40: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy317 = yymsp[-2].minor.yy0; } - yymsp[-2].minor.yy317 = yylhsminor.yy317; +{ yylhsminor.yy849 = yymsp[-2].minor.yy0; } + yymsp[-2].minor.yy849 = yylhsminor.yy849; break; case 41: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy317 = yymsp[-2].minor.yy317; } - yymsp[-2].minor.yy317 = yylhsminor.yy317; +{ yylhsminor.yy849 = yymsp[-2].minor.yy849; } + yymsp[-2].minor.yy849 = yylhsminor.yy849; break; case 42: /* priv_level ::= topic_name */ - case 455: /* alias_opt ::= table_alias */ yytestcase(yyruleno==455); -{ yylhsminor.yy317 = yymsp[0].minor.yy317; } - yymsp[0].minor.yy317 = yylhsminor.yy317; + case 267: /* sma_func_name ::= function_name */ yytestcase(yyruleno==267); + case 460: /* alias_opt ::= table_alias */ yytestcase(yyruleno==460); +{ yylhsminor.yy849 = yymsp[0].minor.yy849; } + yymsp[0].minor.yy849 = yylhsminor.yy849; break; case 43: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy317, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy849, NULL); } break; case 44: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy849, &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.yy335); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy57); } break; case 46: /* cmd ::= DROP DNODE dnode_endpoint force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy317, yymsp[0].minor.yy335); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy849, yymsp[0].minor.yy57); } break; case 47: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -3808,45 +3841,49 @@ static YYACTIONTYPE yy_reduce( case 51: /* dnode_endpoint ::= NK_STRING */ case 52: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==52); case 53: /* dnode_endpoint ::= NK_IPTOKEN */ yytestcase(yyruleno==53); - case 342: /* db_name ::= NK_ID */ yytestcase(yyruleno==342); - case 343: /* table_name ::= NK_ID */ yytestcase(yyruleno==343); - case 344: /* column_name ::= NK_ID */ yytestcase(yyruleno==344); - case 345: /* function_name ::= NK_ID */ yytestcase(yyruleno==345); - case 346: /* table_alias ::= NK_ID */ yytestcase(yyruleno==346); - case 347: /* column_alias ::= NK_ID */ yytestcase(yyruleno==347); - case 348: /* user_name ::= NK_ID */ yytestcase(yyruleno==348); - case 349: /* topic_name ::= NK_ID */ yytestcase(yyruleno==349); - case 350: /* stream_name ::= NK_ID */ yytestcase(yyruleno==350); - case 351: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==351); - case 390: /* noarg_func ::= NOW */ yytestcase(yyruleno==390); - case 391: /* noarg_func ::= TODAY */ yytestcase(yyruleno==391); - case 392: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==392); - case 393: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==393); - case 394: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==394); - case 395: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==395); - case 396: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==396); - case 397: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==397); - case 398: /* noarg_func ::= USER */ yytestcase(yyruleno==398); - case 399: /* star_func ::= COUNT */ yytestcase(yyruleno==399); - case 400: /* star_func ::= FIRST */ yytestcase(yyruleno==400); - case 401: /* star_func ::= LAST */ yytestcase(yyruleno==401); - case 402: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==402); -{ yylhsminor.yy317 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy317 = yylhsminor.yy317; + case 268: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==268); + case 269: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==269); + case 270: /* sma_func_name ::= LAST */ yytestcase(yyruleno==270); + case 271: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==271); + case 347: /* db_name ::= NK_ID */ yytestcase(yyruleno==347); + case 348: /* table_name ::= NK_ID */ yytestcase(yyruleno==348); + case 349: /* column_name ::= NK_ID */ yytestcase(yyruleno==349); + case 350: /* function_name ::= NK_ID */ yytestcase(yyruleno==350); + case 351: /* table_alias ::= NK_ID */ yytestcase(yyruleno==351); + case 352: /* column_alias ::= NK_ID */ yytestcase(yyruleno==352); + case 353: /* user_name ::= NK_ID */ yytestcase(yyruleno==353); + case 354: /* topic_name ::= NK_ID */ yytestcase(yyruleno==354); + case 355: /* stream_name ::= NK_ID */ yytestcase(yyruleno==355); + case 356: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==356); + case 395: /* noarg_func ::= NOW */ yytestcase(yyruleno==395); + case 396: /* noarg_func ::= TODAY */ yytestcase(yyruleno==396); + case 397: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==397); + case 398: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==398); + case 399: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==399); + case 400: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==400); + case 401: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==401); + case 402: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==402); + case 403: /* noarg_func ::= USER */ yytestcase(yyruleno==403); + case 404: /* star_func ::= COUNT */ yytestcase(yyruleno==404); + case 405: /* star_func ::= FIRST */ yytestcase(yyruleno==405); + case 406: /* star_func ::= LAST */ yytestcase(yyruleno==406); + case 407: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==407); +{ yylhsminor.yy849 = yymsp[0].minor.yy0; } + yymsp[0].minor.yy849 = yylhsminor.yy849; break; case 54: /* force_opt ::= */ case 73: /* not_exists_opt ::= */ yytestcase(yyruleno==73); case 75: /* exists_opt ::= */ yytestcase(yyruleno==75); - case 282: /* analyze_opt ::= */ yytestcase(yyruleno==282); - case 289: /* agg_func_opt ::= */ yytestcase(yyruleno==289); - case 463: /* set_quantifier_opt ::= */ yytestcase(yyruleno==463); -{ yymsp[1].minor.yy335 = false; } + case 287: /* analyze_opt ::= */ yytestcase(yyruleno==287); + case 294: /* agg_func_opt ::= */ yytestcase(yyruleno==294); + case 468: /* set_quantifier_opt ::= */ yytestcase(yyruleno==468); +{ yymsp[1].minor.yy57 = false; } break; case 55: /* force_opt ::= FORCE */ - case 283: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==283); - case 290: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==290); - case 464: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==464); -{ yymsp[0].minor.yy335 = true; } + case 288: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==288); + case 295: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==295); + case 469: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==469); +{ yymsp[0].minor.yy57 = true; } break; case 56: /* cmd ::= ALTER LOCAL NK_STRING */ { pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -3879,206 +3916,206 @@ 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.yy335, &yymsp[-1].minor.yy317, yymsp[0].minor.yy74); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy57, &yymsp[-1].minor.yy849, yymsp[0].minor.yy752); } break; case 67: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy335, &yymsp[0].minor.yy317); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy57, &yymsp[0].minor.yy849); } break; case 68: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy317); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy849); } break; case 69: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy317, yymsp[0].minor.yy74); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy849, yymsp[0].minor.yy752); } break; case 70: /* cmd ::= FLUSH DATABASE db_name */ -{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy317); } +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy849); } break; case 71: /* cmd ::= TRIM DATABASE db_name speed_opt */ -{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy317, yymsp[0].minor.yy856); } +{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy849, yymsp[0].minor.yy340); } break; case 72: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy335 = true; } +{ yymsp[-2].minor.yy57 = true; } break; case 74: /* exists_opt ::= IF EXISTS */ -{ yymsp[-1].minor.yy335 = true; } +{ yymsp[-1].minor.yy57 = true; } break; case 76: /* db_options ::= */ -{ yymsp[1].minor.yy74 = createDefaultDatabaseOptions(pCxt); } +{ yymsp[1].minor.yy752 = createDefaultDatabaseOptions(pCxt); } break; case 77: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 78: /* db_options ::= db_options CACHEMODEL NK_STRING */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 79: /* db_options ::= db_options CACHESIZE NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 80: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 81: /* db_options ::= db_options DURATION NK_INTEGER */ case 82: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==82); -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 83: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 84: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 85: /* db_options ::= db_options KEEP integer_list */ case 86: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==86); -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_KEEP, yymsp[0].minor.yy874); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_KEEP, yymsp[0].minor.yy424); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 87: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 88: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 89: /* db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 90: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 91: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 92: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 93: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 94: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_RETENTIONS, yymsp[0].minor.yy874); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_RETENTIONS, yymsp[0].minor.yy424); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 95: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 96: /* db_options ::= db_options WAL_LEVEL NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 97: /* db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 98: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 99: /* 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.yy74 = setDatabaseOption(pCxt, yymsp[-3].minor.yy74, DB_OPTION_WAL_RETENTION_PERIOD, &t); + yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-3].minor.yy752, DB_OPTION_WAL_RETENTION_PERIOD, &t); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; case 100: /* db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 101: /* 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.yy74 = setDatabaseOption(pCxt, yymsp[-3].minor.yy74, DB_OPTION_WAL_RETENTION_SIZE, &t); + yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-3].minor.yy752, DB_OPTION_WAL_RETENTION_SIZE, &t); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; case 102: /* db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 103: /* db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 104: /* db_options ::= db_options STT_TRIGGER NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 105: /* db_options ::= db_options TABLE_PREFIX NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_TABLE_PREFIX, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_TABLE_PREFIX, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 106: /* db_options ::= db_options TABLE_SUFFIX NK_INTEGER */ -{ yylhsminor.yy74 = setDatabaseOption(pCxt, yymsp[-2].minor.yy74, DB_OPTION_TABLE_SUFFIX, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setDatabaseOption(pCxt, yymsp[-2].minor.yy752, DB_OPTION_TABLE_SUFFIX, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 107: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy74 = createAlterDatabaseOptions(pCxt); yylhsminor.yy74 = setAlterDatabaseOption(pCxt, yylhsminor.yy74, &yymsp[0].minor.yy767); } - yymsp[0].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterDatabaseOptions(pCxt); yylhsminor.yy752 = setAlterDatabaseOption(pCxt, yylhsminor.yy752, &yymsp[0].minor.yy5); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; case 108: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy74 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy74, &yymsp[0].minor.yy767); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy752, &yymsp[0].minor.yy5); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; case 109: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy767.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 110: /* alter_db_option ::= CACHEMODEL NK_STRING */ -{ yymsp[-1].minor.yy767.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 111: /* alter_db_option ::= CACHESIZE NK_INTEGER */ -{ yymsp[-1].minor.yy767.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 112: /* alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy767.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 113: /* alter_db_option ::= KEEP integer_list */ case 114: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==114); -{ yymsp[-1].minor.yy767.type = DB_OPTION_KEEP; yymsp[-1].minor.yy767.pList = yymsp[0].minor.yy874; } +{ yymsp[-1].minor.yy5.type = DB_OPTION_KEEP; yymsp[-1].minor.yy5.pList = yymsp[0].minor.yy424; } break; case 115: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy767.type = DB_OPTION_PAGES; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = DB_OPTION_PAGES; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 116: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy767.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 117: /* alter_db_option ::= WAL_LEVEL NK_INTEGER */ -{ yymsp[-1].minor.yy767.type = DB_OPTION_WAL; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = DB_OPTION_WAL; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 118: /* alter_db_option ::= STT_TRIGGER NK_INTEGER */ -{ yymsp[-1].minor.yy767.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 119: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy874 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy874 = yylhsminor.yy874; +{ yylhsminor.yy424 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy424 = yylhsminor.yy424; break; case 120: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 312: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==312); -{ yylhsminor.yy874 = addNodeToList(pCxt, yymsp[-2].minor.yy874, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy874 = yylhsminor.yy874; + case 317: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==317); +{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy424 = yylhsminor.yy424; break; case 121: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy874 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy874 = yylhsminor.yy874; +{ yylhsminor.yy424 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy424 = yylhsminor.yy424; break; case 122: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy874 = addNodeToList(pCxt, yymsp[-2].minor.yy874, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy874 = yylhsminor.yy874; +{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy424 = yylhsminor.yy424; break; case 123: /* retention_list ::= retention */ case 145: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==145); @@ -4088,14 +4125,14 @@ static YYACTIONTYPE yy_reduce( case 204: /* col_name_list ::= col_name */ yytestcase(yyruleno==204); case 253: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==253); case 264: /* func_list ::= func */ yytestcase(yyruleno==264); - case 340: /* literal_list ::= signed_literal */ yytestcase(yyruleno==340); - case 405: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==405); - case 411: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==411); - case 466: /* select_list ::= select_item */ yytestcase(yyruleno==466); - case 477: /* partition_list ::= partition_item */ yytestcase(yyruleno==477); - case 530: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==530); -{ yylhsminor.yy874 = createNodeList(pCxt, yymsp[0].minor.yy74); } - yymsp[0].minor.yy874 = yylhsminor.yy874; + case 345: /* literal_list ::= signed_literal */ yytestcase(yyruleno==345); + case 410: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==410); + case 416: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==416); + case 471: /* select_list ::= select_item */ yytestcase(yyruleno==471); + case 482: /* partition_list ::= partition_item */ yytestcase(yyruleno==482); + case 535: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==535); +{ yylhsminor.yy424 = createNodeList(pCxt, yymsp[0].minor.yy752); } + yymsp[0].minor.yy424 = yylhsminor.yy424; break; case 124: /* retention_list ::= retention_list NK_COMMA retention */ case 156: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==156); @@ -4103,271 +4140,271 @@ static YYACTIONTYPE yy_reduce( case 205: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==205); case 254: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==254); case 265: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==265); - case 341: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==341); - case 406: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==406); - case 467: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==467); - case 478: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==478); - case 531: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==531); -{ yylhsminor.yy874 = addNodeToList(pCxt, yymsp[-2].minor.yy874, yymsp[0].minor.yy74); } - yymsp[-2].minor.yy874 = yylhsminor.yy874; + case 346: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==346); + case 411: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==411); + case 472: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==472); + case 483: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==483); + case 536: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==536); +{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, yymsp[0].minor.yy752); } + yymsp[-2].minor.yy424 = yylhsminor.yy424; break; case 125: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ -{ yylhsminor.yy74 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 126: /* speed_opt ::= */ - case 291: /* bufsize_opt ::= */ yytestcase(yyruleno==291); -{ yymsp[1].minor.yy856 = 0; } + case 296: /* bufsize_opt ::= */ yytestcase(yyruleno==296); +{ yymsp[1].minor.yy340 = 0; } break; case 127: /* speed_opt ::= MAX_SPEED NK_INTEGER */ - case 292: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==292); -{ yymsp[-1].minor.yy856 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } + case 297: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==297); +{ yymsp[-1].minor.yy340 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 128: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ case 130: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==130); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy335, yymsp[-5].minor.yy74, yymsp[-3].minor.yy874, yymsp[-1].minor.yy874, yymsp[0].minor.yy74); } +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy57, yymsp[-5].minor.yy752, yymsp[-3].minor.yy424, yymsp[-1].minor.yy424, yymsp[0].minor.yy752); } break; case 129: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy874); } +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy424); } break; case 131: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy874); } +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy424); } break; case 132: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy335, yymsp[0].minor.yy74); } +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy57, yymsp[0].minor.yy752); } break; case 133: /* cmd ::= ALTER TABLE alter_table_clause */ - case 314: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==314); -{ pCxt->pRootNode = yymsp[0].minor.yy74; } + case 319: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==319); +{ pCxt->pRootNode = yymsp[0].minor.yy752; } break; case 134: /* cmd ::= ALTER STABLE alter_table_clause */ -{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy74); } +{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy752); } break; case 135: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy74 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy74, yymsp[0].minor.yy74); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy752, yymsp[0].minor.yy752); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; case 136: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy74 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy74, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy317, yymsp[0].minor.yy898); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy752, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy849, yymsp[0].minor.yy384); } + yymsp[-4].minor.yy752 = yylhsminor.yy752; break; case 137: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy74 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy74, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy317); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy752, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy849); } + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; case 138: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy74 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy74, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy317, yymsp[0].minor.yy898); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy752, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy849, yymsp[0].minor.yy384); } + yymsp[-4].minor.yy752 = yylhsminor.yy752; break; case 139: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy74 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy74, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy317, &yymsp[0].minor.yy317); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy752, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy849, &yymsp[0].minor.yy849); } + yymsp[-4].minor.yy752 = yylhsminor.yy752; break; case 140: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy74 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy74, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy317, yymsp[0].minor.yy898); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy752, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy849, yymsp[0].minor.yy384); } + yymsp[-4].minor.yy752 = yylhsminor.yy752; break; case 141: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy74 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy74, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy317); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy752, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy849); } + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; case 142: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy74 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy74, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy317, yymsp[0].minor.yy898); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy752, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy849, yymsp[0].minor.yy384); } + yymsp[-4].minor.yy752 = yylhsminor.yy752; break; case 143: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy74 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy74, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy317, &yymsp[0].minor.yy317); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy752, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy849, &yymsp[0].minor.yy849); } + yymsp[-4].minor.yy752 = yylhsminor.yy752; break; case 144: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy74 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy74, &yymsp[-2].minor.yy317, yymsp[0].minor.yy74); } - yymsp[-5].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy752, &yymsp[-2].minor.yy849, yymsp[0].minor.yy752); } + yymsp[-5].minor.yy752 = yylhsminor.yy752; break; case 146: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ case 149: /* multi_drop_clause ::= multi_drop_clause drop_table_clause */ yytestcase(yyruleno==149); - case 412: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==412); -{ yylhsminor.yy874 = addNodeToList(pCxt, yymsp[-1].minor.yy874, yymsp[0].minor.yy74); } - yymsp[-1].minor.yy874 = yylhsminor.yy874; + case 417: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==417); +{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-1].minor.yy424, yymsp[0].minor.yy752); } + yymsp[-1].minor.yy424 = yylhsminor.yy424; break; case 147: /* 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.yy74 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy335, yymsp[-8].minor.yy74, yymsp[-6].minor.yy74, yymsp[-5].minor.yy874, yymsp[-2].minor.yy874, yymsp[0].minor.yy74); } - yymsp[-9].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy57, yymsp[-8].minor.yy752, yymsp[-6].minor.yy752, yymsp[-5].minor.yy424, yymsp[-2].minor.yy424, yymsp[0].minor.yy752); } + yymsp[-9].minor.yy752 = yylhsminor.yy752; break; case 150: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy74 = createDropTableClause(pCxt, yymsp[-1].minor.yy335, yymsp[0].minor.yy74); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createDropTableClause(pCxt, yymsp[-1].minor.yy57, yymsp[0].minor.yy752); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; case 151: /* specific_cols_opt ::= */ case 182: /* tags_def_opt ::= */ yytestcase(yyruleno==182); case 252: /* tag_list_opt ::= */ yytestcase(yyruleno==252); - case 475: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==475); - case 498: /* group_by_clause_opt ::= */ yytestcase(yyruleno==498); - case 517: /* order_by_clause_opt ::= */ yytestcase(yyruleno==517); -{ yymsp[1].minor.yy874 = NULL; } + case 480: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==480); + case 503: /* group_by_clause_opt ::= */ yytestcase(yyruleno==503); + case 522: /* order_by_clause_opt ::= */ yytestcase(yyruleno==522); +{ yymsp[1].minor.yy424 = NULL; } break; case 152: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ -{ yymsp[-2].minor.yy874 = yymsp[-1].minor.yy874; } +{ yymsp[-2].minor.yy424 = yymsp[-1].minor.yy424; } break; case 153: /* full_table_name ::= table_name */ -{ yylhsminor.yy74 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy317, NULL); } - yymsp[0].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy849, NULL); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; case 154: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy74 = createRealTableNode(pCxt, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy317, NULL); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createRealTableNode(pCxt, &yymsp[-2].minor.yy849, &yymsp[0].minor.yy849, NULL); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 157: /* column_def ::= column_name type_name */ -{ yylhsminor.yy74 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy317, yymsp[0].minor.yy898, NULL); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy849, yymsp[0].minor.yy384, NULL); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; case 158: /* column_def ::= column_name type_name COMMENT NK_STRING */ -{ yylhsminor.yy74 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy317, yymsp[-2].minor.yy898, &yymsp[0].minor.yy0); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy849, yymsp[-2].minor.yy384, &yymsp[0].minor.yy0); } + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; case 159: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_BOOL); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_BOOL); } break; case 160: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_TINYINT); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; case 161: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_SMALLINT); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; case 162: /* type_name ::= INT */ case 163: /* type_name ::= INTEGER */ yytestcase(yyruleno==163); -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_INT); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_INT); } break; case 164: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_BIGINT); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; case 165: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_FLOAT); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; case 166: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_DOUBLE); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; case 167: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy898 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy384 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; case 168: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; case 169: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy898 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy384 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; case 170: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy898 = createDataType(TSDB_DATA_TYPE_UTINYINT); } +{ yymsp[-1].minor.yy384 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; case 171: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy898 = createDataType(TSDB_DATA_TYPE_USMALLINT); } +{ yymsp[-1].minor.yy384 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; case 172: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy898 = createDataType(TSDB_DATA_TYPE_UINT); } +{ yymsp[-1].minor.yy384 = createDataType(TSDB_DATA_TYPE_UINT); } break; case 173: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy898 = createDataType(TSDB_DATA_TYPE_UBIGINT); } +{ yymsp[-1].minor.yy384 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; case 174: /* type_name ::= JSON */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_JSON); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_JSON); } break; case 175: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy898 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy384 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; case 176: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; case 177: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_BLOB); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_BLOB); } break; case 178: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy898 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy384 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; case 179: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy898 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[0].minor.yy384 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 180: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy898 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-3].minor.yy384 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 181: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy898 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-5].minor.yy384 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 183: /* tags_def_opt ::= tags_def */ - case 404: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==404); -{ yylhsminor.yy874 = yymsp[0].minor.yy874; } - yymsp[0].minor.yy874 = yylhsminor.yy874; + case 409: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==409); +{ yylhsminor.yy424 = yymsp[0].minor.yy424; } + yymsp[0].minor.yy424 = yylhsminor.yy424; break; case 184: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ -{ yymsp[-3].minor.yy874 = yymsp[-1].minor.yy874; } +{ yymsp[-3].minor.yy424 = yymsp[-1].minor.yy424; } break; case 185: /* table_options ::= */ -{ yymsp[1].minor.yy74 = createDefaultTableOptions(pCxt); } +{ yymsp[1].minor.yy752 = createDefaultTableOptions(pCxt); } break; case 186: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy74 = setTableOption(pCxt, yymsp[-2].minor.yy74, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setTableOption(pCxt, yymsp[-2].minor.yy752, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 187: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy74 = setTableOption(pCxt, yymsp[-2].minor.yy74, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy874); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setTableOption(pCxt, yymsp[-2].minor.yy752, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy424); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 188: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy74 = setTableOption(pCxt, yymsp[-2].minor.yy74, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy874); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setTableOption(pCxt, yymsp[-2].minor.yy752, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy424); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 189: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy74 = setTableOption(pCxt, yymsp[-4].minor.yy74, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy874); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setTableOption(pCxt, yymsp[-4].minor.yy752, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy424); } + yymsp[-4].minor.yy752 = yylhsminor.yy752; break; case 190: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy74 = setTableOption(pCxt, yymsp[-2].minor.yy74, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setTableOption(pCxt, yymsp[-2].minor.yy752, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 191: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy74 = setTableOption(pCxt, yymsp[-4].minor.yy74, TABLE_OPTION_SMA, yymsp[-1].minor.yy874); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setTableOption(pCxt, yymsp[-4].minor.yy752, TABLE_OPTION_SMA, yymsp[-1].minor.yy424); } + yymsp[-4].minor.yy752 = yylhsminor.yy752; break; case 192: /* table_options ::= table_options DELETE_MARK duration_list */ -{ yylhsminor.yy74 = setTableOption(pCxt, yymsp[-2].minor.yy74, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy874); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setTableOption(pCxt, yymsp[-2].minor.yy752, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy424); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 193: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy74 = createAlterTableOptions(pCxt); yylhsminor.yy74 = setTableOption(pCxt, yylhsminor.yy74, yymsp[0].minor.yy767.type, &yymsp[0].minor.yy767.val); } - yymsp[0].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createAlterTableOptions(pCxt); yylhsminor.yy752 = setTableOption(pCxt, yylhsminor.yy752, yymsp[0].minor.yy5.type, &yymsp[0].minor.yy5.val); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; case 194: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy74 = setTableOption(pCxt, yymsp[-1].minor.yy74, yymsp[0].minor.yy767.type, &yymsp[0].minor.yy767.val); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setTableOption(pCxt, yymsp[-1].minor.yy752, yymsp[0].minor.yy5.type, &yymsp[0].minor.yy5.val); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; case 195: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy767.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 196: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy767.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy767.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy5.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy5.val = yymsp[0].minor.yy0; } break; case 197: /* duration_list ::= duration_literal */ - case 369: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==369); -{ yylhsminor.yy874 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy74)); } - yymsp[0].minor.yy874 = yylhsminor.yy874; + case 374: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==374); +{ yylhsminor.yy424 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy752)); } + yymsp[0].minor.yy424 = yylhsminor.yy424; break; case 198: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 370: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==370); -{ yylhsminor.yy874 = addNodeToList(pCxt, yymsp[-2].minor.yy874, releaseRawExprNode(pCxt, yymsp[0].minor.yy74)); } - yymsp[-2].minor.yy874 = yylhsminor.yy874; + case 375: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==375); +{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, releaseRawExprNode(pCxt, yymsp[0].minor.yy752)); } + yymsp[-2].minor.yy424 = yylhsminor.yy424; break; case 201: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy74 = createFunctionNode(pCxt, &yymsp[0].minor.yy317, NULL); } - yymsp[0].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createFunctionNode(pCxt, &yymsp[0].minor.yy849, NULL); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; case 202: /* rollup_func_name ::= FIRST */ case 203: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==203); case 256: /* tag_item ::= QTAGS */ yytestcase(yyruleno==256); -{ yylhsminor.yy74 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; case 206: /* col_name ::= column_name */ case 257: /* tag_item ::= column_name */ yytestcase(yyruleno==257); -{ yylhsminor.yy74 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy317); } - yymsp[0].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy849); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; case 207: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } @@ -4382,13 +4419,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; case 211: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy74, yymsp[0].minor.yy74, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy752, yymsp[0].minor.yy752, OP_TYPE_LIKE); } break; case 212: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy74, yymsp[0].minor.yy74, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy752, yymsp[0].minor.yy752, OP_TYPE_LIKE); } break; case 213: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy74, NULL, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy752, NULL, OP_TYPE_LIKE); } break; case 214: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } @@ -4400,7 +4437,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; case 217: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy74, yymsp[-1].minor.yy74, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy752, yymsp[-1].minor.yy752, OP_TYPE_EQUAL); } break; case 218: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } @@ -4419,13 +4456,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; case 224: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy317); } +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy849); } break; case 225: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy74); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy752); } break; case 226: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy74); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy752); } break; case 227: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } @@ -4444,7 +4481,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; case 233: /* 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.yy74); } +{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy752); } break; case 234: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } @@ -4459,7 +4496,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; case 238: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy74); } +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy752); } break; case 239: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } @@ -4468,10 +4505,10 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; case 241: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy74, yymsp[-1].minor.yy74, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy752, yymsp[-1].minor.yy752, OP_TYPE_EQUAL); } break; case 242: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy74, yymsp[0].minor.yy74, yymsp[-3].minor.yy874); } +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy752, yymsp[0].minor.yy752, yymsp[-3].minor.yy424); } break; case 243: /* cmd ::= SHOW VNODES NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } @@ -4481,736 +4518,736 @@ static YYACTIONTYPE yy_reduce( break; case 245: /* db_name_cond_opt ::= */ case 250: /* from_db_opt ::= */ yytestcase(yyruleno==250); -{ yymsp[1].minor.yy74 = createDefaultDatabaseCondValue(pCxt); } +{ yymsp[1].minor.yy752 = createDefaultDatabaseCondValue(pCxt); } break; case 246: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy74 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy317); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy849); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; case 247: /* like_pattern_opt ::= */ - case 302: /* subtable_opt ::= */ yytestcase(yyruleno==302); - case 414: /* case_when_else_opt ::= */ yytestcase(yyruleno==414); - case 444: /* from_clause_opt ::= */ yytestcase(yyruleno==444); - case 473: /* where_clause_opt ::= */ yytestcase(yyruleno==473); - case 482: /* twindow_clause_opt ::= */ yytestcase(yyruleno==482); - case 488: /* sliding_opt ::= */ yytestcase(yyruleno==488); - case 490: /* fill_opt ::= */ yytestcase(yyruleno==490); - case 502: /* having_clause_opt ::= */ yytestcase(yyruleno==502); - case 504: /* range_opt ::= */ yytestcase(yyruleno==504); - case 506: /* every_opt ::= */ yytestcase(yyruleno==506); - case 519: /* slimit_clause_opt ::= */ yytestcase(yyruleno==519); - case 523: /* limit_clause_opt ::= */ yytestcase(yyruleno==523); -{ yymsp[1].minor.yy74 = NULL; } + case 307: /* subtable_opt ::= */ yytestcase(yyruleno==307); + case 419: /* case_when_else_opt ::= */ yytestcase(yyruleno==419); + case 449: /* from_clause_opt ::= */ yytestcase(yyruleno==449); + case 478: /* where_clause_opt ::= */ yytestcase(yyruleno==478); + case 487: /* twindow_clause_opt ::= */ yytestcase(yyruleno==487); + case 493: /* sliding_opt ::= */ yytestcase(yyruleno==493); + case 495: /* fill_opt ::= */ yytestcase(yyruleno==495); + case 507: /* having_clause_opt ::= */ yytestcase(yyruleno==507); + case 509: /* range_opt ::= */ yytestcase(yyruleno==509); + case 511: /* every_opt ::= */ yytestcase(yyruleno==511); + case 524: /* slimit_clause_opt ::= */ yytestcase(yyruleno==524); + case 528: /* limit_clause_opt ::= */ yytestcase(yyruleno==528); +{ yymsp[1].minor.yy752 = NULL; } break; case 248: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } +{ yymsp[-1].minor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; case 249: /* table_name_cond ::= table_name */ -{ yylhsminor.yy74 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy317); } - yymsp[0].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy849); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; case 251: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy74 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy317); } +{ yymsp[-1].minor.yy752 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy849); } break; case 255: /* tag_item ::= TBNAME */ -{ yylhsminor.yy74 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } - yymsp[0].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; case 258: /* tag_item ::= column_name column_alias */ -{ yylhsminor.yy74 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy317), &yymsp[0].minor.yy317); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy849), &yymsp[0].minor.yy849); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; case 259: /* tag_item ::= column_name AS column_alias */ -{ yylhsminor.yy74 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy317), &yymsp[0].minor.yy317); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; +{ yylhsminor.yy752 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy849), &yymsp[0].minor.yy849); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; case 260: /* cmd ::= CREATE SMA INDEX not_exists_opt full_table_name ON full_table_name index_options */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy335, yymsp[-3].minor.yy74, yymsp[-1].minor.yy74, NULL, yymsp[0].minor.yy74); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy57, yymsp[-3].minor.yy752, yymsp[-1].minor.yy752, NULL, yymsp[0].minor.yy752); } break; case 261: /* cmd ::= DROP INDEX exists_opt full_table_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy335, yymsp[0].minor.yy74); } +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy57, yymsp[0].minor.yy752); } break; case 262: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy74 = createIndexOption(pCxt, yymsp[-7].minor.yy874, releaseRawExprNode(pCxt, yymsp[-3].minor.yy74), NULL, yymsp[-1].minor.yy74, yymsp[0].minor.yy74); } +{ yymsp[-9].minor.yy752 = createIndexOption(pCxt, yymsp[-7].minor.yy424, releaseRawExprNode(pCxt, yymsp[-3].minor.yy752), NULL, yymsp[-1].minor.yy752, yymsp[0].minor.yy752); } break; case 263: /* 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.yy74 = createIndexOption(pCxt, yymsp[-9].minor.yy874, releaseRawExprNode(pCxt, yymsp[-5].minor.yy74), releaseRawExprNode(pCxt, yymsp[-3].minor.yy74), yymsp[-1].minor.yy74, yymsp[0].minor.yy74); } +{ yymsp[-11].minor.yy752 = createIndexOption(pCxt, yymsp[-9].minor.yy424, releaseRawExprNode(pCxt, yymsp[-5].minor.yy752), releaseRawExprNode(pCxt, yymsp[-3].minor.yy752), yymsp[-1].minor.yy752, yymsp[0].minor.yy752); } break; - case 266: /* func ::= function_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy74 = createFunctionNode(pCxt, &yymsp[-3].minor.yy317, yymsp[-1].minor.yy874); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; + case 266: /* func ::= sma_func_name NK_LP expression_list NK_RP */ +{ yylhsminor.yy752 = createFunctionNode(pCxt, &yymsp[-3].minor.yy849, yymsp[-1].minor.yy424); } + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; - case 267: /* sma_stream_opt ::= */ - case 295: /* stream_options ::= */ yytestcase(yyruleno==295); -{ yymsp[1].minor.yy74 = createStreamOptions(pCxt); } + case 272: /* sma_stream_opt ::= */ + case 300: /* stream_options ::= */ yytestcase(yyruleno==300); +{ yymsp[1].minor.yy752 = createStreamOptions(pCxt); } break; - case 268: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - case 299: /* stream_options ::= stream_options WATERMARK duration_literal */ yytestcase(yyruleno==299); -{ ((SStreamOptions*)yymsp[-2].minor.yy74)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy74); yylhsminor.yy74 = yymsp[-2].minor.yy74; } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 273: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + case 304: /* stream_options ::= stream_options WATERMARK duration_literal */ yytestcase(yyruleno==304); +{ ((SStreamOptions*)yymsp[-2].minor.yy752)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy752); yylhsminor.yy752 = yymsp[-2].minor.yy752; } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 269: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy74)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy74); yylhsminor.yy74 = yymsp[-2].minor.yy74; } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 274: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ +{ ((SStreamOptions*)yymsp[-2].minor.yy752)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy752); yylhsminor.yy752 = yymsp[-2].minor.yy752; } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 270: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy74)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy74); yylhsminor.yy74 = yymsp[-2].minor.yy74; } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 275: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ +{ ((SStreamOptions*)yymsp[-2].minor.yy752)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy752); yylhsminor.yy752 = yymsp[-2].minor.yy752; } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 271: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy335, &yymsp[-2].minor.yy317, yymsp[0].minor.yy74); } + case 276: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ +{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy57, &yymsp[-2].minor.yy849, yymsp[0].minor.yy752); } break; - case 272: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy335, &yymsp[-3].minor.yy317, &yymsp[0].minor.yy317, false); } + case 277: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy57, &yymsp[-3].minor.yy849, &yymsp[0].minor.yy849, false); } break; - case 273: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy335, &yymsp[-5].minor.yy317, &yymsp[0].minor.yy317, true); } + case 278: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy57, &yymsp[-5].minor.yy849, &yymsp[0].minor.yy849, true); } break; - case 274: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy335, &yymsp[-3].minor.yy317, yymsp[0].minor.yy74, false); } + case 279: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy57, &yymsp[-3].minor.yy849, yymsp[0].minor.yy752, false); } break; - case 275: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy335, &yymsp[-5].minor.yy317, yymsp[0].minor.yy74, true); } + case 280: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy57, &yymsp[-5].minor.yy849, yymsp[0].minor.yy752, true); } break; - case 276: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy335, &yymsp[0].minor.yy317); } + case 281: /* cmd ::= DROP TOPIC exists_opt topic_name */ +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy57, &yymsp[0].minor.yy849); } break; - case 277: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy335, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy317); } + case 282: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ +{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy57, &yymsp[-2].minor.yy849, &yymsp[0].minor.yy849); } break; - case 278: /* cmd ::= DESC full_table_name */ - case 279: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==279); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy74); } + case 283: /* cmd ::= DESC full_table_name */ + case 284: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==284); +{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy752); } break; - case 280: /* cmd ::= RESET QUERY CACHE */ + case 285: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; - case 281: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy335, yymsp[-1].minor.yy74, yymsp[0].minor.yy74); } + case 286: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ +{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy57, yymsp[-1].minor.yy752, yymsp[0].minor.yy752); } break; - case 284: /* explain_options ::= */ -{ yymsp[1].minor.yy74 = createDefaultExplainOptions(pCxt); } + case 289: /* explain_options ::= */ +{ yymsp[1].minor.yy752 = createDefaultExplainOptions(pCxt); } break; - case 285: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy74 = setExplainVerbose(pCxt, yymsp[-2].minor.yy74, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 290: /* explain_options ::= explain_options VERBOSE NK_BOOL */ +{ yylhsminor.yy752 = setExplainVerbose(pCxt, yymsp[-2].minor.yy752, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 286: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy74 = setExplainRatio(pCxt, yymsp[-2].minor.yy74, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 291: /* explain_options ::= explain_options RATIO NK_FLOAT */ +{ yylhsminor.yy752 = setExplainRatio(pCxt, yymsp[-2].minor.yy752, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 287: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ -{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-6].minor.yy335, yymsp[-8].minor.yy335, &yymsp[-5].minor.yy317, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy898, yymsp[0].minor.yy856); } + case 292: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ +{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-6].minor.yy57, yymsp[-8].minor.yy57, &yymsp[-5].minor.yy849, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy384, yymsp[0].minor.yy340); } break; - case 288: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy335, &yymsp[0].minor.yy317); } + case 293: /* cmd ::= DROP FUNCTION exists_opt function_name */ +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy57, &yymsp[0].minor.yy849); } break; - case 293: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name tags_def_opt subtable_opt AS query_or_subquery */ -{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-8].minor.yy335, &yymsp[-7].minor.yy317, yymsp[-4].minor.yy74, yymsp[-6].minor.yy74, yymsp[-3].minor.yy874, yymsp[-2].minor.yy74, yymsp[0].minor.yy74); } + case 298: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name tags_def_opt subtable_opt AS query_or_subquery */ +{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-8].minor.yy57, &yymsp[-7].minor.yy849, yymsp[-4].minor.yy752, yymsp[-6].minor.yy752, yymsp[-3].minor.yy424, yymsp[-2].minor.yy752, yymsp[0].minor.yy752); } break; - case 294: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy335, &yymsp[0].minor.yy317); } + case 299: /* cmd ::= DROP STREAM exists_opt stream_name */ +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy57, &yymsp[0].minor.yy849); } break; - case 296: /* stream_options ::= stream_options TRIGGER AT_ONCE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy74)->triggerType = STREAM_TRIGGER_AT_ONCE; yylhsminor.yy74 = yymsp[-2].minor.yy74; } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 301: /* stream_options ::= stream_options TRIGGER AT_ONCE */ +{ ((SStreamOptions*)yymsp[-2].minor.yy752)->triggerType = STREAM_TRIGGER_AT_ONCE; yylhsminor.yy752 = yymsp[-2].minor.yy752; } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 297: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy74)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; yylhsminor.yy74 = yymsp[-2].minor.yy74; } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 302: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ +{ ((SStreamOptions*)yymsp[-2].minor.yy752)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; yylhsminor.yy752 = yymsp[-2].minor.yy752; } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 298: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-3].minor.yy74)->triggerType = STREAM_TRIGGER_MAX_DELAY; ((SStreamOptions*)yymsp[-3].minor.yy74)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy74); yylhsminor.yy74 = yymsp[-3].minor.yy74; } - yymsp[-3].minor.yy74 = yylhsminor.yy74; + case 303: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ +{ ((SStreamOptions*)yymsp[-3].minor.yy752)->triggerType = STREAM_TRIGGER_MAX_DELAY; ((SStreamOptions*)yymsp[-3].minor.yy752)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy752); yylhsminor.yy752 = yymsp[-3].minor.yy752; } + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; - case 300: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ -{ ((SStreamOptions*)yymsp[-3].minor.yy74)->ignoreExpired = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); yylhsminor.yy74 = yymsp[-3].minor.yy74; } - yymsp[-3].minor.yy74 = yylhsminor.yy74; + case 305: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ +{ ((SStreamOptions*)yymsp[-3].minor.yy752)->ignoreExpired = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); yylhsminor.yy752 = yymsp[-3].minor.yy752; } + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; - case 301: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ -{ ((SStreamOptions*)yymsp[-2].minor.yy74)->fillHistory = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); yylhsminor.yy74 = yymsp[-2].minor.yy74; } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 306: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ +{ ((SStreamOptions*)yymsp[-2].minor.yy752)->fillHistory = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); yylhsminor.yy752 = yymsp[-2].minor.yy752; } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 303: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 489: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==489); - case 507: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==507); -{ yymsp[-3].minor.yy74 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy74); } + case 308: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + case 494: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==494); + case 512: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==512); +{ yymsp[-3].minor.yy752 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy752); } break; - case 304: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 309: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 305: /* cmd ::= KILL QUERY NK_STRING */ + case 310: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 306: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 311: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 307: /* cmd ::= BALANCE VGROUP */ + case 312: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 308: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 313: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 309: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy874); } + case 314: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy424); } break; - case 310: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 315: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 311: /* dnode_list ::= DNODE NK_INTEGER */ -{ yymsp[-1].minor.yy874 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - break; - case 313: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy74, yymsp[0].minor.yy74); } - break; - case 315: /* cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ -{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-4].minor.yy74, yymsp[-2].minor.yy874, yymsp[0].minor.yy74); } - break; - case 316: /* cmd ::= INSERT INTO full_table_name query_or_subquery */ -{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-1].minor.yy74, NULL, yymsp[0].minor.yy74); } - break; - case 317: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy74 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 318: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy74 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 319: /* literal ::= NK_STRING */ -{ yylhsminor.yy74 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 320: /* literal ::= NK_BOOL */ -{ yylhsminor.yy74 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 321: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; - break; - case 322: /* literal ::= duration_literal */ - case 332: /* signed_literal ::= signed */ yytestcase(yyruleno==332); - case 352: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==352); - case 353: /* expression ::= literal */ yytestcase(yyruleno==353); - case 354: /* expression ::= pseudo_column */ yytestcase(yyruleno==354); - case 355: /* expression ::= column_reference */ yytestcase(yyruleno==355); - case 356: /* expression ::= function_expression */ yytestcase(yyruleno==356); - case 357: /* expression ::= case_when_expression */ yytestcase(yyruleno==357); - case 387: /* function_expression ::= literal_func */ yytestcase(yyruleno==387); - case 436: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==436); - case 440: /* boolean_primary ::= predicate */ yytestcase(yyruleno==440); - case 442: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==442); - case 443: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==443); - case 446: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==446); - case 448: /* table_reference ::= table_primary */ yytestcase(yyruleno==448); - case 449: /* table_reference ::= joined_table */ yytestcase(yyruleno==449); - case 453: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==453); - case 509: /* query_simple ::= query_specification */ yytestcase(yyruleno==509); - case 510: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==510); - case 513: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==513); - case 515: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==515); -{ yylhsminor.yy74 = yymsp[0].minor.yy74; } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 323: /* literal ::= NULL */ -{ yylhsminor.yy74 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 324: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy74 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 325: /* duration_literal ::= NK_VARIABLE */ -{ yylhsminor.yy74 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 326: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 327: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - break; - case 328: /* signed ::= NK_MINUS NK_INTEGER */ + case 316: /* dnode_list ::= DNODE NK_INTEGER */ +{ yymsp[-1].minor.yy424 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + break; + case 318: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy752, yymsp[0].minor.yy752); } + break; + case 320: /* cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ +{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-4].minor.yy752, yymsp[-2].minor.yy424, yymsp[0].minor.yy752); } + break; + case 321: /* cmd ::= INSERT INTO full_table_name query_or_subquery */ +{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-1].minor.yy752, NULL, yymsp[0].minor.yy752); } + break; + case 322: /* literal ::= NK_INTEGER */ +{ yylhsminor.yy752 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 323: /* literal ::= NK_FLOAT */ +{ yylhsminor.yy752 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 324: /* literal ::= NK_STRING */ +{ yylhsminor.yy752 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 325: /* literal ::= NK_BOOL */ +{ yylhsminor.yy752 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 326: /* literal ::= TIMESTAMP NK_STRING */ +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; + break; + case 327: /* literal ::= duration_literal */ + case 337: /* signed_literal ::= signed */ yytestcase(yyruleno==337); + case 357: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==357); + case 358: /* expression ::= literal */ yytestcase(yyruleno==358); + case 359: /* expression ::= pseudo_column */ yytestcase(yyruleno==359); + case 360: /* expression ::= column_reference */ yytestcase(yyruleno==360); + case 361: /* expression ::= function_expression */ yytestcase(yyruleno==361); + case 362: /* expression ::= case_when_expression */ yytestcase(yyruleno==362); + case 392: /* function_expression ::= literal_func */ yytestcase(yyruleno==392); + case 441: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==441); + case 445: /* boolean_primary ::= predicate */ yytestcase(yyruleno==445); + case 447: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==447); + case 448: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==448); + case 451: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==451); + case 453: /* table_reference ::= table_primary */ yytestcase(yyruleno==453); + case 454: /* table_reference ::= joined_table */ yytestcase(yyruleno==454); + case 458: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==458); + case 514: /* query_simple ::= query_specification */ yytestcase(yyruleno==514); + case 515: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==515); + case 518: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==518); + case 520: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==520); +{ yylhsminor.yy752 = yymsp[0].minor.yy752; } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 328: /* literal ::= NULL */ +{ yylhsminor.yy752 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 329: /* literal ::= NK_QUESTION */ +{ yylhsminor.yy752 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 330: /* duration_literal ::= NK_VARIABLE */ +{ yylhsminor.yy752 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 331: /* signed ::= NK_INTEGER */ +{ yylhsminor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 332: /* signed ::= NK_PLUS NK_INTEGER */ +{ yymsp[-1].minor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + break; + case 333: /* 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.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; - case 329: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy74 = yylhsminor.yy74; + case 334: /* signed ::= NK_FLOAT */ +{ yylhsminor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; - case 330: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + case 335: /* signed ::= NK_PLUS NK_FLOAT */ +{ yymsp[-1].minor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 331: /* signed ::= NK_MINUS NK_FLOAT */ + case 336: /* 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.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; - break; - case 333: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 334: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 335: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } - break; - case 336: /* signed_literal ::= duration_literal */ - case 338: /* signed_literal ::= literal_func */ yytestcase(yyruleno==338); - case 407: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==407); - case 469: /* select_item ::= common_expression */ yytestcase(yyruleno==469); - case 479: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==479); - case 514: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==514); - case 516: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==516); - case 529: /* search_condition ::= common_expression */ yytestcase(yyruleno==529); -{ yylhsminor.yy74 = releaseRawExprNode(pCxt, yymsp[0].minor.yy74); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 337: /* signed_literal ::= NULL */ -{ yylhsminor.yy74 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 339: /* signed_literal ::= NK_QUESTION */ -{ yylhsminor.yy74 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 358: /* expression ::= NK_LP expression NK_RP */ - case 441: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==441); - case 528: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==528); -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy74)); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; - break; - case 359: /* expression ::= NK_PLUS expr_or_subquery */ + yymsp[-1].minor.yy752 = yylhsminor.yy752; + break; + case 338: /* signed_literal ::= NK_STRING */ +{ yylhsminor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 339: /* signed_literal ::= NK_BOOL */ +{ yylhsminor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 340: /* signed_literal ::= TIMESTAMP NK_STRING */ +{ yymsp[-1].minor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + break; + case 341: /* signed_literal ::= duration_literal */ + case 343: /* signed_literal ::= literal_func */ yytestcase(yyruleno==343); + case 412: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==412); + case 474: /* select_item ::= common_expression */ yytestcase(yyruleno==474); + case 484: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==484); + case 519: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==519); + case 521: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==521); + case 534: /* search_condition ::= common_expression */ yytestcase(yyruleno==534); +{ yylhsminor.yy752 = releaseRawExprNode(pCxt, yymsp[0].minor.yy752); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 342: /* signed_literal ::= NULL */ +{ yylhsminor.yy752 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 344: /* signed_literal ::= NK_QUESTION */ +{ yylhsminor.yy752 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 363: /* expression ::= NK_LP expression NK_RP */ + case 446: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==446); + case 533: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==533); +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy752)); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; + break; + case 364: /* expression ::= NK_PLUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy74)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy752)); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; - case 360: /* expression ::= NK_MINUS expr_or_subquery */ + case 365: /* expression ::= NK_MINUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy74), NULL)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy752), NULL)); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; - case 361: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 366: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 362: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 367: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 363: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 368: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 364: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 369: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 365: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 370: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 366: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 371: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 367: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 372: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 368: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 373: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; - break; - case 371: /* column_reference ::= column_name */ -{ yylhsminor.yy74 = createRawExprNode(pCxt, &yymsp[0].minor.yy317, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy317)); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 372: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy317, createColumnNode(pCxt, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy317)); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; - break; - case 373: /* pseudo_column ::= ROWTS */ - case 374: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==374); - case 376: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==376); - case 377: /* pseudo_column ::= QEND */ yytestcase(yyruleno==377); - case 378: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==378); - case 379: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==379); - case 380: /* pseudo_column ::= WEND */ yytestcase(yyruleno==380); - case 381: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==381); - case 382: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==382); - case 383: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==383); - case 389: /* literal_func ::= NOW */ yytestcase(yyruleno==389); -{ yylhsminor.yy74 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy74 = yylhsminor.yy74; - break; - case 375: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy317)))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; - break; - case 384: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 385: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==385); -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy317, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy317, yymsp[-1].minor.yy874)); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; - break; - case 386: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy74), yymsp[-1].minor.yy898)); } - yymsp[-5].minor.yy74 = yylhsminor.yy74; - break; - case 388: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy317, NULL)); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; - break; - case 403: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy874 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy874 = yylhsminor.yy874; - break; - case 408: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 472: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==472); -{ yylhsminor.yy74 = createColumnNode(pCxt, &yymsp[-2].minor.yy317, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; - break; - case 409: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy874, yymsp[-1].minor.yy74)); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; - break; - case 410: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy74), yymsp[-2].minor.yy874, yymsp[-1].minor.yy74)); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; - break; - case 413: /* when_then_expr ::= WHEN common_expression THEN common_expression */ -{ yymsp[-3].minor.yy74 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74)); } - break; - case 415: /* case_when_else_opt ::= ELSE common_expression */ -{ yymsp[-1].minor.yy74 = releaseRawExprNode(pCxt, yymsp[0].minor.yy74); } - break; - case 416: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 421: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==421); + yymsp[-2].minor.yy752 = yylhsminor.yy752; + break; + case 376: /* column_reference ::= column_name */ +{ yylhsminor.yy752 = createRawExprNode(pCxt, &yymsp[0].minor.yy849, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy849)); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 377: /* column_reference ::= table_name NK_DOT column_name */ +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy849, &yymsp[0].minor.yy849, createColumnNode(pCxt, &yymsp[-2].minor.yy849, &yymsp[0].minor.yy849)); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; + break; + case 378: /* pseudo_column ::= ROWTS */ + case 379: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==379); + case 381: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==381); + case 382: /* pseudo_column ::= QEND */ yytestcase(yyruleno==382); + case 383: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==383); + case 384: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==384); + case 385: /* pseudo_column ::= WEND */ yytestcase(yyruleno==385); + case 386: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==386); + case 387: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==387); + case 388: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==388); + case 394: /* literal_func ::= NOW */ yytestcase(yyruleno==394); +{ yylhsminor.yy752 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } + yymsp[0].minor.yy752 = yylhsminor.yy752; + break; + case 380: /* pseudo_column ::= table_name NK_DOT TBNAME */ +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy849, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy849)))); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; + break; + case 389: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 390: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==390); +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy849, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy849, yymsp[-1].minor.yy424)); } + yymsp[-3].minor.yy752 = yylhsminor.yy752; + break; + case 391: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy752), yymsp[-1].minor.yy384)); } + yymsp[-5].minor.yy752 = yylhsminor.yy752; + break; + case 393: /* literal_func ::= noarg_func NK_LP NK_RP */ +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy849, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy849, NULL)); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; + break; + case 408: /* star_func_para_list ::= NK_STAR */ +{ yylhsminor.yy424 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy424 = yylhsminor.yy424; + break; + case 413: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 477: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==477); +{ yylhsminor.yy752 = createColumnNode(pCxt, &yymsp[-2].minor.yy849, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; + break; + case 414: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy424, yymsp[-1].minor.yy752)); } + yymsp[-3].minor.yy752 = yylhsminor.yy752; + break; + case 415: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy752), yymsp[-2].minor.yy424, yymsp[-1].minor.yy752)); } + yymsp[-4].minor.yy752 = yylhsminor.yy752; + break; + case 418: /* when_then_expr ::= WHEN common_expression THEN common_expression */ +{ yymsp[-3].minor.yy752 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752)); } + break; + case 420: /* case_when_else_opt ::= ELSE common_expression */ +{ yymsp[-1].minor.yy752 = releaseRawExprNode(pCxt, yymsp[0].minor.yy752); } + break; + case 421: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 426: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==426); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy20, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy620, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 417: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 422: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy74), releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy752), releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-4].minor.yy74 = yylhsminor.yy74; + yymsp[-4].minor.yy752 = yylhsminor.yy752; break; - case 418: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 423: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy74), releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy752), releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-5].minor.yy74 = yylhsminor.yy74; + yymsp[-5].minor.yy752 = yylhsminor.yy752; break; - case 419: /* predicate ::= expr_or_subquery IS NULL */ + case 424: /* predicate ::= expr_or_subquery IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), NULL)); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 420: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 425: /* predicate ::= expr_or_subquery IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy74), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy752), NULL)); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; - case 422: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy20 = OP_TYPE_LOWER_THAN; } + case 427: /* compare_op ::= NK_LT */ +{ yymsp[0].minor.yy620 = OP_TYPE_LOWER_THAN; } break; - case 423: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy20 = OP_TYPE_GREATER_THAN; } + case 428: /* compare_op ::= NK_GT */ +{ yymsp[0].minor.yy620 = OP_TYPE_GREATER_THAN; } break; - case 424: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy20 = OP_TYPE_LOWER_EQUAL; } + case 429: /* compare_op ::= NK_LE */ +{ yymsp[0].minor.yy620 = OP_TYPE_LOWER_EQUAL; } break; - case 425: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy20 = OP_TYPE_GREATER_EQUAL; } + case 430: /* compare_op ::= NK_GE */ +{ yymsp[0].minor.yy620 = OP_TYPE_GREATER_EQUAL; } break; - case 426: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy20 = OP_TYPE_NOT_EQUAL; } + case 431: /* compare_op ::= NK_NE */ +{ yymsp[0].minor.yy620 = OP_TYPE_NOT_EQUAL; } break; - case 427: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy20 = OP_TYPE_EQUAL; } + case 432: /* compare_op ::= NK_EQ */ +{ yymsp[0].minor.yy620 = OP_TYPE_EQUAL; } break; - case 428: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy20 = OP_TYPE_LIKE; } + case 433: /* compare_op ::= LIKE */ +{ yymsp[0].minor.yy620 = OP_TYPE_LIKE; } break; - case 429: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy20 = OP_TYPE_NOT_LIKE; } + case 434: /* compare_op ::= NOT LIKE */ +{ yymsp[-1].minor.yy620 = OP_TYPE_NOT_LIKE; } break; - case 430: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy20 = OP_TYPE_MATCH; } + case 435: /* compare_op ::= MATCH */ +{ yymsp[0].minor.yy620 = OP_TYPE_MATCH; } break; - case 431: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy20 = OP_TYPE_NMATCH; } + case 436: /* compare_op ::= NMATCH */ +{ yymsp[0].minor.yy620 = OP_TYPE_NMATCH; } break; - case 432: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy20 = OP_TYPE_JSON_CONTAINS; } + case 437: /* compare_op ::= CONTAINS */ +{ yymsp[0].minor.yy620 = OP_TYPE_JSON_CONTAINS; } break; - case 433: /* in_op ::= IN */ -{ yymsp[0].minor.yy20 = OP_TYPE_IN; } + case 438: /* in_op ::= IN */ +{ yymsp[0].minor.yy620 = OP_TYPE_IN; } break; - case 434: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy20 = OP_TYPE_NOT_IN; } + case 439: /* in_op ::= NOT IN */ +{ yymsp[-1].minor.yy620 = OP_TYPE_NOT_IN; } break; - case 435: /* in_predicate_value ::= NK_LP literal_list NK_RP */ -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy874)); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 440: /* in_predicate_value ::= NK_LP literal_list NK_RP */ +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy424)); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 437: /* boolean_value_expression ::= NOT boolean_primary */ + case 442: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy74), NULL)); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy752), NULL)); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; - case 438: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 443: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 439: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 444: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy74); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy74); - yylhsminor.yy74 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy752); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy752); + yylhsminor.yy752 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 445: /* from_clause_opt ::= FROM table_reference_list */ - case 474: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==474); - case 503: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==503); -{ yymsp[-1].minor.yy74 = yymsp[0].minor.yy74; } + case 450: /* from_clause_opt ::= FROM table_reference_list */ + case 479: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==479); + case 508: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==508); +{ yymsp[-1].minor.yy752 = yymsp[0].minor.yy752; } break; - case 447: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy74 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy74, yymsp[0].minor.yy74, NULL); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 452: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ +{ yylhsminor.yy752 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy752, yymsp[0].minor.yy752, NULL); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 450: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy74 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy317, &yymsp[0].minor.yy317); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; + case 455: /* table_primary ::= table_name alias_opt */ +{ yylhsminor.yy752 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy849, &yymsp[0].minor.yy849); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; - case 451: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy74 = createRealTableNode(pCxt, &yymsp[-3].minor.yy317, &yymsp[-1].minor.yy317, &yymsp[0].minor.yy317); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; + case 456: /* table_primary ::= db_name NK_DOT table_name alias_opt */ +{ yylhsminor.yy752 = createRealTableNode(pCxt, &yymsp[-3].minor.yy849, &yymsp[-1].minor.yy849, &yymsp[0].minor.yy849); } + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; - case 452: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy74 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy74), &yymsp[0].minor.yy317); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; + case 457: /* table_primary ::= subquery alias_opt */ +{ yylhsminor.yy752 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy752), &yymsp[0].minor.yy849); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; - case 454: /* alias_opt ::= */ -{ yymsp[1].minor.yy317 = nil_token; } + case 459: /* alias_opt ::= */ +{ yymsp[1].minor.yy849 = nil_token; } break; - case 456: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy317 = yymsp[0].minor.yy317; } + case 461: /* alias_opt ::= AS table_alias */ +{ yymsp[-1].minor.yy849 = yymsp[0].minor.yy849; } break; - case 457: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 458: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==458); -{ yymsp[-2].minor.yy74 = yymsp[-1].minor.yy74; } + case 462: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 463: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==463); +{ yymsp[-2].minor.yy752 = yymsp[-1].minor.yy752; } break; - case 459: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy74 = createJoinTableNode(pCxt, yymsp[-4].minor.yy630, yymsp[-5].minor.yy74, yymsp[-2].minor.yy74, yymsp[0].minor.yy74); } - yymsp[-5].minor.yy74 = yylhsminor.yy74; + case 464: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ +{ yylhsminor.yy752 = createJoinTableNode(pCxt, yymsp[-4].minor.yy332, yymsp[-5].minor.yy752, yymsp[-2].minor.yy752, yymsp[0].minor.yy752); } + yymsp[-5].minor.yy752 = yylhsminor.yy752; break; - case 460: /* join_type ::= */ -{ yymsp[1].minor.yy630 = JOIN_TYPE_INNER; } + case 465: /* join_type ::= */ +{ yymsp[1].minor.yy332 = JOIN_TYPE_INNER; } break; - case 461: /* join_type ::= INNER */ -{ yymsp[0].minor.yy630 = JOIN_TYPE_INNER; } + case 466: /* join_type ::= INNER */ +{ yymsp[0].minor.yy332 = JOIN_TYPE_INNER; } break; - case 462: /* 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 467: /* 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.yy74 = createSelectStmt(pCxt, yymsp[-10].minor.yy335, yymsp[-9].minor.yy874, yymsp[-8].minor.yy74); - yymsp[-11].minor.yy74 = addWhereClause(pCxt, yymsp[-11].minor.yy74, yymsp[-7].minor.yy74); - yymsp[-11].minor.yy74 = addPartitionByClause(pCxt, yymsp[-11].minor.yy74, yymsp[-6].minor.yy874); - yymsp[-11].minor.yy74 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy74, yymsp[-2].minor.yy74); - yymsp[-11].minor.yy74 = addGroupByClause(pCxt, yymsp[-11].minor.yy74, yymsp[-1].minor.yy874); - yymsp[-11].minor.yy74 = addHavingClause(pCxt, yymsp[-11].minor.yy74, yymsp[0].minor.yy74); - yymsp[-11].minor.yy74 = addRangeClause(pCxt, yymsp[-11].minor.yy74, yymsp[-5].minor.yy74); - yymsp[-11].minor.yy74 = addEveryClause(pCxt, yymsp[-11].minor.yy74, yymsp[-4].minor.yy74); - yymsp[-11].minor.yy74 = addFillClause(pCxt, yymsp[-11].minor.yy74, yymsp[-3].minor.yy74); + yymsp[-11].minor.yy752 = createSelectStmt(pCxt, yymsp[-10].minor.yy57, yymsp[-9].minor.yy424, yymsp[-8].minor.yy752); + yymsp[-11].minor.yy752 = addWhereClause(pCxt, yymsp[-11].minor.yy752, yymsp[-7].minor.yy752); + yymsp[-11].minor.yy752 = addPartitionByClause(pCxt, yymsp[-11].minor.yy752, yymsp[-6].minor.yy424); + yymsp[-11].minor.yy752 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy752, yymsp[-2].minor.yy752); + yymsp[-11].minor.yy752 = addGroupByClause(pCxt, yymsp[-11].minor.yy752, yymsp[-1].minor.yy424); + yymsp[-11].minor.yy752 = addHavingClause(pCxt, yymsp[-11].minor.yy752, yymsp[0].minor.yy752); + yymsp[-11].minor.yy752 = addRangeClause(pCxt, yymsp[-11].minor.yy752, yymsp[-5].minor.yy752); + yymsp[-11].minor.yy752 = addEveryClause(pCxt, yymsp[-11].minor.yy752, yymsp[-4].minor.yy752); + yymsp[-11].minor.yy752 = addFillClause(pCxt, yymsp[-11].minor.yy752, yymsp[-3].minor.yy752); } break; - case 465: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy335 = false; } + case 470: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy57 = false; } break; - case 468: /* select_item ::= NK_STAR */ -{ yylhsminor.yy74 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy74 = yylhsminor.yy74; + case 473: /* select_item ::= NK_STAR */ +{ yylhsminor.yy752 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy752 = yylhsminor.yy752; break; - case 470: /* select_item ::= common_expression column_alias */ - case 480: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==480); -{ yylhsminor.yy74 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy74), &yymsp[0].minor.yy317); } - yymsp[-1].minor.yy74 = yylhsminor.yy74; + case 475: /* select_item ::= common_expression column_alias */ + case 485: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==485); +{ yylhsminor.yy752 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy752), &yymsp[0].minor.yy849); } + yymsp[-1].minor.yy752 = yylhsminor.yy752; break; - case 471: /* select_item ::= common_expression AS column_alias */ - case 481: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==481); -{ yylhsminor.yy74 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), &yymsp[0].minor.yy317); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 476: /* select_item ::= common_expression AS column_alias */ + case 486: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==486); +{ yylhsminor.yy752 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), &yymsp[0].minor.yy849); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 476: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 499: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==499); - case 518: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==518); -{ yymsp[-2].minor.yy874 = yymsp[0].minor.yy874; } + case 481: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 504: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==504); + case 523: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==523); +{ yymsp[-2].minor.yy424 = yymsp[0].minor.yy424; } break; - case 483: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ -{ yymsp[-5].minor.yy74 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy74), releaseRawExprNode(pCxt, yymsp[-1].minor.yy74)); } + case 488: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ +{ yymsp[-5].minor.yy752 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy752), releaseRawExprNode(pCxt, yymsp[-1].minor.yy752)); } break; - case 484: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy74 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy74)); } + case 489: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy752 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy752)); } break; - case 485: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy74 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy74), NULL, yymsp[-1].minor.yy74, yymsp[0].minor.yy74); } + case 490: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-5].minor.yy752 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy752), NULL, yymsp[-1].minor.yy752, yymsp[0].minor.yy752); } break; - case 486: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy74 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy74), releaseRawExprNode(pCxt, yymsp[-3].minor.yy74), yymsp[-1].minor.yy74, yymsp[0].minor.yy74); } + case 491: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-7].minor.yy752 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy752), releaseRawExprNode(pCxt, yymsp[-3].minor.yy752), yymsp[-1].minor.yy752, yymsp[0].minor.yy752); } break; - case 487: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ -{ yymsp[-6].minor.yy74 = createEventWindowNode(pCxt, yymsp[-3].minor.yy74, yymsp[0].minor.yy74); } + case 492: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ +{ yymsp[-6].minor.yy752 = createEventWindowNode(pCxt, yymsp[-3].minor.yy752, yymsp[0].minor.yy752); } break; - case 491: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy74 = createFillNode(pCxt, yymsp[-1].minor.yy828, NULL); } + case 496: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy752 = createFillNode(pCxt, yymsp[-1].minor.yy214, NULL); } break; - case 492: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ -{ yymsp[-5].minor.yy74 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy874)); } + case 497: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ +{ yymsp[-5].minor.yy752 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy424)); } break; - case 493: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy828 = FILL_MODE_NONE; } + case 498: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy214 = FILL_MODE_NONE; } break; - case 494: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy828 = FILL_MODE_PREV; } + case 499: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy214 = FILL_MODE_PREV; } break; - case 495: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy828 = FILL_MODE_NULL; } + case 500: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy214 = FILL_MODE_NULL; } break; - case 496: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy828 = FILL_MODE_LINEAR; } + case 501: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy214 = FILL_MODE_LINEAR; } break; - case 497: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy828 = FILL_MODE_NEXT; } + case 502: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy214 = FILL_MODE_NEXT; } break; - case 500: /* group_by_list ::= expr_or_subquery */ -{ yylhsminor.yy874 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); } - yymsp[0].minor.yy874 = yylhsminor.yy874; + case 505: /* group_by_list ::= expr_or_subquery */ +{ yylhsminor.yy424 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } + yymsp[0].minor.yy424 = yylhsminor.yy424; break; - case 501: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ -{ yylhsminor.yy874 = addNodeToList(pCxt, yymsp[-2].minor.yy874, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy74))); } - yymsp[-2].minor.yy874 = yylhsminor.yy874; + case 506: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ +{ yylhsminor.yy424 = addNodeToList(pCxt, yymsp[-2].minor.yy424, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy752))); } + yymsp[-2].minor.yy424 = yylhsminor.yy424; break; - case 505: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ -{ yymsp[-5].minor.yy74 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy74), releaseRawExprNode(pCxt, yymsp[-1].minor.yy74)); } + case 510: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ +{ yymsp[-5].minor.yy752 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy752), releaseRawExprNode(pCxt, yymsp[-1].minor.yy752)); } break; - case 508: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 513: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy74 = addOrderByClause(pCxt, yymsp[-3].minor.yy74, yymsp[-2].minor.yy874); - yylhsminor.yy74 = addSlimitClause(pCxt, yylhsminor.yy74, yymsp[-1].minor.yy74); - yylhsminor.yy74 = addLimitClause(pCxt, yylhsminor.yy74, yymsp[0].minor.yy74); + yylhsminor.yy752 = addOrderByClause(pCxt, yymsp[-3].minor.yy752, yymsp[-2].minor.yy424); + yylhsminor.yy752 = addSlimitClause(pCxt, yylhsminor.yy752, yymsp[-1].minor.yy752); + yylhsminor.yy752 = addLimitClause(pCxt, yylhsminor.yy752, yymsp[0].minor.yy752); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; - case 511: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ -{ yylhsminor.yy74 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy74, yymsp[0].minor.yy74); } - yymsp[-3].minor.yy74 = yylhsminor.yy74; + case 516: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ +{ yylhsminor.yy752 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy752, yymsp[0].minor.yy752); } + yymsp[-3].minor.yy752 = yylhsminor.yy752; break; - case 512: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ -{ yylhsminor.yy74 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy74, yymsp[0].minor.yy74); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 517: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ +{ yylhsminor.yy752 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy752, yymsp[0].minor.yy752); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 520: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 524: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==524); -{ yymsp[-1].minor.yy74 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + case 525: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 529: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==529); +{ yymsp[-1].minor.yy752 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 521: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 525: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==525); -{ yymsp[-3].minor.yy74 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + case 526: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 530: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==530); +{ yymsp[-3].minor.yy752 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 522: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 526: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==526); -{ yymsp[-3].minor.yy74 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + case 527: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 531: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==531); +{ yymsp[-3].minor.yy752 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 527: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy74 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy74); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 532: /* subquery ::= NK_LP query_expression NK_RP */ +{ yylhsminor.yy752 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy752); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 532: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy74 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy74), yymsp[-1].minor.yy326, yymsp[0].minor.yy109); } - yymsp[-2].minor.yy74 = yylhsminor.yy74; + case 537: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ +{ yylhsminor.yy752 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy752), yymsp[-1].minor.yy538, yymsp[0].minor.yy777); } + yymsp[-2].minor.yy752 = yylhsminor.yy752; break; - case 533: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy326 = ORDER_ASC; } + case 538: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy538 = ORDER_ASC; } break; - case 534: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy326 = ORDER_ASC; } + case 539: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy538 = ORDER_ASC; } break; - case 535: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy326 = ORDER_DESC; } + case 540: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy538 = ORDER_DESC; } break; - case 536: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy109 = NULL_ORDER_DEFAULT; } + case 541: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy777 = NULL_ORDER_DEFAULT; } break; - case 537: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy109 = NULL_ORDER_FIRST; } + case 542: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy777 = NULL_ORDER_FIRST; } break; - case 538: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy109 = NULL_ORDER_LAST; } + case 543: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy777 = NULL_ORDER_LAST; } break; default: break; -- GitLab