diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index c6a67b93e0..6c3f589159 100755 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -447,6 +447,7 @@ cmd ::= SHOW MNODES. cmd ::= SHOW QNODES. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QNODES_STMT); } cmd ::= SHOW FUNCTIONS. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } cmd ::= SHOW INDEXES FROM table_name_cond(A) from_db_opt(B). { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, B, A, OP_TYPE_EQUAL); } +cmd ::= SHOW INDEXES FROM db_name(B) NK_DOT table_name(A). { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &B), createIdentifierValueNode(pCxt, &A), OP_TYPE_EQUAL); } cmd ::= SHOW STREAMS. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } cmd ::= SHOW ACCOUNTS. { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } cmd ::= SHOW APPS. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_APPS_STMT); } @@ -471,7 +472,9 @@ cmd ::= SHOW TABLE DISTRIBUTED full_table_name(A). cmd ::= SHOW CONSUMERS. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } cmd ::= SHOW SUBSCRIPTIONS. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } cmd ::= SHOW TAGS FROM table_name_cond(A) from_db_opt(B). { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, B, A, OP_TYPE_EQUAL); } +cmd ::= SHOW TAGS FROM db_name(B) NK_DOT table_name(A). { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &B), createIdentifierValueNode(pCxt, &A), OP_TYPE_EQUAL); } cmd ::= SHOW TABLE TAGS tag_list_opt(C) FROM table_name_cond(A) from_db_opt(B). { pCxt->pRootNode = createShowTableTagsStmt(pCxt, A, B, C); } +cmd ::= SHOW TABLE TAGS tag_list_opt(C) FROM db_name(B) NK_DOT table_name(A). { pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &A), createIdentifierValueNode(pCxt, &B), C); } cmd ::= SHOW VNODES NK_INTEGER(A). { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &A), NULL); } cmd ::= SHOW VNODES NK_STRING(A). { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, createValueNode(pCxt, TSDB_DATA_TYPE_VARCHAR, &A)); } // show alive @@ -485,7 +488,6 @@ like_pattern_opt(A) ::= . like_pattern_opt(A) ::= LIKE NK_STRING(B). { A = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &B); } table_name_cond(A) ::= table_name(B). { A = createIdentifierValueNode(pCxt, &B); } -table_name_cond(A) ::= db_name(B) NK_DOT table_name(C). { A = createRealTableNode(pCxt, &B, &C, NULL); } from_db_opt(A) ::= . { A = createDefaultDatabaseCondValue(pCxt); } from_db_opt(A) ::= FROM db_name(B). { A = createIdentifierValueNode(pCxt, &B); } diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index 55aec681e1..a912fb4e71 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -140,18 +140,18 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 793 -#define YYNRULE 598 -#define YYNRULE_WITH_ACTION 598 +#define YYNSTATE 800 +#define YYNRULE 600 +#define YYNRULE_WITH_ACTION 600 #define YYNTOKEN 338 -#define YY_MAX_SHIFT 792 -#define YY_MIN_SHIFTREDUCE 1174 -#define YY_MAX_SHIFTREDUCE 1771 -#define YY_ERROR_ACTION 1772 -#define YY_ACCEPT_ACTION 1773 -#define YY_NO_ACTION 1774 -#define YY_MIN_REDUCE 1775 -#define YY_MAX_REDUCE 2372 +#define YY_MAX_SHIFT 799 +#define YY_MIN_SHIFTREDUCE 1180 +#define YY_MAX_SHIFTREDUCE 1779 +#define YY_ERROR_ACTION 1780 +#define YY_ACCEPT_ACTION 1781 +#define YY_NO_ACTION 1782 +#define YY_MIN_REDUCE 1783 +#define YY_MAX_REDUCE 2382 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -220,292 +220,292 @@ typedef union { *********** Begin parsing tables **********************************************/ #define YY_ACTTAB_COUNT (2858) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 2116, 2183, 2161, 2072, 219, 683, 1952, 2144, 530, 1941, - /* 10 */ 1818, 663, 48, 46, 1698, 392, 2169, 1207, 2069, 670, - /* 20 */ 399, 2348, 1547, 41, 40, 135, 2165, 47, 45, 44, - /* 30 */ 43, 42, 567, 1628, 451, 1545, 2161, 532, 1574, 2201, - /* 40 */ 41, 40, 1773, 529, 47, 45, 44, 43, 42, 252, - /* 50 */ 1943, 2151, 1937, 699, 623, 524, 1209, 2343, 1212, 1213, - /* 60 */ 2165, 181, 1623, 522, 2167, 396, 518, 514, 19, 1232, - /* 70 */ 66, 1231, 2349, 188, 693, 1553, 30, 2344, 649, 346, - /* 80 */ 682, 367, 2055, 359, 140, 683, 1952, 2182, 1572, 2218, - /* 90 */ 660, 144, 112, 2184, 703, 2186, 2187, 698, 2167, 693, - /* 100 */ 789, 168, 1233, 15, 185, 135, 2271, 103, 693, 1893, - /* 110 */ 395, 2267, 572, 490, 2072, 414, 48, 46, 683, 1952, - /* 120 */ 413, 682, 1761, 190, 399, 262, 1547, 1657, 1365, 2070, - /* 130 */ 670, 2297, 1945, 1572, 38, 304, 1738, 1628, 193, 1545, - /* 140 */ 1630, 1631, 1798, 1356, 728, 727, 726, 1360, 725, 1362, - /* 150 */ 1363, 724, 721, 1797, 1371, 718, 1373, 1374, 715, 712, - /* 160 */ 709, 184, 623, 51, 648, 2343, 1623, 2343, 94, 62, - /* 170 */ 1603, 1613, 19, 1992, 210, 209, 1629, 1632, 668, 1553, - /* 180 */ 2349, 188, 647, 188, 1658, 2344, 649, 2344, 649, 2286, - /* 190 */ 286, 1548, 2151, 1546, 284, 2279, 659, 489, 136, 658, - /* 200 */ 169, 2343, 1787, 2151, 789, 41, 40, 15, 2183, 47, - /* 210 */ 45, 44, 43, 42, 62, 2283, 647, 188, 700, 1309, - /* 220 */ 433, 2344, 649, 1551, 1552, 1775, 1602, 1605, 1606, 1607, - /* 230 */ 1608, 1609, 1610, 1611, 1612, 695, 691, 1621, 1622, 1624, - /* 240 */ 1625, 1626, 1627, 2, 1630, 1631, 2201, 435, 431, 134, - /* 250 */ 133, 132, 131, 130, 129, 128, 127, 126, 2151, 1311, - /* 260 */ 699, 1776, 37, 397, 1652, 1653, 1654, 1655, 1656, 1660, - /* 270 */ 1661, 1662, 1663, 527, 1603, 1613, 528, 1811, 544, 1572, - /* 280 */ 1629, 1632, 125, 1456, 1457, 124, 123, 122, 121, 120, - /* 290 */ 119, 118, 117, 116, 2182, 1548, 2218, 1546, 638, 112, - /* 300 */ 2184, 703, 2186, 2187, 698, 643, 693, 2035, 393, 147, - /* 310 */ 1572, 151, 2242, 2271, 1573, 2183, 166, 395, 2267, 1232, - /* 320 */ 191, 1231, 660, 144, 1954, 663, 191, 1551, 1552, 1695, - /* 330 */ 1602, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 695, - /* 340 */ 691, 1621, 1622, 1624, 1625, 1626, 1627, 2, 12, 48, - /* 350 */ 46, 738, 1233, 2201, 2005, 408, 407, 399, 2172, 1547, - /* 360 */ 2348, 365, 62, 2343, 181, 2151, 1574, 699, 608, 2003, - /* 370 */ 1628, 191, 1545, 585, 584, 583, 683, 1952, 1554, 2347, - /* 380 */ 575, 141, 579, 2344, 2346, 2056, 578, 642, 644, 639, - /* 390 */ 632, 577, 582, 375, 374, 146, 56, 576, 2242, 1623, - /* 400 */ 250, 2182, 622, 2218, 249, 19, 112, 2184, 703, 2186, - /* 410 */ 2187, 698, 1553, 693, 2174, 2201, 295, 296, 185, 535, - /* 420 */ 2271, 294, 528, 1811, 395, 2267, 187, 2279, 2280, 2183, - /* 430 */ 142, 2284, 1215, 648, 1400, 1401, 2343, 789, 1571, 700, - /* 440 */ 15, 1820, 41, 40, 1266, 2298, 47, 45, 44, 43, - /* 450 */ 42, 647, 188, 48, 46, 1633, 2344, 649, 221, 2183, - /* 460 */ 1604, 399, 530, 1547, 1818, 93, 469, 2201, 354, 700, - /* 470 */ 641, 379, 166, 601, 1628, 468, 1545, 1630, 1631, 2151, - /* 480 */ 1955, 699, 2348, 125, 1267, 2343, 124, 123, 122, 121, - /* 490 */ 120, 119, 118, 117, 116, 2005, 62, 2201, 1796, 660, - /* 500 */ 144, 2347, 380, 1623, 12, 2344, 2345, 1603, 1613, 2151, - /* 510 */ 2003, 699, 109, 1629, 1632, 2182, 1553, 2218, 286, 191, - /* 520 */ 112, 2184, 703, 2186, 2187, 698, 60, 693, 1548, 145, - /* 530 */ 1546, 571, 2363, 620, 2271, 570, 1557, 1944, 395, 2267, - /* 540 */ 1702, 789, 683, 1952, 49, 2182, 1572, 2218, 2151, 2183, - /* 550 */ 170, 2184, 703, 2186, 2187, 698, 12, 693, 10, 700, - /* 560 */ 1551, 1552, 449, 1602, 1605, 1606, 1607, 1608, 1609, 1610, - /* 570 */ 1611, 1612, 695, 691, 1621, 1622, 1624, 1625, 1626, 1627, - /* 580 */ 2, 1630, 1631, 443, 1320, 442, 1694, 2201, 41, 40, - /* 590 */ 624, 2308, 47, 45, 44, 43, 42, 1319, 2286, 2151, - /* 600 */ 1575, 699, 662, 186, 2279, 2280, 165, 142, 2284, 1553, - /* 610 */ 1795, 1603, 1613, 683, 1952, 441, 404, 1629, 1632, 1998, - /* 620 */ 2000, 41, 40, 402, 2282, 47, 45, 44, 43, 42, - /* 630 */ 2286, 163, 1548, 450, 1546, 2182, 669, 2218, 381, 1954, - /* 640 */ 112, 2184, 703, 2186, 2187, 698, 2003, 693, 251, 682, - /* 650 */ 445, 2183, 2246, 191, 2271, 444, 2281, 2145, 395, 2267, - /* 660 */ 2151, 700, 499, 2305, 1551, 1552, 154, 1602, 1605, 1606, - /* 670 */ 1607, 1608, 1609, 1610, 1611, 1612, 695, 691, 1621, 1622, - /* 680 */ 1624, 1625, 1626, 1627, 2, 48, 46, 1929, 542, 2201, - /* 690 */ 2065, 483, 2050, 399, 748, 1547, 1604, 623, 660, 144, - /* 700 */ 2343, 2151, 2005, 699, 623, 1928, 1628, 2343, 1545, 389, - /* 710 */ 47, 45, 44, 43, 42, 2349, 188, 2003, 1518, 1519, - /* 720 */ 2344, 649, 2349, 188, 483, 2050, 55, 2344, 649, 14, - /* 730 */ 13, 1726, 51, 683, 1952, 1623, 1939, 2182, 201, 2218, - /* 740 */ 590, 669, 112, 2184, 703, 2186, 2187, 698, 1553, 693, - /* 750 */ 683, 1952, 264, 459, 2363, 600, 2271, 1854, 41, 40, - /* 760 */ 395, 2267, 47, 45, 44, 43, 42, 2183, 1794, 248, - /* 770 */ 474, 203, 738, 789, 683, 1952, 49, 697, 635, 634, - /* 780 */ 1724, 1725, 1727, 1728, 1729, 593, 483, 2050, 2347, 48, - /* 790 */ 46, 1927, 587, 667, 475, 2065, 1768, 399, 247, 1547, - /* 800 */ 402, 1573, 189, 2279, 2280, 2201, 142, 2284, 166, 685, - /* 810 */ 1628, 2243, 1545, 1630, 1631, 1838, 1954, 2151, 2151, 699, - /* 820 */ 736, 156, 155, 733, 732, 731, 153, 585, 584, 583, - /* 830 */ 1999, 2000, 1671, 208, 575, 141, 579, 586, 70, 1623, - /* 840 */ 578, 69, 52, 1603, 1613, 577, 582, 375, 374, 1629, - /* 850 */ 1632, 576, 1553, 2182, 1737, 2218, 1235, 1236, 340, 2184, - /* 860 */ 703, 2186, 2187, 698, 1548, 693, 1546, 2237, 41, 40, - /* 870 */ 1793, 1935, 47, 45, 44, 43, 42, 789, 563, 562, - /* 880 */ 15, 2183, 736, 156, 155, 733, 732, 731, 153, 1792, - /* 890 */ 606, 700, 205, 2318, 1791, 1956, 1551, 1552, 1767, 1602, - /* 900 */ 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 695, 691, - /* 910 */ 1621, 1622, 1624, 1625, 1626, 1627, 2, 1630, 1631, 2201, - /* 920 */ 2151, 1473, 1474, 599, 736, 156, 155, 733, 732, 731, - /* 930 */ 153, 2151, 86, 699, 2005, 85, 597, 623, 595, 2151, - /* 940 */ 2343, 394, 683, 1952, 2151, 683, 1952, 1603, 1613, 2003, - /* 950 */ 729, 683, 1952, 1629, 1632, 2349, 188, 1472, 1475, 257, - /* 960 */ 2344, 649, 543, 730, 1714, 1949, 1996, 2182, 1548, 2218, - /* 970 */ 1546, 253, 112, 2184, 703, 2186, 2187, 698, 9, 693, - /* 980 */ 581, 580, 34, 2137, 2363, 1324, 2271, 669, 41, 40, - /* 990 */ 395, 2267, 47, 45, 44, 43, 42, 1790, 1323, 191, - /* 1000 */ 1551, 1552, 1851, 1602, 1605, 1606, 1607, 1608, 1609, 1610, - /* 1010 */ 1611, 1612, 695, 691, 1621, 1622, 1624, 1625, 1626, 1627, - /* 1020 */ 2, 1638, 350, 167, 1570, 683, 1952, 1572, 325, 683, - /* 1030 */ 1952, 482, 421, 90, 497, 565, 564, 496, 2161, 678, - /* 1040 */ 405, 2065, 322, 73, 2134, 261, 72, 2151, 166, 666, - /* 1050 */ 369, 2005, 2170, 465, 664, 498, 1954, 347, 403, 1947, - /* 1060 */ 467, 694, 2165, 501, 1789, 651, 2003, 1786, 217, 509, - /* 1070 */ 507, 504, 766, 765, 764, 763, 411, 1930, 762, 761, - /* 1080 */ 148, 756, 755, 754, 753, 752, 751, 750, 158, 746, - /* 1090 */ 745, 744, 410, 409, 741, 740, 739, 176, 175, 1575, - /* 1100 */ 2167, 623, 683, 1952, 2343, 1575, 368, 235, 62, 372, - /* 1110 */ 693, 44, 43, 42, 2151, 683, 1952, 2151, 455, 2349, - /* 1120 */ 188, 149, 299, 173, 2344, 649, 683, 1952, 260, 683, - /* 1130 */ 1952, 561, 557, 553, 549, 680, 234, 1785, 655, 687, - /* 1140 */ 1659, 2243, 760, 758, 1784, 1783, 681, 111, 494, 305, - /* 1150 */ 1782, 488, 487, 486, 485, 481, 480, 479, 478, 477, - /* 1160 */ 473, 472, 471, 470, 349, 462, 461, 460, 652, 457, - /* 1170 */ 456, 366, 683, 1952, 2291, 1691, 91, 1604, 373, 232, - /* 1180 */ 371, 370, 1829, 569, 90, 1781, 1780, 2151, 81, 80, - /* 1190 */ 448, 2183, 406, 200, 2151, 2151, 1779, 2005, 1691, 734, - /* 1200 */ 2151, 700, 1996, 630, 588, 571, 440, 438, 1778, 570, - /* 1210 */ 1948, 735, 2004, 318, 1996, 1894, 1982, 348, 35, 54, - /* 1220 */ 429, 3, 2183, 427, 423, 419, 416, 441, 1664, 2201, - /* 1230 */ 749, 452, 700, 1914, 2336, 2151, 2151, 1212, 1213, 154, - /* 1240 */ 83, 2151, 137, 699, 453, 74, 2151, 231, 225, 573, - /* 1250 */ 240, 202, 2183, 238, 230, 540, 242, 263, 2151, 241, - /* 1260 */ 2201, 428, 700, 244, 2290, 191, 243, 246, 154, 574, - /* 1270 */ 245, 1307, 2151, 223, 699, 1827, 50, 2182, 603, 2218, - /* 1280 */ 602, 50, 112, 2184, 703, 2186, 2187, 698, 690, 693, - /* 1290 */ 2201, 1305, 1770, 1771, 2363, 84, 2271, 591, 1788, 1513, - /* 1300 */ 395, 2267, 2151, 636, 699, 1556, 268, 154, 2182, 108, - /* 1310 */ 2218, 2311, 281, 112, 2184, 703, 2186, 2187, 698, 105, - /* 1320 */ 693, 50, 292, 1555, 1547, 2363, 71, 2271, 1516, 152, - /* 1330 */ 154, 395, 2267, 14, 13, 64, 1723, 1545, 2182, 50, - /* 1340 */ 2218, 1722, 2183, 112, 2184, 703, 2186, 2187, 698, 50, - /* 1350 */ 693, 1821, 700, 408, 407, 2363, 275, 2271, 36, 707, - /* 1360 */ 139, 395, 2267, 1561, 41, 40, 270, 665, 47, 45, - /* 1370 */ 44, 43, 42, 2183, 1628, 1892, 1554, 1553, 656, 152, - /* 1380 */ 2201, 1470, 297, 700, 154, 742, 675, 1891, 2202, 301, - /* 1390 */ 1350, 743, 2151, 138, 699, 1665, 382, 152, 2060, 1614, - /* 1400 */ 412, 784, 789, 1623, 1812, 1817, 653, 1285, 1993, 317, - /* 1410 */ 2183, 2201, 2301, 1283, 661, 283, 1553, 280, 420, 1378, - /* 1420 */ 700, 1, 415, 2151, 5, 699, 363, 1578, 2182, 436, - /* 1430 */ 2218, 1494, 196, 112, 2184, 703, 2186, 2187, 698, 1382, - /* 1440 */ 693, 689, 437, 1649, 1389, 2244, 439, 2271, 2201, 195, - /* 1450 */ 198, 395, 2267, 1387, 312, 207, 454, 157, 1575, 2182, - /* 1460 */ 2151, 2218, 699, 1559, 112, 2184, 703, 2186, 2187, 698, - /* 1470 */ 492, 693, 1570, 458, 463, 476, 686, 2061, 2271, 1571, - /* 1480 */ 2051, 1558, 395, 2267, 2053, 484, 491, 502, 493, 503, - /* 1490 */ 500, 212, 211, 1548, 505, 1546, 2182, 506, 2218, 2183, - /* 1500 */ 214, 113, 2184, 703, 2186, 2187, 698, 508, 693, 700, - /* 1510 */ 1576, 510, 525, 4, 526, 2271, 533, 534, 222, 2270, - /* 1520 */ 2267, 536, 1573, 224, 1577, 1551, 1552, 538, 537, 1579, - /* 1530 */ 539, 227, 1562, 541, 1557, 229, 545, 2201, 88, 89, - /* 1540 */ 566, 114, 233, 353, 568, 1942, 2125, 237, 2183, 2151, - /* 1550 */ 1938, 699, 605, 239, 2122, 150, 92, 159, 700, 313, - /* 1560 */ 254, 611, 607, 160, 1565, 1567, 1940, 1936, 161, 162, - /* 1570 */ 610, 612, 256, 258, 2183, 1501, 2121, 691, 1621, 1622, - /* 1580 */ 1624, 1625, 1626, 1627, 697, 2182, 2201, 2218, 618, 615, - /* 1590 */ 113, 2184, 703, 2186, 2187, 698, 627, 693, 2151, 637, - /* 1600 */ 699, 673, 2302, 2312, 2271, 266, 617, 2317, 688, 2267, - /* 1610 */ 633, 616, 2201, 2316, 269, 8, 385, 640, 2293, 646, - /* 1620 */ 625, 282, 628, 274, 2151, 2183, 699, 657, 626, 654, - /* 1630 */ 279, 386, 1691, 2366, 701, 700, 2218, 1574, 2183, 113, - /* 1640 */ 2184, 703, 2186, 2187, 698, 143, 693, 287, 700, 98, - /* 1650 */ 178, 1580, 2287, 2271, 2066, 314, 671, 358, 2267, 672, - /* 1660 */ 2182, 315, 2218, 2201, 2080, 340, 2184, 703, 2186, 2187, - /* 1670 */ 698, 696, 693, 684, 2236, 2151, 2201, 699, 174, 276, - /* 1680 */ 277, 278, 676, 677, 2342, 100, 316, 2183, 2151, 61, - /* 1690 */ 699, 2079, 2252, 102, 2078, 391, 104, 700, 1953, 705, - /* 1700 */ 1997, 785, 319, 1915, 2183, 786, 355, 323, 788, 343, - /* 1710 */ 328, 2182, 308, 2218, 700, 356, 171, 2184, 703, 2186, - /* 1720 */ 2187, 698, 53, 693, 2182, 2201, 2218, 342, 321, 113, - /* 1730 */ 2184, 703, 2186, 2187, 698, 332, 693, 2151, 2143, 699, - /* 1740 */ 2142, 2141, 2201, 2271, 78, 2138, 417, 383, 2268, 418, - /* 1750 */ 1538, 1539, 194, 2183, 2151, 422, 699, 2136, 424, 425, - /* 1760 */ 426, 2135, 364, 700, 2133, 430, 2132, 650, 2364, 432, - /* 1770 */ 2131, 434, 1529, 2182, 2112, 2218, 197, 2183, 170, 2184, - /* 1780 */ 703, 2186, 2187, 698, 2111, 693, 199, 700, 79, 1497, - /* 1790 */ 2182, 2201, 2218, 1496, 2093, 341, 2184, 703, 2186, 2187, - /* 1800 */ 698, 2092, 693, 2151, 2183, 699, 2091, 446, 447, 2090, - /* 1810 */ 2089, 2043, 1446, 2042, 700, 2201, 2040, 82, 2039, 2309, - /* 1820 */ 384, 2038, 2041, 2037, 2183, 2036, 2034, 2151, 2033, 699, - /* 1830 */ 2032, 204, 464, 2031, 700, 466, 2045, 2030, 2029, 2182, - /* 1840 */ 206, 2218, 2201, 2028, 334, 2184, 703, 2186, 2187, 698, - /* 1850 */ 2027, 693, 2026, 2025, 2151, 2024, 699, 2023, 2022, 2021, - /* 1860 */ 2020, 2019, 2201, 2182, 2018, 2218, 2017, 390, 341, 2184, - /* 1870 */ 703, 2186, 2187, 698, 2151, 693, 699, 87, 2015, 2014, - /* 1880 */ 2013, 2044, 2012, 2011, 1448, 2010, 2009, 645, 2016, 2008, - /* 1890 */ 2182, 2183, 2218, 495, 2007, 171, 2184, 703, 2186, 2187, - /* 1900 */ 698, 700, 693, 2006, 351, 1857, 1321, 213, 1317, 1325, - /* 1910 */ 2182, 352, 2218, 1856, 1855, 341, 2184, 703, 2186, 2187, - /* 1920 */ 698, 2183, 693, 1853, 1850, 511, 1849, 215, 1842, 2201, - /* 1930 */ 216, 700, 513, 515, 398, 517, 519, 1831, 521, 523, - /* 1940 */ 512, 2151, 1807, 699, 516, 1214, 520, 2365, 218, 76, - /* 1950 */ 1806, 182, 220, 2110, 77, 2171, 183, 2100, 531, 2201, - /* 1960 */ 2088, 226, 228, 2087, 400, 2064, 1931, 1852, 1848, 1259, - /* 1970 */ 546, 2151, 548, 699, 547, 1846, 550, 2182, 551, 2218, - /* 1980 */ 2183, 1844, 341, 2184, 703, 2186, 2187, 698, 609, 693, - /* 1990 */ 700, 552, 555, 554, 556, 1841, 558, 559, 560, 1826, - /* 2000 */ 1824, 1825, 1823, 1803, 1933, 1394, 792, 2182, 1393, 2218, - /* 2010 */ 1932, 1308, 341, 2184, 703, 2186, 2187, 698, 2201, 693, - /* 2020 */ 311, 757, 759, 1306, 1839, 1304, 1303, 236, 63, 1302, - /* 2030 */ 2151, 1301, 699, 1300, 1295, 376, 180, 1830, 377, 1828, - /* 2040 */ 1297, 1296, 378, 1294, 782, 778, 774, 770, 589, 309, - /* 2050 */ 592, 1802, 594, 2183, 596, 1800, 598, 1523, 115, 29, - /* 2060 */ 1525, 1522, 2109, 700, 1801, 67, 604, 1507, 2218, 1505, - /* 2070 */ 1503, 336, 2184, 703, 2186, 2187, 698, 1527, 693, 2099, - /* 2080 */ 613, 2086, 2085, 2348, 2183, 20, 164, 31, 17, 110, - /* 2090 */ 57, 2201, 302, 614, 700, 273, 1740, 619, 621, 65, - /* 2100 */ 6, 259, 1482, 2151, 1481, 699, 23, 7, 2172, 21, - /* 2110 */ 631, 22, 265, 272, 33, 629, 24, 59, 18, 2183, - /* 2120 */ 1755, 172, 2201, 1754, 271, 679, 387, 267, 1759, 700, - /* 2130 */ 1758, 1721, 32, 95, 2151, 1713, 699, 1760, 388, 2182, - /* 2140 */ 1761, 2218, 2084, 2063, 326, 2184, 703, 2186, 2187, 698, - /* 2150 */ 1688, 693, 285, 1687, 177, 97, 2183, 2201, 290, 96, - /* 2160 */ 289, 291, 2062, 25, 99, 303, 700, 288, 674, 2151, - /* 2170 */ 2182, 699, 2218, 26, 293, 324, 2184, 703, 2186, 2187, - /* 2180 */ 698, 2183, 693, 11, 179, 1640, 255, 1719, 105, 298, - /* 2190 */ 68, 700, 58, 101, 2201, 1639, 13, 1563, 192, 1595, - /* 2200 */ 2221, 300, 1650, 1618, 692, 2182, 2151, 2218, 699, 39, - /* 2210 */ 327, 2184, 703, 2186, 2187, 698, 1616, 693, 2183, 2201, - /* 2220 */ 706, 1615, 16, 27, 704, 1587, 1379, 28, 700, 708, - /* 2230 */ 711, 2151, 401, 699, 1376, 710, 1375, 713, 714, 716, - /* 2240 */ 1372, 717, 2182, 2183, 2218, 1366, 719, 333, 2184, 703, - /* 2250 */ 2186, 2187, 698, 700, 693, 720, 2201, 702, 1364, 722, - /* 2260 */ 723, 106, 306, 107, 1370, 1369, 1388, 2182, 2151, 2218, - /* 2270 */ 699, 1368, 337, 2184, 703, 2186, 2187, 698, 1367, 693, - /* 2280 */ 1384, 2201, 75, 1257, 737, 1289, 1288, 1287, 1286, 1284, - /* 2290 */ 1282, 1281, 1280, 2151, 1315, 699, 747, 1278, 1277, 1276, - /* 2300 */ 1275, 1274, 1273, 307, 2182, 1272, 2218, 1312, 1310, 329, - /* 2310 */ 2184, 703, 2186, 2187, 698, 2183, 693, 1269, 1268, 1265, - /* 2320 */ 1264, 1263, 1262, 1847, 767, 700, 768, 769, 1845, 2182, - /* 2330 */ 2183, 2218, 771, 773, 338, 2184, 703, 2186, 2187, 698, - /* 2340 */ 700, 693, 772, 1843, 775, 776, 777, 1840, 2183, 779, - /* 2350 */ 780, 781, 1822, 2201, 783, 1204, 1799, 310, 700, 787, - /* 2360 */ 1774, 1549, 320, 790, 791, 2151, 1774, 699, 2201, 1774, - /* 2370 */ 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2380 */ 2151, 1774, 699, 1774, 1774, 1774, 2201, 1774, 1774, 1774, - /* 2390 */ 1774, 1774, 1774, 1774, 1774, 2183, 1774, 1774, 2151, 1774, - /* 2400 */ 699, 2182, 1774, 2218, 1774, 700, 330, 2184, 703, 2186, - /* 2410 */ 2187, 698, 1774, 693, 1774, 1774, 2182, 2183, 2218, 1774, - /* 2420 */ 1774, 339, 2184, 703, 2186, 2187, 698, 700, 693, 1774, - /* 2430 */ 1774, 1774, 1774, 2201, 2182, 1774, 2218, 1774, 1774, 331, - /* 2440 */ 2184, 703, 2186, 2187, 698, 2151, 693, 699, 1774, 1774, - /* 2450 */ 1774, 1774, 1774, 1774, 1774, 2201, 1774, 1774, 1774, 1774, - /* 2460 */ 1774, 1774, 1774, 1774, 2183, 1774, 1774, 2151, 1774, 699, - /* 2470 */ 1774, 1774, 1774, 1774, 700, 1774, 1774, 1774, 1774, 1774, - /* 2480 */ 1774, 2182, 1774, 2218, 1774, 1774, 344, 2184, 703, 2186, - /* 2490 */ 2187, 698, 1774, 693, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2500 */ 1774, 1774, 2201, 2182, 1774, 2218, 1774, 1774, 345, 2184, - /* 2510 */ 703, 2186, 2187, 698, 2151, 693, 699, 1774, 1774, 1774, - /* 2520 */ 1774, 1774, 1774, 2183, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2530 */ 1774, 1774, 1774, 700, 1774, 1774, 2183, 1774, 1774, 1774, - /* 2540 */ 1774, 1774, 1774, 1774, 1774, 1774, 700, 1774, 1774, 1774, - /* 2550 */ 2182, 1774, 2218, 2183, 1774, 2195, 2184, 703, 2186, 2187, - /* 2560 */ 698, 2201, 693, 700, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2570 */ 1774, 1774, 1774, 2151, 2201, 699, 1774, 1774, 1774, 1774, - /* 2580 */ 1774, 1774, 1774, 1774, 1774, 2183, 2151, 1774, 699, 1774, - /* 2590 */ 1774, 2201, 1774, 1774, 1774, 700, 1774, 1774, 1774, 1774, - /* 2600 */ 1774, 1774, 1774, 2151, 1774, 699, 1774, 1774, 1774, 2182, - /* 2610 */ 1774, 2218, 1774, 1774, 2194, 2184, 703, 2186, 2187, 698, - /* 2620 */ 1774, 693, 2182, 2201, 2218, 1774, 1774, 2193, 2184, 703, - /* 2630 */ 2186, 2187, 698, 1774, 693, 2151, 1774, 699, 1774, 2182, - /* 2640 */ 1774, 2218, 1774, 1774, 360, 2184, 703, 2186, 2187, 698, - /* 2650 */ 1774, 693, 2183, 1774, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2660 */ 1774, 1774, 700, 1774, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2670 */ 1774, 2182, 2183, 2218, 1774, 1774, 361, 2184, 703, 2186, - /* 2680 */ 2187, 698, 700, 693, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2690 */ 2201, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2700 */ 1774, 1774, 2151, 1774, 699, 1774, 1774, 1774, 1774, 1774, - /* 2710 */ 2201, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2720 */ 1774, 1774, 2151, 1774, 699, 1774, 1774, 1774, 1774, 1774, - /* 2730 */ 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 2182, 1774, - /* 2740 */ 2218, 1774, 2183, 357, 2184, 703, 2186, 2187, 698, 1774, - /* 2750 */ 693, 1774, 700, 1774, 1774, 1774, 1774, 1774, 2182, 2183, - /* 2760 */ 2218, 1774, 1774, 362, 2184, 703, 2186, 2187, 698, 700, - /* 2770 */ 693, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2780 */ 2201, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2790 */ 1774, 1774, 2151, 1774, 699, 1774, 1774, 2201, 1774, 1774, - /* 2800 */ 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 2151, - /* 2810 */ 1774, 699, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, - /* 2820 */ 1774, 1774, 1774, 1774, 1774, 1774, 1774, 1774, 701, 1774, - /* 2830 */ 2218, 1774, 1774, 336, 2184, 703, 2186, 2187, 698, 1774, - /* 2840 */ 693, 1774, 1774, 1774, 1774, 2182, 1774, 2218, 1774, 1774, - /* 2850 */ 335, 2184, 703, 2186, 2187, 698, 1774, 693, + /* 0 */ 2126, 2193, 2171, 2082, 221, 690, 1960, 2154, 537, 1949, + /* 10 */ 1826, 670, 48, 46, 1706, 394, 2179, 1213, 2079, 677, + /* 20 */ 401, 2358, 1555, 41, 40, 135, 2175, 47, 45, 44, + /* 30 */ 43, 42, 574, 1636, 453, 1553, 2171, 539, 1582, 2211, + /* 40 */ 41, 40, 1781, 536, 47, 45, 44, 43, 42, 254, + /* 50 */ 1951, 2161, 1945, 706, 630, 531, 1215, 2353, 1218, 1219, + /* 60 */ 2175, 181, 1631, 529, 2177, 398, 525, 521, 19, 1238, + /* 70 */ 66, 1237, 2359, 188, 700, 1561, 30, 2354, 656, 348, + /* 80 */ 689, 369, 2065, 361, 140, 690, 1960, 2192, 1580, 2228, + /* 90 */ 667, 144, 112, 2194, 710, 2196, 2197, 705, 2177, 700, + /* 100 */ 796, 168, 1239, 15, 185, 135, 2281, 103, 700, 1901, + /* 110 */ 397, 2277, 579, 497, 2082, 416, 48, 46, 690, 1960, + /* 120 */ 415, 689, 1769, 190, 401, 264, 1555, 1665, 1371, 2080, + /* 130 */ 677, 2307, 1953, 1580, 38, 306, 1746, 1636, 193, 1553, + /* 140 */ 1638, 1639, 1806, 1362, 735, 734, 733, 1366, 732, 1368, + /* 150 */ 1369, 731, 728, 1805, 1377, 725, 1379, 1380, 722, 719, + /* 160 */ 716, 184, 630, 51, 655, 2353, 1631, 2353, 94, 62, + /* 170 */ 1611, 1621, 19, 2000, 212, 211, 1637, 1640, 675, 1561, + /* 180 */ 2359, 188, 654, 188, 1666, 2354, 656, 2354, 656, 2296, + /* 190 */ 288, 1556, 2161, 1554, 286, 2289, 666, 496, 136, 665, + /* 200 */ 169, 2353, 1795, 2161, 796, 41, 40, 15, 2193, 47, + /* 210 */ 45, 44, 43, 42, 62, 2293, 654, 188, 707, 1315, + /* 220 */ 435, 2354, 656, 1559, 1560, 1783, 1610, 1613, 1614, 1615, + /* 230 */ 1616, 1617, 1618, 1619, 1620, 702, 698, 1629, 1630, 1632, + /* 240 */ 1633, 1634, 1635, 2, 1638, 1639, 2211, 437, 433, 134, + /* 250 */ 133, 132, 131, 130, 129, 128, 127, 126, 2161, 1317, + /* 260 */ 706, 1784, 37, 399, 1660, 1661, 1662, 1663, 1664, 1668, + /* 270 */ 1669, 1670, 1671, 534, 1611, 1621, 535, 1819, 551, 1580, + /* 280 */ 1637, 1640, 125, 1464, 1465, 124, 123, 122, 121, 120, + /* 290 */ 119, 118, 117, 116, 2192, 1556, 2228, 1554, 645, 112, + /* 300 */ 2194, 710, 2196, 2197, 705, 650, 700, 2044, 395, 147, + /* 310 */ 1580, 151, 2252, 2281, 1581, 2193, 166, 397, 2277, 1238, + /* 320 */ 191, 1237, 667, 144, 1962, 670, 191, 1559, 1560, 1703, + /* 330 */ 1610, 1613, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 702, + /* 340 */ 698, 1629, 1630, 1632, 1633, 1634, 1635, 2, 12, 48, + /* 350 */ 46, 745, 1239, 2211, 2013, 410, 409, 401, 2182, 1555, + /* 360 */ 2358, 367, 62, 2353, 181, 2161, 1582, 706, 615, 2011, + /* 370 */ 1636, 191, 1553, 592, 591, 590, 690, 1960, 1562, 2357, + /* 380 */ 582, 141, 586, 2354, 2356, 2066, 585, 649, 651, 646, + /* 390 */ 639, 584, 589, 377, 376, 146, 56, 583, 2252, 1631, + /* 400 */ 252, 2192, 629, 2228, 251, 19, 112, 2194, 710, 2196, + /* 410 */ 2197, 705, 1561, 700, 2184, 2211, 297, 298, 185, 542, + /* 420 */ 2281, 296, 535, 1819, 397, 2277, 187, 2289, 2290, 2193, + /* 430 */ 142, 2294, 1221, 655, 1406, 1407, 2353, 796, 1579, 707, + /* 440 */ 15, 1828, 41, 40, 1272, 2308, 47, 45, 44, 43, + /* 450 */ 42, 654, 188, 48, 46, 1641, 2354, 656, 223, 2193, + /* 460 */ 1612, 401, 537, 1555, 1826, 93, 475, 2211, 356, 707, + /* 470 */ 648, 381, 166, 608, 1636, 474, 1553, 1638, 1639, 2161, + /* 480 */ 1963, 706, 2358, 125, 1273, 2353, 124, 123, 122, 121, + /* 490 */ 120, 119, 118, 117, 116, 2013, 62, 2211, 1804, 667, + /* 500 */ 144, 2357, 382, 1631, 12, 2354, 2355, 1611, 1621, 2161, + /* 510 */ 2011, 706, 109, 1637, 1640, 2192, 1561, 2228, 288, 191, + /* 520 */ 112, 2194, 710, 2196, 2197, 705, 60, 700, 1556, 145, + /* 530 */ 1554, 578, 2373, 627, 2281, 577, 1565, 1952, 397, 2277, + /* 540 */ 1710, 796, 690, 1960, 49, 2192, 1580, 2228, 2161, 2193, + /* 550 */ 170, 2194, 710, 2196, 2197, 705, 12, 700, 10, 707, + /* 560 */ 1559, 1560, 451, 1610, 1613, 1614, 1615, 1616, 1617, 1618, + /* 570 */ 1619, 1620, 702, 698, 1629, 1630, 1632, 1633, 1634, 1635, + /* 580 */ 2, 1638, 1639, 445, 1326, 444, 1702, 2211, 41, 40, + /* 590 */ 631, 2318, 47, 45, 44, 43, 42, 1325, 2296, 2161, + /* 600 */ 1583, 706, 669, 186, 2289, 2290, 165, 142, 2294, 1561, + /* 610 */ 1803, 1611, 1621, 690, 1960, 443, 406, 1637, 1640, 2006, + /* 620 */ 2008, 41, 40, 404, 2292, 47, 45, 44, 43, 42, + /* 630 */ 2296, 163, 1556, 452, 1554, 2192, 676, 2228, 383, 1962, + /* 640 */ 112, 2194, 710, 2196, 2197, 705, 2011, 700, 253, 689, + /* 650 */ 447, 2193, 2256, 191, 2281, 446, 2291, 2155, 397, 2277, + /* 660 */ 2161, 707, 506, 2315, 1559, 1560, 154, 1610, 1613, 1614, + /* 670 */ 1615, 1616, 1617, 1618, 1619, 1620, 702, 698, 1629, 1630, + /* 680 */ 1632, 1633, 1634, 1635, 2, 48, 46, 1937, 549, 2211, + /* 690 */ 2075, 457, 2061, 401, 755, 1555, 1612, 630, 667, 144, + /* 700 */ 2353, 2161, 2013, 706, 630, 1936, 1636, 2353, 1553, 391, + /* 710 */ 47, 45, 44, 43, 42, 2359, 188, 2011, 1526, 1527, + /* 720 */ 2354, 656, 2359, 188, 463, 2061, 55, 2354, 656, 14, + /* 730 */ 13, 1734, 51, 690, 1960, 1631, 1947, 2192, 202, 2228, + /* 740 */ 597, 676, 112, 2194, 710, 2196, 2197, 705, 1561, 700, + /* 750 */ 690, 1960, 266, 465, 2373, 607, 2281, 1862, 41, 40, + /* 760 */ 397, 2277, 47, 45, 44, 43, 42, 2193, 1802, 250, + /* 770 */ 480, 205, 745, 796, 690, 1960, 49, 704, 642, 641, + /* 780 */ 1732, 1733, 1735, 1736, 1737, 600, 490, 2061, 2357, 48, + /* 790 */ 46, 1935, 594, 674, 481, 2075, 1776, 401, 249, 1555, + /* 800 */ 404, 1581, 189, 2289, 2290, 2211, 142, 2294, 166, 692, + /* 810 */ 1636, 2253, 1553, 1638, 1639, 1846, 1962, 2161, 2161, 706, + /* 820 */ 743, 156, 155, 740, 739, 738, 153, 592, 591, 590, + /* 830 */ 2007, 2008, 1679, 210, 582, 141, 586, 593, 70, 1631, + /* 840 */ 585, 69, 52, 1611, 1621, 584, 589, 377, 376, 1637, + /* 850 */ 1640, 583, 1561, 2192, 1745, 2228, 1241, 1242, 342, 2194, + /* 860 */ 710, 2196, 2197, 705, 1556, 700, 1554, 2247, 41, 40, + /* 870 */ 1801, 1943, 47, 45, 44, 43, 42, 796, 570, 569, + /* 880 */ 15, 2193, 743, 156, 155, 740, 739, 738, 153, 1800, + /* 890 */ 613, 707, 207, 2328, 1799, 1964, 1559, 1560, 1775, 1610, + /* 900 */ 1613, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 702, 698, + /* 910 */ 1629, 1630, 1632, 1633, 1634, 1635, 2, 1638, 1639, 2211, + /* 920 */ 2161, 1481, 1482, 606, 743, 156, 155, 740, 739, 738, + /* 930 */ 153, 2161, 86, 706, 2013, 85, 604, 630, 602, 2161, + /* 940 */ 2353, 396, 690, 1960, 2161, 690, 1960, 1611, 1621, 2011, + /* 950 */ 736, 690, 1960, 1637, 1640, 2359, 188, 1480, 1483, 259, + /* 960 */ 2354, 656, 550, 737, 1722, 1957, 2004, 2192, 1556, 2228, + /* 970 */ 1554, 255, 112, 2194, 710, 2196, 2197, 705, 9, 700, + /* 980 */ 588, 587, 34, 2147, 2373, 1330, 2281, 676, 41, 40, + /* 990 */ 397, 2277, 47, 45, 44, 43, 42, 1798, 1329, 191, + /* 1000 */ 1559, 1560, 1859, 1610, 1613, 1614, 1615, 1616, 1617, 1618, + /* 1010 */ 1619, 1620, 702, 698, 1629, 1630, 1632, 1633, 1634, 1635, + /* 1020 */ 2, 1646, 352, 167, 1578, 690, 1960, 1580, 327, 690, + /* 1030 */ 1960, 488, 423, 90, 504, 572, 571, 503, 2171, 685, + /* 1040 */ 407, 2075, 324, 73, 2144, 263, 72, 2161, 166, 673, + /* 1050 */ 371, 2013, 2180, 471, 671, 505, 1962, 349, 405, 1955, + /* 1060 */ 473, 701, 2175, 508, 1797, 658, 2011, 1794, 219, 516, + /* 1070 */ 514, 511, 773, 772, 771, 770, 413, 1938, 769, 768, + /* 1080 */ 148, 763, 762, 761, 760, 759, 758, 757, 158, 753, + /* 1090 */ 752, 751, 412, 411, 748, 747, 746, 176, 175, 1583, + /* 1100 */ 2177, 630, 690, 1960, 2353, 1583, 370, 237, 62, 374, + /* 1110 */ 700, 44, 43, 42, 2161, 690, 1960, 2161, 459, 2359, + /* 1120 */ 188, 149, 301, 173, 2354, 656, 690, 1960, 262, 690, + /* 1130 */ 1960, 568, 564, 560, 556, 687, 236, 1793, 662, 694, + /* 1140 */ 1667, 2253, 767, 765, 1792, 1791, 688, 111, 501, 307, + /* 1150 */ 1790, 495, 494, 493, 492, 487, 486, 485, 484, 483, + /* 1160 */ 479, 478, 477, 476, 351, 468, 467, 466, 659, 461, + /* 1170 */ 460, 368, 690, 1960, 2301, 1699, 91, 1612, 375, 234, + /* 1180 */ 373, 372, 1837, 576, 90, 1789, 1788, 2161, 81, 80, + /* 1190 */ 450, 2193, 408, 200, 2161, 2161, 1787, 2013, 1699, 741, + /* 1200 */ 2161, 707, 2004, 637, 595, 578, 442, 440, 1786, 577, + /* 1210 */ 1956, 742, 2012, 320, 2004, 1902, 1990, 350, 35, 54, + /* 1220 */ 431, 3, 2193, 429, 425, 421, 418, 443, 1672, 2211, + /* 1230 */ 756, 454, 707, 1922, 2346, 2161, 2161, 1218, 1219, 154, + /* 1240 */ 83, 2161, 137, 706, 455, 74, 2161, 233, 227, 580, + /* 1250 */ 242, 203, 2193, 240, 232, 547, 244, 265, 2161, 243, + /* 1260 */ 2211, 430, 707, 246, 2300, 191, 245, 248, 154, 581, + /* 1270 */ 247, 1313, 2161, 225, 706, 1835, 50, 2192, 610, 2228, + /* 1280 */ 609, 50, 112, 2194, 710, 2196, 2197, 705, 697, 700, + /* 1290 */ 2211, 1311, 1778, 1779, 2373, 84, 2281, 598, 1796, 1521, + /* 1300 */ 397, 2277, 2161, 643, 706, 1564, 270, 154, 2192, 108, + /* 1310 */ 2228, 2321, 283, 112, 2194, 710, 2196, 2197, 705, 105, + /* 1320 */ 700, 50, 294, 1563, 1555, 2373, 71, 2281, 1524, 152, + /* 1330 */ 154, 397, 2277, 14, 13, 64, 1731, 1553, 2192, 50, + /* 1340 */ 2228, 1730, 2193, 112, 2194, 710, 2196, 2197, 705, 50, + /* 1350 */ 700, 1829, 707, 410, 409, 2373, 277, 2281, 36, 714, + /* 1360 */ 139, 397, 2277, 1569, 41, 40, 272, 672, 47, 45, + /* 1370 */ 44, 43, 42, 2193, 1636, 1900, 1562, 1561, 663, 152, + /* 1380 */ 2211, 1478, 299, 707, 154, 749, 682, 1899, 2212, 303, + /* 1390 */ 1356, 750, 2161, 138, 706, 1673, 384, 152, 2070, 1622, + /* 1400 */ 414, 791, 796, 1631, 1820, 1825, 660, 1291, 2001, 319, + /* 1410 */ 2193, 2211, 2311, 1289, 668, 285, 1561, 282, 422, 1384, + /* 1420 */ 707, 1, 417, 2161, 5, 706, 365, 1586, 2192, 438, + /* 1430 */ 2228, 1502, 196, 112, 2194, 710, 2196, 2197, 705, 1388, + /* 1440 */ 700, 696, 439, 1657, 1395, 2254, 441, 2281, 2211, 195, + /* 1450 */ 198, 397, 2277, 1393, 314, 1579, 456, 157, 209, 2192, + /* 1460 */ 2161, 2228, 706, 1567, 112, 2194, 710, 2196, 2197, 705, + /* 1470 */ 1583, 700, 462, 458, 469, 499, 693, 2071, 2281, 464, + /* 1480 */ 1578, 1566, 397, 2277, 482, 491, 489, 2063, 498, 500, + /* 1490 */ 509, 510, 507, 1556, 213, 1554, 2192, 214, 2228, 2193, + /* 1500 */ 512, 113, 2194, 710, 2196, 2197, 705, 513, 700, 707, + /* 1510 */ 1584, 216, 532, 515, 517, 2281, 4, 533, 540, 2280, + /* 1520 */ 2277, 541, 543, 1581, 224, 1559, 1560, 226, 1585, 544, + /* 1530 */ 545, 1587, 1570, 546, 1565, 229, 548, 2211, 231, 88, + /* 1540 */ 89, 552, 235, 573, 355, 575, 1950, 114, 2193, 2161, + /* 1550 */ 239, 706, 1946, 612, 614, 92, 150, 618, 707, 315, + /* 1560 */ 256, 619, 617, 2135, 1573, 1575, 241, 159, 160, 1948, + /* 1570 */ 258, 260, 1944, 161, 2193, 162, 2132, 698, 1629, 1630, + /* 1580 */ 1632, 1633, 1634, 1635, 704, 2192, 2211, 2228, 625, 1509, + /* 1590 */ 113, 2194, 710, 2196, 2197, 705, 2131, 700, 2161, 644, + /* 1600 */ 706, 622, 634, 8, 2281, 2312, 2327, 680, 695, 2277, + /* 1610 */ 640, 2322, 2211, 387, 624, 2326, 647, 623, 268, 271, + /* 1620 */ 2303, 653, 276, 635, 2161, 2193, 706, 632, 633, 281, + /* 1630 */ 2376, 388, 1699, 661, 708, 707, 2228, 664, 2193, 113, + /* 1640 */ 2194, 710, 2196, 2197, 705, 143, 700, 1582, 707, 289, + /* 1650 */ 178, 1588, 278, 2281, 2076, 316, 98, 360, 2277, 2297, + /* 1660 */ 2192, 317, 2228, 2211, 678, 342, 2194, 710, 2196, 2197, + /* 1670 */ 705, 703, 700, 691, 2246, 2161, 2211, 706, 679, 683, + /* 1680 */ 2090, 279, 174, 684, 2089, 280, 100, 2193, 2161, 318, + /* 1690 */ 706, 2088, 393, 102, 61, 2262, 104, 707, 2352, 1961, + /* 1700 */ 712, 2005, 1923, 792, 2193, 284, 793, 321, 795, 2153, + /* 1710 */ 357, 2192, 310, 2228, 707, 358, 171, 2194, 710, 2196, + /* 1720 */ 2197, 705, 53, 700, 2192, 2211, 2228, 325, 323, 113, + /* 1730 */ 2194, 710, 2196, 2197, 705, 345, 700, 2161, 2152, 706, + /* 1740 */ 330, 344, 2211, 2281, 334, 2151, 78, 385, 2278, 2148, + /* 1750 */ 419, 420, 1546, 2193, 2161, 1547, 706, 194, 424, 2146, + /* 1760 */ 426, 427, 428, 707, 2145, 366, 2143, 657, 2374, 432, + /* 1770 */ 2142, 2141, 434, 2192, 436, 2228, 1537, 2193, 170, 2194, + /* 1780 */ 710, 2196, 2197, 705, 2122, 700, 197, 707, 2121, 199, + /* 1790 */ 2192, 2211, 2228, 1505, 79, 343, 2194, 710, 2196, 2197, + /* 1800 */ 705, 1504, 700, 2161, 2193, 706, 2103, 2102, 2101, 448, + /* 1810 */ 449, 2100, 2099, 2054, 707, 2211, 1455, 2053, 2050, 2319, + /* 1820 */ 386, 201, 2049, 82, 2193, 2048, 2047, 2161, 2052, 706, + /* 1830 */ 204, 2051, 2046, 2045, 707, 2043, 2042, 2041, 206, 2192, + /* 1840 */ 470, 2228, 2211, 2040, 336, 2194, 710, 2196, 2197, 705, + /* 1850 */ 472, 700, 2056, 2039, 2161, 2038, 706, 2037, 2036, 2035, + /* 1860 */ 2034, 2033, 2211, 2192, 2032, 2228, 2031, 392, 343, 2194, + /* 1870 */ 710, 2196, 2197, 705, 2161, 700, 706, 208, 2024, 2023, + /* 1880 */ 87, 2022, 2021, 2055, 2020, 2019, 215, 652, 2030, 2029, + /* 1890 */ 2192, 2193, 2228, 2028, 2027, 171, 2194, 710, 2196, 2197, + /* 1900 */ 705, 707, 700, 2026, 2025, 2018, 2017, 2016, 1457, 2015, + /* 1910 */ 2192, 502, 2228, 2014, 1327, 343, 2194, 710, 2196, 2197, + /* 1920 */ 705, 2193, 700, 353, 354, 1865, 1323, 1864, 1863, 2211, + /* 1930 */ 1331, 707, 217, 218, 400, 1861, 1858, 520, 1857, 519, + /* 1940 */ 524, 2161, 1850, 706, 523, 518, 522, 2375, 527, 526, + /* 1950 */ 1839, 528, 530, 1815, 1220, 76, 1814, 220, 2120, 2211, + /* 1960 */ 2110, 77, 182, 222, 402, 2098, 2181, 183, 538, 228, + /* 1970 */ 2097, 2161, 230, 706, 553, 554, 555, 2192, 2074, 2228, + /* 1980 */ 2193, 1939, 343, 2194, 710, 2196, 2197, 705, 616, 700, + /* 1990 */ 707, 1860, 1856, 1265, 1854, 558, 557, 1852, 559, 561, + /* 2000 */ 562, 563, 1849, 565, 566, 567, 799, 2192, 1834, 2228, + /* 2010 */ 1832, 1833, 343, 2194, 710, 2196, 2197, 705, 2211, 700, + /* 2020 */ 313, 1831, 1811, 1941, 1940, 1400, 1399, 764, 1314, 766, + /* 2030 */ 2161, 1312, 706, 1310, 1309, 1308, 180, 1847, 1307, 1301, + /* 2040 */ 1306, 63, 238, 1838, 789, 785, 781, 777, 1303, 311, + /* 2050 */ 1302, 1300, 378, 2193, 379, 1836, 380, 596, 1810, 1809, + /* 2060 */ 599, 601, 603, 707, 1808, 2119, 611, 605, 2228, 115, + /* 2070 */ 1531, 338, 2194, 710, 2196, 2197, 705, 1533, 700, 1530, + /* 2080 */ 1535, 1511, 29, 67, 2193, 1515, 2109, 2096, 1513, 110, + /* 2090 */ 164, 2211, 304, 620, 707, 2095, 2358, 20, 17, 1748, + /* 2100 */ 6, 21, 65, 2161, 31, 706, 57, 261, 7, 626, + /* 2110 */ 275, 638, 267, 621, 22, 1490, 1489, 274, 269, 2193, + /* 2120 */ 636, 172, 2211, 628, 1729, 686, 2182, 33, 24, 707, + /* 2130 */ 58, 273, 32, 23, 2161, 1721, 706, 1768, 18, 2192, + /* 2140 */ 1769, 2228, 95, 1763, 328, 2194, 710, 2196, 2197, 705, + /* 2150 */ 1762, 700, 389, 1767, 1766, 390, 2193, 2211, 287, 177, + /* 2160 */ 291, 2094, 2073, 292, 97, 1696, 707, 290, 59, 2161, + /* 2170 */ 2192, 706, 2228, 1695, 2072, 326, 2194, 710, 2196, 2197, + /* 2180 */ 705, 2193, 700, 96, 25, 295, 257, 99, 105, 293, + /* 2190 */ 305, 707, 1727, 300, 2211, 68, 26, 101, 1648, 11, + /* 2200 */ 13, 1647, 1571, 179, 2231, 2192, 2161, 2228, 706, 1658, + /* 2210 */ 329, 2194, 710, 2196, 2197, 705, 681, 700, 2193, 2211, + /* 2220 */ 302, 1603, 192, 711, 713, 1626, 1624, 403, 707, 699, + /* 2230 */ 39, 2161, 1623, 706, 16, 27, 717, 1595, 28, 720, + /* 2240 */ 1385, 715, 2192, 2193, 2228, 1382, 1381, 335, 2194, 710, + /* 2250 */ 2196, 2197, 705, 707, 700, 1378, 2211, 718, 721, 723, + /* 2260 */ 724, 726, 1372, 709, 1370, 729, 727, 2192, 2161, 2228, + /* 2270 */ 706, 730, 339, 2194, 710, 2196, 2197, 705, 1376, 700, + /* 2280 */ 106, 2211, 308, 1394, 1375, 1390, 107, 75, 1263, 1374, + /* 2290 */ 1373, 744, 1295, 2161, 1294, 706, 1293, 1292, 309, 1290, + /* 2300 */ 1288, 1287, 1286, 1321, 2192, 754, 2228, 1284, 1283, 331, + /* 2310 */ 2194, 710, 2196, 2197, 705, 2193, 700, 1282, 1281, 1280, + /* 2320 */ 1279, 1278, 1318, 1316, 1275, 707, 1274, 1271, 1270, 2192, + /* 2330 */ 2193, 2228, 1269, 1268, 340, 2194, 710, 2196, 2197, 705, + /* 2340 */ 707, 700, 1855, 774, 775, 776, 1853, 778, 2193, 779, + /* 2350 */ 1851, 782, 780, 2211, 783, 1848, 784, 786, 707, 788, + /* 2360 */ 1830, 790, 1210, 787, 1807, 2161, 312, 706, 2211, 794, + /* 2370 */ 1782, 1557, 798, 322, 797, 1782, 1782, 1782, 1782, 1782, + /* 2380 */ 2161, 1782, 706, 1782, 1782, 1782, 2211, 1782, 1782, 1782, + /* 2390 */ 1782, 1782, 1782, 1782, 1782, 2193, 1782, 1782, 2161, 1782, + /* 2400 */ 706, 2192, 1782, 2228, 1782, 707, 332, 2194, 710, 2196, + /* 2410 */ 2197, 705, 1782, 700, 1782, 1782, 2192, 2193, 2228, 1782, + /* 2420 */ 1782, 341, 2194, 710, 2196, 2197, 705, 707, 700, 1782, + /* 2430 */ 1782, 1782, 1782, 2211, 2192, 1782, 2228, 1782, 1782, 333, + /* 2440 */ 2194, 710, 2196, 2197, 705, 2161, 700, 706, 1782, 1782, + /* 2450 */ 1782, 1782, 1782, 1782, 1782, 2211, 1782, 1782, 1782, 1782, + /* 2460 */ 1782, 1782, 1782, 1782, 2193, 1782, 1782, 2161, 1782, 706, + /* 2470 */ 1782, 1782, 1782, 1782, 707, 1782, 1782, 1782, 1782, 1782, + /* 2480 */ 1782, 2192, 1782, 2228, 1782, 1782, 346, 2194, 710, 2196, + /* 2490 */ 2197, 705, 1782, 700, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2500 */ 1782, 1782, 2211, 2192, 1782, 2228, 1782, 1782, 347, 2194, + /* 2510 */ 710, 2196, 2197, 705, 2161, 700, 706, 1782, 1782, 1782, + /* 2520 */ 1782, 1782, 1782, 2193, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2530 */ 1782, 1782, 1782, 707, 1782, 1782, 2193, 1782, 1782, 1782, + /* 2540 */ 1782, 1782, 1782, 1782, 1782, 1782, 707, 1782, 1782, 1782, + /* 2550 */ 2192, 1782, 2228, 2193, 1782, 2205, 2194, 710, 2196, 2197, + /* 2560 */ 705, 2211, 700, 707, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2570 */ 1782, 1782, 1782, 2161, 2211, 706, 1782, 1782, 1782, 1782, + /* 2580 */ 1782, 1782, 1782, 1782, 1782, 2193, 2161, 1782, 706, 1782, + /* 2590 */ 1782, 2211, 1782, 1782, 1782, 707, 1782, 1782, 1782, 1782, + /* 2600 */ 1782, 1782, 1782, 2161, 1782, 706, 1782, 1782, 1782, 2192, + /* 2610 */ 1782, 2228, 1782, 1782, 2204, 2194, 710, 2196, 2197, 705, + /* 2620 */ 1782, 700, 2192, 2211, 2228, 1782, 1782, 2203, 2194, 710, + /* 2630 */ 2196, 2197, 705, 1782, 700, 2161, 1782, 706, 1782, 2192, + /* 2640 */ 1782, 2228, 1782, 1782, 362, 2194, 710, 2196, 2197, 705, + /* 2650 */ 1782, 700, 2193, 1782, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2660 */ 1782, 1782, 707, 1782, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2670 */ 1782, 2192, 2193, 2228, 1782, 1782, 363, 2194, 710, 2196, + /* 2680 */ 2197, 705, 707, 700, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2690 */ 2211, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2700 */ 1782, 1782, 2161, 1782, 706, 1782, 1782, 1782, 1782, 1782, + /* 2710 */ 2211, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2720 */ 1782, 1782, 2161, 1782, 706, 1782, 1782, 1782, 1782, 1782, + /* 2730 */ 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 2192, 1782, + /* 2740 */ 2228, 1782, 2193, 359, 2194, 710, 2196, 2197, 705, 1782, + /* 2750 */ 700, 1782, 707, 1782, 1782, 1782, 1782, 1782, 2192, 2193, + /* 2760 */ 2228, 1782, 1782, 364, 2194, 710, 2196, 2197, 705, 707, + /* 2770 */ 700, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2780 */ 2211, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2790 */ 1782, 1782, 2161, 1782, 706, 1782, 1782, 2211, 1782, 1782, + /* 2800 */ 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 2161, + /* 2810 */ 1782, 706, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, + /* 2820 */ 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 708, 1782, + /* 2830 */ 2228, 1782, 1782, 338, 2194, 710, 2196, 2197, 705, 1782, + /* 2840 */ 700, 1782, 1782, 1782, 1782, 2192, 1782, 2228, 1782, 1782, + /* 2850 */ 337, 2194, 710, 2196, 2197, 705, 1782, 700, }; static const YYCODETYPE yy_lookahead[] = { /* 0 */ 375, 341, 367, 393, 346, 350, 351, 411, 350, 380, @@ -653,99 +653,99 @@ static const YYCODETYPE yy_lookahead[] = { /* 1420 */ 351, 462, 412, 391, 262, 393, 428, 20, 427, 206, /* 1430 */ 429, 189, 359, 432, 433, 434, 435, 436, 437, 104, /* 1440 */ 439, 100, 421, 223, 104, 444, 421, 446, 379, 426, - /* 1450 */ 359, 450, 451, 104, 414, 42, 398, 104, 20, 427, + /* 1450 */ 359, 450, 451, 104, 414, 20, 351, 104, 42, 427, /* 1460 */ 391, 429, 393, 193, 432, 433, 434, 435, 436, 437, - /* 1470 */ 169, 439, 20, 398, 396, 350, 444, 401, 446, 20, - /* 1480 */ 351, 193, 450, 451, 350, 398, 396, 101, 396, 363, - /* 1490 */ 99, 350, 362, 191, 98, 193, 427, 361, 429, 341, - /* 1500 */ 350, 432, 433, 434, 435, 436, 437, 350, 439, 351, - /* 1510 */ 20, 350, 343, 48, 347, 446, 343, 347, 359, 450, - /* 1520 */ 451, 421, 20, 359, 20, 223, 224, 352, 393, 20, - /* 1530 */ 413, 359, 191, 352, 193, 359, 350, 379, 359, 359, - /* 1540 */ 343, 350, 359, 343, 379, 379, 391, 379, 341, 391, - /* 1550 */ 379, 393, 210, 379, 391, 423, 103, 379, 351, 421, - /* 1560 */ 357, 197, 425, 379, 223, 224, 379, 379, 379, 379, - /* 1570 */ 196, 420, 419, 357, 341, 195, 391, 236, 237, 238, - /* 1580 */ 239, 240, 241, 242, 351, 427, 379, 429, 350, 393, + /* 1470 */ 20, 439, 351, 398, 396, 169, 444, 401, 446, 398, + /* 1480 */ 20, 193, 450, 451, 350, 398, 351, 350, 396, 396, + /* 1490 */ 101, 363, 99, 191, 362, 193, 427, 350, 429, 341, + /* 1500 */ 98, 432, 433, 434, 435, 436, 437, 361, 439, 351, + /* 1510 */ 20, 350, 343, 350, 350, 446, 48, 347, 343, 450, + /* 1520 */ 451, 347, 421, 20, 359, 223, 224, 359, 20, 393, + /* 1530 */ 352, 20, 191, 413, 193, 359, 352, 379, 359, 359, + /* 1540 */ 359, 350, 359, 343, 343, 379, 379, 350, 341, 391, + /* 1550 */ 379, 393, 379, 210, 425, 103, 423, 197, 351, 421, + /* 1560 */ 357, 420, 196, 391, 223, 224, 379, 379, 379, 379, + /* 1570 */ 419, 357, 379, 379, 341, 379, 391, 236, 237, 238, + /* 1580 */ 239, 240, 241, 242, 351, 427, 379, 429, 350, 195, /* 1590 */ 432, 433, 434, 435, 436, 437, 391, 439, 391, 269, - /* 1600 */ 393, 268, 401, 401, 446, 406, 412, 467, 450, 451, - /* 1610 */ 391, 418, 379, 467, 406, 277, 391, 391, 470, 182, - /* 1620 */ 263, 479, 279, 469, 391, 341, 393, 283, 278, 281, - /* 1630 */ 412, 286, 259, 486, 427, 351, 429, 20, 341, 432, - /* 1640 */ 433, 434, 435, 436, 437, 351, 439, 357, 351, 357, - /* 1650 */ 352, 20, 431, 446, 404, 406, 391, 450, 451, 391, + /* 1600 */ 393, 393, 391, 277, 446, 401, 467, 268, 450, 451, + /* 1610 */ 391, 401, 379, 391, 412, 467, 391, 418, 406, 406, + /* 1620 */ 470, 182, 469, 279, 391, 341, 393, 263, 278, 412, + /* 1630 */ 486, 286, 259, 281, 427, 351, 429, 283, 341, 432, + /* 1640 */ 433, 434, 435, 436, 437, 351, 439, 20, 351, 357, + /* 1650 */ 352, 20, 466, 446, 404, 406, 357, 450, 451, 431, /* 1660 */ 427, 406, 429, 379, 391, 432, 433, 434, 435, 436, - /* 1670 */ 437, 438, 439, 440, 441, 391, 379, 393, 467, 466, - /* 1680 */ 465, 464, 174, 403, 480, 357, 375, 341, 391, 103, - /* 1690 */ 393, 391, 449, 357, 391, 391, 103, 351, 351, 383, - /* 1700 */ 391, 36, 350, 369, 341, 344, 407, 339, 343, 422, - /* 1710 */ 373, 427, 357, 429, 351, 407, 432, 433, 434, 435, - /* 1720 */ 436, 437, 415, 439, 427, 379, 429, 373, 358, 432, - /* 1730 */ 433, 434, 435, 436, 437, 373, 439, 391, 0, 393, - /* 1740 */ 0, 0, 379, 446, 42, 0, 35, 384, 451, 216, - /* 1750 */ 35, 35, 35, 341, 391, 216, 393, 0, 35, 35, - /* 1760 */ 216, 0, 216, 351, 0, 35, 0, 483, 484, 22, - /* 1770 */ 0, 35, 211, 427, 0, 429, 199, 341, 432, 433, - /* 1780 */ 434, 435, 436, 437, 0, 439, 199, 351, 200, 193, - /* 1790 */ 427, 379, 429, 191, 0, 432, 433, 434, 435, 436, - /* 1800 */ 437, 0, 439, 391, 341, 393, 0, 187, 186, 0, - /* 1810 */ 0, 0, 47, 0, 351, 379, 0, 42, 0, 473, - /* 1820 */ 384, 0, 0, 0, 341, 0, 0, 391, 0, 393, - /* 1830 */ 0, 159, 35, 0, 351, 159, 0, 0, 0, 427, - /* 1840 */ 47, 429, 379, 0, 432, 433, 434, 435, 436, 437, - /* 1850 */ 0, 439, 0, 0, 391, 0, 393, 0, 0, 0, + /* 1670 */ 437, 438, 439, 440, 441, 391, 379, 393, 391, 174, + /* 1680 */ 391, 465, 467, 403, 391, 464, 357, 341, 391, 375, + /* 1690 */ 393, 391, 391, 357, 103, 449, 103, 351, 480, 351, + /* 1700 */ 383, 391, 369, 36, 341, 479, 344, 350, 343, 0, + /* 1710 */ 407, 427, 357, 429, 351, 407, 432, 433, 434, 435, + /* 1720 */ 436, 437, 415, 439, 427, 379, 429, 339, 358, 432, + /* 1730 */ 433, 434, 435, 436, 437, 422, 439, 391, 0, 393, + /* 1740 */ 373, 373, 379, 446, 373, 0, 42, 384, 451, 0, + /* 1750 */ 35, 216, 35, 341, 391, 35, 393, 35, 216, 0, + /* 1760 */ 35, 35, 216, 351, 0, 216, 0, 483, 484, 35, + /* 1770 */ 0, 0, 22, 427, 35, 429, 211, 341, 432, 433, + /* 1780 */ 434, 435, 436, 437, 0, 439, 199, 351, 0, 199, + /* 1790 */ 427, 379, 429, 193, 200, 432, 433, 434, 435, 436, + /* 1800 */ 437, 191, 439, 391, 341, 393, 0, 0, 0, 187, + /* 1810 */ 186, 0, 0, 0, 351, 379, 47, 0, 0, 473, + /* 1820 */ 384, 47, 0, 42, 341, 0, 0, 391, 0, 393, + /* 1830 */ 47, 0, 0, 0, 351, 0, 0, 0, 159, 427, + /* 1840 */ 35, 429, 379, 0, 432, 433, 434, 435, 436, 437, + /* 1850 */ 159, 439, 0, 0, 391, 0, 393, 0, 0, 0, /* 1860 */ 0, 0, 379, 427, 0, 429, 0, 384, 432, 433, - /* 1870 */ 434, 435, 436, 437, 391, 439, 393, 42, 0, 0, - /* 1880 */ 0, 0, 0, 0, 22, 0, 0, 475, 0, 0, - /* 1890 */ 427, 341, 429, 143, 0, 432, 433, 434, 435, 436, - /* 1900 */ 437, 351, 439, 0, 48, 0, 22, 62, 35, 22, - /* 1910 */ 427, 48, 429, 0, 0, 432, 433, 434, 435, 436, - /* 1920 */ 437, 341, 439, 0, 0, 35, 0, 62, 0, 379, - /* 1930 */ 62, 351, 39, 35, 384, 39, 35, 0, 39, 35, - /* 1940 */ 49, 391, 0, 393, 49, 14, 49, 484, 42, 39, - /* 1950 */ 0, 44, 40, 0, 39, 47, 47, 0, 47, 379, - /* 1960 */ 0, 39, 182, 0, 384, 0, 0, 0, 0, 69, - /* 1970 */ 35, 391, 39, 393, 49, 0, 35, 427, 49, 429, + /* 1870 */ 434, 435, 436, 437, 391, 439, 393, 47, 0, 0, + /* 1880 */ 42, 0, 0, 0, 0, 0, 62, 475, 0, 0, + /* 1890 */ 427, 341, 429, 0, 0, 432, 433, 434, 435, 436, + /* 1900 */ 437, 351, 439, 0, 0, 0, 0, 0, 22, 0, + /* 1910 */ 427, 143, 429, 0, 22, 432, 433, 434, 435, 436, + /* 1920 */ 437, 341, 439, 48, 48, 0, 35, 0, 0, 379, + /* 1930 */ 22, 351, 62, 62, 384, 0, 0, 39, 0, 49, + /* 1940 */ 39, 391, 0, 393, 49, 35, 35, 484, 49, 35, + /* 1950 */ 0, 39, 35, 0, 14, 39, 0, 42, 0, 379, + /* 1960 */ 0, 39, 44, 40, 384, 0, 47, 47, 47, 39, + /* 1970 */ 0, 391, 182, 393, 35, 49, 39, 427, 0, 429, /* 1980 */ 341, 0, 432, 433, 434, 435, 436, 437, 1, 439, - /* 1990 */ 351, 39, 49, 35, 39, 0, 35, 49, 39, 0, - /* 2000 */ 0, 0, 0, 0, 0, 35, 19, 427, 22, 429, - /* 2010 */ 0, 35, 432, 433, 434, 435, 436, 437, 379, 439, - /* 2020 */ 33, 44, 44, 35, 0, 35, 35, 110, 112, 35, - /* 2030 */ 391, 35, 393, 35, 22, 22, 49, 0, 22, 0, - /* 2040 */ 35, 35, 22, 35, 57, 58, 59, 60, 51, 62, - /* 2050 */ 35, 0, 35, 341, 35, 0, 22, 35, 20, 103, - /* 2060 */ 35, 35, 0, 351, 0, 103, 427, 198, 429, 22, - /* 2070 */ 35, 432, 433, 434, 435, 436, 437, 104, 439, 0, - /* 2080 */ 22, 0, 0, 3, 341, 44, 194, 103, 264, 102, - /* 2090 */ 172, 379, 105, 172, 351, 47, 104, 178, 178, 3, - /* 2100 */ 48, 174, 172, 391, 172, 393, 264, 48, 47, 44, - /* 2110 */ 99, 44, 103, 44, 44, 101, 44, 44, 264, 341, - /* 2120 */ 35, 103, 379, 35, 103, 138, 35, 104, 35, 351, - /* 2130 */ 35, 104, 103, 103, 391, 104, 393, 104, 35, 427, - /* 2140 */ 104, 429, 0, 0, 432, 433, 434, 435, 436, 437, - /* 2150 */ 104, 439, 47, 104, 47, 39, 341, 379, 47, 103, - /* 2160 */ 173, 104, 0, 103, 39, 47, 351, 180, 175, 391, - /* 2170 */ 427, 393, 429, 44, 103, 432, 433, 434, 435, 436, - /* 2180 */ 437, 341, 439, 245, 47, 101, 199, 104, 113, 103, - /* 2190 */ 103, 351, 258, 103, 379, 101, 2, 22, 47, 22, - /* 2200 */ 103, 173, 223, 104, 103, 427, 391, 429, 393, 103, - /* 2210 */ 432, 433, 434, 435, 436, 437, 104, 439, 341, 379, - /* 2220 */ 35, 104, 103, 103, 114, 104, 104, 103, 351, 103, - /* 2230 */ 103, 391, 35, 393, 104, 35, 104, 35, 103, 35, - /* 2240 */ 104, 103, 427, 341, 429, 104, 35, 432, 433, 434, - /* 2250 */ 435, 436, 437, 351, 439, 103, 379, 225, 104, 35, - /* 2260 */ 103, 103, 44, 103, 125, 125, 35, 427, 391, 429, - /* 2270 */ 393, 125, 432, 433, 434, 435, 436, 437, 125, 439, - /* 2280 */ 22, 379, 103, 69, 68, 35, 35, 35, 35, 35, - /* 2290 */ 35, 35, 35, 391, 75, 393, 97, 35, 35, 35, - /* 2300 */ 22, 35, 35, 44, 427, 35, 429, 75, 35, 432, - /* 2310 */ 433, 434, 435, 436, 437, 341, 439, 35, 35, 35, - /* 2320 */ 35, 22, 35, 0, 35, 351, 49, 39, 0, 427, - /* 2330 */ 341, 429, 35, 39, 432, 433, 434, 435, 436, 437, - /* 2340 */ 351, 439, 49, 0, 35, 49, 39, 0, 341, 35, - /* 2350 */ 49, 39, 0, 379, 35, 35, 0, 22, 351, 21, - /* 2360 */ 487, 22, 22, 21, 20, 391, 487, 393, 379, 487, - /* 2370 */ 487, 487, 487, 487, 487, 487, 487, 487, 487, 487, + /* 1990 */ 351, 0, 0, 69, 0, 49, 35, 0, 39, 35, + /* 2000 */ 49, 39, 0, 35, 49, 39, 19, 427, 0, 429, + /* 2010 */ 0, 0, 432, 433, 434, 435, 436, 437, 379, 439, + /* 2020 */ 33, 0, 0, 0, 0, 35, 22, 44, 35, 44, + /* 2030 */ 391, 35, 393, 35, 35, 35, 49, 0, 35, 22, + /* 2040 */ 35, 112, 110, 0, 57, 58, 59, 60, 35, 62, + /* 2050 */ 35, 35, 22, 341, 22, 0, 22, 51, 0, 0, + /* 2060 */ 35, 35, 35, 351, 0, 0, 427, 22, 429, 20, + /* 2070 */ 35, 432, 433, 434, 435, 436, 437, 35, 439, 35, + /* 2080 */ 104, 35, 103, 103, 341, 198, 0, 0, 22, 102, + /* 2090 */ 194, 379, 105, 22, 351, 0, 3, 44, 264, 104, + /* 2100 */ 48, 44, 3, 391, 103, 393, 172, 174, 48, 178, + /* 2110 */ 47, 99, 103, 172, 44, 172, 172, 44, 104, 341, + /* 2120 */ 101, 103, 379, 178, 104, 138, 47, 44, 44, 351, + /* 2130 */ 258, 103, 103, 264, 391, 104, 393, 104, 264, 427, + /* 2140 */ 104, 429, 103, 35, 432, 433, 434, 435, 436, 437, + /* 2150 */ 35, 439, 35, 35, 35, 35, 341, 379, 47, 47, + /* 2160 */ 173, 0, 0, 47, 39, 104, 351, 180, 44, 391, + /* 2170 */ 427, 393, 429, 104, 0, 432, 433, 434, 435, 436, + /* 2180 */ 437, 341, 439, 103, 103, 103, 199, 39, 113, 104, + /* 2190 */ 47, 351, 104, 103, 379, 103, 44, 103, 101, 245, + /* 2200 */ 2, 101, 22, 47, 103, 427, 391, 429, 393, 223, + /* 2210 */ 432, 433, 434, 435, 436, 437, 175, 439, 341, 379, + /* 2220 */ 173, 22, 47, 114, 35, 104, 104, 35, 351, 103, + /* 2230 */ 103, 391, 104, 393, 103, 103, 35, 104, 103, 35, + /* 2240 */ 104, 103, 427, 341, 429, 104, 104, 432, 433, 434, + /* 2250 */ 435, 436, 437, 351, 439, 104, 379, 103, 103, 35, + /* 2260 */ 103, 35, 104, 225, 104, 35, 103, 427, 391, 429, + /* 2270 */ 393, 103, 432, 433, 434, 435, 436, 437, 125, 439, + /* 2280 */ 103, 379, 44, 35, 125, 22, 103, 103, 69, 125, + /* 2290 */ 125, 68, 35, 391, 35, 393, 35, 35, 44, 35, + /* 2300 */ 35, 35, 35, 75, 427, 97, 429, 35, 35, 432, + /* 2310 */ 433, 434, 435, 436, 437, 341, 439, 35, 22, 35, + /* 2320 */ 35, 35, 75, 35, 35, 351, 35, 35, 35, 427, + /* 2330 */ 341, 429, 22, 35, 432, 433, 434, 435, 436, 437, + /* 2340 */ 351, 439, 0, 35, 49, 39, 0, 35, 341, 49, + /* 2350 */ 0, 35, 39, 379, 49, 0, 39, 35, 351, 39, + /* 2360 */ 0, 35, 35, 49, 0, 391, 22, 393, 379, 21, + /* 2370 */ 487, 22, 20, 22, 21, 487, 487, 487, 487, 487, /* 2380 */ 391, 487, 393, 487, 487, 487, 379, 487, 487, 487, /* 2390 */ 487, 487, 487, 487, 487, 341, 487, 487, 391, 487, /* 2400 */ 393, 427, 487, 429, 487, 351, 432, 433, 434, 435, @@ -829,9 +829,9 @@ static const YYCODETYPE yy_lookahead[] = { /* 3180 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, /* 3190 */ 338, 338, 338, 338, 338, 338, }; -#define YY_SHIFT_COUNT (792) +#define YY_SHIFT_COUNT (799) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2356) +#define YY_SHIFT_MAX (2364) static const unsigned short int yy_shift_ofst[] = { /* 0 */ 1005, 0, 104, 0, 337, 337, 337, 337, 337, 337, /* 10 */ 337, 337, 337, 337, 337, 337, 441, 673, 673, 777, @@ -853,68 +853,68 @@ static const unsigned short int yy_shift_ofst[] = { /* 170 */ 580, 613, 508, 49, 123, 343, 343, 526, 354, 1007, /* 180 */ 299, 1079, 1192, 418, 398, 1085, 916, 939, 785, 916, /* 190 */ 1177, 325, 290, 1162, 1369, 1407, 1223, 211, 1407, 211, - /* 200 */ 1242, 1413, 1438, 1413, 1301, 1452, 1459, 1452, 1413, 1301, - /* 210 */ 1301, 1386, 1391, 1452, 1396, 1452, 1452, 1452, 1490, 1465, - /* 220 */ 1490, 1465, 1407, 211, 1502, 211, 1504, 1509, 211, 1504, - /* 230 */ 211, 211, 211, 1452, 211, 1490, 68, 68, 68, 68, - /* 240 */ 68, 68, 68, 68, 68, 68, 68, 1452, 1490, 534, - /* 250 */ 534, 534, 1342, 1453, 1407, 284, 1364, 1374, 1502, 284, - /* 260 */ 1380, 1162, 1452, 1438, 1438, 534, 1330, 1333, 534, 1330, - /* 270 */ 1333, 534, 534, 68, 1338, 1437, 1330, 1343, 1350, 1357, - /* 280 */ 1162, 1345, 1344, 1348, 1373, 1459, 1617, 1504, 284, 284, - /* 290 */ 1631, 1333, 534, 534, 534, 534, 534, 1333, 534, 1508, - /* 300 */ 284, 836, 284, 1459, 1586, 1593, 534, 619, 1452, 284, - /* 310 */ 1665, 1490, 2858, 2858, 2858, 2858, 2858, 2858, 2858, 2858, - /* 320 */ 2858, 1002, 1074, 225, 32, 736, 750, 860, 687, 980, - /* 330 */ 1356, 434, 791, 197, 197, 197, 197, 197, 197, 197, - /* 340 */ 197, 197, 749, 265, 698, 698, 29, 6, 34, 307, - /* 350 */ 830, 562, 963, 902, 514, 282, 282, 1097, 728, 971, - /* 360 */ 1097, 1097, 1097, 983, 1044, 622, 1209, 1198, 1131, 1077, - /* 370 */ 1143, 1149, 1156, 1160, 1236, 1256, 815, 1182, 1275, 1071, - /* 380 */ 1195, 1224, 63, 1232, 1237, 1262, 1152, 1124, 1094, 1263, - /* 390 */ 1277, 1278, 1282, 1285, 1286, 1332, 1291, 1220, 1295, 311, - /* 400 */ 1305, 1315, 1335, 1340, 1349, 1353, 1206, 1270, 1288, 1372, - /* 410 */ 1378, 409, 1351, 1738, 1740, 1741, 1702, 1745, 1711, 1533, - /* 420 */ 1715, 1716, 1717, 1539, 1757, 1723, 1724, 1544, 1761, 1546, - /* 430 */ 1764, 1730, 1766, 1747, 1770, 1736, 1561, 1774, 1577, 1784, - /* 440 */ 1587, 1588, 1596, 1602, 1794, 1801, 1806, 1620, 1622, 1809, - /* 450 */ 1810, 1765, 1811, 1813, 1816, 1775, 1818, 1821, 1822, 1823, - /* 460 */ 1825, 1826, 1828, 1830, 1672, 1797, 1833, 1676, 1836, 1837, - /* 470 */ 1838, 1843, 1850, 1852, 1853, 1855, 1857, 1858, 1859, 1860, - /* 480 */ 1861, 1864, 1866, 1793, 1888, 1835, 1878, 1879, 1880, 1881, - /* 490 */ 1882, 1883, 1862, 1885, 1886, 1889, 1750, 1894, 1903, 1884, - /* 500 */ 1856, 1887, 1863, 1905, 1845, 1873, 1913, 1865, 1914, 1868, - /* 510 */ 1923, 1924, 1890, 1891, 1893, 1926, 1898, 1895, 1896, 1928, - /* 520 */ 1901, 1897, 1899, 1937, 1904, 1942, 1906, 1910, 1907, 1908, - /* 530 */ 1909, 1931, 1911, 1950, 1912, 1915, 1953, 1957, 1960, 1922, - /* 540 */ 1780, 1963, 1965, 1966, 1900, 1967, 1968, 1935, 1925, 1933, - /* 550 */ 1975, 1941, 1929, 1952, 1981, 1958, 1943, 1955, 1995, 1961, - /* 560 */ 1948, 1959, 1999, 2000, 2001, 2002, 2003, 2004, 1916, 1917, - /* 570 */ 1970, 1986, 2010, 1976, 1988, 1990, 1991, 1994, 1996, 1998, - /* 580 */ 1977, 1978, 2005, 2006, 2012, 2008, 2024, 2013, 2037, 2016, - /* 590 */ 1997, 2039, 2020, 2015, 2051, 2017, 2064, 2019, 2055, 2034, - /* 600 */ 2038, 2022, 2025, 2026, 1973, 1956, 2062, 1918, 1962, 1869, - /* 610 */ 2035, 2047, 2079, 1892, 2058, 1921, 1927, 2081, 2082, 1930, - /* 620 */ 1919, 1932, 1920, 2080, 2041, 1824, 1984, 1992, 2009, 2052, - /* 630 */ 2014, 2059, 2011, 2023, 2065, 2067, 2027, 2018, 2021, 2029, - /* 640 */ 2031, 2069, 2048, 2061, 2030, 2070, 1842, 2033, 2036, 2096, - /* 650 */ 2072, 1854, 2085, 2088, 2091, 2093, 2095, 2103, 2046, 2049, - /* 660 */ 2105, 1934, 2073, 2107, 2142, 2143, 2056, 2116, 1908, 2111, - /* 670 */ 2060, 2057, 2083, 2071, 2086, 1993, 2087, 2162, 2125, 2028, - /* 680 */ 2090, 2075, 1908, 2118, 2129, 2084, 1938, 2094, 2194, 2175, - /* 690 */ 1979, 2097, 2099, 2101, 2112, 2106, 2117, 2137, 2119, 2120, - /* 700 */ 2151, 2121, 2177, 2032, 2124, 2110, 2122, 2185, 2197, 2126, - /* 710 */ 2130, 2200, 2127, 2132, 2202, 2135, 2136, 2204, 2138, 2141, - /* 720 */ 2211, 2152, 2154, 2224, 2157, 2139, 2140, 2146, 2153, 2158, - /* 730 */ 2218, 2160, 2231, 2179, 2218, 2218, 2258, 2214, 2216, 2250, - /* 740 */ 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2219, 2199, 2259, - /* 750 */ 2262, 2263, 2264, 2278, 2266, 2267, 2270, 2232, 1977, 2273, - /* 760 */ 1978, 2282, 2283, 2284, 2285, 2299, 2287, 2323, 2289, 2277, - /* 770 */ 2288, 2328, 2297, 2293, 2294, 2343, 2309, 2296, 2307, 2347, - /* 780 */ 2314, 2301, 2312, 2352, 2319, 2320, 2356, 2335, 2338, 2339, - /* 790 */ 2340, 2342, 2344, + /* 200 */ 1242, 1435, 1416, 1450, 1435, 1416, 1306, 1460, 1435, 1460, + /* 210 */ 1416, 1306, 1306, 1389, 1393, 1460, 1402, 1460, 1460, 1460, + /* 220 */ 1490, 1468, 1490, 1468, 1407, 211, 1503, 211, 1508, 1511, + /* 230 */ 211, 1508, 211, 211, 211, 1460, 211, 1490, 68, 68, + /* 240 */ 68, 68, 68, 68, 68, 68, 68, 68, 68, 1460, + /* 250 */ 1490, 534, 534, 534, 1343, 1452, 1407, 284, 1360, 1366, + /* 260 */ 1503, 284, 1394, 1162, 1460, 1450, 1450, 534, 1330, 1339, + /* 270 */ 534, 1330, 1339, 534, 534, 68, 1326, 1439, 1330, 1344, + /* 280 */ 1350, 1364, 1162, 1345, 1354, 1352, 1373, 1435, 1627, 1508, + /* 290 */ 284, 284, 1631, 1339, 534, 534, 534, 534, 534, 1339, + /* 300 */ 534, 1505, 284, 836, 284, 1435, 1591, 1593, 534, 619, + /* 310 */ 1460, 284, 1667, 1490, 2858, 2858, 2858, 2858, 2858, 2858, + /* 320 */ 2858, 2858, 2858, 1002, 1074, 225, 32, 736, 750, 860, + /* 330 */ 687, 980, 1356, 434, 791, 197, 197, 197, 197, 197, + /* 340 */ 197, 197, 197, 197, 749, 265, 698, 698, 29, 6, + /* 350 */ 34, 307, 830, 562, 963, 902, 514, 282, 282, 1097, + /* 360 */ 728, 971, 1097, 1097, 1097, 983, 1044, 622, 1209, 1198, + /* 370 */ 1131, 1077, 1143, 1149, 1156, 1160, 1236, 1256, 815, 1182, + /* 380 */ 1275, 1071, 1195, 1224, 63, 1232, 1237, 1262, 1152, 1124, + /* 390 */ 1094, 1263, 1277, 1278, 1282, 1285, 1286, 1332, 1291, 1220, + /* 400 */ 1295, 311, 1305, 1315, 1335, 1340, 1349, 1353, 1206, 1270, + /* 410 */ 1288, 1372, 1378, 409, 1351, 1709, 1738, 1745, 1704, 1749, + /* 420 */ 1715, 1535, 1717, 1720, 1722, 1542, 1759, 1725, 1726, 1546, + /* 430 */ 1764, 1549, 1766, 1734, 1770, 1750, 1771, 1739, 1565, 1784, + /* 440 */ 1587, 1788, 1590, 1594, 1600, 1610, 1806, 1807, 1808, 1622, + /* 450 */ 1624, 1811, 1812, 1769, 1813, 1817, 1818, 1774, 1822, 1781, + /* 460 */ 1825, 1826, 1828, 1783, 1831, 1832, 1833, 1835, 1836, 1837, + /* 470 */ 1679, 1805, 1843, 1691, 1852, 1853, 1855, 1857, 1858, 1859, + /* 480 */ 1860, 1861, 1864, 1866, 1888, 1889, 1893, 1894, 1903, 1904, + /* 490 */ 1830, 1878, 1838, 1879, 1881, 1882, 1883, 1884, 1885, 1886, + /* 500 */ 1905, 1906, 1907, 1768, 1909, 1913, 1892, 1875, 1908, 1876, + /* 510 */ 1925, 1824, 1891, 1927, 1870, 1928, 1871, 1935, 1936, 1910, + /* 520 */ 1890, 1898, 1938, 1911, 1895, 1901, 1942, 1914, 1899, 1912, + /* 530 */ 1950, 1917, 1953, 1915, 1916, 1918, 1919, 1920, 1940, 1921, + /* 540 */ 1956, 1923, 1922, 1958, 1960, 1965, 1930, 1790, 1970, 1978, + /* 550 */ 1981, 1924, 1991, 1992, 1939, 1926, 1937, 1994, 1961, 1946, + /* 560 */ 1959, 1997, 1964, 1951, 1962, 2002, 1968, 1955, 1966, 2008, + /* 570 */ 2010, 2011, 2021, 2022, 2023, 1929, 1932, 1990, 2004, 2024, + /* 580 */ 1993, 1996, 1998, 1999, 2000, 2003, 2005, 1983, 1985, 2013, + /* 590 */ 2015, 2017, 2016, 2037, 2030, 2043, 2032, 2006, 2055, 2034, + /* 600 */ 2025, 2058, 2026, 2059, 2027, 2064, 2045, 2049, 2035, 2042, + /* 610 */ 2044, 1976, 1979, 2065, 1934, 1980, 1887, 2046, 2066, 2086, + /* 620 */ 1896, 2071, 1941, 1933, 2087, 2095, 1943, 1931, 1944, 1945, + /* 630 */ 2093, 2053, 1834, 2001, 1995, 2009, 2052, 2019, 2060, 2012, + /* 640 */ 2014, 2057, 2070, 2020, 2018, 2028, 2029, 2031, 2073, 2063, + /* 650 */ 2079, 2039, 2083, 1869, 2033, 2036, 2099, 2084, 1874, 2108, + /* 660 */ 2115, 2117, 2118, 2119, 2120, 2061, 2069, 2111, 1872, 2124, + /* 670 */ 2112, 2161, 2162, 2080, 2125, 1919, 2116, 2081, 2085, 2088, + /* 680 */ 2082, 2090, 2041, 2092, 2174, 2148, 2047, 2094, 2075, 1919, + /* 690 */ 2143, 2152, 2097, 1954, 2100, 2198, 2180, 1986, 2101, 2121, + /* 700 */ 2126, 2122, 2127, 2128, 2156, 2131, 2132, 2175, 2133, 2199, + /* 710 */ 2038, 2135, 2109, 2136, 2189, 2192, 2138, 2141, 2201, 2154, + /* 720 */ 2142, 2204, 2155, 2151, 2224, 2157, 2158, 2226, 2163, 2160, + /* 730 */ 2230, 2168, 2153, 2159, 2164, 2165, 2177, 2238, 2183, 2248, + /* 740 */ 2184, 2238, 2238, 2263, 2219, 2223, 2257, 2259, 2261, 2262, + /* 750 */ 2264, 2265, 2266, 2267, 2228, 2208, 2254, 2272, 2273, 2282, + /* 760 */ 2296, 2284, 2285, 2286, 2247, 1983, 2288, 1985, 2289, 2291, + /* 770 */ 2292, 2293, 2310, 2298, 2342, 2308, 2295, 2306, 2346, 2312, + /* 780 */ 2300, 2313, 2350, 2316, 2305, 2317, 2355, 2322, 2314, 2320, + /* 790 */ 2360, 2326, 2327, 2364, 2344, 2348, 2349, 2351, 2353, 2352, }; -#define YY_REDUCE_COUNT (320) +#define YY_REDUCE_COUNT (322) #define YY_REDUCE_MIN (-404) #define YY_REDUCE_MAX (2418) static const short yy_reduce_ofst[] = { @@ -938,101 +938,101 @@ static const short yy_reduce_ofst[] = { /* 170 */ 910, 827, 829, 1006, 888, 1008, 1020, 1009, 986, 1009, /* 180 */ 1046, 997, 1055, 1054, 1018, 1011, 954, 954, 937, 954, /* 190 */ 965, 959, 1009, 1010, 998, 1021, 1023, 1073, 1025, 1091, - /* 200 */ 1040, 1058, 1076, 1075, 1078, 1125, 1129, 1134, 1087, 1090, - /* 210 */ 1092, 1126, 1130, 1141, 1136, 1150, 1157, 1161, 1169, 1167, - /* 220 */ 1173, 1170, 1100, 1159, 1135, 1164, 1175, 1117, 1172, 1181, - /* 230 */ 1176, 1179, 1180, 1186, 1183, 1197, 1165, 1166, 1168, 1171, - /* 240 */ 1174, 1178, 1184, 1187, 1188, 1189, 1190, 1191, 1200, 1155, - /* 250 */ 1163, 1185, 1137, 1132, 1138, 1203, 1151, 1153, 1196, 1216, - /* 260 */ 1193, 1194, 1238, 1201, 1202, 1205, 1140, 1199, 1219, 1146, - /* 270 */ 1208, 1225, 1226, 1009, 1148, 1154, 1211, 1213, 1215, 1217, - /* 280 */ 1218, 1147, 1204, 1142, 954, 1294, 1221, 1298, 1290, 1292, - /* 290 */ 1250, 1249, 1265, 1268, 1273, 1300, 1303, 1255, 1304, 1280, - /* 300 */ 1328, 1311, 1336, 1347, 1243, 1316, 1309, 1334, 1352, 1355, - /* 310 */ 1361, 1365, 1307, 1287, 1299, 1308, 1337, 1354, 1362, 1370, - /* 320 */ 1368, + /* 200 */ 1040, 1105, 1075, 1076, 1121, 1081, 1078, 1134, 1135, 1137, + /* 210 */ 1087, 1092, 1093, 1128, 1132, 1147, 1146, 1161, 1163, 1164, + /* 220 */ 1169, 1170, 1175, 1174, 1101, 1165, 1136, 1168, 1178, 1120, + /* 230 */ 1176, 1184, 1179, 1180, 1181, 1191, 1183, 1200, 1166, 1167, + /* 240 */ 1171, 1173, 1187, 1188, 1189, 1190, 1193, 1194, 1196, 1197, + /* 250 */ 1201, 1172, 1185, 1205, 1129, 1133, 1138, 1203, 1141, 1151, + /* 260 */ 1208, 1214, 1199, 1202, 1238, 1204, 1210, 1211, 1139, 1212, + /* 270 */ 1219, 1148, 1213, 1222, 1225, 1009, 1150, 1153, 1215, 1186, + /* 280 */ 1216, 1221, 1217, 1144, 1218, 1226, 954, 1294, 1228, 1298, + /* 290 */ 1292, 1299, 1250, 1249, 1273, 1287, 1289, 1293, 1300, 1255, + /* 300 */ 1301, 1280, 1329, 1314, 1336, 1348, 1246, 1317, 1310, 1333, + /* 310 */ 1357, 1355, 1362, 1365, 1307, 1313, 1303, 1308, 1367, 1368, + /* 320 */ 1371, 1370, 1388, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 10 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 20 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 30 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 40 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 50 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 60 */ 2081, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 70 */ 1772, 1772, 1772, 1772, 2054, 1772, 1772, 1772, 1772, 1772, - /* 80 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 90 */ 1772, 1861, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 100 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 110 */ 1859, 2046, 2273, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 120 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 130 */ 1772, 1772, 1772, 1772, 1772, 1772, 2285, 1772, 1772, 1835, - /* 140 */ 1835, 1772, 2285, 2285, 2285, 1859, 2245, 2245, 1772, 1861, - /* 150 */ 2115, 1772, 1772, 1772, 1772, 1772, 1772, 1981, 1772, 1772, - /* 160 */ 1772, 1772, 1772, 2005, 1772, 1772, 1772, 2107, 1772, 1772, - /* 170 */ 2310, 2367, 1772, 1772, 2313, 1772, 1772, 1772, 1772, 1772, - /* 180 */ 1772, 2059, 1772, 1772, 1934, 2300, 2277, 2291, 2351, 2278, - /* 190 */ 2275, 2294, 1772, 2304, 1772, 1772, 2129, 1861, 1772, 1861, - /* 200 */ 2094, 2052, 1772, 2052, 2048, 1772, 1772, 1772, 2052, 2048, - /* 210 */ 2048, 1923, 1919, 1772, 1917, 1772, 1772, 1772, 1772, 1819, - /* 220 */ 1772, 1819, 1772, 1861, 1772, 1861, 1772, 1772, 1861, 1772, - /* 230 */ 1861, 1861, 1861, 1772, 1861, 1772, 1772, 1772, 1772, 1772, - /* 240 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 250 */ 1772, 1772, 2127, 2113, 1772, 1859, 2105, 2103, 1772, 1859, - /* 260 */ 2101, 2304, 1772, 1772, 1772, 1772, 2321, 2319, 1772, 2321, - /* 270 */ 2319, 1772, 1772, 1772, 2335, 2331, 2321, 2340, 2337, 2306, - /* 280 */ 2304, 2370, 2357, 2353, 2291, 1772, 1772, 1772, 1859, 1859, - /* 290 */ 1772, 2319, 1772, 1772, 1772, 1772, 1772, 2319, 1772, 1772, - /* 300 */ 1859, 1772, 1859, 1772, 1772, 1950, 1772, 1772, 1772, 1859, - /* 310 */ 1804, 1772, 2096, 2118, 2077, 2077, 1984, 1984, 1984, 1862, - /* 320 */ 1777, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 330 */ 1772, 1772, 1772, 2334, 2333, 2200, 1772, 2249, 2248, 2247, - /* 340 */ 2238, 2199, 1946, 1772, 2198, 2197, 1772, 1772, 1772, 1772, - /* 350 */ 1772, 1772, 1772, 1772, 1772, 2068, 2067, 2191, 1772, 1772, - /* 360 */ 2192, 2190, 2189, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 370 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 380 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 2354, 2358, 1772, - /* 390 */ 1772, 1772, 1772, 1772, 1772, 2274, 1772, 1772, 1772, 2173, - /* 400 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 410 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 420 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 430 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 440 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 450 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 460 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 470 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 480 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 490 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 500 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 510 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 520 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1809, 2178, - /* 530 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 540 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 550 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 560 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 570 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 580 */ 1900, 1899, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 590 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 600 */ 1772, 1772, 1772, 1772, 2182, 1772, 1772, 1772, 1772, 1772, - /* 610 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 620 */ 1772, 1772, 1772, 2350, 2307, 1772, 1772, 1772, 1772, 1772, - /* 630 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 640 */ 1772, 1772, 1772, 2173, 1772, 2332, 1772, 1772, 2348, 1772, - /* 650 */ 2352, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 2284, 2280, - /* 660 */ 1772, 1772, 2276, 1772, 1772, 1772, 1772, 1772, 2181, 1772, - /* 670 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 680 */ 1772, 1772, 2172, 1772, 2235, 1772, 1772, 1772, 2269, 1772, - /* 690 */ 1772, 2220, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 700 */ 1772, 2182, 1772, 2185, 1772, 1772, 1772, 1772, 1772, 1978, - /* 710 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 720 */ 1772, 1772, 1772, 1772, 1772, 1962, 1960, 1959, 1958, 1772, - /* 730 */ 1991, 1772, 1772, 1772, 1987, 1986, 1772, 1772, 1772, 1772, - /* 740 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1880, - /* 750 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1872, 1772, - /* 760 */ 1871, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 770 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 780 */ 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, 1772, - /* 790 */ 1772, 1772, 1772, + /* 0 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 10 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 20 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 30 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 40 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 50 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 60 */ 2091, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 70 */ 1780, 1780, 1780, 1780, 2064, 1780, 1780, 1780, 1780, 1780, + /* 80 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 90 */ 1780, 1869, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 100 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 110 */ 1867, 2057, 2283, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 120 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 130 */ 1780, 1780, 1780, 1780, 1780, 1780, 2295, 1780, 1780, 1843, + /* 140 */ 1843, 1780, 2295, 2295, 2295, 1867, 2255, 2255, 1780, 1869, + /* 150 */ 2125, 1780, 1780, 1780, 1780, 1780, 1780, 1989, 1780, 1780, + /* 160 */ 1780, 1780, 1780, 2013, 1780, 1780, 1780, 2117, 1780, 1780, + /* 170 */ 2320, 2377, 1780, 1780, 2323, 1780, 1780, 1780, 1780, 1780, + /* 180 */ 1780, 2069, 1780, 1780, 1942, 2310, 2287, 2301, 2361, 2288, + /* 190 */ 2285, 2304, 1780, 2314, 1780, 1780, 2139, 1869, 1780, 1869, + /* 200 */ 2104, 1780, 2062, 1780, 1780, 2062, 2059, 1780, 1780, 1780, + /* 210 */ 2062, 2059, 2059, 1931, 1927, 1780, 1925, 1780, 1780, 1780, + /* 220 */ 1780, 1827, 1780, 1827, 1780, 1869, 1780, 1869, 1780, 1780, + /* 230 */ 1869, 1780, 1869, 1869, 1869, 1780, 1869, 1780, 1780, 1780, + /* 240 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 250 */ 1780, 1780, 1780, 1780, 2137, 2123, 1780, 1867, 2115, 2113, + /* 260 */ 1780, 1867, 2111, 2314, 1780, 1780, 1780, 1780, 2331, 2329, + /* 270 */ 1780, 2331, 2329, 1780, 1780, 1780, 2345, 2341, 2331, 2350, + /* 280 */ 2347, 2316, 2314, 2380, 2367, 2363, 2301, 1780, 1780, 1780, + /* 290 */ 1867, 1867, 1780, 2329, 1780, 1780, 1780, 1780, 1780, 2329, + /* 300 */ 1780, 1780, 1867, 1780, 1867, 1780, 1780, 1958, 1780, 1780, + /* 310 */ 1780, 1867, 1812, 1780, 2106, 2128, 2087, 2087, 1992, 1992, + /* 320 */ 1992, 1870, 1785, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 330 */ 1780, 1780, 1780, 1780, 1780, 2344, 2343, 2210, 1780, 2259, + /* 340 */ 2258, 2257, 2248, 2209, 1954, 1780, 2208, 2207, 1780, 1780, + /* 350 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 2078, 2077, 2201, + /* 360 */ 1780, 1780, 2202, 2200, 2199, 1780, 1780, 1780, 1780, 1780, + /* 370 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 380 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 2364, + /* 390 */ 2368, 1780, 1780, 1780, 1780, 1780, 1780, 2284, 1780, 1780, + /* 400 */ 1780, 2183, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 410 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 420 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 430 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 440 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 450 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 460 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 470 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 480 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 490 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 500 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 510 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 520 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 530 */ 1780, 1780, 1780, 1780, 1780, 1817, 2188, 1780, 1780, 1780, + /* 540 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 550 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 560 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 570 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 580 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1908, 1907, 1780, + /* 590 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 600 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 610 */ 1780, 2192, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 620 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 630 */ 2360, 2317, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 640 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 650 */ 2183, 1780, 2342, 1780, 1780, 2358, 1780, 2362, 1780, 1780, + /* 660 */ 1780, 1780, 1780, 1780, 1780, 2294, 2290, 1780, 1780, 2286, + /* 670 */ 1780, 1780, 1780, 1780, 1780, 2191, 1780, 1780, 1780, 1780, + /* 680 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 2182, + /* 690 */ 1780, 2245, 1780, 1780, 1780, 2279, 1780, 1780, 2230, 1780, + /* 700 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 2192, 1780, + /* 710 */ 2195, 1780, 1780, 1780, 1780, 1780, 1986, 1780, 1780, 1780, + /* 720 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 730 */ 1780, 1780, 1970, 1968, 1967, 1966, 1780, 1999, 1780, 1780, + /* 740 */ 1780, 1995, 1994, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 750 */ 1780, 1780, 1780, 1780, 1780, 1780, 1888, 1780, 1780, 1780, + /* 760 */ 1780, 1780, 1780, 1780, 1780, 1880, 1780, 1879, 1780, 1780, + /* 770 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 780 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 790 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, }; /********** End of lemon-generated parsing tables *****************************/ @@ -2213,362 +2213,364 @@ static const char *const yyRuleName[] = { /* 239 */ "cmd ::= SHOW QNODES", /* 240 */ "cmd ::= SHOW FUNCTIONS", /* 241 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", - /* 242 */ "cmd ::= SHOW STREAMS", - /* 243 */ "cmd ::= SHOW ACCOUNTS", - /* 244 */ "cmd ::= SHOW APPS", - /* 245 */ "cmd ::= SHOW CONNECTIONS", - /* 246 */ "cmd ::= SHOW LICENCES", - /* 247 */ "cmd ::= SHOW GRANTS", - /* 248 */ "cmd ::= SHOW CREATE DATABASE db_name", - /* 249 */ "cmd ::= SHOW CREATE TABLE full_table_name", - /* 250 */ "cmd ::= SHOW CREATE STABLE full_table_name", - /* 251 */ "cmd ::= SHOW QUERIES", - /* 252 */ "cmd ::= SHOW SCORES", - /* 253 */ "cmd ::= SHOW TOPICS", - /* 254 */ "cmd ::= SHOW VARIABLES", - /* 255 */ "cmd ::= SHOW CLUSTER VARIABLES", - /* 256 */ "cmd ::= SHOW LOCAL VARIABLES", - /* 257 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", - /* 258 */ "cmd ::= SHOW BNODES", - /* 259 */ "cmd ::= SHOW SNODES", - /* 260 */ "cmd ::= SHOW CLUSTER", - /* 261 */ "cmd ::= SHOW TRANSACTIONS", - /* 262 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", - /* 263 */ "cmd ::= SHOW CONSUMERS", - /* 264 */ "cmd ::= SHOW SUBSCRIPTIONS", - /* 265 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", - /* 266 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", - /* 267 */ "cmd ::= SHOW VNODES NK_INTEGER", - /* 268 */ "cmd ::= SHOW VNODES NK_STRING", - /* 269 */ "cmd ::= SHOW db_name_cond_opt ALIVE", - /* 270 */ "cmd ::= SHOW CLUSTER ALIVE", - /* 271 */ "db_name_cond_opt ::=", - /* 272 */ "db_name_cond_opt ::= db_name NK_DOT", - /* 273 */ "like_pattern_opt ::=", - /* 274 */ "like_pattern_opt ::= LIKE NK_STRING", - /* 275 */ "table_name_cond ::= table_name", - /* 276 */ "table_name_cond ::= db_name NK_DOT table_name", - /* 277 */ "from_db_opt ::=", - /* 278 */ "from_db_opt ::= FROM db_name", - /* 279 */ "tag_list_opt ::=", - /* 280 */ "tag_list_opt ::= tag_item", - /* 281 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", - /* 282 */ "tag_item ::= TBNAME", - /* 283 */ "tag_item ::= QTAGS", - /* 284 */ "tag_item ::= column_name", - /* 285 */ "tag_item ::= column_name column_alias", - /* 286 */ "tag_item ::= column_name AS column_alias", - /* 287 */ "cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options", - /* 288 */ "cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP", - /* 289 */ "cmd ::= DROP INDEX exists_opt full_index_name", - /* 290 */ "full_index_name ::= index_name", - /* 291 */ "full_index_name ::= db_name NK_DOT index_name", - /* 292 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", - /* 293 */ "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", - /* 294 */ "func_list ::= func", - /* 295 */ "func_list ::= func_list NK_COMMA func", - /* 296 */ "func ::= sma_func_name NK_LP expression_list NK_RP", - /* 297 */ "sma_func_name ::= function_name", - /* 298 */ "sma_func_name ::= COUNT", - /* 299 */ "sma_func_name ::= FIRST", - /* 300 */ "sma_func_name ::= LAST", - /* 301 */ "sma_func_name ::= LAST_ROW", - /* 302 */ "sma_stream_opt ::=", - /* 303 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", - /* 304 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", - /* 305 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", - /* 306 */ "with_meta ::= AS", - /* 307 */ "with_meta ::= WITH META AS", - /* 308 */ "with_meta ::= ONLY META AS", - /* 309 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", - /* 310 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name", - /* 311 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt", - /* 312 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 313 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 314 */ "cmd ::= DESC full_table_name", - /* 315 */ "cmd ::= DESCRIBE full_table_name", - /* 316 */ "cmd ::= RESET QUERY CACHE", - /* 317 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", - /* 318 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", - /* 319 */ "analyze_opt ::=", - /* 320 */ "analyze_opt ::= ANALYZE", - /* 321 */ "explain_options ::=", - /* 322 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 323 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 324 */ "cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", - /* 325 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 326 */ "agg_func_opt ::=", - /* 327 */ "agg_func_opt ::= AGGREGATE", - /* 328 */ "bufsize_opt ::=", - /* 329 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 330 */ "language_opt ::=", - /* 331 */ "language_opt ::= LANGUAGE NK_STRING", - /* 332 */ "or_replace_opt ::=", - /* 333 */ "or_replace_opt ::= OR REPLACE", - /* 334 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery", - /* 335 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 336 */ "cmd ::= PAUSE STREAM exists_opt stream_name", - /* 337 */ "cmd ::= RESUME STREAM exists_opt ignore_opt stream_name", - /* 338 */ "col_list_opt ::=", - /* 339 */ "col_list_opt ::= NK_LP col_name_list NK_RP", - /* 340 */ "tag_def_or_ref_opt ::=", - /* 341 */ "tag_def_or_ref_opt ::= tags_def", - /* 342 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", - /* 343 */ "stream_options ::=", - /* 344 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 345 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 346 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 347 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 348 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", - /* 349 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", - /* 350 */ "stream_options ::= stream_options DELETE_MARK duration_literal", - /* 351 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", - /* 352 */ "subtable_opt ::=", - /* 353 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", - /* 354 */ "ignore_opt ::=", - /* 355 */ "ignore_opt ::= IGNORE UNTREATED", - /* 356 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 357 */ "cmd ::= KILL QUERY NK_STRING", - /* 358 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 359 */ "cmd ::= BALANCE VGROUP", - /* 360 */ "cmd ::= BALANCE VGROUP LEADER", - /* 361 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 362 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 363 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 364 */ "dnode_list ::= DNODE NK_INTEGER", - /* 365 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 366 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 367 */ "cmd ::= query_or_subquery", - /* 368 */ "cmd ::= insert_query", - /* 369 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 370 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", - /* 371 */ "literal ::= NK_INTEGER", - /* 372 */ "literal ::= NK_FLOAT", - /* 373 */ "literal ::= NK_STRING", - /* 374 */ "literal ::= NK_BOOL", - /* 375 */ "literal ::= TIMESTAMP NK_STRING", - /* 376 */ "literal ::= duration_literal", - /* 377 */ "literal ::= NULL", - /* 378 */ "literal ::= NK_QUESTION", - /* 379 */ "duration_literal ::= NK_VARIABLE", - /* 380 */ "signed ::= NK_INTEGER", - /* 381 */ "signed ::= NK_PLUS NK_INTEGER", - /* 382 */ "signed ::= NK_MINUS NK_INTEGER", - /* 383 */ "signed ::= NK_FLOAT", - /* 384 */ "signed ::= NK_PLUS NK_FLOAT", - /* 385 */ "signed ::= NK_MINUS NK_FLOAT", - /* 386 */ "signed_literal ::= signed", - /* 387 */ "signed_literal ::= NK_STRING", - /* 388 */ "signed_literal ::= NK_BOOL", - /* 389 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 390 */ "signed_literal ::= duration_literal", - /* 391 */ "signed_literal ::= NULL", - /* 392 */ "signed_literal ::= literal_func", - /* 393 */ "signed_literal ::= NK_QUESTION", - /* 394 */ "literal_list ::= signed_literal", - /* 395 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 396 */ "db_name ::= NK_ID", - /* 397 */ "table_name ::= NK_ID", - /* 398 */ "column_name ::= NK_ID", - /* 399 */ "function_name ::= NK_ID", - /* 400 */ "table_alias ::= NK_ID", - /* 401 */ "column_alias ::= NK_ID", - /* 402 */ "user_name ::= NK_ID", - /* 403 */ "topic_name ::= NK_ID", - /* 404 */ "stream_name ::= NK_ID", - /* 405 */ "cgroup_name ::= NK_ID", - /* 406 */ "index_name ::= NK_ID", - /* 407 */ "expr_or_subquery ::= expression", - /* 408 */ "expression ::= literal", - /* 409 */ "expression ::= pseudo_column", - /* 410 */ "expression ::= column_reference", - /* 411 */ "expression ::= function_expression", - /* 412 */ "expression ::= case_when_expression", - /* 413 */ "expression ::= NK_LP expression NK_RP", - /* 414 */ "expression ::= NK_PLUS expr_or_subquery", - /* 415 */ "expression ::= NK_MINUS expr_or_subquery", - /* 416 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 417 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 418 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 419 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 420 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 421 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 422 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 423 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 424 */ "expression_list ::= expr_or_subquery", - /* 425 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 426 */ "column_reference ::= column_name", - /* 427 */ "column_reference ::= table_name NK_DOT column_name", - /* 428 */ "pseudo_column ::= ROWTS", - /* 429 */ "pseudo_column ::= TBNAME", - /* 430 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 431 */ "pseudo_column ::= QSTART", - /* 432 */ "pseudo_column ::= QEND", - /* 433 */ "pseudo_column ::= QDURATION", - /* 434 */ "pseudo_column ::= WSTART", - /* 435 */ "pseudo_column ::= WEND", - /* 436 */ "pseudo_column ::= WDURATION", - /* 437 */ "pseudo_column ::= IROWTS", - /* 438 */ "pseudo_column ::= ISFILLED", - /* 439 */ "pseudo_column ::= QTAGS", - /* 440 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 441 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 442 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 443 */ "function_expression ::= literal_func", - /* 444 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 445 */ "literal_func ::= NOW", - /* 446 */ "noarg_func ::= NOW", - /* 447 */ "noarg_func ::= TODAY", - /* 448 */ "noarg_func ::= TIMEZONE", - /* 449 */ "noarg_func ::= DATABASE", - /* 450 */ "noarg_func ::= CLIENT_VERSION", - /* 451 */ "noarg_func ::= SERVER_VERSION", - /* 452 */ "noarg_func ::= SERVER_STATUS", - /* 453 */ "noarg_func ::= CURRENT_USER", - /* 454 */ "noarg_func ::= USER", - /* 455 */ "star_func ::= COUNT", - /* 456 */ "star_func ::= FIRST", - /* 457 */ "star_func ::= LAST", - /* 458 */ "star_func ::= LAST_ROW", - /* 459 */ "star_func_para_list ::= NK_STAR", - /* 460 */ "star_func_para_list ::= other_para_list", - /* 461 */ "other_para_list ::= star_func_para", - /* 462 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 463 */ "star_func_para ::= expr_or_subquery", - /* 464 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 465 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 466 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 467 */ "when_then_list ::= when_then_expr", - /* 468 */ "when_then_list ::= when_then_list when_then_expr", - /* 469 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 470 */ "case_when_else_opt ::=", - /* 471 */ "case_when_else_opt ::= ELSE common_expression", - /* 472 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 473 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 474 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 475 */ "predicate ::= expr_or_subquery IS NULL", - /* 476 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 477 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 478 */ "compare_op ::= NK_LT", - /* 479 */ "compare_op ::= NK_GT", - /* 480 */ "compare_op ::= NK_LE", - /* 481 */ "compare_op ::= NK_GE", - /* 482 */ "compare_op ::= NK_NE", - /* 483 */ "compare_op ::= NK_EQ", - /* 484 */ "compare_op ::= LIKE", - /* 485 */ "compare_op ::= NOT LIKE", - /* 486 */ "compare_op ::= MATCH", - /* 487 */ "compare_op ::= NMATCH", - /* 488 */ "compare_op ::= CONTAINS", - /* 489 */ "in_op ::= IN", - /* 490 */ "in_op ::= NOT IN", - /* 491 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 492 */ "boolean_value_expression ::= boolean_primary", - /* 493 */ "boolean_value_expression ::= NOT boolean_primary", - /* 494 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 495 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 496 */ "boolean_primary ::= predicate", - /* 497 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 498 */ "common_expression ::= expr_or_subquery", - /* 499 */ "common_expression ::= boolean_value_expression", - /* 500 */ "from_clause_opt ::=", - /* 501 */ "from_clause_opt ::= FROM table_reference_list", - /* 502 */ "table_reference_list ::= table_reference", - /* 503 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 504 */ "table_reference ::= table_primary", - /* 505 */ "table_reference ::= joined_table", - /* 506 */ "table_primary ::= table_name alias_opt", - /* 507 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 508 */ "table_primary ::= subquery alias_opt", - /* 509 */ "table_primary ::= parenthesized_joined_table", - /* 510 */ "alias_opt ::=", - /* 511 */ "alias_opt ::= table_alias", - /* 512 */ "alias_opt ::= AS table_alias", - /* 513 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 514 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 515 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 516 */ "join_type ::=", - /* 517 */ "join_type ::= INNER", - /* 518 */ "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", - /* 519 */ "set_quantifier_opt ::=", - /* 520 */ "set_quantifier_opt ::= DISTINCT", - /* 521 */ "set_quantifier_opt ::= ALL", - /* 522 */ "select_list ::= select_item", - /* 523 */ "select_list ::= select_list NK_COMMA select_item", - /* 524 */ "select_item ::= NK_STAR", - /* 525 */ "select_item ::= common_expression", - /* 526 */ "select_item ::= common_expression column_alias", - /* 527 */ "select_item ::= common_expression AS column_alias", - /* 528 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 529 */ "where_clause_opt ::=", - /* 530 */ "where_clause_opt ::= WHERE search_condition", - /* 531 */ "partition_by_clause_opt ::=", - /* 532 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 533 */ "partition_list ::= partition_item", - /* 534 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 535 */ "partition_item ::= expr_or_subquery", - /* 536 */ "partition_item ::= expr_or_subquery column_alias", - /* 537 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 538 */ "twindow_clause_opt ::=", - /* 539 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 540 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 541 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 542 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 543 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 544 */ "sliding_opt ::=", - /* 545 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 546 */ "fill_opt ::=", - /* 547 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 548 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", - /* 549 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", - /* 550 */ "fill_mode ::= NONE", - /* 551 */ "fill_mode ::= PREV", - /* 552 */ "fill_mode ::= NULL", - /* 553 */ "fill_mode ::= NULL_F", - /* 554 */ "fill_mode ::= LINEAR", - /* 555 */ "fill_mode ::= NEXT", - /* 556 */ "group_by_clause_opt ::=", - /* 557 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 558 */ "group_by_list ::= expr_or_subquery", - /* 559 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 560 */ "having_clause_opt ::=", - /* 561 */ "having_clause_opt ::= HAVING search_condition", - /* 562 */ "range_opt ::=", - /* 563 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 564 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", - /* 565 */ "every_opt ::=", - /* 566 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 567 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 568 */ "query_simple ::= query_specification", - /* 569 */ "query_simple ::= union_query_expression", - /* 570 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 571 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 572 */ "query_simple_or_subquery ::= query_simple", - /* 573 */ "query_simple_or_subquery ::= subquery", - /* 574 */ "query_or_subquery ::= query_expression", - /* 575 */ "query_or_subquery ::= subquery", - /* 576 */ "order_by_clause_opt ::=", - /* 577 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 578 */ "slimit_clause_opt ::=", - /* 579 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 580 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 581 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 582 */ "limit_clause_opt ::=", - /* 583 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 584 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 585 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 586 */ "subquery ::= NK_LP query_expression NK_RP", - /* 587 */ "subquery ::= NK_LP subquery NK_RP", - /* 588 */ "search_condition ::= common_expression", - /* 589 */ "sort_specification_list ::= sort_specification", - /* 590 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 591 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 592 */ "ordering_specification_opt ::=", - /* 593 */ "ordering_specification_opt ::= ASC", - /* 594 */ "ordering_specification_opt ::= DESC", - /* 595 */ "null_ordering_opt ::=", - /* 596 */ "null_ordering_opt ::= NULLS FIRST", - /* 597 */ "null_ordering_opt ::= NULLS LAST", + /* 242 */ "cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name", + /* 243 */ "cmd ::= SHOW STREAMS", + /* 244 */ "cmd ::= SHOW ACCOUNTS", + /* 245 */ "cmd ::= SHOW APPS", + /* 246 */ "cmd ::= SHOW CONNECTIONS", + /* 247 */ "cmd ::= SHOW LICENCES", + /* 248 */ "cmd ::= SHOW GRANTS", + /* 249 */ "cmd ::= SHOW CREATE DATABASE db_name", + /* 250 */ "cmd ::= SHOW CREATE TABLE full_table_name", + /* 251 */ "cmd ::= SHOW CREATE STABLE full_table_name", + /* 252 */ "cmd ::= SHOW QUERIES", + /* 253 */ "cmd ::= SHOW SCORES", + /* 254 */ "cmd ::= SHOW TOPICS", + /* 255 */ "cmd ::= SHOW VARIABLES", + /* 256 */ "cmd ::= SHOW CLUSTER VARIABLES", + /* 257 */ "cmd ::= SHOW LOCAL VARIABLES", + /* 258 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", + /* 259 */ "cmd ::= SHOW BNODES", + /* 260 */ "cmd ::= SHOW SNODES", + /* 261 */ "cmd ::= SHOW CLUSTER", + /* 262 */ "cmd ::= SHOW TRANSACTIONS", + /* 263 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", + /* 264 */ "cmd ::= SHOW CONSUMERS", + /* 265 */ "cmd ::= SHOW SUBSCRIPTIONS", + /* 266 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", + /* 267 */ "cmd ::= SHOW TAGS FROM db_name NK_DOT table_name", + /* 268 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", + /* 269 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name", + /* 270 */ "cmd ::= SHOW VNODES NK_INTEGER", + /* 271 */ "cmd ::= SHOW VNODES NK_STRING", + /* 272 */ "cmd ::= SHOW db_name_cond_opt ALIVE", + /* 273 */ "cmd ::= SHOW CLUSTER ALIVE", + /* 274 */ "db_name_cond_opt ::=", + /* 275 */ "db_name_cond_opt ::= db_name NK_DOT", + /* 276 */ "like_pattern_opt ::=", + /* 277 */ "like_pattern_opt ::= LIKE NK_STRING", + /* 278 */ "table_name_cond ::= table_name", + /* 279 */ "from_db_opt ::=", + /* 280 */ "from_db_opt ::= FROM db_name", + /* 281 */ "tag_list_opt ::=", + /* 282 */ "tag_list_opt ::= tag_item", + /* 283 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", + /* 284 */ "tag_item ::= TBNAME", + /* 285 */ "tag_item ::= QTAGS", + /* 286 */ "tag_item ::= column_name", + /* 287 */ "tag_item ::= column_name column_alias", + /* 288 */ "tag_item ::= column_name AS column_alias", + /* 289 */ "cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options", + /* 290 */ "cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP", + /* 291 */ "cmd ::= DROP INDEX exists_opt full_index_name", + /* 292 */ "full_index_name ::= index_name", + /* 293 */ "full_index_name ::= db_name NK_DOT index_name", + /* 294 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", + /* 295 */ "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", + /* 296 */ "func_list ::= func", + /* 297 */ "func_list ::= func_list NK_COMMA func", + /* 298 */ "func ::= sma_func_name NK_LP expression_list NK_RP", + /* 299 */ "sma_func_name ::= function_name", + /* 300 */ "sma_func_name ::= COUNT", + /* 301 */ "sma_func_name ::= FIRST", + /* 302 */ "sma_func_name ::= LAST", + /* 303 */ "sma_func_name ::= LAST_ROW", + /* 304 */ "sma_stream_opt ::=", + /* 305 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", + /* 306 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", + /* 307 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", + /* 308 */ "with_meta ::= AS", + /* 309 */ "with_meta ::= WITH META AS", + /* 310 */ "with_meta ::= ONLY META AS", + /* 311 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", + /* 312 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name", + /* 313 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt", + /* 314 */ "cmd ::= DROP TOPIC exists_opt topic_name", + /* 315 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", + /* 316 */ "cmd ::= DESC full_table_name", + /* 317 */ "cmd ::= DESCRIBE full_table_name", + /* 318 */ "cmd ::= RESET QUERY CACHE", + /* 319 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", + /* 320 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", + /* 321 */ "analyze_opt ::=", + /* 322 */ "analyze_opt ::= ANALYZE", + /* 323 */ "explain_options ::=", + /* 324 */ "explain_options ::= explain_options VERBOSE NK_BOOL", + /* 325 */ "explain_options ::= explain_options RATIO NK_FLOAT", + /* 326 */ "cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", + /* 327 */ "cmd ::= DROP FUNCTION exists_opt function_name", + /* 328 */ "agg_func_opt ::=", + /* 329 */ "agg_func_opt ::= AGGREGATE", + /* 330 */ "bufsize_opt ::=", + /* 331 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", + /* 332 */ "language_opt ::=", + /* 333 */ "language_opt ::= LANGUAGE NK_STRING", + /* 334 */ "or_replace_opt ::=", + /* 335 */ "or_replace_opt ::= OR REPLACE", + /* 336 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery", + /* 337 */ "cmd ::= DROP STREAM exists_opt stream_name", + /* 338 */ "cmd ::= PAUSE STREAM exists_opt stream_name", + /* 339 */ "cmd ::= RESUME STREAM exists_opt ignore_opt stream_name", + /* 340 */ "col_list_opt ::=", + /* 341 */ "col_list_opt ::= NK_LP col_name_list NK_RP", + /* 342 */ "tag_def_or_ref_opt ::=", + /* 343 */ "tag_def_or_ref_opt ::= tags_def", + /* 344 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", + /* 345 */ "stream_options ::=", + /* 346 */ "stream_options ::= stream_options TRIGGER AT_ONCE", + /* 347 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", + /* 348 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", + /* 349 */ "stream_options ::= stream_options WATERMARK duration_literal", + /* 350 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", + /* 351 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", + /* 352 */ "stream_options ::= stream_options DELETE_MARK duration_literal", + /* 353 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", + /* 354 */ "subtable_opt ::=", + /* 355 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", + /* 356 */ "ignore_opt ::=", + /* 357 */ "ignore_opt ::= IGNORE UNTREATED", + /* 358 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 359 */ "cmd ::= KILL QUERY NK_STRING", + /* 360 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 361 */ "cmd ::= BALANCE VGROUP", + /* 362 */ "cmd ::= BALANCE VGROUP LEADER", + /* 363 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 364 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 365 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 366 */ "dnode_list ::= DNODE NK_INTEGER", + /* 367 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 368 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 369 */ "cmd ::= query_or_subquery", + /* 370 */ "cmd ::= insert_query", + /* 371 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 372 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", + /* 373 */ "literal ::= NK_INTEGER", + /* 374 */ "literal ::= NK_FLOAT", + /* 375 */ "literal ::= NK_STRING", + /* 376 */ "literal ::= NK_BOOL", + /* 377 */ "literal ::= TIMESTAMP NK_STRING", + /* 378 */ "literal ::= duration_literal", + /* 379 */ "literal ::= NULL", + /* 380 */ "literal ::= NK_QUESTION", + /* 381 */ "duration_literal ::= NK_VARIABLE", + /* 382 */ "signed ::= NK_INTEGER", + /* 383 */ "signed ::= NK_PLUS NK_INTEGER", + /* 384 */ "signed ::= NK_MINUS NK_INTEGER", + /* 385 */ "signed ::= NK_FLOAT", + /* 386 */ "signed ::= NK_PLUS NK_FLOAT", + /* 387 */ "signed ::= NK_MINUS NK_FLOAT", + /* 388 */ "signed_literal ::= signed", + /* 389 */ "signed_literal ::= NK_STRING", + /* 390 */ "signed_literal ::= NK_BOOL", + /* 391 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 392 */ "signed_literal ::= duration_literal", + /* 393 */ "signed_literal ::= NULL", + /* 394 */ "signed_literal ::= literal_func", + /* 395 */ "signed_literal ::= NK_QUESTION", + /* 396 */ "literal_list ::= signed_literal", + /* 397 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 398 */ "db_name ::= NK_ID", + /* 399 */ "table_name ::= NK_ID", + /* 400 */ "column_name ::= NK_ID", + /* 401 */ "function_name ::= NK_ID", + /* 402 */ "table_alias ::= NK_ID", + /* 403 */ "column_alias ::= NK_ID", + /* 404 */ "user_name ::= NK_ID", + /* 405 */ "topic_name ::= NK_ID", + /* 406 */ "stream_name ::= NK_ID", + /* 407 */ "cgroup_name ::= NK_ID", + /* 408 */ "index_name ::= NK_ID", + /* 409 */ "expr_or_subquery ::= expression", + /* 410 */ "expression ::= literal", + /* 411 */ "expression ::= pseudo_column", + /* 412 */ "expression ::= column_reference", + /* 413 */ "expression ::= function_expression", + /* 414 */ "expression ::= case_when_expression", + /* 415 */ "expression ::= NK_LP expression NK_RP", + /* 416 */ "expression ::= NK_PLUS expr_or_subquery", + /* 417 */ "expression ::= NK_MINUS expr_or_subquery", + /* 418 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 419 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 420 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 421 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 422 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 423 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 424 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 425 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 426 */ "expression_list ::= expr_or_subquery", + /* 427 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 428 */ "column_reference ::= column_name", + /* 429 */ "column_reference ::= table_name NK_DOT column_name", + /* 430 */ "pseudo_column ::= ROWTS", + /* 431 */ "pseudo_column ::= TBNAME", + /* 432 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 433 */ "pseudo_column ::= QSTART", + /* 434 */ "pseudo_column ::= QEND", + /* 435 */ "pseudo_column ::= QDURATION", + /* 436 */ "pseudo_column ::= WSTART", + /* 437 */ "pseudo_column ::= WEND", + /* 438 */ "pseudo_column ::= WDURATION", + /* 439 */ "pseudo_column ::= IROWTS", + /* 440 */ "pseudo_column ::= ISFILLED", + /* 441 */ "pseudo_column ::= QTAGS", + /* 442 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 443 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 444 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 445 */ "function_expression ::= literal_func", + /* 446 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 447 */ "literal_func ::= NOW", + /* 448 */ "noarg_func ::= NOW", + /* 449 */ "noarg_func ::= TODAY", + /* 450 */ "noarg_func ::= TIMEZONE", + /* 451 */ "noarg_func ::= DATABASE", + /* 452 */ "noarg_func ::= CLIENT_VERSION", + /* 453 */ "noarg_func ::= SERVER_VERSION", + /* 454 */ "noarg_func ::= SERVER_STATUS", + /* 455 */ "noarg_func ::= CURRENT_USER", + /* 456 */ "noarg_func ::= USER", + /* 457 */ "star_func ::= COUNT", + /* 458 */ "star_func ::= FIRST", + /* 459 */ "star_func ::= LAST", + /* 460 */ "star_func ::= LAST_ROW", + /* 461 */ "star_func_para_list ::= NK_STAR", + /* 462 */ "star_func_para_list ::= other_para_list", + /* 463 */ "other_para_list ::= star_func_para", + /* 464 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 465 */ "star_func_para ::= expr_or_subquery", + /* 466 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 467 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 468 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 469 */ "when_then_list ::= when_then_expr", + /* 470 */ "when_then_list ::= when_then_list when_then_expr", + /* 471 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 472 */ "case_when_else_opt ::=", + /* 473 */ "case_when_else_opt ::= ELSE common_expression", + /* 474 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 475 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 476 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 477 */ "predicate ::= expr_or_subquery IS NULL", + /* 478 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 479 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 480 */ "compare_op ::= NK_LT", + /* 481 */ "compare_op ::= NK_GT", + /* 482 */ "compare_op ::= NK_LE", + /* 483 */ "compare_op ::= NK_GE", + /* 484 */ "compare_op ::= NK_NE", + /* 485 */ "compare_op ::= NK_EQ", + /* 486 */ "compare_op ::= LIKE", + /* 487 */ "compare_op ::= NOT LIKE", + /* 488 */ "compare_op ::= MATCH", + /* 489 */ "compare_op ::= NMATCH", + /* 490 */ "compare_op ::= CONTAINS", + /* 491 */ "in_op ::= IN", + /* 492 */ "in_op ::= NOT IN", + /* 493 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 494 */ "boolean_value_expression ::= boolean_primary", + /* 495 */ "boolean_value_expression ::= NOT boolean_primary", + /* 496 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 497 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 498 */ "boolean_primary ::= predicate", + /* 499 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 500 */ "common_expression ::= expr_or_subquery", + /* 501 */ "common_expression ::= boolean_value_expression", + /* 502 */ "from_clause_opt ::=", + /* 503 */ "from_clause_opt ::= FROM table_reference_list", + /* 504 */ "table_reference_list ::= table_reference", + /* 505 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 506 */ "table_reference ::= table_primary", + /* 507 */ "table_reference ::= joined_table", + /* 508 */ "table_primary ::= table_name alias_opt", + /* 509 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 510 */ "table_primary ::= subquery alias_opt", + /* 511 */ "table_primary ::= parenthesized_joined_table", + /* 512 */ "alias_opt ::=", + /* 513 */ "alias_opt ::= table_alias", + /* 514 */ "alias_opt ::= AS table_alias", + /* 515 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 516 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 517 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 518 */ "join_type ::=", + /* 519 */ "join_type ::= INNER", + /* 520 */ "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", + /* 521 */ "set_quantifier_opt ::=", + /* 522 */ "set_quantifier_opt ::= DISTINCT", + /* 523 */ "set_quantifier_opt ::= ALL", + /* 524 */ "select_list ::= select_item", + /* 525 */ "select_list ::= select_list NK_COMMA select_item", + /* 526 */ "select_item ::= NK_STAR", + /* 527 */ "select_item ::= common_expression", + /* 528 */ "select_item ::= common_expression column_alias", + /* 529 */ "select_item ::= common_expression AS column_alias", + /* 530 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 531 */ "where_clause_opt ::=", + /* 532 */ "where_clause_opt ::= WHERE search_condition", + /* 533 */ "partition_by_clause_opt ::=", + /* 534 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 535 */ "partition_list ::= partition_item", + /* 536 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 537 */ "partition_item ::= expr_or_subquery", + /* 538 */ "partition_item ::= expr_or_subquery column_alias", + /* 539 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 540 */ "twindow_clause_opt ::=", + /* 541 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 542 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 543 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 544 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 545 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 546 */ "sliding_opt ::=", + /* 547 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 548 */ "fill_opt ::=", + /* 549 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 550 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", + /* 551 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", + /* 552 */ "fill_mode ::= NONE", + /* 553 */ "fill_mode ::= PREV", + /* 554 */ "fill_mode ::= NULL", + /* 555 */ "fill_mode ::= NULL_F", + /* 556 */ "fill_mode ::= LINEAR", + /* 557 */ "fill_mode ::= NEXT", + /* 558 */ "group_by_clause_opt ::=", + /* 559 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 560 */ "group_by_list ::= expr_or_subquery", + /* 561 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 562 */ "having_clause_opt ::=", + /* 563 */ "having_clause_opt ::= HAVING search_condition", + /* 564 */ "range_opt ::=", + /* 565 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 566 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", + /* 567 */ "every_opt ::=", + /* 568 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 569 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 570 */ "query_simple ::= query_specification", + /* 571 */ "query_simple ::= union_query_expression", + /* 572 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 573 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 574 */ "query_simple_or_subquery ::= query_simple", + /* 575 */ "query_simple_or_subquery ::= subquery", + /* 576 */ "query_or_subquery ::= query_expression", + /* 577 */ "query_or_subquery ::= subquery", + /* 578 */ "order_by_clause_opt ::=", + /* 579 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 580 */ "slimit_clause_opt ::=", + /* 581 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 582 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 583 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 584 */ "limit_clause_opt ::=", + /* 585 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 586 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 587 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 588 */ "subquery ::= NK_LP query_expression NK_RP", + /* 589 */ "subquery ::= NK_LP subquery NK_RP", + /* 590 */ "search_condition ::= common_expression", + /* 591 */ "sort_specification_list ::= sort_specification", + /* 592 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 593 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 594 */ "ordering_specification_opt ::=", + /* 595 */ "ordering_specification_opt ::= ASC", + /* 596 */ "ordering_specification_opt ::= DESC", + /* 597 */ "null_ordering_opt ::=", + /* 598 */ "null_ordering_opt ::= NULLS FIRST", + /* 599 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -3432,362 +3434,364 @@ static const YYCODETYPE yyRuleInfoLhs[] = { 338, /* (239) cmd ::= SHOW QNODES */ 338, /* (240) cmd ::= SHOW FUNCTIONS */ 338, /* (241) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - 338, /* (242) cmd ::= SHOW STREAMS */ - 338, /* (243) cmd ::= SHOW ACCOUNTS */ - 338, /* (244) cmd ::= SHOW APPS */ - 338, /* (245) cmd ::= SHOW CONNECTIONS */ - 338, /* (246) cmd ::= SHOW LICENCES */ - 338, /* (247) cmd ::= SHOW GRANTS */ - 338, /* (248) cmd ::= SHOW CREATE DATABASE db_name */ - 338, /* (249) cmd ::= SHOW CREATE TABLE full_table_name */ - 338, /* (250) cmd ::= SHOW CREATE STABLE full_table_name */ - 338, /* (251) cmd ::= SHOW QUERIES */ - 338, /* (252) cmd ::= SHOW SCORES */ - 338, /* (253) cmd ::= SHOW TOPICS */ - 338, /* (254) cmd ::= SHOW VARIABLES */ - 338, /* (255) cmd ::= SHOW CLUSTER VARIABLES */ - 338, /* (256) cmd ::= SHOW LOCAL VARIABLES */ - 338, /* (257) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - 338, /* (258) cmd ::= SHOW BNODES */ - 338, /* (259) cmd ::= SHOW SNODES */ - 338, /* (260) cmd ::= SHOW CLUSTER */ - 338, /* (261) cmd ::= SHOW TRANSACTIONS */ - 338, /* (262) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - 338, /* (263) cmd ::= SHOW CONSUMERS */ - 338, /* (264) cmd ::= SHOW SUBSCRIPTIONS */ - 338, /* (265) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - 338, /* (266) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - 338, /* (267) cmd ::= SHOW VNODES NK_INTEGER */ - 338, /* (268) cmd ::= SHOW VNODES NK_STRING */ - 338, /* (269) cmd ::= SHOW db_name_cond_opt ALIVE */ - 338, /* (270) cmd ::= SHOW CLUSTER ALIVE */ - 395, /* (271) db_name_cond_opt ::= */ - 395, /* (272) db_name_cond_opt ::= db_name NK_DOT */ - 396, /* (273) like_pattern_opt ::= */ - 396, /* (274) like_pattern_opt ::= LIKE NK_STRING */ - 397, /* (275) table_name_cond ::= table_name */ - 397, /* (276) table_name_cond ::= db_name NK_DOT table_name */ - 398, /* (277) from_db_opt ::= */ - 398, /* (278) from_db_opt ::= FROM db_name */ - 399, /* (279) tag_list_opt ::= */ - 399, /* (280) tag_list_opt ::= tag_item */ - 399, /* (281) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - 400, /* (282) tag_item ::= TBNAME */ - 400, /* (283) tag_item ::= QTAGS */ - 400, /* (284) tag_item ::= column_name */ - 400, /* (285) tag_item ::= column_name column_alias */ - 400, /* (286) tag_item ::= column_name AS column_alias */ - 338, /* (287) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ - 338, /* (288) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ - 338, /* (289) cmd ::= DROP INDEX exists_opt full_index_name */ - 402, /* (290) full_index_name ::= index_name */ - 402, /* (291) full_index_name ::= db_name NK_DOT index_name */ - 403, /* (292) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - 403, /* (293) 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 */ - 405, /* (294) func_list ::= func */ - 405, /* (295) func_list ::= func_list NK_COMMA func */ - 408, /* (296) func ::= sma_func_name NK_LP expression_list NK_RP */ - 409, /* (297) sma_func_name ::= function_name */ - 409, /* (298) sma_func_name ::= COUNT */ - 409, /* (299) sma_func_name ::= FIRST */ - 409, /* (300) sma_func_name ::= LAST */ - 409, /* (301) sma_func_name ::= LAST_ROW */ - 407, /* (302) sma_stream_opt ::= */ - 407, /* (303) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - 407, /* (304) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - 407, /* (305) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - 410, /* (306) with_meta ::= AS */ - 410, /* (307) with_meta ::= WITH META AS */ - 410, /* (308) with_meta ::= ONLY META AS */ - 338, /* (309) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - 338, /* (310) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - 338, /* (311) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - 338, /* (312) cmd ::= DROP TOPIC exists_opt topic_name */ - 338, /* (313) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - 338, /* (314) cmd ::= DESC full_table_name */ - 338, /* (315) cmd ::= DESCRIBE full_table_name */ - 338, /* (316) cmd ::= RESET QUERY CACHE */ - 338, /* (317) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - 338, /* (318) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 414, /* (319) analyze_opt ::= */ - 414, /* (320) analyze_opt ::= ANALYZE */ - 415, /* (321) explain_options ::= */ - 415, /* (322) explain_options ::= explain_options VERBOSE NK_BOOL */ - 415, /* (323) explain_options ::= explain_options RATIO NK_FLOAT */ - 338, /* (324) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - 338, /* (325) cmd ::= DROP FUNCTION exists_opt function_name */ - 418, /* (326) agg_func_opt ::= */ - 418, /* (327) agg_func_opt ::= AGGREGATE */ - 419, /* (328) bufsize_opt ::= */ - 419, /* (329) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 420, /* (330) language_opt ::= */ - 420, /* (331) language_opt ::= LANGUAGE NK_STRING */ - 417, /* (332) or_replace_opt ::= */ - 417, /* (333) or_replace_opt ::= OR REPLACE */ - 338, /* (334) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - 338, /* (335) cmd ::= DROP STREAM exists_opt stream_name */ - 338, /* (336) cmd ::= PAUSE STREAM exists_opt stream_name */ - 338, /* (337) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 423, /* (338) col_list_opt ::= */ - 423, /* (339) col_list_opt ::= NK_LP col_name_list NK_RP */ - 424, /* (340) tag_def_or_ref_opt ::= */ - 424, /* (341) tag_def_or_ref_opt ::= tags_def */ - 424, /* (342) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 422, /* (343) stream_options ::= */ - 422, /* (344) stream_options ::= stream_options TRIGGER AT_ONCE */ - 422, /* (345) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - 422, /* (346) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - 422, /* (347) stream_options ::= stream_options WATERMARK duration_literal */ - 422, /* (348) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - 422, /* (349) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - 422, /* (350) stream_options ::= stream_options DELETE_MARK duration_literal */ - 422, /* (351) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 425, /* (352) subtable_opt ::= */ - 425, /* (353) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 426, /* (354) ignore_opt ::= */ - 426, /* (355) ignore_opt ::= IGNORE UNTREATED */ - 338, /* (356) cmd ::= KILL CONNECTION NK_INTEGER */ - 338, /* (357) cmd ::= KILL QUERY NK_STRING */ - 338, /* (358) cmd ::= KILL TRANSACTION NK_INTEGER */ - 338, /* (359) cmd ::= BALANCE VGROUP */ - 338, /* (360) cmd ::= BALANCE VGROUP LEADER */ - 338, /* (361) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - 338, /* (362) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - 338, /* (363) cmd ::= SPLIT VGROUP NK_INTEGER */ - 428, /* (364) dnode_list ::= DNODE NK_INTEGER */ - 428, /* (365) dnode_list ::= dnode_list DNODE NK_INTEGER */ - 338, /* (366) cmd ::= DELETE FROM full_table_name where_clause_opt */ - 338, /* (367) cmd ::= query_or_subquery */ - 338, /* (368) cmd ::= insert_query */ - 416, /* (369) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - 416, /* (370) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - 341, /* (371) literal ::= NK_INTEGER */ - 341, /* (372) literal ::= NK_FLOAT */ - 341, /* (373) literal ::= NK_STRING */ - 341, /* (374) literal ::= NK_BOOL */ - 341, /* (375) literal ::= TIMESTAMP NK_STRING */ - 341, /* (376) literal ::= duration_literal */ - 341, /* (377) literal ::= NULL */ - 341, /* (378) literal ::= NK_QUESTION */ - 391, /* (379) duration_literal ::= NK_VARIABLE */ - 367, /* (380) signed ::= NK_INTEGER */ - 367, /* (381) signed ::= NK_PLUS NK_INTEGER */ - 367, /* (382) signed ::= NK_MINUS NK_INTEGER */ - 367, /* (383) signed ::= NK_FLOAT */ - 367, /* (384) signed ::= NK_PLUS NK_FLOAT */ - 367, /* (385) signed ::= NK_MINUS NK_FLOAT */ - 381, /* (386) signed_literal ::= signed */ - 381, /* (387) signed_literal ::= NK_STRING */ - 381, /* (388) signed_literal ::= NK_BOOL */ - 381, /* (389) signed_literal ::= TIMESTAMP NK_STRING */ - 381, /* (390) signed_literal ::= duration_literal */ - 381, /* (391) signed_literal ::= NULL */ - 381, /* (392) signed_literal ::= literal_func */ - 381, /* (393) signed_literal ::= NK_QUESTION */ - 430, /* (394) literal_list ::= signed_literal */ - 430, /* (395) literal_list ::= literal_list NK_COMMA signed_literal */ - 350, /* (396) db_name ::= NK_ID */ - 351, /* (397) table_name ::= NK_ID */ - 379, /* (398) column_name ::= NK_ID */ - 393, /* (399) function_name ::= NK_ID */ - 431, /* (400) table_alias ::= NK_ID */ - 401, /* (401) column_alias ::= NK_ID */ - 343, /* (402) user_name ::= NK_ID */ - 352, /* (403) topic_name ::= NK_ID */ - 421, /* (404) stream_name ::= NK_ID */ - 413, /* (405) cgroup_name ::= NK_ID */ - 404, /* (406) index_name ::= NK_ID */ - 432, /* (407) expr_or_subquery ::= expression */ - 427, /* (408) expression ::= literal */ - 427, /* (409) expression ::= pseudo_column */ - 427, /* (410) expression ::= column_reference */ - 427, /* (411) expression ::= function_expression */ - 427, /* (412) expression ::= case_when_expression */ - 427, /* (413) expression ::= NK_LP expression NK_RP */ - 427, /* (414) expression ::= NK_PLUS expr_or_subquery */ - 427, /* (415) expression ::= NK_MINUS expr_or_subquery */ - 427, /* (416) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - 427, /* (417) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - 427, /* (418) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - 427, /* (419) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - 427, /* (420) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - 427, /* (421) expression ::= column_reference NK_ARROW NK_STRING */ - 427, /* (422) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - 427, /* (423) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - 384, /* (424) expression_list ::= expr_or_subquery */ - 384, /* (425) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - 434, /* (426) column_reference ::= column_name */ - 434, /* (427) column_reference ::= table_name NK_DOT column_name */ - 433, /* (428) pseudo_column ::= ROWTS */ - 433, /* (429) pseudo_column ::= TBNAME */ - 433, /* (430) pseudo_column ::= table_name NK_DOT TBNAME */ - 433, /* (431) pseudo_column ::= QSTART */ - 433, /* (432) pseudo_column ::= QEND */ - 433, /* (433) pseudo_column ::= QDURATION */ - 433, /* (434) pseudo_column ::= WSTART */ - 433, /* (435) pseudo_column ::= WEND */ - 433, /* (436) pseudo_column ::= WDURATION */ - 433, /* (437) pseudo_column ::= IROWTS */ - 433, /* (438) pseudo_column ::= ISFILLED */ - 433, /* (439) pseudo_column ::= QTAGS */ - 435, /* (440) function_expression ::= function_name NK_LP expression_list NK_RP */ - 435, /* (441) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - 435, /* (442) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - 435, /* (443) function_expression ::= literal_func */ - 429, /* (444) literal_func ::= noarg_func NK_LP NK_RP */ - 429, /* (445) literal_func ::= NOW */ - 439, /* (446) noarg_func ::= NOW */ - 439, /* (447) noarg_func ::= TODAY */ - 439, /* (448) noarg_func ::= TIMEZONE */ - 439, /* (449) noarg_func ::= DATABASE */ - 439, /* (450) noarg_func ::= CLIENT_VERSION */ - 439, /* (451) noarg_func ::= SERVER_VERSION */ - 439, /* (452) noarg_func ::= SERVER_STATUS */ - 439, /* (453) noarg_func ::= CURRENT_USER */ - 439, /* (454) noarg_func ::= USER */ - 437, /* (455) star_func ::= COUNT */ - 437, /* (456) star_func ::= FIRST */ - 437, /* (457) star_func ::= LAST */ - 437, /* (458) star_func ::= LAST_ROW */ - 438, /* (459) star_func_para_list ::= NK_STAR */ - 438, /* (460) star_func_para_list ::= other_para_list */ - 440, /* (461) other_para_list ::= star_func_para */ - 440, /* (462) other_para_list ::= other_para_list NK_COMMA star_func_para */ - 441, /* (463) star_func_para ::= expr_or_subquery */ - 441, /* (464) star_func_para ::= table_name NK_DOT NK_STAR */ - 436, /* (465) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - 436, /* (466) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - 442, /* (467) when_then_list ::= when_then_expr */ - 442, /* (468) when_then_list ::= when_then_list when_then_expr */ - 445, /* (469) when_then_expr ::= WHEN common_expression THEN common_expression */ - 443, /* (470) case_when_else_opt ::= */ - 443, /* (471) case_when_else_opt ::= ELSE common_expression */ - 446, /* (472) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - 446, /* (473) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - 446, /* (474) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - 446, /* (475) predicate ::= expr_or_subquery IS NULL */ - 446, /* (476) predicate ::= expr_or_subquery IS NOT NULL */ - 446, /* (477) predicate ::= expr_or_subquery in_op in_predicate_value */ - 447, /* (478) compare_op ::= NK_LT */ - 447, /* (479) compare_op ::= NK_GT */ - 447, /* (480) compare_op ::= NK_LE */ - 447, /* (481) compare_op ::= NK_GE */ - 447, /* (482) compare_op ::= NK_NE */ - 447, /* (483) compare_op ::= NK_EQ */ - 447, /* (484) compare_op ::= LIKE */ - 447, /* (485) compare_op ::= NOT LIKE */ - 447, /* (486) compare_op ::= MATCH */ - 447, /* (487) compare_op ::= NMATCH */ - 447, /* (488) compare_op ::= CONTAINS */ - 448, /* (489) in_op ::= IN */ - 448, /* (490) in_op ::= NOT IN */ - 449, /* (491) in_predicate_value ::= NK_LP literal_list NK_RP */ - 450, /* (492) boolean_value_expression ::= boolean_primary */ - 450, /* (493) boolean_value_expression ::= NOT boolean_primary */ - 450, /* (494) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - 450, /* (495) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - 451, /* (496) boolean_primary ::= predicate */ - 451, /* (497) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - 444, /* (498) common_expression ::= expr_or_subquery */ - 444, /* (499) common_expression ::= boolean_value_expression */ - 452, /* (500) from_clause_opt ::= */ - 452, /* (501) from_clause_opt ::= FROM table_reference_list */ - 453, /* (502) table_reference_list ::= table_reference */ - 453, /* (503) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - 454, /* (504) table_reference ::= table_primary */ - 454, /* (505) table_reference ::= joined_table */ - 455, /* (506) table_primary ::= table_name alias_opt */ - 455, /* (507) table_primary ::= db_name NK_DOT table_name alias_opt */ - 455, /* (508) table_primary ::= subquery alias_opt */ - 455, /* (509) table_primary ::= parenthesized_joined_table */ - 457, /* (510) alias_opt ::= */ - 457, /* (511) alias_opt ::= table_alias */ - 457, /* (512) alias_opt ::= AS table_alias */ - 459, /* (513) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - 459, /* (514) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - 456, /* (515) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 460, /* (516) join_type ::= */ - 460, /* (517) join_type ::= INNER */ - 461, /* (518) 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 */ - 462, /* (519) set_quantifier_opt ::= */ - 462, /* (520) set_quantifier_opt ::= DISTINCT */ - 462, /* (521) set_quantifier_opt ::= ALL */ - 463, /* (522) select_list ::= select_item */ - 463, /* (523) select_list ::= select_list NK_COMMA select_item */ - 471, /* (524) select_item ::= NK_STAR */ - 471, /* (525) select_item ::= common_expression */ - 471, /* (526) select_item ::= common_expression column_alias */ - 471, /* (527) select_item ::= common_expression AS column_alias */ - 471, /* (528) select_item ::= table_name NK_DOT NK_STAR */ - 412, /* (529) where_clause_opt ::= */ - 412, /* (530) where_clause_opt ::= WHERE search_condition */ - 464, /* (531) partition_by_clause_opt ::= */ - 464, /* (532) partition_by_clause_opt ::= PARTITION BY partition_list */ - 472, /* (533) partition_list ::= partition_item */ - 472, /* (534) partition_list ::= partition_list NK_COMMA partition_item */ - 473, /* (535) partition_item ::= expr_or_subquery */ - 473, /* (536) partition_item ::= expr_or_subquery column_alias */ - 473, /* (537) partition_item ::= expr_or_subquery AS column_alias */ - 468, /* (538) twindow_clause_opt ::= */ - 468, /* (539) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - 468, /* (540) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - 468, /* (541) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - 468, /* (542) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - 468, /* (543) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 406, /* (544) sliding_opt ::= */ - 406, /* (545) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - 467, /* (546) fill_opt ::= */ - 467, /* (547) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - 467, /* (548) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - 467, /* (549) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - 474, /* (550) fill_mode ::= NONE */ - 474, /* (551) fill_mode ::= PREV */ - 474, /* (552) fill_mode ::= NULL */ - 474, /* (553) fill_mode ::= NULL_F */ - 474, /* (554) fill_mode ::= LINEAR */ - 474, /* (555) fill_mode ::= NEXT */ - 469, /* (556) group_by_clause_opt ::= */ - 469, /* (557) group_by_clause_opt ::= GROUP BY group_by_list */ - 475, /* (558) group_by_list ::= expr_or_subquery */ - 475, /* (559) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 470, /* (560) having_clause_opt ::= */ - 470, /* (561) having_clause_opt ::= HAVING search_condition */ - 465, /* (562) range_opt ::= */ - 465, /* (563) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - 465, /* (564) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 466, /* (565) every_opt ::= */ - 466, /* (566) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - 476, /* (567) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - 477, /* (568) query_simple ::= query_specification */ - 477, /* (569) query_simple ::= union_query_expression */ - 481, /* (570) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - 481, /* (571) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - 482, /* (572) query_simple_or_subquery ::= query_simple */ - 482, /* (573) query_simple_or_subquery ::= subquery */ - 411, /* (574) query_or_subquery ::= query_expression */ - 411, /* (575) query_or_subquery ::= subquery */ - 478, /* (576) order_by_clause_opt ::= */ - 478, /* (577) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 479, /* (578) slimit_clause_opt ::= */ - 479, /* (579) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - 479, /* (580) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - 479, /* (581) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 480, /* (582) limit_clause_opt ::= */ - 480, /* (583) limit_clause_opt ::= LIMIT NK_INTEGER */ - 480, /* (584) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - 480, /* (585) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 458, /* (586) subquery ::= NK_LP query_expression NK_RP */ - 458, /* (587) subquery ::= NK_LP subquery NK_RP */ - 353, /* (588) search_condition ::= common_expression */ - 483, /* (589) sort_specification_list ::= sort_specification */ - 483, /* (590) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - 484, /* (591) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 485, /* (592) ordering_specification_opt ::= */ - 485, /* (593) ordering_specification_opt ::= ASC */ - 485, /* (594) ordering_specification_opt ::= DESC */ - 486, /* (595) null_ordering_opt ::= */ - 486, /* (596) null_ordering_opt ::= NULLS FIRST */ - 486, /* (597) null_ordering_opt ::= NULLS LAST */ + 338, /* (242) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ + 338, /* (243) cmd ::= SHOW STREAMS */ + 338, /* (244) cmd ::= SHOW ACCOUNTS */ + 338, /* (245) cmd ::= SHOW APPS */ + 338, /* (246) cmd ::= SHOW CONNECTIONS */ + 338, /* (247) cmd ::= SHOW LICENCES */ + 338, /* (248) cmd ::= SHOW GRANTS */ + 338, /* (249) cmd ::= SHOW CREATE DATABASE db_name */ + 338, /* (250) cmd ::= SHOW CREATE TABLE full_table_name */ + 338, /* (251) cmd ::= SHOW CREATE STABLE full_table_name */ + 338, /* (252) cmd ::= SHOW QUERIES */ + 338, /* (253) cmd ::= SHOW SCORES */ + 338, /* (254) cmd ::= SHOW TOPICS */ + 338, /* (255) cmd ::= SHOW VARIABLES */ + 338, /* (256) cmd ::= SHOW CLUSTER VARIABLES */ + 338, /* (257) cmd ::= SHOW LOCAL VARIABLES */ + 338, /* (258) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + 338, /* (259) cmd ::= SHOW BNODES */ + 338, /* (260) cmd ::= SHOW SNODES */ + 338, /* (261) cmd ::= SHOW CLUSTER */ + 338, /* (262) cmd ::= SHOW TRANSACTIONS */ + 338, /* (263) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + 338, /* (264) cmd ::= SHOW CONSUMERS */ + 338, /* (265) cmd ::= SHOW SUBSCRIPTIONS */ + 338, /* (266) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + 338, /* (267) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ + 338, /* (268) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + 338, /* (269) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ + 338, /* (270) cmd ::= SHOW VNODES NK_INTEGER */ + 338, /* (271) cmd ::= SHOW VNODES NK_STRING */ + 338, /* (272) cmd ::= SHOW db_name_cond_opt ALIVE */ + 338, /* (273) cmd ::= SHOW CLUSTER ALIVE */ + 395, /* (274) db_name_cond_opt ::= */ + 395, /* (275) db_name_cond_opt ::= db_name NK_DOT */ + 396, /* (276) like_pattern_opt ::= */ + 396, /* (277) like_pattern_opt ::= LIKE NK_STRING */ + 397, /* (278) table_name_cond ::= table_name */ + 398, /* (279) from_db_opt ::= */ + 398, /* (280) from_db_opt ::= FROM db_name */ + 399, /* (281) tag_list_opt ::= */ + 399, /* (282) tag_list_opt ::= tag_item */ + 399, /* (283) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + 400, /* (284) tag_item ::= TBNAME */ + 400, /* (285) tag_item ::= QTAGS */ + 400, /* (286) tag_item ::= column_name */ + 400, /* (287) tag_item ::= column_name column_alias */ + 400, /* (288) tag_item ::= column_name AS column_alias */ + 338, /* (289) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + 338, /* (290) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + 338, /* (291) cmd ::= DROP INDEX exists_opt full_index_name */ + 402, /* (292) full_index_name ::= index_name */ + 402, /* (293) full_index_name ::= db_name NK_DOT index_name */ + 403, /* (294) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + 403, /* (295) 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 */ + 405, /* (296) func_list ::= func */ + 405, /* (297) func_list ::= func_list NK_COMMA func */ + 408, /* (298) func ::= sma_func_name NK_LP expression_list NK_RP */ + 409, /* (299) sma_func_name ::= function_name */ + 409, /* (300) sma_func_name ::= COUNT */ + 409, /* (301) sma_func_name ::= FIRST */ + 409, /* (302) sma_func_name ::= LAST */ + 409, /* (303) sma_func_name ::= LAST_ROW */ + 407, /* (304) sma_stream_opt ::= */ + 407, /* (305) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + 407, /* (306) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + 407, /* (307) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + 410, /* (308) with_meta ::= AS */ + 410, /* (309) with_meta ::= WITH META AS */ + 410, /* (310) with_meta ::= ONLY META AS */ + 338, /* (311) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + 338, /* (312) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + 338, /* (313) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + 338, /* (314) cmd ::= DROP TOPIC exists_opt topic_name */ + 338, /* (315) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + 338, /* (316) cmd ::= DESC full_table_name */ + 338, /* (317) cmd ::= DESCRIBE full_table_name */ + 338, /* (318) cmd ::= RESET QUERY CACHE */ + 338, /* (319) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + 338, /* (320) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + 414, /* (321) analyze_opt ::= */ + 414, /* (322) analyze_opt ::= ANALYZE */ + 415, /* (323) explain_options ::= */ + 415, /* (324) explain_options ::= explain_options VERBOSE NK_BOOL */ + 415, /* (325) explain_options ::= explain_options RATIO NK_FLOAT */ + 338, /* (326) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + 338, /* (327) cmd ::= DROP FUNCTION exists_opt function_name */ + 418, /* (328) agg_func_opt ::= */ + 418, /* (329) agg_func_opt ::= AGGREGATE */ + 419, /* (330) bufsize_opt ::= */ + 419, /* (331) bufsize_opt ::= BUFSIZE NK_INTEGER */ + 420, /* (332) language_opt ::= */ + 420, /* (333) language_opt ::= LANGUAGE NK_STRING */ + 417, /* (334) or_replace_opt ::= */ + 417, /* (335) or_replace_opt ::= OR REPLACE */ + 338, /* (336) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + 338, /* (337) cmd ::= DROP STREAM exists_opt stream_name */ + 338, /* (338) cmd ::= PAUSE STREAM exists_opt stream_name */ + 338, /* (339) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + 423, /* (340) col_list_opt ::= */ + 423, /* (341) col_list_opt ::= NK_LP col_name_list NK_RP */ + 424, /* (342) tag_def_or_ref_opt ::= */ + 424, /* (343) tag_def_or_ref_opt ::= tags_def */ + 424, /* (344) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + 422, /* (345) stream_options ::= */ + 422, /* (346) stream_options ::= stream_options TRIGGER AT_ONCE */ + 422, /* (347) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + 422, /* (348) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + 422, /* (349) stream_options ::= stream_options WATERMARK duration_literal */ + 422, /* (350) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + 422, /* (351) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + 422, /* (352) stream_options ::= stream_options DELETE_MARK duration_literal */ + 422, /* (353) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + 425, /* (354) subtable_opt ::= */ + 425, /* (355) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + 426, /* (356) ignore_opt ::= */ + 426, /* (357) ignore_opt ::= IGNORE UNTREATED */ + 338, /* (358) cmd ::= KILL CONNECTION NK_INTEGER */ + 338, /* (359) cmd ::= KILL QUERY NK_STRING */ + 338, /* (360) cmd ::= KILL TRANSACTION NK_INTEGER */ + 338, /* (361) cmd ::= BALANCE VGROUP */ + 338, /* (362) cmd ::= BALANCE VGROUP LEADER */ + 338, /* (363) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + 338, /* (364) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + 338, /* (365) cmd ::= SPLIT VGROUP NK_INTEGER */ + 428, /* (366) dnode_list ::= DNODE NK_INTEGER */ + 428, /* (367) dnode_list ::= dnode_list DNODE NK_INTEGER */ + 338, /* (368) cmd ::= DELETE FROM full_table_name where_clause_opt */ + 338, /* (369) cmd ::= query_or_subquery */ + 338, /* (370) cmd ::= insert_query */ + 416, /* (371) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + 416, /* (372) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + 341, /* (373) literal ::= NK_INTEGER */ + 341, /* (374) literal ::= NK_FLOAT */ + 341, /* (375) literal ::= NK_STRING */ + 341, /* (376) literal ::= NK_BOOL */ + 341, /* (377) literal ::= TIMESTAMP NK_STRING */ + 341, /* (378) literal ::= duration_literal */ + 341, /* (379) literal ::= NULL */ + 341, /* (380) literal ::= NK_QUESTION */ + 391, /* (381) duration_literal ::= NK_VARIABLE */ + 367, /* (382) signed ::= NK_INTEGER */ + 367, /* (383) signed ::= NK_PLUS NK_INTEGER */ + 367, /* (384) signed ::= NK_MINUS NK_INTEGER */ + 367, /* (385) signed ::= NK_FLOAT */ + 367, /* (386) signed ::= NK_PLUS NK_FLOAT */ + 367, /* (387) signed ::= NK_MINUS NK_FLOAT */ + 381, /* (388) signed_literal ::= signed */ + 381, /* (389) signed_literal ::= NK_STRING */ + 381, /* (390) signed_literal ::= NK_BOOL */ + 381, /* (391) signed_literal ::= TIMESTAMP NK_STRING */ + 381, /* (392) signed_literal ::= duration_literal */ + 381, /* (393) signed_literal ::= NULL */ + 381, /* (394) signed_literal ::= literal_func */ + 381, /* (395) signed_literal ::= NK_QUESTION */ + 430, /* (396) literal_list ::= signed_literal */ + 430, /* (397) literal_list ::= literal_list NK_COMMA signed_literal */ + 350, /* (398) db_name ::= NK_ID */ + 351, /* (399) table_name ::= NK_ID */ + 379, /* (400) column_name ::= NK_ID */ + 393, /* (401) function_name ::= NK_ID */ + 431, /* (402) table_alias ::= NK_ID */ + 401, /* (403) column_alias ::= NK_ID */ + 343, /* (404) user_name ::= NK_ID */ + 352, /* (405) topic_name ::= NK_ID */ + 421, /* (406) stream_name ::= NK_ID */ + 413, /* (407) cgroup_name ::= NK_ID */ + 404, /* (408) index_name ::= NK_ID */ + 432, /* (409) expr_or_subquery ::= expression */ + 427, /* (410) expression ::= literal */ + 427, /* (411) expression ::= pseudo_column */ + 427, /* (412) expression ::= column_reference */ + 427, /* (413) expression ::= function_expression */ + 427, /* (414) expression ::= case_when_expression */ + 427, /* (415) expression ::= NK_LP expression NK_RP */ + 427, /* (416) expression ::= NK_PLUS expr_or_subquery */ + 427, /* (417) expression ::= NK_MINUS expr_or_subquery */ + 427, /* (418) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + 427, /* (419) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + 427, /* (420) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + 427, /* (421) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + 427, /* (422) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + 427, /* (423) expression ::= column_reference NK_ARROW NK_STRING */ + 427, /* (424) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + 427, /* (425) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + 384, /* (426) expression_list ::= expr_or_subquery */ + 384, /* (427) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + 434, /* (428) column_reference ::= column_name */ + 434, /* (429) column_reference ::= table_name NK_DOT column_name */ + 433, /* (430) pseudo_column ::= ROWTS */ + 433, /* (431) pseudo_column ::= TBNAME */ + 433, /* (432) pseudo_column ::= table_name NK_DOT TBNAME */ + 433, /* (433) pseudo_column ::= QSTART */ + 433, /* (434) pseudo_column ::= QEND */ + 433, /* (435) pseudo_column ::= QDURATION */ + 433, /* (436) pseudo_column ::= WSTART */ + 433, /* (437) pseudo_column ::= WEND */ + 433, /* (438) pseudo_column ::= WDURATION */ + 433, /* (439) pseudo_column ::= IROWTS */ + 433, /* (440) pseudo_column ::= ISFILLED */ + 433, /* (441) pseudo_column ::= QTAGS */ + 435, /* (442) function_expression ::= function_name NK_LP expression_list NK_RP */ + 435, /* (443) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + 435, /* (444) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + 435, /* (445) function_expression ::= literal_func */ + 429, /* (446) literal_func ::= noarg_func NK_LP NK_RP */ + 429, /* (447) literal_func ::= NOW */ + 439, /* (448) noarg_func ::= NOW */ + 439, /* (449) noarg_func ::= TODAY */ + 439, /* (450) noarg_func ::= TIMEZONE */ + 439, /* (451) noarg_func ::= DATABASE */ + 439, /* (452) noarg_func ::= CLIENT_VERSION */ + 439, /* (453) noarg_func ::= SERVER_VERSION */ + 439, /* (454) noarg_func ::= SERVER_STATUS */ + 439, /* (455) noarg_func ::= CURRENT_USER */ + 439, /* (456) noarg_func ::= USER */ + 437, /* (457) star_func ::= COUNT */ + 437, /* (458) star_func ::= FIRST */ + 437, /* (459) star_func ::= LAST */ + 437, /* (460) star_func ::= LAST_ROW */ + 438, /* (461) star_func_para_list ::= NK_STAR */ + 438, /* (462) star_func_para_list ::= other_para_list */ + 440, /* (463) other_para_list ::= star_func_para */ + 440, /* (464) other_para_list ::= other_para_list NK_COMMA star_func_para */ + 441, /* (465) star_func_para ::= expr_or_subquery */ + 441, /* (466) star_func_para ::= table_name NK_DOT NK_STAR */ + 436, /* (467) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + 436, /* (468) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + 442, /* (469) when_then_list ::= when_then_expr */ + 442, /* (470) when_then_list ::= when_then_list when_then_expr */ + 445, /* (471) when_then_expr ::= WHEN common_expression THEN common_expression */ + 443, /* (472) case_when_else_opt ::= */ + 443, /* (473) case_when_else_opt ::= ELSE common_expression */ + 446, /* (474) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + 446, /* (475) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + 446, /* (476) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + 446, /* (477) predicate ::= expr_or_subquery IS NULL */ + 446, /* (478) predicate ::= expr_or_subquery IS NOT NULL */ + 446, /* (479) predicate ::= expr_or_subquery in_op in_predicate_value */ + 447, /* (480) compare_op ::= NK_LT */ + 447, /* (481) compare_op ::= NK_GT */ + 447, /* (482) compare_op ::= NK_LE */ + 447, /* (483) compare_op ::= NK_GE */ + 447, /* (484) compare_op ::= NK_NE */ + 447, /* (485) compare_op ::= NK_EQ */ + 447, /* (486) compare_op ::= LIKE */ + 447, /* (487) compare_op ::= NOT LIKE */ + 447, /* (488) compare_op ::= MATCH */ + 447, /* (489) compare_op ::= NMATCH */ + 447, /* (490) compare_op ::= CONTAINS */ + 448, /* (491) in_op ::= IN */ + 448, /* (492) in_op ::= NOT IN */ + 449, /* (493) in_predicate_value ::= NK_LP literal_list NK_RP */ + 450, /* (494) boolean_value_expression ::= boolean_primary */ + 450, /* (495) boolean_value_expression ::= NOT boolean_primary */ + 450, /* (496) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + 450, /* (497) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + 451, /* (498) boolean_primary ::= predicate */ + 451, /* (499) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + 444, /* (500) common_expression ::= expr_or_subquery */ + 444, /* (501) common_expression ::= boolean_value_expression */ + 452, /* (502) from_clause_opt ::= */ + 452, /* (503) from_clause_opt ::= FROM table_reference_list */ + 453, /* (504) table_reference_list ::= table_reference */ + 453, /* (505) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + 454, /* (506) table_reference ::= table_primary */ + 454, /* (507) table_reference ::= joined_table */ + 455, /* (508) table_primary ::= table_name alias_opt */ + 455, /* (509) table_primary ::= db_name NK_DOT table_name alias_opt */ + 455, /* (510) table_primary ::= subquery alias_opt */ + 455, /* (511) table_primary ::= parenthesized_joined_table */ + 457, /* (512) alias_opt ::= */ + 457, /* (513) alias_opt ::= table_alias */ + 457, /* (514) alias_opt ::= AS table_alias */ + 459, /* (515) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + 459, /* (516) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + 456, /* (517) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + 460, /* (518) join_type ::= */ + 460, /* (519) join_type ::= INNER */ + 461, /* (520) 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 */ + 462, /* (521) set_quantifier_opt ::= */ + 462, /* (522) set_quantifier_opt ::= DISTINCT */ + 462, /* (523) set_quantifier_opt ::= ALL */ + 463, /* (524) select_list ::= select_item */ + 463, /* (525) select_list ::= select_list NK_COMMA select_item */ + 471, /* (526) select_item ::= NK_STAR */ + 471, /* (527) select_item ::= common_expression */ + 471, /* (528) select_item ::= common_expression column_alias */ + 471, /* (529) select_item ::= common_expression AS column_alias */ + 471, /* (530) select_item ::= table_name NK_DOT NK_STAR */ + 412, /* (531) where_clause_opt ::= */ + 412, /* (532) where_clause_opt ::= WHERE search_condition */ + 464, /* (533) partition_by_clause_opt ::= */ + 464, /* (534) partition_by_clause_opt ::= PARTITION BY partition_list */ + 472, /* (535) partition_list ::= partition_item */ + 472, /* (536) partition_list ::= partition_list NK_COMMA partition_item */ + 473, /* (537) partition_item ::= expr_or_subquery */ + 473, /* (538) partition_item ::= expr_or_subquery column_alias */ + 473, /* (539) partition_item ::= expr_or_subquery AS column_alias */ + 468, /* (540) twindow_clause_opt ::= */ + 468, /* (541) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + 468, /* (542) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + 468, /* (543) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + 468, /* (544) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + 468, /* (545) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 406, /* (546) sliding_opt ::= */ + 406, /* (547) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + 467, /* (548) fill_opt ::= */ + 467, /* (549) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + 467, /* (550) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + 467, /* (551) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + 474, /* (552) fill_mode ::= NONE */ + 474, /* (553) fill_mode ::= PREV */ + 474, /* (554) fill_mode ::= NULL */ + 474, /* (555) fill_mode ::= NULL_F */ + 474, /* (556) fill_mode ::= LINEAR */ + 474, /* (557) fill_mode ::= NEXT */ + 469, /* (558) group_by_clause_opt ::= */ + 469, /* (559) group_by_clause_opt ::= GROUP BY group_by_list */ + 475, /* (560) group_by_list ::= expr_or_subquery */ + 475, /* (561) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 470, /* (562) having_clause_opt ::= */ + 470, /* (563) having_clause_opt ::= HAVING search_condition */ + 465, /* (564) range_opt ::= */ + 465, /* (565) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + 465, /* (566) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 466, /* (567) every_opt ::= */ + 466, /* (568) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + 476, /* (569) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + 477, /* (570) query_simple ::= query_specification */ + 477, /* (571) query_simple ::= union_query_expression */ + 481, /* (572) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + 481, /* (573) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + 482, /* (574) query_simple_or_subquery ::= query_simple */ + 482, /* (575) query_simple_or_subquery ::= subquery */ + 411, /* (576) query_or_subquery ::= query_expression */ + 411, /* (577) query_or_subquery ::= subquery */ + 478, /* (578) order_by_clause_opt ::= */ + 478, /* (579) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 479, /* (580) slimit_clause_opt ::= */ + 479, /* (581) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + 479, /* (582) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + 479, /* (583) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 480, /* (584) limit_clause_opt ::= */ + 480, /* (585) limit_clause_opt ::= LIMIT NK_INTEGER */ + 480, /* (586) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + 480, /* (587) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 458, /* (588) subquery ::= NK_LP query_expression NK_RP */ + 458, /* (589) subquery ::= NK_LP subquery NK_RP */ + 353, /* (590) search_condition ::= common_expression */ + 483, /* (591) sort_specification_list ::= sort_specification */ + 483, /* (592) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + 484, /* (593) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 485, /* (594) ordering_specification_opt ::= */ + 485, /* (595) ordering_specification_opt ::= ASC */ + 485, /* (596) ordering_specification_opt ::= DESC */ + 486, /* (597) null_ordering_opt ::= */ + 486, /* (598) null_ordering_opt ::= NULLS FIRST */ + 486, /* (599) null_ordering_opt ::= NULLS LAST */ }; /* For rule J, yyRuleInfoNRhs[J] contains the negative of the number @@ -4035,362 +4039,364 @@ static const signed char yyRuleInfoNRhs[] = { -2, /* (239) cmd ::= SHOW QNODES */ -2, /* (240) cmd ::= SHOW FUNCTIONS */ -5, /* (241) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - -2, /* (242) cmd ::= SHOW STREAMS */ - -2, /* (243) cmd ::= SHOW ACCOUNTS */ - -2, /* (244) cmd ::= SHOW APPS */ - -2, /* (245) cmd ::= SHOW CONNECTIONS */ - -2, /* (246) cmd ::= SHOW LICENCES */ - -2, /* (247) cmd ::= SHOW GRANTS */ - -4, /* (248) cmd ::= SHOW CREATE DATABASE db_name */ - -4, /* (249) cmd ::= SHOW CREATE TABLE full_table_name */ - -4, /* (250) cmd ::= SHOW CREATE STABLE full_table_name */ - -2, /* (251) cmd ::= SHOW QUERIES */ - -2, /* (252) cmd ::= SHOW SCORES */ - -2, /* (253) cmd ::= SHOW TOPICS */ - -2, /* (254) cmd ::= SHOW VARIABLES */ - -3, /* (255) cmd ::= SHOW CLUSTER VARIABLES */ - -3, /* (256) cmd ::= SHOW LOCAL VARIABLES */ - -5, /* (257) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - -2, /* (258) cmd ::= SHOW BNODES */ - -2, /* (259) cmd ::= SHOW SNODES */ - -2, /* (260) cmd ::= SHOW CLUSTER */ - -2, /* (261) cmd ::= SHOW TRANSACTIONS */ - -4, /* (262) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - -2, /* (263) cmd ::= SHOW CONSUMERS */ - -2, /* (264) cmd ::= SHOW SUBSCRIPTIONS */ - -5, /* (265) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - -7, /* (266) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - -3, /* (267) cmd ::= SHOW VNODES NK_INTEGER */ - -3, /* (268) cmd ::= SHOW VNODES NK_STRING */ - -3, /* (269) cmd ::= SHOW db_name_cond_opt ALIVE */ - -3, /* (270) cmd ::= SHOW CLUSTER ALIVE */ - 0, /* (271) db_name_cond_opt ::= */ - -2, /* (272) db_name_cond_opt ::= db_name NK_DOT */ - 0, /* (273) like_pattern_opt ::= */ - -2, /* (274) like_pattern_opt ::= LIKE NK_STRING */ - -1, /* (275) table_name_cond ::= table_name */ - -3, /* (276) table_name_cond ::= db_name NK_DOT table_name */ - 0, /* (277) from_db_opt ::= */ - -2, /* (278) from_db_opt ::= FROM db_name */ - 0, /* (279) tag_list_opt ::= */ - -1, /* (280) tag_list_opt ::= tag_item */ - -3, /* (281) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - -1, /* (282) tag_item ::= TBNAME */ - -1, /* (283) tag_item ::= QTAGS */ - -1, /* (284) tag_item ::= column_name */ - -2, /* (285) tag_item ::= column_name column_alias */ - -3, /* (286) tag_item ::= column_name AS column_alias */ - -8, /* (287) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ - -9, /* (288) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ - -4, /* (289) cmd ::= DROP INDEX exists_opt full_index_name */ - -1, /* (290) full_index_name ::= index_name */ - -3, /* (291) full_index_name ::= db_name NK_DOT index_name */ - -10, /* (292) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - -12, /* (293) 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 */ - -1, /* (294) func_list ::= func */ - -3, /* (295) func_list ::= func_list NK_COMMA func */ - -4, /* (296) func ::= sma_func_name NK_LP expression_list NK_RP */ - -1, /* (297) sma_func_name ::= function_name */ - -1, /* (298) sma_func_name ::= COUNT */ - -1, /* (299) sma_func_name ::= FIRST */ - -1, /* (300) sma_func_name ::= LAST */ - -1, /* (301) sma_func_name ::= LAST_ROW */ - 0, /* (302) sma_stream_opt ::= */ - -3, /* (303) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - -3, /* (304) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - -3, /* (305) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - -1, /* (306) with_meta ::= AS */ - -3, /* (307) with_meta ::= WITH META AS */ - -3, /* (308) with_meta ::= ONLY META AS */ - -6, /* (309) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - -7, /* (310) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - -8, /* (311) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - -4, /* (312) cmd ::= DROP TOPIC exists_opt topic_name */ - -7, /* (313) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - -2, /* (314) cmd ::= DESC full_table_name */ - -2, /* (315) cmd ::= DESCRIBE full_table_name */ - -3, /* (316) cmd ::= RESET QUERY CACHE */ - -4, /* (317) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - -4, /* (318) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 0, /* (319) analyze_opt ::= */ - -1, /* (320) analyze_opt ::= ANALYZE */ - 0, /* (321) explain_options ::= */ - -3, /* (322) explain_options ::= explain_options VERBOSE NK_BOOL */ - -3, /* (323) explain_options ::= explain_options RATIO NK_FLOAT */ - -12, /* (324) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - -4, /* (325) cmd ::= DROP FUNCTION exists_opt function_name */ - 0, /* (326) agg_func_opt ::= */ - -1, /* (327) agg_func_opt ::= AGGREGATE */ - 0, /* (328) bufsize_opt ::= */ - -2, /* (329) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 0, /* (330) language_opt ::= */ - -2, /* (331) language_opt ::= LANGUAGE NK_STRING */ - 0, /* (332) or_replace_opt ::= */ - -2, /* (333) or_replace_opt ::= OR REPLACE */ - -12, /* (334) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - -4, /* (335) cmd ::= DROP STREAM exists_opt stream_name */ - -4, /* (336) cmd ::= PAUSE STREAM exists_opt stream_name */ - -5, /* (337) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 0, /* (338) col_list_opt ::= */ - -3, /* (339) col_list_opt ::= NK_LP col_name_list NK_RP */ - 0, /* (340) tag_def_or_ref_opt ::= */ - -1, /* (341) tag_def_or_ref_opt ::= tags_def */ - -4, /* (342) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 0, /* (343) stream_options ::= */ - -3, /* (344) stream_options ::= stream_options TRIGGER AT_ONCE */ - -3, /* (345) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - -4, /* (346) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - -3, /* (347) stream_options ::= stream_options WATERMARK duration_literal */ - -4, /* (348) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - -3, /* (349) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - -3, /* (350) stream_options ::= stream_options DELETE_MARK duration_literal */ - -4, /* (351) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 0, /* (352) subtable_opt ::= */ - -4, /* (353) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 0, /* (354) ignore_opt ::= */ - -2, /* (355) ignore_opt ::= IGNORE UNTREATED */ - -3, /* (356) cmd ::= KILL CONNECTION NK_INTEGER */ - -3, /* (357) cmd ::= KILL QUERY NK_STRING */ - -3, /* (358) cmd ::= KILL TRANSACTION NK_INTEGER */ - -2, /* (359) cmd ::= BALANCE VGROUP */ - -3, /* (360) cmd ::= BALANCE VGROUP LEADER */ - -4, /* (361) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - -4, /* (362) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - -3, /* (363) cmd ::= SPLIT VGROUP NK_INTEGER */ - -2, /* (364) dnode_list ::= DNODE NK_INTEGER */ - -3, /* (365) dnode_list ::= dnode_list DNODE NK_INTEGER */ - -4, /* (366) cmd ::= DELETE FROM full_table_name where_clause_opt */ - -1, /* (367) cmd ::= query_or_subquery */ - -1, /* (368) cmd ::= insert_query */ - -7, /* (369) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - -4, /* (370) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - -1, /* (371) literal ::= NK_INTEGER */ - -1, /* (372) literal ::= NK_FLOAT */ - -1, /* (373) literal ::= NK_STRING */ - -1, /* (374) literal ::= NK_BOOL */ - -2, /* (375) literal ::= TIMESTAMP NK_STRING */ - -1, /* (376) literal ::= duration_literal */ - -1, /* (377) literal ::= NULL */ - -1, /* (378) literal ::= NK_QUESTION */ - -1, /* (379) duration_literal ::= NK_VARIABLE */ - -1, /* (380) signed ::= NK_INTEGER */ - -2, /* (381) signed ::= NK_PLUS NK_INTEGER */ - -2, /* (382) signed ::= NK_MINUS NK_INTEGER */ - -1, /* (383) signed ::= NK_FLOAT */ - -2, /* (384) signed ::= NK_PLUS NK_FLOAT */ - -2, /* (385) signed ::= NK_MINUS NK_FLOAT */ - -1, /* (386) signed_literal ::= signed */ - -1, /* (387) signed_literal ::= NK_STRING */ - -1, /* (388) signed_literal ::= NK_BOOL */ - -2, /* (389) signed_literal ::= TIMESTAMP NK_STRING */ - -1, /* (390) signed_literal ::= duration_literal */ - -1, /* (391) signed_literal ::= NULL */ - -1, /* (392) signed_literal ::= literal_func */ - -1, /* (393) signed_literal ::= NK_QUESTION */ - -1, /* (394) literal_list ::= signed_literal */ - -3, /* (395) literal_list ::= literal_list NK_COMMA signed_literal */ - -1, /* (396) db_name ::= NK_ID */ - -1, /* (397) table_name ::= NK_ID */ - -1, /* (398) column_name ::= NK_ID */ - -1, /* (399) function_name ::= NK_ID */ - -1, /* (400) table_alias ::= NK_ID */ - -1, /* (401) column_alias ::= NK_ID */ - -1, /* (402) user_name ::= NK_ID */ - -1, /* (403) topic_name ::= NK_ID */ - -1, /* (404) stream_name ::= NK_ID */ - -1, /* (405) cgroup_name ::= NK_ID */ - -1, /* (406) index_name ::= NK_ID */ - -1, /* (407) expr_or_subquery ::= expression */ - -1, /* (408) expression ::= literal */ - -1, /* (409) expression ::= pseudo_column */ - -1, /* (410) expression ::= column_reference */ - -1, /* (411) expression ::= function_expression */ - -1, /* (412) expression ::= case_when_expression */ - -3, /* (413) expression ::= NK_LP expression NK_RP */ - -2, /* (414) expression ::= NK_PLUS expr_or_subquery */ - -2, /* (415) expression ::= NK_MINUS expr_or_subquery */ - -3, /* (416) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - -3, /* (417) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - -3, /* (418) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - -3, /* (419) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - -3, /* (420) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - -3, /* (421) expression ::= column_reference NK_ARROW NK_STRING */ - -3, /* (422) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - -3, /* (423) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - -1, /* (424) expression_list ::= expr_or_subquery */ - -3, /* (425) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - -1, /* (426) column_reference ::= column_name */ - -3, /* (427) column_reference ::= table_name NK_DOT column_name */ - -1, /* (428) pseudo_column ::= ROWTS */ - -1, /* (429) pseudo_column ::= TBNAME */ - -3, /* (430) pseudo_column ::= table_name NK_DOT TBNAME */ - -1, /* (431) pseudo_column ::= QSTART */ - -1, /* (432) pseudo_column ::= QEND */ - -1, /* (433) pseudo_column ::= QDURATION */ - -1, /* (434) pseudo_column ::= WSTART */ - -1, /* (435) pseudo_column ::= WEND */ - -1, /* (436) pseudo_column ::= WDURATION */ - -1, /* (437) pseudo_column ::= IROWTS */ - -1, /* (438) pseudo_column ::= ISFILLED */ - -1, /* (439) pseudo_column ::= QTAGS */ - -4, /* (440) function_expression ::= function_name NK_LP expression_list NK_RP */ - -4, /* (441) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - -6, /* (442) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - -1, /* (443) function_expression ::= literal_func */ - -3, /* (444) literal_func ::= noarg_func NK_LP NK_RP */ - -1, /* (445) literal_func ::= NOW */ - -1, /* (446) noarg_func ::= NOW */ - -1, /* (447) noarg_func ::= TODAY */ - -1, /* (448) noarg_func ::= TIMEZONE */ - -1, /* (449) noarg_func ::= DATABASE */ - -1, /* (450) noarg_func ::= CLIENT_VERSION */ - -1, /* (451) noarg_func ::= SERVER_VERSION */ - -1, /* (452) noarg_func ::= SERVER_STATUS */ - -1, /* (453) noarg_func ::= CURRENT_USER */ - -1, /* (454) noarg_func ::= USER */ - -1, /* (455) star_func ::= COUNT */ - -1, /* (456) star_func ::= FIRST */ - -1, /* (457) star_func ::= LAST */ - -1, /* (458) star_func ::= LAST_ROW */ - -1, /* (459) star_func_para_list ::= NK_STAR */ - -1, /* (460) star_func_para_list ::= other_para_list */ - -1, /* (461) other_para_list ::= star_func_para */ - -3, /* (462) other_para_list ::= other_para_list NK_COMMA star_func_para */ - -1, /* (463) star_func_para ::= expr_or_subquery */ - -3, /* (464) star_func_para ::= table_name NK_DOT NK_STAR */ - -4, /* (465) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - -5, /* (466) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - -1, /* (467) when_then_list ::= when_then_expr */ - -2, /* (468) when_then_list ::= when_then_list when_then_expr */ - -4, /* (469) when_then_expr ::= WHEN common_expression THEN common_expression */ - 0, /* (470) case_when_else_opt ::= */ - -2, /* (471) case_when_else_opt ::= ELSE common_expression */ - -3, /* (472) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - -5, /* (473) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - -6, /* (474) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - -3, /* (475) predicate ::= expr_or_subquery IS NULL */ - -4, /* (476) predicate ::= expr_or_subquery IS NOT NULL */ - -3, /* (477) predicate ::= expr_or_subquery in_op in_predicate_value */ - -1, /* (478) compare_op ::= NK_LT */ - -1, /* (479) compare_op ::= NK_GT */ - -1, /* (480) compare_op ::= NK_LE */ - -1, /* (481) compare_op ::= NK_GE */ - -1, /* (482) compare_op ::= NK_NE */ - -1, /* (483) compare_op ::= NK_EQ */ - -1, /* (484) compare_op ::= LIKE */ - -2, /* (485) compare_op ::= NOT LIKE */ - -1, /* (486) compare_op ::= MATCH */ - -1, /* (487) compare_op ::= NMATCH */ - -1, /* (488) compare_op ::= CONTAINS */ - -1, /* (489) in_op ::= IN */ - -2, /* (490) in_op ::= NOT IN */ - -3, /* (491) in_predicate_value ::= NK_LP literal_list NK_RP */ - -1, /* (492) boolean_value_expression ::= boolean_primary */ - -2, /* (493) boolean_value_expression ::= NOT boolean_primary */ - -3, /* (494) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - -3, /* (495) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - -1, /* (496) boolean_primary ::= predicate */ - -3, /* (497) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - -1, /* (498) common_expression ::= expr_or_subquery */ - -1, /* (499) common_expression ::= boolean_value_expression */ - 0, /* (500) from_clause_opt ::= */ - -2, /* (501) from_clause_opt ::= FROM table_reference_list */ - -1, /* (502) table_reference_list ::= table_reference */ - -3, /* (503) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - -1, /* (504) table_reference ::= table_primary */ - -1, /* (505) table_reference ::= joined_table */ - -2, /* (506) table_primary ::= table_name alias_opt */ - -4, /* (507) table_primary ::= db_name NK_DOT table_name alias_opt */ - -2, /* (508) table_primary ::= subquery alias_opt */ - -1, /* (509) table_primary ::= parenthesized_joined_table */ - 0, /* (510) alias_opt ::= */ - -1, /* (511) alias_opt ::= table_alias */ - -2, /* (512) alias_opt ::= AS table_alias */ - -3, /* (513) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - -3, /* (514) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - -6, /* (515) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 0, /* (516) join_type ::= */ - -1, /* (517) join_type ::= INNER */ - -12, /* (518) 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 */ - 0, /* (519) set_quantifier_opt ::= */ - -1, /* (520) set_quantifier_opt ::= DISTINCT */ - -1, /* (521) set_quantifier_opt ::= ALL */ - -1, /* (522) select_list ::= select_item */ - -3, /* (523) select_list ::= select_list NK_COMMA select_item */ - -1, /* (524) select_item ::= NK_STAR */ - -1, /* (525) select_item ::= common_expression */ - -2, /* (526) select_item ::= common_expression column_alias */ - -3, /* (527) select_item ::= common_expression AS column_alias */ - -3, /* (528) select_item ::= table_name NK_DOT NK_STAR */ - 0, /* (529) where_clause_opt ::= */ - -2, /* (530) where_clause_opt ::= WHERE search_condition */ - 0, /* (531) partition_by_clause_opt ::= */ - -3, /* (532) partition_by_clause_opt ::= PARTITION BY partition_list */ - -1, /* (533) partition_list ::= partition_item */ - -3, /* (534) partition_list ::= partition_list NK_COMMA partition_item */ - -1, /* (535) partition_item ::= expr_or_subquery */ - -2, /* (536) partition_item ::= expr_or_subquery column_alias */ - -3, /* (537) partition_item ::= expr_or_subquery AS column_alias */ - 0, /* (538) twindow_clause_opt ::= */ - -6, /* (539) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - -4, /* (540) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - -6, /* (541) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - -8, /* (542) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - -7, /* (543) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 0, /* (544) sliding_opt ::= */ - -4, /* (545) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - 0, /* (546) fill_opt ::= */ - -4, /* (547) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - -6, /* (548) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - -6, /* (549) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - -1, /* (550) fill_mode ::= NONE */ - -1, /* (551) fill_mode ::= PREV */ - -1, /* (552) fill_mode ::= NULL */ - -1, /* (553) fill_mode ::= NULL_F */ - -1, /* (554) fill_mode ::= LINEAR */ - -1, /* (555) fill_mode ::= NEXT */ - 0, /* (556) group_by_clause_opt ::= */ - -3, /* (557) group_by_clause_opt ::= GROUP BY group_by_list */ - -1, /* (558) group_by_list ::= expr_or_subquery */ - -3, /* (559) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 0, /* (560) having_clause_opt ::= */ - -2, /* (561) having_clause_opt ::= HAVING search_condition */ - 0, /* (562) range_opt ::= */ - -6, /* (563) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - -4, /* (564) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 0, /* (565) every_opt ::= */ - -4, /* (566) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - -4, /* (567) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - -1, /* (568) query_simple ::= query_specification */ - -1, /* (569) query_simple ::= union_query_expression */ - -4, /* (570) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - -3, /* (571) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - -1, /* (572) query_simple_or_subquery ::= query_simple */ - -1, /* (573) query_simple_or_subquery ::= subquery */ - -1, /* (574) query_or_subquery ::= query_expression */ - -1, /* (575) query_or_subquery ::= subquery */ - 0, /* (576) order_by_clause_opt ::= */ - -3, /* (577) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 0, /* (578) slimit_clause_opt ::= */ - -2, /* (579) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - -4, /* (580) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - -4, /* (581) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 0, /* (582) limit_clause_opt ::= */ - -2, /* (583) limit_clause_opt ::= LIMIT NK_INTEGER */ - -4, /* (584) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - -4, /* (585) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - -3, /* (586) subquery ::= NK_LP query_expression NK_RP */ - -3, /* (587) subquery ::= NK_LP subquery NK_RP */ - -1, /* (588) search_condition ::= common_expression */ - -1, /* (589) sort_specification_list ::= sort_specification */ - -3, /* (590) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - -3, /* (591) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 0, /* (592) ordering_specification_opt ::= */ - -1, /* (593) ordering_specification_opt ::= ASC */ - -1, /* (594) ordering_specification_opt ::= DESC */ - 0, /* (595) null_ordering_opt ::= */ - -2, /* (596) null_ordering_opt ::= NULLS FIRST */ - -2, /* (597) null_ordering_opt ::= NULLS LAST */ + -6, /* (242) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ + -2, /* (243) cmd ::= SHOW STREAMS */ + -2, /* (244) cmd ::= SHOW ACCOUNTS */ + -2, /* (245) cmd ::= SHOW APPS */ + -2, /* (246) cmd ::= SHOW CONNECTIONS */ + -2, /* (247) cmd ::= SHOW LICENCES */ + -2, /* (248) cmd ::= SHOW GRANTS */ + -4, /* (249) cmd ::= SHOW CREATE DATABASE db_name */ + -4, /* (250) cmd ::= SHOW CREATE TABLE full_table_name */ + -4, /* (251) cmd ::= SHOW CREATE STABLE full_table_name */ + -2, /* (252) cmd ::= SHOW QUERIES */ + -2, /* (253) cmd ::= SHOW SCORES */ + -2, /* (254) cmd ::= SHOW TOPICS */ + -2, /* (255) cmd ::= SHOW VARIABLES */ + -3, /* (256) cmd ::= SHOW CLUSTER VARIABLES */ + -3, /* (257) cmd ::= SHOW LOCAL VARIABLES */ + -5, /* (258) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + -2, /* (259) cmd ::= SHOW BNODES */ + -2, /* (260) cmd ::= SHOW SNODES */ + -2, /* (261) cmd ::= SHOW CLUSTER */ + -2, /* (262) cmd ::= SHOW TRANSACTIONS */ + -4, /* (263) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + -2, /* (264) cmd ::= SHOW CONSUMERS */ + -2, /* (265) cmd ::= SHOW SUBSCRIPTIONS */ + -5, /* (266) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + -6, /* (267) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ + -7, /* (268) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + -8, /* (269) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ + -3, /* (270) cmd ::= SHOW VNODES NK_INTEGER */ + -3, /* (271) cmd ::= SHOW VNODES NK_STRING */ + -3, /* (272) cmd ::= SHOW db_name_cond_opt ALIVE */ + -3, /* (273) cmd ::= SHOW CLUSTER ALIVE */ + 0, /* (274) db_name_cond_opt ::= */ + -2, /* (275) db_name_cond_opt ::= db_name NK_DOT */ + 0, /* (276) like_pattern_opt ::= */ + -2, /* (277) like_pattern_opt ::= LIKE NK_STRING */ + -1, /* (278) table_name_cond ::= table_name */ + 0, /* (279) from_db_opt ::= */ + -2, /* (280) from_db_opt ::= FROM db_name */ + 0, /* (281) tag_list_opt ::= */ + -1, /* (282) tag_list_opt ::= tag_item */ + -3, /* (283) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + -1, /* (284) tag_item ::= TBNAME */ + -1, /* (285) tag_item ::= QTAGS */ + -1, /* (286) tag_item ::= column_name */ + -2, /* (287) tag_item ::= column_name column_alias */ + -3, /* (288) tag_item ::= column_name AS column_alias */ + -8, /* (289) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + -9, /* (290) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + -4, /* (291) cmd ::= DROP INDEX exists_opt full_index_name */ + -1, /* (292) full_index_name ::= index_name */ + -3, /* (293) full_index_name ::= db_name NK_DOT index_name */ + -10, /* (294) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + -12, /* (295) 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 */ + -1, /* (296) func_list ::= func */ + -3, /* (297) func_list ::= func_list NK_COMMA func */ + -4, /* (298) func ::= sma_func_name NK_LP expression_list NK_RP */ + -1, /* (299) sma_func_name ::= function_name */ + -1, /* (300) sma_func_name ::= COUNT */ + -1, /* (301) sma_func_name ::= FIRST */ + -1, /* (302) sma_func_name ::= LAST */ + -1, /* (303) sma_func_name ::= LAST_ROW */ + 0, /* (304) sma_stream_opt ::= */ + -3, /* (305) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + -3, /* (306) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + -3, /* (307) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + -1, /* (308) with_meta ::= AS */ + -3, /* (309) with_meta ::= WITH META AS */ + -3, /* (310) with_meta ::= ONLY META AS */ + -6, /* (311) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + -7, /* (312) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + -8, /* (313) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + -4, /* (314) cmd ::= DROP TOPIC exists_opt topic_name */ + -7, /* (315) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + -2, /* (316) cmd ::= DESC full_table_name */ + -2, /* (317) cmd ::= DESCRIBE full_table_name */ + -3, /* (318) cmd ::= RESET QUERY CACHE */ + -4, /* (319) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + -4, /* (320) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + 0, /* (321) analyze_opt ::= */ + -1, /* (322) analyze_opt ::= ANALYZE */ + 0, /* (323) explain_options ::= */ + -3, /* (324) explain_options ::= explain_options VERBOSE NK_BOOL */ + -3, /* (325) explain_options ::= explain_options RATIO NK_FLOAT */ + -12, /* (326) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + -4, /* (327) cmd ::= DROP FUNCTION exists_opt function_name */ + 0, /* (328) agg_func_opt ::= */ + -1, /* (329) agg_func_opt ::= AGGREGATE */ + 0, /* (330) bufsize_opt ::= */ + -2, /* (331) bufsize_opt ::= BUFSIZE NK_INTEGER */ + 0, /* (332) language_opt ::= */ + -2, /* (333) language_opt ::= LANGUAGE NK_STRING */ + 0, /* (334) or_replace_opt ::= */ + -2, /* (335) or_replace_opt ::= OR REPLACE */ + -12, /* (336) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + -4, /* (337) cmd ::= DROP STREAM exists_opt stream_name */ + -4, /* (338) cmd ::= PAUSE STREAM exists_opt stream_name */ + -5, /* (339) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + 0, /* (340) col_list_opt ::= */ + -3, /* (341) col_list_opt ::= NK_LP col_name_list NK_RP */ + 0, /* (342) tag_def_or_ref_opt ::= */ + -1, /* (343) tag_def_or_ref_opt ::= tags_def */ + -4, /* (344) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + 0, /* (345) stream_options ::= */ + -3, /* (346) stream_options ::= stream_options TRIGGER AT_ONCE */ + -3, /* (347) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + -4, /* (348) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + -3, /* (349) stream_options ::= stream_options WATERMARK duration_literal */ + -4, /* (350) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + -3, /* (351) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + -3, /* (352) stream_options ::= stream_options DELETE_MARK duration_literal */ + -4, /* (353) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + 0, /* (354) subtable_opt ::= */ + -4, /* (355) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + 0, /* (356) ignore_opt ::= */ + -2, /* (357) ignore_opt ::= IGNORE UNTREATED */ + -3, /* (358) cmd ::= KILL CONNECTION NK_INTEGER */ + -3, /* (359) cmd ::= KILL QUERY NK_STRING */ + -3, /* (360) cmd ::= KILL TRANSACTION NK_INTEGER */ + -2, /* (361) cmd ::= BALANCE VGROUP */ + -3, /* (362) cmd ::= BALANCE VGROUP LEADER */ + -4, /* (363) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + -4, /* (364) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + -3, /* (365) cmd ::= SPLIT VGROUP NK_INTEGER */ + -2, /* (366) dnode_list ::= DNODE NK_INTEGER */ + -3, /* (367) dnode_list ::= dnode_list DNODE NK_INTEGER */ + -4, /* (368) cmd ::= DELETE FROM full_table_name where_clause_opt */ + -1, /* (369) cmd ::= query_or_subquery */ + -1, /* (370) cmd ::= insert_query */ + -7, /* (371) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + -4, /* (372) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + -1, /* (373) literal ::= NK_INTEGER */ + -1, /* (374) literal ::= NK_FLOAT */ + -1, /* (375) literal ::= NK_STRING */ + -1, /* (376) literal ::= NK_BOOL */ + -2, /* (377) literal ::= TIMESTAMP NK_STRING */ + -1, /* (378) literal ::= duration_literal */ + -1, /* (379) literal ::= NULL */ + -1, /* (380) literal ::= NK_QUESTION */ + -1, /* (381) duration_literal ::= NK_VARIABLE */ + -1, /* (382) signed ::= NK_INTEGER */ + -2, /* (383) signed ::= NK_PLUS NK_INTEGER */ + -2, /* (384) signed ::= NK_MINUS NK_INTEGER */ + -1, /* (385) signed ::= NK_FLOAT */ + -2, /* (386) signed ::= NK_PLUS NK_FLOAT */ + -2, /* (387) signed ::= NK_MINUS NK_FLOAT */ + -1, /* (388) signed_literal ::= signed */ + -1, /* (389) signed_literal ::= NK_STRING */ + -1, /* (390) signed_literal ::= NK_BOOL */ + -2, /* (391) signed_literal ::= TIMESTAMP NK_STRING */ + -1, /* (392) signed_literal ::= duration_literal */ + -1, /* (393) signed_literal ::= NULL */ + -1, /* (394) signed_literal ::= literal_func */ + -1, /* (395) signed_literal ::= NK_QUESTION */ + -1, /* (396) literal_list ::= signed_literal */ + -3, /* (397) literal_list ::= literal_list NK_COMMA signed_literal */ + -1, /* (398) db_name ::= NK_ID */ + -1, /* (399) table_name ::= NK_ID */ + -1, /* (400) column_name ::= NK_ID */ + -1, /* (401) function_name ::= NK_ID */ + -1, /* (402) table_alias ::= NK_ID */ + -1, /* (403) column_alias ::= NK_ID */ + -1, /* (404) user_name ::= NK_ID */ + -1, /* (405) topic_name ::= NK_ID */ + -1, /* (406) stream_name ::= NK_ID */ + -1, /* (407) cgroup_name ::= NK_ID */ + -1, /* (408) index_name ::= NK_ID */ + -1, /* (409) expr_or_subquery ::= expression */ + -1, /* (410) expression ::= literal */ + -1, /* (411) expression ::= pseudo_column */ + -1, /* (412) expression ::= column_reference */ + -1, /* (413) expression ::= function_expression */ + -1, /* (414) expression ::= case_when_expression */ + -3, /* (415) expression ::= NK_LP expression NK_RP */ + -2, /* (416) expression ::= NK_PLUS expr_or_subquery */ + -2, /* (417) expression ::= NK_MINUS expr_or_subquery */ + -3, /* (418) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + -3, /* (419) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + -3, /* (420) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + -3, /* (421) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + -3, /* (422) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + -3, /* (423) expression ::= column_reference NK_ARROW NK_STRING */ + -3, /* (424) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + -3, /* (425) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + -1, /* (426) expression_list ::= expr_or_subquery */ + -3, /* (427) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + -1, /* (428) column_reference ::= column_name */ + -3, /* (429) column_reference ::= table_name NK_DOT column_name */ + -1, /* (430) pseudo_column ::= ROWTS */ + -1, /* (431) pseudo_column ::= TBNAME */ + -3, /* (432) pseudo_column ::= table_name NK_DOT TBNAME */ + -1, /* (433) pseudo_column ::= QSTART */ + -1, /* (434) pseudo_column ::= QEND */ + -1, /* (435) pseudo_column ::= QDURATION */ + -1, /* (436) pseudo_column ::= WSTART */ + -1, /* (437) pseudo_column ::= WEND */ + -1, /* (438) pseudo_column ::= WDURATION */ + -1, /* (439) pseudo_column ::= IROWTS */ + -1, /* (440) pseudo_column ::= ISFILLED */ + -1, /* (441) pseudo_column ::= QTAGS */ + -4, /* (442) function_expression ::= function_name NK_LP expression_list NK_RP */ + -4, /* (443) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + -6, /* (444) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + -1, /* (445) function_expression ::= literal_func */ + -3, /* (446) literal_func ::= noarg_func NK_LP NK_RP */ + -1, /* (447) literal_func ::= NOW */ + -1, /* (448) noarg_func ::= NOW */ + -1, /* (449) noarg_func ::= TODAY */ + -1, /* (450) noarg_func ::= TIMEZONE */ + -1, /* (451) noarg_func ::= DATABASE */ + -1, /* (452) noarg_func ::= CLIENT_VERSION */ + -1, /* (453) noarg_func ::= SERVER_VERSION */ + -1, /* (454) noarg_func ::= SERVER_STATUS */ + -1, /* (455) noarg_func ::= CURRENT_USER */ + -1, /* (456) noarg_func ::= USER */ + -1, /* (457) star_func ::= COUNT */ + -1, /* (458) star_func ::= FIRST */ + -1, /* (459) star_func ::= LAST */ + -1, /* (460) star_func ::= LAST_ROW */ + -1, /* (461) star_func_para_list ::= NK_STAR */ + -1, /* (462) star_func_para_list ::= other_para_list */ + -1, /* (463) other_para_list ::= star_func_para */ + -3, /* (464) other_para_list ::= other_para_list NK_COMMA star_func_para */ + -1, /* (465) star_func_para ::= expr_or_subquery */ + -3, /* (466) star_func_para ::= table_name NK_DOT NK_STAR */ + -4, /* (467) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + -5, /* (468) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + -1, /* (469) when_then_list ::= when_then_expr */ + -2, /* (470) when_then_list ::= when_then_list when_then_expr */ + -4, /* (471) when_then_expr ::= WHEN common_expression THEN common_expression */ + 0, /* (472) case_when_else_opt ::= */ + -2, /* (473) case_when_else_opt ::= ELSE common_expression */ + -3, /* (474) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + -5, /* (475) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + -6, /* (476) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + -3, /* (477) predicate ::= expr_or_subquery IS NULL */ + -4, /* (478) predicate ::= expr_or_subquery IS NOT NULL */ + -3, /* (479) predicate ::= expr_or_subquery in_op in_predicate_value */ + -1, /* (480) compare_op ::= NK_LT */ + -1, /* (481) compare_op ::= NK_GT */ + -1, /* (482) compare_op ::= NK_LE */ + -1, /* (483) compare_op ::= NK_GE */ + -1, /* (484) compare_op ::= NK_NE */ + -1, /* (485) compare_op ::= NK_EQ */ + -1, /* (486) compare_op ::= LIKE */ + -2, /* (487) compare_op ::= NOT LIKE */ + -1, /* (488) compare_op ::= MATCH */ + -1, /* (489) compare_op ::= NMATCH */ + -1, /* (490) compare_op ::= CONTAINS */ + -1, /* (491) in_op ::= IN */ + -2, /* (492) in_op ::= NOT IN */ + -3, /* (493) in_predicate_value ::= NK_LP literal_list NK_RP */ + -1, /* (494) boolean_value_expression ::= boolean_primary */ + -2, /* (495) boolean_value_expression ::= NOT boolean_primary */ + -3, /* (496) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + -3, /* (497) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + -1, /* (498) boolean_primary ::= predicate */ + -3, /* (499) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + -1, /* (500) common_expression ::= expr_or_subquery */ + -1, /* (501) common_expression ::= boolean_value_expression */ + 0, /* (502) from_clause_opt ::= */ + -2, /* (503) from_clause_opt ::= FROM table_reference_list */ + -1, /* (504) table_reference_list ::= table_reference */ + -3, /* (505) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + -1, /* (506) table_reference ::= table_primary */ + -1, /* (507) table_reference ::= joined_table */ + -2, /* (508) table_primary ::= table_name alias_opt */ + -4, /* (509) table_primary ::= db_name NK_DOT table_name alias_opt */ + -2, /* (510) table_primary ::= subquery alias_opt */ + -1, /* (511) table_primary ::= parenthesized_joined_table */ + 0, /* (512) alias_opt ::= */ + -1, /* (513) alias_opt ::= table_alias */ + -2, /* (514) alias_opt ::= AS table_alias */ + -3, /* (515) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + -3, /* (516) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + -6, /* (517) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + 0, /* (518) join_type ::= */ + -1, /* (519) join_type ::= INNER */ + -12, /* (520) 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 */ + 0, /* (521) set_quantifier_opt ::= */ + -1, /* (522) set_quantifier_opt ::= DISTINCT */ + -1, /* (523) set_quantifier_opt ::= ALL */ + -1, /* (524) select_list ::= select_item */ + -3, /* (525) select_list ::= select_list NK_COMMA select_item */ + -1, /* (526) select_item ::= NK_STAR */ + -1, /* (527) select_item ::= common_expression */ + -2, /* (528) select_item ::= common_expression column_alias */ + -3, /* (529) select_item ::= common_expression AS column_alias */ + -3, /* (530) select_item ::= table_name NK_DOT NK_STAR */ + 0, /* (531) where_clause_opt ::= */ + -2, /* (532) where_clause_opt ::= WHERE search_condition */ + 0, /* (533) partition_by_clause_opt ::= */ + -3, /* (534) partition_by_clause_opt ::= PARTITION BY partition_list */ + -1, /* (535) partition_list ::= partition_item */ + -3, /* (536) partition_list ::= partition_list NK_COMMA partition_item */ + -1, /* (537) partition_item ::= expr_or_subquery */ + -2, /* (538) partition_item ::= expr_or_subquery column_alias */ + -3, /* (539) partition_item ::= expr_or_subquery AS column_alias */ + 0, /* (540) twindow_clause_opt ::= */ + -6, /* (541) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + -4, /* (542) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + -6, /* (543) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + -8, /* (544) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + -7, /* (545) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 0, /* (546) sliding_opt ::= */ + -4, /* (547) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + 0, /* (548) fill_opt ::= */ + -4, /* (549) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + -6, /* (550) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + -6, /* (551) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + -1, /* (552) fill_mode ::= NONE */ + -1, /* (553) fill_mode ::= PREV */ + -1, /* (554) fill_mode ::= NULL */ + -1, /* (555) fill_mode ::= NULL_F */ + -1, /* (556) fill_mode ::= LINEAR */ + -1, /* (557) fill_mode ::= NEXT */ + 0, /* (558) group_by_clause_opt ::= */ + -3, /* (559) group_by_clause_opt ::= GROUP BY group_by_list */ + -1, /* (560) group_by_list ::= expr_or_subquery */ + -3, /* (561) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 0, /* (562) having_clause_opt ::= */ + -2, /* (563) having_clause_opt ::= HAVING search_condition */ + 0, /* (564) range_opt ::= */ + -6, /* (565) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + -4, /* (566) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 0, /* (567) every_opt ::= */ + -4, /* (568) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + -4, /* (569) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + -1, /* (570) query_simple ::= query_specification */ + -1, /* (571) query_simple ::= union_query_expression */ + -4, /* (572) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + -3, /* (573) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + -1, /* (574) query_simple_or_subquery ::= query_simple */ + -1, /* (575) query_simple_or_subquery ::= subquery */ + -1, /* (576) query_or_subquery ::= query_expression */ + -1, /* (577) query_or_subquery ::= subquery */ + 0, /* (578) order_by_clause_opt ::= */ + -3, /* (579) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 0, /* (580) slimit_clause_opt ::= */ + -2, /* (581) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + -4, /* (582) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + -4, /* (583) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 0, /* (584) limit_clause_opt ::= */ + -2, /* (585) limit_clause_opt ::= LIMIT NK_INTEGER */ + -4, /* (586) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + -4, /* (587) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + -3, /* (588) subquery ::= NK_LP query_expression NK_RP */ + -3, /* (589) subquery ::= NK_LP subquery NK_RP */ + -1, /* (590) search_condition ::= common_expression */ + -1, /* (591) sort_specification_list ::= sort_specification */ + -3, /* (592) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + -3, /* (593) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 0, /* (594) ordering_specification_opt ::= */ + -1, /* (595) ordering_specification_opt ::= ASC */ + -1, /* (596) ordering_specification_opt ::= DESC */ + 0, /* (597) null_ordering_opt ::= */ + -2, /* (598) null_ordering_opt ::= NULLS FIRST */ + -2, /* (599) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -4596,25 +4602,25 @@ static YYACTIONTYPE yy_reduce( case 44: /* with_opt ::= */ case 144: /* start_opt ::= */ yytestcase(yyruleno==144); case 148: /* end_opt ::= */ yytestcase(yyruleno==148); - case 273: /* like_pattern_opt ::= */ yytestcase(yyruleno==273); - case 352: /* subtable_opt ::= */ yytestcase(yyruleno==352); - case 470: /* case_when_else_opt ::= */ yytestcase(yyruleno==470); - case 500: /* from_clause_opt ::= */ yytestcase(yyruleno==500); - case 529: /* where_clause_opt ::= */ yytestcase(yyruleno==529); - case 538: /* twindow_clause_opt ::= */ yytestcase(yyruleno==538); - case 544: /* sliding_opt ::= */ yytestcase(yyruleno==544); - case 546: /* fill_opt ::= */ yytestcase(yyruleno==546); - case 560: /* having_clause_opt ::= */ yytestcase(yyruleno==560); - case 562: /* range_opt ::= */ yytestcase(yyruleno==562); - case 565: /* every_opt ::= */ yytestcase(yyruleno==565); - case 578: /* slimit_clause_opt ::= */ yytestcase(yyruleno==578); - case 582: /* limit_clause_opt ::= */ yytestcase(yyruleno==582); + case 276: /* like_pattern_opt ::= */ yytestcase(yyruleno==276); + case 354: /* subtable_opt ::= */ yytestcase(yyruleno==354); + case 472: /* case_when_else_opt ::= */ yytestcase(yyruleno==472); + case 502: /* from_clause_opt ::= */ yytestcase(yyruleno==502); + case 531: /* where_clause_opt ::= */ yytestcase(yyruleno==531); + case 540: /* twindow_clause_opt ::= */ yytestcase(yyruleno==540); + case 546: /* sliding_opt ::= */ yytestcase(yyruleno==546); + case 548: /* fill_opt ::= */ yytestcase(yyruleno==548); + case 562: /* having_clause_opt ::= */ yytestcase(yyruleno==562); + case 564: /* range_opt ::= */ yytestcase(yyruleno==564); + case 567: /* every_opt ::= */ yytestcase(yyruleno==567); + case 580: /* slimit_clause_opt ::= */ yytestcase(yyruleno==580); + case 584: /* limit_clause_opt ::= */ yytestcase(yyruleno==584); { yymsp[1].minor.yy452 = NULL; } break; case 45: /* with_opt ::= WITH search_condition */ - case 501: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==501); - case 530: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==530); - case 561: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==561); + case 503: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==503); + case 532: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==532); + case 563: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==563); { yymsp[-1].minor.yy452 = yymsp[0].minor.yy452; } break; case 46: /* cmd ::= CREATE DNODE dnode_endpoint */ @@ -4653,52 +4659,52 @@ static YYACTIONTYPE yy_reduce( case 57: /* dnode_endpoint ::= NK_STRING */ case 58: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==58); case 59: /* dnode_endpoint ::= NK_IPTOKEN */ yytestcase(yyruleno==59); - case 298: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==298); - case 299: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==299); - case 300: /* sma_func_name ::= LAST */ yytestcase(yyruleno==300); - case 301: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==301); - case 396: /* db_name ::= NK_ID */ yytestcase(yyruleno==396); - case 397: /* table_name ::= NK_ID */ yytestcase(yyruleno==397); - case 398: /* column_name ::= NK_ID */ yytestcase(yyruleno==398); - case 399: /* function_name ::= NK_ID */ yytestcase(yyruleno==399); - case 400: /* table_alias ::= NK_ID */ yytestcase(yyruleno==400); - case 401: /* column_alias ::= NK_ID */ yytestcase(yyruleno==401); - case 402: /* user_name ::= NK_ID */ yytestcase(yyruleno==402); - case 403: /* topic_name ::= NK_ID */ yytestcase(yyruleno==403); - case 404: /* stream_name ::= NK_ID */ yytestcase(yyruleno==404); - case 405: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==405); - case 406: /* index_name ::= NK_ID */ yytestcase(yyruleno==406); - case 446: /* noarg_func ::= NOW */ yytestcase(yyruleno==446); - case 447: /* noarg_func ::= TODAY */ yytestcase(yyruleno==447); - case 448: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==448); - case 449: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==449); - case 450: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==450); - case 451: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==451); - case 452: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==452); - case 453: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==453); - case 454: /* noarg_func ::= USER */ yytestcase(yyruleno==454); - case 455: /* star_func ::= COUNT */ yytestcase(yyruleno==455); - case 456: /* star_func ::= FIRST */ yytestcase(yyruleno==456); - case 457: /* star_func ::= LAST */ yytestcase(yyruleno==457); - case 458: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==458); + case 300: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==300); + case 301: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==301); + case 302: /* sma_func_name ::= LAST */ yytestcase(yyruleno==302); + case 303: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==303); + case 398: /* db_name ::= NK_ID */ yytestcase(yyruleno==398); + case 399: /* table_name ::= NK_ID */ yytestcase(yyruleno==399); + case 400: /* column_name ::= NK_ID */ yytestcase(yyruleno==400); + case 401: /* function_name ::= NK_ID */ yytestcase(yyruleno==401); + case 402: /* table_alias ::= NK_ID */ yytestcase(yyruleno==402); + case 403: /* column_alias ::= NK_ID */ yytestcase(yyruleno==403); + case 404: /* user_name ::= NK_ID */ yytestcase(yyruleno==404); + case 405: /* topic_name ::= NK_ID */ yytestcase(yyruleno==405); + case 406: /* stream_name ::= NK_ID */ yytestcase(yyruleno==406); + case 407: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==407); + case 408: /* index_name ::= NK_ID */ yytestcase(yyruleno==408); + case 448: /* noarg_func ::= NOW */ yytestcase(yyruleno==448); + case 449: /* noarg_func ::= TODAY */ yytestcase(yyruleno==449); + case 450: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==450); + case 451: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==451); + case 452: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==452); + case 453: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==453); + case 454: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==454); + case 455: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==455); + case 456: /* noarg_func ::= USER */ yytestcase(yyruleno==456); + case 457: /* star_func ::= COUNT */ yytestcase(yyruleno==457); + case 458: /* star_func ::= FIRST */ yytestcase(yyruleno==458); + case 459: /* star_func ::= LAST */ yytestcase(yyruleno==459); + case 460: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==460); { yylhsminor.yy371 = yymsp[0].minor.yy0; } yymsp[0].minor.yy371 = yylhsminor.yy371; break; case 60: /* force_opt ::= */ case 84: /* not_exists_opt ::= */ yytestcase(yyruleno==84); case 86: /* exists_opt ::= */ yytestcase(yyruleno==86); - case 319: /* analyze_opt ::= */ yytestcase(yyruleno==319); - case 326: /* agg_func_opt ::= */ yytestcase(yyruleno==326); - case 332: /* or_replace_opt ::= */ yytestcase(yyruleno==332); - case 354: /* ignore_opt ::= */ yytestcase(yyruleno==354); - case 519: /* set_quantifier_opt ::= */ yytestcase(yyruleno==519); + case 321: /* analyze_opt ::= */ yytestcase(yyruleno==321); + case 328: /* agg_func_opt ::= */ yytestcase(yyruleno==328); + case 334: /* or_replace_opt ::= */ yytestcase(yyruleno==334); + case 356: /* ignore_opt ::= */ yytestcase(yyruleno==356); + case 521: /* set_quantifier_opt ::= */ yytestcase(yyruleno==521); { yymsp[1].minor.yy667 = false; } break; case 61: /* force_opt ::= FORCE */ case 62: /* unsafe_opt ::= UNSAFE */ yytestcase(yyruleno==62); - case 320: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==320); - case 327: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==327); - case 520: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==520); + case 322: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==322); + case 329: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==329); + case 522: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==522); { yymsp[0].minor.yy667 = true; } break; case 63: /* cmd ::= ALTER LOCAL NK_STRING */ @@ -4765,8 +4771,8 @@ static YYACTIONTYPE yy_reduce( { yymsp[-2].minor.yy667 = true; } break; case 85: /* exists_opt ::= IF EXISTS */ - case 333: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==333); - case 355: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==355); + case 335: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==335); + case 357: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==357); { yymsp[-1].minor.yy667 = true; } break; case 87: /* db_options ::= */ @@ -4958,7 +4964,7 @@ static YYACTIONTYPE yy_reduce( yymsp[0].minor.yy812 = yylhsminor.yy812; break; case 136: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 365: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==365); + case 367: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==367); { yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-2].minor.yy812, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } yymsp[-2].minor.yy812 = yylhsminor.yy812; break; @@ -4976,14 +4982,14 @@ static YYACTIONTYPE yy_reduce( case 179: /* column_def_list ::= column_def */ yytestcase(yyruleno==179); case 223: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==223); case 228: /* col_name_list ::= col_name */ yytestcase(yyruleno==228); - case 280: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==280); - case 294: /* func_list ::= func */ yytestcase(yyruleno==294); - case 394: /* literal_list ::= signed_literal */ yytestcase(yyruleno==394); - case 461: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==461); - case 467: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==467); - case 522: /* select_list ::= select_item */ yytestcase(yyruleno==522); - case 533: /* partition_list ::= partition_item */ yytestcase(yyruleno==533); - case 589: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==589); + case 282: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==282); + case 296: /* func_list ::= func */ yytestcase(yyruleno==296); + case 396: /* literal_list ::= signed_literal */ yytestcase(yyruleno==396); + case 463: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==463); + case 469: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==469); + case 524: /* select_list ::= select_item */ yytestcase(yyruleno==524); + case 535: /* partition_list ::= partition_item */ yytestcase(yyruleno==535); + case 591: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==591); { yylhsminor.yy812 = createNodeList(pCxt, yymsp[0].minor.yy452); } yymsp[0].minor.yy812 = yylhsminor.yy812; break; @@ -4992,13 +4998,13 @@ static YYACTIONTYPE yy_reduce( case 180: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==180); case 224: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==224); case 229: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==229); - case 281: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==281); - case 295: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==295); - case 395: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==395); - case 462: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==462); - case 523: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==523); - case 534: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==534); - case 590: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==590); + case 283: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==283); + case 297: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==297); + case 397: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==397); + case 464: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==464); + case 525: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==525); + case 536: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==536); + case 592: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==592); { yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-2].minor.yy812, yymsp[0].minor.yy452); } yymsp[-2].minor.yy812 = yylhsminor.yy812; break; @@ -5007,11 +5013,11 @@ static YYACTIONTYPE yy_reduce( yymsp[-2].minor.yy452 = yylhsminor.yy452; break; case 142: /* speed_opt ::= */ - case 328: /* bufsize_opt ::= */ yytestcase(yyruleno==328); + case 330: /* bufsize_opt ::= */ yytestcase(yyruleno==330); { yymsp[1].minor.yy416 = 0; } break; case 143: /* speed_opt ::= MAX_SPEED NK_INTEGER */ - case 329: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==329); + case 331: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==331); { yymsp[-1].minor.yy416 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 145: /* start_opt ::= START WITH NK_INTEGER */ @@ -5040,8 +5046,8 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy667, yymsp[0].minor.yy452); } break; case 157: /* cmd ::= ALTER TABLE alter_table_clause */ - case 367: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==367); - case 368: /* cmd ::= insert_query */ yytestcase(yyruleno==368); + case 369: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==369); + case 370: /* cmd ::= insert_query */ yytestcase(yyruleno==370); { pCxt->pRootNode = yymsp[0].minor.yy452; } break; case 158: /* cmd ::= ALTER STABLE alter_table_clause */ @@ -5088,7 +5094,7 @@ static YYACTIONTYPE yy_reduce( yymsp[-5].minor.yy452 = yylhsminor.yy452; break; case 170: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 468: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==468); + case 470: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==470); { yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-1].minor.yy812, yymsp[0].minor.yy452); } yymsp[-1].minor.yy812 = yylhsminor.yy812; break; @@ -5102,16 +5108,16 @@ static YYACTIONTYPE yy_reduce( break; case 175: /* specific_cols_opt ::= */ case 206: /* tags_def_opt ::= */ yytestcase(yyruleno==206); - case 279: /* tag_list_opt ::= */ yytestcase(yyruleno==279); - case 338: /* col_list_opt ::= */ yytestcase(yyruleno==338); - case 340: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==340); - case 531: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==531); - case 556: /* group_by_clause_opt ::= */ yytestcase(yyruleno==556); - case 576: /* order_by_clause_opt ::= */ yytestcase(yyruleno==576); + case 281: /* tag_list_opt ::= */ yytestcase(yyruleno==281); + case 340: /* col_list_opt ::= */ yytestcase(yyruleno==340); + case 342: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==342); + case 533: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==533); + case 558: /* group_by_clause_opt ::= */ yytestcase(yyruleno==558); + case 578: /* order_by_clause_opt ::= */ yytestcase(yyruleno==578); { yymsp[1].minor.yy812 = NULL; } break; case 176: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ - case 339: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==339); + case 341: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==341); { yymsp[-2].minor.yy812 = yymsp[-1].minor.yy812; } break; case 177: /* full_table_name ::= table_name */ @@ -5119,7 +5125,6 @@ static YYACTIONTYPE yy_reduce( yymsp[0].minor.yy452 = yylhsminor.yy452; break; case 178: /* full_table_name ::= db_name NK_DOT table_name */ - case 276: /* table_name_cond ::= db_name NK_DOT table_name */ yytestcase(yyruleno==276); { yylhsminor.yy452 = createRealTableNode(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371, NULL); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; @@ -5198,13 +5203,13 @@ static YYACTIONTYPE yy_reduce( { yymsp[-5].minor.yy310 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 207: /* tags_def_opt ::= tags_def */ - case 341: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==341); - case 460: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==460); + case 343: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==343); + case 462: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==462); { yylhsminor.yy812 = yymsp[0].minor.yy812; } yymsp[0].minor.yy812 = yylhsminor.yy812; break; case 208: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ - case 342: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==342); + case 344: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==344); { yymsp[-3].minor.yy812 = yymsp[-1].minor.yy812; } break; case 209: /* table_options ::= */ @@ -5253,12 +5258,12 @@ static YYACTIONTYPE yy_reduce( { yymsp[-1].minor.yy365.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } break; case 221: /* duration_list ::= duration_literal */ - case 424: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==424); + case 426: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==426); { yylhsminor.yy812 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } yymsp[0].minor.yy812 = yylhsminor.yy812; break; case 222: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 425: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==425); + case 427: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==427); { yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-2].minor.yy812, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } yymsp[-2].minor.yy812 = yylhsminor.yy812; break; @@ -5268,12 +5273,12 @@ static YYACTIONTYPE yy_reduce( break; case 226: /* rollup_func_name ::= FIRST */ case 227: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==227); - case 283: /* tag_item ::= QTAGS */ yytestcase(yyruleno==283); + case 285: /* tag_item ::= QTAGS */ yytestcase(yyruleno==285); { yylhsminor.yy452 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; case 230: /* col_name ::= column_name */ - case 284: /* tag_item ::= column_name */ yytestcase(yyruleno==284); + case 286: /* tag_item ::= column_name */ yytestcase(yyruleno==286); { yylhsminor.yy452 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy371); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; @@ -5310,371 +5315,380 @@ static YYACTIONTYPE yy_reduce( case 241: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy452, yymsp[-1].minor.yy452, OP_TYPE_EQUAL); } break; - case 242: /* cmd ::= SHOW STREAMS */ + case 242: /* cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy371), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371), OP_TYPE_EQUAL); } + break; + case 243: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } break; - case 243: /* cmd ::= SHOW ACCOUNTS */ + case 244: /* cmd ::= SHOW ACCOUNTS */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } break; - case 244: /* cmd ::= SHOW APPS */ + case 245: /* cmd ::= SHOW APPS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_APPS_STMT); } break; - case 245: /* cmd ::= SHOW CONNECTIONS */ + case 246: /* cmd ::= SHOW CONNECTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONNECTIONS_STMT); } break; - case 246: /* cmd ::= SHOW LICENCES */ - case 247: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==247); + case 247: /* cmd ::= SHOW LICENCES */ + case 248: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==248); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; - case 248: /* cmd ::= SHOW CREATE DATABASE db_name */ + case 249: /* cmd ::= SHOW CREATE DATABASE db_name */ { pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy371); } break; - case 249: /* cmd ::= SHOW CREATE TABLE full_table_name */ + case 250: /* cmd ::= SHOW CREATE TABLE full_table_name */ { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy452); } break; - case 250: /* cmd ::= SHOW CREATE STABLE full_table_name */ + case 251: /* cmd ::= SHOW CREATE STABLE full_table_name */ { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy452); } break; - case 251: /* cmd ::= SHOW QUERIES */ + case 252: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } break; - case 252: /* cmd ::= SHOW SCORES */ + case 253: /* cmd ::= SHOW SCORES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SCORES_STMT); } break; - case 253: /* cmd ::= SHOW TOPICS */ + case 254: /* cmd ::= SHOW TOPICS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TOPICS_STMT); } break; - case 254: /* cmd ::= SHOW VARIABLES */ - case 255: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==255); + case 255: /* cmd ::= SHOW VARIABLES */ + case 256: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==256); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_VARIABLES_STMT); } break; - case 256: /* cmd ::= SHOW LOCAL VARIABLES */ + case 257: /* cmd ::= SHOW LOCAL VARIABLES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; - case 257: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + case 258: /* 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.yy452); } break; - case 258: /* cmd ::= SHOW BNODES */ + case 259: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } break; - case 259: /* cmd ::= SHOW SNODES */ + case 260: /* cmd ::= SHOW SNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SNODES_STMT); } break; - case 260: /* cmd ::= SHOW CLUSTER */ + case 261: /* cmd ::= SHOW CLUSTER */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_STMT); } break; - case 261: /* cmd ::= SHOW TRANSACTIONS */ + case 262: /* cmd ::= SHOW TRANSACTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; - case 262: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + case 263: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ { pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy452); } break; - case 263: /* cmd ::= SHOW CONSUMERS */ + case 264: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } break; - case 264: /* cmd ::= SHOW SUBSCRIPTIONS */ + case 265: /* cmd ::= SHOW SUBSCRIPTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; - case 265: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + case 266: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy452, yymsp[-1].minor.yy452, OP_TYPE_EQUAL); } break; - case 266: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + case 267: /* cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy371), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371), OP_TYPE_EQUAL); } + break; + case 268: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy452, yymsp[0].minor.yy452, yymsp[-3].minor.yy812); } break; - case 267: /* cmd ::= SHOW VNODES NK_INTEGER */ + case 269: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy371), yymsp[-4].minor.yy812); } + break; + case 270: /* cmd ::= SHOW VNODES NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } break; - case 268: /* cmd ::= SHOW VNODES NK_STRING */ + case 271: /* cmd ::= SHOW VNODES NK_STRING */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, createValueNode(pCxt, TSDB_DATA_TYPE_VARCHAR, &yymsp[0].minor.yy0)); } break; - case 269: /* cmd ::= SHOW db_name_cond_opt ALIVE */ + case 272: /* cmd ::= SHOW db_name_cond_opt ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy452, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; - case 270: /* cmd ::= SHOW CLUSTER ALIVE */ + case 273: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; - case 271: /* db_name_cond_opt ::= */ - case 277: /* from_db_opt ::= */ yytestcase(yyruleno==277); + case 274: /* db_name_cond_opt ::= */ + case 279: /* from_db_opt ::= */ yytestcase(yyruleno==279); { yymsp[1].minor.yy452 = createDefaultDatabaseCondValue(pCxt); } break; - case 272: /* db_name_cond_opt ::= db_name NK_DOT */ + case 275: /* db_name_cond_opt ::= db_name NK_DOT */ { yylhsminor.yy452 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy371); } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 274: /* like_pattern_opt ::= LIKE NK_STRING */ + case 277: /* like_pattern_opt ::= LIKE NK_STRING */ { yymsp[-1].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; - case 275: /* table_name_cond ::= table_name */ + case 278: /* table_name_cond ::= table_name */ { yylhsminor.yy452 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 278: /* from_db_opt ::= FROM db_name */ + case 280: /* from_db_opt ::= FROM db_name */ { yymsp[-1].minor.yy452 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371); } break; - case 282: /* tag_item ::= TBNAME */ + case 284: /* tag_item ::= TBNAME */ { yylhsminor.yy452 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 285: /* tag_item ::= column_name column_alias */ + case 287: /* tag_item ::= column_name column_alias */ { yylhsminor.yy452 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy371), &yymsp[0].minor.yy371); } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 286: /* tag_item ::= column_name AS column_alias */ + case 288: /* tag_item ::= column_name AS column_alias */ { yylhsminor.yy452 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy371), &yymsp[0].minor.yy371); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 287: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + case 289: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ { pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy667, yymsp[-3].minor.yy452, yymsp[-1].minor.yy452, NULL, yymsp[0].minor.yy452); } break; - case 288: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + case 290: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ { pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy667, yymsp[-5].minor.yy452, yymsp[-3].minor.yy452, yymsp[-1].minor.yy812, NULL); } break; - case 289: /* cmd ::= DROP INDEX exists_opt full_index_name */ + case 291: /* cmd ::= DROP INDEX exists_opt full_index_name */ { pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy667, yymsp[0].minor.yy452); } break; - case 290: /* full_index_name ::= index_name */ + case 292: /* full_index_name ::= index_name */ { yylhsminor.yy452 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy371); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 291: /* full_index_name ::= db_name NK_DOT index_name */ + case 293: /* full_index_name ::= db_name NK_DOT index_name */ { yylhsminor.yy452 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 292: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + case 294: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ { yymsp[-9].minor.yy452 = createIndexOption(pCxt, yymsp[-7].minor.yy812, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), NULL, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } break; - case 293: /* 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 */ + case 295: /* 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.yy452 = createIndexOption(pCxt, yymsp[-9].minor.yy812, releaseRawExprNode(pCxt, yymsp[-5].minor.yy452), releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } break; - case 296: /* func ::= sma_func_name NK_LP expression_list NK_RP */ + case 298: /* func ::= sma_func_name NK_LP expression_list NK_RP */ { yylhsminor.yy452 = createFunctionNode(pCxt, &yymsp[-3].minor.yy371, yymsp[-1].minor.yy812); } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 297: /* sma_func_name ::= function_name */ - case 511: /* alias_opt ::= table_alias */ yytestcase(yyruleno==511); + case 299: /* sma_func_name ::= function_name */ + case 513: /* alias_opt ::= table_alias */ yytestcase(yyruleno==513); { yylhsminor.yy371 = yymsp[0].minor.yy371; } yymsp[0].minor.yy371 = yylhsminor.yy371; break; - case 302: /* sma_stream_opt ::= */ - case 343: /* stream_options ::= */ yytestcase(yyruleno==343); + case 304: /* sma_stream_opt ::= */ + case 345: /* stream_options ::= */ yytestcase(yyruleno==345); { yymsp[1].minor.yy452 = createStreamOptions(pCxt); } break; - case 303: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + case 305: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy452)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); yylhsminor.yy452 = yymsp[-2].minor.yy452; } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 304: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + case 306: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy452)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); yylhsminor.yy452 = yymsp[-2].minor.yy452; } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 305: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + case 307: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy452)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); yylhsminor.yy452 = yymsp[-2].minor.yy452; } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 306: /* with_meta ::= AS */ + case 308: /* with_meta ::= AS */ { yymsp[0].minor.yy416 = 0; } break; - case 307: /* with_meta ::= WITH META AS */ + case 309: /* with_meta ::= WITH META AS */ { yymsp[-2].minor.yy416 = 1; } break; - case 308: /* with_meta ::= ONLY META AS */ + case 310: /* with_meta ::= ONLY META AS */ { yymsp[-2].minor.yy416 = 2; } break; - case 309: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + case 311: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ { pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy667, &yymsp[-2].minor.yy371, yymsp[0].minor.yy452); } break; - case 310: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + case 312: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ { pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy667, &yymsp[-3].minor.yy371, &yymsp[0].minor.yy371, yymsp[-2].minor.yy416); } break; - case 311: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + case 313: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ { pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy667, &yymsp[-4].minor.yy371, yymsp[-1].minor.yy452, yymsp[-3].minor.yy416, yymsp[0].minor.yy452); } break; - case 312: /* cmd ::= DROP TOPIC exists_opt topic_name */ + case 314: /* cmd ::= DROP TOPIC exists_opt topic_name */ { pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } break; - case 313: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + case 315: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ { pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy667, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371); } break; - case 314: /* cmd ::= DESC full_table_name */ - case 315: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==315); + case 316: /* cmd ::= DESC full_table_name */ + case 317: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==317); { pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy452); } break; - case 316: /* cmd ::= RESET QUERY CACHE */ + case 318: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; - case 317: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - case 318: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==318); + case 319: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + case 320: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==320); { pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy667, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } break; - case 321: /* explain_options ::= */ + case 323: /* explain_options ::= */ { yymsp[1].minor.yy452 = createDefaultExplainOptions(pCxt); } break; - case 322: /* explain_options ::= explain_options VERBOSE NK_BOOL */ + case 324: /* explain_options ::= explain_options VERBOSE NK_BOOL */ { yylhsminor.yy452 = setExplainVerbose(pCxt, yymsp[-2].minor.yy452, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 323: /* explain_options ::= explain_options RATIO NK_FLOAT */ + case 325: /* explain_options ::= explain_options RATIO NK_FLOAT */ { yylhsminor.yy452 = setExplainRatio(pCxt, yymsp[-2].minor.yy452, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 324: /* cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + case 326: /* cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ { pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy667, yymsp[-9].minor.yy667, &yymsp[-6].minor.yy371, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy310, yymsp[-1].minor.yy416, &yymsp[0].minor.yy371, yymsp[-10].minor.yy667); } break; - case 325: /* cmd ::= DROP FUNCTION exists_opt function_name */ + case 327: /* cmd ::= DROP FUNCTION exists_opt function_name */ { pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } break; - case 330: /* language_opt ::= */ + case 332: /* language_opt ::= */ { yymsp[1].minor.yy371 = nil_token; } break; - case 331: /* language_opt ::= LANGUAGE NK_STRING */ + case 333: /* language_opt ::= LANGUAGE NK_STRING */ { yymsp[-1].minor.yy371 = yymsp[0].minor.yy0; } break; - case 334: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + case 336: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ { pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy667, &yymsp[-8].minor.yy371, yymsp[-5].minor.yy452, yymsp[-7].minor.yy452, yymsp[-3].minor.yy812, yymsp[-2].minor.yy452, yymsp[0].minor.yy452, yymsp[-4].minor.yy812); } break; - case 335: /* cmd ::= DROP STREAM exists_opt stream_name */ + case 337: /* cmd ::= DROP STREAM exists_opt stream_name */ { pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } break; - case 336: /* cmd ::= PAUSE STREAM exists_opt stream_name */ + case 338: /* cmd ::= PAUSE STREAM exists_opt stream_name */ { pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } break; - case 337: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + case 339: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ { pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy667, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } break; - case 344: /* stream_options ::= stream_options TRIGGER AT_ONCE */ - case 345: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==345); + case 346: /* stream_options ::= stream_options TRIGGER AT_ONCE */ + case 347: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==347); { yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-2].minor.yy452, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 346: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + case 348: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ { yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-3].minor.yy452, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 347: /* stream_options ::= stream_options WATERMARK duration_literal */ + case 349: /* stream_options ::= stream_options WATERMARK duration_literal */ { yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-2].minor.yy452, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 348: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + case 350: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ { yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-3].minor.yy452, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 349: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + case 351: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ { yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-2].minor.yy452, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 350: /* stream_options ::= stream_options DELETE_MARK duration_literal */ + case 352: /* stream_options ::= stream_options DELETE_MARK duration_literal */ { yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-2].minor.yy452, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 351: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + case 353: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ { yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-3].minor.yy452, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 353: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 545: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==545); - case 566: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==566); + case 355: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + case 547: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==547); + case 568: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==568); { yymsp[-3].minor.yy452 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy452); } break; - case 356: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 358: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 357: /* cmd ::= KILL QUERY NK_STRING */ + case 359: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 358: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 360: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 359: /* cmd ::= BALANCE VGROUP */ + case 361: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 360: /* cmd ::= BALANCE VGROUP LEADER */ + case 362: /* cmd ::= BALANCE VGROUP LEADER */ { pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt); } break; - case 361: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 363: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 362: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + case 364: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ { pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy812); } break; - case 363: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 365: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 364: /* dnode_list ::= DNODE NK_INTEGER */ + case 366: /* dnode_list ::= DNODE NK_INTEGER */ { yymsp[-1].minor.yy812 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 366: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ + case 368: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ { pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } break; - case 369: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + case 371: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ { yymsp[-6].minor.yy452 = createInsertStmt(pCxt, yymsp[-4].minor.yy452, yymsp[-2].minor.yy812, yymsp[0].minor.yy452); } break; - case 370: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ + case 372: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ { yymsp[-3].minor.yy452 = createInsertStmt(pCxt, yymsp[-1].minor.yy452, NULL, yymsp[0].minor.yy452); } break; - case 371: /* literal ::= NK_INTEGER */ + case 373: /* literal ::= NK_INTEGER */ { yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 372: /* literal ::= NK_FLOAT */ + case 374: /* literal ::= NK_FLOAT */ { yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 373: /* literal ::= NK_STRING */ + case 375: /* literal ::= NK_STRING */ { yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 374: /* literal ::= NK_BOOL */ + case 376: /* literal ::= NK_BOOL */ { yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 375: /* literal ::= TIMESTAMP NK_STRING */ + case 377: /* literal ::= TIMESTAMP NK_STRING */ { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 376: /* literal ::= duration_literal */ - case 386: /* signed_literal ::= signed */ yytestcase(yyruleno==386); - case 407: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==407); - case 408: /* expression ::= literal */ yytestcase(yyruleno==408); - case 409: /* expression ::= pseudo_column */ yytestcase(yyruleno==409); - case 410: /* expression ::= column_reference */ yytestcase(yyruleno==410); - case 411: /* expression ::= function_expression */ yytestcase(yyruleno==411); - case 412: /* expression ::= case_when_expression */ yytestcase(yyruleno==412); - case 443: /* function_expression ::= literal_func */ yytestcase(yyruleno==443); - case 492: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==492); - case 496: /* boolean_primary ::= predicate */ yytestcase(yyruleno==496); - case 498: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==498); - case 499: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==499); - case 502: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==502); - case 504: /* table_reference ::= table_primary */ yytestcase(yyruleno==504); - case 505: /* table_reference ::= joined_table */ yytestcase(yyruleno==505); - case 509: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==509); - case 568: /* query_simple ::= query_specification */ yytestcase(yyruleno==568); - case 569: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==569); - case 572: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==572); - case 574: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==574); + case 378: /* literal ::= duration_literal */ + case 388: /* signed_literal ::= signed */ yytestcase(yyruleno==388); + case 409: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==409); + case 410: /* expression ::= literal */ yytestcase(yyruleno==410); + case 411: /* expression ::= pseudo_column */ yytestcase(yyruleno==411); + case 412: /* expression ::= column_reference */ yytestcase(yyruleno==412); + case 413: /* expression ::= function_expression */ yytestcase(yyruleno==413); + case 414: /* expression ::= case_when_expression */ yytestcase(yyruleno==414); + case 445: /* function_expression ::= literal_func */ yytestcase(yyruleno==445); + case 494: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==494); + case 498: /* boolean_primary ::= predicate */ yytestcase(yyruleno==498); + case 500: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==500); + case 501: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==501); + case 504: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==504); + case 506: /* table_reference ::= table_primary */ yytestcase(yyruleno==506); + case 507: /* table_reference ::= joined_table */ yytestcase(yyruleno==507); + case 511: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==511); + case 570: /* query_simple ::= query_specification */ yytestcase(yyruleno==570); + case 571: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==571); + case 574: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==574); + case 576: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==576); { yylhsminor.yy452 = yymsp[0].minor.yy452; } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 377: /* literal ::= NULL */ + case 379: /* literal ::= NULL */ { yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 378: /* literal ::= NK_QUESTION */ + case 380: /* literal ::= NK_QUESTION */ { yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 379: /* duration_literal ::= NK_VARIABLE */ + case 381: /* duration_literal ::= NK_VARIABLE */ { yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 380: /* signed ::= NK_INTEGER */ + case 382: /* signed ::= NK_INTEGER */ { yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 381: /* signed ::= NK_PLUS NK_INTEGER */ + case 383: /* signed ::= NK_PLUS NK_INTEGER */ { yymsp[-1].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } break; - case 382: /* signed ::= NK_MINUS NK_INTEGER */ + case 384: /* 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; @@ -5682,14 +5696,14 @@ static YYACTIONTYPE yy_reduce( } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 383: /* signed ::= NK_FLOAT */ + case 385: /* signed ::= NK_FLOAT */ { yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 384: /* signed ::= NK_PLUS NK_FLOAT */ + case 386: /* signed ::= NK_PLUS NK_FLOAT */ { yymsp[-1].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 385: /* signed ::= NK_MINUS NK_FLOAT */ + case 387: /* 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; @@ -5697,57 +5711,57 @@ static YYACTIONTYPE yy_reduce( } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 387: /* signed_literal ::= NK_STRING */ + case 389: /* signed_literal ::= NK_STRING */ { yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 388: /* signed_literal ::= NK_BOOL */ + case 390: /* signed_literal ::= NK_BOOL */ { yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 389: /* signed_literal ::= TIMESTAMP NK_STRING */ + case 391: /* signed_literal ::= TIMESTAMP NK_STRING */ { yymsp[-1].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 390: /* signed_literal ::= duration_literal */ - case 392: /* signed_literal ::= literal_func */ yytestcase(yyruleno==392); - case 463: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==463); - case 525: /* select_item ::= common_expression */ yytestcase(yyruleno==525); - case 535: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==535); - case 573: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==573); - case 575: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==575); - case 588: /* search_condition ::= common_expression */ yytestcase(yyruleno==588); + case 392: /* signed_literal ::= duration_literal */ + case 394: /* signed_literal ::= literal_func */ yytestcase(yyruleno==394); + case 465: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==465); + case 527: /* select_item ::= common_expression */ yytestcase(yyruleno==527); + case 537: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==537); + case 575: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==575); + case 577: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==577); + case 590: /* search_condition ::= common_expression */ yytestcase(yyruleno==590); { yylhsminor.yy452 = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 391: /* signed_literal ::= NULL */ + case 393: /* signed_literal ::= NULL */ { yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 393: /* signed_literal ::= NK_QUESTION */ + case 395: /* signed_literal ::= NK_QUESTION */ { yylhsminor.yy452 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 413: /* expression ::= NK_LP expression NK_RP */ - case 497: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==497); - case 587: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==587); + case 415: /* expression ::= NK_LP expression NK_RP */ + case 499: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==499); + case 589: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==589); { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 414: /* expression ::= NK_PLUS expr_or_subquery */ + case 416: /* expression ::= NK_PLUS expr_or_subquery */ { SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 415: /* expression ::= NK_MINUS expr_or_subquery */ + case 417: /* expression ::= NK_MINUS expr_or_subquery */ { SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy452), NULL)); } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 416: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 418: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5755,7 +5769,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 417: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 419: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5763,7 +5777,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 418: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 420: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5771,7 +5785,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 419: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 421: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5779,7 +5793,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 420: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 422: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5787,14 +5801,14 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 421: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 423: /* expression ::= column_reference NK_ARROW NK_STRING */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 422: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 424: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5802,7 +5816,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 423: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 425: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5810,71 +5824,71 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 426: /* column_reference ::= column_name */ + case 428: /* column_reference ::= column_name */ { yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy371, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy371)); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 427: /* column_reference ::= table_name NK_DOT column_name */ + case 429: /* column_reference ::= table_name NK_DOT column_name */ { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371, createColumnNode(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371)); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 428: /* pseudo_column ::= ROWTS */ - case 429: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==429); - case 431: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==431); - case 432: /* pseudo_column ::= QEND */ yytestcase(yyruleno==432); - case 433: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==433); - case 434: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==434); - case 435: /* pseudo_column ::= WEND */ yytestcase(yyruleno==435); - case 436: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==436); - case 437: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==437); - case 438: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==438); - case 439: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==439); - case 445: /* literal_func ::= NOW */ yytestcase(yyruleno==445); + case 430: /* pseudo_column ::= ROWTS */ + case 431: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==431); + case 433: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==433); + case 434: /* pseudo_column ::= QEND */ yytestcase(yyruleno==434); + case 435: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==435); + case 436: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==436); + case 437: /* pseudo_column ::= WEND */ yytestcase(yyruleno==437); + case 438: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==438); + case 439: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==439); + case 440: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==440); + case 441: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==441); + case 447: /* literal_func ::= NOW */ yytestcase(yyruleno==447); { yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 430: /* pseudo_column ::= table_name NK_DOT TBNAME */ + case 432: /* pseudo_column ::= table_name NK_DOT TBNAME */ { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy371)))); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 440: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 441: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==441); + case 442: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 443: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==443); { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy371, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy371, yymsp[-1].minor.yy812)); } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 442: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + case 444: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), yymsp[-1].minor.yy310)); } yymsp[-5].minor.yy452 = yylhsminor.yy452; break; - case 444: /* literal_func ::= noarg_func NK_LP NK_RP */ + case 446: /* literal_func ::= noarg_func NK_LP NK_RP */ { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy371, NULL)); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 459: /* star_func_para_list ::= NK_STAR */ + case 461: /* star_func_para_list ::= NK_STAR */ { yylhsminor.yy812 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy812 = yylhsminor.yy812; break; - case 464: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 528: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==528); + case 466: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 530: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==530); { yylhsminor.yy452 = createColumnNode(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 465: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ + case 467: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy812, yymsp[-1].minor.yy452)); } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 466: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + case 468: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), yymsp[-2].minor.yy812, yymsp[-1].minor.yy452)); } yymsp[-4].minor.yy452 = yylhsminor.yy452; break; - case 469: /* when_then_expr ::= WHEN common_expression THEN common_expression */ + case 471: /* when_then_expr ::= WHEN common_expression THEN common_expression */ { yymsp[-3].minor.yy452 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } break; - case 471: /* case_when_else_opt ::= ELSE common_expression */ + case 473: /* case_when_else_opt ::= ELSE common_expression */ { yymsp[-1].minor.yy452 = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); } break; - case 472: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 477: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==477); + case 474: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 479: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==479); { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5882,7 +5896,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 473: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 475: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5890,7 +5904,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-4].minor.yy452 = yylhsminor.yy452; break; - case 474: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 476: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5898,71 +5912,71 @@ static YYACTIONTYPE yy_reduce( } yymsp[-5].minor.yy452 = yylhsminor.yy452; break; - case 475: /* predicate ::= expr_or_subquery IS NULL */ + case 477: /* predicate ::= expr_or_subquery IS NULL */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), NULL)); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 476: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 478: /* predicate ::= expr_or_subquery IS NOT NULL */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy452); yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), NULL)); } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 478: /* compare_op ::= NK_LT */ + case 480: /* compare_op ::= NK_LT */ { yymsp[0].minor.yy354 = OP_TYPE_LOWER_THAN; } break; - case 479: /* compare_op ::= NK_GT */ + case 481: /* compare_op ::= NK_GT */ { yymsp[0].minor.yy354 = OP_TYPE_GREATER_THAN; } break; - case 480: /* compare_op ::= NK_LE */ + case 482: /* compare_op ::= NK_LE */ { yymsp[0].minor.yy354 = OP_TYPE_LOWER_EQUAL; } break; - case 481: /* compare_op ::= NK_GE */ + case 483: /* compare_op ::= NK_GE */ { yymsp[0].minor.yy354 = OP_TYPE_GREATER_EQUAL; } break; - case 482: /* compare_op ::= NK_NE */ + case 484: /* compare_op ::= NK_NE */ { yymsp[0].minor.yy354 = OP_TYPE_NOT_EQUAL; } break; - case 483: /* compare_op ::= NK_EQ */ + case 485: /* compare_op ::= NK_EQ */ { yymsp[0].minor.yy354 = OP_TYPE_EQUAL; } break; - case 484: /* compare_op ::= LIKE */ + case 486: /* compare_op ::= LIKE */ { yymsp[0].minor.yy354 = OP_TYPE_LIKE; } break; - case 485: /* compare_op ::= NOT LIKE */ + case 487: /* compare_op ::= NOT LIKE */ { yymsp[-1].minor.yy354 = OP_TYPE_NOT_LIKE; } break; - case 486: /* compare_op ::= MATCH */ + case 488: /* compare_op ::= MATCH */ { yymsp[0].minor.yy354 = OP_TYPE_MATCH; } break; - case 487: /* compare_op ::= NMATCH */ + case 489: /* compare_op ::= NMATCH */ { yymsp[0].minor.yy354 = OP_TYPE_NMATCH; } break; - case 488: /* compare_op ::= CONTAINS */ + case 490: /* compare_op ::= CONTAINS */ { yymsp[0].minor.yy354 = OP_TYPE_JSON_CONTAINS; } break; - case 489: /* in_op ::= IN */ + case 491: /* in_op ::= IN */ { yymsp[0].minor.yy354 = OP_TYPE_IN; } break; - case 490: /* in_op ::= NOT IN */ + case 492: /* in_op ::= NOT IN */ { yymsp[-1].minor.yy354 = OP_TYPE_NOT_IN; } break; - case 491: /* in_predicate_value ::= NK_LP literal_list NK_RP */ + case 493: /* in_predicate_value ::= NK_LP literal_list NK_RP */ { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy812)); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 493: /* boolean_value_expression ::= NOT boolean_primary */ + case 495: /* boolean_value_expression ::= NOT boolean_primary */ { SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy452), NULL)); } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 494: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 496: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5970,7 +5984,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 495: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 497: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); @@ -5978,43 +5992,43 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 503: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ + case 505: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ { yylhsminor.yy452 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy452, yymsp[0].minor.yy452, NULL); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 506: /* table_primary ::= table_name alias_opt */ + case 508: /* table_primary ::= table_name alias_opt */ { yylhsminor.yy452 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy371, &yymsp[0].minor.yy371); } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 507: /* table_primary ::= db_name NK_DOT table_name alias_opt */ + case 509: /* table_primary ::= db_name NK_DOT table_name alias_opt */ { yylhsminor.yy452 = createRealTableNode(pCxt, &yymsp[-3].minor.yy371, &yymsp[-1].minor.yy371, &yymsp[0].minor.yy371); } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 508: /* table_primary ::= subquery alias_opt */ + case 510: /* table_primary ::= subquery alias_opt */ { yylhsminor.yy452 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452), &yymsp[0].minor.yy371); } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 510: /* alias_opt ::= */ + case 512: /* alias_opt ::= */ { yymsp[1].minor.yy371 = nil_token; } break; - case 512: /* alias_opt ::= AS table_alias */ + case 514: /* alias_opt ::= AS table_alias */ { yymsp[-1].minor.yy371 = yymsp[0].minor.yy371; } break; - case 513: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 514: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==514); + case 515: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 516: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==516); { yymsp[-2].minor.yy452 = yymsp[-1].minor.yy452; } break; - case 515: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + case 517: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ { yylhsminor.yy452 = createJoinTableNode(pCxt, yymsp[-4].minor.yy140, yymsp[-5].minor.yy452, yymsp[-2].minor.yy452, yymsp[0].minor.yy452); } yymsp[-5].minor.yy452 = yylhsminor.yy452; break; - case 516: /* join_type ::= */ + case 518: /* join_type ::= */ { yymsp[1].minor.yy140 = JOIN_TYPE_INNER; } break; - case 517: /* join_type ::= INNER */ + case 519: /* join_type ::= INNER */ { yymsp[0].minor.yy140 = JOIN_TYPE_INNER; } break; - case 518: /* 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 520: /* 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.yy452 = createSelectStmt(pCxt, yymsp[-10].minor.yy667, yymsp[-9].minor.yy812, yymsp[-8].minor.yy452); yymsp[-11].minor.yy452 = addWhereClause(pCxt, yymsp[-11].minor.yy452, yymsp[-7].minor.yy452); @@ -6027,85 +6041,85 @@ static YYACTIONTYPE yy_reduce( yymsp[-11].minor.yy452 = addFillClause(pCxt, yymsp[-11].minor.yy452, yymsp[-3].minor.yy452); } break; - case 521: /* set_quantifier_opt ::= ALL */ + case 523: /* set_quantifier_opt ::= ALL */ { yymsp[0].minor.yy667 = false; } break; - case 524: /* select_item ::= NK_STAR */ + case 526: /* select_item ::= NK_STAR */ { yylhsminor.yy452 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy452 = yylhsminor.yy452; break; - case 526: /* select_item ::= common_expression column_alias */ - case 536: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==536); + case 528: /* select_item ::= common_expression column_alias */ + case 538: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==538); { yylhsminor.yy452 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452), &yymsp[0].minor.yy371); } yymsp[-1].minor.yy452 = yylhsminor.yy452; break; - case 527: /* select_item ::= common_expression AS column_alias */ - case 537: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==537); + case 529: /* select_item ::= common_expression AS column_alias */ + case 539: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==539); { yylhsminor.yy452 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), &yymsp[0].minor.yy371); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 532: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 557: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==557); - case 577: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==577); + case 534: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 559: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==559); + case 579: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==579); { yymsp[-2].minor.yy812 = yymsp[0].minor.yy812; } break; - case 539: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + case 541: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ { yymsp[-5].minor.yy452 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } break; - case 540: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + case 542: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ { yymsp[-3].minor.yy452 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } break; - case 541: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + case 543: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ { yymsp[-5].minor.yy452 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), NULL, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } break; - case 542: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + case 544: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ { yymsp[-7].minor.yy452 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy452), releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } break; - case 543: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + case 545: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ { yymsp[-6].minor.yy452 = createEventWindowNode(pCxt, yymsp[-3].minor.yy452, yymsp[0].minor.yy452); } break; - case 547: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ + case 549: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ { yymsp[-3].minor.yy452 = createFillNode(pCxt, yymsp[-1].minor.yy844, NULL); } break; - case 548: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + case 550: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ { yymsp[-5].minor.yy452 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy812)); } break; - case 549: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + case 551: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ { yymsp[-5].minor.yy452 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy812)); } break; - case 550: /* fill_mode ::= NONE */ + case 552: /* fill_mode ::= NONE */ { yymsp[0].minor.yy844 = FILL_MODE_NONE; } break; - case 551: /* fill_mode ::= PREV */ + case 553: /* fill_mode ::= PREV */ { yymsp[0].minor.yy844 = FILL_MODE_PREV; } break; - case 552: /* fill_mode ::= NULL */ + case 554: /* fill_mode ::= NULL */ { yymsp[0].minor.yy844 = FILL_MODE_NULL; } break; - case 553: /* fill_mode ::= NULL_F */ + case 555: /* fill_mode ::= NULL_F */ { yymsp[0].minor.yy844 = FILL_MODE_NULL_F; } break; - case 554: /* fill_mode ::= LINEAR */ + case 556: /* fill_mode ::= LINEAR */ { yymsp[0].minor.yy844 = FILL_MODE_LINEAR; } break; - case 555: /* fill_mode ::= NEXT */ + case 557: /* fill_mode ::= NEXT */ { yymsp[0].minor.yy844 = FILL_MODE_NEXT; } break; - case 558: /* group_by_list ::= expr_or_subquery */ + case 560: /* group_by_list ::= expr_or_subquery */ { yylhsminor.yy812 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); } yymsp[0].minor.yy812 = yylhsminor.yy812; break; - case 559: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + case 561: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ { yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-2].minor.yy812, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); } yymsp[-2].minor.yy812 = yylhsminor.yy812; break; - case 563: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + case 565: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ { yymsp[-5].minor.yy452 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } break; - case 564: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + case 566: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ { yymsp[-3].minor.yy452 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } break; - case 567: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 569: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { yylhsminor.yy452 = addOrderByClause(pCxt, yymsp[-3].minor.yy452, yymsp[-2].minor.yy812); yylhsminor.yy452 = addSlimitClause(pCxt, yylhsminor.yy452, yymsp[-1].minor.yy452); @@ -6113,50 +6127,50 @@ static YYACTIONTYPE yy_reduce( } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 570: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + case 572: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ { yylhsminor.yy452 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy452, yymsp[0].minor.yy452); } yymsp[-3].minor.yy452 = yylhsminor.yy452; break; - case 571: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + case 573: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ { yylhsminor.yy452 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy452, yymsp[0].minor.yy452); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 579: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 583: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==583); + case 581: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 585: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==585); { yymsp[-1].minor.yy452 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 580: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 584: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==584); + case 582: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 586: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==586); { yymsp[-3].minor.yy452 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 581: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 585: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==585); + case 583: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 587: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==587); { yymsp[-3].minor.yy452 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 586: /* subquery ::= NK_LP query_expression NK_RP */ + case 588: /* subquery ::= NK_LP query_expression NK_RP */ { yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy452); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 591: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + case 593: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ { yylhsminor.yy452 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), yymsp[-1].minor.yy690, yymsp[0].minor.yy399); } yymsp[-2].minor.yy452 = yylhsminor.yy452; break; - case 592: /* ordering_specification_opt ::= */ + case 594: /* ordering_specification_opt ::= */ { yymsp[1].minor.yy690 = ORDER_ASC; } break; - case 593: /* ordering_specification_opt ::= ASC */ + case 595: /* ordering_specification_opt ::= ASC */ { yymsp[0].minor.yy690 = ORDER_ASC; } break; - case 594: /* ordering_specification_opt ::= DESC */ + case 596: /* ordering_specification_opt ::= DESC */ { yymsp[0].minor.yy690 = ORDER_DESC; } break; - case 595: /* null_ordering_opt ::= */ + case 597: /* null_ordering_opt ::= */ { yymsp[1].minor.yy399 = NULL_ORDER_DEFAULT; } break; - case 596: /* null_ordering_opt ::= NULLS FIRST */ + case 598: /* null_ordering_opt ::= NULLS FIRST */ { yymsp[-1].minor.yy399 = NULL_ORDER_FIRST; } break; - case 597: /* null_ordering_opt ::= NULLS LAST */ + case 599: /* null_ordering_opt ::= NULLS LAST */ { yymsp[-1].minor.yy399 = NULL_ORDER_LAST; } break; default: