diff --git a/include/common/tmsg.h b/include/common/tmsg.h index d9d3c7e2977f7b88b759f9d4cc7bc216b91e06fc..39d3f2325f77506e7b9d55881f4aa1a2e04d682e 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -846,6 +846,8 @@ typedef struct { int8_t replications; int32_t sstTrigger; int32_t minRows; + int32_t walRetentionPeriod; + int32_t walRetentionSize; } SAlterDbReq; int32_t tSerializeSAlterDbReq(void* buf, int32_t bufLen, SAlterDbReq* pReq); diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index 9ad7c72bc0de1d90c16b3a37ef5f5186be46a21d..cffa2ab90ad29859d0683280209821d0fc9f754d 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -2219,6 +2219,8 @@ int32_t tSerializeSAlterDbReq(void *buf, int32_t bufLen, SAlterDbReq *pReq) { if (tEncodeI8(&encoder, pReq->cacheLast) < 0) return -1; if (tEncodeI8(&encoder, pReq->replications) < 0) return -1; if (tEncodeI32(&encoder, pReq->sstTrigger) < 0) return -1; + if (tEncodeI32(&encoder, pReq->walRetentionPeriod) < 0) return -1; + if (tEncodeI32(&encoder, pReq->walRetentionSize) < 0) return -1; // 1st modification if (tEncodeI32(&encoder, pReq->minRows) < 0) return -1; @@ -2250,6 +2252,13 @@ int32_t tDeserializeSAlterDbReq(void *buf, int32_t bufLen, SAlterDbReq *pReq) { if (tDecodeI8(&decoder, &pReq->cacheLast) < 0) return -1; if (tDecodeI8(&decoder, &pReq->replications) < 0) return -1; if (tDecodeI32(&decoder, &pReq->sstTrigger) < 0) return -1; + if (!tDecodeIsEnd(&decoder)) { + if (tDecodeI32(&decoder, &pReq->walRetentionPeriod) < 0) return -1; + if (tDecodeI32(&decoder, &pReq->walRetentionSize) < 0) return -1; + } else { + pReq->walRetentionPeriod = -1; + pReq->walRetentionSize = -1; + } // 1st modification if (!tDecodeIsEnd(&decoder)) { diff --git a/source/dnode/mnode/impl/src/mndDb.c b/source/dnode/mnode/impl/src/mndDb.c index 8b09c823aba21650be9ef9ba2d7492c156cc5904..8beb57c8c348d09fd453c673adc51387b3a76f79 100644 --- a/source/dnode/mnode/impl/src/mndDb.c +++ b/source/dnode/mnode/impl/src/mndDb.c @@ -737,6 +737,20 @@ static int32_t mndSetDbCfgFromAlterDbReq(SDbObj *pDb, SAlterDbReq *pAlter) { terrno = 0; } + if (pAlter->walRetentionPeriod > TSDB_DB_MIN_WAL_RETENTION_PERIOD && + pAlter->walRetentionPeriod != pDb->cfg.walRetentionPeriod) { + pDb->cfg.walRetentionPeriod = pAlter->walRetentionPeriod; + pDb->vgVersion++; + terrno = 0; + } + + if (pAlter->walRetentionSize > TSDB_DB_MIN_WAL_RETENTION_SIZE && + pAlter->walRetentionSize != pDb->cfg.walRetentionSize) { + pDb->cfg.walRetentionSize = pAlter->walRetentionSize; + pDb->vgVersion++; + terrno = 0; + } + return terrno; } diff --git a/source/libs/nodes/src/nodesUtilFuncs.c b/source/libs/nodes/src/nodesUtilFuncs.c index 8d6c3288b907e0ee8678f1d6970410bec351b758..889e254837ef8d3dc543ecb460eb378eeace2465 100644 --- a/source/libs/nodes/src/nodesUtilFuncs.c +++ b/source/libs/nodes/src/nodesUtilFuncs.c @@ -923,9 +923,14 @@ void nodesDestroyNode(SNode* pNode) { taosMemoryFree(((SDescribeStmt*)pNode)->pMeta); break; case QUERY_NODE_RESET_QUERY_CACHE_STMT: // no pointer field - case QUERY_NODE_COMPACT_DATABASE_STMT: // no pointer field - case QUERY_NODE_CREATE_FUNCTION_STMT: // no pointer field - case QUERY_NODE_DROP_FUNCTION_STMT: // no pointer field + case QUERY_NODE_COMPACT_DATABASE_STMT: { + SCompactDatabaseStmt* pStmt = (SCompactDatabaseStmt*)pNode; + nodesDestroyNode(pStmt->pStart); + nodesDestroyNode(pStmt->pEnd); + break; + } + case QUERY_NODE_CREATE_FUNCTION_STMT: // no pointer field + case QUERY_NODE_DROP_FUNCTION_STMT: // no pointer field break; case QUERY_NODE_CREATE_STREAM_STMT: { SCreateStreamStmt* pStmt = (SCreateStreamStmt*)pNode; diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index 72a0a70e36da076de10c0939c5560a68c7f9cbdd..e70ee1e5d836140c474db27476180e69813603c5 100644 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -237,6 +237,18 @@ alter_db_option(A) ::= REPLICA NK_INTEGER(B). alter_db_option(A) ::= WAL_LEVEL NK_INTEGER(B). { A.type = DB_OPTION_WAL; A.val = B; } alter_db_option(A) ::= STT_TRIGGER NK_INTEGER(B). { A.type = DB_OPTION_STT_TRIGGER; A.val = B; } alter_db_option(A) ::= MINROWS NK_INTEGER(B). { A.type = DB_OPTION_MINROWS; A.val = B; } +alter_db_option(A) ::= WAL_RETENTION_PERIOD NK_INTEGER(B). { A.type = DB_OPTION_WAL_RETENTION_PERIOD; A.val = B; } +alter_db_option(A) ::= WAL_RETENTION_PERIOD NK_MINUS(B) NK_INTEGER(C). { + SToken t = B; + t.n = (C.z + C.n) - B.z; + A.type = DB_OPTION_WAL_RETENTION_PERIOD; A.val = t; + } +alter_db_option(A) ::= WAL_RETENTION_SIZE NK_INTEGER(B). { A.type = DB_OPTION_WAL_RETENTION_SIZE; A.val = B; } +alter_db_option(A) ::= WAL_RETENTION_SIZE NK_MINUS(B) NK_INTEGER(C). { + SToken t = B; + t.n = (C.z + C.n) - B.z; + A.type = DB_OPTION_WAL_RETENTION_SIZE; A.val = t; + } %type integer_list { SNodeList* } %destructor integer_list { nodesDestroyList($$); } diff --git a/source/libs/parser/src/parAstCreater.c b/source/libs/parser/src/parAstCreater.c index a761b7a7b08decfefd3c2bfd6c8c974afce0945c..40c47a81148527e595b1e45a547530ecf9ff7fa2 100644 --- a/source/libs/parser/src/parAstCreater.c +++ b/source/libs/parser/src/parAstCreater.c @@ -925,8 +925,8 @@ SNode* createAlterDatabaseOptions(SAstCreateContext* pCxt) { pOptions->numOfVgroups = -1; pOptions->singleStable = -1; pOptions->schemaless = -1; - pOptions->walRetentionPeriod = -1; - pOptions->walRetentionSize = -1; + pOptions->walRetentionPeriod = -2; // -1 is a valid value + pOptions->walRetentionSize = -2; // -1 is a valid value pOptions->walRollPeriod = -1; pOptions->walSegmentSize = -1; pOptions->sstTrigger = -1; @@ -935,7 +935,8 @@ SNode* createAlterDatabaseOptions(SAstCreateContext* pCxt) { return (SNode*)pOptions; } -SNode* setDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOptionType type, void* pVal) { +static SNode* setDatabaseOptionImpl(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOptionType type, void* pVal, + bool alter) { CHECK_PARSER_STATUS(pCxt); SDatabaseOptions* pDbOptions = (SDatabaseOptions*)pOptions; switch (type) { @@ -986,7 +987,9 @@ SNode* setDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOpti break; case DB_OPTION_REPLICA: pDbOptions->replica = taosStr2Int8(((SToken*)pVal)->z, NULL, 10); - updateWalOptionsDefault(pDbOptions); + if (!alter) { + updateWalOptionsDefault(pDbOptions); + } break; case DB_OPTION_STRICT: COPY_STRING_FORM_STR_TOKEN(pDbOptions->strictStr, (SToken*)pVal); @@ -1033,16 +1036,20 @@ SNode* setDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOpti return pOptions; } +SNode* setDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOptionType type, void* pVal) { + return setDatabaseOptionImpl(pCxt, pOptions, type, pVal, false); +} + SNode* setAlterDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, SAlterOption* pAlterOption) { CHECK_PARSER_STATUS(pCxt); switch (pAlterOption->type) { case DB_OPTION_KEEP: case DB_OPTION_RETENTIONS: - return setDatabaseOption(pCxt, pOptions, pAlterOption->type, pAlterOption->pList); + return setDatabaseOptionImpl(pCxt, pOptions, pAlterOption->type, pAlterOption->pList, true); default: break; } - return setDatabaseOption(pCxt, pOptions, pAlterOption->type, &pAlterOption->val); + return setDatabaseOptionImpl(pCxt, pOptions, pAlterOption->type, &pAlterOption->val, true); } SNode* createCreateDatabaseStmt(SAstCreateContext* pCxt, bool ignoreExists, SToken* pDbName, SNode* pOptions) { diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index 74b32c638dded2135e7eff8ff0527801ac8934a8..75e93a3f576a76a62cf9ac6ef78a2ede0f0da869 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -4254,6 +4254,8 @@ static void buildAlterDbReq(STranslateContext* pCxt, SAlterDatabaseStmt* pStmt, pReq->replications = pStmt->pOptions->replica; pReq->sstTrigger = pStmt->pOptions->sstTrigger; pReq->minRows = pStmt->pOptions->minRowsPerBlock; + pReq->walRetentionPeriod = pStmt->pOptions->walRetentionPeriod; + pReq->walRetentionSize = pStmt->pOptions->walRetentionSize; return; } diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index 457083358d551fa7a1afd777baa585e8a40c0e30..7427ccba9fd4b283faeed5d88cacbae8deb45d4d 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -139,17 +139,17 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 754 -#define YYNRULE 574 +#define YYNSTATE 758 +#define YYNRULE 578 #define YYNTOKEN 329 -#define YY_MAX_SHIFT 753 -#define YY_MIN_SHIFTREDUCE 1121 -#define YY_MAX_SHIFTREDUCE 1694 -#define YY_ERROR_ACTION 1695 -#define YY_ACCEPT_ACTION 1696 -#define YY_NO_ACTION 1697 -#define YY_MIN_REDUCE 1698 -#define YY_MAX_REDUCE 2271 +#define YY_MAX_SHIFT 757 +#define YY_MIN_SHIFTREDUCE 1129 +#define YY_MAX_SHIFTREDUCE 1706 +#define YY_ERROR_ACTION 1707 +#define YY_ACCEPT_ACTION 1708 +#define YY_NO_ACTION 1709 +#define YY_MIN_REDUCE 1710 +#define YY_MAX_REDUCE 2287 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -218,290 +218,290 @@ typedef union { *********** Begin parsing tables **********************************************/ #define YY_ACTTAB_COUNT (2833) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 2069, 2247, 1980, 166, 2083, 2242, 491, 2101, 492, 1734, - /* 10 */ 1806, 2065, 45, 43, 1622, 600, 1980, 1978, 630, 2069, - /* 20 */ 385, 2246, 1471, 618, 1496, 2243, 2245, 2083, 376, 2186, - /* 30 */ 2065, 1977, 630, 1552, 2019, 1469, 1837, 2101, 44, 42, - /* 40 */ 41, 40, 39, 430, 642, 621, 2061, 2067, 366, 1173, - /* 50 */ 2051, 1172, 659, 629, 643, 2183, 139, 653, 1547, 2247, - /* 60 */ 2101, 599, 1914, 2242, 18, 2061, 2067, 367, 660, 350, - /* 70 */ 132, 1477, 167, 2051, 1710, 659, 653, 530, 1912, 2246, - /* 80 */ 1174, 240, 2082, 2243, 2244, 333, 2118, 1861, 642, 109, - /* 90 */ 2084, 663, 2086, 2087, 658, 2069, 653, 750, 65, 697, - /* 100 */ 14, 179, 507, 2171, 1973, 2082, 2065, 379, 2167, 2118, - /* 110 */ 45, 43, 168, 2084, 663, 2086, 2087, 658, 385, 653, - /* 120 */ 1471, 184, 270, 2179, 617, 1721, 133, 616, 73, 2197, - /* 130 */ 2242, 1552, 1173, 1469, 1172, 390, 1554, 1555, 1907, 1909, - /* 140 */ 606, 2061, 2067, 380, 2242, 605, 182, 222, 35, 291, - /* 150 */ 2243, 607, 653, 582, 2208, 273, 1547, 1838, 628, 605, - /* 160 */ 182, 642, 18, 1174, 2243, 607, 1527, 1537, 48, 1477, - /* 170 */ 1764, 2051, 1553, 1556, 38, 37, 178, 81, 44, 42, - /* 180 */ 41, 40, 39, 546, 545, 544, 1472, 509, 1470, 1901, - /* 190 */ 536, 136, 540, 176, 61, 750, 539, 61, 14, 92, - /* 200 */ 497, 538, 543, 61, 38, 37, 493, 537, 44, 42, - /* 210 */ 41, 40, 39, 1475, 1476, 1964, 1526, 1529, 1530, 1531, - /* 220 */ 1532, 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, 1548, - /* 230 */ 1549, 1550, 1551, 2, 1554, 1555, 727, 726, 725, 724, - /* 240 */ 395, 48, 723, 722, 143, 717, 716, 715, 714, 713, - /* 250 */ 712, 711, 156, 707, 706, 705, 394, 393, 702, 701, - /* 260 */ 700, 699, 698, 601, 1527, 1537, 596, 1661, 580, 695, - /* 270 */ 1553, 1556, 122, 1583, 1242, 121, 120, 119, 118, 117, - /* 280 */ 116, 115, 114, 113, 1472, 695, 1470, 154, 153, 692, - /* 290 */ 691, 690, 151, 38, 37, 697, 1154, 44, 42, 41, - /* 300 */ 40, 39, 1959, 154, 153, 692, 691, 690, 151, 1696, - /* 310 */ 1244, 1475, 1476, 190, 1526, 1529, 1530, 1531, 1532, 1533, - /* 320 */ 1534, 1535, 1536, 655, 651, 1545, 1546, 1548, 1549, 1550, - /* 330 */ 1551, 2, 11, 45, 43, 1156, 1839, 1159, 1160, 1496, - /* 340 */ 52, 385, 1299, 1471, 185, 32, 1959, 185, 1496, 345, - /* 350 */ 602, 597, 590, 185, 1552, 1588, 1469, 192, 1290, 685, - /* 360 */ 684, 683, 1294, 682, 1296, 1297, 681, 678, 86, 1305, - /* 370 */ 675, 1307, 1308, 672, 669, 1699, 31, 398, 2083, 1547, - /* 380 */ 147, 397, 38, 37, 354, 18, 44, 42, 41, 40, - /* 390 */ 39, 185, 1477, 1856, 1581, 500, 122, 492, 1734, 121, + /* 0 */ 2085, 2263, 1996, 166, 2099, 2258, 493, 2117, 494, 1746, + /* 10 */ 1818, 2081, 45, 43, 1634, 604, 1996, 1994, 634, 2085, + /* 20 */ 387, 2262, 1483, 622, 1508, 2259, 2261, 2099, 378, 2202, + /* 30 */ 2081, 1993, 634, 1564, 2035, 1481, 1853, 2117, 44, 42, + /* 40 */ 41, 40, 39, 432, 646, 625, 2077, 2083, 368, 1181, + /* 50 */ 2067, 1180, 663, 633, 647, 2199, 139, 657, 1559, 2263, + /* 60 */ 2117, 603, 1930, 2258, 18, 2077, 2083, 369, 664, 350, + /* 70 */ 132, 1489, 167, 2067, 1722, 663, 657, 532, 1928, 2262, + /* 80 */ 1182, 240, 2098, 2259, 2260, 333, 2134, 1877, 646, 109, + /* 90 */ 2100, 667, 2102, 2103, 662, 2085, 657, 754, 65, 701, + /* 100 */ 14, 179, 509, 2187, 1989, 2098, 2081, 381, 2183, 2134, + /* 110 */ 45, 43, 168, 2100, 667, 2102, 2103, 662, 387, 657, + /* 120 */ 1483, 184, 270, 2195, 621, 141, 133, 620, 2158, 2213, + /* 130 */ 2258, 1564, 1181, 1481, 1180, 392, 1566, 1567, 1923, 1925, + /* 140 */ 610, 2077, 2083, 382, 2258, 609, 182, 222, 35, 291, + /* 150 */ 2259, 611, 657, 586, 2224, 273, 1559, 1854, 632, 609, + /* 160 */ 182, 646, 18, 1182, 2259, 611, 1539, 1549, 48, 1489, + /* 170 */ 1776, 194, 1565, 1568, 38, 37, 178, 647, 44, 42, + /* 180 */ 41, 40, 39, 550, 549, 548, 1484, 511, 1482, 1917, + /* 190 */ 540, 136, 544, 132, 61, 754, 543, 61, 14, 92, + /* 200 */ 537, 542, 547, 360, 359, 499, 502, 541, 494, 1746, + /* 210 */ 1877, 495, 83, 1487, 1488, 82, 1538, 1541, 1542, 1543, + /* 220 */ 1544, 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, 1560, + /* 230 */ 1561, 1562, 1563, 2, 1566, 1567, 731, 730, 729, 728, + /* 240 */ 397, 48, 727, 726, 143, 721, 720, 719, 718, 717, + /* 250 */ 716, 715, 156, 711, 710, 709, 396, 395, 706, 705, + /* 260 */ 704, 703, 702, 605, 1539, 1549, 600, 1673, 701, 699, + /* 270 */ 1565, 1568, 122, 1595, 1254, 121, 120, 119, 118, 117, + /* 280 */ 116, 115, 114, 113, 1484, 699, 1482, 154, 153, 696, + /* 290 */ 695, 694, 151, 38, 37, 1507, 1162, 44, 42, 41, + /* 300 */ 40, 39, 1975, 154, 153, 696, 695, 694, 151, 1708, + /* 310 */ 1256, 1487, 1488, 190, 1538, 1541, 1542, 1543, 1544, 1545, + /* 320 */ 1546, 1547, 1548, 659, 655, 1557, 1558, 1560, 1561, 1562, + /* 330 */ 1563, 2, 11, 45, 43, 1164, 1855, 1167, 1168, 1508, + /* 340 */ 379, 387, 1311, 1483, 185, 32, 633, 185, 164, 345, + /* 350 */ 606, 601, 594, 573, 1564, 1600, 1481, 1879, 1302, 689, + /* 360 */ 688, 687, 1306, 686, 1308, 1309, 685, 682, 86, 1317, + /* 370 */ 679, 1319, 1320, 676, 673, 1711, 31, 400, 2099, 1559, + /* 380 */ 147, 399, 38, 37, 354, 18, 44, 42, 41, 40, + /* 390 */ 39, 185, 1489, 1872, 1593, 631, 122, 1989, 11, 121, /* 400 */ 120, 119, 118, 117, 116, 115, 114, 113, 38, 37, - /* 410 */ 629, 2101, 44, 42, 41, 40, 39, 377, 750, 657, - /* 420 */ 1499, 14, 468, 581, 2051, 164, 659, 2242, 61, 388, - /* 430 */ 1495, 45, 43, 1557, 1863, 282, 283, 161, 1959, 385, - /* 440 */ 281, 1471, 2248, 182, 364, 1497, 1863, 2243, 607, 196, - /* 450 */ 1582, 238, 1552, 1912, 1469, 237, 2082, 1554, 1555, 627, - /* 460 */ 2118, 1973, 569, 327, 2084, 663, 2086, 2087, 658, 656, - /* 470 */ 653, 644, 2136, 1698, 38, 37, 11, 1547, 44, 42, - /* 480 */ 41, 40, 39, 198, 197, 1388, 1389, 1527, 1537, 100, - /* 490 */ 1477, 1767, 490, 1553, 1556, 495, 1740, 131, 130, 129, - /* 500 */ 128, 127, 126, 125, 124, 123, 467, 1472, 499, 1470, - /* 510 */ 27, 495, 1740, 1854, 89, 340, 750, 424, 362, 46, - /* 520 */ 562, 423, 34, 383, 1576, 1577, 1578, 1579, 1580, 1584, - /* 530 */ 1585, 1586, 1587, 1720, 1475, 1476, 576, 1526, 1529, 1530, - /* 540 */ 1531, 1532, 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, - /* 550 */ 1548, 1549, 1550, 1551, 2, 1554, 1555, 546, 545, 544, - /* 560 */ 1477, 1333, 1334, 581, 536, 136, 540, 2242, 250, 49, - /* 570 */ 539, 1908, 1909, 1852, 106, 538, 543, 709, 185, 2051, - /* 580 */ 2083, 537, 2248, 182, 2065, 1527, 1537, 2243, 607, 33, - /* 590 */ 140, 1553, 1556, 13, 12, 38, 37, 1836, 1853, 44, - /* 600 */ 42, 41, 40, 39, 688, 1472, 2247, 1470, 542, 541, - /* 610 */ 38, 37, 560, 2101, 44, 42, 41, 40, 39, 2061, - /* 620 */ 2067, 660, 618, 1498, 1944, 558, 2051, 556, 659, 11, - /* 630 */ 653, 9, 1475, 1476, 86, 1526, 1529, 1530, 1531, 1532, - /* 640 */ 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, 1548, 1549, - /* 650 */ 1550, 1551, 2, 45, 43, 139, 248, 2083, 2082, 1857, - /* 660 */ 2070, 385, 2118, 1471, 643, 109, 2084, 663, 2086, 2087, - /* 670 */ 658, 2065, 653, 1497, 1552, 142, 1469, 149, 2142, 2171, - /* 680 */ 187, 38, 37, 379, 2167, 44, 42, 41, 40, 39, - /* 690 */ 2101, 1719, 176, 1595, 1498, 1914, 1754, 1861, 660, 1547, - /* 700 */ 90, 618, 363, 2051, 1684, 659, 2061, 2067, 1718, 695, - /* 710 */ 624, 1912, 1477, 352, 1963, 1650, 357, 653, 547, 185, - /* 720 */ 620, 180, 2179, 2180, 643, 137, 2184, 154, 153, 692, - /* 730 */ 691, 690, 151, 141, 139, 2082, 2142, 2051, 750, 2118, - /* 740 */ 54, 46, 169, 2084, 663, 2086, 2087, 658, 2246, 653, - /* 750 */ 1717, 45, 43, 643, 2051, 689, 581, 1861, 1905, 385, - /* 760 */ 2242, 1471, 593, 592, 1648, 1649, 1651, 1652, 1653, 428, - /* 770 */ 163, 272, 1552, 1850, 1469, 2248, 182, 1554, 1555, 448, - /* 780 */ 2243, 607, 358, 2186, 356, 355, 1861, 532, 447, 1405, - /* 790 */ 1406, 534, 629, 1846, 608, 2263, 2051, 1547, 1848, 2083, - /* 800 */ 181, 2179, 2180, 1716, 137, 2184, 1499, 1527, 1537, 2182, - /* 810 */ 1477, 1844, 533, 1553, 1556, 643, 38, 37, 2186, 643, - /* 820 */ 44, 42, 41, 40, 39, 1404, 1407, 1472, 687, 1470, - /* 830 */ 1914, 132, 2101, 1715, 2037, 429, 750, 373, 535, 14, - /* 840 */ 660, 638, 272, 1973, 2181, 2051, 1912, 659, 1861, 2051, - /* 850 */ 2044, 1691, 1861, 194, 1475, 1476, 1714, 1526, 1529, 1530, - /* 860 */ 1531, 1532, 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, - /* 870 */ 1548, 1549, 1550, 1551, 2, 1554, 1555, 2082, 245, 2051, - /* 880 */ 2045, 2118, 405, 1914, 110, 2084, 663, 2086, 2087, 658, - /* 890 */ 378, 653, 693, 388, 83, 1905, 581, 82, 2171, 1912, - /* 900 */ 2242, 164, 2051, 2168, 606, 1527, 1537, 1496, 2242, 1638, - /* 910 */ 1863, 1553, 1556, 721, 719, 2248, 182, 417, 61, 8, - /* 920 */ 2243, 607, 1253, 605, 182, 1472, 581, 1470, 2243, 607, - /* 930 */ 2242, 1914, 645, 1626, 2143, 1252, 1562, 654, 389, 1496, - /* 940 */ 419, 415, 1496, 1159, 1160, 2248, 182, 1912, 1690, 610, - /* 950 */ 2243, 607, 1475, 1476, 191, 1526, 1529, 1530, 1531, 1532, - /* 960 */ 1533, 1534, 1535, 1536, 655, 651, 1545, 1546, 1548, 1549, - /* 970 */ 1550, 1551, 2, 1499, 336, 165, 1494, 643, 382, 381, - /* 980 */ 311, 567, 647, 461, 2143, 551, 475, 2083, 1485, 474, - /* 990 */ 41, 40, 39, 438, 309, 72, 1619, 477, 71, 1552, - /* 1000 */ 561, 1478, 1711, 422, 444, 421, 476, 2211, 694, 446, - /* 1010 */ 1861, 1905, 1471, 164, 236, 609, 205, 487, 485, 482, - /* 1020 */ 2101, 152, 1864, 618, 1547, 1469, 643, 581, 660, 554, - /* 1030 */ 420, 2242, 391, 2051, 548, 659, 1713, 1477, 643, 235, - /* 1040 */ 164, 534, 453, 1712, 2191, 1615, 2248, 182, 643, 1863, - /* 1050 */ 1914, 2243, 607, 1528, 454, 353, 139, 61, 710, 1861, - /* 1060 */ 1823, 1477, 533, 649, 508, 2082, 1913, 434, 185, 2118, - /* 1070 */ 1807, 1861, 109, 2084, 663, 2086, 2087, 658, 53, 653, - /* 1080 */ 69, 1861, 2051, 68, 2146, 1528, 2171, 750, 1528, 2051, - /* 1090 */ 379, 2167, 1709, 1708, 1480, 108, 472, 1707, 1747, 466, - /* 1100 */ 465, 464, 463, 460, 459, 458, 457, 456, 452, 451, - /* 1110 */ 450, 449, 335, 441, 440, 439, 643, 436, 435, 351, - /* 1120 */ 549, 249, 183, 2179, 2180, 613, 137, 2184, 643, 1615, - /* 1130 */ 305, 643, 1858, 1891, 152, 80, 79, 427, 2051, 2051, - /* 1140 */ 189, 2083, 643, 2051, 241, 239, 1257, 577, 51, 1861, - /* 1150 */ 3, 145, 1486, 134, 1481, 643, 1706, 643, 622, 1256, - /* 1160 */ 334, 1861, 1479, 413, 1861, 411, 407, 403, 400, 420, - /* 1170 */ 1705, 626, 2083, 286, 2101, 1861, 1472, 611, 1470, 1489, - /* 1180 */ 1491, 267, 621, 228, 643, 650, 226, 2051, 1861, 659, - /* 1190 */ 1861, 1440, 651, 1545, 1546, 1548, 1549, 1550, 1551, 643, - /* 1200 */ 640, 431, 2051, 1475, 1476, 2101, 1704, 185, 643, 643, - /* 1210 */ 1703, 1445, 1446, 660, 432, 641, 2051, 1861, 2051, 2082, - /* 1220 */ 659, 479, 2083, 2118, 292, 392, 109, 2084, 663, 2086, - /* 1230 */ 2087, 658, 1861, 653, 230, 1702, 1701, 229, 179, 2083, - /* 1240 */ 2171, 1861, 1861, 1618, 379, 2167, 232, 1483, 234, 231, - /* 1250 */ 2082, 233, 2051, 594, 2118, 2101, 2051, 109, 2084, 663, - /* 1260 */ 2086, 2087, 658, 660, 653, 152, 2198, 1745, 2051, 2262, - /* 1270 */ 659, 2171, 2101, 63, 221, 379, 2167, 564, 63, 563, - /* 1280 */ 660, 2051, 2051, 261, 254, 2051, 2205, 659, 105, 552, - /* 1290 */ 1693, 1694, 2102, 152, 396, 13, 12, 47, 102, 2083, - /* 1300 */ 2082, 279, 70, 2072, 2118, 150, 152, 168, 2084, 663, - /* 1310 */ 2086, 2087, 658, 63, 653, 1482, 1968, 2082, 1735, 2083, - /* 1320 */ 1902, 2118, 1443, 47, 109, 2084, 663, 2086, 2087, 658, - /* 1330 */ 1647, 653, 2101, 2201, 1573, 1646, 2262, 753, 2171, 703, - /* 1340 */ 660, 256, 379, 2167, 619, 2051, 1741, 659, 269, 2209, - /* 1350 */ 625, 298, 2101, 2218, 1402, 614, 2074, 47, 284, 635, - /* 1360 */ 660, 1222, 288, 1283, 667, 2051, 175, 659, 150, 152, - /* 1370 */ 1589, 704, 743, 739, 735, 731, 296, 2082, 266, 135, - /* 1380 */ 1538, 2118, 150, 1203, 109, 2084, 663, 2086, 2087, 658, - /* 1390 */ 1, 653, 4, 1220, 399, 745, 2262, 2082, 2171, 404, - /* 1400 */ 349, 2118, 379, 2167, 109, 2084, 663, 2086, 2087, 658, - /* 1410 */ 1425, 653, 299, 588, 304, 195, 2262, 107, 2171, 1204, - /* 1420 */ 289, 1311, 379, 2167, 433, 1315, 1322, 1499, 2083, 1969, - /* 1430 */ 437, 470, 442, 2236, 1494, 223, 1320, 455, 462, 155, - /* 1440 */ 1961, 469, 480, 471, 481, 478, 483, 200, 2083, 484, - /* 1450 */ 171, 199, 639, 202, 486, 488, 526, 522, 518, 514, - /* 1460 */ 220, 2101, 1500, 489, 1502, 498, 501, 1497, 208, 660, - /* 1470 */ 1501, 502, 210, 503, 2051, 1503, 659, 506, 504, 213, - /* 1480 */ 215, 2101, 1176, 84, 85, 510, 527, 276, 531, 660, - /* 1490 */ 529, 528, 275, 219, 2051, 111, 659, 2028, 2025, 339, - /* 1500 */ 1851, 87, 566, 2024, 218, 88, 2082, 571, 1432, 300, - /* 1510 */ 2118, 243, 568, 109, 2084, 663, 2086, 2087, 658, 148, - /* 1520 */ 653, 242, 2083, 225, 1847, 2262, 2082, 2171, 227, 157, - /* 1530 */ 2118, 379, 2167, 109, 2084, 663, 2086, 2087, 658, 158, - /* 1540 */ 653, 1849, 2190, 1845, 570, 2144, 2083, 2171, 159, 160, - /* 1550 */ 572, 379, 2167, 244, 246, 2101, 578, 2202, 2212, 585, - /* 1560 */ 575, 595, 633, 660, 2217, 252, 255, 591, 2051, 368, - /* 1570 */ 659, 217, 211, 598, 7, 604, 216, 586, 505, 2101, - /* 1580 */ 584, 2216, 583, 265, 615, 369, 1615, 660, 612, 2265, - /* 1590 */ 138, 262, 2051, 1498, 659, 209, 2083, 2193, 2187, 623, - /* 1600 */ 2082, 372, 172, 263, 2118, 1504, 260, 109, 2084, 663, - /* 1610 */ 2086, 2087, 658, 2083, 653, 274, 264, 95, 268, 646, - /* 1620 */ 301, 2171, 1974, 2241, 2082, 379, 2167, 636, 2118, 2101, - /* 1630 */ 631, 110, 2084, 663, 2086, 2087, 658, 660, 653, 302, - /* 1640 */ 637, 632, 2051, 1988, 659, 2171, 2101, 97, 1987, 2170, - /* 1650 */ 2167, 303, 1986, 375, 660, 1862, 60, 2152, 99, 2051, - /* 1660 */ 101, 659, 665, 1906, 746, 1824, 295, 306, 747, 310, - /* 1670 */ 749, 341, 50, 2083, 2082, 315, 2043, 308, 2118, 2042, - /* 1680 */ 342, 321, 2084, 663, 2086, 2087, 658, 329, 653, 330, - /* 1690 */ 319, 2082, 2041, 2083, 77, 2118, 2038, 401, 110, 2084, - /* 1700 */ 663, 2086, 2087, 658, 402, 653, 2101, 1462, 1463, 188, - /* 1710 */ 406, 2036, 2171, 408, 660, 409, 648, 2167, 410, 2051, - /* 1720 */ 2035, 659, 412, 2034, 414, 603, 2101, 2033, 416, 2032, - /* 1730 */ 418, 78, 1428, 1427, 660, 2000, 1999, 1998, 426, 2051, - /* 1740 */ 425, 659, 1997, 1996, 1379, 1952, 1951, 1949, 1948, 144, - /* 1750 */ 1947, 661, 1950, 1946, 1945, 2118, 2083, 1943, 110, 2084, - /* 1760 */ 663, 2086, 2087, 658, 1942, 653, 1941, 193, 443, 1940, - /* 1770 */ 445, 2082, 2171, 1954, 1939, 2118, 344, 2167, 169, 2084, - /* 1780 */ 663, 2086, 2087, 658, 1381, 653, 1938, 1937, 1936, 2101, - /* 1790 */ 1935, 1934, 1933, 1932, 374, 1931, 1930, 660, 1929, 1928, - /* 1800 */ 1927, 1926, 2051, 1925, 659, 146, 1924, 1923, 1922, 1953, - /* 1810 */ 1921, 1920, 1919, 1918, 2083, 1917, 473, 1916, 1915, 1254, - /* 1820 */ 337, 338, 1770, 201, 1258, 1769, 203, 1768, 204, 1250, - /* 1830 */ 1766, 2264, 1730, 177, 2082, 1162, 1729, 1161, 2118, 2083, - /* 1840 */ 2015, 328, 2084, 663, 2086, 2087, 658, 2101, 653, 2007, - /* 1850 */ 1995, 2071, 494, 1994, 1972, 657, 206, 1840, 75, 76, - /* 1860 */ 2051, 214, 659, 496, 207, 212, 1765, 1763, 511, 1761, - /* 1870 */ 515, 1759, 2101, 513, 519, 1757, 517, 384, 1744, 512, - /* 1880 */ 660, 523, 521, 525, 1743, 2051, 516, 659, 1726, 520, - /* 1890 */ 1842, 62, 2082, 1196, 1327, 524, 2118, 1841, 1326, 327, - /* 1900 */ 2084, 663, 2086, 2087, 658, 1241, 653, 1240, 2137, 1239, - /* 1910 */ 1755, 1232, 2083, 1748, 1238, 1237, 1234, 2082, 1233, 1746, - /* 1920 */ 1231, 2118, 359, 360, 328, 2084, 663, 2086, 2087, 658, - /* 1930 */ 718, 653, 550, 2083, 361, 720, 224, 553, 1725, 555, - /* 1940 */ 1724, 557, 1723, 559, 112, 2101, 1450, 2014, 26, 1452, - /* 1950 */ 386, 1449, 1454, 660, 1436, 66, 2006, 573, 2051, 1993, - /* 1960 */ 659, 1434, 2083, 1991, 162, 2247, 2101, 19, 16, 1663, - /* 1970 */ 20, 58, 59, 28, 660, 258, 259, 251, 30, 2051, - /* 1980 */ 64, 659, 17, 2083, 2072, 587, 1678, 21, 5, 6, - /* 1990 */ 2082, 589, 1677, 370, 2118, 2101, 253, 328, 2084, 663, - /* 2000 */ 2086, 2087, 658, 660, 653, 1682, 1645, 170, 2051, 257, - /* 2010 */ 659, 565, 271, 55, 1681, 2118, 2101, 29, 323, 2084, - /* 2020 */ 663, 2086, 2087, 658, 660, 653, 574, 579, 371, 2051, - /* 2030 */ 247, 659, 365, 2083, 1637, 57, 91, 173, 1992, 1990, - /* 2040 */ 2082, 1989, 1683, 1971, 2118, 1684, 1612, 312, 2084, 663, - /* 2050 */ 2086, 2087, 658, 1611, 653, 93, 94, 277, 2083, 96, - /* 2060 */ 22, 2082, 278, 1970, 280, 2118, 2101, 1643, 313, 2084, - /* 2070 */ 663, 2086, 2087, 658, 660, 653, 285, 287, 67, 2051, - /* 2080 */ 290, 659, 98, 102, 23, 1564, 634, 1563, 12, 1487, - /* 2090 */ 1519, 2101, 2121, 2083, 174, 1542, 1540, 652, 10, 660, - /* 2100 */ 36, 186, 1539, 15, 2051, 24, 659, 1574, 1511, 25, - /* 2110 */ 56, 2082, 1312, 662, 666, 2118, 2083, 664, 314, 2084, - /* 2120 */ 663, 2086, 2087, 658, 387, 653, 2101, 668, 670, 1309, - /* 2130 */ 671, 673, 1306, 1300, 660, 674, 2082, 676, 1298, 2051, - /* 2140 */ 2118, 659, 677, 320, 2084, 663, 2086, 2087, 658, 2101, - /* 2150 */ 653, 679, 680, 1289, 293, 103, 104, 660, 1321, 1304, - /* 2160 */ 686, 74, 2051, 1317, 659, 1194, 1248, 1303, 1302, 1301, - /* 2170 */ 696, 2082, 1228, 1227, 2083, 2118, 708, 1226, 324, 2084, - /* 2180 */ 663, 2086, 2087, 658, 1225, 653, 1224, 1223, 1221, 1219, - /* 2190 */ 1218, 1217, 294, 2083, 2082, 1215, 1214, 1213, 2118, 1212, - /* 2200 */ 1211, 316, 2084, 663, 2086, 2087, 658, 2101, 653, 1210, - /* 2210 */ 1245, 1209, 1200, 1243, 1206, 660, 1205, 1202, 1201, 1199, - /* 2220 */ 2051, 1762, 659, 728, 730, 1760, 2101, 732, 729, 1758, - /* 2230 */ 734, 736, 738, 1756, 660, 733, 740, 737, 742, 2051, - /* 2240 */ 1742, 659, 741, 744, 1151, 1722, 297, 748, 1697, 1473, - /* 2250 */ 307, 751, 2082, 1697, 2083, 1697, 2118, 752, 1697, 325, - /* 2260 */ 2084, 663, 2086, 2087, 658, 1697, 653, 1697, 1697, 1697, - /* 2270 */ 1697, 2082, 1697, 1697, 1697, 2118, 1697, 1697, 317, 2084, - /* 2280 */ 663, 2086, 2087, 658, 1697, 653, 1697, 2101, 1697, 1697, - /* 2290 */ 1697, 1697, 1697, 1697, 1697, 660, 1697, 1697, 1697, 1697, - /* 2300 */ 2051, 1697, 659, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2310 */ 1697, 1697, 2083, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2320 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2083, 1697, - /* 2330 */ 1697, 1697, 2082, 1697, 1697, 1697, 2118, 1697, 1697, 326, - /* 2340 */ 2084, 663, 2086, 2087, 658, 2101, 653, 1697, 1697, 1697, - /* 2350 */ 1697, 1697, 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, - /* 2360 */ 659, 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, - /* 2370 */ 1697, 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, - /* 2380 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2390 */ 2082, 2083, 1697, 1697, 2118, 1697, 1697, 318, 2084, 663, - /* 2400 */ 2086, 2087, 658, 1697, 653, 1697, 2082, 2083, 1697, 1697, - /* 2410 */ 2118, 1697, 1697, 331, 2084, 663, 2086, 2087, 658, 1697, - /* 2420 */ 653, 1697, 1697, 1697, 2101, 1697, 2083, 1697, 1697, 1697, - /* 2430 */ 1697, 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, 659, - /* 2440 */ 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, - /* 2450 */ 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, 2101, - /* 2460 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, 2082, - /* 2470 */ 1697, 1697, 2051, 2118, 659, 1697, 332, 2084, 663, 2086, - /* 2480 */ 2087, 658, 1697, 653, 1697, 2082, 1697, 1697, 1697, 2118, - /* 2490 */ 2083, 1697, 2095, 2084, 663, 2086, 2087, 658, 1697, 653, - /* 2500 */ 1697, 1697, 1697, 1697, 2082, 1697, 1697, 2083, 2118, 1697, - /* 2510 */ 1697, 2094, 2084, 663, 2086, 2087, 658, 1697, 653, 1697, - /* 2520 */ 1697, 1697, 1697, 2101, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2530 */ 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, 659, 1697, - /* 2540 */ 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, - /* 2550 */ 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, 1697, - /* 2560 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2083, 2082, 1697, - /* 2570 */ 1697, 1697, 2118, 1697, 1697, 2093, 2084, 663, 2086, 2087, - /* 2580 */ 658, 1697, 653, 1697, 1697, 2082, 1697, 2083, 1697, 2118, - /* 2590 */ 1697, 1697, 346, 2084, 663, 2086, 2087, 658, 1697, 653, - /* 2600 */ 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, - /* 2610 */ 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, 1697, - /* 2620 */ 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, 1697, - /* 2630 */ 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, 1697, - /* 2640 */ 1697, 1697, 1697, 1697, 1697, 2082, 1697, 1697, 1697, 2118, - /* 2650 */ 1697, 1697, 347, 2084, 663, 2086, 2087, 658, 1697, 653, - /* 2660 */ 1697, 2083, 1697, 1697, 1697, 2082, 1697, 1697, 1697, 2118, - /* 2670 */ 1697, 1697, 343, 2084, 663, 2086, 2087, 658, 2083, 653, - /* 2680 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2690 */ 1697, 1697, 1697, 1697, 2101, 1697, 1697, 1697, 1697, 1697, - /* 2700 */ 1697, 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, 659, - /* 2710 */ 1697, 2101, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 660, - /* 2720 */ 1697, 1697, 1697, 1697, 2051, 1697, 659, 1697, 1697, 1697, - /* 2730 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2082, - /* 2740 */ 2083, 1697, 1697, 2118, 1697, 1697, 348, 2084, 663, 2086, - /* 2750 */ 2087, 658, 1697, 653, 1697, 1697, 661, 1697, 1697, 1697, - /* 2760 */ 2118, 1697, 1697, 323, 2084, 663, 2086, 2087, 658, 1697, - /* 2770 */ 653, 1697, 1697, 2101, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2780 */ 1697, 660, 1697, 1697, 1697, 1697, 2051, 1697, 659, 1697, - /* 2790 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2800 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 2810 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2082, 1697, - /* 2820 */ 1697, 1697, 2118, 1697, 1697, 322, 2084, 663, 2086, 2087, - /* 2830 */ 658, 1697, 653, + /* 410 */ 633, 2117, 44, 42, 41, 40, 39, 390, 754, 661, + /* 420 */ 1511, 14, 470, 585, 2067, 164, 663, 2258, 11, 390, + /* 430 */ 9, 45, 43, 1569, 1879, 282, 283, 161, 1975, 387, + /* 440 */ 281, 1483, 2264, 182, 366, 1509, 1879, 2259, 611, 192, + /* 450 */ 1594, 238, 1564, 1928, 1481, 237, 2098, 1566, 1567, 642, + /* 460 */ 2134, 1989, 1489, 327, 2100, 667, 2102, 2103, 662, 660, + /* 470 */ 657, 648, 2152, 1710, 38, 37, 692, 1559, 44, 42, + /* 480 */ 41, 40, 39, 198, 197, 1400, 1401, 1539, 1549, 1508, + /* 490 */ 1489, 1779, 492, 1565, 1568, 497, 1752, 131, 130, 129, + /* 500 */ 128, 127, 126, 125, 124, 123, 469, 1484, 501, 1482, + /* 510 */ 27, 497, 1752, 713, 89, 340, 754, 426, 364, 46, + /* 520 */ 566, 425, 34, 385, 1588, 1589, 1590, 1591, 1592, 1596, + /* 530 */ 1597, 1598, 1599, 1733, 1487, 1488, 1960, 1538, 1541, 1542, + /* 540 */ 1543, 1544, 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, + /* 550 */ 1560, 1561, 1562, 1563, 2, 1566, 1567, 550, 549, 548, + /* 560 */ 1975, 1345, 1346, 585, 540, 136, 544, 2258, 250, 61, + /* 570 */ 543, 196, 176, 1732, 106, 542, 547, 360, 359, 2067, + /* 580 */ 2099, 541, 2264, 182, 1731, 1539, 1549, 2259, 611, 33, + /* 590 */ 140, 1565, 1568, 352, 1979, 38, 37, 1852, 1869, 44, + /* 600 */ 42, 41, 40, 39, 61, 1484, 2263, 1482, 13, 12, + /* 610 */ 38, 37, 393, 2117, 44, 42, 41, 40, 39, 2067, + /* 620 */ 164, 664, 622, 1510, 546, 545, 2067, 239, 663, 1879, + /* 630 */ 2067, 1866, 1487, 1488, 86, 1538, 1541, 1542, 1543, 1544, + /* 640 */ 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, 1560, 1561, + /* 650 */ 1562, 1563, 2, 45, 43, 139, 49, 2099, 2098, 1873, + /* 660 */ 1868, 387, 2134, 1483, 647, 109, 2100, 667, 2102, 2103, + /* 670 */ 662, 2081, 657, 1509, 1564, 142, 1481, 149, 2158, 2187, + /* 680 */ 187, 38, 37, 381, 2183, 44, 42, 41, 40, 39, + /* 690 */ 2117, 450, 176, 1457, 1458, 1930, 1766, 1877, 664, 1559, + /* 700 */ 449, 622, 365, 2067, 1696, 663, 2077, 2083, 1607, 699, + /* 710 */ 628, 1928, 1489, 419, 1980, 1662, 357, 657, 551, 185, + /* 720 */ 624, 180, 2195, 2196, 647, 137, 2200, 154, 153, 696, + /* 730 */ 695, 694, 151, 1730, 139, 2098, 421, 417, 754, 2134, + /* 740 */ 54, 46, 169, 2100, 667, 2102, 2103, 662, 714, 657, + /* 750 */ 1839, 45, 43, 647, 185, 693, 585, 1877, 1921, 387, + /* 760 */ 2258, 1483, 597, 596, 1660, 1661, 1663, 1664, 1665, 430, + /* 770 */ 163, 272, 1564, 2262, 1481, 2264, 182, 1566, 1567, 2067, + /* 780 */ 2259, 611, 358, 1510, 356, 355, 1877, 534, 1729, 1417, + /* 790 */ 1418, 536, 1638, 614, 612, 2279, 564, 1559, 1508, 2099, + /* 800 */ 181, 2195, 2196, 1728, 137, 2200, 185, 1539, 1549, 562, + /* 810 */ 1489, 560, 535, 1565, 1568, 647, 38, 37, 105, 647, + /* 820 */ 44, 42, 41, 40, 39, 1416, 1419, 1484, 102, 1482, + /* 830 */ 1930, 431, 2117, 1727, 2067, 440, 754, 375, 1574, 14, + /* 840 */ 664, 41, 40, 39, 1508, 2067, 1928, 663, 1877, 2067, + /* 850 */ 2060, 1703, 1877, 1726, 1487, 1488, 1725, 1538, 1541, 1542, + /* 860 */ 1543, 1544, 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, + /* 870 */ 1560, 1561, 1562, 1563, 2, 1566, 1567, 2098, 8, 2067, + /* 880 */ 2061, 2134, 1924, 1925, 110, 2100, 667, 2102, 2103, 662, + /* 890 */ 2086, 657, 649, 100, 2159, 1862, 585, 1724, 2187, 2067, + /* 900 */ 2258, 2081, 2067, 2184, 610, 1539, 1549, 1864, 2258, 1650, + /* 910 */ 164, 1565, 1568, 725, 723, 2264, 182, 1870, 61, 1880, + /* 920 */ 2259, 611, 1511, 609, 182, 1484, 585, 1482, 2259, 611, + /* 930 */ 2258, 272, 538, 1930, 38, 37, 2077, 2083, 44, 42, + /* 940 */ 41, 40, 39, 2067, 1540, 2264, 182, 657, 1702, 1929, + /* 950 */ 2259, 611, 1487, 1488, 1252, 1538, 1541, 1542, 1543, 1544, + /* 960 */ 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, 1560, 1561, + /* 970 */ 1562, 1563, 2, 1511, 336, 165, 1506, 647, 384, 383, + /* 980 */ 311, 571, 2202, 463, 2053, 555, 477, 2099, 1497, 476, + /* 990 */ 1540, 1167, 1168, 455, 309, 72, 2202, 1721, 71, 1564, + /* 1000 */ 565, 1490, 1631, 424, 446, 423, 478, 1720, 2198, 448, + /* 1010 */ 1877, 651, 1483, 2159, 236, 536, 205, 489, 487, 484, + /* 1020 */ 2117, 615, 2197, 622, 1559, 1481, 647, 585, 664, 558, + /* 1030 */ 422, 2258, 407, 2067, 552, 663, 535, 1489, 647, 235, + /* 1040 */ 613, 697, 456, 2067, 1921, 580, 2264, 182, 647, 2207, + /* 1050 */ 1627, 2259, 611, 2067, 510, 353, 139, 61, 51, 1877, + /* 1060 */ 3, 1489, 1723, 653, 1874, 2098, 617, 436, 185, 2134, + /* 1070 */ 191, 1877, 109, 2100, 667, 2102, 2103, 662, 1930, 657, + /* 1080 */ 69, 1877, 1930, 68, 2162, 380, 2187, 754, 1627, 391, + /* 1090 */ 381, 2183, 1860, 1719, 1928, 108, 474, 1718, 1928, 468, + /* 1100 */ 467, 466, 465, 462, 461, 460, 459, 458, 454, 453, + /* 1110 */ 452, 451, 335, 443, 442, 441, 647, 438, 437, 351, + /* 1120 */ 152, 249, 183, 2195, 2196, 1265, 137, 2200, 647, 2227, + /* 1130 */ 698, 647, 241, 1921, 691, 80, 79, 429, 1264, 2067, + /* 1140 */ 189, 2099, 647, 2067, 581, 1717, 1269, 626, 305, 1877, + /* 1150 */ 245, 1907, 1498, 658, 1493, 647, 1508, 647, 630, 1268, + /* 1160 */ 334, 1877, 73, 415, 1877, 413, 409, 405, 402, 422, + /* 1170 */ 1716, 286, 2099, 644, 2117, 1877, 1484, 53, 1482, 1501, + /* 1180 */ 1503, 145, 625, 134, 568, 152, 567, 2067, 1877, 663, + /* 1190 */ 1877, 2067, 655, 1557, 1558, 1560, 1561, 1562, 1563, 647, + /* 1200 */ 479, 647, 1715, 1487, 1488, 2117, 1714, 185, 647, 228, + /* 1210 */ 1713, 81, 226, 664, 539, 645, 2067, 292, 2067, 2098, + /* 1220 */ 663, 481, 2099, 2134, 394, 1759, 109, 2100, 667, 2102, + /* 1230 */ 2103, 662, 1877, 657, 1877, 152, 1250, 63, 179, 2099, + /* 1240 */ 2187, 1877, 1452, 654, 381, 2183, 63, 553, 2067, 1630, + /* 1250 */ 2098, 1757, 2067, 248, 2134, 2117, 2067, 109, 2100, 667, + /* 1260 */ 2102, 2103, 662, 664, 657, 254, 2214, 584, 2067, 2278, + /* 1270 */ 663, 2187, 2117, 556, 1492, 381, 2183, 433, 230, 232, + /* 1280 */ 664, 229, 231, 1705, 1706, 2067, 2221, 663, 234, 152, + /* 1290 */ 434, 233, 1455, 47, 1659, 2088, 618, 90, 279, 2099, + /* 1300 */ 2098, 70, 1540, 1658, 2134, 150, 152, 168, 2100, 667, + /* 1310 */ 2102, 2103, 662, 63, 657, 1491, 1819, 2098, 1211, 2099, + /* 1320 */ 267, 2134, 256, 47, 109, 2100, 667, 2102, 2103, 662, + /* 1330 */ 221, 657, 2117, 13, 12, 598, 2278, 757, 2187, 52, + /* 1340 */ 664, 261, 381, 2183, 1753, 2067, 629, 663, 2090, 2225, + /* 1350 */ 1414, 298, 2117, 2234, 1212, 284, 707, 47, 639, 2118, + /* 1360 */ 664, 708, 288, 1295, 671, 2067, 175, 663, 150, 152, + /* 1370 */ 1601, 398, 747, 743, 739, 735, 296, 2098, 1230, 135, + /* 1380 */ 1550, 2134, 150, 1228, 109, 2100, 667, 2102, 2103, 662, + /* 1390 */ 1984, 657, 1585, 749, 1747, 1918, 2278, 2098, 2187, 2217, + /* 1400 */ 623, 2134, 381, 2183, 109, 2100, 667, 2102, 2103, 662, + /* 1410 */ 266, 657, 269, 592, 304, 4, 2278, 107, 2187, 1, + /* 1420 */ 289, 1323, 381, 2183, 401, 1327, 1334, 1495, 2099, 406, + /* 1430 */ 349, 1437, 299, 2252, 195, 223, 1332, 435, 1511, 155, + /* 1440 */ 472, 1985, 439, 444, 457, 1506, 1977, 464, 2099, 471, + /* 1450 */ 171, 473, 643, 482, 480, 200, 528, 524, 520, 516, + /* 1460 */ 220, 2117, 483, 199, 485, 486, 202, 488, 1494, 664, + /* 1470 */ 490, 1512, 491, 1514, 2067, 503, 663, 500, 208, 1509, + /* 1480 */ 504, 2117, 1513, 210, 1515, 505, 506, 276, 213, 664, + /* 1490 */ 508, 215, 275, 512, 2067, 1184, 663, 84, 85, 529, + /* 1500 */ 219, 87, 530, 531, 218, 533, 2098, 111, 1444, 2044, + /* 1510 */ 2134, 243, 2041, 109, 2100, 667, 2102, 2103, 662, 570, + /* 1520 */ 657, 339, 2099, 1867, 2040, 2278, 2098, 2187, 572, 225, + /* 1530 */ 2134, 381, 2183, 109, 2100, 667, 2102, 2103, 662, 88, + /* 1540 */ 657, 1863, 2206, 227, 242, 2160, 2099, 2187, 157, 575, + /* 1550 */ 158, 381, 2183, 1865, 1861, 2117, 574, 159, 582, 160, + /* 1560 */ 579, 576, 148, 664, 244, 300, 246, 599, 2067, 2218, + /* 1570 */ 663, 217, 211, 2233, 2228, 589, 216, 637, 507, 2117, + /* 1580 */ 608, 595, 2232, 370, 602, 590, 172, 664, 7, 252, + /* 1590 */ 260, 255, 2067, 587, 663, 209, 2099, 588, 371, 263, + /* 1600 */ 2098, 619, 616, 1627, 2134, 138, 2209, 109, 2100, 667, + /* 1610 */ 2102, 2103, 662, 2099, 657, 1510, 264, 262, 627, 650, + /* 1620 */ 265, 2187, 1516, 2203, 2098, 381, 2183, 268, 2134, 2117, + /* 1630 */ 374, 110, 2100, 667, 2102, 2103, 662, 664, 657, 2257, + /* 1640 */ 2281, 274, 2067, 95, 663, 2187, 2117, 1990, 635, 2186, + /* 1650 */ 2183, 301, 636, 302, 664, 2004, 640, 641, 97, 2067, + /* 1660 */ 2003, 663, 2002, 377, 303, 1878, 60, 99, 2168, 101, + /* 1670 */ 669, 1922, 750, 2099, 2098, 308, 306, 295, 2134, 330, + /* 1680 */ 751, 321, 2100, 667, 2102, 2103, 662, 753, 657, 1840, + /* 1690 */ 50, 2098, 341, 2099, 342, 2134, 315, 310, 110, 2100, + /* 1700 */ 667, 2102, 2103, 662, 2059, 657, 2117, 2058, 329, 319, + /* 1710 */ 2057, 77, 2187, 2054, 664, 403, 652, 2183, 404, 2067, + /* 1720 */ 1474, 663, 1475, 188, 408, 607, 2117, 2052, 410, 411, + /* 1730 */ 412, 2051, 414, 2050, 664, 416, 2049, 418, 2048, 2067, + /* 1740 */ 420, 663, 78, 1440, 1439, 2016, 2015, 2014, 2013, 427, + /* 1750 */ 2012, 665, 428, 1391, 1968, 2134, 2099, 1967, 110, 2100, + /* 1760 */ 667, 2102, 2103, 662, 1965, 657, 144, 1964, 1963, 1966, + /* 1770 */ 1962, 2098, 2187, 1961, 1959, 2134, 344, 2183, 169, 2100, + /* 1780 */ 667, 2102, 2103, 662, 193, 657, 1958, 1957, 445, 2117, + /* 1790 */ 1956, 1970, 447, 1955, 376, 1954, 1953, 664, 1952, 1951, + /* 1800 */ 1950, 1949, 2067, 1948, 663, 1947, 1946, 1945, 1944, 1943, + /* 1810 */ 1942, 1941, 1940, 146, 2099, 1939, 1938, 1969, 1937, 1936, + /* 1820 */ 1935, 1934, 1933, 475, 1393, 1932, 1931, 1782, 337, 1262, + /* 1830 */ 338, 2280, 1781, 201, 2098, 1266, 1270, 203, 2134, 2099, + /* 1840 */ 1780, 328, 2100, 667, 2102, 2103, 662, 2117, 657, 1778, + /* 1850 */ 204, 1742, 1170, 1169, 1741, 661, 2031, 2023, 2011, 214, + /* 1860 */ 2067, 62, 663, 75, 2010, 206, 1988, 1856, 1777, 1204, + /* 1870 */ 207, 1775, 2117, 177, 76, 2087, 212, 386, 496, 513, + /* 1880 */ 664, 498, 515, 1773, 514, 2067, 519, 663, 517, 518, + /* 1890 */ 1771, 523, 2098, 522, 521, 1769, 2134, 1756, 525, 327, + /* 1900 */ 2100, 667, 2102, 2103, 662, 1755, 657, 1738, 2153, 527, + /* 1910 */ 1858, 1339, 2099, 526, 1338, 1857, 1253, 2098, 722, 1251, + /* 1920 */ 1249, 2134, 1248, 1247, 328, 2100, 667, 2102, 2103, 662, + /* 1930 */ 724, 657, 1767, 2099, 1246, 1245, 1242, 1241, 1240, 1239, + /* 1940 */ 224, 361, 1760, 362, 554, 2117, 1758, 363, 557, 1737, + /* 1950 */ 388, 1736, 559, 664, 1735, 561, 563, 112, 2067, 1462, + /* 1960 */ 663, 1464, 2099, 1461, 2030, 55, 2117, 1448, 1446, 2022, + /* 1970 */ 1466, 162, 26, 66, 664, 577, 2009, 2007, 2263, 2067, + /* 1980 */ 19, 663, 16, 2099, 58, 59, 259, 258, 30, 28, + /* 1990 */ 2098, 593, 1675, 251, 2134, 2117, 591, 328, 2100, 667, + /* 2000 */ 2102, 2103, 662, 664, 657, 5, 170, 6, 2067, 253, + /* 2010 */ 663, 569, 2088, 1657, 578, 2134, 2117, 20, 323, 2100, + /* 2020 */ 667, 2102, 2103, 662, 664, 657, 64, 257, 21, 2067, + /* 2030 */ 247, 663, 1649, 2099, 17, 29, 1690, 583, 91, 1689, + /* 2040 */ 2098, 372, 1694, 367, 2134, 1693, 373, 312, 2100, 667, + /* 2050 */ 2102, 2103, 662, 1695, 657, 271, 1696, 1624, 2099, 1623, + /* 2060 */ 57, 2098, 173, 2008, 2006, 2134, 2117, 2005, 313, 2100, + /* 2070 */ 667, 2102, 2103, 662, 664, 657, 1987, 94, 93, 2067, + /* 2080 */ 277, 663, 22, 1986, 278, 638, 1655, 280, 285, 67, + /* 2090 */ 96, 2117, 287, 2099, 98, 290, 56, 23, 1576, 664, + /* 2100 */ 102, 1575, 12, 1499, 2067, 2137, 663, 174, 186, 1531, + /* 2110 */ 1554, 2098, 10, 656, 36, 2134, 2099, 15, 314, 2100, + /* 2120 */ 667, 2102, 2103, 662, 24, 657, 2117, 1552, 1551, 1523, + /* 2130 */ 25, 1586, 668, 1324, 664, 672, 2098, 670, 389, 2067, + /* 2140 */ 2134, 663, 1321, 320, 2100, 667, 2102, 2103, 662, 2117, + /* 2150 */ 657, 674, 675, 677, 680, 1318, 678, 664, 1312, 1310, + /* 2160 */ 683, 1301, 2067, 666, 663, 681, 684, 1316, 1315, 1314, + /* 2170 */ 1313, 2098, 293, 103, 2099, 2134, 1333, 104, 324, 2100, + /* 2180 */ 667, 2102, 2103, 662, 690, 657, 74, 1329, 1202, 1236, + /* 2190 */ 700, 1235, 1234, 2099, 2098, 1233, 1232, 1231, 2134, 1229, + /* 2200 */ 1260, 316, 2100, 667, 2102, 2103, 662, 2117, 657, 1227, + /* 2210 */ 712, 1226, 1225, 294, 1223, 664, 1222, 1221, 1220, 1219, + /* 2220 */ 2067, 1218, 663, 1217, 1257, 1255, 2117, 1214, 1213, 1210, + /* 2230 */ 1209, 1208, 1207, 1774, 664, 732, 1772, 733, 734, 2067, + /* 2240 */ 736, 663, 738, 1770, 1768, 740, 737, 742, 744, 741, + /* 2250 */ 745, 746, 2098, 1754, 2099, 748, 2134, 1159, 1734, 325, + /* 2260 */ 2100, 667, 2102, 2103, 662, 1709, 657, 297, 752, 756, + /* 2270 */ 1485, 2098, 307, 755, 1709, 2134, 1709, 1709, 317, 2100, + /* 2280 */ 667, 2102, 2103, 662, 1709, 657, 1709, 2117, 1709, 1709, + /* 2290 */ 1709, 1709, 1709, 1709, 1709, 664, 1709, 1709, 1709, 1709, + /* 2300 */ 2067, 1709, 663, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 2310 */ 1709, 1709, 2099, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 2320 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2099, 1709, + /* 2330 */ 1709, 1709, 2098, 1709, 1709, 1709, 2134, 1709, 1709, 326, + /* 2340 */ 2100, 667, 2102, 2103, 662, 2117, 657, 1709, 1709, 1709, + /* 2350 */ 1709, 1709, 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, + /* 2360 */ 663, 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, + /* 2370 */ 1709, 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, + /* 2380 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 2390 */ 2098, 2099, 1709, 1709, 2134, 1709, 1709, 318, 2100, 667, + /* 2400 */ 2102, 2103, 662, 1709, 657, 1709, 2098, 2099, 1709, 1709, + /* 2410 */ 2134, 1709, 1709, 331, 2100, 667, 2102, 2103, 662, 1709, + /* 2420 */ 657, 1709, 1709, 1709, 2117, 1709, 2099, 1709, 1709, 1709, + /* 2430 */ 1709, 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, 663, + /* 2440 */ 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, + /* 2450 */ 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, 2117, + /* 2460 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, 2098, + /* 2470 */ 1709, 1709, 2067, 2134, 663, 1709, 332, 2100, 667, 2102, + /* 2480 */ 2103, 662, 1709, 657, 1709, 2098, 1709, 1709, 1709, 2134, + /* 2490 */ 2099, 1709, 2111, 2100, 667, 2102, 2103, 662, 1709, 657, + /* 2500 */ 1709, 1709, 1709, 1709, 2098, 1709, 1709, 2099, 2134, 1709, + /* 2510 */ 1709, 2110, 2100, 667, 2102, 2103, 662, 1709, 657, 1709, + /* 2520 */ 1709, 1709, 1709, 2117, 1709, 1709, 1709, 1709, 1709, 1709, + /* 2530 */ 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, 663, 1709, + /* 2540 */ 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, + /* 2550 */ 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, 1709, + /* 2560 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2099, 2098, 1709, + /* 2570 */ 1709, 1709, 2134, 1709, 1709, 2109, 2100, 667, 2102, 2103, + /* 2580 */ 662, 1709, 657, 1709, 1709, 2098, 1709, 2099, 1709, 2134, + /* 2590 */ 1709, 1709, 346, 2100, 667, 2102, 2103, 662, 1709, 657, + /* 2600 */ 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, + /* 2610 */ 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, 1709, + /* 2620 */ 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, + /* 2630 */ 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, 1709, + /* 2640 */ 1709, 1709, 1709, 1709, 1709, 2098, 1709, 1709, 1709, 2134, + /* 2650 */ 1709, 1709, 347, 2100, 667, 2102, 2103, 662, 1709, 657, + /* 2660 */ 1709, 2099, 1709, 1709, 1709, 2098, 1709, 1709, 1709, 2134, + /* 2670 */ 1709, 1709, 343, 2100, 667, 2102, 2103, 662, 2099, 657, + /* 2680 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 2690 */ 1709, 1709, 1709, 1709, 2117, 1709, 1709, 1709, 1709, 1709, + /* 2700 */ 1709, 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, 663, + /* 2710 */ 1709, 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, + /* 2720 */ 1709, 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, + /* 2730 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2098, + /* 2740 */ 2099, 1709, 1709, 2134, 1709, 1709, 348, 2100, 667, 2102, + /* 2750 */ 2103, 662, 1709, 657, 1709, 1709, 665, 1709, 1709, 1709, + /* 2760 */ 2134, 1709, 1709, 323, 2100, 667, 2102, 2103, 662, 1709, + /* 2770 */ 657, 1709, 1709, 2117, 1709, 1709, 1709, 1709, 1709, 1709, + /* 2780 */ 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, 663, 1709, + /* 2790 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 2800 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 2810 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2098, 1709, + /* 2820 */ 1709, 1709, 2134, 1709, 1709, 322, 2100, 667, 2102, 2103, + /* 2830 */ 662, 1709, 657, }; static const YYCODETYPE yy_lookahead[] = { /* 0 */ 367, 443, 380, 347, 332, 447, 336, 365, 338, 339, @@ -516,222 +516,222 @@ static const YYCODETYPE yy_lookahead[] = { /* 90 */ 418, 419, 420, 421, 422, 367, 424, 97, 4, 63, /* 100 */ 100, 429, 389, 431, 391, 410, 378, 435, 436, 414, /* 110 */ 12, 13, 417, 418, 419, 420, 421, 422, 20, 424, - /* 120 */ 22, 449, 439, 440, 441, 332, 443, 444, 111, 457, + /* 120 */ 22, 449, 439, 440, 441, 427, 443, 444, 430, 457, /* 130 */ 447, 33, 20, 35, 22, 376, 136, 137, 379, 380, /* 140 */ 443, 413, 414, 415, 447, 462, 463, 35, 432, 433, /* 150 */ 467, 468, 424, 458, 459, 58, 58, 0, 20, 462, /* 160 */ 463, 20, 64, 51, 467, 468, 166, 167, 100, 71, - /* 170 */ 0, 378, 172, 173, 8, 9, 364, 160, 12, 13, + /* 170 */ 0, 58, 172, 173, 8, 9, 364, 340, 12, 13, /* 180 */ 14, 15, 16, 66, 67, 68, 186, 63, 188, 377, - /* 190 */ 73, 74, 75, 365, 100, 97, 79, 100, 100, 102, - /* 200 */ 14, 84, 85, 100, 8, 9, 20, 90, 12, 13, - /* 210 */ 14, 15, 16, 213, 214, 387, 216, 217, 218, 219, + /* 190 */ 73, 74, 75, 356, 100, 97, 79, 100, 100, 102, + /* 200 */ 363, 84, 85, 86, 87, 14, 336, 90, 338, 339, + /* 210 */ 373, 20, 99, 213, 214, 102, 216, 217, 218, 219, /* 220 */ 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, /* 230 */ 230, 231, 232, 233, 136, 137, 66, 67, 68, 69, /* 240 */ 70, 100, 72, 73, 74, 75, 76, 77, 78, 79, /* 250 */ 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - /* 260 */ 90, 91, 92, 20, 166, 167, 171, 101, 96, 112, + /* 260 */ 90, 91, 92, 20, 166, 167, 171, 101, 63, 112, /* 270 */ 172, 173, 21, 165, 35, 24, 25, 26, 27, 28, /* 280 */ 29, 30, 31, 32, 186, 112, 188, 130, 131, 132, - /* 290 */ 133, 134, 135, 8, 9, 63, 4, 12, 13, 14, + /* 290 */ 133, 134, 135, 8, 9, 20, 4, 12, 13, 14, /* 300 */ 15, 16, 373, 130, 131, 132, 133, 134, 135, 329, /* 310 */ 71, 213, 214, 384, 216, 217, 218, 219, 220, 221, /* 320 */ 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, /* 330 */ 232, 233, 234, 12, 13, 43, 0, 45, 46, 20, - /* 340 */ 168, 20, 97, 22, 250, 237, 373, 250, 20, 64, - /* 350 */ 255, 256, 257, 250, 33, 247, 35, 384, 113, 114, + /* 340 */ 357, 20, 97, 22, 250, 237, 340, 250, 365, 64, + /* 350 */ 255, 256, 257, 111, 33, 247, 35, 374, 113, 114, /* 360 */ 115, 116, 117, 118, 119, 120, 121, 122, 346, 124, /* 370 */ 125, 126, 127, 128, 129, 0, 2, 397, 332, 58, /* 380 */ 44, 401, 8, 9, 362, 64, 12, 13, 14, 15, - /* 390 */ 16, 250, 71, 371, 109, 336, 21, 338, 339, 24, + /* 390 */ 16, 250, 71, 371, 109, 389, 21, 391, 234, 24, /* 400 */ 25, 26, 27, 28, 29, 30, 31, 32, 8, 9, /* 410 */ 340, 365, 12, 13, 14, 15, 16, 357, 97, 373, - /* 420 */ 20, 100, 80, 443, 378, 365, 380, 447, 100, 357, - /* 430 */ 20, 12, 13, 14, 374, 130, 131, 365, 373, 20, + /* 420 */ 20, 100, 80, 443, 378, 365, 380, 447, 234, 357, + /* 430 */ 236, 12, 13, 14, 374, 130, 131, 365, 373, 20, /* 440 */ 135, 22, 462, 463, 372, 20, 374, 467, 468, 384, /* 450 */ 165, 131, 33, 381, 35, 135, 410, 136, 137, 389, - /* 460 */ 414, 391, 111, 417, 418, 419, 420, 421, 422, 423, - /* 470 */ 424, 425, 426, 0, 8, 9, 234, 58, 12, 13, - /* 480 */ 14, 15, 16, 141, 142, 166, 167, 166, 167, 344, + /* 460 */ 414, 391, 71, 417, 418, 419, 420, 421, 422, 423, + /* 470 */ 424, 425, 426, 0, 8, 9, 111, 58, 12, 13, + /* 480 */ 14, 15, 16, 141, 142, 166, 167, 166, 167, 20, /* 490 */ 71, 0, 337, 172, 173, 340, 341, 24, 25, 26, /* 500 */ 27, 28, 29, 30, 31, 32, 164, 186, 337, 188, - /* 510 */ 44, 340, 341, 368, 194, 195, 97, 397, 198, 100, + /* 510 */ 44, 340, 341, 71, 194, 195, 97, 397, 198, 100, /* 520 */ 200, 401, 237, 238, 239, 240, 241, 242, 243, 244, - /* 530 */ 245, 246, 247, 332, 213, 214, 402, 216, 217, 218, + /* 530 */ 245, 246, 247, 332, 213, 214, 0, 216, 217, 218, /* 540 */ 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, /* 550 */ 229, 230, 231, 232, 233, 136, 137, 66, 67, 68, - /* 560 */ 71, 136, 137, 443, 73, 74, 75, 447, 168, 100, - /* 570 */ 79, 379, 380, 367, 344, 84, 85, 71, 250, 378, - /* 580 */ 332, 90, 462, 463, 378, 166, 167, 467, 468, 2, - /* 590 */ 360, 172, 173, 1, 2, 8, 9, 0, 368, 12, - /* 600 */ 13, 14, 15, 16, 111, 186, 3, 188, 351, 352, - /* 610 */ 8, 9, 21, 365, 12, 13, 14, 15, 16, 413, - /* 620 */ 414, 373, 340, 20, 0, 34, 378, 36, 380, 234, - /* 630 */ 424, 236, 213, 214, 346, 216, 217, 218, 219, 220, + /* 560 */ 373, 136, 137, 443, 73, 74, 75, 447, 168, 100, + /* 570 */ 79, 384, 365, 332, 344, 84, 85, 86, 87, 378, + /* 580 */ 332, 90, 462, 463, 332, 166, 167, 467, 468, 2, + /* 590 */ 360, 172, 173, 386, 387, 8, 9, 0, 368, 12, + /* 600 */ 13, 14, 15, 16, 100, 186, 3, 188, 1, 2, + /* 610 */ 8, 9, 357, 365, 12, 13, 14, 15, 16, 378, + /* 620 */ 365, 373, 340, 20, 351, 352, 378, 130, 380, 374, + /* 630 */ 378, 366, 213, 214, 346, 216, 217, 218, 219, 220, /* 640 */ 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, - /* 650 */ 231, 232, 233, 12, 13, 373, 58, 332, 410, 371, + /* 650 */ 231, 232, 233, 12, 13, 373, 100, 332, 410, 371, /* 660 */ 367, 20, 414, 22, 340, 417, 418, 419, 420, 421, /* 670 */ 422, 378, 424, 20, 33, 427, 35, 429, 430, 431, /* 680 */ 356, 8, 9, 435, 436, 12, 13, 14, 15, 16, - /* 690 */ 365, 332, 365, 101, 20, 365, 0, 373, 373, 58, - /* 700 */ 102, 340, 372, 378, 101, 380, 413, 414, 332, 112, - /* 710 */ 397, 381, 71, 386, 387, 213, 37, 424, 22, 250, + /* 690 */ 365, 155, 365, 196, 197, 365, 0, 373, 373, 58, + /* 700 */ 164, 340, 372, 378, 101, 380, 413, 414, 101, 112, + /* 710 */ 397, 381, 71, 181, 387, 213, 37, 424, 22, 250, /* 720 */ 438, 439, 440, 441, 340, 443, 444, 130, 131, 132, - /* 730 */ 133, 134, 135, 427, 373, 410, 430, 378, 97, 414, - /* 740 */ 356, 100, 417, 418, 419, 420, 421, 422, 3, 424, - /* 750 */ 332, 12, 13, 340, 378, 375, 443, 373, 378, 20, + /* 730 */ 133, 134, 135, 332, 373, 410, 204, 205, 97, 414, + /* 740 */ 356, 100, 417, 418, 419, 420, 421, 422, 353, 424, + /* 750 */ 355, 12, 13, 340, 250, 375, 443, 373, 378, 20, /* 760 */ 447, 22, 260, 261, 262, 263, 264, 265, 266, 356, - /* 770 */ 168, 168, 33, 366, 35, 462, 463, 136, 137, 155, - /* 780 */ 467, 468, 103, 416, 105, 106, 373, 108, 164, 136, - /* 790 */ 137, 112, 340, 366, 469, 470, 378, 58, 366, 332, - /* 800 */ 439, 440, 441, 332, 443, 444, 20, 166, 167, 442, - /* 810 */ 71, 366, 133, 172, 173, 340, 8, 9, 416, 340, - /* 820 */ 12, 13, 14, 15, 16, 172, 173, 186, 366, 188, - /* 830 */ 365, 356, 365, 332, 0, 356, 97, 372, 363, 100, - /* 840 */ 373, 389, 168, 391, 442, 378, 381, 380, 373, 378, - /* 850 */ 397, 178, 373, 58, 213, 214, 332, 216, 217, 218, + /* 770 */ 168, 168, 33, 3, 35, 462, 463, 136, 137, 378, + /* 780 */ 467, 468, 103, 20, 105, 106, 373, 108, 332, 136, + /* 790 */ 137, 112, 14, 44, 469, 470, 21, 58, 20, 332, + /* 800 */ 439, 440, 441, 332, 443, 444, 250, 166, 167, 34, + /* 810 */ 71, 36, 133, 172, 173, 340, 8, 9, 100, 340, + /* 820 */ 12, 13, 14, 15, 16, 172, 173, 186, 110, 188, + /* 830 */ 365, 356, 365, 332, 378, 356, 97, 372, 14, 100, + /* 840 */ 373, 14, 15, 16, 20, 378, 381, 380, 373, 378, + /* 850 */ 397, 178, 373, 332, 213, 214, 332, 216, 217, 218, /* 860 */ 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, - /* 870 */ 229, 230, 231, 232, 233, 136, 137, 410, 366, 378, - /* 880 */ 397, 414, 48, 365, 417, 418, 419, 420, 421, 422, - /* 890 */ 372, 424, 375, 357, 99, 378, 443, 102, 431, 381, - /* 900 */ 447, 365, 378, 436, 443, 166, 167, 20, 447, 101, - /* 910 */ 374, 172, 173, 351, 352, 462, 463, 181, 100, 39, - /* 920 */ 467, 468, 22, 462, 463, 186, 443, 188, 467, 468, - /* 930 */ 447, 365, 428, 14, 430, 35, 14, 366, 372, 20, - /* 940 */ 204, 205, 20, 45, 46, 462, 463, 381, 275, 44, - /* 950 */ 467, 468, 213, 214, 168, 216, 217, 218, 219, 220, + /* 870 */ 229, 230, 231, 232, 233, 136, 137, 410, 39, 378, + /* 880 */ 397, 414, 379, 380, 417, 418, 419, 420, 421, 422, + /* 890 */ 367, 424, 428, 344, 430, 366, 443, 332, 431, 378, + /* 900 */ 447, 378, 378, 436, 443, 166, 167, 366, 447, 101, + /* 910 */ 365, 172, 173, 351, 352, 462, 463, 368, 100, 374, + /* 920 */ 467, 468, 20, 462, 463, 186, 443, 188, 467, 468, + /* 930 */ 447, 168, 13, 365, 8, 9, 413, 414, 12, 13, + /* 940 */ 14, 15, 16, 378, 166, 462, 463, 424, 275, 381, + /* 950 */ 467, 468, 213, 214, 35, 216, 217, 218, 219, 220, /* 960 */ 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, /* 970 */ 231, 232, 233, 20, 18, 18, 20, 340, 12, 13, - /* 980 */ 23, 397, 428, 27, 430, 4, 30, 332, 22, 33, - /* 990 */ 14, 15, 16, 356, 37, 38, 4, 97, 41, 33, - /* 1000 */ 19, 35, 333, 185, 48, 187, 50, 388, 375, 53, - /* 1010 */ 373, 378, 22, 365, 33, 270, 59, 60, 61, 62, - /* 1020 */ 365, 44, 374, 340, 58, 35, 340, 443, 373, 48, - /* 1030 */ 212, 447, 357, 378, 53, 380, 332, 71, 340, 58, - /* 1040 */ 365, 112, 356, 332, 248, 249, 462, 463, 340, 374, - /* 1050 */ 365, 467, 468, 166, 356, 99, 373, 100, 353, 373, - /* 1060 */ 355, 71, 133, 97, 356, 410, 381, 111, 250, 414, - /* 1070 */ 354, 373, 417, 418, 419, 420, 421, 422, 101, 424, - /* 1080 */ 99, 373, 378, 102, 429, 166, 431, 97, 166, 378, - /* 1090 */ 435, 436, 332, 332, 35, 138, 140, 332, 0, 143, + /* 980 */ 23, 397, 416, 27, 0, 4, 30, 332, 22, 33, + /* 990 */ 166, 45, 46, 356, 37, 38, 416, 332, 41, 33, + /* 1000 */ 19, 35, 4, 185, 48, 187, 50, 332, 442, 53, + /* 1010 */ 373, 428, 22, 430, 33, 112, 59, 60, 61, 62, + /* 1020 */ 365, 272, 442, 340, 58, 35, 340, 443, 373, 48, + /* 1030 */ 212, 447, 48, 378, 53, 380, 133, 71, 340, 58, + /* 1040 */ 270, 375, 356, 378, 378, 402, 462, 463, 340, 248, + /* 1050 */ 249, 467, 468, 378, 356, 99, 373, 100, 42, 373, + /* 1060 */ 44, 71, 333, 97, 356, 410, 44, 111, 250, 414, + /* 1070 */ 168, 373, 417, 418, 419, 420, 421, 422, 365, 424, + /* 1080 */ 99, 373, 365, 102, 429, 372, 431, 97, 249, 372, + /* 1090 */ 435, 436, 366, 332, 381, 138, 140, 332, 381, 143, /* 1100 */ 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, /* 1110 */ 154, 155, 156, 157, 158, 159, 340, 161, 162, 163, - /* 1120 */ 22, 168, 439, 440, 441, 44, 443, 444, 340, 249, - /* 1130 */ 358, 340, 356, 361, 44, 178, 179, 180, 378, 378, - /* 1140 */ 183, 332, 340, 378, 356, 130, 22, 356, 42, 373, - /* 1150 */ 44, 42, 186, 44, 188, 340, 332, 340, 356, 35, - /* 1160 */ 203, 373, 35, 206, 373, 208, 209, 210, 211, 212, - /* 1170 */ 332, 356, 332, 356, 365, 373, 186, 272, 188, 213, - /* 1180 */ 214, 471, 373, 104, 340, 64, 107, 378, 373, 380, - /* 1190 */ 373, 101, 226, 227, 228, 229, 230, 231, 232, 340, - /* 1200 */ 356, 22, 378, 213, 214, 365, 332, 250, 340, 340, - /* 1210 */ 332, 196, 197, 373, 35, 356, 378, 373, 378, 410, - /* 1220 */ 380, 97, 332, 414, 356, 356, 417, 418, 419, 420, - /* 1230 */ 421, 422, 373, 424, 104, 332, 332, 107, 429, 332, - /* 1240 */ 431, 373, 373, 251, 435, 436, 104, 188, 104, 107, - /* 1250 */ 410, 107, 378, 460, 414, 365, 378, 417, 418, 419, - /* 1260 */ 420, 421, 422, 373, 424, 44, 457, 0, 378, 429, - /* 1270 */ 380, 431, 365, 44, 342, 435, 436, 199, 44, 201, - /* 1280 */ 373, 378, 378, 454, 44, 378, 446, 380, 100, 22, - /* 1290 */ 136, 137, 365, 44, 342, 1, 2, 44, 110, 332, - /* 1300 */ 410, 44, 44, 47, 414, 44, 44, 417, 418, 419, - /* 1310 */ 420, 421, 422, 44, 424, 188, 388, 410, 339, 332, - /* 1320 */ 377, 414, 101, 44, 417, 418, 419, 420, 421, 422, - /* 1330 */ 101, 424, 365, 388, 213, 101, 429, 19, 431, 13, - /* 1340 */ 373, 101, 435, 436, 445, 378, 0, 380, 464, 459, - /* 1350 */ 101, 33, 365, 446, 101, 274, 100, 44, 101, 101, - /* 1360 */ 373, 35, 101, 101, 44, 378, 48, 380, 44, 44, - /* 1370 */ 101, 13, 54, 55, 56, 57, 58, 410, 437, 44, + /* 1120 */ 44, 168, 439, 440, 441, 22, 443, 444, 340, 388, + /* 1130 */ 375, 340, 356, 378, 366, 178, 179, 180, 35, 378, + /* 1140 */ 183, 332, 340, 378, 356, 332, 22, 356, 358, 373, + /* 1150 */ 366, 361, 186, 366, 188, 340, 20, 340, 356, 35, + /* 1160 */ 203, 373, 111, 206, 373, 208, 209, 210, 211, 212, + /* 1170 */ 332, 356, 332, 356, 365, 373, 186, 101, 188, 213, + /* 1180 */ 214, 42, 373, 44, 199, 44, 201, 378, 373, 380, + /* 1190 */ 373, 378, 226, 227, 228, 229, 230, 231, 232, 340, + /* 1200 */ 97, 340, 332, 213, 214, 365, 332, 250, 340, 104, + /* 1210 */ 332, 160, 107, 373, 13, 356, 378, 356, 378, 410, + /* 1220 */ 380, 97, 332, 414, 356, 0, 417, 418, 419, 420, + /* 1230 */ 421, 422, 373, 424, 373, 44, 35, 44, 429, 332, + /* 1240 */ 431, 373, 101, 64, 435, 436, 44, 22, 378, 251, + /* 1250 */ 410, 0, 378, 58, 414, 365, 378, 417, 418, 419, + /* 1260 */ 420, 421, 422, 373, 424, 44, 457, 96, 378, 429, + /* 1270 */ 380, 431, 365, 22, 35, 435, 436, 22, 104, 104, + /* 1280 */ 373, 107, 107, 136, 137, 378, 446, 380, 104, 44, + /* 1290 */ 35, 107, 101, 44, 101, 47, 274, 102, 44, 332, + /* 1300 */ 410, 44, 166, 101, 414, 44, 44, 417, 418, 419, + /* 1310 */ 420, 421, 422, 44, 424, 35, 354, 410, 35, 332, + /* 1320 */ 471, 414, 101, 44, 417, 418, 419, 420, 421, 422, + /* 1330 */ 342, 424, 365, 1, 2, 460, 429, 19, 431, 168, + /* 1340 */ 373, 454, 435, 436, 0, 378, 101, 380, 100, 459, + /* 1350 */ 101, 33, 365, 446, 71, 101, 13, 44, 101, 365, + /* 1360 */ 373, 13, 101, 101, 44, 378, 48, 380, 44, 44, + /* 1370 */ 101, 342, 54, 55, 56, 57, 58, 410, 35, 44, /* 1380 */ 101, 414, 44, 35, 417, 418, 419, 420, 421, 422, - /* 1390 */ 448, 424, 252, 35, 412, 49, 429, 410, 431, 48, - /* 1400 */ 411, 414, 435, 436, 417, 418, 419, 420, 421, 422, - /* 1410 */ 184, 424, 399, 446, 101, 42, 429, 99, 431, 71, - /* 1420 */ 102, 101, 435, 436, 385, 101, 101, 20, 332, 388, - /* 1430 */ 385, 165, 383, 446, 20, 33, 101, 340, 385, 101, - /* 1440 */ 340, 383, 98, 383, 350, 95, 94, 340, 332, 348, - /* 1450 */ 48, 349, 134, 340, 340, 340, 54, 55, 56, 57, - /* 1460 */ 58, 365, 20, 334, 20, 334, 405, 20, 346, 373, - /* 1470 */ 20, 380, 346, 341, 378, 20, 380, 341, 398, 346, - /* 1480 */ 346, 365, 52, 346, 346, 340, 343, 169, 365, 373, - /* 1490 */ 334, 343, 174, 346, 378, 340, 380, 378, 378, 334, - /* 1500 */ 365, 99, 202, 378, 102, 100, 410, 192, 190, 405, - /* 1510 */ 414, 193, 409, 417, 418, 419, 420, 421, 422, 407, - /* 1520 */ 424, 344, 332, 365, 365, 429, 410, 431, 365, 365, - /* 1530 */ 414, 435, 436, 417, 418, 419, 420, 421, 422, 365, - /* 1540 */ 424, 365, 446, 365, 191, 429, 332, 431, 365, 365, - /* 1550 */ 404, 435, 436, 403, 344, 365, 340, 388, 388, 378, - /* 1560 */ 380, 259, 258, 373, 453, 393, 393, 378, 378, 378, - /* 1570 */ 380, 169, 170, 378, 267, 177, 174, 269, 176, 365, - /* 1580 */ 268, 453, 253, 412, 273, 276, 249, 373, 271, 472, - /* 1590 */ 373, 452, 378, 20, 380, 193, 332, 456, 416, 340, - /* 1600 */ 410, 341, 453, 451, 414, 20, 455, 417, 418, 419, - /* 1610 */ 420, 421, 422, 332, 424, 344, 450, 344, 465, 429, - /* 1620 */ 393, 431, 391, 466, 410, 435, 436, 170, 414, 365, - /* 1630 */ 378, 417, 418, 419, 420, 421, 422, 373, 424, 393, - /* 1640 */ 390, 378, 378, 378, 380, 431, 365, 344, 378, 435, - /* 1650 */ 436, 361, 378, 378, 373, 373, 100, 434, 344, 378, - /* 1660 */ 100, 380, 369, 378, 36, 355, 344, 340, 335, 330, - /* 1670 */ 334, 394, 400, 332, 410, 359, 0, 345, 414, 0, - /* 1680 */ 394, 417, 418, 419, 420, 421, 422, 359, 424, 406, - /* 1690 */ 359, 410, 0, 332, 42, 414, 0, 35, 417, 418, - /* 1700 */ 419, 420, 421, 422, 207, 424, 365, 35, 35, 35, - /* 1710 */ 207, 0, 431, 35, 373, 35, 435, 436, 207, 378, - /* 1720 */ 0, 380, 207, 0, 35, 461, 365, 0, 22, 0, - /* 1730 */ 35, 194, 188, 186, 373, 0, 0, 0, 181, 378, - /* 1740 */ 182, 380, 0, 0, 47, 0, 0, 0, 0, 42, - /* 1750 */ 0, 410, 0, 0, 0, 414, 332, 0, 417, 418, - /* 1760 */ 419, 420, 421, 422, 0, 424, 0, 155, 35, 0, - /* 1770 */ 155, 410, 431, 0, 0, 414, 435, 436, 417, 418, - /* 1780 */ 419, 420, 421, 422, 22, 424, 0, 0, 0, 365, - /* 1790 */ 0, 0, 0, 0, 370, 0, 0, 373, 0, 0, - /* 1800 */ 0, 0, 378, 0, 380, 42, 0, 0, 0, 0, - /* 1810 */ 0, 0, 0, 0, 332, 0, 139, 0, 0, 22, - /* 1820 */ 96, 96, 0, 58, 22, 0, 58, 0, 58, 35, - /* 1830 */ 0, 470, 0, 44, 410, 14, 0, 14, 414, 332, + /* 1390 */ 388, 424, 213, 49, 339, 377, 429, 410, 431, 388, + /* 1400 */ 445, 414, 435, 436, 417, 418, 419, 420, 421, 422, + /* 1410 */ 437, 424, 464, 446, 101, 252, 429, 99, 431, 448, + /* 1420 */ 102, 101, 435, 436, 412, 101, 101, 188, 332, 48, + /* 1430 */ 411, 184, 399, 446, 42, 33, 101, 385, 20, 101, + /* 1440 */ 165, 388, 385, 383, 340, 20, 340, 385, 332, 383, + /* 1450 */ 48, 383, 134, 98, 95, 340, 54, 55, 56, 57, + /* 1460 */ 58, 365, 350, 349, 94, 348, 340, 340, 188, 373, + /* 1470 */ 340, 20, 334, 20, 378, 405, 380, 334, 346, 20, + /* 1480 */ 380, 365, 20, 346, 20, 341, 398, 169, 346, 373, + /* 1490 */ 341, 346, 174, 340, 378, 52, 380, 346, 346, 343, + /* 1500 */ 346, 99, 343, 334, 102, 365, 410, 340, 190, 378, + /* 1510 */ 414, 193, 378, 417, 418, 419, 420, 421, 422, 202, + /* 1520 */ 424, 334, 332, 365, 378, 429, 410, 431, 409, 365, + /* 1530 */ 414, 435, 436, 417, 418, 419, 420, 421, 422, 100, + /* 1540 */ 424, 365, 446, 365, 344, 429, 332, 431, 365, 192, + /* 1550 */ 365, 435, 436, 365, 365, 365, 191, 365, 340, 365, + /* 1560 */ 380, 404, 407, 373, 403, 405, 344, 259, 378, 388, + /* 1570 */ 380, 169, 170, 453, 388, 378, 174, 258, 176, 365, + /* 1580 */ 177, 378, 453, 378, 378, 269, 453, 373, 267, 393, + /* 1590 */ 455, 393, 378, 253, 380, 193, 332, 268, 276, 451, + /* 1600 */ 410, 273, 271, 249, 414, 373, 456, 417, 418, 419, + /* 1610 */ 420, 421, 422, 332, 424, 20, 450, 452, 340, 429, + /* 1620 */ 412, 431, 20, 416, 410, 435, 436, 465, 414, 365, + /* 1630 */ 341, 417, 418, 419, 420, 421, 422, 373, 424, 466, + /* 1640 */ 472, 344, 378, 344, 380, 431, 365, 391, 378, 435, + /* 1650 */ 436, 393, 378, 393, 373, 378, 170, 390, 344, 378, + /* 1660 */ 378, 380, 378, 378, 361, 373, 100, 344, 434, 100, + /* 1670 */ 369, 378, 36, 332, 410, 345, 340, 344, 414, 406, + /* 1680 */ 335, 417, 418, 419, 420, 421, 422, 334, 424, 355, + /* 1690 */ 400, 410, 394, 332, 394, 414, 359, 330, 417, 418, + /* 1700 */ 419, 420, 421, 422, 0, 424, 365, 0, 359, 359, + /* 1710 */ 0, 42, 431, 0, 373, 35, 435, 436, 207, 378, + /* 1720 */ 35, 380, 35, 35, 207, 461, 365, 0, 35, 35, + /* 1730 */ 207, 0, 207, 0, 373, 35, 0, 22, 0, 378, + /* 1740 */ 35, 380, 194, 188, 186, 0, 0, 0, 0, 182, + /* 1750 */ 0, 410, 181, 47, 0, 414, 332, 0, 417, 418, + /* 1760 */ 419, 420, 421, 422, 0, 424, 42, 0, 0, 0, + /* 1770 */ 0, 410, 431, 0, 0, 414, 435, 436, 417, 418, + /* 1780 */ 419, 420, 421, 422, 155, 424, 0, 0, 35, 365, + /* 1790 */ 0, 0, 155, 0, 370, 0, 0, 373, 0, 0, + /* 1800 */ 0, 0, 378, 0, 380, 0, 0, 0, 0, 0, + /* 1810 */ 0, 0, 0, 42, 332, 0, 0, 0, 0, 0, + /* 1820 */ 0, 0, 0, 139, 22, 0, 0, 0, 96, 35, + /* 1830 */ 96, 470, 0, 58, 410, 22, 22, 58, 414, 332, /* 1840 */ 0, 417, 418, 419, 420, 421, 422, 365, 424, 0, - /* 1850 */ 0, 47, 47, 0, 0, 373, 42, 0, 39, 39, - /* 1860 */ 378, 177, 380, 47, 40, 39, 0, 0, 35, 0, - /* 1870 */ 35, 0, 365, 39, 35, 0, 39, 370, 0, 48, - /* 1880 */ 373, 35, 39, 39, 0, 378, 48, 380, 0, 48, - /* 1890 */ 0, 109, 410, 65, 35, 48, 414, 0, 22, 417, - /* 1900 */ 418, 419, 420, 421, 422, 35, 424, 35, 426, 35, - /* 1910 */ 0, 22, 332, 0, 35, 35, 35, 410, 35, 0, - /* 1920 */ 35, 414, 22, 22, 417, 418, 419, 420, 421, 422, - /* 1930 */ 44, 424, 50, 332, 22, 44, 107, 35, 0, 35, - /* 1940 */ 0, 35, 0, 22, 20, 365, 35, 0, 100, 35, - /* 1950 */ 370, 35, 101, 373, 22, 100, 0, 22, 378, 0, - /* 1960 */ 380, 35, 332, 0, 189, 3, 365, 44, 254, 101, - /* 1970 */ 254, 44, 44, 100, 373, 44, 47, 100, 44, 378, - /* 1980 */ 3, 380, 254, 332, 47, 98, 35, 44, 96, 96, - /* 1990 */ 410, 95, 35, 35, 414, 365, 101, 417, 418, 419, - /* 2000 */ 420, 421, 422, 373, 424, 35, 101, 100, 378, 100, - /* 2010 */ 380, 410, 47, 168, 35, 414, 365, 100, 417, 418, - /* 2020 */ 419, 420, 421, 422, 373, 424, 168, 175, 35, 378, - /* 2030 */ 170, 380, 168, 332, 101, 44, 100, 47, 0, 0, - /* 2040 */ 410, 0, 101, 0, 414, 101, 101, 417, 418, 419, - /* 2050 */ 420, 421, 422, 101, 424, 100, 39, 47, 332, 39, - /* 2060 */ 100, 410, 101, 0, 100, 414, 365, 101, 417, 418, - /* 2070 */ 419, 420, 421, 422, 373, 424, 100, 169, 100, 378, - /* 2080 */ 47, 380, 100, 110, 44, 98, 171, 98, 2, 22, - /* 2090 */ 22, 365, 100, 332, 47, 101, 101, 100, 235, 373, - /* 2100 */ 100, 47, 101, 100, 378, 100, 380, 213, 101, 100, - /* 2110 */ 248, 410, 101, 215, 35, 414, 332, 111, 417, 418, - /* 2120 */ 419, 420, 421, 422, 35, 424, 365, 100, 35, 101, - /* 2130 */ 100, 35, 101, 101, 373, 100, 410, 35, 101, 378, - /* 2140 */ 414, 380, 100, 417, 418, 419, 420, 421, 422, 365, - /* 2150 */ 424, 35, 100, 22, 44, 100, 100, 373, 35, 123, - /* 2160 */ 112, 100, 378, 22, 380, 65, 71, 123, 123, 123, - /* 2170 */ 64, 410, 35, 35, 332, 414, 93, 35, 417, 418, - /* 2180 */ 419, 420, 421, 422, 35, 424, 35, 35, 35, 35, - /* 2190 */ 35, 35, 44, 332, 410, 35, 35, 35, 414, 22, - /* 2200 */ 35, 417, 418, 419, 420, 421, 422, 365, 424, 35, - /* 2210 */ 71, 35, 22, 35, 35, 373, 35, 35, 35, 35, - /* 2220 */ 378, 0, 380, 35, 39, 0, 365, 35, 48, 0, - /* 2230 */ 39, 35, 39, 0, 373, 48, 35, 48, 39, 378, - /* 2240 */ 0, 380, 48, 35, 35, 0, 22, 21, 473, 22, - /* 2250 */ 22, 21, 410, 473, 332, 473, 414, 20, 473, 417, - /* 2260 */ 418, 419, 420, 421, 422, 473, 424, 473, 473, 473, - /* 2270 */ 473, 410, 473, 473, 473, 414, 473, 473, 417, 418, + /* 1850 */ 58, 0, 14, 14, 0, 373, 0, 0, 0, 177, + /* 1860 */ 378, 109, 380, 39, 0, 42, 0, 0, 0, 65, + /* 1870 */ 40, 0, 365, 44, 39, 47, 39, 370, 47, 35, + /* 1880 */ 373, 47, 39, 0, 48, 378, 39, 380, 35, 48, + /* 1890 */ 0, 39, 410, 48, 35, 0, 414, 0, 35, 417, + /* 1900 */ 418, 419, 420, 421, 422, 0, 424, 0, 426, 39, + /* 1910 */ 0, 35, 332, 48, 22, 0, 35, 410, 44, 35, + /* 1920 */ 35, 414, 35, 35, 417, 418, 419, 420, 421, 422, + /* 1930 */ 44, 424, 0, 332, 35, 35, 35, 35, 22, 35, + /* 1940 */ 107, 22, 0, 22, 50, 365, 0, 22, 35, 0, + /* 1950 */ 370, 0, 35, 373, 0, 35, 22, 20, 378, 35, + /* 1960 */ 380, 35, 332, 35, 0, 168, 365, 22, 35, 0, + /* 1970 */ 101, 189, 100, 100, 373, 22, 0, 0, 3, 378, + /* 1980 */ 44, 380, 254, 332, 44, 44, 47, 44, 44, 100, + /* 1990 */ 410, 95, 101, 100, 414, 365, 98, 417, 418, 419, + /* 2000 */ 420, 421, 422, 373, 424, 96, 100, 96, 378, 101, + /* 2010 */ 380, 410, 47, 101, 168, 414, 365, 254, 417, 418, + /* 2020 */ 419, 420, 421, 422, 373, 424, 3, 100, 44, 378, + /* 2030 */ 170, 380, 101, 332, 254, 100, 35, 175, 100, 35, + /* 2040 */ 410, 35, 35, 168, 414, 35, 35, 417, 418, 419, + /* 2050 */ 420, 421, 422, 101, 424, 47, 101, 101, 332, 101, + /* 2060 */ 44, 410, 47, 0, 0, 414, 365, 0, 417, 418, + /* 2070 */ 419, 420, 421, 422, 373, 424, 0, 39, 100, 378, + /* 2080 */ 47, 380, 100, 0, 101, 171, 101, 100, 100, 100, + /* 2090 */ 39, 365, 169, 332, 100, 47, 248, 44, 98, 373, + /* 2100 */ 110, 98, 2, 22, 378, 100, 380, 47, 47, 22, + /* 2110 */ 101, 410, 235, 100, 100, 414, 332, 100, 417, 418, + /* 2120 */ 419, 420, 421, 422, 100, 424, 365, 101, 101, 101, + /* 2130 */ 100, 213, 111, 101, 373, 100, 410, 35, 35, 378, + /* 2140 */ 414, 380, 101, 417, 418, 419, 420, 421, 422, 365, + /* 2150 */ 424, 35, 100, 35, 35, 101, 100, 373, 101, 101, + /* 2160 */ 35, 22, 378, 215, 380, 100, 100, 123, 123, 123, + /* 2170 */ 123, 410, 44, 100, 332, 414, 35, 100, 417, 418, + /* 2180 */ 419, 420, 421, 422, 112, 424, 100, 22, 65, 35, + /* 2190 */ 64, 35, 35, 332, 410, 35, 35, 35, 414, 35, + /* 2200 */ 71, 417, 418, 419, 420, 421, 422, 365, 424, 35, + /* 2210 */ 93, 35, 35, 44, 35, 373, 35, 35, 22, 35, + /* 2220 */ 378, 35, 380, 35, 71, 35, 365, 35, 35, 35, + /* 2230 */ 35, 22, 35, 0, 373, 35, 0, 48, 39, 378, + /* 2240 */ 35, 380, 39, 0, 0, 35, 48, 39, 35, 48, + /* 2250 */ 48, 39, 410, 0, 332, 35, 414, 35, 0, 417, + /* 2260 */ 418, 419, 420, 421, 422, 473, 424, 22, 21, 20, + /* 2270 */ 22, 410, 22, 21, 473, 414, 473, 473, 417, 418, /* 2280 */ 419, 420, 421, 422, 473, 424, 473, 365, 473, 473, /* 2290 */ 473, 473, 473, 473, 473, 373, 473, 473, 473, 473, /* 2300 */ 378, 473, 380, 473, 473, 473, 473, 473, 473, 473, @@ -789,86 +789,86 @@ static const YYCODETYPE yy_lookahead[] = { /* 2820 */ 473, 473, 414, 473, 473, 417, 418, 419, 420, 421, /* 2830 */ 422, 473, 424, }; -#define YY_SHIFT_COUNT (753) +#define YY_SHIFT_COUNT (757) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2245) +#define YY_SHIFT_MAX (2258) static const unsigned short int yy_shift_ofst[] = { /* 0 */ 957, 0, 98, 0, 321, 321, 321, 321, 321, 321, /* 10 */ 321, 321, 321, 321, 321, 419, 641, 641, 739, 641, /* 20 */ 641, 641, 641, 641, 641, 641, 641, 641, 641, 641, /* 30 */ 641, 641, 641, 641, 641, 641, 641, 641, 641, 641, - /* 40 */ 641, 641, 641, 641, 641, 641, 641, 641, 141, 328, - /* 50 */ 818, 68, 97, 103, 469, 103, 68, 68, 966, 966, - /* 60 */ 966, 103, 966, 966, 94, 103, 4, 653, 24, 24, - /* 70 */ 653, 292, 292, 319, 425, 186, 186, 24, 24, 24, + /* 40 */ 641, 641, 641, 641, 641, 641, 641, 641, 141, 469, + /* 50 */ 818, 68, 97, 504, 556, 504, 68, 68, 966, 966, + /* 60 */ 966, 504, 966, 966, 94, 504, 4, 653, 24, 24, + /* 70 */ 653, 292, 292, 319, 425, 191, 191, 24, 24, 24, /* 80 */ 24, 24, 24, 24, 138, 24, 24, 124, 4, 24, /* 90 */ 24, 243, 24, 4, 24, 138, 24, 138, 4, 24, - /* 100 */ 24, 4, 24, 4, 4, 4, 24, 232, 956, 285, + /* 100 */ 24, 4, 24, 4, 4, 4, 24, 205, 956, 285, /* 110 */ 285, 117, 251, 990, 990, 990, 990, 990, 990, 990, /* 120 */ 990, 990, 990, 990, 990, 990, 990, 990, 990, 990, - /* 130 */ 990, 990, 679, 603, 319, 425, 239, 674, 674, 674, - /* 140 */ 36, 395, 395, 239, 410, 410, 410, 124, 351, 242, - /* 150 */ 4, 489, 4, 489, 489, 493, 506, 245, 245, 245, + /* 130 */ 990, 990, 679, 603, 319, 425, 239, 763, 763, 763, + /* 140 */ 36, 194, 194, 239, 275, 275, 275, 124, 242, 164, + /* 150 */ 4, 391, 4, 391, 391, 365, 442, 245, 245, 245, /* 160 */ 245, 245, 245, 245, 245, 1318, 491, 375, 400, 673, - /* 170 */ 502, 112, 95, 919, 922, 29, 786, 898, 929, 953, - /* 180 */ 796, 880, 745, 796, 1106, 992, 887, 1140, 1351, 1226, - /* 190 */ 1373, 1407, 1373, 1266, 1414, 1414, 1373, 1266, 1266, 1344, - /* 200 */ 1350, 1414, 1352, 1414, 1414, 1414, 1442, 1442, 1444, 124, - /* 210 */ 1447, 124, 1450, 1455, 124, 1450, 124, 124, 124, 1414, - /* 220 */ 124, 1430, 1430, 1442, 4, 4, 4, 4, 4, 4, - /* 230 */ 4, 4, 4, 4, 4, 1414, 1442, 489, 489, 489, - /* 240 */ 1300, 1405, 1444, 232, 1315, 1353, 1447, 232, 1414, 1407, - /* 250 */ 1407, 489, 1302, 1304, 489, 1302, 1304, 489, 489, 4, - /* 260 */ 1307, 1398, 1302, 1308, 1312, 1329, 1140, 1309, 1311, 1317, - /* 270 */ 1337, 410, 1573, 1414, 1450, 232, 232, 1585, 1304, 489, - /* 280 */ 489, 489, 489, 489, 1304, 489, 1457, 232, 493, 232, - /* 290 */ 410, 1556, 1560, 489, 506, 1414, 232, 1628, 1442, 2833, + /* 170 */ 502, 112, 95, 778, 824, 29, 902, 946, 903, 953, + /* 180 */ 801, 839, 770, 801, 1016, 998, 1136, 1163, 1381, 1247, + /* 190 */ 1392, 1418, 1392, 1275, 1425, 1425, 1392, 1275, 1275, 1355, + /* 200 */ 1359, 1425, 1370, 1425, 1425, 1425, 1451, 1451, 1453, 124, + /* 210 */ 1459, 124, 1462, 1464, 124, 1462, 124, 124, 124, 1425, + /* 220 */ 124, 1443, 1443, 1451, 4, 4, 4, 4, 4, 4, + /* 230 */ 4, 4, 4, 4, 4, 1425, 1451, 391, 391, 391, + /* 240 */ 1317, 1439, 1453, 205, 1357, 1365, 1459, 205, 1425, 1418, + /* 250 */ 1418, 391, 1308, 1319, 391, 1308, 1319, 391, 391, 4, + /* 260 */ 1321, 1403, 1308, 1316, 1329, 1340, 1163, 1322, 1328, 1331, + /* 270 */ 1354, 275, 1595, 1425, 1462, 205, 205, 1602, 1319, 391, + /* 280 */ 391, 391, 391, 391, 1319, 391, 1486, 205, 365, 205, + /* 290 */ 275, 1566, 1569, 391, 442, 1425, 205, 1636, 1451, 2833, /* 300 */ 2833, 2833, 2833, 2833, 2833, 2833, 2833, 2833, 170, 1402, /* 310 */ 473, 981, 166, 466, 808, 157, 374, 587, 602, 597, - /* 320 */ 196, 196, 196, 196, 196, 196, 196, 196, 196, 173, - /* 330 */ 320, 26, 26, 342, 736, 624, 795, 900, 1124, 591, - /* 340 */ 1015, 305, 305, 976, 592, 108, 976, 976, 976, 834, - /* 350 */ 977, 1179, 1109, 17, 336, 1079, 1130, 1142, 1144, 696, - /* 360 */ 1098, 1267, 1078, 1090, 1221, 598, 1229, 1234, 1240, 1154, - /* 370 */ 905, 1081, 172, 1249, 1253, 1257, 1258, 1261, 1262, 1294, - /* 380 */ 1269, 1059, 1127, 1121, 1279, 1256, 1313, 1320, 1324, 1325, - /* 390 */ 1335, 1338, 1188, 1326, 1358, 1348, 1346, 1676, 1679, 1692, - /* 400 */ 1652, 1696, 1662, 1497, 1672, 1673, 1674, 1503, 1711, 1678, - /* 410 */ 1680, 1511, 1720, 1515, 1723, 1689, 1727, 1706, 1729, 1695, - /* 420 */ 1537, 1544, 1547, 1735, 1736, 1737, 1558, 1557, 1742, 1743, - /* 430 */ 1697, 1745, 1746, 1747, 1707, 1748, 1750, 1752, 1753, 1754, - /* 440 */ 1757, 1764, 1766, 1612, 1733, 1769, 1615, 1773, 1774, 1786, - /* 450 */ 1787, 1788, 1790, 1791, 1792, 1793, 1795, 1796, 1798, 1799, - /* 460 */ 1800, 1801, 1803, 1763, 1806, 1807, 1808, 1809, 1810, 1811, - /* 470 */ 1762, 1812, 1813, 1815, 1677, 1817, 1818, 1797, 1724, 1802, - /* 480 */ 1725, 1822, 1765, 1794, 1825, 1768, 1827, 1770, 1830, 1832, - /* 490 */ 1814, 1819, 1789, 1804, 1821, 1805, 1823, 1816, 1836, 1824, - /* 500 */ 1820, 1840, 1849, 1850, 1826, 1684, 1853, 1854, 1857, 1828, - /* 510 */ 1866, 1867, 1833, 1831, 1834, 1869, 1835, 1838, 1837, 1871, - /* 520 */ 1839, 1841, 1843, 1875, 1846, 1847, 1844, 1878, 1884, 1888, - /* 530 */ 1890, 1782, 1829, 1859, 1876, 1897, 1870, 1872, 1874, 1879, - /* 540 */ 1880, 1886, 1891, 1881, 1883, 1889, 1885, 1910, 1900, 1913, - /* 550 */ 1901, 1882, 1919, 1912, 1902, 1938, 1904, 1940, 1906, 1942, - /* 560 */ 1921, 1924, 1911, 1914, 1916, 1851, 1848, 1947, 1845, 1855, - /* 570 */ 1926, 1932, 1956, 1775, 1935, 1858, 1860, 1959, 1963, 1864, - /* 580 */ 1852, 1962, 1923, 1714, 1873, 1868, 1877, 1892, 1887, 1893, - /* 590 */ 1896, 1895, 1927, 1928, 1905, 1907, 1909, 1917, 1933, 1931, - /* 600 */ 1929, 1937, 1936, 1934, 1716, 1941, 1944, 1977, 1943, 1728, - /* 610 */ 1951, 1957, 1958, 1970, 1979, 1993, 1945, 1952, 1965, 1862, - /* 620 */ 1991, 1990, 2038, 2039, 2041, 2043, 1955, 2017, 1804, 2010, - /* 630 */ 1960, 1961, 1966, 1964, 1976, 1915, 1978, 2063, 2020, 1908, - /* 640 */ 1982, 1973, 1804, 2033, 2040, 1987, 1863, 1989, 2086, 2067, - /* 650 */ 1894, 1992, 1994, 1997, 1995, 2000, 2001, 2047, 2003, 2005, - /* 660 */ 2054, 2007, 2068, 1898, 2009, 2006, 2011, 2079, 2089, 2027, - /* 670 */ 2028, 2093, 2030, 2031, 2096, 2035, 2032, 2102, 2042, 2037, - /* 680 */ 2116, 2052, 2036, 2044, 2045, 2046, 2131, 2048, 2055, 2110, - /* 690 */ 2056, 2123, 2061, 2110, 2110, 2141, 2100, 2106, 2137, 2138, - /* 700 */ 2142, 2149, 2151, 2152, 2153, 2154, 2155, 2156, 2095, 2083, - /* 710 */ 2148, 2160, 2161, 2162, 2177, 2165, 2174, 2176, 2139, 1886, - /* 720 */ 2178, 1891, 2179, 2181, 2182, 2183, 2190, 2184, 2221, 2188, - /* 730 */ 2180, 2185, 2225, 2192, 2187, 2191, 2229, 2196, 2189, 2193, - /* 740 */ 2233, 2201, 2194, 2199, 2240, 2208, 2209, 2245, 2224, 2226, - /* 750 */ 2227, 2228, 2230, 2237, + /* 320 */ 926, 926, 926, 926, 926, 926, 926, 926, 926, 173, + /* 330 */ 320, 26, 26, 342, 532, 536, 113, 1103, 1124, 775, + /* 340 */ 497, 305, 305, 827, 607, 108, 827, 827, 827, 984, + /* 350 */ 1076, 1255, 1139, 1051, 336, 1105, 1174, 1175, 1184, 919, + /* 360 */ 1201, 696, 1225, 1251, 985, 1141, 1191, 1195, 1193, 1202, + /* 370 */ 1221, 1147, 749, 1022, 1171, 1245, 1249, 1254, 1257, 1261, + /* 380 */ 1262, 1332, 1269, 1239, 1280, 1179, 1279, 1248, 1313, 1320, + /* 390 */ 1324, 1325, 1335, 1338, 718, 1343, 1348, 1283, 1344, 1704, + /* 400 */ 1707, 1710, 1669, 1713, 1680, 1511, 1685, 1687, 1688, 1517, + /* 410 */ 1727, 1693, 1694, 1523, 1731, 1525, 1733, 1700, 1736, 1715, + /* 420 */ 1738, 1705, 1548, 1555, 1558, 1745, 1746, 1747, 1567, 1571, + /* 430 */ 1748, 1750, 1706, 1754, 1757, 1764, 1724, 1767, 1768, 1769, + /* 440 */ 1770, 1773, 1774, 1786, 1787, 1629, 1753, 1790, 1637, 1791, + /* 450 */ 1793, 1795, 1796, 1798, 1799, 1800, 1801, 1803, 1805, 1806, + /* 460 */ 1807, 1808, 1809, 1810, 1811, 1771, 1812, 1815, 1816, 1817, + /* 470 */ 1818, 1819, 1802, 1820, 1821, 1822, 1684, 1825, 1826, 1813, + /* 480 */ 1732, 1814, 1734, 1827, 1775, 1794, 1832, 1779, 1840, 1792, + /* 490 */ 1849, 1851, 1823, 1824, 1829, 1828, 1838, 1831, 1839, 1834, + /* 500 */ 1854, 1830, 1835, 1856, 1857, 1858, 1837, 1682, 1864, 1866, + /* 510 */ 1867, 1804, 1868, 1871, 1844, 1836, 1843, 1883, 1853, 1841, + /* 520 */ 1847, 1890, 1859, 1845, 1852, 1895, 1863, 1865, 1870, 1897, + /* 530 */ 1905, 1907, 1910, 1752, 1833, 1876, 1892, 1915, 1881, 1884, + /* 540 */ 1885, 1887, 1888, 1899, 1900, 1874, 1886, 1901, 1902, 1916, + /* 550 */ 1904, 1932, 1919, 1942, 1921, 1894, 1946, 1925, 1913, 1949, + /* 560 */ 1917, 1951, 1920, 1954, 1934, 1937, 1924, 1926, 1928, 1869, + /* 570 */ 1872, 1964, 1797, 1873, 1933, 1945, 1969, 1782, 1953, 1846, + /* 580 */ 1860, 1976, 1977, 1875, 1862, 1975, 1936, 1728, 1889, 1891, + /* 590 */ 1893, 1909, 1898, 1911, 1896, 1908, 1940, 1941, 1912, 1906, + /* 600 */ 1927, 1935, 1931, 1943, 1939, 1965, 1938, 1944, 1763, 1952, + /* 610 */ 1955, 2023, 1984, 1780, 2001, 2004, 2006, 2007, 2010, 2011, + /* 620 */ 1956, 1958, 2008, 1848, 2016, 2015, 2063, 2064, 2067, 2076, + /* 630 */ 1978, 2038, 1828, 2033, 1982, 1983, 1985, 1987, 1988, 1914, + /* 640 */ 1989, 2083, 2051, 1923, 1994, 1990, 1828, 2048, 2053, 2000, + /* 650 */ 1877, 2003, 2100, 2081, 1918, 2005, 2009, 2013, 2026, 2014, + /* 660 */ 2027, 2060, 2017, 2024, 2061, 2028, 2087, 1948, 2030, 2021, + /* 670 */ 2032, 2102, 2103, 2035, 2041, 2116, 2052, 2054, 2118, 2056, + /* 680 */ 2057, 2119, 2065, 2058, 2125, 2066, 2044, 2045, 2046, 2047, + /* 690 */ 2139, 2072, 2073, 2128, 2077, 2141, 2086, 2128, 2128, 2165, + /* 700 */ 2123, 2126, 2154, 2156, 2157, 2160, 2161, 2162, 2164, 2174, + /* 710 */ 2176, 2177, 2129, 2117, 2169, 2179, 2181, 2182, 2196, 2184, + /* 720 */ 2186, 2188, 2153, 1874, 2190, 1886, 2192, 2193, 2194, 2195, + /* 730 */ 2209, 2197, 2233, 2200, 2189, 2199, 2236, 2205, 2198, 2203, + /* 740 */ 2243, 2210, 2201, 2208, 2244, 2213, 2202, 2212, 2253, 2220, + /* 750 */ 2222, 2258, 2245, 2247, 2248, 2250, 2252, 2249, }; #define YY_REDUCE_COUNT (307) #define YY_REDUCE_MIN (-442) @@ -880,109 +880,109 @@ static const short yy_reduce_ofst[] = { /* 30 */ 1726, 1761, 1784, 1842, 1861, 1922, 1980, 1996, 2059, 2075, /* 40 */ 2094, 2158, 2175, 2235, 2255, 2329, 2346, 2408, -317, -303, /* 50 */ 120, 282, 313, 453, 483, 584, 361, 683, -367, -348, - /* 60 */ -272, 461, 206, 293, -442, -384, 72, -364, -286, 475, - /* 70 */ -378, -330, 59, 327, -241, 155, 171, 324, 384, 413, - /* 80 */ 479, 637, 686, 698, -287, 708, 776, 22, 330, 788, - /* 90 */ 791, -358, 802, 465, 815, 70, 817, 452, 60, 844, - /* 100 */ 859, 518, 868, 536, 566, 675, 869, 230, -297, -284, - /* 110 */ -284, -344, -259, -207, 201, 359, 376, 418, 471, 501, - /* 120 */ 524, 704, 711, 760, 761, 765, 824, 838, 874, 878, - /* 130 */ 903, 904, -188, -387, -172, 192, 257, -387, 367, 402, - /* 140 */ 145, 504, 554, 562, -71, -27, 65, 288, -327, 306, - /* 150 */ 648, 380, 685, 517, 633, 772, 705, 407, 427, 432, - /* 160 */ 445, 462, 512, 571, 462, 134, 716, 669, 619, 710, - /* 170 */ 793, 932, 829, 927, 927, 952, 928, 979, 943, 945, - /* 180 */ 899, 899, 884, 899, 941, 942, 927, 982, 989, 1013, - /* 190 */ 1039, 1041, 1045, 1049, 1097, 1100, 1053, 1058, 1060, 1094, - /* 200 */ 1102, 1107, 1101, 1113, 1114, 1115, 1129, 1131, 1061, 1122, - /* 210 */ 1091, 1126, 1132, 1080, 1133, 1136, 1134, 1137, 1138, 1145, - /* 220 */ 1147, 1143, 1148, 1156, 1123, 1135, 1158, 1159, 1163, 1164, - /* 230 */ 1174, 1176, 1178, 1183, 1184, 1155, 1165, 1119, 1120, 1125, - /* 240 */ 1103, 1112, 1104, 1177, 1146, 1150, 1180, 1210, 1216, 1169, - /* 250 */ 1170, 1181, 1111, 1172, 1189, 1128, 1173, 1191, 1195, 927, - /* 260 */ 1141, 1151, 1149, 1139, 1152, 1166, 1171, 1117, 1157, 1153, - /* 270 */ 899, 1217, 1182, 1259, 1260, 1271, 1273, 1231, 1227, 1252, - /* 280 */ 1263, 1265, 1270, 1274, 1246, 1275, 1250, 1303, 1290, 1314, - /* 290 */ 1282, 1223, 1293, 1285, 1310, 1327, 1322, 1333, 1336, 1272, - /* 300 */ 1283, 1277, 1286, 1316, 1328, 1331, 1332, 1339, + /* 60 */ -272, 461, 293, 523, -442, -384, 72, -364, -286, -163, + /* 70 */ -378, -330, -130, 207, -241, 155, 171, 324, 384, 413, + /* 80 */ 475, 479, 637, 686, -287, 698, 708, 22, 330, 776, + /* 90 */ 788, -358, 791, 465, 802, 6, 815, 70, -17, 817, + /* 100 */ 859, 713, 861, 60, 717, 255, 868, 230, -297, -284, + /* 110 */ -284, -344, -259, 201, 241, 252, 401, 456, 471, 501, + /* 120 */ 521, 524, 565, 665, 675, 761, 765, 813, 838, 870, + /* 130 */ 874, 878, -188, -387, 327, 503, 273, -387, 566, 580, + /* 140 */ 549, 464, 583, 562, -71, 65, 187, 288, -327, -302, + /* 150 */ 545, 380, 568, 666, 755, 790, 395, 265, 529, 541, + /* 160 */ 726, 768, 784, 787, 768, 643, 962, 729, 741, 849, + /* 170 */ 875, 988, 887, 994, 994, 1029, 1002, 1055, 1018, 1011, + /* 180 */ 955, 955, 948, 955, 973, 971, 994, 1012, 1019, 1033, + /* 190 */ 1052, 1053, 1057, 1060, 1104, 1106, 1062, 1066, 1068, 1112, + /* 200 */ 1114, 1115, 1117, 1126, 1127, 1130, 1138, 1143, 1070, 1132, + /* 210 */ 1100, 1137, 1144, 1088, 1142, 1149, 1145, 1151, 1152, 1153, + /* 220 */ 1154, 1156, 1159, 1169, 1140, 1158, 1164, 1176, 1178, 1183, + /* 230 */ 1185, 1188, 1189, 1192, 1194, 1167, 1187, 1131, 1134, 1146, + /* 240 */ 1119, 1155, 1160, 1200, 1157, 1161, 1180, 1222, 1218, 1181, + /* 250 */ 1186, 1197, 1120, 1196, 1203, 1129, 1198, 1205, 1206, 994, + /* 260 */ 1150, 1135, 1133, 1165, 1148, 1166, 1208, 1168, 1173, 1162, + /* 270 */ 955, 1232, 1207, 1278, 1289, 1297, 1299, 1256, 1258, 1270, + /* 280 */ 1274, 1277, 1282, 1284, 1260, 1285, 1267, 1314, 1303, 1323, + /* 290 */ 1292, 1234, 1301, 1293, 1334, 1336, 1333, 1345, 1353, 1290, + /* 300 */ 1273, 1298, 1300, 1337, 1349, 1350, 1330, 1367, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 10 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 20 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 30 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 40 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 50 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 60 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 70 */ 1695, 1695, 1695, 1962, 1695, 1695, 1695, 1695, 1695, 1695, - /* 80 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1774, 1695, 1695, - /* 90 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 100 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1772, 1955, 2173, - /* 110 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 120 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 130 */ 1695, 1695, 1695, 2185, 1695, 1695, 1695, 2185, 2185, 2185, - /* 140 */ 1772, 2145, 2145, 1695, 1695, 1695, 1695, 1774, 2018, 1695, - /* 150 */ 1695, 1695, 1695, 1695, 1695, 1890, 1695, 1695, 1695, 1695, - /* 160 */ 1695, 1914, 1695, 1695, 1695, 2008, 1695, 1695, 2210, 2266, - /* 170 */ 1695, 1695, 2213, 1695, 1695, 1695, 1967, 1695, 1843, 2200, - /* 180 */ 2177, 2191, 2250, 2178, 2175, 2194, 1695, 2204, 1695, 2001, - /* 190 */ 1960, 1695, 1960, 1957, 1695, 1695, 1960, 1957, 1957, 1832, - /* 200 */ 1828, 1695, 1826, 1695, 1695, 1695, 1695, 1695, 1695, 1774, - /* 210 */ 1695, 1774, 1695, 1695, 1774, 1695, 1774, 1774, 1774, 1695, - /* 220 */ 1774, 1752, 1752, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 230 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 240 */ 2030, 2016, 1695, 1772, 2012, 2010, 1695, 1772, 1695, 1695, - /* 250 */ 1695, 1695, 2221, 2219, 1695, 2221, 2219, 1695, 1695, 1695, - /* 260 */ 2235, 2231, 2221, 2239, 2237, 2206, 2204, 2269, 2256, 2252, - /* 270 */ 2191, 1695, 1695, 1695, 1695, 1772, 1772, 1695, 2219, 1695, - /* 280 */ 1695, 1695, 1695, 1695, 2219, 1695, 1695, 1772, 1695, 1772, - /* 290 */ 1695, 1695, 1859, 1695, 1695, 1695, 1772, 1727, 1695, 2003, - /* 300 */ 2021, 1985, 1985, 1893, 1893, 1893, 1775, 1700, 1695, 1695, - /* 310 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 320 */ 2234, 2233, 2100, 1695, 2149, 2148, 2147, 2138, 2099, 1855, - /* 330 */ 1695, 2098, 2097, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 340 */ 1695, 1976, 1975, 2091, 1695, 1695, 2092, 2090, 2089, 1695, - /* 350 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 360 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 370 */ 2253, 2257, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 2174, - /* 380 */ 1695, 1695, 1695, 1695, 1695, 2073, 1695, 1695, 1695, 1695, - /* 390 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 400 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 410 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 420 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 430 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 440 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 450 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 460 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 470 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 480 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 490 */ 1695, 1695, 1732, 2078, 1695, 1695, 1695, 1695, 1695, 1695, - /* 500 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 510 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 520 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 530 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 540 */ 1695, 1813, 1812, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 550 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 560 */ 1695, 1695, 1695, 1695, 1695, 2082, 1695, 1695, 1695, 1695, - /* 570 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 580 */ 1695, 2249, 2207, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 590 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 600 */ 1695, 2073, 1695, 2232, 1695, 1695, 2247, 1695, 2251, 1695, - /* 610 */ 1695, 1695, 1695, 1695, 1695, 1695, 2184, 2180, 1695, 1695, - /* 620 */ 2176, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 2081, 1695, - /* 630 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 640 */ 1695, 1695, 2072, 1695, 2135, 1695, 1695, 1695, 2169, 1695, - /* 650 */ 1695, 2120, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 660 */ 1695, 2082, 1695, 2085, 1695, 1695, 1695, 1695, 1695, 1887, - /* 670 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 680 */ 1695, 1695, 1872, 1870, 1869, 1868, 1695, 1865, 1695, 1900, - /* 690 */ 1695, 1695, 1695, 1896, 1895, 1695, 1695, 1695, 1695, 1695, - /* 700 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 710 */ 1793, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1785, - /* 720 */ 1695, 1784, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 730 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 740 */ 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, 1695, - /* 750 */ 1695, 1695, 1695, 1695, + /* 0 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 10 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 20 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 30 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 40 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 50 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 60 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 70 */ 1707, 1707, 1707, 1978, 1707, 1707, 1707, 1707, 1707, 1707, + /* 80 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1786, 1707, 1707, + /* 90 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 100 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1784, 1971, 2189, + /* 110 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 120 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 130 */ 1707, 1707, 1707, 2201, 1707, 1707, 1707, 2201, 2201, 2201, + /* 140 */ 1784, 2161, 2161, 1707, 1707, 1707, 1707, 1786, 2034, 1707, + /* 150 */ 1707, 1707, 1707, 1707, 1707, 1906, 1707, 1707, 1707, 1707, + /* 160 */ 1707, 1930, 1707, 1707, 1707, 2024, 1707, 1707, 2226, 2282, + /* 170 */ 1707, 1707, 2229, 1707, 1707, 1707, 1983, 1707, 1859, 2216, + /* 180 */ 2193, 2207, 2266, 2194, 2191, 2210, 1707, 2220, 1707, 2017, + /* 190 */ 1976, 1707, 1976, 1973, 1707, 1707, 1976, 1973, 1973, 1848, + /* 200 */ 1844, 1707, 1842, 1707, 1707, 1707, 1707, 1707, 1707, 1786, + /* 210 */ 1707, 1786, 1707, 1707, 1786, 1707, 1786, 1786, 1786, 1707, + /* 220 */ 1786, 1764, 1764, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 230 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 240 */ 2046, 2032, 1707, 1784, 2028, 2026, 1707, 1784, 1707, 1707, + /* 250 */ 1707, 1707, 2237, 2235, 1707, 2237, 2235, 1707, 1707, 1707, + /* 260 */ 2251, 2247, 2237, 2255, 2253, 2222, 2220, 2285, 2272, 2268, + /* 270 */ 2207, 1707, 1707, 1707, 1707, 1784, 1784, 1707, 2235, 1707, + /* 280 */ 1707, 1707, 1707, 1707, 2235, 1707, 1707, 1784, 1707, 1784, + /* 290 */ 1707, 1707, 1875, 1707, 1707, 1707, 1784, 1739, 1707, 2019, + /* 300 */ 2037, 2001, 2001, 1909, 1909, 1909, 1787, 1712, 1707, 1707, + /* 310 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 320 */ 2250, 2249, 2116, 1707, 2165, 2164, 2163, 2154, 2115, 1871, + /* 330 */ 1707, 2114, 2113, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 340 */ 1707, 1992, 1991, 2107, 1707, 1707, 2108, 2106, 2105, 1707, + /* 350 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 360 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 370 */ 1707, 1707, 2269, 2273, 1707, 1707, 1707, 1707, 1707, 1707, + /* 380 */ 1707, 2190, 1707, 1707, 1707, 1707, 1707, 2089, 1707, 1707, + /* 390 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 400 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 410 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 420 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 430 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 440 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 450 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 460 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 470 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 480 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 490 */ 1707, 1707, 1707, 1707, 1744, 2094, 1707, 1707, 1707, 1707, + /* 500 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 510 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 520 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 530 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 540 */ 1707, 1707, 1707, 1707, 1707, 1825, 1824, 1707, 1707, 1707, + /* 550 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 560 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 2098, + /* 570 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 580 */ 1707, 1707, 1707, 1707, 1707, 2265, 2223, 1707, 1707, 1707, + /* 590 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 600 */ 1707, 1707, 1707, 1707, 1707, 2089, 1707, 2248, 1707, 1707, + /* 610 */ 2263, 1707, 2267, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 620 */ 2200, 2196, 1707, 1707, 2192, 1707, 1707, 1707, 1707, 1707, + /* 630 */ 1707, 1707, 2097, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 640 */ 1707, 1707, 1707, 1707, 1707, 1707, 2088, 1707, 2151, 1707, + /* 650 */ 1707, 1707, 2185, 1707, 1707, 2136, 1707, 1707, 1707, 1707, + /* 660 */ 1707, 1707, 1707, 1707, 1707, 2098, 1707, 2101, 1707, 1707, + /* 670 */ 1707, 1707, 1707, 1903, 1707, 1707, 1707, 1707, 1707, 1707, + /* 680 */ 1707, 1707, 1707, 1707, 1707, 1707, 1888, 1886, 1885, 1884, + /* 690 */ 1707, 1881, 1707, 1916, 1707, 1707, 1707, 1912, 1911, 1707, + /* 700 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 710 */ 1707, 1707, 1707, 1707, 1805, 1707, 1707, 1707, 1707, 1707, + /* 720 */ 1707, 1707, 1707, 1797, 1707, 1796, 1707, 1707, 1707, 1707, + /* 730 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 740 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 750 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, }; /********** End of lemon-generated parsing tables *****************************/ @@ -2019,459 +2019,463 @@ static const char *const yyRuleName[] = { /* 118 */ "alter_db_option ::= WAL_LEVEL NK_INTEGER", /* 119 */ "alter_db_option ::= STT_TRIGGER NK_INTEGER", /* 120 */ "alter_db_option ::= MINROWS NK_INTEGER", - /* 121 */ "integer_list ::= NK_INTEGER", - /* 122 */ "integer_list ::= integer_list NK_COMMA NK_INTEGER", - /* 123 */ "variable_list ::= NK_VARIABLE", - /* 124 */ "variable_list ::= variable_list NK_COMMA NK_VARIABLE", - /* 125 */ "retention_list ::= retention", - /* 126 */ "retention_list ::= retention_list NK_COMMA retention", - /* 127 */ "retention ::= NK_VARIABLE NK_COLON NK_VARIABLE", - /* 128 */ "speed_opt ::=", - /* 129 */ "speed_opt ::= MAX_SPEED NK_INTEGER", - /* 130 */ "start_opt ::=", - /* 131 */ "start_opt ::= START WITH NK_INTEGER", - /* 132 */ "start_opt ::= START WITH NK_STRING", - /* 133 */ "start_opt ::= START WITH TIMESTAMP NK_STRING", - /* 134 */ "end_opt ::=", - /* 135 */ "end_opt ::= END WITH NK_INTEGER", - /* 136 */ "end_opt ::= END WITH NK_STRING", - /* 137 */ "end_opt ::= END WITH TIMESTAMP NK_STRING", - /* 138 */ "cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options", - /* 139 */ "cmd ::= CREATE TABLE multi_create_clause", - /* 140 */ "cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options", - /* 141 */ "cmd ::= DROP TABLE multi_drop_clause", - /* 142 */ "cmd ::= DROP STABLE exists_opt full_table_name", - /* 143 */ "cmd ::= ALTER TABLE alter_table_clause", - /* 144 */ "cmd ::= ALTER STABLE alter_table_clause", - /* 145 */ "alter_table_clause ::= full_table_name alter_table_options", - /* 146 */ "alter_table_clause ::= full_table_name ADD COLUMN column_name type_name", - /* 147 */ "alter_table_clause ::= full_table_name DROP COLUMN column_name", - /* 148 */ "alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name", - /* 149 */ "alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name", - /* 150 */ "alter_table_clause ::= full_table_name ADD TAG column_name type_name", - /* 151 */ "alter_table_clause ::= full_table_name DROP TAG column_name", - /* 152 */ "alter_table_clause ::= full_table_name MODIFY TAG column_name type_name", - /* 153 */ "alter_table_clause ::= full_table_name RENAME TAG column_name column_name", - /* 154 */ "alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal", - /* 155 */ "multi_create_clause ::= create_subtable_clause", - /* 156 */ "multi_create_clause ::= multi_create_clause create_subtable_clause", - /* 157 */ "create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options", - /* 158 */ "multi_drop_clause ::= drop_table_clause", - /* 159 */ "multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause", - /* 160 */ "drop_table_clause ::= exists_opt full_table_name", - /* 161 */ "specific_cols_opt ::=", - /* 162 */ "specific_cols_opt ::= NK_LP col_name_list NK_RP", - /* 163 */ "full_table_name ::= table_name", - /* 164 */ "full_table_name ::= db_name NK_DOT table_name", - /* 165 */ "column_def_list ::= column_def", - /* 166 */ "column_def_list ::= column_def_list NK_COMMA column_def", - /* 167 */ "column_def ::= column_name type_name", - /* 168 */ "column_def ::= column_name type_name COMMENT NK_STRING", - /* 169 */ "type_name ::= BOOL", - /* 170 */ "type_name ::= TINYINT", - /* 171 */ "type_name ::= SMALLINT", - /* 172 */ "type_name ::= INT", - /* 173 */ "type_name ::= INTEGER", - /* 174 */ "type_name ::= BIGINT", - /* 175 */ "type_name ::= FLOAT", - /* 176 */ "type_name ::= DOUBLE", - /* 177 */ "type_name ::= BINARY NK_LP NK_INTEGER NK_RP", - /* 178 */ "type_name ::= TIMESTAMP", - /* 179 */ "type_name ::= NCHAR NK_LP NK_INTEGER NK_RP", - /* 180 */ "type_name ::= TINYINT UNSIGNED", - /* 181 */ "type_name ::= SMALLINT UNSIGNED", - /* 182 */ "type_name ::= INT UNSIGNED", - /* 183 */ "type_name ::= BIGINT UNSIGNED", - /* 184 */ "type_name ::= JSON", - /* 185 */ "type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP", - /* 186 */ "type_name ::= MEDIUMBLOB", - /* 187 */ "type_name ::= BLOB", - /* 188 */ "type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP", - /* 189 */ "type_name ::= DECIMAL", - /* 190 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP", - /* 191 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP", - /* 192 */ "tags_def_opt ::=", - /* 193 */ "tags_def_opt ::= tags_def", - /* 194 */ "tags_def ::= TAGS NK_LP column_def_list NK_RP", - /* 195 */ "table_options ::=", - /* 196 */ "table_options ::= table_options COMMENT NK_STRING", - /* 197 */ "table_options ::= table_options MAX_DELAY duration_list", - /* 198 */ "table_options ::= table_options WATERMARK duration_list", - /* 199 */ "table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP", - /* 200 */ "table_options ::= table_options TTL NK_INTEGER", - /* 201 */ "table_options ::= table_options SMA NK_LP col_name_list NK_RP", - /* 202 */ "table_options ::= table_options DELETE_MARK duration_list", - /* 203 */ "alter_table_options ::= alter_table_option", - /* 204 */ "alter_table_options ::= alter_table_options alter_table_option", - /* 205 */ "alter_table_option ::= COMMENT NK_STRING", - /* 206 */ "alter_table_option ::= TTL NK_INTEGER", - /* 207 */ "duration_list ::= duration_literal", - /* 208 */ "duration_list ::= duration_list NK_COMMA duration_literal", - /* 209 */ "rollup_func_list ::= rollup_func_name", - /* 210 */ "rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name", - /* 211 */ "rollup_func_name ::= function_name", - /* 212 */ "rollup_func_name ::= FIRST", - /* 213 */ "rollup_func_name ::= LAST", - /* 214 */ "col_name_list ::= col_name", - /* 215 */ "col_name_list ::= col_name_list NK_COMMA col_name", - /* 216 */ "col_name ::= column_name", - /* 217 */ "cmd ::= SHOW DNODES", - /* 218 */ "cmd ::= SHOW USERS", - /* 219 */ "cmd ::= SHOW USER PRIVILEGES", - /* 220 */ "cmd ::= SHOW DATABASES", - /* 221 */ "cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt", - /* 222 */ "cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt", - /* 223 */ "cmd ::= SHOW db_name_cond_opt VGROUPS", - /* 224 */ "cmd ::= SHOW MNODES", - /* 225 */ "cmd ::= SHOW QNODES", - /* 226 */ "cmd ::= SHOW FUNCTIONS", - /* 227 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", - /* 228 */ "cmd ::= SHOW STREAMS", - /* 229 */ "cmd ::= SHOW ACCOUNTS", - /* 230 */ "cmd ::= SHOW APPS", - /* 231 */ "cmd ::= SHOW CONNECTIONS", - /* 232 */ "cmd ::= SHOW LICENCES", - /* 233 */ "cmd ::= SHOW GRANTS", - /* 234 */ "cmd ::= SHOW CREATE DATABASE db_name", - /* 235 */ "cmd ::= SHOW CREATE TABLE full_table_name", - /* 236 */ "cmd ::= SHOW CREATE STABLE full_table_name", - /* 237 */ "cmd ::= SHOW QUERIES", - /* 238 */ "cmd ::= SHOW SCORES", - /* 239 */ "cmd ::= SHOW TOPICS", - /* 240 */ "cmd ::= SHOW VARIABLES", - /* 241 */ "cmd ::= SHOW CLUSTER VARIABLES", - /* 242 */ "cmd ::= SHOW LOCAL VARIABLES", - /* 243 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", - /* 244 */ "cmd ::= SHOW BNODES", - /* 245 */ "cmd ::= SHOW SNODES", - /* 246 */ "cmd ::= SHOW CLUSTER", - /* 247 */ "cmd ::= SHOW TRANSACTIONS", - /* 248 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", - /* 249 */ "cmd ::= SHOW CONSUMERS", - /* 250 */ "cmd ::= SHOW SUBSCRIPTIONS", - /* 251 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", - /* 252 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", - /* 253 */ "cmd ::= SHOW VNODES NK_INTEGER", - /* 254 */ "cmd ::= SHOW VNODES NK_STRING", - /* 255 */ "cmd ::= SHOW db_name_cond_opt ALIVE", - /* 256 */ "cmd ::= SHOW CLUSTER ALIVE", - /* 257 */ "db_name_cond_opt ::=", - /* 258 */ "db_name_cond_opt ::= db_name NK_DOT", - /* 259 */ "like_pattern_opt ::=", - /* 260 */ "like_pattern_opt ::= LIKE NK_STRING", - /* 261 */ "table_name_cond ::= table_name", - /* 262 */ "from_db_opt ::=", - /* 263 */ "from_db_opt ::= FROM db_name", - /* 264 */ "tag_list_opt ::=", - /* 265 */ "tag_list_opt ::= tag_item", - /* 266 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", - /* 267 */ "tag_item ::= TBNAME", - /* 268 */ "tag_item ::= QTAGS", - /* 269 */ "tag_item ::= column_name", - /* 270 */ "tag_item ::= column_name column_alias", - /* 271 */ "tag_item ::= column_name AS column_alias", - /* 272 */ "cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options", - /* 273 */ "cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP", - /* 274 */ "cmd ::= DROP INDEX exists_opt full_index_name", - /* 275 */ "full_index_name ::= index_name", - /* 276 */ "full_index_name ::= db_name NK_DOT index_name", - /* 277 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", - /* 278 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt", - /* 279 */ "func_list ::= func", - /* 280 */ "func_list ::= func_list NK_COMMA func", - /* 281 */ "func ::= sma_func_name NK_LP expression_list NK_RP", - /* 282 */ "sma_func_name ::= function_name", - /* 283 */ "sma_func_name ::= COUNT", - /* 284 */ "sma_func_name ::= FIRST", - /* 285 */ "sma_func_name ::= LAST", - /* 286 */ "sma_func_name ::= LAST_ROW", - /* 287 */ "sma_stream_opt ::=", - /* 288 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", - /* 289 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", - /* 290 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", - /* 291 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", - /* 292 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name", - /* 293 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name", - /* 294 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name", - /* 295 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name", - /* 296 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 297 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 298 */ "cmd ::= DESC full_table_name", - /* 299 */ "cmd ::= DESCRIBE full_table_name", - /* 300 */ "cmd ::= RESET QUERY CACHE", - /* 301 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", - /* 302 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", - /* 303 */ "analyze_opt ::=", - /* 304 */ "analyze_opt ::= ANALYZE", - /* 305 */ "explain_options ::=", - /* 306 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 307 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 308 */ "cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", - /* 309 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 310 */ "agg_func_opt ::=", - /* 311 */ "agg_func_opt ::= AGGREGATE", - /* 312 */ "bufsize_opt ::=", - /* 313 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 314 */ "language_opt ::=", - /* 315 */ "language_opt ::= LANGUAGE NK_STRING", - /* 316 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery", - /* 317 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 318 */ "col_list_opt ::=", - /* 319 */ "col_list_opt ::= NK_LP col_name_list NK_RP", - /* 320 */ "tag_def_or_ref_opt ::=", - /* 321 */ "tag_def_or_ref_opt ::= tags_def", - /* 322 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", - /* 323 */ "stream_options ::=", - /* 324 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 325 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 326 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 327 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 328 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", - /* 329 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", - /* 330 */ "stream_options ::= stream_options DELETE_MARK duration_literal", - /* 331 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", - /* 332 */ "subtable_opt ::=", - /* 333 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", - /* 334 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 335 */ "cmd ::= KILL QUERY NK_STRING", - /* 336 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 337 */ "cmd ::= BALANCE VGROUP", - /* 338 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 339 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 340 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 341 */ "dnode_list ::= DNODE NK_INTEGER", - /* 342 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 343 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 344 */ "cmd ::= query_or_subquery", - /* 345 */ "cmd ::= insert_query", - /* 346 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 347 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", - /* 348 */ "literal ::= NK_INTEGER", - /* 349 */ "literal ::= NK_FLOAT", - /* 350 */ "literal ::= NK_STRING", - /* 351 */ "literal ::= NK_BOOL", - /* 352 */ "literal ::= TIMESTAMP NK_STRING", - /* 353 */ "literal ::= duration_literal", - /* 354 */ "literal ::= NULL", - /* 355 */ "literal ::= NK_QUESTION", - /* 356 */ "duration_literal ::= NK_VARIABLE", - /* 357 */ "signed ::= NK_INTEGER", - /* 358 */ "signed ::= NK_PLUS NK_INTEGER", - /* 359 */ "signed ::= NK_MINUS NK_INTEGER", - /* 360 */ "signed ::= NK_FLOAT", - /* 361 */ "signed ::= NK_PLUS NK_FLOAT", - /* 362 */ "signed ::= NK_MINUS NK_FLOAT", - /* 363 */ "signed_literal ::= signed", - /* 364 */ "signed_literal ::= NK_STRING", - /* 365 */ "signed_literal ::= NK_BOOL", - /* 366 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 367 */ "signed_literal ::= duration_literal", - /* 368 */ "signed_literal ::= NULL", - /* 369 */ "signed_literal ::= literal_func", - /* 370 */ "signed_literal ::= NK_QUESTION", - /* 371 */ "literal_list ::= signed_literal", - /* 372 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 373 */ "db_name ::= NK_ID", - /* 374 */ "table_name ::= NK_ID", - /* 375 */ "column_name ::= NK_ID", - /* 376 */ "function_name ::= NK_ID", - /* 377 */ "table_alias ::= NK_ID", - /* 378 */ "column_alias ::= NK_ID", - /* 379 */ "user_name ::= NK_ID", - /* 380 */ "topic_name ::= NK_ID", - /* 381 */ "stream_name ::= NK_ID", - /* 382 */ "cgroup_name ::= NK_ID", - /* 383 */ "index_name ::= NK_ID", - /* 384 */ "expr_or_subquery ::= expression", - /* 385 */ "expression ::= literal", - /* 386 */ "expression ::= pseudo_column", - /* 387 */ "expression ::= column_reference", - /* 388 */ "expression ::= function_expression", - /* 389 */ "expression ::= case_when_expression", - /* 390 */ "expression ::= NK_LP expression NK_RP", - /* 391 */ "expression ::= NK_PLUS expr_or_subquery", - /* 392 */ "expression ::= NK_MINUS expr_or_subquery", - /* 393 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 394 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 395 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 396 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 397 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 398 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 399 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 400 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 401 */ "expression_list ::= expr_or_subquery", - /* 402 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 403 */ "column_reference ::= column_name", - /* 404 */ "column_reference ::= table_name NK_DOT column_name", - /* 405 */ "pseudo_column ::= ROWTS", - /* 406 */ "pseudo_column ::= TBNAME", - /* 407 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 408 */ "pseudo_column ::= QSTART", - /* 409 */ "pseudo_column ::= QEND", - /* 410 */ "pseudo_column ::= QDURATION", - /* 411 */ "pseudo_column ::= WSTART", - /* 412 */ "pseudo_column ::= WEND", - /* 413 */ "pseudo_column ::= WDURATION", - /* 414 */ "pseudo_column ::= IROWTS", - /* 415 */ "pseudo_column ::= ISFILLED", - /* 416 */ "pseudo_column ::= QTAGS", - /* 417 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 418 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 419 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 420 */ "function_expression ::= literal_func", - /* 421 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 422 */ "literal_func ::= NOW", - /* 423 */ "noarg_func ::= NOW", - /* 424 */ "noarg_func ::= TODAY", - /* 425 */ "noarg_func ::= TIMEZONE", - /* 426 */ "noarg_func ::= DATABASE", - /* 427 */ "noarg_func ::= CLIENT_VERSION", - /* 428 */ "noarg_func ::= SERVER_VERSION", - /* 429 */ "noarg_func ::= SERVER_STATUS", - /* 430 */ "noarg_func ::= CURRENT_USER", - /* 431 */ "noarg_func ::= USER", - /* 432 */ "star_func ::= COUNT", - /* 433 */ "star_func ::= FIRST", - /* 434 */ "star_func ::= LAST", - /* 435 */ "star_func ::= LAST_ROW", - /* 436 */ "star_func_para_list ::= NK_STAR", - /* 437 */ "star_func_para_list ::= other_para_list", - /* 438 */ "other_para_list ::= star_func_para", - /* 439 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 440 */ "star_func_para ::= expr_or_subquery", - /* 441 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 442 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 443 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 444 */ "when_then_list ::= when_then_expr", - /* 445 */ "when_then_list ::= when_then_list when_then_expr", - /* 446 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 447 */ "case_when_else_opt ::=", - /* 448 */ "case_when_else_opt ::= ELSE common_expression", - /* 449 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 450 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 451 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 452 */ "predicate ::= expr_or_subquery IS NULL", - /* 453 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 454 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 455 */ "compare_op ::= NK_LT", - /* 456 */ "compare_op ::= NK_GT", - /* 457 */ "compare_op ::= NK_LE", - /* 458 */ "compare_op ::= NK_GE", - /* 459 */ "compare_op ::= NK_NE", - /* 460 */ "compare_op ::= NK_EQ", - /* 461 */ "compare_op ::= LIKE", - /* 462 */ "compare_op ::= NOT LIKE", - /* 463 */ "compare_op ::= MATCH", - /* 464 */ "compare_op ::= NMATCH", - /* 465 */ "compare_op ::= CONTAINS", - /* 466 */ "in_op ::= IN", - /* 467 */ "in_op ::= NOT IN", - /* 468 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 469 */ "boolean_value_expression ::= boolean_primary", - /* 470 */ "boolean_value_expression ::= NOT boolean_primary", - /* 471 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 472 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 473 */ "boolean_primary ::= predicate", - /* 474 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 475 */ "common_expression ::= expr_or_subquery", - /* 476 */ "common_expression ::= boolean_value_expression", - /* 477 */ "from_clause_opt ::=", - /* 478 */ "from_clause_opt ::= FROM table_reference_list", - /* 479 */ "table_reference_list ::= table_reference", - /* 480 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 481 */ "table_reference ::= table_primary", - /* 482 */ "table_reference ::= joined_table", - /* 483 */ "table_primary ::= table_name alias_opt", - /* 484 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 485 */ "table_primary ::= subquery alias_opt", - /* 486 */ "table_primary ::= parenthesized_joined_table", - /* 487 */ "alias_opt ::=", - /* 488 */ "alias_opt ::= table_alias", - /* 489 */ "alias_opt ::= AS table_alias", - /* 490 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 491 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 492 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 493 */ "join_type ::=", - /* 494 */ "join_type ::= INNER", - /* 495 */ "query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", - /* 496 */ "set_quantifier_opt ::=", - /* 497 */ "set_quantifier_opt ::= DISTINCT", - /* 498 */ "set_quantifier_opt ::= ALL", - /* 499 */ "select_list ::= select_item", - /* 500 */ "select_list ::= select_list NK_COMMA select_item", - /* 501 */ "select_item ::= NK_STAR", - /* 502 */ "select_item ::= common_expression", - /* 503 */ "select_item ::= common_expression column_alias", - /* 504 */ "select_item ::= common_expression AS column_alias", - /* 505 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 506 */ "where_clause_opt ::=", - /* 507 */ "where_clause_opt ::= WHERE search_condition", - /* 508 */ "partition_by_clause_opt ::=", - /* 509 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 510 */ "partition_list ::= partition_item", - /* 511 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 512 */ "partition_item ::= expr_or_subquery", - /* 513 */ "partition_item ::= expr_or_subquery column_alias", - /* 514 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 515 */ "twindow_clause_opt ::=", - /* 516 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 517 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 518 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 519 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 520 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 521 */ "sliding_opt ::=", - /* 522 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 523 */ "fill_opt ::=", - /* 524 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 525 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", - /* 526 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP", - /* 527 */ "fill_mode ::= NONE", - /* 528 */ "fill_mode ::= PREV", - /* 529 */ "fill_mode ::= NULL", - /* 530 */ "fill_mode ::= NULL_F", - /* 531 */ "fill_mode ::= LINEAR", - /* 532 */ "fill_mode ::= NEXT", - /* 533 */ "group_by_clause_opt ::=", - /* 534 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 535 */ "group_by_list ::= expr_or_subquery", - /* 536 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 537 */ "having_clause_opt ::=", - /* 538 */ "having_clause_opt ::= HAVING search_condition", - /* 539 */ "range_opt ::=", - /* 540 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 541 */ "every_opt ::=", - /* 542 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 543 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 544 */ "query_simple ::= query_specification", - /* 545 */ "query_simple ::= union_query_expression", - /* 546 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 547 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 548 */ "query_simple_or_subquery ::= query_simple", - /* 549 */ "query_simple_or_subquery ::= subquery", - /* 550 */ "query_or_subquery ::= query_expression", - /* 551 */ "query_or_subquery ::= subquery", - /* 552 */ "order_by_clause_opt ::=", - /* 553 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 554 */ "slimit_clause_opt ::=", - /* 555 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 556 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 557 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 558 */ "limit_clause_opt ::=", - /* 559 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 560 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 561 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 562 */ "subquery ::= NK_LP query_expression NK_RP", - /* 563 */ "subquery ::= NK_LP subquery NK_RP", - /* 564 */ "search_condition ::= common_expression", - /* 565 */ "sort_specification_list ::= sort_specification", - /* 566 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 567 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 568 */ "ordering_specification_opt ::=", - /* 569 */ "ordering_specification_opt ::= ASC", - /* 570 */ "ordering_specification_opt ::= DESC", - /* 571 */ "null_ordering_opt ::=", - /* 572 */ "null_ordering_opt ::= NULLS FIRST", - /* 573 */ "null_ordering_opt ::= NULLS LAST", + /* 121 */ "alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER", + /* 122 */ "alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER", + /* 123 */ "alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER", + /* 124 */ "alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER", + /* 125 */ "integer_list ::= NK_INTEGER", + /* 126 */ "integer_list ::= integer_list NK_COMMA NK_INTEGER", + /* 127 */ "variable_list ::= NK_VARIABLE", + /* 128 */ "variable_list ::= variable_list NK_COMMA NK_VARIABLE", + /* 129 */ "retention_list ::= retention", + /* 130 */ "retention_list ::= retention_list NK_COMMA retention", + /* 131 */ "retention ::= NK_VARIABLE NK_COLON NK_VARIABLE", + /* 132 */ "speed_opt ::=", + /* 133 */ "speed_opt ::= MAX_SPEED NK_INTEGER", + /* 134 */ "start_opt ::=", + /* 135 */ "start_opt ::= START WITH NK_INTEGER", + /* 136 */ "start_opt ::= START WITH NK_STRING", + /* 137 */ "start_opt ::= START WITH TIMESTAMP NK_STRING", + /* 138 */ "end_opt ::=", + /* 139 */ "end_opt ::= END WITH NK_INTEGER", + /* 140 */ "end_opt ::= END WITH NK_STRING", + /* 141 */ "end_opt ::= END WITH TIMESTAMP NK_STRING", + /* 142 */ "cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options", + /* 143 */ "cmd ::= CREATE TABLE multi_create_clause", + /* 144 */ "cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options", + /* 145 */ "cmd ::= DROP TABLE multi_drop_clause", + /* 146 */ "cmd ::= DROP STABLE exists_opt full_table_name", + /* 147 */ "cmd ::= ALTER TABLE alter_table_clause", + /* 148 */ "cmd ::= ALTER STABLE alter_table_clause", + /* 149 */ "alter_table_clause ::= full_table_name alter_table_options", + /* 150 */ "alter_table_clause ::= full_table_name ADD COLUMN column_name type_name", + /* 151 */ "alter_table_clause ::= full_table_name DROP COLUMN column_name", + /* 152 */ "alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name", + /* 153 */ "alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name", + /* 154 */ "alter_table_clause ::= full_table_name ADD TAG column_name type_name", + /* 155 */ "alter_table_clause ::= full_table_name DROP TAG column_name", + /* 156 */ "alter_table_clause ::= full_table_name MODIFY TAG column_name type_name", + /* 157 */ "alter_table_clause ::= full_table_name RENAME TAG column_name column_name", + /* 158 */ "alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal", + /* 159 */ "multi_create_clause ::= create_subtable_clause", + /* 160 */ "multi_create_clause ::= multi_create_clause create_subtable_clause", + /* 161 */ "create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options", + /* 162 */ "multi_drop_clause ::= drop_table_clause", + /* 163 */ "multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause", + /* 164 */ "drop_table_clause ::= exists_opt full_table_name", + /* 165 */ "specific_cols_opt ::=", + /* 166 */ "specific_cols_opt ::= NK_LP col_name_list NK_RP", + /* 167 */ "full_table_name ::= table_name", + /* 168 */ "full_table_name ::= db_name NK_DOT table_name", + /* 169 */ "column_def_list ::= column_def", + /* 170 */ "column_def_list ::= column_def_list NK_COMMA column_def", + /* 171 */ "column_def ::= column_name type_name", + /* 172 */ "column_def ::= column_name type_name COMMENT NK_STRING", + /* 173 */ "type_name ::= BOOL", + /* 174 */ "type_name ::= TINYINT", + /* 175 */ "type_name ::= SMALLINT", + /* 176 */ "type_name ::= INT", + /* 177 */ "type_name ::= INTEGER", + /* 178 */ "type_name ::= BIGINT", + /* 179 */ "type_name ::= FLOAT", + /* 180 */ "type_name ::= DOUBLE", + /* 181 */ "type_name ::= BINARY NK_LP NK_INTEGER NK_RP", + /* 182 */ "type_name ::= TIMESTAMP", + /* 183 */ "type_name ::= NCHAR NK_LP NK_INTEGER NK_RP", + /* 184 */ "type_name ::= TINYINT UNSIGNED", + /* 185 */ "type_name ::= SMALLINT UNSIGNED", + /* 186 */ "type_name ::= INT UNSIGNED", + /* 187 */ "type_name ::= BIGINT UNSIGNED", + /* 188 */ "type_name ::= JSON", + /* 189 */ "type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP", + /* 190 */ "type_name ::= MEDIUMBLOB", + /* 191 */ "type_name ::= BLOB", + /* 192 */ "type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP", + /* 193 */ "type_name ::= DECIMAL", + /* 194 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP", + /* 195 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP", + /* 196 */ "tags_def_opt ::=", + /* 197 */ "tags_def_opt ::= tags_def", + /* 198 */ "tags_def ::= TAGS NK_LP column_def_list NK_RP", + /* 199 */ "table_options ::=", + /* 200 */ "table_options ::= table_options COMMENT NK_STRING", + /* 201 */ "table_options ::= table_options MAX_DELAY duration_list", + /* 202 */ "table_options ::= table_options WATERMARK duration_list", + /* 203 */ "table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP", + /* 204 */ "table_options ::= table_options TTL NK_INTEGER", + /* 205 */ "table_options ::= table_options SMA NK_LP col_name_list NK_RP", + /* 206 */ "table_options ::= table_options DELETE_MARK duration_list", + /* 207 */ "alter_table_options ::= alter_table_option", + /* 208 */ "alter_table_options ::= alter_table_options alter_table_option", + /* 209 */ "alter_table_option ::= COMMENT NK_STRING", + /* 210 */ "alter_table_option ::= TTL NK_INTEGER", + /* 211 */ "duration_list ::= duration_literal", + /* 212 */ "duration_list ::= duration_list NK_COMMA duration_literal", + /* 213 */ "rollup_func_list ::= rollup_func_name", + /* 214 */ "rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name", + /* 215 */ "rollup_func_name ::= function_name", + /* 216 */ "rollup_func_name ::= FIRST", + /* 217 */ "rollup_func_name ::= LAST", + /* 218 */ "col_name_list ::= col_name", + /* 219 */ "col_name_list ::= col_name_list NK_COMMA col_name", + /* 220 */ "col_name ::= column_name", + /* 221 */ "cmd ::= SHOW DNODES", + /* 222 */ "cmd ::= SHOW USERS", + /* 223 */ "cmd ::= SHOW USER PRIVILEGES", + /* 224 */ "cmd ::= SHOW DATABASES", + /* 225 */ "cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt", + /* 226 */ "cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt", + /* 227 */ "cmd ::= SHOW db_name_cond_opt VGROUPS", + /* 228 */ "cmd ::= SHOW MNODES", + /* 229 */ "cmd ::= SHOW QNODES", + /* 230 */ "cmd ::= SHOW FUNCTIONS", + /* 231 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", + /* 232 */ "cmd ::= SHOW STREAMS", + /* 233 */ "cmd ::= SHOW ACCOUNTS", + /* 234 */ "cmd ::= SHOW APPS", + /* 235 */ "cmd ::= SHOW CONNECTIONS", + /* 236 */ "cmd ::= SHOW LICENCES", + /* 237 */ "cmd ::= SHOW GRANTS", + /* 238 */ "cmd ::= SHOW CREATE DATABASE db_name", + /* 239 */ "cmd ::= SHOW CREATE TABLE full_table_name", + /* 240 */ "cmd ::= SHOW CREATE STABLE full_table_name", + /* 241 */ "cmd ::= SHOW QUERIES", + /* 242 */ "cmd ::= SHOW SCORES", + /* 243 */ "cmd ::= SHOW TOPICS", + /* 244 */ "cmd ::= SHOW VARIABLES", + /* 245 */ "cmd ::= SHOW CLUSTER VARIABLES", + /* 246 */ "cmd ::= SHOW LOCAL VARIABLES", + /* 247 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", + /* 248 */ "cmd ::= SHOW BNODES", + /* 249 */ "cmd ::= SHOW SNODES", + /* 250 */ "cmd ::= SHOW CLUSTER", + /* 251 */ "cmd ::= SHOW TRANSACTIONS", + /* 252 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", + /* 253 */ "cmd ::= SHOW CONSUMERS", + /* 254 */ "cmd ::= SHOW SUBSCRIPTIONS", + /* 255 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", + /* 256 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", + /* 257 */ "cmd ::= SHOW VNODES NK_INTEGER", + /* 258 */ "cmd ::= SHOW VNODES NK_STRING", + /* 259 */ "cmd ::= SHOW db_name_cond_opt ALIVE", + /* 260 */ "cmd ::= SHOW CLUSTER ALIVE", + /* 261 */ "db_name_cond_opt ::=", + /* 262 */ "db_name_cond_opt ::= db_name NK_DOT", + /* 263 */ "like_pattern_opt ::=", + /* 264 */ "like_pattern_opt ::= LIKE NK_STRING", + /* 265 */ "table_name_cond ::= table_name", + /* 266 */ "from_db_opt ::=", + /* 267 */ "from_db_opt ::= FROM db_name", + /* 268 */ "tag_list_opt ::=", + /* 269 */ "tag_list_opt ::= tag_item", + /* 270 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", + /* 271 */ "tag_item ::= TBNAME", + /* 272 */ "tag_item ::= QTAGS", + /* 273 */ "tag_item ::= column_name", + /* 274 */ "tag_item ::= column_name column_alias", + /* 275 */ "tag_item ::= column_name AS column_alias", + /* 276 */ "cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options", + /* 277 */ "cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP", + /* 278 */ "cmd ::= DROP INDEX exists_opt full_index_name", + /* 279 */ "full_index_name ::= index_name", + /* 280 */ "full_index_name ::= db_name NK_DOT index_name", + /* 281 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", + /* 282 */ "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", + /* 283 */ "func_list ::= func", + /* 284 */ "func_list ::= func_list NK_COMMA func", + /* 285 */ "func ::= sma_func_name NK_LP expression_list NK_RP", + /* 286 */ "sma_func_name ::= function_name", + /* 287 */ "sma_func_name ::= COUNT", + /* 288 */ "sma_func_name ::= FIRST", + /* 289 */ "sma_func_name ::= LAST", + /* 290 */ "sma_func_name ::= LAST_ROW", + /* 291 */ "sma_stream_opt ::=", + /* 292 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", + /* 293 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", + /* 294 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", + /* 295 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", + /* 296 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name", + /* 297 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name", + /* 298 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name", + /* 299 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name", + /* 300 */ "cmd ::= DROP TOPIC exists_opt topic_name", + /* 301 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", + /* 302 */ "cmd ::= DESC full_table_name", + /* 303 */ "cmd ::= DESCRIBE full_table_name", + /* 304 */ "cmd ::= RESET QUERY CACHE", + /* 305 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", + /* 306 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", + /* 307 */ "analyze_opt ::=", + /* 308 */ "analyze_opt ::= ANALYZE", + /* 309 */ "explain_options ::=", + /* 310 */ "explain_options ::= explain_options VERBOSE NK_BOOL", + /* 311 */ "explain_options ::= explain_options RATIO NK_FLOAT", + /* 312 */ "cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", + /* 313 */ "cmd ::= DROP FUNCTION exists_opt function_name", + /* 314 */ "agg_func_opt ::=", + /* 315 */ "agg_func_opt ::= AGGREGATE", + /* 316 */ "bufsize_opt ::=", + /* 317 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", + /* 318 */ "language_opt ::=", + /* 319 */ "language_opt ::= LANGUAGE NK_STRING", + /* 320 */ "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", + /* 321 */ "cmd ::= DROP STREAM exists_opt stream_name", + /* 322 */ "col_list_opt ::=", + /* 323 */ "col_list_opt ::= NK_LP col_name_list NK_RP", + /* 324 */ "tag_def_or_ref_opt ::=", + /* 325 */ "tag_def_or_ref_opt ::= tags_def", + /* 326 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", + /* 327 */ "stream_options ::=", + /* 328 */ "stream_options ::= stream_options TRIGGER AT_ONCE", + /* 329 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", + /* 330 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", + /* 331 */ "stream_options ::= stream_options WATERMARK duration_literal", + /* 332 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", + /* 333 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", + /* 334 */ "stream_options ::= stream_options DELETE_MARK duration_literal", + /* 335 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", + /* 336 */ "subtable_opt ::=", + /* 337 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", + /* 338 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 339 */ "cmd ::= KILL QUERY NK_STRING", + /* 340 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 341 */ "cmd ::= BALANCE VGROUP", + /* 342 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 343 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 344 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 345 */ "dnode_list ::= DNODE NK_INTEGER", + /* 346 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 347 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 348 */ "cmd ::= query_or_subquery", + /* 349 */ "cmd ::= insert_query", + /* 350 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 351 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", + /* 352 */ "literal ::= NK_INTEGER", + /* 353 */ "literal ::= NK_FLOAT", + /* 354 */ "literal ::= NK_STRING", + /* 355 */ "literal ::= NK_BOOL", + /* 356 */ "literal ::= TIMESTAMP NK_STRING", + /* 357 */ "literal ::= duration_literal", + /* 358 */ "literal ::= NULL", + /* 359 */ "literal ::= NK_QUESTION", + /* 360 */ "duration_literal ::= NK_VARIABLE", + /* 361 */ "signed ::= NK_INTEGER", + /* 362 */ "signed ::= NK_PLUS NK_INTEGER", + /* 363 */ "signed ::= NK_MINUS NK_INTEGER", + /* 364 */ "signed ::= NK_FLOAT", + /* 365 */ "signed ::= NK_PLUS NK_FLOAT", + /* 366 */ "signed ::= NK_MINUS NK_FLOAT", + /* 367 */ "signed_literal ::= signed", + /* 368 */ "signed_literal ::= NK_STRING", + /* 369 */ "signed_literal ::= NK_BOOL", + /* 370 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 371 */ "signed_literal ::= duration_literal", + /* 372 */ "signed_literal ::= NULL", + /* 373 */ "signed_literal ::= literal_func", + /* 374 */ "signed_literal ::= NK_QUESTION", + /* 375 */ "literal_list ::= signed_literal", + /* 376 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 377 */ "db_name ::= NK_ID", + /* 378 */ "table_name ::= NK_ID", + /* 379 */ "column_name ::= NK_ID", + /* 380 */ "function_name ::= NK_ID", + /* 381 */ "table_alias ::= NK_ID", + /* 382 */ "column_alias ::= NK_ID", + /* 383 */ "user_name ::= NK_ID", + /* 384 */ "topic_name ::= NK_ID", + /* 385 */ "stream_name ::= NK_ID", + /* 386 */ "cgroup_name ::= NK_ID", + /* 387 */ "index_name ::= NK_ID", + /* 388 */ "expr_or_subquery ::= expression", + /* 389 */ "expression ::= literal", + /* 390 */ "expression ::= pseudo_column", + /* 391 */ "expression ::= column_reference", + /* 392 */ "expression ::= function_expression", + /* 393 */ "expression ::= case_when_expression", + /* 394 */ "expression ::= NK_LP expression NK_RP", + /* 395 */ "expression ::= NK_PLUS expr_or_subquery", + /* 396 */ "expression ::= NK_MINUS expr_or_subquery", + /* 397 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 398 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 399 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 400 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 401 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 402 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 403 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 404 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 405 */ "expression_list ::= expr_or_subquery", + /* 406 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 407 */ "column_reference ::= column_name", + /* 408 */ "column_reference ::= table_name NK_DOT column_name", + /* 409 */ "pseudo_column ::= ROWTS", + /* 410 */ "pseudo_column ::= TBNAME", + /* 411 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 412 */ "pseudo_column ::= QSTART", + /* 413 */ "pseudo_column ::= QEND", + /* 414 */ "pseudo_column ::= QDURATION", + /* 415 */ "pseudo_column ::= WSTART", + /* 416 */ "pseudo_column ::= WEND", + /* 417 */ "pseudo_column ::= WDURATION", + /* 418 */ "pseudo_column ::= IROWTS", + /* 419 */ "pseudo_column ::= ISFILLED", + /* 420 */ "pseudo_column ::= QTAGS", + /* 421 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 422 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 423 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 424 */ "function_expression ::= literal_func", + /* 425 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 426 */ "literal_func ::= NOW", + /* 427 */ "noarg_func ::= NOW", + /* 428 */ "noarg_func ::= TODAY", + /* 429 */ "noarg_func ::= TIMEZONE", + /* 430 */ "noarg_func ::= DATABASE", + /* 431 */ "noarg_func ::= CLIENT_VERSION", + /* 432 */ "noarg_func ::= SERVER_VERSION", + /* 433 */ "noarg_func ::= SERVER_STATUS", + /* 434 */ "noarg_func ::= CURRENT_USER", + /* 435 */ "noarg_func ::= USER", + /* 436 */ "star_func ::= COUNT", + /* 437 */ "star_func ::= FIRST", + /* 438 */ "star_func ::= LAST", + /* 439 */ "star_func ::= LAST_ROW", + /* 440 */ "star_func_para_list ::= NK_STAR", + /* 441 */ "star_func_para_list ::= other_para_list", + /* 442 */ "other_para_list ::= star_func_para", + /* 443 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 444 */ "star_func_para ::= expr_or_subquery", + /* 445 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 446 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 447 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 448 */ "when_then_list ::= when_then_expr", + /* 449 */ "when_then_list ::= when_then_list when_then_expr", + /* 450 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 451 */ "case_when_else_opt ::=", + /* 452 */ "case_when_else_opt ::= ELSE common_expression", + /* 453 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 454 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 455 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 456 */ "predicate ::= expr_or_subquery IS NULL", + /* 457 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 458 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 459 */ "compare_op ::= NK_LT", + /* 460 */ "compare_op ::= NK_GT", + /* 461 */ "compare_op ::= NK_LE", + /* 462 */ "compare_op ::= NK_GE", + /* 463 */ "compare_op ::= NK_NE", + /* 464 */ "compare_op ::= NK_EQ", + /* 465 */ "compare_op ::= LIKE", + /* 466 */ "compare_op ::= NOT LIKE", + /* 467 */ "compare_op ::= MATCH", + /* 468 */ "compare_op ::= NMATCH", + /* 469 */ "compare_op ::= CONTAINS", + /* 470 */ "in_op ::= IN", + /* 471 */ "in_op ::= NOT IN", + /* 472 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 473 */ "boolean_value_expression ::= boolean_primary", + /* 474 */ "boolean_value_expression ::= NOT boolean_primary", + /* 475 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 476 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 477 */ "boolean_primary ::= predicate", + /* 478 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 479 */ "common_expression ::= expr_or_subquery", + /* 480 */ "common_expression ::= boolean_value_expression", + /* 481 */ "from_clause_opt ::=", + /* 482 */ "from_clause_opt ::= FROM table_reference_list", + /* 483 */ "table_reference_list ::= table_reference", + /* 484 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 485 */ "table_reference ::= table_primary", + /* 486 */ "table_reference ::= joined_table", + /* 487 */ "table_primary ::= table_name alias_opt", + /* 488 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 489 */ "table_primary ::= subquery alias_opt", + /* 490 */ "table_primary ::= parenthesized_joined_table", + /* 491 */ "alias_opt ::=", + /* 492 */ "alias_opt ::= table_alias", + /* 493 */ "alias_opt ::= AS table_alias", + /* 494 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 495 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 496 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 497 */ "join_type ::=", + /* 498 */ "join_type ::= INNER", + /* 499 */ "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", + /* 500 */ "set_quantifier_opt ::=", + /* 501 */ "set_quantifier_opt ::= DISTINCT", + /* 502 */ "set_quantifier_opt ::= ALL", + /* 503 */ "select_list ::= select_item", + /* 504 */ "select_list ::= select_list NK_COMMA select_item", + /* 505 */ "select_item ::= NK_STAR", + /* 506 */ "select_item ::= common_expression", + /* 507 */ "select_item ::= common_expression column_alias", + /* 508 */ "select_item ::= common_expression AS column_alias", + /* 509 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 510 */ "where_clause_opt ::=", + /* 511 */ "where_clause_opt ::= WHERE search_condition", + /* 512 */ "partition_by_clause_opt ::=", + /* 513 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 514 */ "partition_list ::= partition_item", + /* 515 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 516 */ "partition_item ::= expr_or_subquery", + /* 517 */ "partition_item ::= expr_or_subquery column_alias", + /* 518 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 519 */ "twindow_clause_opt ::=", + /* 520 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 521 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 522 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 523 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 524 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 525 */ "sliding_opt ::=", + /* 526 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 527 */ "fill_opt ::=", + /* 528 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 529 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", + /* 530 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP", + /* 531 */ "fill_mode ::= NONE", + /* 532 */ "fill_mode ::= PREV", + /* 533 */ "fill_mode ::= NULL", + /* 534 */ "fill_mode ::= NULL_F", + /* 535 */ "fill_mode ::= LINEAR", + /* 536 */ "fill_mode ::= NEXT", + /* 537 */ "group_by_clause_opt ::=", + /* 538 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 539 */ "group_by_list ::= expr_or_subquery", + /* 540 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 541 */ "having_clause_opt ::=", + /* 542 */ "having_clause_opt ::= HAVING search_condition", + /* 543 */ "range_opt ::=", + /* 544 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 545 */ "every_opt ::=", + /* 546 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 547 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 548 */ "query_simple ::= query_specification", + /* 549 */ "query_simple ::= union_query_expression", + /* 550 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 551 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 552 */ "query_simple_or_subquery ::= query_simple", + /* 553 */ "query_simple_or_subquery ::= subquery", + /* 554 */ "query_or_subquery ::= query_expression", + /* 555 */ "query_or_subquery ::= subquery", + /* 556 */ "order_by_clause_opt ::=", + /* 557 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 558 */ "slimit_clause_opt ::=", + /* 559 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 560 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 561 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 562 */ "limit_clause_opt ::=", + /* 563 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 564 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 565 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 566 */ "subquery ::= NK_LP query_expression NK_RP", + /* 567 */ "subquery ::= NK_LP subquery NK_RP", + /* 568 */ "search_condition ::= common_expression", + /* 569 */ "sort_specification_list ::= sort_specification", + /* 570 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 571 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 572 */ "ordering_specification_opt ::=", + /* 573 */ "ordering_specification_opt ::= ASC", + /* 574 */ "ordering_specification_opt ::= DESC", + /* 575 */ "null_ordering_opt ::=", + /* 576 */ "null_ordering_opt ::= NULLS FIRST", + /* 577 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -3213,459 +3217,463 @@ static const struct { { 354, -2 }, /* (118) alter_db_option ::= WAL_LEVEL NK_INTEGER */ { 354, -2 }, /* (119) alter_db_option ::= STT_TRIGGER NK_INTEGER */ { 354, -2 }, /* (120) alter_db_option ::= MINROWS NK_INTEGER */ - { 351, -1 }, /* (121) integer_list ::= NK_INTEGER */ - { 351, -3 }, /* (122) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - { 352, -1 }, /* (123) variable_list ::= NK_VARIABLE */ - { 352, -3 }, /* (124) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - { 353, -1 }, /* (125) retention_list ::= retention */ - { 353, -3 }, /* (126) retention_list ::= retention_list NK_COMMA retention */ - { 355, -3 }, /* (127) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - { 348, 0 }, /* (128) speed_opt ::= */ - { 348, -2 }, /* (129) speed_opt ::= MAX_SPEED NK_INTEGER */ - { 349, 0 }, /* (130) start_opt ::= */ - { 349, -3 }, /* (131) start_opt ::= START WITH NK_INTEGER */ - { 349, -3 }, /* (132) start_opt ::= START WITH NK_STRING */ - { 349, -4 }, /* (133) start_opt ::= START WITH TIMESTAMP NK_STRING */ - { 350, 0 }, /* (134) end_opt ::= */ - { 350, -3 }, /* (135) end_opt ::= END WITH NK_INTEGER */ - { 350, -3 }, /* (136) end_opt ::= END WITH NK_STRING */ - { 350, -4 }, /* (137) end_opt ::= END WITH TIMESTAMP NK_STRING */ - { 329, -9 }, /* (138) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - { 329, -3 }, /* (139) cmd ::= CREATE TABLE multi_create_clause */ - { 329, -9 }, /* (140) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - { 329, -3 }, /* (141) cmd ::= DROP TABLE multi_drop_clause */ - { 329, -4 }, /* (142) cmd ::= DROP STABLE exists_opt full_table_name */ - { 329, -3 }, /* (143) cmd ::= ALTER TABLE alter_table_clause */ - { 329, -3 }, /* (144) cmd ::= ALTER STABLE alter_table_clause */ - { 363, -2 }, /* (145) alter_table_clause ::= full_table_name alter_table_options */ - { 363, -5 }, /* (146) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - { 363, -4 }, /* (147) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - { 363, -5 }, /* (148) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - { 363, -5 }, /* (149) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - { 363, -5 }, /* (150) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - { 363, -4 }, /* (151) alter_table_clause ::= full_table_name DROP TAG column_name */ - { 363, -5 }, /* (152) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - { 363, -5 }, /* (153) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - { 363, -6 }, /* (154) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - { 360, -1 }, /* (155) multi_create_clause ::= create_subtable_clause */ - { 360, -2 }, /* (156) multi_create_clause ::= multi_create_clause create_subtable_clause */ - { 368, -10 }, /* (157) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ - { 362, -1 }, /* (158) multi_drop_clause ::= drop_table_clause */ - { 362, -3 }, /* (159) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ - { 371, -2 }, /* (160) drop_table_clause ::= exists_opt full_table_name */ - { 369, 0 }, /* (161) specific_cols_opt ::= */ - { 369, -3 }, /* (162) specific_cols_opt ::= NK_LP col_name_list NK_RP */ - { 356, -1 }, /* (163) full_table_name ::= table_name */ - { 356, -3 }, /* (164) full_table_name ::= db_name NK_DOT table_name */ - { 357, -1 }, /* (165) column_def_list ::= column_def */ - { 357, -3 }, /* (166) column_def_list ::= column_def_list NK_COMMA column_def */ - { 374, -2 }, /* (167) column_def ::= column_name type_name */ - { 374, -4 }, /* (168) column_def ::= column_name type_name COMMENT NK_STRING */ - { 366, -1 }, /* (169) type_name ::= BOOL */ - { 366, -1 }, /* (170) type_name ::= TINYINT */ - { 366, -1 }, /* (171) type_name ::= SMALLINT */ - { 366, -1 }, /* (172) type_name ::= INT */ - { 366, -1 }, /* (173) type_name ::= INTEGER */ - { 366, -1 }, /* (174) type_name ::= BIGINT */ - { 366, -1 }, /* (175) type_name ::= FLOAT */ - { 366, -1 }, /* (176) type_name ::= DOUBLE */ - { 366, -4 }, /* (177) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - { 366, -1 }, /* (178) type_name ::= TIMESTAMP */ - { 366, -4 }, /* (179) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - { 366, -2 }, /* (180) type_name ::= TINYINT UNSIGNED */ - { 366, -2 }, /* (181) type_name ::= SMALLINT UNSIGNED */ - { 366, -2 }, /* (182) type_name ::= INT UNSIGNED */ - { 366, -2 }, /* (183) type_name ::= BIGINT UNSIGNED */ - { 366, -1 }, /* (184) type_name ::= JSON */ - { 366, -4 }, /* (185) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - { 366, -1 }, /* (186) type_name ::= MEDIUMBLOB */ - { 366, -1 }, /* (187) type_name ::= BLOB */ - { 366, -4 }, /* (188) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - { 366, -1 }, /* (189) type_name ::= DECIMAL */ - { 366, -4 }, /* (190) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - { 366, -6 }, /* (191) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - { 358, 0 }, /* (192) tags_def_opt ::= */ - { 358, -1 }, /* (193) tags_def_opt ::= tags_def */ - { 361, -4 }, /* (194) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - { 359, 0 }, /* (195) table_options ::= */ - { 359, -3 }, /* (196) table_options ::= table_options COMMENT NK_STRING */ - { 359, -3 }, /* (197) table_options ::= table_options MAX_DELAY duration_list */ - { 359, -3 }, /* (198) table_options ::= table_options WATERMARK duration_list */ - { 359, -5 }, /* (199) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - { 359, -3 }, /* (200) table_options ::= table_options TTL NK_INTEGER */ - { 359, -5 }, /* (201) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - { 359, -3 }, /* (202) table_options ::= table_options DELETE_MARK duration_list */ - { 364, -1 }, /* (203) alter_table_options ::= alter_table_option */ - { 364, -2 }, /* (204) alter_table_options ::= alter_table_options alter_table_option */ - { 377, -2 }, /* (205) alter_table_option ::= COMMENT NK_STRING */ - { 377, -2 }, /* (206) alter_table_option ::= TTL NK_INTEGER */ - { 375, -1 }, /* (207) duration_list ::= duration_literal */ - { 375, -3 }, /* (208) duration_list ::= duration_list NK_COMMA duration_literal */ - { 376, -1 }, /* (209) rollup_func_list ::= rollup_func_name */ - { 376, -3 }, /* (210) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - { 379, -1 }, /* (211) rollup_func_name ::= function_name */ - { 379, -1 }, /* (212) rollup_func_name ::= FIRST */ - { 379, -1 }, /* (213) rollup_func_name ::= LAST */ - { 372, -1 }, /* (214) col_name_list ::= col_name */ - { 372, -3 }, /* (215) col_name_list ::= col_name_list NK_COMMA col_name */ - { 381, -1 }, /* (216) col_name ::= column_name */ - { 329, -2 }, /* (217) cmd ::= SHOW DNODES */ - { 329, -2 }, /* (218) cmd ::= SHOW USERS */ - { 329, -3 }, /* (219) cmd ::= SHOW USER PRIVILEGES */ - { 329, -2 }, /* (220) cmd ::= SHOW DATABASES */ - { 329, -4 }, /* (221) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - { 329, -4 }, /* (222) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - { 329, -3 }, /* (223) cmd ::= SHOW db_name_cond_opt VGROUPS */ - { 329, -2 }, /* (224) cmd ::= SHOW MNODES */ - { 329, -2 }, /* (225) cmd ::= SHOW QNODES */ - { 329, -2 }, /* (226) cmd ::= SHOW FUNCTIONS */ - { 329, -5 }, /* (227) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - { 329, -2 }, /* (228) cmd ::= SHOW STREAMS */ - { 329, -2 }, /* (229) cmd ::= SHOW ACCOUNTS */ - { 329, -2 }, /* (230) cmd ::= SHOW APPS */ - { 329, -2 }, /* (231) cmd ::= SHOW CONNECTIONS */ - { 329, -2 }, /* (232) cmd ::= SHOW LICENCES */ - { 329, -2 }, /* (233) cmd ::= SHOW GRANTS */ - { 329, -4 }, /* (234) cmd ::= SHOW CREATE DATABASE db_name */ - { 329, -4 }, /* (235) cmd ::= SHOW CREATE TABLE full_table_name */ - { 329, -4 }, /* (236) cmd ::= SHOW CREATE STABLE full_table_name */ - { 329, -2 }, /* (237) cmd ::= SHOW QUERIES */ - { 329, -2 }, /* (238) cmd ::= SHOW SCORES */ - { 329, -2 }, /* (239) cmd ::= SHOW TOPICS */ - { 329, -2 }, /* (240) cmd ::= SHOW VARIABLES */ - { 329, -3 }, /* (241) cmd ::= SHOW CLUSTER VARIABLES */ - { 329, -3 }, /* (242) cmd ::= SHOW LOCAL VARIABLES */ - { 329, -5 }, /* (243) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - { 329, -2 }, /* (244) cmd ::= SHOW BNODES */ - { 329, -2 }, /* (245) cmd ::= SHOW SNODES */ - { 329, -2 }, /* (246) cmd ::= SHOW CLUSTER */ - { 329, -2 }, /* (247) cmd ::= SHOW TRANSACTIONS */ - { 329, -4 }, /* (248) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - { 329, -2 }, /* (249) cmd ::= SHOW CONSUMERS */ - { 329, -2 }, /* (250) cmd ::= SHOW SUBSCRIPTIONS */ - { 329, -5 }, /* (251) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - { 329, -7 }, /* (252) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - { 329, -3 }, /* (253) cmd ::= SHOW VNODES NK_INTEGER */ - { 329, -3 }, /* (254) cmd ::= SHOW VNODES NK_STRING */ - { 329, -3 }, /* (255) cmd ::= SHOW db_name_cond_opt ALIVE */ - { 329, -3 }, /* (256) cmd ::= SHOW CLUSTER ALIVE */ - { 382, 0 }, /* (257) db_name_cond_opt ::= */ - { 382, -2 }, /* (258) db_name_cond_opt ::= db_name NK_DOT */ - { 383, 0 }, /* (259) like_pattern_opt ::= */ - { 383, -2 }, /* (260) like_pattern_opt ::= LIKE NK_STRING */ - { 384, -1 }, /* (261) table_name_cond ::= table_name */ - { 385, 0 }, /* (262) from_db_opt ::= */ - { 385, -2 }, /* (263) from_db_opt ::= FROM db_name */ - { 386, 0 }, /* (264) tag_list_opt ::= */ - { 386, -1 }, /* (265) tag_list_opt ::= tag_item */ - { 386, -3 }, /* (266) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - { 387, -1 }, /* (267) tag_item ::= TBNAME */ - { 387, -1 }, /* (268) tag_item ::= QTAGS */ - { 387, -1 }, /* (269) tag_item ::= column_name */ - { 387, -2 }, /* (270) tag_item ::= column_name column_alias */ - { 387, -3 }, /* (271) tag_item ::= column_name AS column_alias */ - { 329, -8 }, /* (272) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ - { 329, -9 }, /* (273) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ - { 329, -4 }, /* (274) cmd ::= DROP INDEX exists_opt full_index_name */ - { 389, -1 }, /* (275) full_index_name ::= index_name */ - { 389, -3 }, /* (276) full_index_name ::= db_name NK_DOT index_name */ - { 390, -10 }, /* (277) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - { 390, -12 }, /* (278) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ - { 392, -1 }, /* (279) func_list ::= func */ - { 392, -3 }, /* (280) func_list ::= func_list NK_COMMA func */ - { 395, -4 }, /* (281) func ::= sma_func_name NK_LP expression_list NK_RP */ - { 396, -1 }, /* (282) sma_func_name ::= function_name */ - { 396, -1 }, /* (283) sma_func_name ::= COUNT */ - { 396, -1 }, /* (284) sma_func_name ::= FIRST */ - { 396, -1 }, /* (285) sma_func_name ::= LAST */ - { 396, -1 }, /* (286) sma_func_name ::= LAST_ROW */ - { 394, 0 }, /* (287) sma_stream_opt ::= */ - { 394, -3 }, /* (288) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - { 394, -3 }, /* (289) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - { 394, -3 }, /* (290) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - { 329, -6 }, /* (291) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - { 329, -7 }, /* (292) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ - { 329, -9 }, /* (293) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ - { 329, -7 }, /* (294) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ - { 329, -9 }, /* (295) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ - { 329, -4 }, /* (296) cmd ::= DROP TOPIC exists_opt topic_name */ - { 329, -7 }, /* (297) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - { 329, -2 }, /* (298) cmd ::= DESC full_table_name */ - { 329, -2 }, /* (299) cmd ::= DESCRIBE full_table_name */ - { 329, -3 }, /* (300) cmd ::= RESET QUERY CACHE */ - { 329, -4 }, /* (301) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - { 329, -4 }, /* (302) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - { 399, 0 }, /* (303) analyze_opt ::= */ - { 399, -1 }, /* (304) analyze_opt ::= ANALYZE */ - { 400, 0 }, /* (305) explain_options ::= */ - { 400, -3 }, /* (306) explain_options ::= explain_options VERBOSE NK_BOOL */ - { 400, -3 }, /* (307) explain_options ::= explain_options RATIO NK_FLOAT */ - { 329, -11 }, /* (308) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - { 329, -4 }, /* (309) cmd ::= DROP FUNCTION exists_opt function_name */ - { 402, 0 }, /* (310) agg_func_opt ::= */ - { 402, -1 }, /* (311) agg_func_opt ::= AGGREGATE */ - { 403, 0 }, /* (312) bufsize_opt ::= */ - { 403, -2 }, /* (313) bufsize_opt ::= BUFSIZE NK_INTEGER */ - { 404, 0 }, /* (314) language_opt ::= */ - { 404, -2 }, /* (315) language_opt ::= LANGUAGE NK_STRING */ - { 329, -12 }, /* (316) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - { 329, -4 }, /* (317) cmd ::= DROP STREAM exists_opt stream_name */ - { 407, 0 }, /* (318) col_list_opt ::= */ - { 407, -3 }, /* (319) col_list_opt ::= NK_LP col_name_list NK_RP */ - { 408, 0 }, /* (320) tag_def_or_ref_opt ::= */ - { 408, -1 }, /* (321) tag_def_or_ref_opt ::= tags_def */ - { 408, -4 }, /* (322) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - { 406, 0 }, /* (323) stream_options ::= */ - { 406, -3 }, /* (324) stream_options ::= stream_options TRIGGER AT_ONCE */ - { 406, -3 }, /* (325) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - { 406, -4 }, /* (326) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - { 406, -3 }, /* (327) stream_options ::= stream_options WATERMARK duration_literal */ - { 406, -4 }, /* (328) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - { 406, -3 }, /* (329) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - { 406, -3 }, /* (330) stream_options ::= stream_options DELETE_MARK duration_literal */ - { 406, -4 }, /* (331) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - { 409, 0 }, /* (332) subtable_opt ::= */ - { 409, -4 }, /* (333) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - { 329, -3 }, /* (334) cmd ::= KILL CONNECTION NK_INTEGER */ - { 329, -3 }, /* (335) cmd ::= KILL QUERY NK_STRING */ - { 329, -3 }, /* (336) cmd ::= KILL TRANSACTION NK_INTEGER */ - { 329, -2 }, /* (337) cmd ::= BALANCE VGROUP */ - { 329, -4 }, /* (338) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - { 329, -4 }, /* (339) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - { 329, -3 }, /* (340) cmd ::= SPLIT VGROUP NK_INTEGER */ - { 411, -2 }, /* (341) dnode_list ::= DNODE NK_INTEGER */ - { 411, -3 }, /* (342) dnode_list ::= dnode_list DNODE NK_INTEGER */ - { 329, -4 }, /* (343) cmd ::= DELETE FROM full_table_name where_clause_opt */ - { 329, -1 }, /* (344) cmd ::= query_or_subquery */ - { 329, -1 }, /* (345) cmd ::= insert_query */ - { 401, -7 }, /* (346) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - { 401, -4 }, /* (347) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - { 332, -1 }, /* (348) literal ::= NK_INTEGER */ - { 332, -1 }, /* (349) literal ::= NK_FLOAT */ - { 332, -1 }, /* (350) literal ::= NK_STRING */ - { 332, -1 }, /* (351) literal ::= NK_BOOL */ - { 332, -2 }, /* (352) literal ::= TIMESTAMP NK_STRING */ - { 332, -1 }, /* (353) literal ::= duration_literal */ - { 332, -1 }, /* (354) literal ::= NULL */ - { 332, -1 }, /* (355) literal ::= NK_QUESTION */ - { 378, -1 }, /* (356) duration_literal ::= NK_VARIABLE */ - { 413, -1 }, /* (357) signed ::= NK_INTEGER */ - { 413, -2 }, /* (358) signed ::= NK_PLUS NK_INTEGER */ - { 413, -2 }, /* (359) signed ::= NK_MINUS NK_INTEGER */ - { 413, -1 }, /* (360) signed ::= NK_FLOAT */ - { 413, -2 }, /* (361) signed ::= NK_PLUS NK_FLOAT */ - { 413, -2 }, /* (362) signed ::= NK_MINUS NK_FLOAT */ - { 367, -1 }, /* (363) signed_literal ::= signed */ - { 367, -1 }, /* (364) signed_literal ::= NK_STRING */ - { 367, -1 }, /* (365) signed_literal ::= NK_BOOL */ - { 367, -2 }, /* (366) signed_literal ::= TIMESTAMP NK_STRING */ - { 367, -1 }, /* (367) signed_literal ::= duration_literal */ - { 367, -1 }, /* (368) signed_literal ::= NULL */ - { 367, -1 }, /* (369) signed_literal ::= literal_func */ - { 367, -1 }, /* (370) signed_literal ::= NK_QUESTION */ - { 415, -1 }, /* (371) literal_list ::= signed_literal */ - { 415, -3 }, /* (372) literal_list ::= literal_list NK_COMMA signed_literal */ - { 340, -1 }, /* (373) db_name ::= NK_ID */ - { 373, -1 }, /* (374) table_name ::= NK_ID */ - { 365, -1 }, /* (375) column_name ::= NK_ID */ - { 380, -1 }, /* (376) function_name ::= NK_ID */ - { 416, -1 }, /* (377) table_alias ::= NK_ID */ - { 388, -1 }, /* (378) column_alias ::= NK_ID */ - { 334, -1 }, /* (379) user_name ::= NK_ID */ - { 341, -1 }, /* (380) topic_name ::= NK_ID */ - { 405, -1 }, /* (381) stream_name ::= NK_ID */ - { 398, -1 }, /* (382) cgroup_name ::= NK_ID */ - { 391, -1 }, /* (383) index_name ::= NK_ID */ - { 417, -1 }, /* (384) expr_or_subquery ::= expression */ - { 410, -1 }, /* (385) expression ::= literal */ - { 410, -1 }, /* (386) expression ::= pseudo_column */ - { 410, -1 }, /* (387) expression ::= column_reference */ - { 410, -1 }, /* (388) expression ::= function_expression */ - { 410, -1 }, /* (389) expression ::= case_when_expression */ - { 410, -3 }, /* (390) expression ::= NK_LP expression NK_RP */ - { 410, -2 }, /* (391) expression ::= NK_PLUS expr_or_subquery */ - { 410, -2 }, /* (392) expression ::= NK_MINUS expr_or_subquery */ - { 410, -3 }, /* (393) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - { 410, -3 }, /* (394) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - { 410, -3 }, /* (395) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - { 410, -3 }, /* (396) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - { 410, -3 }, /* (397) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - { 410, -3 }, /* (398) expression ::= column_reference NK_ARROW NK_STRING */ - { 410, -3 }, /* (399) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - { 410, -3 }, /* (400) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - { 370, -1 }, /* (401) expression_list ::= expr_or_subquery */ - { 370, -3 }, /* (402) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - { 419, -1 }, /* (403) column_reference ::= column_name */ - { 419, -3 }, /* (404) column_reference ::= table_name NK_DOT column_name */ - { 418, -1 }, /* (405) pseudo_column ::= ROWTS */ - { 418, -1 }, /* (406) pseudo_column ::= TBNAME */ - { 418, -3 }, /* (407) pseudo_column ::= table_name NK_DOT TBNAME */ - { 418, -1 }, /* (408) pseudo_column ::= QSTART */ - { 418, -1 }, /* (409) pseudo_column ::= QEND */ - { 418, -1 }, /* (410) pseudo_column ::= QDURATION */ - { 418, -1 }, /* (411) pseudo_column ::= WSTART */ - { 418, -1 }, /* (412) pseudo_column ::= WEND */ - { 418, -1 }, /* (413) pseudo_column ::= WDURATION */ - { 418, -1 }, /* (414) pseudo_column ::= IROWTS */ - { 418, -1 }, /* (415) pseudo_column ::= ISFILLED */ - { 418, -1 }, /* (416) pseudo_column ::= QTAGS */ - { 420, -4 }, /* (417) function_expression ::= function_name NK_LP expression_list NK_RP */ - { 420, -4 }, /* (418) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - { 420, -6 }, /* (419) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - { 420, -1 }, /* (420) function_expression ::= literal_func */ - { 414, -3 }, /* (421) literal_func ::= noarg_func NK_LP NK_RP */ - { 414, -1 }, /* (422) literal_func ::= NOW */ - { 424, -1 }, /* (423) noarg_func ::= NOW */ - { 424, -1 }, /* (424) noarg_func ::= TODAY */ - { 424, -1 }, /* (425) noarg_func ::= TIMEZONE */ - { 424, -1 }, /* (426) noarg_func ::= DATABASE */ - { 424, -1 }, /* (427) noarg_func ::= CLIENT_VERSION */ - { 424, -1 }, /* (428) noarg_func ::= SERVER_VERSION */ - { 424, -1 }, /* (429) noarg_func ::= SERVER_STATUS */ - { 424, -1 }, /* (430) noarg_func ::= CURRENT_USER */ - { 424, -1 }, /* (431) noarg_func ::= USER */ - { 422, -1 }, /* (432) star_func ::= COUNT */ - { 422, -1 }, /* (433) star_func ::= FIRST */ - { 422, -1 }, /* (434) star_func ::= LAST */ - { 422, -1 }, /* (435) star_func ::= LAST_ROW */ - { 423, -1 }, /* (436) star_func_para_list ::= NK_STAR */ - { 423, -1 }, /* (437) star_func_para_list ::= other_para_list */ - { 425, -1 }, /* (438) other_para_list ::= star_func_para */ - { 425, -3 }, /* (439) other_para_list ::= other_para_list NK_COMMA star_func_para */ - { 426, -1 }, /* (440) star_func_para ::= expr_or_subquery */ - { 426, -3 }, /* (441) star_func_para ::= table_name NK_DOT NK_STAR */ - { 421, -4 }, /* (442) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - { 421, -5 }, /* (443) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - { 427, -1 }, /* (444) when_then_list ::= when_then_expr */ - { 427, -2 }, /* (445) when_then_list ::= when_then_list when_then_expr */ - { 430, -4 }, /* (446) when_then_expr ::= WHEN common_expression THEN common_expression */ - { 428, 0 }, /* (447) case_when_else_opt ::= */ - { 428, -2 }, /* (448) case_when_else_opt ::= ELSE common_expression */ - { 431, -3 }, /* (449) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - { 431, -5 }, /* (450) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - { 431, -6 }, /* (451) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - { 431, -3 }, /* (452) predicate ::= expr_or_subquery IS NULL */ - { 431, -4 }, /* (453) predicate ::= expr_or_subquery IS NOT NULL */ - { 431, -3 }, /* (454) predicate ::= expr_or_subquery in_op in_predicate_value */ - { 432, -1 }, /* (455) compare_op ::= NK_LT */ - { 432, -1 }, /* (456) compare_op ::= NK_GT */ - { 432, -1 }, /* (457) compare_op ::= NK_LE */ - { 432, -1 }, /* (458) compare_op ::= NK_GE */ - { 432, -1 }, /* (459) compare_op ::= NK_NE */ - { 432, -1 }, /* (460) compare_op ::= NK_EQ */ - { 432, -1 }, /* (461) compare_op ::= LIKE */ - { 432, -2 }, /* (462) compare_op ::= NOT LIKE */ - { 432, -1 }, /* (463) compare_op ::= MATCH */ - { 432, -1 }, /* (464) compare_op ::= NMATCH */ - { 432, -1 }, /* (465) compare_op ::= CONTAINS */ - { 433, -1 }, /* (466) in_op ::= IN */ - { 433, -2 }, /* (467) in_op ::= NOT IN */ - { 434, -3 }, /* (468) in_predicate_value ::= NK_LP literal_list NK_RP */ - { 435, -1 }, /* (469) boolean_value_expression ::= boolean_primary */ - { 435, -2 }, /* (470) boolean_value_expression ::= NOT boolean_primary */ - { 435, -3 }, /* (471) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - { 435, -3 }, /* (472) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - { 436, -1 }, /* (473) boolean_primary ::= predicate */ - { 436, -3 }, /* (474) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - { 429, -1 }, /* (475) common_expression ::= expr_or_subquery */ - { 429, -1 }, /* (476) common_expression ::= boolean_value_expression */ - { 437, 0 }, /* (477) from_clause_opt ::= */ - { 437, -2 }, /* (478) from_clause_opt ::= FROM table_reference_list */ - { 438, -1 }, /* (479) table_reference_list ::= table_reference */ - { 438, -3 }, /* (480) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - { 439, -1 }, /* (481) table_reference ::= table_primary */ - { 439, -1 }, /* (482) table_reference ::= joined_table */ - { 440, -2 }, /* (483) table_primary ::= table_name alias_opt */ - { 440, -4 }, /* (484) table_primary ::= db_name NK_DOT table_name alias_opt */ - { 440, -2 }, /* (485) table_primary ::= subquery alias_opt */ - { 440, -1 }, /* (486) table_primary ::= parenthesized_joined_table */ - { 442, 0 }, /* (487) alias_opt ::= */ - { 442, -1 }, /* (488) alias_opt ::= table_alias */ - { 442, -2 }, /* (489) alias_opt ::= AS table_alias */ - { 444, -3 }, /* (490) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - { 444, -3 }, /* (491) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - { 441, -6 }, /* (492) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - { 445, 0 }, /* (493) join_type ::= */ - { 445, -1 }, /* (494) join_type ::= INNER */ - { 447, -12 }, /* (495) query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ - { 448, 0 }, /* (496) set_quantifier_opt ::= */ - { 448, -1 }, /* (497) set_quantifier_opt ::= DISTINCT */ - { 448, -1 }, /* (498) set_quantifier_opt ::= ALL */ - { 449, -1 }, /* (499) select_list ::= select_item */ - { 449, -3 }, /* (500) select_list ::= select_list NK_COMMA select_item */ - { 457, -1 }, /* (501) select_item ::= NK_STAR */ - { 457, -1 }, /* (502) select_item ::= common_expression */ - { 457, -2 }, /* (503) select_item ::= common_expression column_alias */ - { 457, -3 }, /* (504) select_item ::= common_expression AS column_alias */ - { 457, -3 }, /* (505) select_item ::= table_name NK_DOT NK_STAR */ - { 412, 0 }, /* (506) where_clause_opt ::= */ - { 412, -2 }, /* (507) where_clause_opt ::= WHERE search_condition */ - { 450, 0 }, /* (508) partition_by_clause_opt ::= */ - { 450, -3 }, /* (509) partition_by_clause_opt ::= PARTITION BY partition_list */ - { 458, -1 }, /* (510) partition_list ::= partition_item */ - { 458, -3 }, /* (511) partition_list ::= partition_list NK_COMMA partition_item */ - { 459, -1 }, /* (512) partition_item ::= expr_or_subquery */ - { 459, -2 }, /* (513) partition_item ::= expr_or_subquery column_alias */ - { 459, -3 }, /* (514) partition_item ::= expr_or_subquery AS column_alias */ - { 454, 0 }, /* (515) twindow_clause_opt ::= */ - { 454, -6 }, /* (516) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - { 454, -4 }, /* (517) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - { 454, -6 }, /* (518) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - { 454, -8 }, /* (519) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - { 454, -7 }, /* (520) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - { 393, 0 }, /* (521) sliding_opt ::= */ - { 393, -4 }, /* (522) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - { 453, 0 }, /* (523) fill_opt ::= */ - { 453, -4 }, /* (524) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - { 453, -6 }, /* (525) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ - { 453, -6 }, /* (526) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ - { 460, -1 }, /* (527) fill_mode ::= NONE */ - { 460, -1 }, /* (528) fill_mode ::= PREV */ - { 460, -1 }, /* (529) fill_mode ::= NULL */ - { 460, -1 }, /* (530) fill_mode ::= NULL_F */ - { 460, -1 }, /* (531) fill_mode ::= LINEAR */ - { 460, -1 }, /* (532) fill_mode ::= NEXT */ - { 455, 0 }, /* (533) group_by_clause_opt ::= */ - { 455, -3 }, /* (534) group_by_clause_opt ::= GROUP BY group_by_list */ - { 461, -1 }, /* (535) group_by_list ::= expr_or_subquery */ - { 461, -3 }, /* (536) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - { 456, 0 }, /* (537) having_clause_opt ::= */ - { 456, -2 }, /* (538) having_clause_opt ::= HAVING search_condition */ - { 451, 0 }, /* (539) range_opt ::= */ - { 451, -6 }, /* (540) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - { 452, 0 }, /* (541) every_opt ::= */ - { 452, -4 }, /* (542) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - { 462, -4 }, /* (543) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - { 463, -1 }, /* (544) query_simple ::= query_specification */ - { 463, -1 }, /* (545) query_simple ::= union_query_expression */ - { 467, -4 }, /* (546) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - { 467, -3 }, /* (547) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - { 468, -1 }, /* (548) query_simple_or_subquery ::= query_simple */ - { 468, -1 }, /* (549) query_simple_or_subquery ::= subquery */ - { 397, -1 }, /* (550) query_or_subquery ::= query_expression */ - { 397, -1 }, /* (551) query_or_subquery ::= subquery */ - { 464, 0 }, /* (552) order_by_clause_opt ::= */ - { 464, -3 }, /* (553) order_by_clause_opt ::= ORDER BY sort_specification_list */ - { 465, 0 }, /* (554) slimit_clause_opt ::= */ - { 465, -2 }, /* (555) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - { 465, -4 }, /* (556) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - { 465, -4 }, /* (557) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 466, 0 }, /* (558) limit_clause_opt ::= */ - { 466, -2 }, /* (559) limit_clause_opt ::= LIMIT NK_INTEGER */ - { 466, -4 }, /* (560) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - { 466, -4 }, /* (561) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 443, -3 }, /* (562) subquery ::= NK_LP query_expression NK_RP */ - { 443, -3 }, /* (563) subquery ::= NK_LP subquery NK_RP */ - { 446, -1 }, /* (564) search_condition ::= common_expression */ - { 469, -1 }, /* (565) sort_specification_list ::= sort_specification */ - { 469, -3 }, /* (566) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - { 470, -3 }, /* (567) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - { 471, 0 }, /* (568) ordering_specification_opt ::= */ - { 471, -1 }, /* (569) ordering_specification_opt ::= ASC */ - { 471, -1 }, /* (570) ordering_specification_opt ::= DESC */ - { 472, 0 }, /* (571) null_ordering_opt ::= */ - { 472, -2 }, /* (572) null_ordering_opt ::= NULLS FIRST */ - { 472, -2 }, /* (573) null_ordering_opt ::= NULLS LAST */ + { 354, -2 }, /* (121) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ + { 354, -3 }, /* (122) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + { 354, -2 }, /* (123) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ + { 354, -3 }, /* (124) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + { 351, -1 }, /* (125) integer_list ::= NK_INTEGER */ + { 351, -3 }, /* (126) integer_list ::= integer_list NK_COMMA NK_INTEGER */ + { 352, -1 }, /* (127) variable_list ::= NK_VARIABLE */ + { 352, -3 }, /* (128) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + { 353, -1 }, /* (129) retention_list ::= retention */ + { 353, -3 }, /* (130) retention_list ::= retention_list NK_COMMA retention */ + { 355, -3 }, /* (131) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + { 348, 0 }, /* (132) speed_opt ::= */ + { 348, -2 }, /* (133) speed_opt ::= MAX_SPEED NK_INTEGER */ + { 349, 0 }, /* (134) start_opt ::= */ + { 349, -3 }, /* (135) start_opt ::= START WITH NK_INTEGER */ + { 349, -3 }, /* (136) start_opt ::= START WITH NK_STRING */ + { 349, -4 }, /* (137) start_opt ::= START WITH TIMESTAMP NK_STRING */ + { 350, 0 }, /* (138) end_opt ::= */ + { 350, -3 }, /* (139) end_opt ::= END WITH NK_INTEGER */ + { 350, -3 }, /* (140) end_opt ::= END WITH NK_STRING */ + { 350, -4 }, /* (141) end_opt ::= END WITH TIMESTAMP NK_STRING */ + { 329, -9 }, /* (142) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + { 329, -3 }, /* (143) cmd ::= CREATE TABLE multi_create_clause */ + { 329, -9 }, /* (144) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ + { 329, -3 }, /* (145) cmd ::= DROP TABLE multi_drop_clause */ + { 329, -4 }, /* (146) cmd ::= DROP STABLE exists_opt full_table_name */ + { 329, -3 }, /* (147) cmd ::= ALTER TABLE alter_table_clause */ + { 329, -3 }, /* (148) cmd ::= ALTER STABLE alter_table_clause */ + { 363, -2 }, /* (149) alter_table_clause ::= full_table_name alter_table_options */ + { 363, -5 }, /* (150) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + { 363, -4 }, /* (151) alter_table_clause ::= full_table_name DROP COLUMN column_name */ + { 363, -5 }, /* (152) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + { 363, -5 }, /* (153) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + { 363, -5 }, /* (154) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + { 363, -4 }, /* (155) alter_table_clause ::= full_table_name DROP TAG column_name */ + { 363, -5 }, /* (156) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + { 363, -5 }, /* (157) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + { 363, -6 }, /* (158) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + { 360, -1 }, /* (159) multi_create_clause ::= create_subtable_clause */ + { 360, -2 }, /* (160) multi_create_clause ::= multi_create_clause create_subtable_clause */ + { 368, -10 }, /* (161) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ + { 362, -1 }, /* (162) multi_drop_clause ::= drop_table_clause */ + { 362, -3 }, /* (163) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ + { 371, -2 }, /* (164) drop_table_clause ::= exists_opt full_table_name */ + { 369, 0 }, /* (165) specific_cols_opt ::= */ + { 369, -3 }, /* (166) specific_cols_opt ::= NK_LP col_name_list NK_RP */ + { 356, -1 }, /* (167) full_table_name ::= table_name */ + { 356, -3 }, /* (168) full_table_name ::= db_name NK_DOT table_name */ + { 357, -1 }, /* (169) column_def_list ::= column_def */ + { 357, -3 }, /* (170) column_def_list ::= column_def_list NK_COMMA column_def */ + { 374, -2 }, /* (171) column_def ::= column_name type_name */ + { 374, -4 }, /* (172) column_def ::= column_name type_name COMMENT NK_STRING */ + { 366, -1 }, /* (173) type_name ::= BOOL */ + { 366, -1 }, /* (174) type_name ::= TINYINT */ + { 366, -1 }, /* (175) type_name ::= SMALLINT */ + { 366, -1 }, /* (176) type_name ::= INT */ + { 366, -1 }, /* (177) type_name ::= INTEGER */ + { 366, -1 }, /* (178) type_name ::= BIGINT */ + { 366, -1 }, /* (179) type_name ::= FLOAT */ + { 366, -1 }, /* (180) type_name ::= DOUBLE */ + { 366, -4 }, /* (181) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + { 366, -1 }, /* (182) type_name ::= TIMESTAMP */ + { 366, -4 }, /* (183) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + { 366, -2 }, /* (184) type_name ::= TINYINT UNSIGNED */ + { 366, -2 }, /* (185) type_name ::= SMALLINT UNSIGNED */ + { 366, -2 }, /* (186) type_name ::= INT UNSIGNED */ + { 366, -2 }, /* (187) type_name ::= BIGINT UNSIGNED */ + { 366, -1 }, /* (188) type_name ::= JSON */ + { 366, -4 }, /* (189) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + { 366, -1 }, /* (190) type_name ::= MEDIUMBLOB */ + { 366, -1 }, /* (191) type_name ::= BLOB */ + { 366, -4 }, /* (192) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + { 366, -1 }, /* (193) type_name ::= DECIMAL */ + { 366, -4 }, /* (194) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + { 366, -6 }, /* (195) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + { 358, 0 }, /* (196) tags_def_opt ::= */ + { 358, -1 }, /* (197) tags_def_opt ::= tags_def */ + { 361, -4 }, /* (198) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + { 359, 0 }, /* (199) table_options ::= */ + { 359, -3 }, /* (200) table_options ::= table_options COMMENT NK_STRING */ + { 359, -3 }, /* (201) table_options ::= table_options MAX_DELAY duration_list */ + { 359, -3 }, /* (202) table_options ::= table_options WATERMARK duration_list */ + { 359, -5 }, /* (203) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + { 359, -3 }, /* (204) table_options ::= table_options TTL NK_INTEGER */ + { 359, -5 }, /* (205) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + { 359, -3 }, /* (206) table_options ::= table_options DELETE_MARK duration_list */ + { 364, -1 }, /* (207) alter_table_options ::= alter_table_option */ + { 364, -2 }, /* (208) alter_table_options ::= alter_table_options alter_table_option */ + { 377, -2 }, /* (209) alter_table_option ::= COMMENT NK_STRING */ + { 377, -2 }, /* (210) alter_table_option ::= TTL NK_INTEGER */ + { 375, -1 }, /* (211) duration_list ::= duration_literal */ + { 375, -3 }, /* (212) duration_list ::= duration_list NK_COMMA duration_literal */ + { 376, -1 }, /* (213) rollup_func_list ::= rollup_func_name */ + { 376, -3 }, /* (214) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + { 379, -1 }, /* (215) rollup_func_name ::= function_name */ + { 379, -1 }, /* (216) rollup_func_name ::= FIRST */ + { 379, -1 }, /* (217) rollup_func_name ::= LAST */ + { 372, -1 }, /* (218) col_name_list ::= col_name */ + { 372, -3 }, /* (219) col_name_list ::= col_name_list NK_COMMA col_name */ + { 381, -1 }, /* (220) col_name ::= column_name */ + { 329, -2 }, /* (221) cmd ::= SHOW DNODES */ + { 329, -2 }, /* (222) cmd ::= SHOW USERS */ + { 329, -3 }, /* (223) cmd ::= SHOW USER PRIVILEGES */ + { 329, -2 }, /* (224) cmd ::= SHOW DATABASES */ + { 329, -4 }, /* (225) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + { 329, -4 }, /* (226) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + { 329, -3 }, /* (227) cmd ::= SHOW db_name_cond_opt VGROUPS */ + { 329, -2 }, /* (228) cmd ::= SHOW MNODES */ + { 329, -2 }, /* (229) cmd ::= SHOW QNODES */ + { 329, -2 }, /* (230) cmd ::= SHOW FUNCTIONS */ + { 329, -5 }, /* (231) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + { 329, -2 }, /* (232) cmd ::= SHOW STREAMS */ + { 329, -2 }, /* (233) cmd ::= SHOW ACCOUNTS */ + { 329, -2 }, /* (234) cmd ::= SHOW APPS */ + { 329, -2 }, /* (235) cmd ::= SHOW CONNECTIONS */ + { 329, -2 }, /* (236) cmd ::= SHOW LICENCES */ + { 329, -2 }, /* (237) cmd ::= SHOW GRANTS */ + { 329, -4 }, /* (238) cmd ::= SHOW CREATE DATABASE db_name */ + { 329, -4 }, /* (239) cmd ::= SHOW CREATE TABLE full_table_name */ + { 329, -4 }, /* (240) cmd ::= SHOW CREATE STABLE full_table_name */ + { 329, -2 }, /* (241) cmd ::= SHOW QUERIES */ + { 329, -2 }, /* (242) cmd ::= SHOW SCORES */ + { 329, -2 }, /* (243) cmd ::= SHOW TOPICS */ + { 329, -2 }, /* (244) cmd ::= SHOW VARIABLES */ + { 329, -3 }, /* (245) cmd ::= SHOW CLUSTER VARIABLES */ + { 329, -3 }, /* (246) cmd ::= SHOW LOCAL VARIABLES */ + { 329, -5 }, /* (247) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + { 329, -2 }, /* (248) cmd ::= SHOW BNODES */ + { 329, -2 }, /* (249) cmd ::= SHOW SNODES */ + { 329, -2 }, /* (250) cmd ::= SHOW CLUSTER */ + { 329, -2 }, /* (251) cmd ::= SHOW TRANSACTIONS */ + { 329, -4 }, /* (252) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + { 329, -2 }, /* (253) cmd ::= SHOW CONSUMERS */ + { 329, -2 }, /* (254) cmd ::= SHOW SUBSCRIPTIONS */ + { 329, -5 }, /* (255) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + { 329, -7 }, /* (256) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + { 329, -3 }, /* (257) cmd ::= SHOW VNODES NK_INTEGER */ + { 329, -3 }, /* (258) cmd ::= SHOW VNODES NK_STRING */ + { 329, -3 }, /* (259) cmd ::= SHOW db_name_cond_opt ALIVE */ + { 329, -3 }, /* (260) cmd ::= SHOW CLUSTER ALIVE */ + { 382, 0 }, /* (261) db_name_cond_opt ::= */ + { 382, -2 }, /* (262) db_name_cond_opt ::= db_name NK_DOT */ + { 383, 0 }, /* (263) like_pattern_opt ::= */ + { 383, -2 }, /* (264) like_pattern_opt ::= LIKE NK_STRING */ + { 384, -1 }, /* (265) table_name_cond ::= table_name */ + { 385, 0 }, /* (266) from_db_opt ::= */ + { 385, -2 }, /* (267) from_db_opt ::= FROM db_name */ + { 386, 0 }, /* (268) tag_list_opt ::= */ + { 386, -1 }, /* (269) tag_list_opt ::= tag_item */ + { 386, -3 }, /* (270) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + { 387, -1 }, /* (271) tag_item ::= TBNAME */ + { 387, -1 }, /* (272) tag_item ::= QTAGS */ + { 387, -1 }, /* (273) tag_item ::= column_name */ + { 387, -2 }, /* (274) tag_item ::= column_name column_alias */ + { 387, -3 }, /* (275) tag_item ::= column_name AS column_alias */ + { 329, -8 }, /* (276) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + { 329, -9 }, /* (277) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + { 329, -4 }, /* (278) cmd ::= DROP INDEX exists_opt full_index_name */ + { 389, -1 }, /* (279) full_index_name ::= index_name */ + { 389, -3 }, /* (280) full_index_name ::= db_name NK_DOT index_name */ + { 390, -10 }, /* (281) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + { 390, -12 }, /* (282) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ + { 392, -1 }, /* (283) func_list ::= func */ + { 392, -3 }, /* (284) func_list ::= func_list NK_COMMA func */ + { 395, -4 }, /* (285) func ::= sma_func_name NK_LP expression_list NK_RP */ + { 396, -1 }, /* (286) sma_func_name ::= function_name */ + { 396, -1 }, /* (287) sma_func_name ::= COUNT */ + { 396, -1 }, /* (288) sma_func_name ::= FIRST */ + { 396, -1 }, /* (289) sma_func_name ::= LAST */ + { 396, -1 }, /* (290) sma_func_name ::= LAST_ROW */ + { 394, 0 }, /* (291) sma_stream_opt ::= */ + { 394, -3 }, /* (292) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + { 394, -3 }, /* (293) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + { 394, -3 }, /* (294) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + { 329, -6 }, /* (295) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + { 329, -7 }, /* (296) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ + { 329, -9 }, /* (297) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ + { 329, -7 }, /* (298) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ + { 329, -9 }, /* (299) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ + { 329, -4 }, /* (300) cmd ::= DROP TOPIC exists_opt topic_name */ + { 329, -7 }, /* (301) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + { 329, -2 }, /* (302) cmd ::= DESC full_table_name */ + { 329, -2 }, /* (303) cmd ::= DESCRIBE full_table_name */ + { 329, -3 }, /* (304) cmd ::= RESET QUERY CACHE */ + { 329, -4 }, /* (305) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + { 329, -4 }, /* (306) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + { 399, 0 }, /* (307) analyze_opt ::= */ + { 399, -1 }, /* (308) analyze_opt ::= ANALYZE */ + { 400, 0 }, /* (309) explain_options ::= */ + { 400, -3 }, /* (310) explain_options ::= explain_options VERBOSE NK_BOOL */ + { 400, -3 }, /* (311) explain_options ::= explain_options RATIO NK_FLOAT */ + { 329, -11 }, /* (312) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + { 329, -4 }, /* (313) cmd ::= DROP FUNCTION exists_opt function_name */ + { 402, 0 }, /* (314) agg_func_opt ::= */ + { 402, -1 }, /* (315) agg_func_opt ::= AGGREGATE */ + { 403, 0 }, /* (316) bufsize_opt ::= */ + { 403, -2 }, /* (317) bufsize_opt ::= BUFSIZE NK_INTEGER */ + { 404, 0 }, /* (318) language_opt ::= */ + { 404, -2 }, /* (319) language_opt ::= LANGUAGE NK_STRING */ + { 329, -12 }, /* (320) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + { 329, -4 }, /* (321) cmd ::= DROP STREAM exists_opt stream_name */ + { 407, 0 }, /* (322) col_list_opt ::= */ + { 407, -3 }, /* (323) col_list_opt ::= NK_LP col_name_list NK_RP */ + { 408, 0 }, /* (324) tag_def_or_ref_opt ::= */ + { 408, -1 }, /* (325) tag_def_or_ref_opt ::= tags_def */ + { 408, -4 }, /* (326) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + { 406, 0 }, /* (327) stream_options ::= */ + { 406, -3 }, /* (328) stream_options ::= stream_options TRIGGER AT_ONCE */ + { 406, -3 }, /* (329) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + { 406, -4 }, /* (330) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + { 406, -3 }, /* (331) stream_options ::= stream_options WATERMARK duration_literal */ + { 406, -4 }, /* (332) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + { 406, -3 }, /* (333) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + { 406, -3 }, /* (334) stream_options ::= stream_options DELETE_MARK duration_literal */ + { 406, -4 }, /* (335) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + { 409, 0 }, /* (336) subtable_opt ::= */ + { 409, -4 }, /* (337) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + { 329, -3 }, /* (338) cmd ::= KILL CONNECTION NK_INTEGER */ + { 329, -3 }, /* (339) cmd ::= KILL QUERY NK_STRING */ + { 329, -3 }, /* (340) cmd ::= KILL TRANSACTION NK_INTEGER */ + { 329, -2 }, /* (341) cmd ::= BALANCE VGROUP */ + { 329, -4 }, /* (342) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + { 329, -4 }, /* (343) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + { 329, -3 }, /* (344) cmd ::= SPLIT VGROUP NK_INTEGER */ + { 411, -2 }, /* (345) dnode_list ::= DNODE NK_INTEGER */ + { 411, -3 }, /* (346) dnode_list ::= dnode_list DNODE NK_INTEGER */ + { 329, -4 }, /* (347) cmd ::= DELETE FROM full_table_name where_clause_opt */ + { 329, -1 }, /* (348) cmd ::= query_or_subquery */ + { 329, -1 }, /* (349) cmd ::= insert_query */ + { 401, -7 }, /* (350) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + { 401, -4 }, /* (351) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + { 332, -1 }, /* (352) literal ::= NK_INTEGER */ + { 332, -1 }, /* (353) literal ::= NK_FLOAT */ + { 332, -1 }, /* (354) literal ::= NK_STRING */ + { 332, -1 }, /* (355) literal ::= NK_BOOL */ + { 332, -2 }, /* (356) literal ::= TIMESTAMP NK_STRING */ + { 332, -1 }, /* (357) literal ::= duration_literal */ + { 332, -1 }, /* (358) literal ::= NULL */ + { 332, -1 }, /* (359) literal ::= NK_QUESTION */ + { 378, -1 }, /* (360) duration_literal ::= NK_VARIABLE */ + { 413, -1 }, /* (361) signed ::= NK_INTEGER */ + { 413, -2 }, /* (362) signed ::= NK_PLUS NK_INTEGER */ + { 413, -2 }, /* (363) signed ::= NK_MINUS NK_INTEGER */ + { 413, -1 }, /* (364) signed ::= NK_FLOAT */ + { 413, -2 }, /* (365) signed ::= NK_PLUS NK_FLOAT */ + { 413, -2 }, /* (366) signed ::= NK_MINUS NK_FLOAT */ + { 367, -1 }, /* (367) signed_literal ::= signed */ + { 367, -1 }, /* (368) signed_literal ::= NK_STRING */ + { 367, -1 }, /* (369) signed_literal ::= NK_BOOL */ + { 367, -2 }, /* (370) signed_literal ::= TIMESTAMP NK_STRING */ + { 367, -1 }, /* (371) signed_literal ::= duration_literal */ + { 367, -1 }, /* (372) signed_literal ::= NULL */ + { 367, -1 }, /* (373) signed_literal ::= literal_func */ + { 367, -1 }, /* (374) signed_literal ::= NK_QUESTION */ + { 415, -1 }, /* (375) literal_list ::= signed_literal */ + { 415, -3 }, /* (376) literal_list ::= literal_list NK_COMMA signed_literal */ + { 340, -1 }, /* (377) db_name ::= NK_ID */ + { 373, -1 }, /* (378) table_name ::= NK_ID */ + { 365, -1 }, /* (379) column_name ::= NK_ID */ + { 380, -1 }, /* (380) function_name ::= NK_ID */ + { 416, -1 }, /* (381) table_alias ::= NK_ID */ + { 388, -1 }, /* (382) column_alias ::= NK_ID */ + { 334, -1 }, /* (383) user_name ::= NK_ID */ + { 341, -1 }, /* (384) topic_name ::= NK_ID */ + { 405, -1 }, /* (385) stream_name ::= NK_ID */ + { 398, -1 }, /* (386) cgroup_name ::= NK_ID */ + { 391, -1 }, /* (387) index_name ::= NK_ID */ + { 417, -1 }, /* (388) expr_or_subquery ::= expression */ + { 410, -1 }, /* (389) expression ::= literal */ + { 410, -1 }, /* (390) expression ::= pseudo_column */ + { 410, -1 }, /* (391) expression ::= column_reference */ + { 410, -1 }, /* (392) expression ::= function_expression */ + { 410, -1 }, /* (393) expression ::= case_when_expression */ + { 410, -3 }, /* (394) expression ::= NK_LP expression NK_RP */ + { 410, -2 }, /* (395) expression ::= NK_PLUS expr_or_subquery */ + { 410, -2 }, /* (396) expression ::= NK_MINUS expr_or_subquery */ + { 410, -3 }, /* (397) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + { 410, -3 }, /* (398) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + { 410, -3 }, /* (399) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + { 410, -3 }, /* (400) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + { 410, -3 }, /* (401) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + { 410, -3 }, /* (402) expression ::= column_reference NK_ARROW NK_STRING */ + { 410, -3 }, /* (403) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + { 410, -3 }, /* (404) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + { 370, -1 }, /* (405) expression_list ::= expr_or_subquery */ + { 370, -3 }, /* (406) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + { 419, -1 }, /* (407) column_reference ::= column_name */ + { 419, -3 }, /* (408) column_reference ::= table_name NK_DOT column_name */ + { 418, -1 }, /* (409) pseudo_column ::= ROWTS */ + { 418, -1 }, /* (410) pseudo_column ::= TBNAME */ + { 418, -3 }, /* (411) pseudo_column ::= table_name NK_DOT TBNAME */ + { 418, -1 }, /* (412) pseudo_column ::= QSTART */ + { 418, -1 }, /* (413) pseudo_column ::= QEND */ + { 418, -1 }, /* (414) pseudo_column ::= QDURATION */ + { 418, -1 }, /* (415) pseudo_column ::= WSTART */ + { 418, -1 }, /* (416) pseudo_column ::= WEND */ + { 418, -1 }, /* (417) pseudo_column ::= WDURATION */ + { 418, -1 }, /* (418) pseudo_column ::= IROWTS */ + { 418, -1 }, /* (419) pseudo_column ::= ISFILLED */ + { 418, -1 }, /* (420) pseudo_column ::= QTAGS */ + { 420, -4 }, /* (421) function_expression ::= function_name NK_LP expression_list NK_RP */ + { 420, -4 }, /* (422) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + { 420, -6 }, /* (423) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + { 420, -1 }, /* (424) function_expression ::= literal_func */ + { 414, -3 }, /* (425) literal_func ::= noarg_func NK_LP NK_RP */ + { 414, -1 }, /* (426) literal_func ::= NOW */ + { 424, -1 }, /* (427) noarg_func ::= NOW */ + { 424, -1 }, /* (428) noarg_func ::= TODAY */ + { 424, -1 }, /* (429) noarg_func ::= TIMEZONE */ + { 424, -1 }, /* (430) noarg_func ::= DATABASE */ + { 424, -1 }, /* (431) noarg_func ::= CLIENT_VERSION */ + { 424, -1 }, /* (432) noarg_func ::= SERVER_VERSION */ + { 424, -1 }, /* (433) noarg_func ::= SERVER_STATUS */ + { 424, -1 }, /* (434) noarg_func ::= CURRENT_USER */ + { 424, -1 }, /* (435) noarg_func ::= USER */ + { 422, -1 }, /* (436) star_func ::= COUNT */ + { 422, -1 }, /* (437) star_func ::= FIRST */ + { 422, -1 }, /* (438) star_func ::= LAST */ + { 422, -1 }, /* (439) star_func ::= LAST_ROW */ + { 423, -1 }, /* (440) star_func_para_list ::= NK_STAR */ + { 423, -1 }, /* (441) star_func_para_list ::= other_para_list */ + { 425, -1 }, /* (442) other_para_list ::= star_func_para */ + { 425, -3 }, /* (443) other_para_list ::= other_para_list NK_COMMA star_func_para */ + { 426, -1 }, /* (444) star_func_para ::= expr_or_subquery */ + { 426, -3 }, /* (445) star_func_para ::= table_name NK_DOT NK_STAR */ + { 421, -4 }, /* (446) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + { 421, -5 }, /* (447) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + { 427, -1 }, /* (448) when_then_list ::= when_then_expr */ + { 427, -2 }, /* (449) when_then_list ::= when_then_list when_then_expr */ + { 430, -4 }, /* (450) when_then_expr ::= WHEN common_expression THEN common_expression */ + { 428, 0 }, /* (451) case_when_else_opt ::= */ + { 428, -2 }, /* (452) case_when_else_opt ::= ELSE common_expression */ + { 431, -3 }, /* (453) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + { 431, -5 }, /* (454) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + { 431, -6 }, /* (455) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + { 431, -3 }, /* (456) predicate ::= expr_or_subquery IS NULL */ + { 431, -4 }, /* (457) predicate ::= expr_or_subquery IS NOT NULL */ + { 431, -3 }, /* (458) predicate ::= expr_or_subquery in_op in_predicate_value */ + { 432, -1 }, /* (459) compare_op ::= NK_LT */ + { 432, -1 }, /* (460) compare_op ::= NK_GT */ + { 432, -1 }, /* (461) compare_op ::= NK_LE */ + { 432, -1 }, /* (462) compare_op ::= NK_GE */ + { 432, -1 }, /* (463) compare_op ::= NK_NE */ + { 432, -1 }, /* (464) compare_op ::= NK_EQ */ + { 432, -1 }, /* (465) compare_op ::= LIKE */ + { 432, -2 }, /* (466) compare_op ::= NOT LIKE */ + { 432, -1 }, /* (467) compare_op ::= MATCH */ + { 432, -1 }, /* (468) compare_op ::= NMATCH */ + { 432, -1 }, /* (469) compare_op ::= CONTAINS */ + { 433, -1 }, /* (470) in_op ::= IN */ + { 433, -2 }, /* (471) in_op ::= NOT IN */ + { 434, -3 }, /* (472) in_predicate_value ::= NK_LP literal_list NK_RP */ + { 435, -1 }, /* (473) boolean_value_expression ::= boolean_primary */ + { 435, -2 }, /* (474) boolean_value_expression ::= NOT boolean_primary */ + { 435, -3 }, /* (475) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + { 435, -3 }, /* (476) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + { 436, -1 }, /* (477) boolean_primary ::= predicate */ + { 436, -3 }, /* (478) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + { 429, -1 }, /* (479) common_expression ::= expr_or_subquery */ + { 429, -1 }, /* (480) common_expression ::= boolean_value_expression */ + { 437, 0 }, /* (481) from_clause_opt ::= */ + { 437, -2 }, /* (482) from_clause_opt ::= FROM table_reference_list */ + { 438, -1 }, /* (483) table_reference_list ::= table_reference */ + { 438, -3 }, /* (484) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + { 439, -1 }, /* (485) table_reference ::= table_primary */ + { 439, -1 }, /* (486) table_reference ::= joined_table */ + { 440, -2 }, /* (487) table_primary ::= table_name alias_opt */ + { 440, -4 }, /* (488) table_primary ::= db_name NK_DOT table_name alias_opt */ + { 440, -2 }, /* (489) table_primary ::= subquery alias_opt */ + { 440, -1 }, /* (490) table_primary ::= parenthesized_joined_table */ + { 442, 0 }, /* (491) alias_opt ::= */ + { 442, -1 }, /* (492) alias_opt ::= table_alias */ + { 442, -2 }, /* (493) alias_opt ::= AS table_alias */ + { 444, -3 }, /* (494) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + { 444, -3 }, /* (495) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + { 441, -6 }, /* (496) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + { 445, 0 }, /* (497) join_type ::= */ + { 445, -1 }, /* (498) join_type ::= INNER */ + { 447, -12 }, /* (499) query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + { 448, 0 }, /* (500) set_quantifier_opt ::= */ + { 448, -1 }, /* (501) set_quantifier_opt ::= DISTINCT */ + { 448, -1 }, /* (502) set_quantifier_opt ::= ALL */ + { 449, -1 }, /* (503) select_list ::= select_item */ + { 449, -3 }, /* (504) select_list ::= select_list NK_COMMA select_item */ + { 457, -1 }, /* (505) select_item ::= NK_STAR */ + { 457, -1 }, /* (506) select_item ::= common_expression */ + { 457, -2 }, /* (507) select_item ::= common_expression column_alias */ + { 457, -3 }, /* (508) select_item ::= common_expression AS column_alias */ + { 457, -3 }, /* (509) select_item ::= table_name NK_DOT NK_STAR */ + { 412, 0 }, /* (510) where_clause_opt ::= */ + { 412, -2 }, /* (511) where_clause_opt ::= WHERE search_condition */ + { 450, 0 }, /* (512) partition_by_clause_opt ::= */ + { 450, -3 }, /* (513) partition_by_clause_opt ::= PARTITION BY partition_list */ + { 458, -1 }, /* (514) partition_list ::= partition_item */ + { 458, -3 }, /* (515) partition_list ::= partition_list NK_COMMA partition_item */ + { 459, -1 }, /* (516) partition_item ::= expr_or_subquery */ + { 459, -2 }, /* (517) partition_item ::= expr_or_subquery column_alias */ + { 459, -3 }, /* (518) partition_item ::= expr_or_subquery AS column_alias */ + { 454, 0 }, /* (519) twindow_clause_opt ::= */ + { 454, -6 }, /* (520) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + { 454, -4 }, /* (521) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + { 454, -6 }, /* (522) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + { 454, -8 }, /* (523) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + { 454, -7 }, /* (524) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + { 393, 0 }, /* (525) sliding_opt ::= */ + { 393, -4 }, /* (526) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + { 453, 0 }, /* (527) fill_opt ::= */ + { 453, -4 }, /* (528) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + { 453, -6 }, /* (529) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + { 453, -6 }, /* (530) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ + { 460, -1 }, /* (531) fill_mode ::= NONE */ + { 460, -1 }, /* (532) fill_mode ::= PREV */ + { 460, -1 }, /* (533) fill_mode ::= NULL */ + { 460, -1 }, /* (534) fill_mode ::= NULL_F */ + { 460, -1 }, /* (535) fill_mode ::= LINEAR */ + { 460, -1 }, /* (536) fill_mode ::= NEXT */ + { 455, 0 }, /* (537) group_by_clause_opt ::= */ + { 455, -3 }, /* (538) group_by_clause_opt ::= GROUP BY group_by_list */ + { 461, -1 }, /* (539) group_by_list ::= expr_or_subquery */ + { 461, -3 }, /* (540) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + { 456, 0 }, /* (541) having_clause_opt ::= */ + { 456, -2 }, /* (542) having_clause_opt ::= HAVING search_condition */ + { 451, 0 }, /* (543) range_opt ::= */ + { 451, -6 }, /* (544) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + { 452, 0 }, /* (545) every_opt ::= */ + { 452, -4 }, /* (546) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + { 462, -4 }, /* (547) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + { 463, -1 }, /* (548) query_simple ::= query_specification */ + { 463, -1 }, /* (549) query_simple ::= union_query_expression */ + { 467, -4 }, /* (550) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + { 467, -3 }, /* (551) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + { 468, -1 }, /* (552) query_simple_or_subquery ::= query_simple */ + { 468, -1 }, /* (553) query_simple_or_subquery ::= subquery */ + { 397, -1 }, /* (554) query_or_subquery ::= query_expression */ + { 397, -1 }, /* (555) query_or_subquery ::= subquery */ + { 464, 0 }, /* (556) order_by_clause_opt ::= */ + { 464, -3 }, /* (557) order_by_clause_opt ::= ORDER BY sort_specification_list */ + { 465, 0 }, /* (558) slimit_clause_opt ::= */ + { 465, -2 }, /* (559) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + { 465, -4 }, /* (560) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + { 465, -4 }, /* (561) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 466, 0 }, /* (562) limit_clause_opt ::= */ + { 466, -2 }, /* (563) limit_clause_opt ::= LIMIT NK_INTEGER */ + { 466, -4 }, /* (564) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + { 466, -4 }, /* (565) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 443, -3 }, /* (566) subquery ::= NK_LP query_expression NK_RP */ + { 443, -3 }, /* (567) subquery ::= NK_LP subquery NK_RP */ + { 446, -1 }, /* (568) search_condition ::= common_expression */ + { 469, -1 }, /* (569) sort_specification_list ::= sort_specification */ + { 469, -3 }, /* (570) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + { 470, -3 }, /* (571) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + { 471, 0 }, /* (572) ordering_specification_opt ::= */ + { 471, -1 }, /* (573) ordering_specification_opt ::= ASC */ + { 471, -1 }, /* (574) ordering_specification_opt ::= DESC */ + { 472, 0 }, /* (575) null_ordering_opt ::= */ + { 472, -2 }, /* (576) null_ordering_opt ::= NULLS FIRST */ + { 472, -2 }, /* (577) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -3858,8 +3866,8 @@ static YYACTIONTYPE yy_reduce( yymsp[-2].minor.yy63 = yylhsminor.yy63; break; case 42: /* priv_level ::= topic_name */ - case 282: /* sma_func_name ::= function_name */ yytestcase(yyruleno==282); - case 488: /* alias_opt ::= table_alias */ yytestcase(yyruleno==488); + case 286: /* sma_func_name ::= function_name */ yytestcase(yyruleno==286); + case 492: /* alias_opt ::= table_alias */ yytestcase(yyruleno==492); { yylhsminor.yy63 = yymsp[0].minor.yy63; } yymsp[0].minor.yy63 = yylhsminor.yy63; break; @@ -3890,49 +3898,49 @@ static YYACTIONTYPE yy_reduce( case 51: /* dnode_endpoint ::= NK_STRING */ case 52: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==52); case 53: /* dnode_endpoint ::= NK_IPTOKEN */ yytestcase(yyruleno==53); - case 283: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==283); - case 284: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==284); - case 285: /* sma_func_name ::= LAST */ yytestcase(yyruleno==285); - case 286: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==286); - case 373: /* db_name ::= NK_ID */ yytestcase(yyruleno==373); - case 374: /* table_name ::= NK_ID */ yytestcase(yyruleno==374); - case 375: /* column_name ::= NK_ID */ yytestcase(yyruleno==375); - case 376: /* function_name ::= NK_ID */ yytestcase(yyruleno==376); - case 377: /* table_alias ::= NK_ID */ yytestcase(yyruleno==377); - case 378: /* column_alias ::= NK_ID */ yytestcase(yyruleno==378); - case 379: /* user_name ::= NK_ID */ yytestcase(yyruleno==379); - case 380: /* topic_name ::= NK_ID */ yytestcase(yyruleno==380); - case 381: /* stream_name ::= NK_ID */ yytestcase(yyruleno==381); - case 382: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==382); - case 383: /* index_name ::= NK_ID */ yytestcase(yyruleno==383); - case 423: /* noarg_func ::= NOW */ yytestcase(yyruleno==423); - case 424: /* noarg_func ::= TODAY */ yytestcase(yyruleno==424); - case 425: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==425); - case 426: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==426); - case 427: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==427); - case 428: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==428); - case 429: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==429); - case 430: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==430); - case 431: /* noarg_func ::= USER */ yytestcase(yyruleno==431); - case 432: /* star_func ::= COUNT */ yytestcase(yyruleno==432); - case 433: /* star_func ::= FIRST */ yytestcase(yyruleno==433); - case 434: /* star_func ::= LAST */ yytestcase(yyruleno==434); - case 435: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==435); + case 287: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==287); + case 288: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==288); + case 289: /* sma_func_name ::= LAST */ yytestcase(yyruleno==289); + case 290: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==290); + case 377: /* db_name ::= NK_ID */ yytestcase(yyruleno==377); + case 378: /* table_name ::= NK_ID */ yytestcase(yyruleno==378); + case 379: /* column_name ::= NK_ID */ yytestcase(yyruleno==379); + case 380: /* function_name ::= NK_ID */ yytestcase(yyruleno==380); + case 381: /* table_alias ::= NK_ID */ yytestcase(yyruleno==381); + case 382: /* column_alias ::= NK_ID */ yytestcase(yyruleno==382); + case 383: /* user_name ::= NK_ID */ yytestcase(yyruleno==383); + case 384: /* topic_name ::= NK_ID */ yytestcase(yyruleno==384); + case 385: /* stream_name ::= NK_ID */ yytestcase(yyruleno==385); + case 386: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==386); + case 387: /* index_name ::= NK_ID */ yytestcase(yyruleno==387); + case 427: /* noarg_func ::= NOW */ yytestcase(yyruleno==427); + case 428: /* noarg_func ::= TODAY */ yytestcase(yyruleno==428); + case 429: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==429); + case 430: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==430); + case 431: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==431); + case 432: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==432); + case 433: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==433); + case 434: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==434); + case 435: /* noarg_func ::= USER */ yytestcase(yyruleno==435); + case 436: /* star_func ::= COUNT */ yytestcase(yyruleno==436); + case 437: /* star_func ::= FIRST */ yytestcase(yyruleno==437); + case 438: /* star_func ::= LAST */ yytestcase(yyruleno==438); + case 439: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==439); { yylhsminor.yy63 = yymsp[0].minor.yy0; } yymsp[0].minor.yy63 = yylhsminor.yy63; break; case 54: /* force_opt ::= */ case 74: /* not_exists_opt ::= */ yytestcase(yyruleno==74); case 76: /* exists_opt ::= */ yytestcase(yyruleno==76); - case 303: /* analyze_opt ::= */ yytestcase(yyruleno==303); - case 310: /* agg_func_opt ::= */ yytestcase(yyruleno==310); - case 496: /* set_quantifier_opt ::= */ yytestcase(yyruleno==496); + case 307: /* analyze_opt ::= */ yytestcase(yyruleno==307); + case 314: /* agg_func_opt ::= */ yytestcase(yyruleno==314); + case 500: /* set_quantifier_opt ::= */ yytestcase(yyruleno==500); { yymsp[1].minor.yy669 = false; } break; case 55: /* force_opt ::= FORCE */ - case 304: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==304); - case 311: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==311); - case 497: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==497); + case 308: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==308); + case 315: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==315); + case 501: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==501); { yymsp[0].minor.yy669 = true; } break; case 56: /* cmd ::= ALTER LOCAL NK_STRING */ @@ -4156,728 +4164,748 @@ static YYACTIONTYPE yy_reduce( case 120: /* alter_db_option ::= MINROWS NK_INTEGER */ { yymsp[-1].minor.yy233.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } break; - case 121: /* integer_list ::= NK_INTEGER */ + case 121: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ +{ yymsp[-1].minor.yy233.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } + break; + case 122: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ +{ + SToken t = yymsp[-1].minor.yy0; + t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; + yymsp[-2].minor.yy233.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy233.val = t; + } + break; + case 123: /* alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ +{ yymsp[-1].minor.yy233.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } + break; + case 124: /* alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ +{ + SToken t = yymsp[-1].minor.yy0; + t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; + yymsp[-2].minor.yy233.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy233.val = t; + } + break; + case 125: /* integer_list ::= NK_INTEGER */ { yylhsminor.yy222 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy222 = yylhsminor.yy222; break; - case 122: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 342: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==342); + case 126: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ + case 346: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==346); { yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } yymsp[-2].minor.yy222 = yylhsminor.yy222; break; - case 123: /* variable_list ::= NK_VARIABLE */ + case 127: /* variable_list ::= NK_VARIABLE */ { yylhsminor.yy222 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy222 = yylhsminor.yy222; break; - case 124: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + case 128: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ { yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[-2].minor.yy222 = yylhsminor.yy222; break; - case 125: /* retention_list ::= retention */ - case 155: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==155); - case 158: /* multi_drop_clause ::= drop_table_clause */ yytestcase(yyruleno==158); - case 165: /* column_def_list ::= column_def */ yytestcase(yyruleno==165); - case 209: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==209); - case 214: /* col_name_list ::= col_name */ yytestcase(yyruleno==214); - case 265: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==265); - case 279: /* func_list ::= func */ yytestcase(yyruleno==279); - case 371: /* literal_list ::= signed_literal */ yytestcase(yyruleno==371); - case 438: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==438); - case 444: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==444); - case 499: /* select_list ::= select_item */ yytestcase(yyruleno==499); - case 510: /* partition_list ::= partition_item */ yytestcase(yyruleno==510); - case 565: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==565); + case 129: /* retention_list ::= retention */ + case 159: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==159); + case 162: /* multi_drop_clause ::= drop_table_clause */ yytestcase(yyruleno==162); + case 169: /* column_def_list ::= column_def */ yytestcase(yyruleno==169); + case 213: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==213); + case 218: /* col_name_list ::= col_name */ yytestcase(yyruleno==218); + case 269: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==269); + case 283: /* func_list ::= func */ yytestcase(yyruleno==283); + case 375: /* literal_list ::= signed_literal */ yytestcase(yyruleno==375); + case 442: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==442); + case 448: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==448); + case 503: /* select_list ::= select_item */ yytestcase(yyruleno==503); + case 514: /* partition_list ::= partition_item */ yytestcase(yyruleno==514); + case 569: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==569); { yylhsminor.yy222 = createNodeList(pCxt, yymsp[0].minor.yy828); } yymsp[0].minor.yy222 = yylhsminor.yy222; break; - case 126: /* retention_list ::= retention_list NK_COMMA retention */ - case 159: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==159); - case 166: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==166); - case 210: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==210); - case 215: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==215); - case 266: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==266); - case 280: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==280); - case 372: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==372); - case 439: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==439); - case 500: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==500); - case 511: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==511); - case 566: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==566); + case 130: /* retention_list ::= retention_list NK_COMMA retention */ + case 163: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==163); + case 170: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==170); + case 214: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==214); + case 219: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==219); + case 270: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==270); + case 284: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==284); + case 376: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==376); + case 443: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==443); + case 504: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==504); + case 515: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==515); + case 570: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==570); { yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, yymsp[0].minor.yy828); } yymsp[-2].minor.yy222 = yylhsminor.yy222; break; - case 127: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + case 131: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ { yylhsminor.yy828 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 128: /* speed_opt ::= */ - case 312: /* bufsize_opt ::= */ yytestcase(yyruleno==312); + case 132: /* speed_opt ::= */ + case 316: /* bufsize_opt ::= */ yytestcase(yyruleno==316); { yymsp[1].minor.yy332 = 0; } break; - case 129: /* speed_opt ::= MAX_SPEED NK_INTEGER */ - case 313: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==313); + case 133: /* speed_opt ::= MAX_SPEED NK_INTEGER */ + case 317: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==317); { yymsp[-1].minor.yy332 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; - case 130: /* start_opt ::= */ - case 134: /* end_opt ::= */ yytestcase(yyruleno==134); - case 259: /* like_pattern_opt ::= */ yytestcase(yyruleno==259); - case 332: /* subtable_opt ::= */ yytestcase(yyruleno==332); - case 447: /* case_when_else_opt ::= */ yytestcase(yyruleno==447); - case 477: /* from_clause_opt ::= */ yytestcase(yyruleno==477); - case 506: /* where_clause_opt ::= */ yytestcase(yyruleno==506); - case 515: /* twindow_clause_opt ::= */ yytestcase(yyruleno==515); - case 521: /* sliding_opt ::= */ yytestcase(yyruleno==521); - case 523: /* fill_opt ::= */ yytestcase(yyruleno==523); - case 537: /* having_clause_opt ::= */ yytestcase(yyruleno==537); - case 539: /* range_opt ::= */ yytestcase(yyruleno==539); - case 541: /* every_opt ::= */ yytestcase(yyruleno==541); - case 554: /* slimit_clause_opt ::= */ yytestcase(yyruleno==554); - case 558: /* limit_clause_opt ::= */ yytestcase(yyruleno==558); + case 134: /* start_opt ::= */ + case 138: /* end_opt ::= */ yytestcase(yyruleno==138); + case 263: /* like_pattern_opt ::= */ yytestcase(yyruleno==263); + case 336: /* subtable_opt ::= */ yytestcase(yyruleno==336); + case 451: /* case_when_else_opt ::= */ yytestcase(yyruleno==451); + case 481: /* from_clause_opt ::= */ yytestcase(yyruleno==481); + case 510: /* where_clause_opt ::= */ yytestcase(yyruleno==510); + case 519: /* twindow_clause_opt ::= */ yytestcase(yyruleno==519); + case 525: /* sliding_opt ::= */ yytestcase(yyruleno==525); + case 527: /* fill_opt ::= */ yytestcase(yyruleno==527); + case 541: /* having_clause_opt ::= */ yytestcase(yyruleno==541); + case 543: /* range_opt ::= */ yytestcase(yyruleno==543); + case 545: /* every_opt ::= */ yytestcase(yyruleno==545); + case 558: /* slimit_clause_opt ::= */ yytestcase(yyruleno==558); + case 562: /* limit_clause_opt ::= */ yytestcase(yyruleno==562); { yymsp[1].minor.yy828 = NULL; } break; - case 131: /* start_opt ::= START WITH NK_INTEGER */ - case 135: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==135); + case 135: /* start_opt ::= START WITH NK_INTEGER */ + case 139: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==139); { yymsp[-2].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } break; - case 132: /* start_opt ::= START WITH NK_STRING */ - case 136: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==136); + case 136: /* start_opt ::= START WITH NK_STRING */ + case 140: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==140); { yymsp[-2].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 133: /* start_opt ::= START WITH TIMESTAMP NK_STRING */ - case 137: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==137); + case 137: /* start_opt ::= START WITH TIMESTAMP NK_STRING */ + case 141: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==141); { yymsp[-3].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 138: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - case 140: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==140); + case 142: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + case 144: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==144); { pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy669, yymsp[-5].minor.yy828, yymsp[-3].minor.yy222, yymsp[-1].minor.yy222, yymsp[0].minor.yy828); } break; - case 139: /* cmd ::= CREATE TABLE multi_create_clause */ + case 143: /* cmd ::= CREATE TABLE multi_create_clause */ { pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy222); } break; - case 141: /* cmd ::= DROP TABLE multi_drop_clause */ + case 145: /* cmd ::= DROP TABLE multi_drop_clause */ { pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy222); } break; - case 142: /* cmd ::= DROP STABLE exists_opt full_table_name */ + case 146: /* cmd ::= DROP STABLE exists_opt full_table_name */ { pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy669, yymsp[0].minor.yy828); } break; - case 143: /* cmd ::= ALTER TABLE alter_table_clause */ - case 344: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==344); - case 345: /* cmd ::= insert_query */ yytestcase(yyruleno==345); + case 147: /* cmd ::= ALTER TABLE alter_table_clause */ + case 348: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==348); + case 349: /* cmd ::= insert_query */ yytestcase(yyruleno==349); { pCxt->pRootNode = yymsp[0].minor.yy828; } break; - case 144: /* cmd ::= ALTER STABLE alter_table_clause */ + case 148: /* cmd ::= ALTER STABLE alter_table_clause */ { pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy828); } break; - case 145: /* alter_table_clause ::= full_table_name alter_table_options */ + case 149: /* alter_table_clause ::= full_table_name alter_table_options */ { yylhsminor.yy828 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 146: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + case 150: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ { yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 147: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ + case 151: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ { yylhsminor.yy828 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy828, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy63); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 148: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + case 152: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ { yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 149: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + case 153: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ { yylhsminor.yy828 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 150: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + case 154: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ { yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 151: /* alter_table_clause ::= full_table_name DROP TAG column_name */ + case 155: /* alter_table_clause ::= full_table_name DROP TAG column_name */ { yylhsminor.yy828 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy828, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy63); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 152: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + case 156: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ { yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 153: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + case 157: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ { yylhsminor.yy828 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 154: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + case 158: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ { yylhsminor.yy828 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy828, &yymsp[-2].minor.yy63, yymsp[0].minor.yy828); } yymsp[-5].minor.yy828 = yylhsminor.yy828; break; - case 156: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 445: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==445); + case 160: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ + case 449: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==449); { yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-1].minor.yy222, yymsp[0].minor.yy828); } yymsp[-1].minor.yy222 = yylhsminor.yy222; break; - case 157: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ + case 161: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ { yylhsminor.yy828 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy669, yymsp[-8].minor.yy828, yymsp[-6].minor.yy828, yymsp[-5].minor.yy222, yymsp[-2].minor.yy222, yymsp[0].minor.yy828); } yymsp[-9].minor.yy828 = yylhsminor.yy828; break; - case 160: /* drop_table_clause ::= exists_opt full_table_name */ + case 164: /* drop_table_clause ::= exists_opt full_table_name */ { yylhsminor.yy828 = createDropTableClause(pCxt, yymsp[-1].minor.yy669, yymsp[0].minor.yy828); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 161: /* specific_cols_opt ::= */ - case 192: /* tags_def_opt ::= */ yytestcase(yyruleno==192); - case 264: /* tag_list_opt ::= */ yytestcase(yyruleno==264); - case 318: /* col_list_opt ::= */ yytestcase(yyruleno==318); - case 320: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==320); - case 508: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==508); - case 533: /* group_by_clause_opt ::= */ yytestcase(yyruleno==533); - case 552: /* order_by_clause_opt ::= */ yytestcase(yyruleno==552); + case 165: /* specific_cols_opt ::= */ + case 196: /* tags_def_opt ::= */ yytestcase(yyruleno==196); + case 268: /* tag_list_opt ::= */ yytestcase(yyruleno==268); + case 322: /* col_list_opt ::= */ yytestcase(yyruleno==322); + case 324: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==324); + case 512: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==512); + case 537: /* group_by_clause_opt ::= */ yytestcase(yyruleno==537); + case 556: /* order_by_clause_opt ::= */ yytestcase(yyruleno==556); { yymsp[1].minor.yy222 = NULL; } break; - case 162: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ - case 319: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==319); + case 166: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ + case 323: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==323); { yymsp[-2].minor.yy222 = yymsp[-1].minor.yy222; } break; - case 163: /* full_table_name ::= table_name */ + case 167: /* full_table_name ::= table_name */ { yylhsminor.yy828 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy63, NULL); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 164: /* full_table_name ::= db_name NK_DOT table_name */ + case 168: /* full_table_name ::= db_name NK_DOT table_name */ { yylhsminor.yy828 = createRealTableNode(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63, NULL); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 167: /* column_def ::= column_name type_name */ + case 171: /* column_def ::= column_name type_name */ { yylhsminor.yy828 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686, NULL); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 168: /* column_def ::= column_name type_name COMMENT NK_STRING */ + case 172: /* column_def ::= column_name type_name COMMENT NK_STRING */ { yylhsminor.yy828 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy63, yymsp[-2].minor.yy686, &yymsp[0].minor.yy0); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 169: /* type_name ::= BOOL */ + case 173: /* type_name ::= BOOL */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_BOOL); } break; - case 170: /* type_name ::= TINYINT */ + case 174: /* type_name ::= TINYINT */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; - case 171: /* type_name ::= SMALLINT */ + case 175: /* type_name ::= SMALLINT */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; - case 172: /* type_name ::= INT */ - case 173: /* type_name ::= INTEGER */ yytestcase(yyruleno==173); + case 176: /* type_name ::= INT */ + case 177: /* type_name ::= INTEGER */ yytestcase(yyruleno==177); { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_INT); } break; - case 174: /* type_name ::= BIGINT */ + case 178: /* type_name ::= BIGINT */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; - case 175: /* type_name ::= FLOAT */ + case 179: /* type_name ::= FLOAT */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; - case 176: /* type_name ::= DOUBLE */ + case 180: /* type_name ::= DOUBLE */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; - case 177: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + case 181: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; - case 178: /* type_name ::= TIMESTAMP */ + case 182: /* type_name ::= TIMESTAMP */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; - case 179: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + case 183: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; - case 180: /* type_name ::= TINYINT UNSIGNED */ + case 184: /* type_name ::= TINYINT UNSIGNED */ { yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; - case 181: /* type_name ::= SMALLINT UNSIGNED */ + case 185: /* type_name ::= SMALLINT UNSIGNED */ { yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; - case 182: /* type_name ::= INT UNSIGNED */ + case 186: /* type_name ::= INT UNSIGNED */ { yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_UINT); } break; - case 183: /* type_name ::= BIGINT UNSIGNED */ + case 187: /* type_name ::= BIGINT UNSIGNED */ { yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; - case 184: /* type_name ::= JSON */ + case 188: /* type_name ::= JSON */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_JSON); } break; - case 185: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + case 189: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; - case 186: /* type_name ::= MEDIUMBLOB */ + case 190: /* type_name ::= MEDIUMBLOB */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; - case 187: /* type_name ::= BLOB */ + case 191: /* type_name ::= BLOB */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_BLOB); } break; - case 188: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + case 192: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; - case 189: /* type_name ::= DECIMAL */ + case 193: /* type_name ::= DECIMAL */ { yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 190: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + case 194: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy686 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 191: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + case 195: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ { yymsp[-5].minor.yy686 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 193: /* tags_def_opt ::= tags_def */ - case 321: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==321); - case 437: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==437); + case 197: /* tags_def_opt ::= tags_def */ + case 325: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==325); + case 441: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==441); { yylhsminor.yy222 = yymsp[0].minor.yy222; } yymsp[0].minor.yy222 = yylhsminor.yy222; break; - case 194: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ - case 322: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==322); + case 198: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ + case 326: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==326); { yymsp[-3].minor.yy222 = yymsp[-1].minor.yy222; } break; - case 195: /* table_options ::= */ + case 199: /* table_options ::= */ { yymsp[1].minor.yy828 = createDefaultTableOptions(pCxt); } break; - case 196: /* table_options ::= table_options COMMENT NK_STRING */ + case 200: /* table_options ::= table_options COMMENT NK_STRING */ { yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 197: /* table_options ::= table_options MAX_DELAY duration_list */ + case 201: /* table_options ::= table_options MAX_DELAY duration_list */ { yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy222); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 198: /* table_options ::= table_options WATERMARK duration_list */ + case 202: /* table_options ::= table_options WATERMARK duration_list */ { yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy222); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 199: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + case 203: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ { yylhsminor.yy828 = setTableOption(pCxt, yymsp[-4].minor.yy828, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy222); } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 200: /* table_options ::= table_options TTL NK_INTEGER */ + case 204: /* table_options ::= table_options TTL NK_INTEGER */ { yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 201: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + case 205: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ { yylhsminor.yy828 = setTableOption(pCxt, yymsp[-4].minor.yy828, TABLE_OPTION_SMA, yymsp[-1].minor.yy222); } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 202: /* table_options ::= table_options DELETE_MARK duration_list */ + case 206: /* table_options ::= table_options DELETE_MARK duration_list */ { yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy222); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 203: /* alter_table_options ::= alter_table_option */ + case 207: /* alter_table_options ::= alter_table_option */ { yylhsminor.yy828 = createAlterTableOptions(pCxt); yylhsminor.yy828 = setTableOption(pCxt, yylhsminor.yy828, yymsp[0].minor.yy233.type, &yymsp[0].minor.yy233.val); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 204: /* alter_table_options ::= alter_table_options alter_table_option */ + case 208: /* alter_table_options ::= alter_table_options alter_table_option */ { yylhsminor.yy828 = setTableOption(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy233.type, &yymsp[0].minor.yy233.val); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 205: /* alter_table_option ::= COMMENT NK_STRING */ + case 209: /* alter_table_option ::= COMMENT NK_STRING */ { yymsp[-1].minor.yy233.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } break; - case 206: /* alter_table_option ::= TTL NK_INTEGER */ + case 210: /* alter_table_option ::= TTL NK_INTEGER */ { yymsp[-1].minor.yy233.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } break; - case 207: /* duration_list ::= duration_literal */ - case 401: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==401); + case 211: /* duration_list ::= duration_literal */ + case 405: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==405); { yylhsminor.yy222 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } yymsp[0].minor.yy222 = yylhsminor.yy222; break; - case 208: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 402: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==402); + case 212: /* duration_list ::= duration_list NK_COMMA duration_literal */ + case 406: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==406); { yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } yymsp[-2].minor.yy222 = yylhsminor.yy222; break; - case 211: /* rollup_func_name ::= function_name */ + case 215: /* rollup_func_name ::= function_name */ { yylhsminor.yy828 = createFunctionNode(pCxt, &yymsp[0].minor.yy63, NULL); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 212: /* rollup_func_name ::= FIRST */ - case 213: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==213); - case 268: /* tag_item ::= QTAGS */ yytestcase(yyruleno==268); + case 216: /* rollup_func_name ::= FIRST */ + case 217: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==217); + case 272: /* tag_item ::= QTAGS */ yytestcase(yyruleno==272); { yylhsminor.yy828 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 216: /* col_name ::= column_name */ - case 269: /* tag_item ::= column_name */ yytestcase(yyruleno==269); + case 220: /* col_name ::= column_name */ + case 273: /* tag_item ::= column_name */ yytestcase(yyruleno==273); { yylhsminor.yy828 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy63); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 217: /* cmd ::= SHOW DNODES */ + case 221: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } break; - case 218: /* cmd ::= SHOW USERS */ + case 222: /* cmd ::= SHOW USERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_USERS_STMT); } break; - case 219: /* cmd ::= SHOW USER PRIVILEGES */ + case 223: /* cmd ::= SHOW USER PRIVILEGES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_USER_PRIVILEGES_STMT); } break; - case 220: /* cmd ::= SHOW DATABASES */ + case 224: /* cmd ::= SHOW DATABASES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; - case 221: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + case 225: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, OP_TYPE_LIKE); } break; - case 222: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + case 226: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, OP_TYPE_LIKE); } break; - case 223: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ + case 227: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy828, NULL, OP_TYPE_LIKE); } break; - case 224: /* cmd ::= SHOW MNODES */ + case 228: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } break; - case 225: /* cmd ::= SHOW QNODES */ + case 229: /* cmd ::= SHOW QNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QNODES_STMT); } break; - case 226: /* cmd ::= SHOW FUNCTIONS */ + case 230: /* cmd ::= SHOW FUNCTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; - case 227: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + case 231: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy828, yymsp[-1].minor.yy828, OP_TYPE_EQUAL); } break; - case 228: /* cmd ::= SHOW STREAMS */ + case 232: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } break; - case 229: /* cmd ::= SHOW ACCOUNTS */ + case 233: /* cmd ::= SHOW ACCOUNTS */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } break; - case 230: /* cmd ::= SHOW APPS */ + case 234: /* cmd ::= SHOW APPS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_APPS_STMT); } break; - case 231: /* cmd ::= SHOW CONNECTIONS */ + case 235: /* cmd ::= SHOW CONNECTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONNECTIONS_STMT); } break; - case 232: /* cmd ::= SHOW LICENCES */ - case 233: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==233); + case 236: /* cmd ::= SHOW LICENCES */ + case 237: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==237); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; - case 234: /* cmd ::= SHOW CREATE DATABASE db_name */ + case 238: /* cmd ::= SHOW CREATE DATABASE db_name */ { pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy63); } break; - case 235: /* cmd ::= SHOW CREATE TABLE full_table_name */ + case 239: /* cmd ::= SHOW CREATE TABLE full_table_name */ { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy828); } break; - case 236: /* cmd ::= SHOW CREATE STABLE full_table_name */ + case 240: /* cmd ::= SHOW CREATE STABLE full_table_name */ { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy828); } break; - case 237: /* cmd ::= SHOW QUERIES */ + case 241: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } break; - case 238: /* cmd ::= SHOW SCORES */ + case 242: /* cmd ::= SHOW SCORES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SCORES_STMT); } break; - case 239: /* cmd ::= SHOW TOPICS */ + case 243: /* cmd ::= SHOW TOPICS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TOPICS_STMT); } break; - case 240: /* cmd ::= SHOW VARIABLES */ - case 241: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==241); + case 244: /* cmd ::= SHOW VARIABLES */ + case 245: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==245); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_VARIABLES_STMT); } break; - case 242: /* cmd ::= SHOW LOCAL VARIABLES */ + case 246: /* cmd ::= SHOW LOCAL VARIABLES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; - case 243: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + case 247: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ { pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy828); } break; - case 244: /* cmd ::= SHOW BNODES */ + case 248: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } break; - case 245: /* cmd ::= SHOW SNODES */ + case 249: /* cmd ::= SHOW SNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SNODES_STMT); } break; - case 246: /* cmd ::= SHOW CLUSTER */ + case 250: /* cmd ::= SHOW CLUSTER */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_STMT); } break; - case 247: /* cmd ::= SHOW TRANSACTIONS */ + case 251: /* cmd ::= SHOW TRANSACTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; - case 248: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + case 252: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ { pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy828); } break; - case 249: /* cmd ::= SHOW CONSUMERS */ + case 253: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } break; - case 250: /* cmd ::= SHOW SUBSCRIPTIONS */ + case 254: /* cmd ::= SHOW SUBSCRIPTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; - case 251: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + case 255: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy828, yymsp[-1].minor.yy828, OP_TYPE_EQUAL); } break; - case 252: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + case 256: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy828, yymsp[-3].minor.yy222); } break; - case 253: /* cmd ::= SHOW VNODES NK_INTEGER */ + case 257: /* cmd ::= SHOW VNODES NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } break; - case 254: /* cmd ::= SHOW VNODES NK_STRING */ + case 258: /* cmd ::= SHOW VNODES NK_STRING */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, createValueNode(pCxt, TSDB_DATA_TYPE_VARCHAR, &yymsp[0].minor.yy0)); } break; - case 255: /* cmd ::= SHOW db_name_cond_opt ALIVE */ + case 259: /* cmd ::= SHOW db_name_cond_opt ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy828, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; - case 256: /* cmd ::= SHOW CLUSTER ALIVE */ + case 260: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; - case 257: /* db_name_cond_opt ::= */ - case 262: /* from_db_opt ::= */ yytestcase(yyruleno==262); + case 261: /* db_name_cond_opt ::= */ + case 266: /* from_db_opt ::= */ yytestcase(yyruleno==266); { yymsp[1].minor.yy828 = createDefaultDatabaseCondValue(pCxt); } break; - case 258: /* db_name_cond_opt ::= db_name NK_DOT */ + case 262: /* db_name_cond_opt ::= db_name NK_DOT */ { yylhsminor.yy828 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy63); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 260: /* like_pattern_opt ::= LIKE NK_STRING */ + case 264: /* like_pattern_opt ::= LIKE NK_STRING */ { yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; - case 261: /* table_name_cond ::= table_name */ + case 265: /* table_name_cond ::= table_name */ { yylhsminor.yy828 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy63); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 263: /* from_db_opt ::= FROM db_name */ + case 267: /* from_db_opt ::= FROM db_name */ { yymsp[-1].minor.yy828 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy63); } break; - case 267: /* tag_item ::= TBNAME */ + case 271: /* tag_item ::= TBNAME */ { yylhsminor.yy828 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 270: /* tag_item ::= column_name column_alias */ + case 274: /* tag_item ::= column_name column_alias */ { yylhsminor.yy828 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy63), &yymsp[0].minor.yy63); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 271: /* tag_item ::= column_name AS column_alias */ + case 275: /* tag_item ::= column_name AS column_alias */ { yylhsminor.yy828 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy63), &yymsp[0].minor.yy63); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 272: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + case 276: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ { pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy669, yymsp[-3].minor.yy828, yymsp[-1].minor.yy828, NULL, yymsp[0].minor.yy828); } break; - case 273: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + case 277: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ { pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy669, yymsp[-5].minor.yy828, yymsp[-3].minor.yy828, yymsp[-1].minor.yy222, NULL); } break; - case 274: /* cmd ::= DROP INDEX exists_opt full_index_name */ + case 278: /* cmd ::= DROP INDEX exists_opt full_index_name */ { pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy669, yymsp[0].minor.yy828); } break; - case 275: /* full_index_name ::= index_name */ + case 279: /* full_index_name ::= index_name */ { yylhsminor.yy828 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy63); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 276: /* full_index_name ::= db_name NK_DOT index_name */ + case 280: /* full_index_name ::= db_name NK_DOT index_name */ { yylhsminor.yy828 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 277: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + case 281: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ { yymsp[-9].minor.yy828 = createIndexOption(pCxt, yymsp[-7].minor.yy222, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), NULL, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } break; - case 278: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ + case 282: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ { yymsp[-11].minor.yy828 = createIndexOption(pCxt, yymsp[-9].minor.yy222, releaseRawExprNode(pCxt, yymsp[-5].minor.yy828), releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } break; - case 281: /* func ::= sma_func_name NK_LP expression_list NK_RP */ + case 285: /* func ::= sma_func_name NK_LP expression_list NK_RP */ { yylhsminor.yy828 = createFunctionNode(pCxt, &yymsp[-3].minor.yy63, yymsp[-1].minor.yy222); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 287: /* sma_stream_opt ::= */ - case 323: /* stream_options ::= */ yytestcase(yyruleno==323); + case 291: /* sma_stream_opt ::= */ + case 327: /* stream_options ::= */ yytestcase(yyruleno==327); { yymsp[1].minor.yy828 = createStreamOptions(pCxt); } break; - case 288: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + case 292: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy828)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = yymsp[-2].minor.yy828; } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 289: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + case 293: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy828)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = yymsp[-2].minor.yy828; } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 290: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + case 294: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy828)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = yymsp[-2].minor.yy828; } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 291: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + case 295: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ { pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy669, &yymsp[-2].minor.yy63, yymsp[0].minor.yy828); } break; - case 292: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ + case 296: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ { pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy669, &yymsp[-3].minor.yy63, &yymsp[0].minor.yy63, false); } break; - case 293: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ + case 297: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ { pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy669, &yymsp[-5].minor.yy63, &yymsp[0].minor.yy63, true); } break; - case 294: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ + case 298: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ { pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy669, &yymsp[-3].minor.yy63, yymsp[0].minor.yy828, false); } break; - case 295: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ + case 299: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ { pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy669, &yymsp[-5].minor.yy63, yymsp[0].minor.yy828, true); } break; - case 296: /* cmd ::= DROP TOPIC exists_opt topic_name */ + case 300: /* cmd ::= DROP TOPIC exists_opt topic_name */ { pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } break; - case 297: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + case 301: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ { pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy669, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } break; - case 298: /* cmd ::= DESC full_table_name */ - case 299: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==299); + case 302: /* cmd ::= DESC full_table_name */ + case 303: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==303); { pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy828); } break; - case 300: /* cmd ::= RESET QUERY CACHE */ + case 304: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; - case 301: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - case 302: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==302); + case 305: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + case 306: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==306); { pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy669, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } break; - case 305: /* explain_options ::= */ + case 309: /* explain_options ::= */ { yymsp[1].minor.yy828 = createDefaultExplainOptions(pCxt); } break; - case 306: /* explain_options ::= explain_options VERBOSE NK_BOOL */ + case 310: /* explain_options ::= explain_options VERBOSE NK_BOOL */ { yylhsminor.yy828 = setExplainVerbose(pCxt, yymsp[-2].minor.yy828, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 307: /* explain_options ::= explain_options RATIO NK_FLOAT */ + case 311: /* explain_options ::= explain_options RATIO NK_FLOAT */ { yylhsminor.yy828 = setExplainRatio(pCxt, yymsp[-2].minor.yy828, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 308: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + case 312: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ { pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy669, yymsp[-9].minor.yy669, &yymsp[-6].minor.yy63, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy686, yymsp[-1].minor.yy332, &yymsp[0].minor.yy63); } break; - case 309: /* cmd ::= DROP FUNCTION exists_opt function_name */ + case 313: /* cmd ::= DROP FUNCTION exists_opt function_name */ { pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } break; - case 314: /* language_opt ::= */ + case 318: /* language_opt ::= */ { yymsp[1].minor.yy63 = nil_token; } break; - case 315: /* language_opt ::= LANGUAGE NK_STRING */ + case 319: /* language_opt ::= LANGUAGE NK_STRING */ { yymsp[-1].minor.yy63 = yymsp[0].minor.yy0; } break; - case 316: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + case 320: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ { pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy669, &yymsp[-8].minor.yy63, yymsp[-5].minor.yy828, yymsp[-7].minor.yy828, yymsp[-3].minor.yy222, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, yymsp[-4].minor.yy222); } break; - case 317: /* cmd ::= DROP STREAM exists_opt stream_name */ + case 321: /* cmd ::= DROP STREAM exists_opt stream_name */ { pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } break; - case 324: /* stream_options ::= stream_options TRIGGER AT_ONCE */ - case 325: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==325); + case 328: /* stream_options ::= stream_options TRIGGER AT_ONCE */ + case 329: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==329); { yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 326: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + case 330: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ { yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-3].minor.yy828, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 327: /* stream_options ::= stream_options WATERMARK duration_literal */ + case 331: /* stream_options ::= stream_options WATERMARK duration_literal */ { yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 328: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + case 332: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ { yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-3].minor.yy828, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 329: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + case 333: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ { yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 330: /* stream_options ::= stream_options DELETE_MARK duration_literal */ + case 334: /* stream_options ::= stream_options DELETE_MARK duration_literal */ { yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 331: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + case 335: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ { yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-3].minor.yy828, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 333: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 522: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==522); - case 542: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==542); + case 337: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + case 526: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==526); + case 546: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==546); { yymsp[-3].minor.yy828 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy828); } break; - case 334: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 338: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 335: /* cmd ::= KILL QUERY NK_STRING */ + case 339: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 336: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 340: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 337: /* cmd ::= BALANCE VGROUP */ + case 341: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 338: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 342: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 339: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + case 343: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ { pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy222); } break; - case 340: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 344: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 341: /* dnode_list ::= DNODE NK_INTEGER */ + case 345: /* dnode_list ::= DNODE NK_INTEGER */ { yymsp[-1].minor.yy222 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 343: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ + case 347: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ { pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } break; - case 346: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + case 350: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ { yymsp[-6].minor.yy828 = createInsertStmt(pCxt, yymsp[-4].minor.yy828, yymsp[-2].minor.yy222, yymsp[0].minor.yy828); } break; - case 347: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ + case 351: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ { yymsp[-3].minor.yy828 = createInsertStmt(pCxt, yymsp[-1].minor.yy828, NULL, yymsp[0].minor.yy828); } break; - case 348: /* literal ::= NK_INTEGER */ + case 352: /* literal ::= NK_INTEGER */ { yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 349: /* literal ::= NK_FLOAT */ + case 353: /* literal ::= NK_FLOAT */ { yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 350: /* literal ::= NK_STRING */ + case 354: /* literal ::= NK_STRING */ { yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 351: /* literal ::= NK_BOOL */ + case 355: /* literal ::= NK_BOOL */ { yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 352: /* literal ::= TIMESTAMP NK_STRING */ + case 356: /* literal ::= TIMESTAMP NK_STRING */ { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 353: /* literal ::= duration_literal */ - case 363: /* signed_literal ::= signed */ yytestcase(yyruleno==363); - case 384: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==384); - case 385: /* expression ::= literal */ yytestcase(yyruleno==385); - case 386: /* expression ::= pseudo_column */ yytestcase(yyruleno==386); - case 387: /* expression ::= column_reference */ yytestcase(yyruleno==387); - case 388: /* expression ::= function_expression */ yytestcase(yyruleno==388); - case 389: /* expression ::= case_when_expression */ yytestcase(yyruleno==389); - case 420: /* function_expression ::= literal_func */ yytestcase(yyruleno==420); - case 469: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==469); - case 473: /* boolean_primary ::= predicate */ yytestcase(yyruleno==473); - case 475: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==475); - case 476: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==476); - case 479: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==479); - case 481: /* table_reference ::= table_primary */ yytestcase(yyruleno==481); - case 482: /* table_reference ::= joined_table */ yytestcase(yyruleno==482); - case 486: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==486); - case 544: /* query_simple ::= query_specification */ yytestcase(yyruleno==544); - case 545: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==545); - case 548: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==548); - case 550: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==550); + case 357: /* literal ::= duration_literal */ + case 367: /* signed_literal ::= signed */ yytestcase(yyruleno==367); + case 388: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==388); + case 389: /* expression ::= literal */ yytestcase(yyruleno==389); + case 390: /* expression ::= pseudo_column */ yytestcase(yyruleno==390); + case 391: /* expression ::= column_reference */ yytestcase(yyruleno==391); + case 392: /* expression ::= function_expression */ yytestcase(yyruleno==392); + case 393: /* expression ::= case_when_expression */ yytestcase(yyruleno==393); + case 424: /* function_expression ::= literal_func */ yytestcase(yyruleno==424); + case 473: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==473); + case 477: /* boolean_primary ::= predicate */ yytestcase(yyruleno==477); + case 479: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==479); + case 480: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==480); + case 483: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==483); + case 485: /* table_reference ::= table_primary */ yytestcase(yyruleno==485); + case 486: /* table_reference ::= joined_table */ yytestcase(yyruleno==486); + case 490: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==490); + case 548: /* query_simple ::= query_specification */ yytestcase(yyruleno==548); + case 549: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==549); + case 552: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==552); + case 554: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==554); { yylhsminor.yy828 = yymsp[0].minor.yy828; } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 354: /* literal ::= NULL */ + case 358: /* literal ::= NULL */ { yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 355: /* literal ::= NK_QUESTION */ + case 359: /* literal ::= NK_QUESTION */ { yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 356: /* duration_literal ::= NK_VARIABLE */ + case 360: /* duration_literal ::= NK_VARIABLE */ { yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 357: /* signed ::= NK_INTEGER */ + case 361: /* signed ::= NK_INTEGER */ { yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 358: /* signed ::= NK_PLUS NK_INTEGER */ + case 362: /* signed ::= NK_PLUS NK_INTEGER */ { yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } break; - case 359: /* signed ::= NK_MINUS NK_INTEGER */ + case 363: /* 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; @@ -4885,14 +4913,14 @@ static YYACTIONTYPE yy_reduce( } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 360: /* signed ::= NK_FLOAT */ + case 364: /* signed ::= NK_FLOAT */ { yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 361: /* signed ::= NK_PLUS NK_FLOAT */ + case 365: /* signed ::= NK_PLUS NK_FLOAT */ { yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 362: /* signed ::= NK_MINUS NK_FLOAT */ + case 366: /* 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; @@ -4900,57 +4928,57 @@ static YYACTIONTYPE yy_reduce( } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 364: /* signed_literal ::= NK_STRING */ + case 368: /* signed_literal ::= NK_STRING */ { yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 365: /* signed_literal ::= NK_BOOL */ + case 369: /* signed_literal ::= NK_BOOL */ { yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 366: /* signed_literal ::= TIMESTAMP NK_STRING */ + case 370: /* signed_literal ::= TIMESTAMP NK_STRING */ { yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 367: /* signed_literal ::= duration_literal */ - case 369: /* signed_literal ::= literal_func */ yytestcase(yyruleno==369); - case 440: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==440); - case 502: /* select_item ::= common_expression */ yytestcase(yyruleno==502); - case 512: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==512); - case 549: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==549); - case 551: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==551); - case 564: /* search_condition ::= common_expression */ yytestcase(yyruleno==564); + case 371: /* signed_literal ::= duration_literal */ + case 373: /* signed_literal ::= literal_func */ yytestcase(yyruleno==373); + case 444: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==444); + case 506: /* select_item ::= common_expression */ yytestcase(yyruleno==506); + case 516: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==516); + case 553: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==553); + case 555: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==555); + case 568: /* search_condition ::= common_expression */ yytestcase(yyruleno==568); { yylhsminor.yy828 = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 368: /* signed_literal ::= NULL */ + case 372: /* signed_literal ::= NULL */ { yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 370: /* signed_literal ::= NK_QUESTION */ + case 374: /* signed_literal ::= NK_QUESTION */ { yylhsminor.yy828 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 390: /* expression ::= NK_LP expression NK_RP */ - case 474: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==474); - case 563: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==563); + case 394: /* expression ::= NK_LP expression NK_RP */ + case 478: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==478); + case 567: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==567); { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 391: /* expression ::= NK_PLUS expr_or_subquery */ + case 395: /* expression ::= NK_PLUS expr_or_subquery */ { SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 392: /* expression ::= NK_MINUS expr_or_subquery */ + case 396: /* expression ::= NK_MINUS expr_or_subquery */ { SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy828), NULL)); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 393: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 397: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -4958,7 +4986,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 394: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 398: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -4966,7 +4994,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 395: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 399: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -4974,7 +5002,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 396: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 400: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -4982,7 +5010,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 397: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 401: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -4990,14 +5018,14 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 398: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 402: /* expression ::= column_reference NK_ARROW NK_STRING */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 399: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 403: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -5005,7 +5033,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 400: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 404: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -5013,71 +5041,71 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 403: /* column_reference ::= column_name */ + case 407: /* column_reference ::= column_name */ { yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy63, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy63)); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 404: /* column_reference ::= table_name NK_DOT column_name */ + case 408: /* column_reference ::= table_name NK_DOT column_name */ { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63, createColumnNode(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63)); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 405: /* pseudo_column ::= ROWTS */ - case 406: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==406); - case 408: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==408); - case 409: /* pseudo_column ::= QEND */ yytestcase(yyruleno==409); - case 410: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==410); - case 411: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==411); - case 412: /* pseudo_column ::= WEND */ yytestcase(yyruleno==412); - case 413: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==413); - case 414: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==414); - case 415: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==415); - case 416: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==416); - case 422: /* literal_func ::= NOW */ yytestcase(yyruleno==422); + case 409: /* pseudo_column ::= ROWTS */ + case 410: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==410); + case 412: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==412); + case 413: /* pseudo_column ::= QEND */ yytestcase(yyruleno==413); + case 414: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==414); + case 415: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==415); + case 416: /* pseudo_column ::= WEND */ yytestcase(yyruleno==416); + case 417: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==417); + case 418: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==418); + case 419: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==419); + case 420: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==420); + case 426: /* literal_func ::= NOW */ yytestcase(yyruleno==426); { yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 407: /* pseudo_column ::= table_name NK_DOT TBNAME */ + case 411: /* pseudo_column ::= table_name NK_DOT TBNAME */ { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy63)))); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 417: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 418: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==418); + case 421: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 422: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==422); { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy63, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy63, yymsp[-1].minor.yy222)); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 419: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + case 423: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-1].minor.yy686)); } yymsp[-5].minor.yy828 = yylhsminor.yy828; break; - case 421: /* literal_func ::= noarg_func NK_LP NK_RP */ + case 425: /* literal_func ::= noarg_func NK_LP NK_RP */ { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy63, NULL)); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 436: /* star_func_para_list ::= NK_STAR */ + case 440: /* star_func_para_list ::= NK_STAR */ { yylhsminor.yy222 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy222 = yylhsminor.yy222; break; - case 441: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 505: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==505); + case 445: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 509: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==509); { yylhsminor.yy828 = createColumnNode(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 442: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ + case 446: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy222, yymsp[-1].minor.yy828)); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 443: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + case 447: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-2].minor.yy222, yymsp[-1].minor.yy828)); } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 446: /* when_then_expr ::= WHEN common_expression THEN common_expression */ + case 450: /* when_then_expr ::= WHEN common_expression THEN common_expression */ { yymsp[-3].minor.yy828 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } break; - case 448: /* case_when_else_opt ::= ELSE common_expression */ + case 452: /* case_when_else_opt ::= ELSE common_expression */ { yymsp[-1].minor.yy828 = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); } break; - case 449: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 454: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==454); + case 453: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 458: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==458); { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -5085,7 +5113,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 450: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 454: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -5093,7 +5121,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-4].minor.yy828 = yylhsminor.yy828; break; - case 451: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 455: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -5101,71 +5129,71 @@ static YYACTIONTYPE yy_reduce( } yymsp[-5].minor.yy828 = yylhsminor.yy828; break; - case 452: /* predicate ::= expr_or_subquery IS NULL */ + case 456: /* predicate ::= expr_or_subquery IS NULL */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), NULL)); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 453: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 457: /* predicate ::= expr_or_subquery IS NOT NULL */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy828); yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), NULL)); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 455: /* compare_op ::= NK_LT */ + case 459: /* compare_op ::= NK_LT */ { yymsp[0].minor.yy62 = OP_TYPE_LOWER_THAN; } break; - case 456: /* compare_op ::= NK_GT */ + case 460: /* compare_op ::= NK_GT */ { yymsp[0].minor.yy62 = OP_TYPE_GREATER_THAN; } break; - case 457: /* compare_op ::= NK_LE */ + case 461: /* compare_op ::= NK_LE */ { yymsp[0].minor.yy62 = OP_TYPE_LOWER_EQUAL; } break; - case 458: /* compare_op ::= NK_GE */ + case 462: /* compare_op ::= NK_GE */ { yymsp[0].minor.yy62 = OP_TYPE_GREATER_EQUAL; } break; - case 459: /* compare_op ::= NK_NE */ + case 463: /* compare_op ::= NK_NE */ { yymsp[0].minor.yy62 = OP_TYPE_NOT_EQUAL; } break; - case 460: /* compare_op ::= NK_EQ */ + case 464: /* compare_op ::= NK_EQ */ { yymsp[0].minor.yy62 = OP_TYPE_EQUAL; } break; - case 461: /* compare_op ::= LIKE */ + case 465: /* compare_op ::= LIKE */ { yymsp[0].minor.yy62 = OP_TYPE_LIKE; } break; - case 462: /* compare_op ::= NOT LIKE */ + case 466: /* compare_op ::= NOT LIKE */ { yymsp[-1].minor.yy62 = OP_TYPE_NOT_LIKE; } break; - case 463: /* compare_op ::= MATCH */ + case 467: /* compare_op ::= MATCH */ { yymsp[0].minor.yy62 = OP_TYPE_MATCH; } break; - case 464: /* compare_op ::= NMATCH */ + case 468: /* compare_op ::= NMATCH */ { yymsp[0].minor.yy62 = OP_TYPE_NMATCH; } break; - case 465: /* compare_op ::= CONTAINS */ + case 469: /* compare_op ::= CONTAINS */ { yymsp[0].minor.yy62 = OP_TYPE_JSON_CONTAINS; } break; - case 466: /* in_op ::= IN */ + case 470: /* in_op ::= IN */ { yymsp[0].minor.yy62 = OP_TYPE_IN; } break; - case 467: /* in_op ::= NOT IN */ + case 471: /* in_op ::= NOT IN */ { yymsp[-1].minor.yy62 = OP_TYPE_NOT_IN; } break; - case 468: /* in_predicate_value ::= NK_LP literal_list NK_RP */ + case 472: /* in_predicate_value ::= NK_LP literal_list NK_RP */ { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy222)); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 470: /* boolean_value_expression ::= NOT boolean_primary */ + case 474: /* boolean_value_expression ::= NOT boolean_primary */ { SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy828), NULL)); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 471: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 475: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -5173,7 +5201,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 472: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 476: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); @@ -5181,48 +5209,48 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 478: /* from_clause_opt ::= FROM table_reference_list */ - case 507: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==507); - case 538: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==538); + case 482: /* from_clause_opt ::= FROM table_reference_list */ + case 511: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==511); + case 542: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==542); { yymsp[-1].minor.yy828 = yymsp[0].minor.yy828; } break; - case 480: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ + case 484: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ { yylhsminor.yy828 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, NULL); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 483: /* table_primary ::= table_name alias_opt */ + case 487: /* table_primary ::= table_name alias_opt */ { yylhsminor.yy828 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 484: /* table_primary ::= db_name NK_DOT table_name alias_opt */ + case 488: /* table_primary ::= db_name NK_DOT table_name alias_opt */ { yylhsminor.yy828 = createRealTableNode(pCxt, &yymsp[-3].minor.yy63, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 485: /* table_primary ::= subquery alias_opt */ + case 489: /* table_primary ::= subquery alias_opt */ { yylhsminor.yy828 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828), &yymsp[0].minor.yy63); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 487: /* alias_opt ::= */ + case 491: /* alias_opt ::= */ { yymsp[1].minor.yy63 = nil_token; } break; - case 489: /* alias_opt ::= AS table_alias */ + case 493: /* alias_opt ::= AS table_alias */ { yymsp[-1].minor.yy63 = yymsp[0].minor.yy63; } break; - case 490: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 491: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==491); + case 494: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 495: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==495); { yymsp[-2].minor.yy828 = yymsp[-1].minor.yy828; } break; - case 492: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + case 496: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ { yylhsminor.yy828 = createJoinTableNode(pCxt, yymsp[-4].minor.yy574, yymsp[-5].minor.yy828, yymsp[-2].minor.yy828, yymsp[0].minor.yy828); } yymsp[-5].minor.yy828 = yylhsminor.yy828; break; - case 493: /* join_type ::= */ + case 497: /* join_type ::= */ { yymsp[1].minor.yy574 = JOIN_TYPE_INNER; } break; - case 494: /* join_type ::= INNER */ + case 498: /* join_type ::= INNER */ { yymsp[0].minor.yy574 = JOIN_TYPE_INNER; } break; - case 495: /* query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + case 499: /* query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ { yymsp[-11].minor.yy828 = createSelectStmt(pCxt, yymsp[-10].minor.yy669, yymsp[-9].minor.yy222, yymsp[-8].minor.yy828); yymsp[-11].minor.yy828 = addWhereClause(pCxt, yymsp[-11].minor.yy828, yymsp[-7].minor.yy828); @@ -5235,82 +5263,82 @@ static YYACTIONTYPE yy_reduce( yymsp[-11].minor.yy828 = addFillClause(pCxt, yymsp[-11].minor.yy828, yymsp[-3].minor.yy828); } break; - case 498: /* set_quantifier_opt ::= ALL */ + case 502: /* set_quantifier_opt ::= ALL */ { yymsp[0].minor.yy669 = false; } break; - case 501: /* select_item ::= NK_STAR */ + case 505: /* select_item ::= NK_STAR */ { yylhsminor.yy828 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy828 = yylhsminor.yy828; break; - case 503: /* select_item ::= common_expression column_alias */ - case 513: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==513); + case 507: /* select_item ::= common_expression column_alias */ + case 517: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==517); { yylhsminor.yy828 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828), &yymsp[0].minor.yy63); } yymsp[-1].minor.yy828 = yylhsminor.yy828; break; - case 504: /* select_item ::= common_expression AS column_alias */ - case 514: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==514); + case 508: /* select_item ::= common_expression AS column_alias */ + case 518: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==518); { yylhsminor.yy828 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), &yymsp[0].minor.yy63); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 509: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 534: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==534); - case 553: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==553); + case 513: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 538: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==538); + case 557: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==557); { yymsp[-2].minor.yy222 = yymsp[0].minor.yy222; } break; - case 516: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + case 520: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ { yymsp[-5].minor.yy828 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } break; - case 517: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + case 521: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ { yymsp[-3].minor.yy828 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } break; - case 518: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + case 522: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ { yymsp[-5].minor.yy828 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), NULL, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } break; - case 519: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + case 523: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ { yymsp[-7].minor.yy828 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy828), releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } break; - case 520: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + case 524: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ { yymsp[-6].minor.yy828 = createEventWindowNode(pCxt, yymsp[-3].minor.yy828, yymsp[0].minor.yy828); } break; - case 524: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ + case 528: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ { yymsp[-3].minor.yy828 = createFillNode(pCxt, yymsp[-1].minor.yy822, NULL); } break; - case 525: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + case 529: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ { yymsp[-5].minor.yy828 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy222)); } break; - case 526: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ + case 530: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ { yymsp[-5].minor.yy828 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy222)); } break; - case 527: /* fill_mode ::= NONE */ + case 531: /* fill_mode ::= NONE */ { yymsp[0].minor.yy822 = FILL_MODE_NONE; } break; - case 528: /* fill_mode ::= PREV */ + case 532: /* fill_mode ::= PREV */ { yymsp[0].minor.yy822 = FILL_MODE_PREV; } break; - case 529: /* fill_mode ::= NULL */ + case 533: /* fill_mode ::= NULL */ { yymsp[0].minor.yy822 = FILL_MODE_NULL; } break; - case 530: /* fill_mode ::= NULL_F */ + case 534: /* fill_mode ::= NULL_F */ { yymsp[0].minor.yy822 = FILL_MODE_NULL_F; } break; - case 531: /* fill_mode ::= LINEAR */ + case 535: /* fill_mode ::= LINEAR */ { yymsp[0].minor.yy822 = FILL_MODE_LINEAR; } break; - case 532: /* fill_mode ::= NEXT */ + case 536: /* fill_mode ::= NEXT */ { yymsp[0].minor.yy822 = FILL_MODE_NEXT; } break; - case 535: /* group_by_list ::= expr_or_subquery */ + case 539: /* group_by_list ::= expr_or_subquery */ { yylhsminor.yy222 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); } yymsp[0].minor.yy222 = yylhsminor.yy222; break; - case 536: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + case 540: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ { yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); } yymsp[-2].minor.yy222 = yylhsminor.yy222; break; - case 540: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + case 544: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ { yymsp[-5].minor.yy828 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } break; - case 543: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 547: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { yylhsminor.yy828 = addOrderByClause(pCxt, yymsp[-3].minor.yy828, yymsp[-2].minor.yy222); yylhsminor.yy828 = addSlimitClause(pCxt, yylhsminor.yy828, yymsp[-1].minor.yy828); @@ -5318,50 +5346,50 @@ static YYACTIONTYPE yy_reduce( } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 546: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + case 550: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ { yylhsminor.yy828 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy828, yymsp[0].minor.yy828); } yymsp[-3].minor.yy828 = yylhsminor.yy828; break; - case 547: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + case 551: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ { yylhsminor.yy828 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy828, yymsp[0].minor.yy828); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 555: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 559: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==559); + case 559: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 563: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==563); { yymsp[-1].minor.yy828 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 556: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 560: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==560); + case 560: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 564: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==564); { yymsp[-3].minor.yy828 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 557: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 561: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==561); + case 561: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 565: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==565); { yymsp[-3].minor.yy828 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 562: /* subquery ::= NK_LP query_expression NK_RP */ + case 566: /* subquery ::= NK_LP query_expression NK_RP */ { yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy828); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 567: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + case 571: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ { yylhsminor.yy828 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), yymsp[-1].minor.yy158, yymsp[0].minor.yy675); } yymsp[-2].minor.yy828 = yylhsminor.yy828; break; - case 568: /* ordering_specification_opt ::= */ + case 572: /* ordering_specification_opt ::= */ { yymsp[1].minor.yy158 = ORDER_ASC; } break; - case 569: /* ordering_specification_opt ::= ASC */ + case 573: /* ordering_specification_opt ::= ASC */ { yymsp[0].minor.yy158 = ORDER_ASC; } break; - case 570: /* ordering_specification_opt ::= DESC */ + case 574: /* ordering_specification_opt ::= DESC */ { yymsp[0].minor.yy158 = ORDER_DESC; } break; - case 571: /* null_ordering_opt ::= */ + case 575: /* null_ordering_opt ::= */ { yymsp[1].minor.yy675 = NULL_ORDER_DEFAULT; } break; - case 572: /* null_ordering_opt ::= NULLS FIRST */ + case 576: /* null_ordering_opt ::= NULLS FIRST */ { yymsp[-1].minor.yy675 = NULL_ORDER_FIRST; } break; - case 573: /* null_ordering_opt ::= NULLS LAST */ + case 577: /* null_ordering_opt ::= NULLS LAST */ { yymsp[-1].minor.yy675 = NULL_ORDER_LAST; } break; default: diff --git a/source/libs/parser/test/parAlterToBalanceTest.cpp b/source/libs/parser/test/parAlterToBalanceTest.cpp index 4cccfd449c1b33410be910a44ab7f3071839f26f..2e1da158920317d77e4412ff24bd6a1bbde4b8c4 100644 --- a/source/libs/parser/test/parAlterToBalanceTest.cpp +++ b/source/libs/parser/test/parAlterToBalanceTest.cpp @@ -109,7 +109,8 @@ TEST_F(ParserInitialATest, alterDnode) { * | WAL_LEVEL int_value -- enum 1, 2, default 1 * | STT_TRIGGER int_value -- rang [1, 16], default 8 * | MINROWS int_value -- rang [10, 1000], default 100 - * } + * | WAL_RETENTION_PERIOD int_value -- rang [-1, INT32_MAX], default 0 + * | WAL_RETENTION_SIZE int_value -- rang [-1, INT32_MAX], default 0 */ TEST_F(ParserInitialATest, alterDatabase) { useDb("root", "test"); @@ -135,6 +136,8 @@ TEST_F(ParserInitialATest, alterDatabase) { expect.replications = -1; expect.sstTrigger = -1; expect.minRows = -1; + expect.walRetentionPeriod = -2; + expect.walRetentionSize = -2; }; auto setAlterDbBuffer = [&](int32_t buffer) { expect.buffer = buffer; }; auto setAlterDbPageSize = [&](int32_t pageSize) { expect.pageSize = pageSize; }; @@ -153,6 +156,10 @@ TEST_F(ParserInitialATest, alterDatabase) { auto setAlterDbReplica = [&](int8_t replications) { expect.replications = replications; }; auto setAlterDbSttTrigger = [&](int8_t sstTrigger) { expect.sstTrigger = sstTrigger; }; auto setAlterDbMinRows = [&](int32_t minRows) { expect.minRows = minRows; }; + auto setAlterDbWalRetentionPeriod = [&](int32_t walRetentionPeriod) { + expect.walRetentionPeriod = walRetentionPeriod; + }; + auto setAlterDbWalRetentionSize = [&](int32_t walRetentionSize) { expect.walRetentionSize = walRetentionSize; }; setCheckDdlFunc([&](const SQuery* pQuery, ParserStage stage) { ASSERT_EQ(nodeType(pQuery->pRoot), QUERY_NODE_ALTER_DATABASE_STMT); @@ -174,6 +181,8 @@ TEST_F(ParserInitialATest, alterDatabase) { ASSERT_EQ(req.replications, expect.replications); ASSERT_EQ(req.sstTrigger, expect.sstTrigger); ASSERT_EQ(req.minRows, expect.minRows); + ASSERT_EQ(req.walRetentionPeriod, expect.walRetentionPeriod); + ASSERT_EQ(req.walRetentionSize, expect.walRetentionSize); }); const int32_t MINUTE_PER_DAY = MILLISECOND_PER_DAY / MILLISECOND_PER_MINUTE; @@ -189,8 +198,10 @@ TEST_F(ParserInitialATest, alterDatabase) { setAlterDbBuffer(16); setAlterDbPages(128); setAlterDbReplica(3); + setAlterDbWalRetentionPeriod(10); + setAlterDbWalRetentionSize(20); run("ALTER DATABASE test BUFFER 16 CACHEMODEL 'last_row' CACHESIZE 32 WAL_FSYNC_PERIOD 200 KEEP 10 PAGES 128 " - "REPLICA 3 WAL_LEVEL 1 STT_TRIGGER 16"); + "REPLICA 3 WAL_LEVEL 1 STT_TRIGGER 16 WAL_RETENTION_PERIOD 10 WAL_RETENTION_SIZE 20"); clearAlterDbReq(); initAlterDb("test"); @@ -290,6 +301,20 @@ TEST_F(ParserInitialATest, alterDatabase) { setAlterDbMinRows(1000); run("ALTER DATABASE test MINROWS 1000"); clearAlterDbReq(); + + initAlterDb("test"); + setAlterDbWalRetentionPeriod(-1); + run("ALTER DATABASE test WAL_RETENTION_PERIOD -1"); + setAlterDbWalRetentionPeriod(50); + run("ALTER DATABASE test WAL_RETENTION_PERIOD 50"); + clearAlterDbReq(); + + initAlterDb("test"); + setAlterDbWalRetentionSize(-1); + run("ALTER DATABASE test WAL_RETENTION_SIZE -1"); + setAlterDbWalRetentionSize(50); + run("ALTER DATABASE test WAL_RETENTION_SIZE 50"); + clearAlterDbReq(); } TEST_F(ParserInitialATest, alterDatabaseSemanticCheck) { @@ -612,7 +637,9 @@ TEST_F(ParserInitialATest, alterTable) { } ASSERT_EQ(req.isNull, expect.isNull); ASSERT_EQ(req.nTagVal, expect.nTagVal); - ASSERT_EQ(memcmp(req.pTagVal, expect.pTagVal, expect.nTagVal), 0); + if (nullptr != req.pTagVal) { + ASSERT_EQ(memcmp(req.pTagVal, expect.pTagVal, expect.nTagVal), 0); + } ASSERT_EQ(req.updateTTL, expect.updateTTL); ASSERT_EQ(req.newTTL, expect.newTTL); if (nullptr != expect.newComment) {