diff --git a/include/libs/nodes/cmdnodes.h b/include/libs/nodes/cmdnodes.h index 22b8381aefcf579aa60c6d74ef52a61d7b0bad61..524e75acb81422e6a8f50f74edcd91331ed73926 100644 --- a/include/libs/nodes/cmdnodes.h +++ b/include/libs/nodes/cmdnodes.h @@ -401,6 +401,7 @@ typedef struct SCreateStreamStmt { SNode* pQuery; SNodeList* pTags; SNode* pSubtable; + SNodeList* pCols; } SCreateStreamStmt; typedef struct SDropStreamStmt { diff --git a/source/libs/parser/inc/parAst.h b/source/libs/parser/inc/parAst.h index 1d20ae83a28ef9ab79dc409476980fa79f8f0012..018d20d3edbc241173cf061e47eb72a539a7d4f8 100644 --- a/source/libs/parser/inc/parAst.h +++ b/source/libs/parser/inc/parAst.h @@ -216,7 +216,7 @@ SNode* createCreateFunctionStmt(SAstCreateContext* pCxt, bool ignoreExists, bool SNode* createDropFunctionStmt(SAstCreateContext* pCxt, bool ignoreNotExists, const SToken* pFuncName); SNode* createStreamOptions(SAstCreateContext* pCxt); SNode* createCreateStreamStmt(SAstCreateContext* pCxt, bool ignoreExists, const SToken* pStreamName, SNode* pRealTable, - SNode* pOptions, SNodeList* pTags, SNode* pSubtable, SNode* pQuery); + SNode* pOptions, SNodeList* pTags, SNode* pSubtable, SNode* pQuery, SNodeList* pCols); SNode* createDropStreamStmt(SAstCreateContext* pCxt, bool ignoreNotExists, const SToken* pStreamName); SNode* createKillStmt(SAstCreateContext* pCxt, ENodeType type, const SToken* pId); SNode* createKillQueryStmt(SAstCreateContext* pCxt, const SToken* pQueryId); diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index 9dfea07b81955df95457563618a3ed2965056698..3a7161be56ab1cca62fbaac4d587c667d7f387e2 100644 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -541,9 +541,15 @@ bufsize_opt(A) ::= BUFSIZE NK_INTEGER(B). /************************************************ create/drop stream **************************************************/ cmd ::= CREATE STREAM not_exists_opt(E) stream_name(A) stream_options(B) INTO - full_table_name(C) tags_def_opt(F) subtable_opt(G) AS query_or_subquery(D). { pCxt->pRootNode = createCreateStreamStmt(pCxt, E, &A, C, B, F, G, D); } + full_table_name(C) col_list_opt(H) tags_def_opt(F) subtable_opt(G) + AS query_or_subquery(D). { pCxt->pRootNode = createCreateStreamStmt(pCxt, E, &A, C, B, F, G, D, H); } cmd ::= DROP STREAM exists_opt(A) stream_name(B). { pCxt->pRootNode = createDropStreamStmt(pCxt, A, &B); } +%type col_list_opt { SNodeList* } +%destructor col_list_opt { nodesDestroyList($$); } +col_list_opt(A) ::= . { A = NULL; } +col_list_opt(A) ::= NK_LP col_name_list(B) NK_RP. { A = B; } + stream_options(A) ::= . { A = createStreamOptions(pCxt); } stream_options(A) ::= stream_options(B) TRIGGER AT_ONCE. { ((SStreamOptions*)B)->triggerType = STREAM_TRIGGER_AT_ONCE; A = B; } stream_options(A) ::= stream_options(B) TRIGGER WINDOW_CLOSE. { ((SStreamOptions*)B)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; A = B; } diff --git a/source/libs/parser/src/parAstCreater.c b/source/libs/parser/src/parAstCreater.c index 238486662031727e6a607a00e7f105cafc156f25..98954250c8c262e38f48acf0e5e530068c06639a 100644 --- a/source/libs/parser/src/parAstCreater.c +++ b/source/libs/parser/src/parAstCreater.c @@ -1745,21 +1745,20 @@ SNode* createStreamOptions(SAstCreateContext* pCxt) { } SNode* createCreateStreamStmt(SAstCreateContext* pCxt, bool ignoreExists, const SToken* pStreamName, SNode* pRealTable, - SNode* pOptions, SNodeList* pTags, SNode* pSubtable, SNode* pQuery) { + SNode* pOptions, SNodeList* pTags, SNode* pSubtable, SNode* pQuery, SNodeList* pCols) { CHECK_PARSER_STATUS(pCxt); SCreateStreamStmt* pStmt = (SCreateStreamStmt*)nodesMakeNode(QUERY_NODE_CREATE_STREAM_STMT); CHECK_OUT_OF_MEM(pStmt); COPY_STRING_FORM_ID_TOKEN(pStmt->streamName, pStreamName); - if (NULL != pRealTable) { - strcpy(pStmt->targetDbName, ((SRealTableNode*)pRealTable)->table.dbName); - strcpy(pStmt->targetTabName, ((SRealTableNode*)pRealTable)->table.tableName); - nodesDestroyNode(pRealTable); - } + strcpy(pStmt->targetDbName, ((SRealTableNode*)pRealTable)->table.dbName); + strcpy(pStmt->targetTabName, ((SRealTableNode*)pRealTable)->table.tableName); + nodesDestroyNode(pRealTable); pStmt->ignoreExists = ignoreExists; pStmt->pOptions = (SStreamOptions*)pOptions; pStmt->pQuery = pQuery; pStmt->pTags = pTags; pStmt->pSubtable = pSubtable; + pStmt->pCols = pCols; return (SNode*)pStmt; } diff --git a/source/libs/parser/src/parAstParser.c b/source/libs/parser/src/parAstParser.c index 954e6c26fd6850ea8d870b09d09040828dd856dc..fae62626fa3666909208ce9220215baea8be3810 100644 --- a/source/libs/parser/src/parAstParser.c +++ b/source/libs/parser/src/parAstParser.c @@ -355,7 +355,12 @@ static int32_t collectMetaKeyFromDescribe(SCollectMetaKeyCxt* pCxt, SDescribeStm } static int32_t collectMetaKeyFromCreateStream(SCollectMetaKeyCxt* pCxt, SCreateStreamStmt* pStmt) { - return collectMetaKeyFromQuery(pCxt, pStmt->pQuery); + int32_t code = + reserveTableMetaInCache(pCxt->pParseCxt->acctId, pStmt->targetDbName, pStmt->targetTabName, pCxt->pMetaCache); + if (TSDB_CODE_SUCCESS == code) { + code = collectMetaKeyFromQuery(pCxt, pStmt->pQuery); + } + return code; } static int32_t collectMetaKeyFromShowDnodes(SCollectMetaKeyCxt* pCxt, SShowStmt* pStmt) { diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index 3b2c19f27918c8ffc5d10fd0cfac70ec6a672abb..eb1083801cb2b41a5f223fd9d8888cdf6e70fd98 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -352,7 +352,7 @@ static int32_t getTableMetaImpl(STranslateContext* pCxt, const SName* pName, STa code = catalogGetTableMeta(pParCxt->pCatalog, &conn, pName, pMeta); } } - if (TSDB_CODE_SUCCESS != code && TSDB_CODE_TSC_INVALID_TABLE_NAME != code) { + if (TSDB_CODE_SUCCESS != code && TSDB_CODE_PAR_TABLE_NOT_EXIST != code) { parserError("0x%" PRIx64 " catalogGetTableMeta error, code:%s, dbName:%s, tbName:%s", pCxt->pParseCxt->requestId, tstrerror(code), pName->dbname, pName->tname); } @@ -4979,10 +4979,10 @@ static int32_t buildAlterSuperTableReq(STranslateContext* pCxt, SAlterTableStmt* return TSDB_CODE_SUCCESS; } -static SSchema* getColSchema(STableMeta* pTableMeta, const char* pColName) { +static const SSchema* getColSchema(const STableMeta* pTableMeta, const char* pColName) { int32_t numOfFields = getNumOfTags(pTableMeta) + getNumOfColumns(pTableMeta); for (int32_t i = 0; i < numOfFields; ++i) { - SSchema* pSchema = pTableMeta->schema + i; + const SSchema* pSchema = pTableMeta->schema + i; if (0 == strcmp(pColName, pSchema->name)) { return pSchema; } @@ -5002,7 +5002,8 @@ static SSchema* getTagSchema(STableMeta* pTableMeta, const char* pTagName) { return NULL; } -static int32_t checkAlterSuperTableBySchema(STranslateContext* pCxt, SAlterTableStmt* pStmt, STableMeta* pTableMeta) { +static int32_t checkAlterSuperTableBySchema(STranslateContext* pCxt, SAlterTableStmt* pStmt, + const STableMeta* pTableMeta) { SSchema* pTagsSchema = getTableTagSchema(pTableMeta); if (getNumOfTags(pTableMeta) == 1 && pTagsSchema->type == TSDB_DATA_TYPE_JSON && (pStmt->alterType == TSDB_ALTER_TABLE_ADD_TAG || pStmt->alterType == TSDB_ALTER_TABLE_DROP_TAG || @@ -5021,7 +5022,7 @@ static int32_t checkAlterSuperTableBySchema(STranslateContext* pCxt, SAlterTable return generateSyntaxErrMsgExt(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_ALTER_TABLE, "Table is not super table"); } - SSchema* pSchema = getColSchema(pTableMeta, pStmt->colName); + const SSchema* pSchema = getColSchema(pTableMeta, pStmt->colName); if (NULL == pSchema) { return generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_COLUMN, pStmt->colName); } else if (!IS_VAR_DATA_TYPE(pSchema->type) || pSchema->type != pStmt->dataType.type || @@ -5721,6 +5722,139 @@ static int32_t checkStreamQuery(STranslateContext* pCxt, SCreateStreamStmt* pStm return TSDB_CODE_SUCCESS; } +static int32_t adjustDataTypeOfProjections(STranslateContext* pCxt, const STableMeta* pMeta, SNodeList* pProjections) { + if (getNumOfColumns(pMeta) != LIST_LENGTH(pProjections)) { + return generateSyntaxErrMsgExt(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_COLUMNS_NUM, "Illegal number of columns"); + } + + SSchema* pSchemas = getTableColumnSchema(pMeta); + int32_t index = 0; + SNode* pProj = NULL; + FOREACH(pProj, pProjections) { + SSchema* pSchema = pSchemas + index; + SDataType dt = {.type = pSchema->type, .bytes = pSchema->bytes}; + if (!dataTypeEqual(&dt, &((SExprNode*)pProj)->resType)) { + SNode* pFunc = NULL; + int32_t code = createCastFunc(pCxt, pProj, dt, &pFunc); + if (TSDB_CODE_SUCCESS != code) { + return code; + } + REPLACE_NODE(pFunc); + } + } + + return TSDB_CODE_SUCCESS; +} + +typedef struct SProjColPos { + int32_t colId; + SNode* pProj; +} SProjColPos; + +static int32_t projColPosCompar(const void* l, const void* r) { + return ((SProjColPos*)l)->colId < ((SProjColPos*)r)->colId; +} + +static void projColPosDelete(void* p) { taosMemoryFree(((SProjColPos*)p)->pProj); } + +static int32_t addProjToProjColPos(STranslateContext* pCxt, const SSchema* pSchema, SNode* pProj, SArray* pProjColPos) { + SNode* pNewProj = nodesCloneNode(pProj); + if (NULL == pNewProj) { + return TSDB_CODE_OUT_OF_MEMORY; + } + + int32_t code = TSDB_CODE_SUCCESS; + SDataType dt = {.type = pSchema->type, .bytes = pSchema->bytes}; + if (!dataTypeEqual(&dt, &((SExprNode*)pNewProj)->resType)) { + SNode* pFunc = NULL; + code = createCastFunc(pCxt, pNewProj, dt, &pFunc); + pNewProj = pFunc; + } + if (TSDB_CODE_SUCCESS == code) { + SProjColPos pos = {.colId = pSchema->colId, .pProj = pNewProj}; + code = (NULL == taosArrayPush(pProjColPos, &pos) ? TSDB_CODE_OUT_OF_MEMORY : TSDB_CODE_SUCCESS); + } + if (TSDB_CODE_SUCCESS != code) { + nodesDestroyNode(pNewProj); + } + return code; +} + +static int32_t adjustOrderOfProjection(STranslateContext* pCxt, SNodeList* pCols, const STableMeta* pMeta, + SNodeList** pProjections) { + if (LIST_LENGTH(pCols) != LIST_LENGTH(*pProjections)) { + return generateSyntaxErrMsgExt(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_COLUMNS_NUM, "Illegal number of columns"); + } + + SArray* pProjColPos = taosArrayInit(LIST_LENGTH(pCols), sizeof(SProjColPos)); + if (NULL == pProjColPos) { + return TSDB_CODE_OUT_OF_MEMORY; + } + + int32_t code = TSDB_CODE_SUCCESS; + SNode* pCol = NULL; + SNode* pProj = NULL; + FORBOTH(pCol, pCols, pProj, *pProjections) { + const SSchema* pSchema = getColSchema(pMeta, ((SColumnNode*)pCol)->colName); + code = addProjToProjColPos(pCxt, pSchema, pProj, pProjColPos); + if (TSDB_CODE_SUCCESS != code) { + break; + } + } + + SNodeList* pNewProjections = NULL; + if (TSDB_CODE_SUCCESS == code) { + taosArraySort(pProjColPos, projColPosCompar); + int32_t num = taosArrayGetSize(pProjColPos); + pNewProjections = nodesMakeList(); + if (NULL == pNewProjections) { + code = TSDB_CODE_OUT_OF_MEMORY; + } + for (int32_t i = 0; TSDB_CODE_SUCCESS == code && i < num; ++i) { + SProjColPos* pPos = taosArrayGet(pProjColPos, i); + code = nodesListStrictAppend(pNewProjections, pPos->pProj); + pPos->pProj = NULL; + } + } + + if (TSDB_CODE_SUCCESS == code) { + taosArrayDestroy(pProjColPos); + nodesDestroyList(*pProjections); + *pProjections = pNewProjections; + } else { + taosArrayDestroyEx(pProjColPos, projColPosDelete); + nodesDestroyList(pNewProjections); + } + + return code; +} + +static int32_t adjustStreamQueryForExistTableImpl(STranslateContext* pCxt, SCreateStreamStmt* pStmt, + const STableMeta* pMeta) { + SSelectStmt* pSelect = (SSelectStmt*)pStmt->pQuery; + if (NULL == pStmt->pCols) { + return adjustDataTypeOfProjections(pCxt, pMeta, pSelect->pProjectionList); + } + return adjustOrderOfProjection(pCxt, pStmt->pCols, pMeta, &pSelect->pProjectionList); +} + +static int32_t adjustStreamQueryForExistTable(STranslateContext* pCxt, SCreateStreamStmt* pStmt, + SCMCreateStreamReq* pReq) { + STableMeta* pMeta = NULL; + int32_t code = getTableMeta(pCxt, pStmt->targetDbName, pStmt->targetTabName, &pMeta); + if (TSDB_CODE_PAR_TABLE_NOT_EXIST == code) { + if (NULL != pStmt->pCols) { + return generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_TABLE_NOT_EXIST, pStmt->targetTabName); + } + pReq->createStb = STREAM_CREATE_STABLE_TRUE; + return TSDB_CODE_SUCCESS; + } + if (TSDB_CODE_SUCCESS == code) { + code = adjustStreamQueryForExistTableImpl(pCxt, pStmt, pMeta); + } + return code; +} + static int32_t buildCreateStreamQuery(STranslateContext* pCxt, SCreateStreamStmt* pStmt, SCMCreateStreamReq* pReq) { pCxt->createStream = true; int32_t code = addWstartTsToCreateStreamQuery(pCxt, pStmt->pQuery); @@ -5733,6 +5867,9 @@ static int32_t buildCreateStreamQuery(STranslateContext* pCxt, SCreateStreamStmt if (TSDB_CODE_SUCCESS == code) { code = checkStreamQuery(pCxt, pStmt); } + if (TSDB_CODE_SUCCESS == code) { + code = adjustStreamQueryForExistTable(pCxt, pStmt, pReq); + } if (TSDB_CODE_SUCCESS == code) { getSourceDatabase(pStmt->pQuery, pCxt->pParseCxt->acctId, pReq->sourceDB); code = nodesNodeToString(pStmt->pQuery, false, &pReq->ast, NULL); @@ -5771,8 +5908,6 @@ static int32_t buildCreateStreamReq(STranslateContext* pCxt, SCreateStreamStmt* pReq->numOfTags = LIST_LENGTH(pStmt->pTags); } - pReq->createStb = STREAM_CREATE_STABLE_TRUE; - return code; } @@ -7358,12 +7493,12 @@ static int32_t buildAddColReq(STranslateContext* pCxt, SAlterTableStmt* pStmt, S return TSDB_CODE_SUCCESS; } -static int32_t buildDropColReq(STranslateContext* pCxt, SAlterTableStmt* pStmt, STableMeta* pTableMeta, +static int32_t buildDropColReq(STranslateContext* pCxt, SAlterTableStmt* pStmt, const STableMeta* pTableMeta, SVAlterTbReq* pReq) { if (2 == getNumOfColumns(pTableMeta)) { return generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_DROP_COL); } - SSchema* pSchema = getColSchema(pTableMeta, pStmt->colName); + const SSchema* pSchema = getColSchema(pTableMeta, pStmt->colName); if (NULL == pSchema) { return generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_COLUMN, pStmt->colName); } else if (PRIMARYKEY_TIMESTAMP_COL_ID == pSchema->colId) { @@ -7379,11 +7514,11 @@ static int32_t buildDropColReq(STranslateContext* pCxt, SAlterTableStmt* pStmt, return TSDB_CODE_SUCCESS; } -static int32_t buildUpdateColReq(STranslateContext* pCxt, SAlterTableStmt* pStmt, STableMeta* pTableMeta, +static int32_t buildUpdateColReq(STranslateContext* pCxt, SAlterTableStmt* pStmt, const STableMeta* pTableMeta, SVAlterTbReq* pReq) { pReq->colModBytes = calcTypeBytes(pStmt->dataType); pReq->colModType = pStmt->dataType.type; - SSchema* pSchema = getColSchema(pTableMeta, pStmt->colName); + const SSchema* pSchema = getColSchema(pTableMeta, pStmt->colName); if (NULL == pSchema) { return generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_COLUMN, pStmt->colName); } else if (!IS_VAR_DATA_TYPE(pSchema->type) || pSchema->type != pStmt->dataType.type || diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index 9449b60d5c64dc855d9503b8ea4caa36153b825e..7292870c3047f618ce06b373b67a7c39c5cdd21d 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -104,26 +104,26 @@ #endif /************* Begin control #defines *****************************************/ #define YYCODETYPE unsigned short int -#define YYNOCODE 461 +#define YYNOCODE 462 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; - EOrder yy32; - SToken yy77; - int32_t yy248; - int8_t yy287; - ENullOrder yy385; - EJoinType yy560; - SNode* yy600; - SNodeList* yy601; - SAlterOption yy661; - EOperatorType yy666; - int64_t yy717; - EFillMode yy798; - bool yy841; - SDataType yy888; + int8_t yy47; + EOperatorType yy128; + EJoinType yy288; + SNodeList* yy376; + SNode* yy476; + int32_t yy508; + SDataType yy532; + EOrder yy554; + EFillMode yy690; + ENullOrder yy697; + SToken yy701; + bool yy845; + SAlterOption yy893; + int64_t yy921; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -139,17 +139,17 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 722 -#define YYNRULE 546 +#define YYNSTATE 725 +#define YYNRULE 548 #define YYNTOKEN 325 -#define YY_MAX_SHIFT 721 -#define YY_MIN_SHIFTREDUCE 1069 -#define YY_MAX_SHIFTREDUCE 1614 -#define YY_ERROR_ACTION 1615 -#define YY_ACCEPT_ACTION 1616 -#define YY_NO_ACTION 1617 -#define YY_MIN_REDUCE 1618 -#define YY_MAX_REDUCE 2163 +#define YY_MAX_SHIFT 724 +#define YY_MIN_SHIFTREDUCE 1073 +#define YY_MAX_SHIFTREDUCE 1620 +#define YY_ERROR_ACTION 1621 +#define YY_ACCEPT_ACTION 1622 +#define YY_NO_ACTION 1623 +#define YY_MIN_REDUCE 1624 +#define YY_MAX_REDUCE 2171 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -216,812 +216,788 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (3069) +#define YY_ACTTAB_COUNT (2947) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 35, 280, 465, 1886, 466, 1654, 474, 372, 466, 1654, - /* 10 */ 1817, 1819, 45, 43, 1544, 1964, 1884, 598, 1760, 471, - /* 20 */ 367, 412, 1394, 38, 37, 467, 1960, 44, 42, 41, - /* 30 */ 40, 39, 172, 1474, 464, 1392, 232, 469, 1660, 1801, - /* 40 */ 576, 610, 38, 37, 2134, 547, 44, 42, 41, 40, - /* 50 */ 39, 8, 610, 338, 1871, 1956, 1962, 349, 1469, 575, - /* 60 */ 178, 324, 190, 18, 2135, 577, 621, 38, 37, 1977, - /* 70 */ 1400, 44, 42, 41, 40, 39, 473, 1420, 588, 469, - /* 80 */ 1660, 38, 37, 45, 43, 44, 42, 41, 40, 39, - /* 90 */ 2139, 367, 174, 1394, 1618, 14, 139, 331, 81, 2036, - /* 100 */ 1995, 80, 60, 27, 1474, 1811, 1392, 1421, 591, 137, - /* 110 */ 162, 1581, 1630, 1946, 611, 627, 48, 718, 128, 127, - /* 120 */ 126, 125, 124, 123, 122, 121, 120, 48, 129, 1469, - /* 130 */ 103, 163, 1476, 1477, 18, 504, 1725, 448, 1503, 1976, - /* 140 */ 64, 1400, 483, 2012, 138, 1771, 106, 1978, 631, 1980, - /* 150 */ 1981, 626, 1763, 621, 1419, 2139, 1824, 149, 175, 2134, - /* 160 */ 2065, 1449, 1459, 355, 361, 2061, 14, 1475, 1478, 260, - /* 170 */ 2073, 587, 1822, 130, 586, 2138, 610, 2134, 180, 2135, - /* 180 */ 2137, 2139, 1395, 1604, 1393, 2134, 2091, 533, 718, 1271, - /* 190 */ 1272, 263, 575, 178, 1504, 194, 193, 2135, 577, 49, - /* 200 */ 531, 2138, 529, 1476, 1477, 2135, 2136, 1398, 1399, 53, - /* 210 */ 1448, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 623, - /* 220 */ 619, 1467, 1468, 1470, 1471, 1472, 1473, 2, 60, 60, - /* 230 */ 89, 60, 1449, 1459, 2080, 1419, 159, 119, 1475, 1478, - /* 240 */ 118, 117, 116, 115, 114, 113, 112, 111, 110, 571, - /* 250 */ 262, 230, 181, 1395, 2080, 1393, 1537, 38, 37, 1641, - /* 260 */ 2077, 44, 42, 41, 40, 39, 34, 365, 1498, 1499, - /* 270 */ 1500, 1501, 1502, 1506, 1507, 1508, 1509, 181, 1398, 1399, - /* 280 */ 2076, 1448, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, - /* 290 */ 623, 619, 1467, 1468, 1470, 1471, 1472, 1473, 2, 401, - /* 300 */ 11, 45, 43, 1946, 1964, 1394, 1548, 1640, 1995, 367, - /* 310 */ 413, 1394, 1419, 86, 326, 1960, 570, 537, 1392, 535, - /* 320 */ 403, 399, 1474, 414, 1392, 1228, 653, 652, 651, 1232, - /* 330 */ 650, 1234, 1235, 649, 1237, 646, 1687, 1243, 643, 1245, - /* 340 */ 1246, 640, 637, 216, 1956, 1962, 362, 1469, 160, 181, - /* 350 */ 406, 1946, 18, 1400, 1824, 621, 569, 1774, 167, 1400, - /* 360 */ 1121, 360, 1120, 665, 500, 496, 492, 488, 213, 1639, - /* 370 */ 1822, 1638, 45, 43, 1479, 215, 1324, 1325, 181, 181, - /* 380 */ 367, 181, 1394, 1824, 14, 44, 42, 41, 40, 39, - /* 390 */ 371, 1122, 552, 1474, 657, 1392, 2134, 1815, 1637, 1822, - /* 400 */ 718, 519, 518, 517, 85, 1102, 718, 211, 1619, 134, - /* 410 */ 513, 2140, 178, 1946, 512, 1946, 2135, 577, 1469, 511, - /* 420 */ 516, 1476, 1477, 1611, 1636, 510, 271, 272, 1400, 119, - /* 430 */ 1400, 270, 118, 117, 116, 115, 114, 113, 112, 111, - /* 440 */ 110, 588, 1946, 1420, 1104, 661, 1107, 1108, 1815, 1886, - /* 450 */ 1449, 1459, 611, 1450, 1824, 46, 1475, 1478, 1121, 358, - /* 460 */ 1120, 335, 1883, 598, 611, 1395, 54, 1393, 1946, 618, - /* 470 */ 1822, 1395, 137, 1393, 210, 204, 1635, 718, 183, 209, - /* 480 */ 38, 37, 479, 1771, 44, 42, 41, 40, 39, 1122, - /* 490 */ 1398, 1399, 1476, 1477, 84, 1771, 1398, 1399, 202, 1448, - /* 500 */ 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 623, 619, - /* 510 */ 1467, 1468, 1470, 1471, 1472, 1473, 2, 1767, 1610, 1421, - /* 520 */ 1946, 1449, 1459, 588, 1188, 1634, 576, 1475, 1478, 611, - /* 530 */ 2134, 590, 176, 2073, 2074, 611, 135, 2078, 1419, 519, - /* 540 */ 518, 517, 1395, 410, 1393, 575, 178, 134, 513, 411, - /* 550 */ 2135, 577, 512, 1633, 137, 1339, 1340, 511, 516, 1190, - /* 560 */ 1771, 1977, 1632, 510, 1818, 1819, 1771, 1398, 1399, 1946, - /* 570 */ 1448, 1451, 1452, 1453, 1454, 1455, 1456, 1457, 1458, 623, - /* 580 */ 619, 1467, 1468, 1470, 1471, 1472, 1473, 2, 45, 43, - /* 590 */ 1338, 1341, 1995, 1749, 84, 359, 367, 1946, 1394, 1418, - /* 600 */ 628, 1616, 613, 160, 2037, 1946, 1946, 627, 133, 1474, - /* 610 */ 231, 1392, 1773, 1495, 177, 2073, 2074, 1766, 135, 2078, - /* 620 */ 38, 37, 1977, 2080, 44, 42, 41, 40, 39, 524, - /* 630 */ 566, 1976, 1422, 611, 1469, 2012, 656, 1571, 106, 1978, - /* 640 */ 631, 1980, 1981, 626, 534, 621, 1400, 129, 140, 2075, - /* 650 */ 146, 2036, 2065, 1995, 509, 483, 361, 2061, 229, 45, - /* 660 */ 43, 628, 262, 611, 1771, 382, 1946, 367, 627, 1394, - /* 670 */ 11, 46, 9, 527, 1629, 1371, 1372, 420, 521, 1628, - /* 680 */ 1474, 1824, 1392, 228, 1762, 60, 563, 1569, 1570, 1572, - /* 690 */ 1573, 1933, 1976, 718, 1771, 1960, 2012, 1823, 611, 164, - /* 700 */ 1978, 631, 1980, 1981, 626, 1469, 621, 552, 1476, 1477, - /* 710 */ 1867, 2134, 281, 1627, 572, 567, 561, 1400, 1946, 67, - /* 720 */ 1748, 186, 66, 1946, 1956, 1962, 2140, 178, 1626, 1771, - /* 730 */ 1484, 2135, 577, 13, 12, 621, 1419, 1449, 1459, 389, - /* 740 */ 553, 2102, 14, 1475, 1478, 611, 38, 37, 1505, 1747, - /* 750 */ 44, 42, 41, 40, 39, 31, 172, 1946, 1395, 434, - /* 760 */ 1393, 38, 37, 1867, 718, 44, 42, 41, 40, 39, - /* 770 */ 1967, 405, 1946, 404, 188, 240, 1771, 1422, 1872, 1476, - /* 780 */ 1477, 1746, 1625, 1398, 1399, 1419, 1448, 1451, 1452, 1453, - /* 790 */ 1454, 1455, 1456, 1457, 1458, 623, 619, 1467, 1468, 1470, - /* 800 */ 1471, 1472, 1473, 2, 41, 40, 39, 611, 1449, 1459, - /* 810 */ 323, 665, 1417, 11, 1475, 1478, 370, 97, 1969, 442, - /* 820 */ 32, 435, 455, 580, 160, 454, 1946, 663, 1517, 1395, - /* 830 */ 1510, 1393, 1624, 1773, 1560, 181, 373, 1422, 1771, 1764, - /* 840 */ 426, 1965, 456, 1541, 160, 428, 151, 150, 660, 659, - /* 850 */ 658, 148, 1960, 1773, 1398, 1399, 677, 1448, 1451, 1452, - /* 860 */ 1453, 1454, 1455, 1456, 1457, 1458, 623, 619, 1467, 1468, - /* 870 */ 1470, 1471, 1472, 1473, 2, 1623, 1946, 1450, 515, 514, - /* 880 */ 161, 1956, 1962, 33, 52, 300, 339, 1684, 663, 38, - /* 890 */ 37, 551, 621, 44, 42, 41, 40, 39, 416, 298, - /* 900 */ 70, 2138, 615, 69, 2037, 689, 687, 151, 150, 660, - /* 910 */ 659, 658, 148, 1867, 662, 294, 1756, 1815, 1801, 1946, - /* 920 */ 187, 198, 461, 459, 192, 678, 1450, 1741, 452, 1107, - /* 930 */ 1108, 447, 446, 445, 444, 441, 440, 439, 438, 437, - /* 940 */ 433, 432, 431, 430, 340, 423, 422, 421, 594, 418, - /* 950 */ 417, 337, 695, 694, 693, 692, 377, 60, 691, 690, - /* 960 */ 141, 685, 684, 683, 682, 681, 680, 679, 153, 675, - /* 970 */ 674, 673, 376, 375, 670, 669, 668, 667, 666, 1622, - /* 980 */ 239, 611, 663, 1621, 1758, 611, 380, 1854, 379, 508, - /* 990 */ 552, 2085, 1537, 611, 2134, 481, 105, 1613, 1614, 482, - /* 1000 */ 1977, 151, 150, 660, 659, 658, 148, 1768, 1754, 2140, - /* 1010 */ 178, 507, 1771, 71, 2135, 577, 1771, 50, 143, 3, - /* 1020 */ 131, 583, 221, 1946, 1771, 219, 235, 1946, 552, 611, - /* 1030 */ 552, 1995, 2134, 1403, 2134, 1674, 78, 77, 409, 591, - /* 1040 */ 588, 185, 611, 145, 1946, 581, 627, 2140, 178, 2140, - /* 1050 */ 178, 1631, 2135, 577, 2135, 577, 548, 520, 540, 322, - /* 1060 */ 1771, 611, 397, 79, 395, 391, 387, 384, 381, 622, - /* 1070 */ 1976, 137, 1977, 1771, 2012, 592, 62, 106, 1978, 631, - /* 1080 */ 1980, 1981, 626, 611, 621, 1540, 1402, 223, 244, 175, - /* 1090 */ 222, 2065, 1771, 1667, 655, 361, 2061, 596, 611, 611, - /* 1100 */ 552, 1665, 225, 1995, 2134, 224, 227, 181, 611, 226, - /* 1110 */ 343, 628, 597, 275, 1771, 522, 1946, 2092, 627, 2140, - /* 1120 */ 178, 238, 606, 525, 2135, 577, 1977, 611, 1568, 1771, - /* 1130 */ 1771, 179, 2073, 2074, 149, 135, 2078, 1726, 429, 1771, - /* 1140 */ 246, 608, 1976, 13, 12, 102, 2012, 47, 2105, 106, - /* 1150 */ 1978, 631, 1980, 1981, 626, 99, 621, 1995, 1771, 268, - /* 1160 */ 87, 2154, 579, 2065, 68, 628, 257, 361, 2061, 214, - /* 1170 */ 1946, 344, 627, 342, 341, 147, 506, 564, 2099, 251, - /* 1180 */ 508, 611, 1406, 611, 149, 62, 595, 1977, 47, 47, - /* 1190 */ 1661, 635, 147, 1996, 149, 374, 1976, 609, 378, 1336, - /* 1200 */ 2012, 132, 507, 106, 1978, 631, 1980, 1981, 626, 1876, - /* 1210 */ 621, 273, 1771, 1655, 1771, 2154, 603, 2065, 1995, 1150, - /* 1220 */ 147, 361, 2061, 1812, 2095, 671, 628, 277, 364, 363, - /* 1230 */ 672, 1946, 2112, 627, 589, 1405, 1221, 1511, 1408, 713, - /* 1240 */ 1460, 293, 1, 1249, 1253, 584, 1260, 1169, 259, 1474, - /* 1250 */ 1977, 1401, 1167, 1258, 1151, 256, 4, 1976, 383, 388, - /* 1260 */ 336, 2012, 1358, 288, 106, 1978, 631, 1980, 1981, 626, - /* 1270 */ 1977, 621, 152, 191, 1469, 415, 2154, 1422, 2065, 1877, - /* 1280 */ 419, 1995, 361, 2061, 450, 424, 1400, 1417, 436, 628, - /* 1290 */ 1869, 443, 449, 559, 1946, 451, 627, 457, 195, 458, - /* 1300 */ 460, 1995, 462, 1423, 463, 1425, 475, 201, 472, 628, - /* 1310 */ 1420, 476, 203, 1424, 1946, 1426, 627, 477, 478, 480, - /* 1320 */ 1976, 206, 484, 208, 2012, 82, 83, 106, 1978, 631, - /* 1330 */ 1980, 1981, 626, 617, 621, 212, 1124, 541, 501, 2154, - /* 1340 */ 1976, 2065, 503, 502, 2012, 361, 2061, 106, 1978, 631, - /* 1350 */ 1980, 1981, 626, 505, 621, 1761, 2128, 109, 325, 2154, - /* 1360 */ 218, 2065, 1923, 1922, 1757, 361, 2061, 220, 539, 154, - /* 1370 */ 721, 233, 155, 1977, 1759, 1755, 2084, 156, 157, 542, - /* 1380 */ 289, 236, 549, 543, 287, 546, 2111, 565, 2096, 556, - /* 1390 */ 601, 2110, 562, 2087, 350, 568, 2106, 574, 1409, 171, - /* 1400 */ 1404, 250, 168, 252, 1995, 711, 707, 703, 699, 285, - /* 1410 */ 242, 245, 628, 7, 557, 555, 554, 1946, 1537, 627, - /* 1420 */ 2157, 585, 2133, 1412, 1414, 351, 582, 255, 136, 1421, - /* 1430 */ 593, 253, 1977, 254, 2081, 354, 619, 1467, 1468, 1470, - /* 1440 */ 1471, 1472, 1473, 1976, 290, 104, 264, 2012, 278, 92, - /* 1450 */ 106, 1978, 631, 1980, 1981, 626, 599, 621, 600, 1894, - /* 1460 */ 1893, 1892, 2040, 1995, 2065, 291, 604, 357, 361, 2061, - /* 1470 */ 94, 628, 292, 96, 605, 1772, 1946, 258, 627, 59, - /* 1480 */ 2046, 607, 98, 1816, 633, 295, 1977, 1742, 714, 51, - /* 1490 */ 715, 327, 717, 328, 1940, 319, 284, 299, 1939, 304, - /* 1500 */ 75, 297, 1976, 1938, 1937, 76, 2012, 1934, 385, 106, - /* 1510 */ 1978, 631, 1980, 1981, 626, 266, 621, 1995, 318, 308, - /* 1520 */ 265, 2038, 386, 2065, 1386, 628, 1387, 361, 2061, 390, - /* 1530 */ 1946, 184, 627, 1932, 392, 393, 394, 1365, 1931, 234, - /* 1540 */ 396, 1930, 1929, 398, 400, 1928, 402, 1977, 1361, 1360, - /* 1550 */ 1905, 1904, 407, 408, 1903, 1902, 1976, 1315, 1862, 1861, - /* 1560 */ 2012, 1859, 142, 106, 1978, 631, 1980, 1981, 626, 1858, - /* 1570 */ 621, 1857, 1860, 1856, 1855, 614, 1853, 2065, 1995, 1852, - /* 1580 */ 1851, 361, 2061, 189, 425, 1850, 628, 427, 1849, 1848, - /* 1590 */ 1847, 1946, 1846, 627, 144, 1834, 1833, 1832, 1831, 1830, - /* 1600 */ 1829, 1828, 1827, 1317, 453, 1977, 1845, 1844, 1843, 1842, - /* 1610 */ 1841, 1840, 1839, 1838, 1837, 1836, 1835, 1976, 1826, 1825, - /* 1620 */ 1689, 2012, 1196, 196, 107, 1978, 631, 1980, 1981, 626, - /* 1630 */ 1688, 621, 1686, 197, 1650, 199, 1995, 1110, 2065, 1109, - /* 1640 */ 1649, 1918, 2064, 2061, 628, 1912, 1901, 173, 207, 1946, - /* 1650 */ 1900, 627, 1966, 1880, 1750, 1143, 73, 1685, 1683, 1977, - /* 1660 */ 1681, 1679, 1677, 485, 200, 74, 205, 1664, 468, 470, - /* 1670 */ 487, 489, 493, 497, 491, 1976, 1663, 486, 495, 2012, - /* 1680 */ 1646, 490, 107, 1978, 631, 1980, 1981, 626, 1977, 621, - /* 1690 */ 1995, 494, 498, 1752, 499, 1264, 2065, 1751, 628, 1265, - /* 1700 */ 616, 2061, 1675, 1946, 1187, 627, 1186, 1185, 61, 1184, - /* 1710 */ 686, 1179, 688, 1181, 1180, 1668, 1178, 345, 346, 1995, - /* 1720 */ 523, 1666, 347, 526, 1645, 528, 1644, 625, 1643, 629, - /* 1730 */ 532, 108, 1946, 2012, 627, 1917, 107, 1978, 631, 1980, - /* 1740 */ 1981, 626, 530, 621, 217, 1376, 1977, 1375, 1378, 55, - /* 1750 */ 2065, 536, 1367, 1911, 330, 2061, 544, 1899, 1976, 1897, - /* 1760 */ 26, 2139, 2012, 19, 16, 316, 1978, 631, 1980, 1981, - /* 1770 */ 626, 624, 621, 612, 2030, 558, 560, 1995, 1583, 28, - /* 1780 */ 241, 58, 243, 1567, 248, 628, 166, 247, 249, 29, - /* 1790 */ 1946, 1967, 627, 30, 1559, 20, 63, 17, 88, 1598, - /* 1800 */ 1977, 1603, 1604, 1597, 21, 352, 1602, 56, 1601, 353, - /* 1810 */ 1534, 545, 1533, 261, 237, 1898, 1976, 1896, 1895, 348, - /* 1820 */ 2012, 57, 550, 165, 1978, 631, 1980, 1981, 626, 5, - /* 1830 */ 621, 1995, 158, 6, 169, 1879, 91, 90, 22, 628, - /* 1840 */ 93, 267, 1565, 269, 1946, 274, 627, 65, 1878, 95, - /* 1850 */ 279, 23, 99, 12, 1977, 1410, 2015, 170, 1464, 1462, - /* 1860 */ 620, 182, 36, 1441, 15, 602, 634, 369, 276, 638, - /* 1870 */ 1976, 1461, 1433, 24, 2012, 578, 2155, 107, 1978, 631, - /* 1880 */ 1980, 1981, 626, 25, 621, 1995, 632, 1250, 1247, 636, - /* 1890 */ 639, 2065, 1244, 628, 641, 642, 2062, 644, 1946, 645, - /* 1900 */ 627, 1238, 1236, 1486, 647, 1242, 1977, 10, 648, 1241, - /* 1910 */ 1227, 100, 282, 1259, 101, 654, 1496, 1240, 1239, 1255, - /* 1920 */ 72, 1141, 1977, 664, 1976, 1175, 1174, 630, 2012, 1173, - /* 1930 */ 1172, 164, 1978, 631, 1980, 1981, 626, 1995, 621, 1171, - /* 1940 */ 1170, 1485, 1168, 1166, 1165, 628, 1164, 1194, 676, 1162, - /* 1950 */ 1946, 1161, 627, 1995, 283, 1160, 1159, 1158, 1157, 1156, - /* 1960 */ 1189, 628, 1153, 1191, 1152, 1149, 1946, 1148, 627, 1147, - /* 1970 */ 1146, 1682, 696, 2103, 697, 698, 1976, 1680, 700, 701, - /* 1980 */ 2012, 702, 1678, 310, 1978, 631, 1980, 1981, 626, 704, - /* 1990 */ 621, 706, 1976, 705, 1676, 708, 2012, 709, 710, 165, - /* 2000 */ 1978, 631, 1980, 1981, 626, 1662, 621, 712, 1099, 1642, - /* 2010 */ 286, 1977, 716, 1617, 1396, 296, 719, 720, 1617, 1617, - /* 2020 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 573, 1617, 1977, - /* 2030 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, - /* 2040 */ 1617, 1617, 1995, 1617, 1617, 1617, 1617, 356, 1617, 1617, - /* 2050 */ 628, 1617, 2156, 1617, 1617, 1946, 1617, 627, 1617, 1617, - /* 2060 */ 1995, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 625, 1617, - /* 2070 */ 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, 1617, - /* 2080 */ 1617, 1976, 1617, 1977, 1617, 2012, 1617, 1617, 317, 1978, - /* 2090 */ 631, 1980, 1981, 626, 1617, 621, 1617, 1617, 1617, 1976, - /* 2100 */ 1977, 1617, 1617, 2012, 1617, 1617, 316, 1978, 631, 1980, - /* 2110 */ 1981, 626, 1617, 621, 1995, 2031, 1617, 1617, 1617, 366, - /* 2120 */ 1617, 1617, 628, 1617, 1617, 1617, 1617, 1946, 1617, 627, - /* 2130 */ 1617, 1995, 1617, 1617, 1617, 1617, 368, 1617, 1617, 628, - /* 2140 */ 1617, 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, - /* 2150 */ 1617, 1617, 1977, 1976, 1617, 1617, 1617, 2012, 1617, 1617, - /* 2160 */ 317, 1978, 631, 1980, 1981, 626, 1617, 621, 1977, 1617, - /* 2170 */ 1976, 1617, 1617, 1617, 2012, 1617, 1617, 317, 1978, 631, - /* 2180 */ 1980, 1981, 626, 1995, 621, 1617, 1617, 1617, 1617, 1617, - /* 2190 */ 1617, 628, 1617, 1617, 1617, 1617, 1946, 1617, 627, 1995, - /* 2200 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 628, 1617, 1617, - /* 2210 */ 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, 1617, 1617, - /* 2220 */ 1977, 1617, 538, 1617, 1617, 1617, 2012, 1617, 1617, 312, - /* 2230 */ 1978, 631, 1980, 1981, 626, 1617, 621, 1617, 1976, 1617, - /* 2240 */ 1617, 1617, 2012, 1617, 1617, 301, 1978, 631, 1980, 1981, - /* 2250 */ 626, 1995, 621, 1617, 1617, 1617, 1617, 1617, 1617, 628, - /* 2260 */ 1617, 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, - /* 2270 */ 1617, 1617, 1617, 1617, 1977, 1617, 1617, 1617, 1617, 1617, - /* 2280 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, - /* 2290 */ 1976, 1617, 1617, 1617, 2012, 1977, 1617, 302, 1978, 631, - /* 2300 */ 1980, 1981, 626, 1617, 621, 1995, 1617, 1617, 1617, 1617, - /* 2310 */ 1617, 1617, 1617, 628, 1617, 1617, 1617, 1617, 1946, 1617, - /* 2320 */ 627, 1617, 1617, 1617, 1617, 1617, 1995, 1617, 1617, 1617, - /* 2330 */ 1617, 1617, 1617, 1617, 628, 1617, 1617, 1617, 1617, 1946, - /* 2340 */ 1617, 627, 1617, 1617, 1976, 1617, 1617, 1617, 2012, 1617, - /* 2350 */ 1617, 303, 1978, 631, 1980, 1981, 626, 1617, 621, 1617, - /* 2360 */ 1617, 1617, 1617, 1617, 1617, 1976, 1617, 1617, 1617, 2012, - /* 2370 */ 1617, 1977, 309, 1978, 631, 1980, 1981, 626, 1617, 621, - /* 2380 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1977, - /* 2390 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, - /* 2400 */ 1617, 1617, 1995, 1617, 1617, 1617, 1617, 1617, 1617, 1617, - /* 2410 */ 628, 1617, 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, - /* 2420 */ 1995, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 628, 1617, - /* 2430 */ 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, 1617, - /* 2440 */ 1617, 1976, 1617, 1977, 1617, 2012, 1617, 1617, 313, 1978, - /* 2450 */ 631, 1980, 1981, 626, 1617, 621, 1617, 1617, 1617, 1976, - /* 2460 */ 1977, 1617, 1617, 2012, 1617, 1617, 305, 1978, 631, 1980, - /* 2470 */ 1981, 626, 1617, 621, 1995, 1617, 1617, 1617, 1617, 1617, - /* 2480 */ 1617, 1617, 628, 1617, 1617, 1617, 1617, 1946, 1617, 627, - /* 2490 */ 1617, 1995, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 628, - /* 2500 */ 1617, 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, - /* 2510 */ 1617, 1617, 1977, 1976, 1617, 1617, 1617, 2012, 1617, 1617, - /* 2520 */ 314, 1978, 631, 1980, 1981, 626, 1617, 621, 1977, 1617, - /* 2530 */ 1976, 1617, 1617, 1617, 2012, 1617, 1617, 306, 1978, 631, - /* 2540 */ 1980, 1981, 626, 1995, 621, 1617, 1617, 1617, 1617, 1617, - /* 2550 */ 1617, 628, 1617, 1617, 1617, 1617, 1946, 1617, 627, 1995, - /* 2560 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 628, 1617, 1617, - /* 2570 */ 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, 1617, 1617, - /* 2580 */ 1977, 1617, 1976, 1617, 1617, 1617, 2012, 1617, 1617, 315, - /* 2590 */ 1978, 631, 1980, 1981, 626, 1617, 621, 1617, 1976, 1617, - /* 2600 */ 1617, 1617, 2012, 1977, 1617, 307, 1978, 631, 1980, 1981, - /* 2610 */ 626, 1995, 621, 1617, 1617, 1617, 1617, 1617, 1617, 628, - /* 2620 */ 1617, 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, - /* 2630 */ 1617, 1617, 1617, 1617, 1995, 1617, 1617, 1617, 1617, 1617, - /* 2640 */ 1617, 1617, 628, 1617, 1617, 1617, 1617, 1946, 1617, 627, - /* 2650 */ 1976, 1617, 1617, 1617, 2012, 1977, 1617, 320, 1978, 631, - /* 2660 */ 1980, 1981, 626, 1617, 621, 1617, 1617, 1617, 1617, 1617, - /* 2670 */ 1617, 1617, 1617, 1976, 1617, 1617, 1617, 2012, 1617, 1617, - /* 2680 */ 321, 1978, 631, 1980, 1981, 626, 1995, 621, 1617, 1617, - /* 2690 */ 1617, 1617, 1617, 1617, 628, 1617, 1617, 1617, 1617, 1946, - /* 2700 */ 1617, 627, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, - /* 2710 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1977, 1617, - /* 2720 */ 1617, 1617, 1617, 1617, 1617, 1976, 1617, 1617, 1617, 2012, - /* 2730 */ 1617, 1617, 1989, 1978, 631, 1980, 1981, 626, 1617, 621, - /* 2740 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1995, - /* 2750 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 628, 1617, 1617, - /* 2760 */ 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, 1617, 1617, - /* 2770 */ 1977, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, - /* 2780 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1976, 1977, - /* 2790 */ 1617, 1617, 2012, 1617, 1617, 1988, 1978, 631, 1980, 1981, - /* 2800 */ 626, 1995, 621, 1617, 1617, 1617, 1617, 1617, 1617, 628, - /* 2810 */ 1617, 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, - /* 2820 */ 1995, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 628, 1617, - /* 2830 */ 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, 1617, - /* 2840 */ 1976, 1977, 1617, 1617, 2012, 1617, 1617, 1987, 1978, 631, - /* 2850 */ 1980, 1981, 626, 1617, 621, 1617, 1617, 1977, 1617, 1976, - /* 2860 */ 1617, 1617, 1617, 2012, 1617, 1617, 332, 1978, 631, 1980, - /* 2870 */ 1981, 626, 1995, 621, 1617, 1617, 1617, 1617, 1617, 1617, - /* 2880 */ 628, 1617, 1617, 1617, 1617, 1946, 1617, 627, 1995, 1617, - /* 2890 */ 1617, 1617, 1617, 1617, 1617, 1617, 628, 1617, 1617, 1617, - /* 2900 */ 1617, 1946, 1617, 627, 1617, 1617, 1617, 1617, 1617, 1977, - /* 2910 */ 1617, 1976, 1617, 1617, 1617, 2012, 1617, 1617, 333, 1978, - /* 2920 */ 631, 1980, 1981, 626, 1617, 621, 1617, 1976, 1617, 1617, - /* 2930 */ 1617, 2012, 1977, 1617, 329, 1978, 631, 1980, 1981, 626, - /* 2940 */ 1995, 621, 1617, 1617, 1617, 1617, 1617, 1617, 628, 1617, - /* 2950 */ 1617, 1617, 1617, 1946, 1617, 627, 1617, 1617, 1617, 1617, - /* 2960 */ 1617, 1617, 1617, 1995, 1617, 1617, 1617, 1617, 1617, 1617, - /* 2970 */ 1617, 628, 1617, 1617, 1617, 1617, 1946, 1617, 627, 1976, - /* 2980 */ 1617, 1617, 1617, 2012, 1977, 1617, 334, 1978, 631, 1980, - /* 2990 */ 1981, 626, 1617, 621, 1617, 1617, 1617, 1617, 1617, 1617, - /* 3000 */ 1617, 1617, 629, 1617, 1617, 1617, 2012, 1617, 1617, 312, - /* 3010 */ 1978, 631, 1980, 1981, 626, 1995, 621, 1617, 1617, 1617, - /* 3020 */ 1617, 1617, 1617, 628, 1617, 1617, 1617, 1617, 1946, 1617, - /* 3030 */ 627, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, - /* 3040 */ 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, 1617, - /* 3050 */ 1617, 1617, 1617, 1617, 1976, 1617, 1617, 1617, 2012, 1617, - /* 3060 */ 1617, 311, 1978, 631, 1980, 1981, 626, 1617, 621, + /* 0 */ 35, 282, 1755, 1892, 579, 1892, 233, 2147, 2142, 1807, + /* 10 */ 1972, 2142, 45, 43, 1550, 361, 1890, 601, 1889, 601, + /* 20 */ 370, 1968, 1400, 578, 179, 613, 1768, 2146, 2143, 580, + /* 30 */ 1985, 2143, 2145, 1480, 1554, 1398, 468, 1968, 469, 1660, + /* 40 */ 1425, 613, 38, 37, 1972, 2088, 44, 42, 41, 40, + /* 50 */ 39, 1964, 1970, 352, 474, 1968, 409, 591, 1475, 1425, + /* 60 */ 470, 2003, 624, 18, 486, 1830, 1830, 1964, 1970, 594, + /* 70 */ 1406, 2085, 350, 337, 1954, 84, 630, 477, 624, 469, + /* 80 */ 1660, 1828, 1828, 45, 43, 1964, 1970, 365, 138, 134, + /* 90 */ 2147, 370, 163, 1400, 1636, 14, 624, 333, 1772, 555, + /* 100 */ 48, 1984, 2088, 2142, 1480, 2020, 1398, 1427, 107, 1986, + /* 110 */ 634, 1988, 1989, 629, 84, 624, 527, 721, 2148, 179, + /* 120 */ 176, 614, 2073, 2143, 580, 173, 364, 2069, 2084, 1475, + /* 130 */ 613, 537, 1482, 1483, 18, 130, 2003, 1773, 1509, 579, + /* 140 */ 181, 1406, 507, 2142, 573, 230, 340, 1877, 2099, 262, + /* 150 */ 2081, 590, 1777, 131, 589, 614, 1427, 2142, 578, 179, + /* 160 */ 530, 1455, 1465, 2143, 580, 524, 14, 1481, 1484, 130, + /* 170 */ 229, 375, 578, 179, 1823, 1825, 512, 2143, 580, 1873, + /* 180 */ 173, 1456, 1401, 1610, 1399, 572, 1777, 486, 721, 1106, + /* 190 */ 187, 38, 37, 232, 1510, 44, 42, 41, 40, 39, + /* 200 */ 1328, 1329, 1878, 1482, 1483, 48, 67, 1404, 1405, 66, + /* 210 */ 1454, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 626, + /* 220 */ 622, 1473, 1474, 1476, 1477, 1478, 1479, 2, 1108, 64, + /* 230 */ 1111, 1112, 1455, 1465, 41, 40, 39, 120, 1481, 1484, + /* 240 */ 119, 118, 117, 116, 115, 114, 113, 112, 111, 164, + /* 250 */ 264, 345, 175, 1401, 1731, 1399, 38, 37, 1377, 1378, + /* 260 */ 44, 42, 41, 40, 39, 1817, 34, 368, 1504, 1505, + /* 270 */ 1506, 1507, 1508, 1512, 1513, 1514, 1515, 191, 1404, 1405, + /* 280 */ 1425, 1454, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, + /* 290 */ 626, 622, 1473, 1474, 1476, 1477, 1478, 1479, 2, 264, + /* 300 */ 11, 45, 43, 1693, 44, 42, 41, 40, 39, 370, + /* 310 */ 1754, 1400, 346, 81, 344, 343, 80, 509, 574, 1985, + /* 320 */ 60, 511, 1480, 1647, 1398, 1232, 656, 655, 654, 1236, + /* 330 */ 653, 1238, 1239, 652, 1241, 649, 1192, 1247, 646, 1249, + /* 340 */ 1250, 643, 640, 510, 1587, 467, 265, 1475, 472, 1666, + /* 350 */ 2003, 536, 18, 1824, 1825, 182, 1426, 1617, 631, 1406, + /* 360 */ 1125, 8, 1124, 1954, 534, 630, 532, 1954, 522, 521, + /* 370 */ 520, 1194, 45, 43, 1485, 216, 135, 516, 1424, 1425, + /* 380 */ 370, 515, 1400, 60, 14, 90, 514, 519, 2088, 1830, + /* 390 */ 1984, 1126, 513, 1480, 2020, 1398, 358, 107, 1986, 634, + /* 400 */ 1988, 1989, 629, 1985, 624, 1828, 721, 141, 2147, 147, + /* 410 */ 2044, 2073, 2142, 31, 2083, 364, 2069, 666, 1475, 38, + /* 420 */ 37, 1482, 1483, 44, 42, 41, 40, 39, 2146, 1753, + /* 430 */ 1406, 1941, 2143, 2144, 2003, 1624, 152, 151, 663, 662, + /* 440 */ 661, 149, 628, 273, 274, 518, 517, 1954, 272, 630, + /* 450 */ 1455, 1465, 1616, 569, 60, 46, 1481, 1484, 415, 129, + /* 460 */ 128, 127, 126, 125, 124, 123, 122, 121, 1275, 1276, + /* 470 */ 182, 1401, 476, 1399, 1984, 472, 1666, 721, 2020, 392, + /* 480 */ 1646, 318, 1986, 634, 1988, 1989, 629, 627, 624, 615, + /* 490 */ 2038, 668, 1482, 1483, 692, 690, 1404, 1405, 326, 1454, + /* 500 */ 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 626, 622, + /* 510 */ 1473, 1474, 1476, 1477, 1478, 1479, 2, 522, 521, 520, + /* 520 */ 614, 1455, 1465, 362, 1954, 135, 516, 1481, 1484, 1625, + /* 530 */ 515, 161, 1830, 182, 54, 514, 519, 575, 570, 564, + /* 540 */ 1779, 513, 1401, 404, 1399, 60, 1622, 98, 1829, 140, + /* 550 */ 120, 1777, 2044, 119, 118, 117, 116, 115, 114, 113, + /* 560 */ 112, 111, 1985, 60, 406, 402, 1543, 1404, 1405, 1770, + /* 570 */ 1454, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 626, + /* 580 */ 622, 1473, 1474, 1476, 1477, 1478, 1479, 2, 45, 43, + /* 590 */ 1400, 1645, 616, 2003, 2045, 1125, 370, 1124, 1400, 660, + /* 600 */ 614, 631, 1821, 1398, 182, 49, 1954, 668, 630, 1480, + /* 610 */ 385, 1398, 659, 231, 184, 13, 12, 38, 37, 1985, + /* 620 */ 1830, 44, 42, 41, 40, 39, 1126, 363, 11, 1428, + /* 630 */ 591, 1777, 1830, 1984, 1475, 1954, 1828, 2020, 1406, 374, + /* 640 */ 312, 1986, 634, 1988, 1989, 629, 1406, 624, 1828, 408, + /* 650 */ 2003, 407, 614, 555, 1860, 2146, 614, 2142, 631, 45, + /* 660 */ 43, 138, 11, 1954, 9, 630, 413, 370, 1428, 1400, + /* 670 */ 414, 46, 2148, 179, 104, 87, 328, 2143, 580, 540, + /* 680 */ 1480, 538, 1398, 1777, 576, 721, 597, 1777, 139, 614, + /* 690 */ 1984, 1644, 1643, 721, 2020, 182, 1769, 108, 1986, 634, + /* 700 */ 1988, 1989, 629, 423, 624, 1475, 1752, 621, 1482, 1483, + /* 710 */ 1523, 2073, 1425, 182, 614, 2072, 2069, 1406, 416, 451, + /* 720 */ 1777, 593, 177, 2081, 2082, 1406, 136, 2086, 437, 555, + /* 730 */ 1642, 417, 614, 2142, 1511, 1954, 1954, 1455, 1465, 373, + /* 740 */ 1873, 1641, 14, 1481, 1484, 1777, 438, 161, 2148, 179, + /* 750 */ 1401, 189, 1399, 2143, 580, 182, 1779, 681, 1401, 1747, + /* 760 */ 1399, 38, 37, 1777, 721, 44, 42, 41, 40, 39, + /* 770 */ 1426, 1873, 242, 1640, 1954, 1404, 1405, 195, 194, 1482, + /* 780 */ 1483, 1547, 193, 1404, 1405, 1954, 1454, 1457, 1458, 1459, + /* 790 */ 1460, 1461, 1462, 1463, 1464, 626, 622, 1473, 1474, 1476, + /* 800 */ 1477, 1478, 1479, 2, 1639, 432, 32, 614, 1455, 1465, + /* 810 */ 325, 188, 1423, 666, 1481, 1484, 1516, 1954, 618, 445, + /* 820 */ 2045, 484, 458, 1766, 664, 457, 1577, 1821, 50, 1401, + /* 830 */ 3, 1399, 152, 151, 663, 662, 661, 149, 1777, 376, + /* 840 */ 429, 1428, 459, 161, 1490, 431, 680, 161, 1954, 1566, + /* 850 */ 1425, 1501, 1780, 1456, 1404, 1405, 1779, 1454, 1457, 1458, + /* 860 */ 1459, 1460, 1461, 1462, 1463, 1464, 626, 622, 1473, 1474, + /* 870 */ 1476, 1477, 1478, 1479, 2, 566, 1575, 1576, 1578, 1579, + /* 880 */ 162, 665, 1343, 1344, 1821, 302, 341, 1690, 614, 38, + /* 890 */ 37, 1111, 1112, 44, 42, 41, 40, 39, 419, 300, + /* 900 */ 70, 33, 485, 69, 586, 511, 296, 38, 37, 1807, + /* 910 */ 103, 44, 42, 41, 40, 39, 582, 1342, 1345, 1777, + /* 920 */ 100, 199, 464, 462, 144, 27, 132, 510, 455, 2093, + /* 930 */ 1543, 450, 449, 448, 447, 444, 443, 442, 441, 440, + /* 940 */ 436, 435, 434, 433, 342, 426, 425, 424, 1638, 421, + /* 950 */ 420, 339, 698, 697, 696, 695, 380, 60, 694, 693, + /* 960 */ 142, 688, 687, 686, 685, 684, 683, 682, 154, 678, + /* 970 */ 677, 676, 379, 378, 673, 672, 671, 670, 669, 614, + /* 980 */ 724, 38, 37, 150, 241, 44, 42, 41, 40, 39, + /* 990 */ 1635, 1456, 1954, 1774, 289, 150, 106, 38, 37, 1680, + /* 1000 */ 1985, 44, 42, 41, 40, 39, 71, 1732, 222, 172, + /* 1010 */ 1777, 220, 614, 1634, 614, 714, 710, 706, 702, 287, + /* 1020 */ 1762, 523, 583, 1546, 224, 1633, 234, 223, 551, 666, + /* 1030 */ 226, 2003, 1632, 225, 1954, 53, 78, 77, 412, 594, + /* 1040 */ 1764, 186, 1631, 1777, 1954, 1777, 630, 1375, 152, 151, + /* 1050 */ 663, 662, 661, 149, 1409, 105, 79, 1954, 280, 324, + /* 1060 */ 550, 1973, 400, 614, 398, 394, 390, 387, 384, 1954, + /* 1070 */ 614, 1984, 1968, 1985, 614, 2020, 1954, 595, 107, 1986, + /* 1080 */ 634, 1988, 1989, 629, 599, 624, 1954, 1637, 600, 1630, + /* 1090 */ 176, 610, 2073, 1985, 1777, 614, 364, 2069, 1673, 383, + /* 1100 */ 614, 1777, 1964, 1970, 2003, 1777, 1629, 182, 228, 277, + /* 1110 */ 2113, 227, 631, 624, 609, 1628, 1760, 1954, 2100, 630, + /* 1120 */ 525, 1671, 1619, 1620, 2003, 268, 1777, 52, 587, 62, + /* 1130 */ 267, 1777, 631, 1954, 554, 246, 160, 1954, 1627, 630, + /* 1140 */ 150, 237, 555, 528, 1984, 47, 2142, 1369, 2020, 236, + /* 1150 */ 1954, 107, 1986, 634, 1988, 1989, 629, 240, 624, 1954, + /* 1160 */ 1985, 2148, 179, 2162, 1984, 2073, 2143, 580, 2020, 364, + /* 1170 */ 2069, 107, 1986, 634, 1988, 1989, 629, 625, 624, 614, + /* 1180 */ 2107, 1574, 1954, 2162, 614, 2073, 382, 248, 1408, 364, + /* 1190 */ 2069, 2003, 598, 611, 614, 614, 88, 1340, 377, 631, + /* 1200 */ 2120, 13, 12, 1412, 1954, 658, 630, 259, 612, 283, + /* 1210 */ 1777, 567, 270, 367, 366, 1777, 1985, 215, 68, 1882, + /* 1220 */ 148, 381, 543, 1414, 150, 1777, 1777, 62, 47, 555, + /* 1230 */ 47, 1984, 591, 2142, 1480, 2020, 1407, 1667, 107, 1986, + /* 1240 */ 634, 1988, 1989, 629, 584, 624, 1154, 2003, 2148, 179, + /* 1250 */ 2162, 638, 2073, 2143, 580, 631, 364, 2069, 148, 1475, + /* 1260 */ 1954, 1985, 630, 138, 275, 555, 1975, 562, 150, 2142, + /* 1270 */ 606, 1406, 279, 591, 253, 133, 1225, 2004, 148, 1517, + /* 1280 */ 1466, 1155, 295, 1661, 2148, 179, 716, 1984, 1818, 2143, + /* 1290 */ 580, 2020, 2003, 674, 107, 1986, 634, 1988, 1989, 629, + /* 1300 */ 631, 624, 2103, 1253, 138, 1954, 2162, 630, 2073, 675, + /* 1310 */ 1257, 592, 364, 2069, 1977, 1173, 261, 258, 620, 4, + /* 1320 */ 1264, 1, 386, 2136, 178, 2081, 2082, 1262, 136, 2086, + /* 1330 */ 153, 1171, 1984, 391, 338, 1362, 2020, 1411, 290, 107, + /* 1340 */ 1986, 634, 1988, 1989, 629, 192, 624, 418, 1428, 1883, + /* 1350 */ 422, 2162, 453, 2073, 427, 1423, 439, 364, 2069, 1875, + /* 1360 */ 1985, 446, 452, 454, 460, 180, 2081, 2082, 2092, 136, + /* 1370 */ 2086, 461, 196, 463, 465, 1429, 466, 475, 1431, 478, + /* 1380 */ 1426, 202, 479, 1415, 204, 1410, 1430, 480, 1432, 483, + /* 1390 */ 481, 2003, 487, 207, 1128, 209, 82, 83, 504, 631, + /* 1400 */ 213, 505, 508, 506, 1954, 1931, 630, 1767, 1418, 1420, + /* 1410 */ 110, 327, 1930, 542, 544, 86, 219, 291, 146, 1763, + /* 1420 */ 221, 622, 1473, 1474, 1476, 1477, 1478, 1479, 155, 156, + /* 1430 */ 1765, 1984, 235, 1985, 1761, 2020, 157, 158, 107, 1986, + /* 1440 */ 634, 1988, 1989, 629, 545, 624, 238, 552, 2104, 2114, + /* 1450 */ 2048, 559, 2073, 1985, 549, 2119, 364, 2069, 546, 568, + /* 1460 */ 604, 244, 565, 7, 2003, 353, 2118, 247, 577, 571, + /* 1470 */ 2095, 560, 631, 252, 558, 255, 169, 1954, 557, 630, + /* 1480 */ 354, 585, 254, 256, 2003, 257, 2141, 2165, 588, 1543, + /* 1490 */ 137, 1427, 631, 2089, 596, 292, 357, 1954, 602, 630, + /* 1500 */ 266, 93, 603, 260, 1984, 1900, 1899, 1898, 2020, 1985, + /* 1510 */ 360, 107, 1986, 634, 1988, 1989, 629, 293, 624, 607, + /* 1520 */ 608, 294, 95, 2046, 1984, 2073, 59, 97, 2020, 364, + /* 1530 */ 2069, 107, 1986, 634, 1988, 1989, 629, 1778, 624, 2054, + /* 1540 */ 2003, 99, 636, 617, 1822, 2073, 1748, 717, 631, 364, + /* 1550 */ 2069, 297, 720, 1954, 718, 630, 51, 329, 286, 321, + /* 1560 */ 1948, 330, 306, 1947, 1985, 301, 320, 299, 75, 1946, + /* 1570 */ 1945, 1942, 76, 310, 388, 389, 1392, 1393, 185, 393, + /* 1580 */ 1984, 1940, 395, 396, 2020, 397, 1939, 108, 1986, 634, + /* 1590 */ 1988, 1989, 629, 399, 624, 2003, 401, 1937, 403, 1936, + /* 1600 */ 405, 2073, 1938, 631, 1365, 619, 2069, 1364, 1954, 1911, + /* 1610 */ 630, 1910, 410, 411, 1909, 1908, 1868, 1867, 1865, 1319, + /* 1620 */ 1985, 143, 1864, 1863, 1866, 1862, 1861, 1859, 1858, 1857, + /* 1630 */ 190, 1856, 430, 428, 1855, 632, 1985, 1854, 1853, 2020, + /* 1640 */ 1852, 1851, 108, 1986, 634, 1988, 1989, 629, 1850, 624, + /* 1650 */ 1849, 2003, 145, 1840, 1839, 1838, 2073, 1848, 1847, 631, + /* 1660 */ 332, 2069, 1846, 1845, 1954, 1844, 630, 2003, 1321, 1835, + /* 1670 */ 1834, 1833, 456, 1832, 1831, 631, 1843, 1842, 1841, 1837, + /* 1680 */ 1954, 1836, 630, 1695, 1200, 1694, 1692, 1656, 197, 200, + /* 1690 */ 198, 1984, 1974, 1655, 1114, 2020, 1113, 1985, 165, 1986, + /* 1700 */ 634, 1988, 1989, 629, 174, 624, 73, 1984, 471, 1924, + /* 1710 */ 1918, 2020, 201, 473, 166, 1986, 634, 1988, 1989, 629, + /* 1720 */ 1907, 624, 208, 74, 1906, 1886, 1756, 206, 2003, 488, + /* 1730 */ 490, 1687, 492, 1685, 494, 496, 631, 1691, 1689, 556, + /* 1740 */ 2110, 1954, 498, 630, 489, 1683, 493, 497, 500, 501, + /* 1750 */ 502, 1670, 1985, 1147, 1669, 1652, 1758, 1269, 1268, 1757, + /* 1760 */ 61, 218, 1191, 1190, 1183, 1189, 581, 2163, 1984, 1985, + /* 1770 */ 1188, 1681, 2020, 1674, 1185, 108, 1986, 634, 1988, 1989, + /* 1780 */ 629, 1184, 624, 2003, 689, 691, 347, 1182, 348, 2073, + /* 1790 */ 1672, 631, 349, 526, 2070, 529, 1954, 1651, 630, 1650, + /* 1800 */ 2003, 535, 531, 533, 1649, 109, 539, 1382, 631, 1381, + /* 1810 */ 1384, 26, 1923, 1954, 55, 630, 1371, 1917, 159, 1905, + /* 1820 */ 547, 1903, 19, 1984, 16, 2147, 563, 2020, 1589, 239, + /* 1830 */ 165, 1986, 634, 1988, 1989, 629, 561, 624, 1985, 28, + /* 1840 */ 1984, 251, 243, 167, 2020, 245, 553, 166, 1986, 634, + /* 1850 */ 1988, 1989, 629, 548, 624, 351, 249, 1985, 58, 1573, + /* 1860 */ 29, 1604, 250, 1975, 30, 1565, 63, 21, 20, 2003, + /* 1870 */ 89, 1603, 2111, 1609, 359, 5, 6, 631, 1610, 355, + /* 1880 */ 1608, 1607, 1954, 356, 630, 17, 263, 1540, 2003, 1539, + /* 1890 */ 170, 57, 1904, 1902, 1901, 1885, 628, 91, 92, 269, + /* 1900 */ 2164, 1954, 22, 630, 1571, 271, 276, 1884, 65, 1984, + /* 1910 */ 94, 100, 281, 2020, 278, 12, 319, 1986, 634, 1988, + /* 1920 */ 1989, 629, 96, 624, 1985, 23, 1416, 2023, 1984, 1470, + /* 1930 */ 1502, 1468, 2020, 623, 10, 318, 1986, 634, 1988, 1989, + /* 1940 */ 629, 1447, 624, 1492, 2039, 56, 605, 1491, 36, 171, + /* 1950 */ 1467, 217, 15, 183, 1231, 2003, 24, 635, 1439, 25, + /* 1960 */ 369, 637, 633, 631, 1254, 372, 168, 639, 1954, 1251, + /* 1970 */ 630, 641, 503, 499, 495, 491, 214, 642, 644, 1248, + /* 1980 */ 1985, 645, 647, 1242, 648, 650, 1240, 657, 1246, 1245, + /* 1990 */ 284, 651, 101, 1244, 102, 1984, 1985, 1243, 1263, 2020, + /* 2000 */ 72, 1259, 319, 1986, 634, 1988, 1989, 629, 1145, 624, + /* 2010 */ 1179, 2003, 85, 1178, 667, 212, 371, 1177, 1176, 631, + /* 2020 */ 1175, 1174, 1172, 1170, 1954, 1169, 630, 2003, 1168, 1198, + /* 2030 */ 679, 1166, 1163, 285, 1165, 631, 1164, 1162, 1161, 1160, + /* 2040 */ 1954, 1195, 630, 1193, 1157, 1151, 1156, 1153, 1152, 1150, + /* 2050 */ 1688, 1984, 699, 700, 701, 2020, 1686, 1985, 319, 1986, + /* 2060 */ 634, 1988, 1989, 629, 703, 624, 704, 541, 1684, 705, + /* 2070 */ 707, 2020, 708, 709, 314, 1986, 634, 1988, 1989, 629, + /* 2080 */ 1682, 624, 211, 205, 711, 712, 713, 210, 2003, 1668, + /* 2090 */ 482, 1648, 715, 288, 1103, 719, 631, 1402, 298, 722, + /* 2100 */ 1623, 1954, 723, 630, 1623, 1623, 203, 1623, 1623, 1623, + /* 2110 */ 1623, 1623, 1985, 1623, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2120 */ 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1984, 1985, + /* 2130 */ 1623, 1623, 2020, 1623, 1623, 303, 1986, 634, 1988, 1989, + /* 2140 */ 629, 1623, 624, 2003, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2150 */ 1623, 631, 1623, 1623, 1623, 1623, 1954, 1623, 630, 1623, + /* 2160 */ 2003, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 631, 1623, + /* 2170 */ 1623, 1623, 1623, 1954, 1623, 630, 1623, 1623, 1623, 1623, + /* 2180 */ 1623, 1623, 1623, 1984, 1623, 1623, 1985, 2020, 1623, 1623, + /* 2190 */ 304, 1986, 634, 1988, 1989, 629, 1623, 624, 1623, 1623, + /* 2200 */ 1984, 1623, 1623, 1985, 2020, 1623, 1623, 305, 1986, 634, + /* 2210 */ 1988, 1989, 629, 1623, 624, 1623, 1623, 2003, 1623, 1623, + /* 2220 */ 1623, 1623, 1623, 1623, 1623, 631, 1623, 1623, 1623, 1623, + /* 2230 */ 1954, 1623, 630, 1623, 2003, 1623, 1623, 1623, 1623, 1623, + /* 2240 */ 1623, 1623, 631, 1623, 1623, 1623, 1623, 1954, 1985, 630, + /* 2250 */ 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1984, 1623, 1623, + /* 2260 */ 1623, 2020, 1623, 1623, 311, 1986, 634, 1988, 1989, 629, + /* 2270 */ 1623, 624, 1623, 1623, 1984, 1623, 1623, 1623, 2020, 2003, + /* 2280 */ 1623, 315, 1986, 634, 1988, 1989, 629, 631, 624, 1623, + /* 2290 */ 1623, 1623, 1954, 1623, 630, 1623, 1623, 1623, 1623, 1623, + /* 2300 */ 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1985, + /* 2310 */ 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1984, + /* 2320 */ 1623, 1623, 1623, 2020, 1623, 1985, 307, 1986, 634, 1988, + /* 2330 */ 1989, 629, 1623, 624, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2340 */ 2003, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 631, 1623, + /* 2350 */ 1623, 1623, 1623, 1954, 1623, 630, 2003, 1623, 1623, 1623, + /* 2360 */ 1623, 1623, 1623, 1623, 631, 1623, 1623, 1623, 1623, 1954, + /* 2370 */ 1623, 630, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2380 */ 1984, 1623, 1623, 1623, 2020, 1623, 1985, 316, 1986, 634, + /* 2390 */ 1988, 1989, 629, 1623, 624, 1623, 1984, 1623, 1623, 1623, + /* 2400 */ 2020, 1623, 1623, 308, 1986, 634, 1988, 1989, 629, 1623, + /* 2410 */ 624, 1623, 1623, 1623, 1623, 1623, 1623, 2003, 1623, 1623, + /* 2420 */ 1623, 1623, 1623, 1623, 1623, 631, 1623, 1623, 1623, 1623, + /* 2430 */ 1954, 1623, 630, 1623, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2440 */ 1623, 1985, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2450 */ 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1984, 1985, 1623, + /* 2460 */ 1623, 2020, 1623, 1623, 317, 1986, 634, 1988, 1989, 629, + /* 2470 */ 1623, 624, 2003, 1623, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2480 */ 631, 1623, 1623, 1623, 1623, 1954, 1623, 630, 1623, 2003, + /* 2490 */ 1623, 1623, 1623, 1623, 1623, 1623, 1623, 631, 1623, 1623, + /* 2500 */ 1623, 1623, 1954, 1623, 630, 1623, 1623, 1623, 1623, 1623, + /* 2510 */ 1623, 1623, 1984, 1623, 1623, 1985, 2020, 1623, 1623, 309, + /* 2520 */ 1986, 634, 1988, 1989, 629, 1623, 624, 1623, 1623, 1984, + /* 2530 */ 1623, 1623, 1985, 2020, 1623, 1623, 322, 1986, 634, 1988, + /* 2540 */ 1989, 629, 1623, 624, 1623, 1623, 2003, 1623, 1623, 1623, + /* 2550 */ 1623, 1623, 1623, 1623, 631, 1623, 1623, 1623, 1623, 1954, + /* 2560 */ 1623, 630, 1623, 2003, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2570 */ 1623, 631, 1623, 1623, 1623, 1623, 1954, 1985, 630, 1623, + /* 2580 */ 1623, 1623, 1623, 1623, 1623, 1623, 1984, 1623, 1623, 1623, + /* 2590 */ 2020, 1623, 1623, 323, 1986, 634, 1988, 1989, 629, 1623, + /* 2600 */ 624, 1623, 1623, 1984, 1623, 1623, 1623, 2020, 2003, 1623, + /* 2610 */ 1997, 1986, 634, 1988, 1989, 629, 631, 624, 1623, 1623, + /* 2620 */ 1623, 1954, 1623, 630, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2630 */ 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1985, 1623, + /* 2640 */ 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1984, 1623, + /* 2650 */ 1623, 1623, 2020, 1623, 1985, 1996, 1986, 634, 1988, 1989, + /* 2660 */ 629, 1623, 624, 1623, 1623, 1623, 1623, 1623, 1623, 2003, + /* 2670 */ 1623, 1623, 1623, 1623, 1623, 1623, 1623, 631, 1623, 1623, + /* 2680 */ 1623, 1623, 1954, 1623, 630, 2003, 1623, 1623, 1623, 1623, + /* 2690 */ 1623, 1623, 1623, 631, 1623, 1623, 1623, 1623, 1954, 1623, + /* 2700 */ 630, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1984, + /* 2710 */ 1623, 1623, 1623, 2020, 1623, 1985, 1995, 1986, 634, 1988, + /* 2720 */ 1989, 629, 1623, 624, 1623, 1984, 1623, 1623, 1623, 2020, + /* 2730 */ 1623, 1623, 334, 1986, 634, 1988, 1989, 629, 1623, 624, + /* 2740 */ 1623, 1623, 1623, 1623, 1623, 1623, 2003, 1623, 1623, 1623, + /* 2750 */ 1623, 1623, 1623, 1623, 631, 1623, 1623, 1623, 1623, 1954, + /* 2760 */ 1623, 630, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2770 */ 1985, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2780 */ 1623, 1623, 1623, 1623, 1623, 1623, 1984, 1985, 1623, 1623, + /* 2790 */ 2020, 1623, 1623, 335, 1986, 634, 1988, 1989, 629, 1623, + /* 2800 */ 624, 2003, 1623, 1623, 1623, 1623, 1623, 1623, 1623, 631, + /* 2810 */ 1623, 1623, 1623, 1623, 1954, 1623, 630, 1623, 2003, 1623, + /* 2820 */ 1623, 1623, 1623, 1623, 1623, 1623, 631, 1623, 1623, 1623, + /* 2830 */ 1623, 1954, 1623, 630, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2840 */ 1623, 1984, 1623, 1623, 1985, 2020, 1623, 1623, 331, 1986, + /* 2850 */ 634, 1988, 1989, 629, 1623, 624, 1623, 1623, 1984, 1623, + /* 2860 */ 1623, 1985, 2020, 1623, 1623, 336, 1986, 634, 1988, 1989, + /* 2870 */ 629, 1623, 624, 1623, 1623, 2003, 1623, 1623, 1623, 1623, + /* 2880 */ 1623, 1623, 1623, 631, 1623, 1623, 1623, 1623, 1954, 1623, + /* 2890 */ 630, 1623, 2003, 1623, 1623, 1623, 1623, 1623, 1623, 1623, + /* 2900 */ 631, 1623, 1623, 1623, 1623, 1954, 1623, 630, 1623, 1623, + /* 2910 */ 1623, 1623, 1623, 1623, 1623, 632, 1623, 1623, 1623, 2020, + /* 2920 */ 1623, 1623, 314, 1986, 634, 1988, 1989, 629, 1623, 624, + /* 2930 */ 1623, 1623, 1984, 1623, 1623, 1623, 2020, 1623, 1623, 313, + /* 2940 */ 1986, 634, 1988, 1989, 629, 1623, 624, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 420, 421, 332, 374, 334, 335, 332, 370, 334, 335, - /* 10 */ 373, 374, 12, 13, 14, 361, 387, 388, 360, 14, - /* 20 */ 20, 336, 22, 8, 9, 20, 372, 12, 13, 14, - /* 30 */ 15, 16, 359, 33, 333, 35, 352, 336, 337, 355, - /* 40 */ 431, 20, 8, 9, 435, 393, 12, 13, 14, 15, - /* 50 */ 16, 39, 20, 380, 381, 401, 402, 403, 58, 450, - /* 60 */ 451, 376, 58, 63, 455, 456, 412, 8, 9, 328, - /* 70 */ 70, 12, 13, 14, 15, 16, 333, 20, 336, 336, - /* 80 */ 337, 8, 9, 12, 13, 12, 13, 14, 15, 16, - /* 90 */ 3, 20, 358, 22, 0, 95, 415, 63, 94, 418, - /* 100 */ 359, 97, 95, 44, 33, 371, 35, 20, 367, 367, - /* 110 */ 327, 96, 329, 372, 336, 374, 95, 117, 24, 25, - /* 120 */ 26, 27, 28, 29, 30, 31, 32, 95, 350, 58, - /* 130 */ 340, 343, 132, 133, 63, 357, 348, 79, 104, 398, - /* 140 */ 4, 70, 62, 402, 354, 367, 405, 406, 407, 408, - /* 150 */ 409, 410, 362, 412, 20, 431, 359, 44, 417, 435, - /* 160 */ 419, 161, 162, 366, 423, 424, 95, 167, 168, 427, - /* 170 */ 428, 429, 375, 431, 432, 451, 20, 435, 437, 455, - /* 180 */ 456, 431, 182, 96, 184, 435, 445, 21, 117, 132, - /* 190 */ 133, 58, 450, 451, 160, 137, 138, 455, 456, 95, - /* 200 */ 34, 451, 36, 132, 133, 455, 456, 207, 208, 96, + /* 0 */ 421, 422, 0, 374, 432, 374, 352, 432, 436, 355, + /* 10 */ 361, 436, 12, 13, 14, 384, 387, 388, 387, 388, + /* 20 */ 20, 372, 22, 451, 452, 20, 361, 452, 456, 457, + /* 30 */ 328, 456, 457, 33, 14, 35, 332, 372, 334, 335, + /* 40 */ 20, 20, 8, 9, 361, 405, 12, 13, 14, 15, + /* 50 */ 16, 402, 403, 404, 14, 372, 389, 336, 58, 20, + /* 60 */ 20, 359, 413, 63, 62, 359, 359, 402, 403, 367, + /* 70 */ 70, 431, 366, 366, 372, 342, 374, 332, 413, 334, + /* 80 */ 335, 375, 375, 12, 13, 402, 403, 404, 367, 356, + /* 90 */ 3, 20, 327, 22, 329, 95, 413, 63, 365, 432, + /* 100 */ 95, 399, 405, 436, 33, 403, 35, 20, 406, 407, + /* 110 */ 408, 409, 410, 411, 342, 413, 4, 117, 451, 452, + /* 120 */ 418, 336, 420, 456, 457, 359, 424, 425, 431, 58, + /* 130 */ 20, 19, 132, 133, 63, 350, 359, 365, 104, 432, + /* 140 */ 438, 70, 357, 436, 367, 33, 380, 381, 446, 428, + /* 150 */ 429, 430, 367, 432, 433, 336, 20, 436, 451, 452, + /* 160 */ 48, 161, 162, 456, 457, 53, 95, 167, 168, 350, + /* 170 */ 58, 370, 451, 452, 373, 374, 357, 456, 457, 367, + /* 180 */ 359, 161, 182, 96, 184, 408, 367, 62, 117, 4, + /* 190 */ 378, 8, 9, 126, 160, 12, 13, 14, 15, 16, + /* 200 */ 161, 162, 381, 132, 133, 95, 94, 207, 208, 97, /* 210 */ 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, - /* 220 */ 220, 221, 222, 223, 224, 225, 226, 227, 95, 95, - /* 230 */ 97, 95, 161, 162, 404, 20, 163, 21, 167, 168, - /* 240 */ 24, 25, 26, 27, 28, 29, 30, 31, 32, 20, - /* 250 */ 163, 127, 245, 182, 404, 184, 244, 8, 9, 328, - /* 260 */ 430, 12, 13, 14, 15, 16, 232, 233, 234, 235, - /* 270 */ 236, 237, 238, 239, 240, 241, 242, 245, 207, 208, - /* 280 */ 430, 210, 211, 212, 213, 214, 215, 216, 217, 218, - /* 290 */ 219, 220, 221, 222, 223, 224, 225, 226, 227, 177, - /* 300 */ 229, 12, 13, 372, 361, 22, 14, 328, 359, 20, - /* 310 */ 22, 22, 20, 189, 190, 372, 367, 193, 35, 195, - /* 320 */ 198, 199, 33, 35, 35, 108, 109, 110, 111, 112, - /* 330 */ 113, 114, 115, 116, 117, 118, 0, 120, 121, 122, - /* 340 */ 123, 124, 125, 33, 401, 402, 403, 58, 359, 245, - /* 350 */ 389, 372, 63, 70, 359, 412, 407, 368, 48, 70, - /* 360 */ 20, 366, 22, 62, 54, 55, 56, 57, 58, 328, - /* 370 */ 375, 328, 12, 13, 14, 35, 161, 162, 245, 245, - /* 380 */ 20, 245, 22, 359, 95, 12, 13, 14, 15, 16, - /* 390 */ 366, 51, 431, 33, 369, 35, 435, 372, 328, 375, - /* 400 */ 117, 65, 66, 67, 94, 4, 117, 97, 0, 73, - /* 410 */ 74, 450, 451, 372, 78, 372, 455, 456, 58, 83, - /* 420 */ 84, 132, 133, 174, 328, 89, 126, 127, 70, 21, - /* 430 */ 70, 131, 24, 25, 26, 27, 28, 29, 30, 31, - /* 440 */ 32, 336, 372, 20, 43, 369, 45, 46, 372, 374, - /* 450 */ 161, 162, 336, 161, 359, 95, 167, 168, 20, 384, - /* 460 */ 22, 366, 387, 388, 336, 182, 350, 184, 372, 63, - /* 470 */ 375, 182, 367, 184, 164, 165, 328, 117, 350, 169, - /* 480 */ 8, 9, 172, 367, 12, 13, 14, 15, 16, 51, - /* 490 */ 207, 208, 132, 133, 342, 367, 207, 208, 188, 210, + /* 220 */ 220, 221, 222, 223, 224, 225, 226, 227, 43, 4, + /* 230 */ 45, 46, 161, 162, 14, 15, 16, 21, 167, 168, + /* 240 */ 24, 25, 26, 27, 28, 29, 30, 31, 32, 343, + /* 250 */ 163, 37, 358, 182, 348, 184, 8, 9, 191, 192, + /* 260 */ 12, 13, 14, 15, 16, 371, 232, 233, 234, 235, + /* 270 */ 236, 237, 238, 239, 240, 241, 242, 58, 207, 208, + /* 280 */ 20, 210, 211, 212, 213, 214, 215, 216, 217, 218, + /* 290 */ 219, 220, 221, 222, 223, 224, 225, 226, 227, 163, + /* 300 */ 229, 12, 13, 0, 12, 13, 14, 15, 16, 20, + /* 310 */ 0, 22, 98, 94, 100, 101, 97, 103, 20, 328, + /* 320 */ 95, 107, 33, 328, 35, 108, 109, 110, 111, 112, + /* 330 */ 113, 114, 115, 116, 117, 118, 35, 120, 121, 122, + /* 340 */ 123, 124, 125, 129, 96, 333, 58, 58, 336, 337, + /* 350 */ 359, 21, 63, 373, 374, 245, 20, 174, 367, 70, + /* 360 */ 20, 39, 22, 372, 34, 374, 36, 372, 65, 66, + /* 370 */ 67, 70, 12, 13, 14, 35, 73, 74, 20, 20, + /* 380 */ 20, 78, 22, 95, 95, 97, 83, 84, 405, 359, + /* 390 */ 399, 51, 89, 33, 403, 35, 366, 406, 407, 408, + /* 400 */ 409, 410, 411, 328, 413, 375, 117, 416, 432, 418, + /* 410 */ 419, 420, 436, 2, 431, 424, 425, 107, 58, 8, + /* 420 */ 9, 132, 133, 12, 13, 14, 15, 16, 452, 0, + /* 430 */ 70, 0, 456, 457, 359, 0, 126, 127, 128, 129, + /* 440 */ 130, 131, 367, 126, 127, 345, 346, 372, 131, 374, + /* 450 */ 161, 162, 269, 166, 95, 95, 167, 168, 336, 24, + /* 460 */ 25, 26, 27, 28, 29, 30, 31, 32, 132, 133, + /* 470 */ 245, 182, 333, 184, 399, 336, 337, 117, 403, 48, + /* 480 */ 328, 406, 407, 408, 409, 410, 411, 412, 413, 414, + /* 490 */ 415, 62, 132, 133, 345, 346, 207, 208, 376, 210, /* 500 */ 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - /* 510 */ 221, 222, 223, 224, 225, 226, 227, 365, 269, 20, - /* 520 */ 372, 161, 162, 336, 35, 328, 431, 167, 168, 336, - /* 530 */ 435, 426, 427, 428, 429, 336, 431, 432, 20, 65, - /* 540 */ 66, 67, 182, 350, 184, 450, 451, 73, 74, 350, - /* 550 */ 455, 456, 78, 328, 367, 132, 133, 83, 84, 70, - /* 560 */ 367, 328, 328, 89, 373, 374, 367, 207, 208, 372, + /* 510 */ 221, 222, 223, 224, 225, 226, 227, 65, 66, 67, + /* 520 */ 336, 161, 162, 351, 372, 73, 74, 167, 168, 0, + /* 530 */ 78, 359, 359, 245, 350, 83, 84, 250, 251, 252, + /* 540 */ 368, 89, 182, 177, 184, 95, 325, 340, 375, 416, + /* 550 */ 21, 367, 419, 24, 25, 26, 27, 28, 29, 30, + /* 560 */ 31, 32, 328, 95, 198, 199, 244, 207, 208, 362, /* 570 */ 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, /* 580 */ 220, 221, 222, 223, 224, 225, 226, 227, 12, 13, - /* 590 */ 167, 168, 359, 0, 342, 351, 20, 372, 22, 20, - /* 600 */ 367, 325, 416, 359, 418, 372, 372, 374, 356, 33, - /* 610 */ 126, 35, 368, 207, 427, 428, 429, 365, 431, 432, - /* 620 */ 8, 9, 328, 404, 12, 13, 14, 15, 16, 4, - /* 630 */ 166, 398, 20, 336, 58, 402, 106, 207, 405, 406, - /* 640 */ 407, 408, 409, 410, 19, 412, 70, 350, 415, 430, - /* 650 */ 417, 418, 419, 359, 357, 62, 423, 424, 33, 12, - /* 660 */ 13, 367, 163, 336, 367, 389, 372, 20, 374, 22, - /* 670 */ 229, 95, 231, 48, 328, 191, 192, 350, 53, 328, - /* 680 */ 33, 359, 35, 58, 361, 95, 256, 257, 258, 259, - /* 690 */ 260, 0, 398, 117, 367, 372, 402, 375, 336, 405, - /* 700 */ 406, 407, 408, 409, 410, 58, 412, 431, 132, 133, - /* 710 */ 367, 435, 350, 328, 250, 251, 252, 70, 372, 94, - /* 720 */ 0, 378, 97, 372, 401, 402, 450, 451, 328, 367, - /* 730 */ 14, 455, 456, 1, 2, 412, 20, 161, 162, 48, - /* 740 */ 446, 447, 95, 167, 168, 336, 8, 9, 160, 0, - /* 750 */ 12, 13, 14, 15, 16, 2, 359, 372, 182, 350, + /* 590 */ 22, 328, 417, 359, 419, 20, 20, 22, 22, 369, + /* 600 */ 336, 367, 372, 35, 245, 95, 372, 62, 374, 33, + /* 610 */ 389, 35, 106, 127, 350, 1, 2, 8, 9, 328, + /* 620 */ 359, 12, 13, 14, 15, 16, 51, 366, 229, 20, + /* 630 */ 336, 367, 359, 399, 58, 372, 375, 403, 70, 366, + /* 640 */ 406, 407, 408, 409, 410, 411, 70, 413, 375, 181, + /* 650 */ 359, 183, 336, 432, 0, 3, 336, 436, 367, 12, + /* 660 */ 13, 367, 229, 372, 231, 374, 350, 20, 20, 22, + /* 670 */ 350, 95, 451, 452, 340, 189, 190, 456, 457, 193, + /* 680 */ 33, 195, 35, 367, 450, 117, 389, 367, 354, 336, + /* 690 */ 399, 328, 328, 117, 403, 245, 362, 406, 407, 408, + /* 700 */ 409, 410, 411, 350, 413, 58, 0, 63, 132, 133, + /* 710 */ 96, 420, 20, 245, 336, 424, 425, 70, 22, 79, + /* 720 */ 367, 427, 428, 429, 430, 70, 432, 433, 350, 432, + /* 730 */ 328, 35, 336, 436, 160, 372, 372, 161, 162, 351, + /* 740 */ 367, 328, 95, 167, 168, 367, 350, 359, 451, 452, + /* 750 */ 182, 378, 184, 456, 457, 245, 368, 347, 182, 349, /* 760 */ 184, 8, 9, 367, 117, 12, 13, 14, 15, 16, - /* 770 */ 47, 181, 372, 183, 378, 163, 367, 20, 381, 132, - /* 780 */ 133, 0, 328, 207, 208, 20, 210, 211, 212, 213, + /* 770 */ 20, 367, 163, 328, 372, 207, 208, 137, 138, 132, + /* 780 */ 133, 4, 378, 207, 208, 372, 210, 211, 212, 213, /* 790 */ 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - /* 800 */ 224, 225, 226, 227, 14, 15, 16, 336, 161, 162, - /* 810 */ 18, 62, 20, 229, 167, 168, 351, 340, 95, 27, - /* 820 */ 232, 350, 30, 44, 359, 33, 372, 107, 96, 182, - /* 830 */ 242, 184, 328, 368, 96, 245, 351, 20, 367, 362, - /* 840 */ 48, 361, 50, 4, 359, 53, 126, 127, 128, 129, - /* 850 */ 130, 131, 372, 368, 207, 208, 70, 210, 211, 212, + /* 800 */ 224, 225, 226, 227, 328, 151, 232, 336, 161, 162, + /* 810 */ 18, 163, 20, 107, 167, 168, 242, 372, 417, 27, + /* 820 */ 419, 350, 30, 360, 369, 33, 207, 372, 42, 182, + /* 830 */ 44, 184, 126, 127, 128, 129, 130, 131, 367, 351, + /* 840 */ 48, 20, 50, 359, 14, 53, 70, 359, 372, 96, + /* 850 */ 20, 207, 368, 161, 207, 208, 368, 210, 211, 212, /* 860 */ 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, - /* 870 */ 223, 224, 225, 226, 227, 328, 372, 161, 345, 346, - /* 880 */ 18, 401, 402, 2, 163, 23, 94, 0, 107, 8, - /* 890 */ 9, 170, 412, 12, 13, 14, 15, 16, 106, 37, - /* 900 */ 38, 3, 416, 41, 418, 345, 346, 126, 127, 128, - /* 910 */ 129, 130, 131, 367, 369, 352, 360, 372, 355, 372, - /* 920 */ 163, 59, 60, 61, 378, 347, 161, 349, 136, 45, - /* 930 */ 46, 139, 140, 141, 142, 143, 144, 145, 146, 147, - /* 940 */ 148, 149, 150, 151, 152, 153, 154, 155, 389, 157, + /* 870 */ 223, 224, 225, 226, 227, 256, 257, 258, 259, 260, + /* 880 */ 18, 369, 132, 133, 372, 23, 94, 0, 336, 8, + /* 890 */ 9, 45, 46, 12, 13, 14, 15, 16, 106, 37, + /* 900 */ 38, 2, 350, 41, 44, 107, 352, 8, 9, 355, + /* 910 */ 95, 12, 13, 14, 15, 16, 264, 167, 168, 367, + /* 920 */ 105, 59, 60, 61, 42, 44, 44, 129, 136, 243, + /* 930 */ 244, 139, 140, 141, 142, 143, 144, 145, 146, 147, + /* 940 */ 148, 149, 150, 151, 152, 153, 154, 155, 328, 157, /* 950 */ 158, 159, 65, 66, 67, 68, 69, 95, 71, 72, /* 960 */ 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, - /* 970 */ 83, 84, 85, 86, 87, 88, 89, 90, 91, 328, - /* 980 */ 163, 336, 107, 328, 360, 336, 389, 0, 389, 107, - /* 990 */ 431, 243, 244, 336, 435, 350, 134, 132, 133, 350, - /* 1000 */ 328, 126, 127, 128, 129, 130, 131, 350, 360, 450, - /* 1010 */ 451, 129, 367, 106, 455, 456, 367, 42, 42, 44, - /* 1020 */ 44, 44, 99, 372, 367, 102, 360, 372, 431, 336, - /* 1030 */ 431, 359, 435, 35, 435, 0, 174, 175, 176, 367, - /* 1040 */ 336, 179, 336, 350, 372, 266, 374, 450, 451, 450, - /* 1050 */ 451, 329, 455, 456, 455, 456, 350, 22, 389, 197, - /* 1060 */ 367, 336, 200, 156, 202, 203, 204, 205, 206, 360, - /* 1070 */ 398, 367, 328, 367, 402, 350, 44, 405, 406, 407, - /* 1080 */ 408, 409, 410, 336, 412, 246, 35, 99, 44, 417, - /* 1090 */ 102, 419, 367, 0, 360, 423, 424, 350, 336, 336, - /* 1100 */ 431, 0, 99, 359, 435, 102, 99, 245, 336, 102, - /* 1110 */ 37, 367, 350, 350, 367, 22, 372, 445, 374, 450, - /* 1120 */ 451, 58, 350, 22, 455, 456, 328, 336, 96, 367, - /* 1130 */ 367, 427, 428, 429, 44, 431, 432, 348, 151, 367, - /* 1140 */ 96, 350, 398, 1, 2, 95, 402, 44, 382, 405, - /* 1150 */ 406, 407, 408, 409, 410, 105, 412, 359, 367, 44, - /* 1160 */ 97, 417, 264, 419, 44, 367, 459, 423, 424, 338, - /* 1170 */ 372, 98, 374, 100, 101, 44, 103, 448, 434, 442, - /* 1180 */ 107, 336, 184, 336, 44, 44, 96, 328, 44, 44, - /* 1190 */ 0, 44, 44, 359, 44, 350, 398, 350, 338, 96, - /* 1200 */ 402, 44, 129, 405, 406, 407, 408, 409, 410, 382, - /* 1210 */ 412, 96, 367, 335, 367, 417, 96, 419, 359, 35, - /* 1220 */ 44, 423, 424, 371, 382, 13, 367, 96, 12, 13, - /* 1230 */ 13, 372, 434, 374, 433, 184, 96, 96, 22, 49, - /* 1240 */ 96, 96, 436, 96, 96, 268, 96, 35, 452, 33, - /* 1250 */ 328, 35, 35, 96, 70, 425, 247, 398, 400, 48, - /* 1260 */ 399, 402, 180, 391, 405, 406, 407, 408, 409, 410, - /* 1270 */ 328, 412, 96, 42, 58, 379, 417, 20, 419, 382, - /* 1280 */ 379, 359, 423, 424, 160, 377, 70, 20, 336, 367, - /* 1290 */ 336, 379, 377, 434, 372, 377, 374, 93, 336, 344, - /* 1300 */ 336, 359, 336, 20, 330, 20, 395, 342, 330, 367, - /* 1310 */ 20, 374, 342, 20, 372, 20, 374, 337, 390, 337, - /* 1320 */ 398, 342, 336, 342, 402, 342, 342, 405, 406, 407, - /* 1330 */ 408, 409, 410, 117, 412, 342, 52, 397, 339, 417, - /* 1340 */ 398, 419, 330, 339, 402, 423, 424, 405, 406, 407, - /* 1350 */ 408, 409, 410, 359, 412, 359, 434, 336, 330, 417, - /* 1360 */ 359, 419, 372, 372, 359, 423, 424, 359, 196, 359, - /* 1370 */ 19, 340, 359, 328, 359, 359, 434, 359, 359, 187, - /* 1380 */ 395, 340, 336, 394, 33, 374, 441, 255, 382, 372, - /* 1390 */ 254, 441, 372, 444, 372, 372, 382, 173, 182, 48, - /* 1400 */ 184, 443, 441, 440, 359, 54, 55, 56, 57, 58, - /* 1410 */ 385, 385, 367, 261, 263, 262, 248, 372, 244, 374, - /* 1420 */ 460, 267, 454, 207, 208, 270, 265, 400, 367, 20, - /* 1430 */ 336, 439, 328, 438, 404, 337, 220, 221, 222, 223, - /* 1440 */ 224, 225, 226, 398, 385, 94, 340, 402, 97, 340, - /* 1450 */ 405, 406, 407, 408, 409, 410, 372, 412, 372, 372, - /* 1460 */ 372, 372, 417, 359, 419, 385, 165, 372, 423, 424, - /* 1470 */ 340, 367, 355, 340, 383, 367, 372, 453, 374, 95, - /* 1480 */ 422, 130, 95, 372, 363, 336, 328, 349, 36, 392, - /* 1490 */ 331, 386, 330, 386, 0, 396, 340, 326, 0, 353, - /* 1500 */ 189, 341, 398, 0, 0, 42, 402, 0, 35, 405, - /* 1510 */ 406, 407, 408, 409, 410, 164, 412, 359, 353, 353, - /* 1520 */ 169, 417, 201, 419, 35, 367, 35, 423, 424, 201, - /* 1530 */ 372, 35, 374, 0, 35, 35, 201, 186, 0, 188, - /* 1540 */ 201, 0, 0, 35, 22, 0, 35, 328, 184, 182, - /* 1550 */ 0, 0, 178, 177, 0, 0, 398, 47, 0, 0, - /* 1560 */ 402, 0, 42, 405, 406, 407, 408, 409, 410, 0, - /* 1570 */ 412, 0, 0, 0, 0, 417, 0, 419, 359, 0, - /* 1580 */ 0, 423, 424, 151, 35, 0, 367, 151, 0, 0, - /* 1590 */ 0, 372, 0, 374, 42, 0, 0, 0, 0, 0, - /* 1600 */ 0, 0, 0, 22, 135, 328, 0, 0, 0, 0, - /* 1610 */ 0, 0, 0, 0, 0, 0, 0, 398, 0, 0, - /* 1620 */ 0, 402, 35, 58, 405, 406, 407, 408, 409, 410, - /* 1630 */ 0, 412, 0, 58, 0, 42, 359, 14, 419, 14, - /* 1640 */ 0, 0, 423, 424, 367, 0, 0, 44, 173, 372, - /* 1650 */ 0, 374, 47, 0, 0, 64, 39, 0, 0, 328, - /* 1660 */ 0, 0, 0, 35, 40, 39, 39, 0, 47, 47, - /* 1670 */ 39, 35, 35, 35, 39, 398, 0, 48, 39, 402, - /* 1680 */ 0, 48, 405, 406, 407, 408, 409, 410, 328, 412, - /* 1690 */ 359, 48, 48, 0, 39, 22, 419, 0, 367, 35, - /* 1700 */ 423, 424, 0, 372, 35, 374, 35, 35, 104, 35, - /* 1710 */ 44, 22, 44, 35, 35, 0, 35, 22, 22, 359, - /* 1720 */ 50, 0, 22, 35, 0, 35, 0, 367, 0, 398, - /* 1730 */ 22, 20, 372, 402, 374, 0, 405, 406, 407, 408, - /* 1740 */ 409, 410, 35, 412, 102, 35, 328, 35, 96, 163, - /* 1750 */ 419, 194, 35, 0, 423, 424, 22, 0, 398, 0, - /* 1760 */ 95, 3, 402, 44, 249, 405, 406, 407, 408, 409, - /* 1770 */ 410, 411, 412, 413, 414, 228, 253, 359, 96, 95, - /* 1780 */ 95, 44, 96, 96, 44, 367, 95, 95, 47, 95, - /* 1790 */ 372, 47, 374, 44, 96, 249, 3, 249, 95, 35, - /* 1800 */ 328, 96, 96, 35, 44, 35, 35, 243, 35, 35, - /* 1810 */ 96, 163, 96, 47, 165, 0, 398, 0, 0, 163, - /* 1820 */ 402, 44, 171, 405, 406, 407, 408, 409, 410, 170, - /* 1830 */ 412, 359, 185, 170, 47, 0, 39, 95, 95, 367, - /* 1840 */ 39, 96, 96, 95, 372, 95, 374, 95, 0, 95, - /* 1850 */ 47, 44, 105, 2, 328, 22, 95, 47, 96, 96, - /* 1860 */ 95, 47, 95, 22, 95, 166, 35, 35, 164, 35, - /* 1870 */ 398, 96, 96, 95, 402, 457, 458, 405, 406, 407, - /* 1880 */ 408, 409, 410, 95, 412, 359, 106, 96, 96, 95, - /* 1890 */ 95, 419, 96, 367, 35, 95, 424, 35, 372, 95, - /* 1900 */ 374, 96, 96, 228, 35, 119, 328, 230, 95, 119, - /* 1910 */ 22, 95, 44, 35, 95, 107, 207, 119, 119, 22, - /* 1920 */ 95, 64, 328, 63, 398, 35, 35, 209, 402, 35, - /* 1930 */ 35, 405, 406, 407, 408, 409, 410, 359, 412, 35, - /* 1940 */ 35, 228, 35, 35, 35, 367, 35, 70, 92, 35, - /* 1950 */ 372, 35, 374, 359, 44, 35, 22, 35, 35, 35, - /* 1960 */ 35, 367, 35, 70, 35, 35, 372, 35, 374, 22, - /* 1970 */ 35, 0, 35, 447, 48, 39, 398, 0, 35, 48, - /* 1980 */ 402, 39, 0, 405, 406, 407, 408, 409, 410, 35, - /* 1990 */ 412, 39, 398, 48, 0, 35, 402, 48, 39, 405, - /* 2000 */ 406, 407, 408, 409, 410, 0, 412, 35, 35, 0, - /* 2010 */ 22, 328, 21, 461, 22, 22, 21, 20, 461, 461, - /* 2020 */ 461, 461, 461, 461, 461, 461, 461, 449, 461, 328, - /* 2030 */ 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, - /* 2040 */ 461, 461, 359, 461, 461, 461, 461, 364, 461, 461, - /* 2050 */ 367, 461, 458, 461, 461, 372, 461, 374, 461, 461, - /* 2060 */ 359, 461, 461, 461, 461, 461, 461, 461, 367, 461, - /* 2070 */ 461, 461, 461, 372, 461, 374, 461, 461, 461, 461, - /* 2080 */ 461, 398, 461, 328, 461, 402, 461, 461, 405, 406, - /* 2090 */ 407, 408, 409, 410, 461, 412, 461, 461, 461, 398, - /* 2100 */ 328, 461, 461, 402, 461, 461, 405, 406, 407, 408, - /* 2110 */ 409, 410, 461, 412, 359, 414, 461, 461, 461, 364, - /* 2120 */ 461, 461, 367, 461, 461, 461, 461, 372, 461, 374, - /* 2130 */ 461, 359, 461, 461, 461, 461, 364, 461, 461, 367, - /* 2140 */ 461, 461, 461, 461, 372, 461, 374, 461, 461, 461, - /* 2150 */ 461, 461, 328, 398, 461, 461, 461, 402, 461, 461, - /* 2160 */ 405, 406, 407, 408, 409, 410, 461, 412, 328, 461, - /* 2170 */ 398, 461, 461, 461, 402, 461, 461, 405, 406, 407, - /* 2180 */ 408, 409, 410, 359, 412, 461, 461, 461, 461, 461, - /* 2190 */ 461, 367, 461, 461, 461, 461, 372, 461, 374, 359, - /* 2200 */ 461, 461, 461, 461, 461, 461, 461, 367, 461, 461, - /* 2210 */ 461, 461, 372, 461, 374, 461, 461, 461, 461, 461, - /* 2220 */ 328, 461, 398, 461, 461, 461, 402, 461, 461, 405, - /* 2230 */ 406, 407, 408, 409, 410, 461, 412, 461, 398, 461, - /* 2240 */ 461, 461, 402, 461, 461, 405, 406, 407, 408, 409, - /* 2250 */ 410, 359, 412, 461, 461, 461, 461, 461, 461, 367, - /* 2260 */ 461, 461, 461, 461, 372, 461, 374, 461, 461, 461, - /* 2270 */ 461, 461, 461, 461, 328, 461, 461, 461, 461, 461, - /* 2280 */ 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, - /* 2290 */ 398, 461, 461, 461, 402, 328, 461, 405, 406, 407, - /* 2300 */ 408, 409, 410, 461, 412, 359, 461, 461, 461, 461, - /* 2310 */ 461, 461, 461, 367, 461, 461, 461, 461, 372, 461, - /* 2320 */ 374, 461, 461, 461, 461, 461, 359, 461, 461, 461, - /* 2330 */ 461, 461, 461, 461, 367, 461, 461, 461, 461, 372, - /* 2340 */ 461, 374, 461, 461, 398, 461, 461, 461, 402, 461, - /* 2350 */ 461, 405, 406, 407, 408, 409, 410, 461, 412, 461, - /* 2360 */ 461, 461, 461, 461, 461, 398, 461, 461, 461, 402, - /* 2370 */ 461, 328, 405, 406, 407, 408, 409, 410, 461, 412, - /* 2380 */ 461, 461, 461, 461, 461, 461, 461, 461, 461, 328, - /* 2390 */ 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, - /* 2400 */ 461, 461, 359, 461, 461, 461, 461, 461, 461, 461, - /* 2410 */ 367, 461, 461, 461, 461, 372, 461, 374, 461, 461, - /* 2420 */ 359, 461, 461, 461, 461, 461, 461, 461, 367, 461, - /* 2430 */ 461, 461, 461, 372, 461, 374, 461, 461, 461, 461, - /* 2440 */ 461, 398, 461, 328, 461, 402, 461, 461, 405, 406, - /* 2450 */ 407, 408, 409, 410, 461, 412, 461, 461, 461, 398, - /* 2460 */ 328, 461, 461, 402, 461, 461, 405, 406, 407, 408, - /* 2470 */ 409, 410, 461, 412, 359, 461, 461, 461, 461, 461, - /* 2480 */ 461, 461, 367, 461, 461, 461, 461, 372, 461, 374, - /* 2490 */ 461, 359, 461, 461, 461, 461, 461, 461, 461, 367, - /* 2500 */ 461, 461, 461, 461, 372, 461, 374, 461, 461, 461, - /* 2510 */ 461, 461, 328, 398, 461, 461, 461, 402, 461, 461, - /* 2520 */ 405, 406, 407, 408, 409, 410, 461, 412, 328, 461, - /* 2530 */ 398, 461, 461, 461, 402, 461, 461, 405, 406, 407, - /* 2540 */ 408, 409, 410, 359, 412, 461, 461, 461, 461, 461, - /* 2550 */ 461, 367, 461, 461, 461, 461, 372, 461, 374, 359, - /* 2560 */ 461, 461, 461, 461, 461, 461, 461, 367, 461, 461, - /* 2570 */ 461, 461, 372, 461, 374, 461, 461, 461, 461, 461, - /* 2580 */ 328, 461, 398, 461, 461, 461, 402, 461, 461, 405, - /* 2590 */ 406, 407, 408, 409, 410, 461, 412, 461, 398, 461, - /* 2600 */ 461, 461, 402, 328, 461, 405, 406, 407, 408, 409, - /* 2610 */ 410, 359, 412, 461, 461, 461, 461, 461, 461, 367, - /* 2620 */ 461, 461, 461, 461, 372, 461, 374, 461, 461, 461, - /* 2630 */ 461, 461, 461, 461, 359, 461, 461, 461, 461, 461, - /* 2640 */ 461, 461, 367, 461, 461, 461, 461, 372, 461, 374, - /* 2650 */ 398, 461, 461, 461, 402, 328, 461, 405, 406, 407, - /* 2660 */ 408, 409, 410, 461, 412, 461, 461, 461, 461, 461, - /* 2670 */ 461, 461, 461, 398, 461, 461, 461, 402, 461, 461, - /* 2680 */ 405, 406, 407, 408, 409, 410, 359, 412, 461, 461, - /* 2690 */ 461, 461, 461, 461, 367, 461, 461, 461, 461, 372, - /* 2700 */ 461, 374, 461, 461, 461, 461, 461, 461, 461, 461, - /* 2710 */ 461, 461, 461, 461, 461, 461, 461, 461, 328, 461, - /* 2720 */ 461, 461, 461, 461, 461, 398, 461, 461, 461, 402, - /* 2730 */ 461, 461, 405, 406, 407, 408, 409, 410, 461, 412, - /* 2740 */ 461, 461, 461, 461, 461, 461, 461, 461, 461, 359, - /* 2750 */ 461, 461, 461, 461, 461, 461, 461, 367, 461, 461, - /* 2760 */ 461, 461, 372, 461, 374, 461, 461, 461, 461, 461, - /* 2770 */ 328, 461, 461, 461, 461, 461, 461, 461, 461, 461, - /* 2780 */ 461, 461, 461, 461, 461, 461, 461, 461, 398, 328, - /* 2790 */ 461, 461, 402, 461, 461, 405, 406, 407, 408, 409, - /* 2800 */ 410, 359, 412, 461, 461, 461, 461, 461, 461, 367, - /* 2810 */ 461, 461, 461, 461, 372, 461, 374, 461, 461, 461, - /* 2820 */ 359, 461, 461, 461, 461, 461, 461, 461, 367, 461, - /* 2830 */ 461, 461, 461, 372, 461, 374, 461, 461, 461, 461, - /* 2840 */ 398, 328, 461, 461, 402, 461, 461, 405, 406, 407, - /* 2850 */ 408, 409, 410, 461, 412, 461, 461, 328, 461, 398, - /* 2860 */ 461, 461, 461, 402, 461, 461, 405, 406, 407, 408, - /* 2870 */ 409, 410, 359, 412, 461, 461, 461, 461, 461, 461, - /* 2880 */ 367, 461, 461, 461, 461, 372, 461, 374, 359, 461, - /* 2890 */ 461, 461, 461, 461, 461, 461, 367, 461, 461, 461, - /* 2900 */ 461, 372, 461, 374, 461, 461, 461, 461, 461, 328, - /* 2910 */ 461, 398, 461, 461, 461, 402, 461, 461, 405, 406, - /* 2920 */ 407, 408, 409, 410, 461, 412, 461, 398, 461, 461, - /* 2930 */ 461, 402, 328, 461, 405, 406, 407, 408, 409, 410, - /* 2940 */ 359, 412, 461, 461, 461, 461, 461, 461, 367, 461, - /* 2950 */ 461, 461, 461, 372, 461, 374, 461, 461, 461, 461, - /* 2960 */ 461, 461, 461, 359, 461, 461, 461, 461, 461, 461, - /* 2970 */ 461, 367, 461, 461, 461, 461, 372, 461, 374, 398, - /* 2980 */ 461, 461, 461, 402, 328, 461, 405, 406, 407, 408, - /* 2990 */ 409, 410, 461, 412, 461, 461, 461, 461, 461, 461, - /* 3000 */ 461, 461, 398, 461, 461, 461, 402, 461, 461, 405, - /* 3010 */ 406, 407, 408, 409, 410, 359, 412, 461, 461, 461, - /* 3020 */ 461, 461, 461, 367, 461, 461, 461, 461, 372, 461, - /* 3030 */ 374, 461, 461, 461, 461, 461, 461, 461, 461, 461, - /* 3040 */ 461, 461, 461, 461, 461, 461, 461, 461, 461, 461, - /* 3050 */ 461, 461, 461, 461, 398, 461, 461, 461, 402, 461, - /* 3060 */ 461, 405, 406, 407, 408, 409, 410, 461, 412, + /* 970 */ 83, 84, 85, 86, 87, 88, 89, 90, 91, 336, + /* 980 */ 19, 8, 9, 44, 163, 12, 13, 14, 15, 16, + /* 990 */ 328, 161, 372, 350, 33, 44, 134, 8, 9, 0, + /* 1000 */ 328, 12, 13, 14, 15, 16, 106, 348, 99, 48, + /* 1010 */ 367, 102, 336, 328, 336, 54, 55, 56, 57, 58, + /* 1020 */ 360, 22, 44, 246, 99, 328, 350, 102, 350, 107, + /* 1030 */ 99, 359, 328, 102, 372, 96, 174, 175, 176, 367, + /* 1040 */ 360, 179, 328, 367, 372, 367, 374, 96, 126, 127, + /* 1050 */ 128, 129, 130, 131, 35, 94, 156, 372, 97, 197, + /* 1060 */ 393, 361, 200, 336, 202, 203, 204, 205, 206, 372, + /* 1070 */ 336, 399, 372, 328, 336, 403, 372, 350, 406, 407, + /* 1080 */ 408, 409, 410, 411, 350, 413, 372, 329, 350, 328, + /* 1090 */ 418, 130, 420, 328, 367, 336, 424, 425, 0, 389, + /* 1100 */ 336, 367, 402, 403, 359, 367, 328, 245, 99, 350, + /* 1110 */ 382, 102, 367, 413, 350, 328, 360, 372, 446, 374, + /* 1120 */ 22, 0, 132, 133, 359, 164, 367, 163, 268, 44, + /* 1130 */ 169, 367, 367, 372, 170, 44, 163, 372, 328, 374, + /* 1140 */ 44, 360, 432, 22, 399, 44, 436, 186, 403, 188, + /* 1150 */ 372, 406, 407, 408, 409, 410, 411, 58, 413, 372, + /* 1160 */ 328, 451, 452, 418, 399, 420, 456, 457, 403, 424, + /* 1170 */ 425, 406, 407, 408, 409, 410, 411, 360, 413, 336, + /* 1180 */ 435, 96, 372, 418, 336, 420, 389, 96, 35, 424, + /* 1190 */ 425, 359, 96, 350, 336, 336, 97, 96, 350, 367, + /* 1200 */ 435, 1, 2, 184, 372, 360, 374, 460, 350, 350, + /* 1210 */ 367, 449, 44, 12, 13, 367, 328, 338, 44, 382, + /* 1220 */ 44, 338, 389, 22, 44, 367, 367, 44, 44, 432, + /* 1230 */ 44, 399, 336, 436, 33, 403, 35, 0, 406, 407, + /* 1240 */ 408, 409, 410, 411, 266, 413, 35, 359, 451, 452, + /* 1250 */ 418, 44, 420, 456, 457, 367, 424, 425, 44, 58, + /* 1260 */ 372, 328, 374, 367, 96, 432, 47, 435, 44, 436, + /* 1270 */ 96, 70, 96, 336, 443, 44, 96, 359, 44, 96, + /* 1280 */ 96, 70, 96, 335, 451, 452, 49, 399, 371, 456, + /* 1290 */ 457, 403, 359, 13, 406, 407, 408, 409, 410, 411, + /* 1300 */ 367, 413, 382, 96, 367, 372, 418, 374, 420, 13, + /* 1310 */ 96, 434, 424, 425, 95, 35, 453, 426, 117, 247, + /* 1320 */ 96, 437, 401, 435, 428, 429, 430, 96, 432, 433, + /* 1330 */ 96, 35, 399, 48, 400, 180, 403, 184, 391, 406, + /* 1340 */ 407, 408, 409, 410, 411, 42, 413, 379, 20, 382, + /* 1350 */ 379, 418, 160, 420, 377, 20, 336, 424, 425, 336, + /* 1360 */ 328, 379, 377, 377, 93, 428, 429, 430, 435, 432, + /* 1370 */ 433, 344, 336, 336, 336, 20, 330, 330, 20, 395, + /* 1380 */ 20, 342, 374, 182, 342, 184, 20, 337, 20, 337, + /* 1390 */ 390, 359, 336, 342, 52, 342, 342, 342, 339, 367, + /* 1400 */ 342, 339, 359, 330, 372, 372, 374, 359, 207, 208, + /* 1410 */ 336, 330, 372, 196, 398, 95, 359, 395, 397, 359, + /* 1420 */ 359, 220, 221, 222, 223, 224, 225, 226, 359, 359, + /* 1430 */ 359, 399, 340, 328, 359, 403, 359, 359, 406, 407, + /* 1440 */ 408, 409, 410, 411, 187, 413, 340, 336, 382, 382, + /* 1450 */ 418, 372, 420, 328, 374, 442, 424, 425, 394, 255, + /* 1460 */ 254, 385, 372, 261, 359, 372, 442, 385, 173, 372, + /* 1470 */ 445, 263, 367, 444, 262, 440, 442, 372, 248, 374, + /* 1480 */ 270, 265, 441, 439, 359, 401, 455, 461, 267, 244, + /* 1490 */ 367, 20, 367, 405, 336, 385, 337, 372, 372, 374, + /* 1500 */ 340, 340, 372, 454, 399, 372, 372, 372, 403, 328, + /* 1510 */ 372, 406, 407, 408, 409, 410, 411, 385, 413, 165, + /* 1520 */ 383, 355, 340, 418, 399, 420, 95, 340, 403, 424, + /* 1530 */ 425, 406, 407, 408, 409, 410, 411, 367, 413, 423, + /* 1540 */ 359, 95, 363, 418, 372, 420, 349, 36, 367, 424, + /* 1550 */ 425, 336, 330, 372, 331, 374, 392, 386, 340, 396, + /* 1560 */ 0, 386, 353, 0, 328, 326, 353, 341, 189, 0, + /* 1570 */ 0, 0, 42, 353, 35, 201, 35, 35, 35, 201, + /* 1580 */ 399, 0, 35, 35, 403, 201, 0, 406, 407, 408, + /* 1590 */ 409, 410, 411, 201, 413, 359, 35, 0, 22, 0, + /* 1600 */ 35, 420, 0, 367, 184, 424, 425, 182, 372, 0, + /* 1610 */ 374, 0, 178, 177, 0, 0, 0, 0, 0, 47, + /* 1620 */ 328, 42, 0, 0, 0, 0, 0, 0, 0, 0, + /* 1630 */ 151, 0, 151, 35, 0, 399, 328, 0, 0, 403, + /* 1640 */ 0, 0, 406, 407, 408, 409, 410, 411, 0, 413, + /* 1650 */ 0, 359, 42, 0, 0, 0, 420, 0, 0, 367, + /* 1660 */ 424, 425, 0, 0, 372, 0, 374, 359, 22, 0, + /* 1670 */ 0, 0, 135, 0, 0, 367, 0, 0, 0, 0, + /* 1680 */ 372, 0, 374, 0, 35, 0, 0, 0, 58, 42, + /* 1690 */ 58, 399, 47, 0, 14, 403, 14, 328, 406, 407, + /* 1700 */ 408, 409, 410, 411, 44, 413, 39, 399, 47, 0, + /* 1710 */ 0, 403, 40, 47, 406, 407, 408, 409, 410, 411, + /* 1720 */ 0, 413, 173, 39, 0, 0, 0, 39, 359, 35, + /* 1730 */ 39, 0, 35, 0, 39, 35, 367, 0, 0, 447, + /* 1740 */ 448, 372, 39, 374, 48, 0, 48, 48, 35, 48, + /* 1750 */ 39, 0, 328, 64, 0, 0, 0, 35, 22, 0, + /* 1760 */ 104, 102, 35, 35, 22, 35, 458, 459, 399, 328, + /* 1770 */ 35, 0, 403, 0, 35, 406, 407, 408, 409, 410, + /* 1780 */ 411, 35, 413, 359, 44, 44, 22, 35, 22, 420, + /* 1790 */ 0, 367, 22, 50, 425, 35, 372, 0, 374, 0, + /* 1800 */ 359, 22, 35, 35, 0, 20, 194, 35, 367, 35, + /* 1810 */ 96, 95, 0, 372, 163, 374, 35, 0, 185, 0, + /* 1820 */ 22, 0, 44, 399, 249, 3, 253, 403, 96, 165, + /* 1830 */ 406, 407, 408, 409, 410, 411, 228, 413, 328, 95, + /* 1840 */ 399, 47, 95, 95, 403, 96, 171, 406, 407, 408, + /* 1850 */ 409, 410, 411, 163, 413, 163, 95, 328, 44, 96, + /* 1860 */ 95, 35, 44, 47, 44, 96, 3, 44, 249, 359, + /* 1870 */ 95, 35, 448, 96, 364, 170, 170, 367, 96, 35, + /* 1880 */ 35, 35, 372, 35, 374, 249, 47, 96, 359, 96, + /* 1890 */ 47, 44, 0, 0, 0, 0, 367, 95, 39, 96, + /* 1900 */ 459, 372, 95, 374, 96, 95, 95, 0, 95, 399, + /* 1910 */ 39, 105, 47, 403, 164, 2, 406, 407, 408, 409, + /* 1920 */ 410, 411, 95, 413, 328, 44, 22, 95, 399, 96, + /* 1930 */ 207, 96, 403, 95, 230, 406, 407, 408, 409, 410, + /* 1940 */ 411, 22, 413, 228, 415, 243, 166, 228, 95, 47, + /* 1950 */ 96, 33, 95, 47, 22, 359, 95, 106, 96, 95, + /* 1960 */ 364, 35, 209, 367, 96, 35, 48, 95, 372, 96, + /* 1970 */ 374, 35, 54, 55, 56, 57, 58, 95, 35, 96, + /* 1980 */ 328, 95, 35, 96, 95, 35, 96, 107, 119, 119, + /* 1990 */ 44, 95, 95, 119, 95, 399, 328, 119, 35, 403, + /* 2000 */ 95, 22, 406, 407, 408, 409, 410, 411, 64, 413, + /* 2010 */ 35, 359, 94, 35, 63, 97, 364, 35, 35, 367, + /* 2020 */ 35, 35, 35, 35, 372, 35, 374, 359, 35, 70, + /* 2030 */ 92, 35, 22, 44, 35, 367, 35, 35, 35, 35, + /* 2040 */ 372, 70, 374, 35, 35, 22, 35, 35, 35, 35, + /* 2050 */ 0, 399, 35, 48, 39, 403, 0, 328, 406, 407, + /* 2060 */ 408, 409, 410, 411, 35, 413, 48, 399, 0, 39, + /* 2070 */ 35, 403, 48, 39, 406, 407, 408, 409, 410, 411, + /* 2080 */ 0, 413, 164, 165, 35, 48, 39, 169, 359, 0, + /* 2090 */ 172, 0, 35, 22, 35, 21, 367, 22, 22, 21, + /* 2100 */ 462, 372, 20, 374, 462, 462, 188, 462, 462, 462, + /* 2110 */ 462, 462, 328, 462, 462, 462, 462, 462, 462, 462, + /* 2120 */ 462, 462, 462, 462, 462, 462, 462, 462, 399, 328, + /* 2130 */ 462, 462, 403, 462, 462, 406, 407, 408, 409, 410, + /* 2140 */ 411, 462, 413, 359, 462, 462, 462, 462, 462, 462, + /* 2150 */ 462, 367, 462, 462, 462, 462, 372, 462, 374, 462, + /* 2160 */ 359, 462, 462, 462, 462, 462, 462, 462, 367, 462, + /* 2170 */ 462, 462, 462, 372, 462, 374, 462, 462, 462, 462, + /* 2180 */ 462, 462, 462, 399, 462, 462, 328, 403, 462, 462, + /* 2190 */ 406, 407, 408, 409, 410, 411, 462, 413, 462, 462, + /* 2200 */ 399, 462, 462, 328, 403, 462, 462, 406, 407, 408, + /* 2210 */ 409, 410, 411, 462, 413, 462, 462, 359, 462, 462, + /* 2220 */ 462, 462, 462, 462, 462, 367, 462, 462, 462, 462, + /* 2230 */ 372, 462, 374, 462, 359, 462, 462, 462, 462, 462, + /* 2240 */ 462, 462, 367, 462, 462, 462, 462, 372, 328, 374, + /* 2250 */ 462, 462, 462, 462, 462, 462, 462, 399, 462, 462, + /* 2260 */ 462, 403, 462, 462, 406, 407, 408, 409, 410, 411, + /* 2270 */ 462, 413, 462, 462, 399, 462, 462, 462, 403, 359, + /* 2280 */ 462, 406, 407, 408, 409, 410, 411, 367, 413, 462, + /* 2290 */ 462, 462, 372, 462, 374, 462, 462, 462, 462, 462, + /* 2300 */ 462, 462, 462, 462, 462, 462, 462, 462, 462, 328, + /* 2310 */ 462, 462, 462, 462, 462, 462, 462, 462, 462, 399, + /* 2320 */ 462, 462, 462, 403, 462, 328, 406, 407, 408, 409, + /* 2330 */ 410, 411, 462, 413, 462, 462, 462, 462, 462, 462, + /* 2340 */ 359, 462, 462, 462, 462, 462, 462, 462, 367, 462, + /* 2350 */ 462, 462, 462, 372, 462, 374, 359, 462, 462, 462, + /* 2360 */ 462, 462, 462, 462, 367, 462, 462, 462, 462, 372, + /* 2370 */ 462, 374, 462, 462, 462, 462, 462, 462, 462, 462, + /* 2380 */ 399, 462, 462, 462, 403, 462, 328, 406, 407, 408, + /* 2390 */ 409, 410, 411, 462, 413, 462, 399, 462, 462, 462, + /* 2400 */ 403, 462, 462, 406, 407, 408, 409, 410, 411, 462, + /* 2410 */ 413, 462, 462, 462, 462, 462, 462, 359, 462, 462, + /* 2420 */ 462, 462, 462, 462, 462, 367, 462, 462, 462, 462, + /* 2430 */ 372, 462, 374, 462, 462, 462, 462, 462, 462, 462, + /* 2440 */ 462, 328, 462, 462, 462, 462, 462, 462, 462, 462, + /* 2450 */ 462, 462, 462, 462, 462, 462, 462, 399, 328, 462, + /* 2460 */ 462, 403, 462, 462, 406, 407, 408, 409, 410, 411, + /* 2470 */ 462, 413, 359, 462, 462, 462, 462, 462, 462, 462, + /* 2480 */ 367, 462, 462, 462, 462, 372, 462, 374, 462, 359, + /* 2490 */ 462, 462, 462, 462, 462, 462, 462, 367, 462, 462, + /* 2500 */ 462, 462, 372, 462, 374, 462, 462, 462, 462, 462, + /* 2510 */ 462, 462, 399, 462, 462, 328, 403, 462, 462, 406, + /* 2520 */ 407, 408, 409, 410, 411, 462, 413, 462, 462, 399, + /* 2530 */ 462, 462, 328, 403, 462, 462, 406, 407, 408, 409, + /* 2540 */ 410, 411, 462, 413, 462, 462, 359, 462, 462, 462, + /* 2550 */ 462, 462, 462, 462, 367, 462, 462, 462, 462, 372, + /* 2560 */ 462, 374, 462, 359, 462, 462, 462, 462, 462, 462, + /* 2570 */ 462, 367, 462, 462, 462, 462, 372, 328, 374, 462, + /* 2580 */ 462, 462, 462, 462, 462, 462, 399, 462, 462, 462, + /* 2590 */ 403, 462, 462, 406, 407, 408, 409, 410, 411, 462, + /* 2600 */ 413, 462, 462, 399, 462, 462, 462, 403, 359, 462, + /* 2610 */ 406, 407, 408, 409, 410, 411, 367, 413, 462, 462, + /* 2620 */ 462, 372, 462, 374, 462, 462, 462, 462, 462, 462, + /* 2630 */ 462, 462, 462, 462, 462, 462, 462, 462, 328, 462, + /* 2640 */ 462, 462, 462, 462, 462, 462, 462, 462, 399, 462, + /* 2650 */ 462, 462, 403, 462, 328, 406, 407, 408, 409, 410, + /* 2660 */ 411, 462, 413, 462, 462, 462, 462, 462, 462, 359, + /* 2670 */ 462, 462, 462, 462, 462, 462, 462, 367, 462, 462, + /* 2680 */ 462, 462, 372, 462, 374, 359, 462, 462, 462, 462, + /* 2690 */ 462, 462, 462, 367, 462, 462, 462, 462, 372, 462, + /* 2700 */ 374, 462, 462, 462, 462, 462, 462, 462, 462, 399, + /* 2710 */ 462, 462, 462, 403, 462, 328, 406, 407, 408, 409, + /* 2720 */ 410, 411, 462, 413, 462, 399, 462, 462, 462, 403, + /* 2730 */ 462, 462, 406, 407, 408, 409, 410, 411, 462, 413, + /* 2740 */ 462, 462, 462, 462, 462, 462, 359, 462, 462, 462, + /* 2750 */ 462, 462, 462, 462, 367, 462, 462, 462, 462, 372, + /* 2760 */ 462, 374, 462, 462, 462, 462, 462, 462, 462, 462, + /* 2770 */ 328, 462, 462, 462, 462, 462, 462, 462, 462, 462, + /* 2780 */ 462, 462, 462, 462, 462, 462, 399, 328, 462, 462, + /* 2790 */ 403, 462, 462, 406, 407, 408, 409, 410, 411, 462, + /* 2800 */ 413, 359, 462, 462, 462, 462, 462, 462, 462, 367, + /* 2810 */ 462, 462, 462, 462, 372, 462, 374, 462, 359, 462, + /* 2820 */ 462, 462, 462, 462, 462, 462, 367, 462, 462, 462, + /* 2830 */ 462, 372, 462, 374, 462, 462, 462, 462, 462, 462, + /* 2840 */ 462, 399, 462, 462, 328, 403, 462, 462, 406, 407, + /* 2850 */ 408, 409, 410, 411, 462, 413, 462, 462, 399, 462, + /* 2860 */ 462, 328, 403, 462, 462, 406, 407, 408, 409, 410, + /* 2870 */ 411, 462, 413, 462, 462, 359, 462, 462, 462, 462, + /* 2880 */ 462, 462, 462, 367, 462, 462, 462, 462, 372, 462, + /* 2890 */ 374, 462, 359, 462, 462, 462, 462, 462, 462, 462, + /* 2900 */ 367, 462, 462, 462, 462, 372, 462, 374, 462, 462, + /* 2910 */ 462, 462, 462, 462, 462, 399, 462, 462, 462, 403, + /* 2920 */ 462, 462, 406, 407, 408, 409, 410, 411, 462, 413, + /* 2930 */ 462, 462, 399, 462, 462, 462, 403, 462, 462, 406, + /* 2940 */ 407, 408, 409, 410, 411, 462, 413, }; -#define YY_SHIFT_COUNT (721) +#define YY_SHIFT_COUNT (724) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2009) +#define YY_SHIFT_MAX (2091) static const unsigned short int yy_shift_ofst[] = { /* 0 */ 862, 0, 71, 0, 289, 289, 289, 289, 289, 289, /* 10 */ 289, 289, 289, 289, 289, 360, 576, 576, 647, 576, /* 20 */ 576, 576, 576, 576, 576, 576, 576, 576, 576, 576, /* 30 */ 576, 576, 576, 576, 576, 576, 576, 576, 576, 576, - /* 40 */ 576, 576, 576, 576, 576, 576, 576, 576, 32, 134, - /* 50 */ 21, 590, 133, 7, 104, 7, 21, 21, 1216, 1216, - /* 60 */ 7, 1216, 1216, 136, 7, 423, 156, 156, 423, 401, - /* 70 */ 401, 215, 57, 5, 5, 156, 156, 156, 156, 156, - /* 80 */ 156, 156, 156, 156, 156, 80, 156, 156, 229, 156, - /* 90 */ 518, 156, 156, 156, 156, 518, 156, 156, 518, 156, - /* 100 */ 518, 518, 518, 156, 301, 792, 34, 34, 216, 474, - /* 110 */ 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, - /* 120 */ 283, 283, 283, 283, 283, 283, 283, 283, 283, 1073, - /* 130 */ 87, 215, 57, 593, 489, 499, 499, 499, 749, 441, - /* 140 */ 441, 489, 579, 579, 579, 530, 584, 518, 358, 518, - /* 150 */ 358, 358, 530, 786, 217, 217, 217, 217, 217, 217, - /* 160 */ 217, 1351, 408, 336, 612, 249, 430, 340, 464, 292, - /* 170 */ 716, 438, 757, 884, 882, 817, 748, 12, 898, 748, - /* 180 */ 975, 839, 765, 1009, 1211, 1082, 1231, 1257, 1231, 1124, - /* 190 */ 1267, 1267, 1231, 1124, 1124, 1204, 1267, 1267, 1267, 1283, - /* 200 */ 1283, 1285, 80, 1290, 80, 1293, 1295, 80, 1293, 80, - /* 210 */ 80, 80, 1267, 80, 1284, 1284, 1283, 518, 518, 518, - /* 220 */ 518, 518, 518, 518, 518, 518, 518, 518, 1267, 1283, - /* 230 */ 358, 358, 1172, 1285, 301, 1192, 1290, 301, 1267, 1257, - /* 240 */ 1257, 358, 1132, 1136, 358, 1132, 1136, 358, 358, 518, - /* 250 */ 1152, 1224, 1132, 1151, 1153, 1168, 1009, 1155, 1154, 1161, - /* 260 */ 1174, 579, 1409, 1267, 1293, 301, 301, 1136, 358, 358, - /* 270 */ 358, 358, 358, 1136, 358, 1301, 301, 530, 301, 579, - /* 280 */ 1384, 1387, 358, 786, 1267, 301, 1452, 1283, 3069, 3069, - /* 290 */ 3069, 3069, 3069, 3069, 3069, 3069, 3069, 887, 310, 94, - /* 300 */ 625, 15, 59, 738, 720, 753, 881, 73, 781, 472, - /* 310 */ 472, 472, 472, 472, 472, 472, 472, 472, 875, 124, - /* 320 */ 373, 373, 122, 4, 58, 166, 484, 300, 300, 790, - /* 330 */ 732, 588, 790, 790, 790, 113, 691, 288, 976, 907, - /* 340 */ 987, 923, 988, 1003, 1007, 1035, 1093, 1101, 1063, 1032, - /* 350 */ 1044, 865, 779, 977, 721, 1090, 1103, 1115, 1120, 1131, - /* 360 */ 1140, 1142, 1141, 998, 1051, 406, 1144, 723, 1145, 1147, - /* 370 */ 1148, 1150, 1157, 1176, 1050, 1212, 1217, 1184, 1190, 1494, - /* 380 */ 1498, 1311, 1503, 1504, 1463, 1507, 1473, 1321, 1489, 1491, - /* 390 */ 1496, 1328, 1533, 1499, 1500, 1335, 1538, 1339, 1541, 1508, - /* 400 */ 1542, 1522, 1545, 1511, 1364, 1367, 1550, 1551, 1374, 1376, - /* 410 */ 1554, 1555, 1510, 1558, 1559, 1561, 1520, 1569, 1571, 1572, - /* 420 */ 1573, 1574, 1576, 1579, 1580, 1432, 1549, 1585, 1436, 1588, - /* 430 */ 1589, 1590, 1592, 1606, 1607, 1608, 1609, 1610, 1611, 1612, - /* 440 */ 1613, 1614, 1615, 1616, 1552, 1595, 1596, 1597, 1598, 1599, - /* 450 */ 1581, 1600, 1601, 1602, 1469, 1618, 1619, 1587, 1620, 1565, - /* 460 */ 1630, 1575, 1632, 1634, 1593, 1617, 1603, 1605, 1623, 1621, - /* 470 */ 1625, 1622, 1640, 1624, 1626, 1641, 1645, 1646, 1627, 1475, - /* 480 */ 1650, 1653, 1654, 1591, 1657, 1658, 1628, 1629, 1631, 1660, - /* 490 */ 1636, 1633, 1635, 1661, 1637, 1643, 1639, 1662, 1638, 1644, - /* 500 */ 1655, 1667, 1676, 1680, 1693, 1604, 1642, 1664, 1673, 1697, - /* 510 */ 1669, 1671, 1672, 1674, 1666, 1668, 1678, 1679, 1689, 1681, - /* 520 */ 1702, 1695, 1715, 1696, 1670, 1721, 1700, 1688, 1724, 1690, - /* 530 */ 1726, 1707, 1728, 1708, 1711, 1710, 1712, 1557, 1652, 1665, - /* 540 */ 1735, 1586, 1717, 1753, 1647, 1734, 1648, 1649, 1757, 1759, - /* 550 */ 1656, 1651, 1758, 1719, 1515, 1684, 1682, 1685, 1659, 1547, - /* 560 */ 1663, 1523, 1686, 1737, 1687, 1691, 1692, 1694, 1698, 1740, - /* 570 */ 1741, 1744, 1703, 1749, 1546, 1705, 1706, 1793, 1760, 1548, - /* 580 */ 1764, 1768, 1770, 1771, 1773, 1774, 1714, 1716, 1766, 1564, - /* 590 */ 1777, 1787, 1815, 1817, 1818, 1835, 1742, 1797, 1743, 1745, - /* 600 */ 1746, 1748, 1750, 1699, 1752, 1848, 1801, 1704, 1754, 1747, - /* 610 */ 1605, 1803, 1807, 1675, 1677, 1713, 1851, 1833, 1709, 1761, - /* 620 */ 1762, 1765, 1763, 1767, 1775, 1810, 1769, 1778, 1814, 1776, - /* 630 */ 1841, 1718, 1788, 1780, 1791, 1831, 1832, 1794, 1792, 1834, - /* 640 */ 1795, 1796, 1859, 1800, 1805, 1862, 1804, 1806, 1869, 1813, - /* 650 */ 1786, 1790, 1798, 1799, 1888, 1808, 1816, 1868, 1819, 1878, - /* 660 */ 1825, 1868, 1868, 1897, 1857, 1860, 1890, 1891, 1894, 1895, - /* 670 */ 1904, 1905, 1907, 1908, 1909, 1911, 1877, 1856, 1910, 1914, - /* 680 */ 1916, 1920, 1934, 1922, 1923, 1924, 1893, 1666, 1925, 1668, - /* 690 */ 1927, 1929, 1930, 1932, 1947, 1935, 1971, 1937, 1926, 1936, - /* 700 */ 1977, 1943, 1931, 1942, 1982, 1954, 1945, 1952, 1994, 1960, - /* 710 */ 1949, 1959, 2005, 1972, 1973, 2009, 1988, 1991, 1992, 1993, - /* 720 */ 1995, 1997, + /* 40 */ 576, 576, 576, 576, 576, 576, 576, 576, 110, 359, + /* 50 */ 5, 468, 288, 450, 510, 450, 5, 5, 1201, 1201, + /* 60 */ 450, 1201, 1201, 225, 450, 750, 21, 21, 750, 185, + /* 70 */ 185, 39, 336, 40, 40, 21, 21, 21, 21, 21, + /* 80 */ 21, 21, 21, 21, 21, 125, 260, 21, 21, 298, + /* 90 */ 21, 260, 21, 21, 21, 21, 260, 21, 21, 260, + /* 100 */ 21, 260, 260, 260, 21, 545, 792, 34, 34, 216, + /* 110 */ 452, 568, 568, 568, 568, 568, 568, 568, 568, 568, + /* 120 */ 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, + /* 130 */ 214, 87, 39, 336, 2, 301, 136, 136, 136, 429, + /* 140 */ 433, 433, 301, 358, 358, 358, 506, 399, 260, 655, + /* 150 */ 260, 655, 655, 506, 776, 217, 217, 217, 217, 217, + /* 160 */ 217, 217, 961, 529, 303, 609, 183, 619, 340, 287, + /* 170 */ 20, 830, 575, 648, 846, 798, 821, 686, 322, 652, + /* 180 */ 686, 786, 777, 692, 1072, 1285, 1155, 1303, 1328, 1303, + /* 190 */ 1192, 1335, 1335, 1303, 1192, 1192, 1271, 1335, 1335, 1335, + /* 200 */ 1355, 1355, 1358, 125, 1360, 125, 1366, 1368, 125, 1366, + /* 210 */ 125, 125, 125, 1335, 125, 1342, 1342, 1355, 260, 260, + /* 220 */ 260, 260, 260, 260, 260, 260, 260, 260, 260, 1335, + /* 230 */ 1355, 655, 655, 1217, 1320, 1358, 545, 1257, 1360, 545, + /* 240 */ 1335, 1328, 1328, 655, 1204, 1206, 655, 1204, 1206, 655, + /* 250 */ 655, 260, 1202, 1295, 1204, 1208, 1212, 1230, 1072, 1210, + /* 260 */ 1221, 1216, 1245, 358, 1471, 1335, 1366, 545, 545, 1206, + /* 270 */ 655, 655, 655, 655, 655, 1206, 655, 1354, 545, 506, + /* 280 */ 545, 358, 1431, 1446, 655, 776, 1335, 545, 1511, 1355, + /* 290 */ 2947, 2947, 2947, 2947, 2947, 2947, 2947, 2947, 2947, 887, + /* 300 */ 1918, 435, 112, 248, 881, 753, 310, 411, 899, 973, + /* 310 */ 706, 989, 989, 989, 989, 989, 989, 989, 989, 989, + /* 320 */ 922, 486, 292, 292, 366, 219, 640, 330, 67, 317, + /* 330 */ 317, 220, 614, 574, 220, 220, 220, 939, 431, 696, + /* 340 */ 882, 900, 654, 909, 925, 931, 1009, 999, 1098, 1121, + /* 350 */ 951, 1099, 1085, 1091, 990, 978, 860, 964, 1096, 1101, + /* 360 */ 1168, 1174, 1176, 1180, 1200, 1183, 1019, 1153, 644, 1184, + /* 370 */ 1219, 1186, 1207, 1214, 1224, 1231, 1234, 815, 1280, 1296, + /* 380 */ 1211, 1237, 1560, 1563, 1379, 1569, 1570, 1530, 1571, 1539, + /* 390 */ 1374, 1541, 1542, 1543, 1378, 1581, 1547, 1548, 1384, 1586, + /* 400 */ 1392, 1602, 1561, 1597, 1576, 1599, 1565, 1420, 1425, 1609, + /* 410 */ 1611, 1434, 1436, 1614, 1615, 1572, 1616, 1617, 1618, 1579, + /* 420 */ 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, 1479, 1598, + /* 430 */ 1631, 1481, 1634, 1637, 1638, 1640, 1641, 1648, 1650, 1657, + /* 440 */ 1658, 1662, 1663, 1665, 1676, 1677, 1678, 1610, 1653, 1654, + /* 450 */ 1655, 1679, 1681, 1646, 1669, 1670, 1671, 1537, 1673, 1674, + /* 460 */ 1649, 1683, 1630, 1685, 1632, 1686, 1687, 1647, 1667, 1660, + /* 470 */ 1645, 1680, 1661, 1682, 1666, 1693, 1672, 1684, 1709, 1710, + /* 480 */ 1720, 1688, 1549, 1724, 1725, 1726, 1689, 1737, 1738, 1694, + /* 490 */ 1696, 1691, 1731, 1697, 1698, 1695, 1733, 1700, 1699, 1703, + /* 500 */ 1745, 1713, 1701, 1711, 1751, 1754, 1755, 1756, 1656, 1659, + /* 510 */ 1722, 1736, 1759, 1727, 1728, 1730, 1735, 1740, 1741, 1739, + /* 520 */ 1746, 1742, 1752, 1771, 1764, 1773, 1766, 1743, 1790, 1770, + /* 530 */ 1760, 1797, 1767, 1799, 1768, 1804, 1779, 1785, 1772, 1774, + /* 540 */ 1612, 1714, 1716, 1812, 1651, 1781, 1817, 1633, 1798, 1690, + /* 550 */ 1664, 1819, 1821, 1692, 1675, 1822, 1778, 1575, 1744, 1732, + /* 560 */ 1747, 1705, 1608, 1706, 1573, 1749, 1814, 1763, 1748, 1761, + /* 570 */ 1765, 1769, 1818, 1794, 1816, 1775, 1820, 1619, 1777, 1782, + /* 580 */ 1863, 1823, 1636, 1826, 1836, 1844, 1845, 1846, 1848, 1791, + /* 590 */ 1793, 1839, 1702, 1847, 1843, 1892, 1893, 1894, 1895, 1802, + /* 600 */ 1859, 1807, 1803, 1808, 1810, 1811, 1780, 1813, 1907, 1871, + /* 610 */ 1750, 1827, 1806, 1645, 1865, 1881, 1715, 1704, 1719, 1913, + /* 620 */ 1904, 1723, 1832, 1833, 1838, 1835, 1853, 1854, 1902, 1857, + /* 630 */ 1861, 1906, 1862, 1919, 1753, 1864, 1851, 1868, 1926, 1930, + /* 640 */ 1872, 1873, 1936, 1882, 1883, 1943, 1886, 1887, 1947, 1889, + /* 650 */ 1890, 1950, 1896, 1869, 1870, 1874, 1878, 1932, 1880, 1897, + /* 660 */ 1946, 1899, 1963, 1905, 1946, 1946, 1979, 1944, 1951, 1975, + /* 670 */ 1978, 1982, 1983, 1985, 1986, 1987, 1988, 1990, 1993, 1959, + /* 680 */ 1938, 1989, 1996, 1999, 2001, 2010, 2002, 2003, 2004, 1971, + /* 690 */ 1740, 2008, 1741, 2009, 2011, 2012, 2013, 2023, 2014, 2050, + /* 700 */ 2017, 2005, 2015, 2056, 2029, 2018, 2030, 2068, 2035, 2024, + /* 710 */ 2034, 2080, 2049, 2037, 2047, 2089, 2057, 2059, 2091, 2071, + /* 720 */ 2074, 2075, 2076, 2078, 2082, }; -#define YY_REDUCE_COUNT (296) -#define YY_REDUCE_MIN (-420) -#define YY_REDUCE_MAX (2656) +#define YY_REDUCE_COUNT (298) +#define YY_REDUCE_MIN (-428) +#define YY_REDUCE_MAX (2533) static const short yy_reduce_ofst[] = { - /* 0 */ 276, -259, 233, 672, 744, 798, 859, 922, 942, 1045, - /* 10 */ 1104, 1158, 1219, 1277, 1331, 1360, 294, 1418, 1472, 1526, - /* 20 */ 1578, 1594, 1683, 1701, 1755, 1772, 1824, 1840, 1892, 1946, - /* 30 */ 1967, 2043, 2061, 2115, 2132, 2184, 2200, 2252, 2275, 2327, - /* 40 */ 2390, 2442, 2461, 2513, 2529, 2581, 2604, 2656, -258, 95, - /* 50 */ 105, -39, 559, 597, 599, 669, 187, 704, -346, -57, - /* 60 */ -391, 323, 480, -276, -250, 75, -222, 297, -371, -330, - /* 70 */ -326, -327, -363, -299, -257, 116, 128, 193, 199, 327, - /* 80 */ 409, 471, 645, 649, 657, 252, 693, 706, -51, 725, - /* 90 */ -203, 747, 762, 763, 772, 244, 791, 847, -5, 362, - /* 100 */ 465, 24, 485, 845, -210, -315, -420, -420, -217, -212, - /* 110 */ -69, -21, 41, 43, 70, 96, 148, 197, 225, 234, - /* 120 */ 346, 351, 385, 400, 454, 504, 547, 651, 655, -266, - /* 130 */ -170, 397, 191, 152, 533, -170, -150, 219, 477, 186, - /* 140 */ 486, 560, 343, 396, 546, -316, -319, -11, 25, 322, - /* 150 */ 76, 545, 563, 578, -342, 556, 624, 648, 666, 709, - /* 160 */ 734, -348, 722, 789, 766, 707, 729, 831, 737, 834, - /* 170 */ 834, 860, 827, 878, 852, 842, 801, 801, 796, 801, - /* 180 */ 830, 806, 834, 858, 861, 872, 896, 897, 901, 908, - /* 190 */ 952, 954, 912, 915, 918, 955, 962, 964, 966, 974, - /* 200 */ 978, 911, 965, 937, 970, 980, 928, 979, 982, 981, - /* 210 */ 983, 984, 986, 993, 999, 1004, 1012, 994, 996, 1001, - /* 220 */ 1005, 1008, 1010, 1013, 1015, 1016, 1018, 1019, 1021, 1028, - /* 230 */ 990, 991, 940, 985, 1031, 989, 1011, 1041, 1046, 1006, - /* 240 */ 1014, 1017, 945, 1025, 1020, 950, 1026, 1022, 1023, 834, - /* 250 */ 949, 958, 961, 963, 992, 995, 1027, 960, 968, 1024, - /* 260 */ 801, 1061, 1030, 1094, 1098, 1106, 1109, 1059, 1084, 1086, - /* 270 */ 1087, 1088, 1089, 1080, 1095, 1091, 1130, 1117, 1133, 1108, - /* 280 */ 1058, 1121, 1111, 1138, 1149, 1156, 1159, 1162, 1097, 1099, - /* 290 */ 1105, 1107, 1146, 1165, 1166, 1160, 1171, + /* 0 */ 221, -298, -9, 672, 745, 765, 832, 888, 933, 1032, + /* 10 */ 1105, 1125, 291, 1181, 1236, 75, 1292, 1308, 1369, 1424, + /* 20 */ 234, 1441, 1510, 1529, 1596, 1652, 1668, 1729, 1784, 1801, + /* 30 */ 1858, 1875, 1920, 1981, 1997, 2058, 2113, 2130, 2187, 2204, + /* 40 */ 2249, 2310, 2326, 2387, 2442, 2459, 2516, 2533, -279, -293, + /* 50 */ 294, -333, 297, 710, 797, 833, 896, 937, -351, -317, + /* 60 */ -428, -335, 700, -425, -24, -369, -215, -181, -371, -296, + /* 70 */ -255, -234, -199, 12, 139, 184, 264, 316, 320, 353, + /* 80 */ 378, 396, 471, 552, 643, -267, -294, 676, 678, -223, + /* 90 */ 727, 30, 734, 738, 759, 764, 172, 843, 858, 261, + /* 100 */ 859, 388, 273, 488, 848, 334, 122, -421, -421, -235, + /* 110 */ -94, -5, 152, 263, 363, 364, 402, 413, 445, 476, + /* 120 */ 620, 662, 685, 697, 704, 714, 761, 778, 787, 810, + /* 130 */ -106, -360, -179, -20, -228, 100, -360, -303, -17, 207, + /* 140 */ 175, 401, 149, -188, 373, 404, -346, 133, 484, 230, + /* 150 */ 173, 455, 512, 554, 410, 463, 660, 680, 756, 781, + /* 160 */ 817, 845, 667, 758, 659, 728, 747, 762, 879, 831, + /* 170 */ 918, 918, 883, 837, 948, 917, 920, 877, 877, 863, + /* 180 */ 877, 891, 884, 918, 921, 934, 947, 968, 967, 971, + /* 190 */ 977, 1020, 1023, 982, 985, 986, 1027, 1036, 1037, 1038, + /* 200 */ 1046, 1047, 984, 1039, 1008, 1042, 1050, 1000, 1051, 1052, + /* 210 */ 1053, 1054, 1055, 1056, 1058, 1059, 1062, 1073, 1043, 1048, + /* 220 */ 1057, 1060, 1061, 1069, 1070, 1071, 1075, 1077, 1078, 1074, + /* 230 */ 1081, 1033, 1040, 1016, 1021, 1022, 1092, 1064, 1080, 1106, + /* 240 */ 1111, 1066, 1067, 1079, 1013, 1076, 1090, 1024, 1082, 1093, + /* 250 */ 1097, 918, 1025, 1029, 1034, 1041, 1035, 1044, 1084, 1026, + /* 260 */ 1031, 1049, 877, 1123, 1088, 1158, 1159, 1160, 1161, 1110, + /* 270 */ 1126, 1130, 1133, 1134, 1135, 1132, 1138, 1137, 1182, 1166, + /* 280 */ 1187, 1170, 1116, 1179, 1172, 1197, 1215, 1218, 1223, 1222, + /* 290 */ 1164, 1163, 1171, 1175, 1209, 1213, 1220, 1226, 1239, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 10 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 20 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 30 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 40 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 50 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 60 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 70 */ 1615, 1870, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 80 */ 1615, 1615, 1615, 1615, 1615, 1693, 1615, 1615, 1615, 1615, - /* 90 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 100 */ 1615, 1615, 1615, 1615, 1691, 1863, 2067, 1615, 1615, 1615, - /* 110 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 120 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 130 */ 2079, 1615, 1615, 1693, 1615, 2079, 2079, 2079, 1691, 2039, - /* 140 */ 2039, 1615, 1615, 1615, 1615, 1800, 1615, 1615, 1615, 1615, - /* 150 */ 1615, 1615, 1800, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 160 */ 1615, 1913, 1615, 1615, 2104, 2158, 1615, 1615, 2107, 1615, - /* 170 */ 1615, 1615, 1875, 1615, 1753, 2094, 2071, 2085, 2142, 2072, - /* 180 */ 2069, 2088, 1615, 2098, 1615, 1906, 1868, 1615, 1868, 1865, - /* 190 */ 1615, 1615, 1868, 1865, 1865, 1744, 1615, 1615, 1615, 1615, - /* 200 */ 1615, 1615, 1693, 1615, 1693, 1615, 1615, 1693, 1615, 1693, - /* 210 */ 1693, 1693, 1615, 1693, 1672, 1672, 1615, 1615, 1615, 1615, - /* 220 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 230 */ 1615, 1615, 1926, 1615, 1691, 1915, 1615, 1691, 1615, 1615, - /* 240 */ 1615, 1615, 2115, 2113, 1615, 2115, 2113, 1615, 1615, 1615, - /* 250 */ 2127, 2123, 2115, 2131, 2129, 2100, 2098, 2161, 2148, 2144, - /* 260 */ 2085, 1615, 1615, 1615, 1615, 1691, 1691, 2113, 1615, 1615, - /* 270 */ 1615, 1615, 1615, 2113, 1615, 1615, 1691, 1615, 1691, 1615, - /* 280 */ 1615, 1769, 1615, 1615, 1615, 1691, 1647, 1615, 1908, 1919, - /* 290 */ 1891, 1891, 1803, 1803, 1803, 1694, 1620, 1615, 1615, 1615, - /* 300 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 2126, - /* 310 */ 2125, 1994, 1615, 2043, 2042, 2041, 2032, 1993, 1765, 1615, - /* 320 */ 1992, 1991, 1615, 1615, 1615, 1615, 1615, 1882, 1881, 1985, - /* 330 */ 1615, 1615, 1986, 1984, 1983, 1615, 1615, 1615, 1615, 1615, - /* 340 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 350 */ 1615, 1615, 2145, 2149, 1615, 1615, 1615, 1615, 1615, 1615, - /* 360 */ 1615, 2068, 1615, 1615, 1615, 1615, 1615, 1968, 1615, 1615, - /* 370 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 380 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 390 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 400 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 410 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 420 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 430 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 440 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 450 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 460 */ 1615, 1615, 1615, 1615, 1615, 1615, 1652, 1973, 1615, 1615, - /* 470 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 480 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 490 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 500 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 510 */ 1615, 1615, 1615, 1615, 1732, 1731, 1615, 1615, 1615, 1615, - /* 520 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 530 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1976, 1615, - /* 540 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 550 */ 1615, 1615, 2141, 2101, 1615, 1615, 1615, 1615, 1615, 1615, - /* 560 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 570 */ 1615, 1968, 1615, 2124, 1615, 1615, 2139, 1615, 2143, 1615, - /* 580 */ 1615, 1615, 1615, 1615, 1615, 1615, 2078, 2074, 1615, 1615, - /* 590 */ 2070, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 600 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 610 */ 1967, 1615, 2029, 1615, 1615, 1615, 2063, 1615, 1615, 2014, - /* 620 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1976, - /* 630 */ 1615, 1979, 1615, 1615, 1615, 1615, 1615, 1797, 1615, 1615, - /* 640 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 650 */ 1782, 1780, 1779, 1778, 1615, 1775, 1615, 1810, 1615, 1615, - /* 660 */ 1615, 1806, 1805, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 670 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1712, 1615, - /* 680 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1704, 1615, 1703, - /* 690 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 700 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 710 */ 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, 1615, - /* 720 */ 1615, 1615, + /* 0 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 10 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 20 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 30 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 40 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 50 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 60 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 70 */ 1621, 1876, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 80 */ 1621, 1621, 1621, 1621, 1621, 1699, 1621, 1621, 1621, 1621, + /* 90 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 100 */ 1621, 1621, 1621, 1621, 1621, 1697, 1869, 2075, 1621, 1621, + /* 110 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 120 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 130 */ 1621, 2087, 1621, 1621, 1699, 1621, 2087, 2087, 2087, 1697, + /* 140 */ 2047, 2047, 1621, 1621, 1621, 1621, 1806, 1621, 1621, 1621, + /* 150 */ 1621, 1621, 1621, 1806, 1621, 1621, 1621, 1621, 1621, 1621, + /* 160 */ 1621, 1621, 1919, 1621, 1621, 2112, 2166, 1621, 1621, 2115, + /* 170 */ 1621, 1621, 1621, 1881, 1621, 1759, 2102, 2079, 2093, 2150, + /* 180 */ 2080, 2077, 2096, 1621, 2106, 1621, 1912, 1874, 1621, 1874, + /* 190 */ 1871, 1621, 1621, 1874, 1871, 1871, 1750, 1621, 1621, 1621, + /* 200 */ 1621, 1621, 1621, 1699, 1621, 1699, 1621, 1621, 1699, 1621, + /* 210 */ 1699, 1699, 1699, 1621, 1699, 1678, 1678, 1621, 1621, 1621, + /* 220 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 230 */ 1621, 1621, 1621, 1934, 1925, 1621, 1697, 1921, 1621, 1697, + /* 240 */ 1621, 1621, 1621, 1621, 2123, 2121, 1621, 2123, 2121, 1621, + /* 250 */ 1621, 1621, 2135, 2131, 2123, 2139, 2137, 2108, 2106, 2169, + /* 260 */ 2156, 2152, 2093, 1621, 1621, 1621, 1621, 1697, 1697, 2121, + /* 270 */ 1621, 1621, 1621, 1621, 1621, 2121, 1621, 1621, 1697, 1621, + /* 280 */ 1697, 1621, 1621, 1775, 1621, 1621, 1621, 1697, 1653, 1621, + /* 290 */ 1914, 1927, 1897, 1897, 1809, 1809, 1809, 1700, 1626, 1621, + /* 300 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 310 */ 1621, 2134, 2133, 2002, 1621, 2051, 2050, 2049, 2040, 2001, + /* 320 */ 1771, 1621, 2000, 1999, 1621, 1621, 1621, 1621, 1621, 1888, + /* 330 */ 1887, 1993, 1621, 1621, 1994, 1992, 1991, 1621, 1621, 1621, + /* 340 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 350 */ 1621, 1621, 1621, 1621, 1621, 2153, 2157, 1621, 1621, 1621, + /* 360 */ 1621, 1621, 1621, 1621, 2076, 1621, 1621, 1621, 1621, 1621, + /* 370 */ 1976, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 380 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 390 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 400 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 410 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 420 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 430 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 440 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 450 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 460 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1658, + /* 470 */ 1981, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 480 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 490 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 500 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 510 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1738, 1737, 1621, + /* 520 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 530 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 540 */ 1621, 1984, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 550 */ 1621, 1621, 1621, 1621, 1621, 2149, 2109, 1621, 1621, 1621, + /* 560 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 570 */ 1621, 1621, 1621, 1621, 1976, 1621, 2132, 1621, 1621, 2147, + /* 580 */ 1621, 2151, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 2086, + /* 590 */ 2082, 1621, 1621, 2078, 1621, 1621, 1621, 1621, 1621, 1621, + /* 600 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 610 */ 1621, 1621, 1621, 1975, 1621, 2037, 1621, 1621, 1621, 2071, + /* 620 */ 1621, 1621, 2022, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 630 */ 1621, 1621, 1984, 1621, 1987, 1621, 1621, 1621, 1621, 1621, + /* 640 */ 1803, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 650 */ 1621, 1621, 1621, 1788, 1786, 1785, 1784, 1621, 1781, 1621, + /* 660 */ 1816, 1621, 1621, 1621, 1812, 1811, 1621, 1621, 1621, 1621, + /* 670 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 680 */ 1621, 1718, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 690 */ 1710, 1621, 1709, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 700 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 710 */ 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, 1621, + /* 720 */ 1621, 1621, 1621, 1621, 1621, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1850,70 +1826,71 @@ static const char *const yyTokenName[] = { /* 394 */ "bufsize_opt", /* 395 */ "stream_name", /* 396 */ "stream_options", - /* 397 */ "subtable_opt", - /* 398 */ "expression", - /* 399 */ "dnode_list", - /* 400 */ "where_clause_opt", - /* 401 */ "signed", - /* 402 */ "literal_func", - /* 403 */ "literal_list", - /* 404 */ "table_alias", - /* 405 */ "expr_or_subquery", - /* 406 */ "pseudo_column", - /* 407 */ "column_reference", - /* 408 */ "function_expression", - /* 409 */ "case_when_expression", - /* 410 */ "star_func", - /* 411 */ "star_func_para_list", - /* 412 */ "noarg_func", - /* 413 */ "other_para_list", - /* 414 */ "star_func_para", - /* 415 */ "when_then_list", - /* 416 */ "case_when_else_opt", - /* 417 */ "common_expression", - /* 418 */ "when_then_expr", - /* 419 */ "predicate", - /* 420 */ "compare_op", - /* 421 */ "in_op", - /* 422 */ "in_predicate_value", - /* 423 */ "boolean_value_expression", - /* 424 */ "boolean_primary", - /* 425 */ "from_clause_opt", - /* 426 */ "table_reference_list", - /* 427 */ "table_reference", - /* 428 */ "table_primary", - /* 429 */ "joined_table", - /* 430 */ "alias_opt", - /* 431 */ "subquery", - /* 432 */ "parenthesized_joined_table", - /* 433 */ "join_type", - /* 434 */ "search_condition", - /* 435 */ "query_specification", - /* 436 */ "set_quantifier_opt", - /* 437 */ "select_list", - /* 438 */ "partition_by_clause_opt", - /* 439 */ "range_opt", - /* 440 */ "every_opt", - /* 441 */ "fill_opt", - /* 442 */ "twindow_clause_opt", - /* 443 */ "group_by_clause_opt", - /* 444 */ "having_clause_opt", - /* 445 */ "select_item", - /* 446 */ "partition_list", - /* 447 */ "partition_item", - /* 448 */ "fill_mode", - /* 449 */ "group_by_list", - /* 450 */ "query_expression", - /* 451 */ "query_simple", - /* 452 */ "order_by_clause_opt", - /* 453 */ "slimit_clause_opt", - /* 454 */ "limit_clause_opt", - /* 455 */ "union_query_expression", - /* 456 */ "query_simple_or_subquery", - /* 457 */ "sort_specification_list", - /* 458 */ "sort_specification", - /* 459 */ "ordering_specification_opt", - /* 460 */ "null_ordering_opt", + /* 397 */ "col_list_opt", + /* 398 */ "subtable_opt", + /* 399 */ "expression", + /* 400 */ "dnode_list", + /* 401 */ "where_clause_opt", + /* 402 */ "signed", + /* 403 */ "literal_func", + /* 404 */ "literal_list", + /* 405 */ "table_alias", + /* 406 */ "expr_or_subquery", + /* 407 */ "pseudo_column", + /* 408 */ "column_reference", + /* 409 */ "function_expression", + /* 410 */ "case_when_expression", + /* 411 */ "star_func", + /* 412 */ "star_func_para_list", + /* 413 */ "noarg_func", + /* 414 */ "other_para_list", + /* 415 */ "star_func_para", + /* 416 */ "when_then_list", + /* 417 */ "case_when_else_opt", + /* 418 */ "common_expression", + /* 419 */ "when_then_expr", + /* 420 */ "predicate", + /* 421 */ "compare_op", + /* 422 */ "in_op", + /* 423 */ "in_predicate_value", + /* 424 */ "boolean_value_expression", + /* 425 */ "boolean_primary", + /* 426 */ "from_clause_opt", + /* 427 */ "table_reference_list", + /* 428 */ "table_reference", + /* 429 */ "table_primary", + /* 430 */ "joined_table", + /* 431 */ "alias_opt", + /* 432 */ "subquery", + /* 433 */ "parenthesized_joined_table", + /* 434 */ "join_type", + /* 435 */ "search_condition", + /* 436 */ "query_specification", + /* 437 */ "set_quantifier_opt", + /* 438 */ "select_list", + /* 439 */ "partition_by_clause_opt", + /* 440 */ "range_opt", + /* 441 */ "every_opt", + /* 442 */ "fill_opt", + /* 443 */ "twindow_clause_opt", + /* 444 */ "group_by_clause_opt", + /* 445 */ "having_clause_opt", + /* 446 */ "select_item", + /* 447 */ "partition_list", + /* 448 */ "partition_item", + /* 449 */ "fill_mode", + /* 450 */ "group_by_list", + /* 451 */ "query_expression", + /* 452 */ "query_simple", + /* 453 */ "order_by_clause_opt", + /* 454 */ "slimit_clause_opt", + /* 455 */ "limit_clause_opt", + /* 456 */ "union_query_expression", + /* 457 */ "query_simple_or_subquery", + /* 458 */ "sort_specification_list", + /* 459 */ "sort_specification", + /* 460 */ "ordering_specification_opt", + /* 461 */ "null_ordering_opt", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -2220,253 +2197,255 @@ static const char *const yyRuleName[] = { /* 296 */ "agg_func_opt ::= AGGREGATE", /* 297 */ "bufsize_opt ::=", /* 298 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 299 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name tags_def_opt subtable_opt AS query_or_subquery", + /* 299 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tags_def_opt subtable_opt AS query_or_subquery", /* 300 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 301 */ "stream_options ::=", - /* 302 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 303 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 304 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 305 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 306 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", - /* 307 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", - /* 308 */ "subtable_opt ::=", - /* 309 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", - /* 310 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 311 */ "cmd ::= KILL QUERY NK_STRING", - /* 312 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 313 */ "cmd ::= BALANCE VGROUP", - /* 314 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 315 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 316 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 317 */ "dnode_list ::= DNODE NK_INTEGER", - /* 318 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 319 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 320 */ "cmd ::= query_or_subquery", - /* 321 */ "cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 322 */ "cmd ::= INSERT INTO full_table_name query_or_subquery", - /* 323 */ "literal ::= NK_INTEGER", - /* 324 */ "literal ::= NK_FLOAT", - /* 325 */ "literal ::= NK_STRING", - /* 326 */ "literal ::= NK_BOOL", - /* 327 */ "literal ::= TIMESTAMP NK_STRING", - /* 328 */ "literal ::= duration_literal", - /* 329 */ "literal ::= NULL", - /* 330 */ "literal ::= NK_QUESTION", - /* 331 */ "duration_literal ::= NK_VARIABLE", - /* 332 */ "signed ::= NK_INTEGER", - /* 333 */ "signed ::= NK_PLUS NK_INTEGER", - /* 334 */ "signed ::= NK_MINUS NK_INTEGER", - /* 335 */ "signed ::= NK_FLOAT", - /* 336 */ "signed ::= NK_PLUS NK_FLOAT", - /* 337 */ "signed ::= NK_MINUS NK_FLOAT", - /* 338 */ "signed_literal ::= signed", - /* 339 */ "signed_literal ::= NK_STRING", - /* 340 */ "signed_literal ::= NK_BOOL", - /* 341 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 342 */ "signed_literal ::= duration_literal", - /* 343 */ "signed_literal ::= NULL", - /* 344 */ "signed_literal ::= literal_func", - /* 345 */ "signed_literal ::= NK_QUESTION", - /* 346 */ "literal_list ::= signed_literal", - /* 347 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 348 */ "db_name ::= NK_ID", - /* 349 */ "table_name ::= NK_ID", - /* 350 */ "column_name ::= NK_ID", - /* 351 */ "function_name ::= NK_ID", - /* 352 */ "table_alias ::= NK_ID", - /* 353 */ "column_alias ::= NK_ID", - /* 354 */ "user_name ::= NK_ID", - /* 355 */ "topic_name ::= NK_ID", - /* 356 */ "stream_name ::= NK_ID", - /* 357 */ "cgroup_name ::= NK_ID", - /* 358 */ "expr_or_subquery ::= expression", - /* 359 */ "expression ::= literal", - /* 360 */ "expression ::= pseudo_column", - /* 361 */ "expression ::= column_reference", - /* 362 */ "expression ::= function_expression", - /* 363 */ "expression ::= case_when_expression", - /* 364 */ "expression ::= NK_LP expression NK_RP", - /* 365 */ "expression ::= NK_PLUS expr_or_subquery", - /* 366 */ "expression ::= NK_MINUS expr_or_subquery", - /* 367 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 368 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 369 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 370 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 371 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 372 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 373 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 374 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 375 */ "expression_list ::= expr_or_subquery", - /* 376 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 377 */ "column_reference ::= column_name", - /* 378 */ "column_reference ::= table_name NK_DOT column_name", - /* 379 */ "pseudo_column ::= ROWTS", - /* 380 */ "pseudo_column ::= TBNAME", - /* 381 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 382 */ "pseudo_column ::= QSTART", - /* 383 */ "pseudo_column ::= QEND", - /* 384 */ "pseudo_column ::= QDURATION", - /* 385 */ "pseudo_column ::= WSTART", - /* 386 */ "pseudo_column ::= WEND", - /* 387 */ "pseudo_column ::= WDURATION", - /* 388 */ "pseudo_column ::= IROWTS", - /* 389 */ "pseudo_column ::= ISFILLED", - /* 390 */ "pseudo_column ::= QTAGS", - /* 391 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 392 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 393 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 394 */ "function_expression ::= literal_func", - /* 395 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 396 */ "literal_func ::= NOW", - /* 397 */ "noarg_func ::= NOW", - /* 398 */ "noarg_func ::= TODAY", - /* 399 */ "noarg_func ::= TIMEZONE", - /* 400 */ "noarg_func ::= DATABASE", - /* 401 */ "noarg_func ::= CLIENT_VERSION", - /* 402 */ "noarg_func ::= SERVER_VERSION", - /* 403 */ "noarg_func ::= SERVER_STATUS", - /* 404 */ "noarg_func ::= CURRENT_USER", - /* 405 */ "noarg_func ::= USER", - /* 406 */ "star_func ::= COUNT", - /* 407 */ "star_func ::= FIRST", - /* 408 */ "star_func ::= LAST", - /* 409 */ "star_func ::= LAST_ROW", - /* 410 */ "star_func_para_list ::= NK_STAR", - /* 411 */ "star_func_para_list ::= other_para_list", - /* 412 */ "other_para_list ::= star_func_para", - /* 413 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 414 */ "star_func_para ::= expr_or_subquery", - /* 415 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 416 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 417 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 418 */ "when_then_list ::= when_then_expr", - /* 419 */ "when_then_list ::= when_then_list when_then_expr", - /* 420 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 421 */ "case_when_else_opt ::=", - /* 422 */ "case_when_else_opt ::= ELSE common_expression", - /* 423 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 424 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 425 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 426 */ "predicate ::= expr_or_subquery IS NULL", - /* 427 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 428 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 429 */ "compare_op ::= NK_LT", - /* 430 */ "compare_op ::= NK_GT", - /* 431 */ "compare_op ::= NK_LE", - /* 432 */ "compare_op ::= NK_GE", - /* 433 */ "compare_op ::= NK_NE", - /* 434 */ "compare_op ::= NK_EQ", - /* 435 */ "compare_op ::= LIKE", - /* 436 */ "compare_op ::= NOT LIKE", - /* 437 */ "compare_op ::= MATCH", - /* 438 */ "compare_op ::= NMATCH", - /* 439 */ "compare_op ::= CONTAINS", - /* 440 */ "in_op ::= IN", - /* 441 */ "in_op ::= NOT IN", - /* 442 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 443 */ "boolean_value_expression ::= boolean_primary", - /* 444 */ "boolean_value_expression ::= NOT boolean_primary", - /* 445 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 446 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 447 */ "boolean_primary ::= predicate", - /* 448 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 449 */ "common_expression ::= expr_or_subquery", - /* 450 */ "common_expression ::= boolean_value_expression", - /* 451 */ "from_clause_opt ::=", - /* 452 */ "from_clause_opt ::= FROM table_reference_list", - /* 453 */ "table_reference_list ::= table_reference", - /* 454 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 455 */ "table_reference ::= table_primary", - /* 456 */ "table_reference ::= joined_table", - /* 457 */ "table_primary ::= table_name alias_opt", - /* 458 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 459 */ "table_primary ::= subquery alias_opt", - /* 460 */ "table_primary ::= parenthesized_joined_table", - /* 461 */ "alias_opt ::=", - /* 462 */ "alias_opt ::= table_alias", - /* 463 */ "alias_opt ::= AS table_alias", - /* 464 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 465 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 466 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 467 */ "join_type ::=", - /* 468 */ "join_type ::= INNER", - /* 469 */ "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", - /* 470 */ "set_quantifier_opt ::=", - /* 471 */ "set_quantifier_opt ::= DISTINCT", - /* 472 */ "set_quantifier_opt ::= ALL", - /* 473 */ "select_list ::= select_item", - /* 474 */ "select_list ::= select_list NK_COMMA select_item", - /* 475 */ "select_item ::= NK_STAR", - /* 476 */ "select_item ::= common_expression", - /* 477 */ "select_item ::= common_expression column_alias", - /* 478 */ "select_item ::= common_expression AS column_alias", - /* 479 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 480 */ "where_clause_opt ::=", - /* 481 */ "where_clause_opt ::= WHERE search_condition", - /* 482 */ "partition_by_clause_opt ::=", - /* 483 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 484 */ "partition_list ::= partition_item", - /* 485 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 486 */ "partition_item ::= expr_or_subquery", - /* 487 */ "partition_item ::= expr_or_subquery column_alias", - /* 488 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 489 */ "twindow_clause_opt ::=", - /* 490 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 491 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 492 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 493 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 494 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 495 */ "sliding_opt ::=", - /* 496 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 497 */ "fill_opt ::=", - /* 498 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 499 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", - /* 500 */ "fill_mode ::= NONE", - /* 501 */ "fill_mode ::= PREV", - /* 502 */ "fill_mode ::= NULL", - /* 503 */ "fill_mode ::= LINEAR", - /* 504 */ "fill_mode ::= NEXT", - /* 505 */ "group_by_clause_opt ::=", - /* 506 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 507 */ "group_by_list ::= expr_or_subquery", - /* 508 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 509 */ "having_clause_opt ::=", - /* 510 */ "having_clause_opt ::= HAVING search_condition", - /* 511 */ "range_opt ::=", - /* 512 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 513 */ "every_opt ::=", - /* 514 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 515 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 516 */ "query_simple ::= query_specification", - /* 517 */ "query_simple ::= union_query_expression", - /* 518 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 519 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 520 */ "query_simple_or_subquery ::= query_simple", - /* 521 */ "query_simple_or_subquery ::= subquery", - /* 522 */ "query_or_subquery ::= query_expression", - /* 523 */ "query_or_subquery ::= subquery", - /* 524 */ "order_by_clause_opt ::=", - /* 525 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 526 */ "slimit_clause_opt ::=", - /* 527 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 528 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 529 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 530 */ "limit_clause_opt ::=", - /* 531 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 532 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 533 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 534 */ "subquery ::= NK_LP query_expression NK_RP", - /* 535 */ "subquery ::= NK_LP subquery NK_RP", - /* 536 */ "search_condition ::= common_expression", - /* 537 */ "sort_specification_list ::= sort_specification", - /* 538 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 539 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 540 */ "ordering_specification_opt ::=", - /* 541 */ "ordering_specification_opt ::= ASC", - /* 542 */ "ordering_specification_opt ::= DESC", - /* 543 */ "null_ordering_opt ::=", - /* 544 */ "null_ordering_opt ::= NULLS FIRST", - /* 545 */ "null_ordering_opt ::= NULLS LAST", + /* 301 */ "col_list_opt ::=", + /* 302 */ "col_list_opt ::= NK_LP col_name_list NK_RP", + /* 303 */ "stream_options ::=", + /* 304 */ "stream_options ::= stream_options TRIGGER AT_ONCE", + /* 305 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", + /* 306 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", + /* 307 */ "stream_options ::= stream_options WATERMARK duration_literal", + /* 308 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", + /* 309 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", + /* 310 */ "subtable_opt ::=", + /* 311 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", + /* 312 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 313 */ "cmd ::= KILL QUERY NK_STRING", + /* 314 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 315 */ "cmd ::= BALANCE VGROUP", + /* 316 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 317 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 318 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 319 */ "dnode_list ::= DNODE NK_INTEGER", + /* 320 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 321 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 322 */ "cmd ::= query_or_subquery", + /* 323 */ "cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 324 */ "cmd ::= INSERT INTO full_table_name query_or_subquery", + /* 325 */ "literal ::= NK_INTEGER", + /* 326 */ "literal ::= NK_FLOAT", + /* 327 */ "literal ::= NK_STRING", + /* 328 */ "literal ::= NK_BOOL", + /* 329 */ "literal ::= TIMESTAMP NK_STRING", + /* 330 */ "literal ::= duration_literal", + /* 331 */ "literal ::= NULL", + /* 332 */ "literal ::= NK_QUESTION", + /* 333 */ "duration_literal ::= NK_VARIABLE", + /* 334 */ "signed ::= NK_INTEGER", + /* 335 */ "signed ::= NK_PLUS NK_INTEGER", + /* 336 */ "signed ::= NK_MINUS NK_INTEGER", + /* 337 */ "signed ::= NK_FLOAT", + /* 338 */ "signed ::= NK_PLUS NK_FLOAT", + /* 339 */ "signed ::= NK_MINUS NK_FLOAT", + /* 340 */ "signed_literal ::= signed", + /* 341 */ "signed_literal ::= NK_STRING", + /* 342 */ "signed_literal ::= NK_BOOL", + /* 343 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 344 */ "signed_literal ::= duration_literal", + /* 345 */ "signed_literal ::= NULL", + /* 346 */ "signed_literal ::= literal_func", + /* 347 */ "signed_literal ::= NK_QUESTION", + /* 348 */ "literal_list ::= signed_literal", + /* 349 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 350 */ "db_name ::= NK_ID", + /* 351 */ "table_name ::= NK_ID", + /* 352 */ "column_name ::= NK_ID", + /* 353 */ "function_name ::= NK_ID", + /* 354 */ "table_alias ::= NK_ID", + /* 355 */ "column_alias ::= NK_ID", + /* 356 */ "user_name ::= NK_ID", + /* 357 */ "topic_name ::= NK_ID", + /* 358 */ "stream_name ::= NK_ID", + /* 359 */ "cgroup_name ::= NK_ID", + /* 360 */ "expr_or_subquery ::= expression", + /* 361 */ "expression ::= literal", + /* 362 */ "expression ::= pseudo_column", + /* 363 */ "expression ::= column_reference", + /* 364 */ "expression ::= function_expression", + /* 365 */ "expression ::= case_when_expression", + /* 366 */ "expression ::= NK_LP expression NK_RP", + /* 367 */ "expression ::= NK_PLUS expr_or_subquery", + /* 368 */ "expression ::= NK_MINUS expr_or_subquery", + /* 369 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 370 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 371 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 372 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 373 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 374 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 375 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 376 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 377 */ "expression_list ::= expr_or_subquery", + /* 378 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 379 */ "column_reference ::= column_name", + /* 380 */ "column_reference ::= table_name NK_DOT column_name", + /* 381 */ "pseudo_column ::= ROWTS", + /* 382 */ "pseudo_column ::= TBNAME", + /* 383 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 384 */ "pseudo_column ::= QSTART", + /* 385 */ "pseudo_column ::= QEND", + /* 386 */ "pseudo_column ::= QDURATION", + /* 387 */ "pseudo_column ::= WSTART", + /* 388 */ "pseudo_column ::= WEND", + /* 389 */ "pseudo_column ::= WDURATION", + /* 390 */ "pseudo_column ::= IROWTS", + /* 391 */ "pseudo_column ::= ISFILLED", + /* 392 */ "pseudo_column ::= QTAGS", + /* 393 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 394 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 395 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 396 */ "function_expression ::= literal_func", + /* 397 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 398 */ "literal_func ::= NOW", + /* 399 */ "noarg_func ::= NOW", + /* 400 */ "noarg_func ::= TODAY", + /* 401 */ "noarg_func ::= TIMEZONE", + /* 402 */ "noarg_func ::= DATABASE", + /* 403 */ "noarg_func ::= CLIENT_VERSION", + /* 404 */ "noarg_func ::= SERVER_VERSION", + /* 405 */ "noarg_func ::= SERVER_STATUS", + /* 406 */ "noarg_func ::= CURRENT_USER", + /* 407 */ "noarg_func ::= USER", + /* 408 */ "star_func ::= COUNT", + /* 409 */ "star_func ::= FIRST", + /* 410 */ "star_func ::= LAST", + /* 411 */ "star_func ::= LAST_ROW", + /* 412 */ "star_func_para_list ::= NK_STAR", + /* 413 */ "star_func_para_list ::= other_para_list", + /* 414 */ "other_para_list ::= star_func_para", + /* 415 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 416 */ "star_func_para ::= expr_or_subquery", + /* 417 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 418 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 419 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 420 */ "when_then_list ::= when_then_expr", + /* 421 */ "when_then_list ::= when_then_list when_then_expr", + /* 422 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 423 */ "case_when_else_opt ::=", + /* 424 */ "case_when_else_opt ::= ELSE common_expression", + /* 425 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 426 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 427 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 428 */ "predicate ::= expr_or_subquery IS NULL", + /* 429 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 430 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 431 */ "compare_op ::= NK_LT", + /* 432 */ "compare_op ::= NK_GT", + /* 433 */ "compare_op ::= NK_LE", + /* 434 */ "compare_op ::= NK_GE", + /* 435 */ "compare_op ::= NK_NE", + /* 436 */ "compare_op ::= NK_EQ", + /* 437 */ "compare_op ::= LIKE", + /* 438 */ "compare_op ::= NOT LIKE", + /* 439 */ "compare_op ::= MATCH", + /* 440 */ "compare_op ::= NMATCH", + /* 441 */ "compare_op ::= CONTAINS", + /* 442 */ "in_op ::= IN", + /* 443 */ "in_op ::= NOT IN", + /* 444 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 445 */ "boolean_value_expression ::= boolean_primary", + /* 446 */ "boolean_value_expression ::= NOT boolean_primary", + /* 447 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 448 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 449 */ "boolean_primary ::= predicate", + /* 450 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 451 */ "common_expression ::= expr_or_subquery", + /* 452 */ "common_expression ::= boolean_value_expression", + /* 453 */ "from_clause_opt ::=", + /* 454 */ "from_clause_opt ::= FROM table_reference_list", + /* 455 */ "table_reference_list ::= table_reference", + /* 456 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 457 */ "table_reference ::= table_primary", + /* 458 */ "table_reference ::= joined_table", + /* 459 */ "table_primary ::= table_name alias_opt", + /* 460 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 461 */ "table_primary ::= subquery alias_opt", + /* 462 */ "table_primary ::= parenthesized_joined_table", + /* 463 */ "alias_opt ::=", + /* 464 */ "alias_opt ::= table_alias", + /* 465 */ "alias_opt ::= AS table_alias", + /* 466 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 467 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 468 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 469 */ "join_type ::=", + /* 470 */ "join_type ::= INNER", + /* 471 */ "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", + /* 472 */ "set_quantifier_opt ::=", + /* 473 */ "set_quantifier_opt ::= DISTINCT", + /* 474 */ "set_quantifier_opt ::= ALL", + /* 475 */ "select_list ::= select_item", + /* 476 */ "select_list ::= select_list NK_COMMA select_item", + /* 477 */ "select_item ::= NK_STAR", + /* 478 */ "select_item ::= common_expression", + /* 479 */ "select_item ::= common_expression column_alias", + /* 480 */ "select_item ::= common_expression AS column_alias", + /* 481 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 482 */ "where_clause_opt ::=", + /* 483 */ "where_clause_opt ::= WHERE search_condition", + /* 484 */ "partition_by_clause_opt ::=", + /* 485 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 486 */ "partition_list ::= partition_item", + /* 487 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 488 */ "partition_item ::= expr_or_subquery", + /* 489 */ "partition_item ::= expr_or_subquery column_alias", + /* 490 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 491 */ "twindow_clause_opt ::=", + /* 492 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 493 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 494 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 495 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 496 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 497 */ "sliding_opt ::=", + /* 498 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 499 */ "fill_opt ::=", + /* 500 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 501 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", + /* 502 */ "fill_mode ::= NONE", + /* 503 */ "fill_mode ::= PREV", + /* 504 */ "fill_mode ::= NULL", + /* 505 */ "fill_mode ::= LINEAR", + /* 506 */ "fill_mode ::= NEXT", + /* 507 */ "group_by_clause_opt ::=", + /* 508 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 509 */ "group_by_list ::= expr_or_subquery", + /* 510 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 511 */ "having_clause_opt ::=", + /* 512 */ "having_clause_opt ::= HAVING search_condition", + /* 513 */ "range_opt ::=", + /* 514 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 515 */ "every_opt ::=", + /* 516 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 517 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 518 */ "query_simple ::= query_specification", + /* 519 */ "query_simple ::= union_query_expression", + /* 520 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 521 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 522 */ "query_simple_or_subquery ::= query_simple", + /* 523 */ "query_simple_or_subquery ::= subquery", + /* 524 */ "query_or_subquery ::= query_expression", + /* 525 */ "query_or_subquery ::= subquery", + /* 526 */ "order_by_clause_opt ::=", + /* 527 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 528 */ "slimit_clause_opt ::=", + /* 529 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 530 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 531 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 532 */ "limit_clause_opt ::=", + /* 533 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 534 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 535 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 536 */ "subquery ::= NK_LP query_expression NK_RP", + /* 537 */ "subquery ::= NK_LP subquery NK_RP", + /* 538 */ "search_condition ::= common_expression", + /* 539 */ "sort_specification_list ::= sort_specification", + /* 540 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 541 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 542 */ "ordering_specification_opt ::=", + /* 543 */ "ordering_specification_opt ::= ASC", + /* 544 */ "ordering_specification_opt ::= DESC", + /* 545 */ "null_ordering_opt ::=", + /* 546 */ "null_ordering_opt ::= NULLS FIRST", + /* 547 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -2621,49 +2600,49 @@ static void yy_destructor( case 389: /* query_or_subquery */ case 392: /* explain_options */ case 396: /* stream_options */ - case 397: /* subtable_opt */ - case 398: /* expression */ - case 400: /* where_clause_opt */ - case 401: /* signed */ - case 402: /* literal_func */ - case 405: /* expr_or_subquery */ - case 406: /* pseudo_column */ - case 407: /* column_reference */ - case 408: /* function_expression */ - case 409: /* case_when_expression */ - case 414: /* star_func_para */ - case 416: /* case_when_else_opt */ - case 417: /* common_expression */ - case 418: /* when_then_expr */ - case 419: /* predicate */ - case 422: /* in_predicate_value */ - case 423: /* boolean_value_expression */ - case 424: /* boolean_primary */ - case 425: /* from_clause_opt */ - case 426: /* table_reference_list */ - case 427: /* table_reference */ - case 428: /* table_primary */ - case 429: /* joined_table */ - case 431: /* subquery */ - case 432: /* parenthesized_joined_table */ - case 434: /* search_condition */ - case 435: /* query_specification */ - case 439: /* range_opt */ - case 440: /* every_opt */ - case 441: /* fill_opt */ - case 442: /* twindow_clause_opt */ - case 444: /* having_clause_opt */ - case 445: /* select_item */ - case 447: /* partition_item */ - case 450: /* query_expression */ - case 451: /* query_simple */ - case 453: /* slimit_clause_opt */ - case 454: /* limit_clause_opt */ - case 455: /* union_query_expression */ - case 456: /* query_simple_or_subquery */ - case 458: /* sort_specification */ + case 398: /* subtable_opt */ + case 399: /* expression */ + case 401: /* where_clause_opt */ + case 402: /* signed */ + case 403: /* literal_func */ + case 406: /* expr_or_subquery */ + case 407: /* pseudo_column */ + case 408: /* column_reference */ + case 409: /* function_expression */ + case 410: /* case_when_expression */ + case 415: /* star_func_para */ + case 417: /* case_when_else_opt */ + case 418: /* common_expression */ + case 419: /* when_then_expr */ + case 420: /* predicate */ + case 423: /* in_predicate_value */ + case 424: /* boolean_value_expression */ + case 425: /* boolean_primary */ + case 426: /* from_clause_opt */ + case 427: /* table_reference_list */ + case 428: /* table_reference */ + case 429: /* table_primary */ + case 430: /* joined_table */ + case 432: /* subquery */ + case 433: /* parenthesized_joined_table */ + case 435: /* search_condition */ + case 436: /* query_specification */ + case 440: /* range_opt */ + case 441: /* every_opt */ + case 442: /* fill_opt */ + case 443: /* twindow_clause_opt */ + case 445: /* having_clause_opt */ + case 446: /* select_item */ + case 448: /* partition_item */ + case 451: /* query_expression */ + case 452: /* query_simple */ + case 454: /* slimit_clause_opt */ + case 455: /* limit_clause_opt */ + case 456: /* union_query_expression */ + case 457: /* query_simple_or_subquery */ + case 459: /* sort_specification */ { - nodesDestroyNode((yypminor->yy600)); + nodesDestroyNode((yypminor->yy476)); } break; case 326: /* account_options */ @@ -2687,10 +2666,10 @@ static void yy_destructor( case 388: /* sma_func_name */ case 390: /* cgroup_name */ case 395: /* stream_name */ - case 404: /* table_alias */ - case 410: /* star_func */ - case 412: /* noarg_func */ - case 430: /* alias_opt */ + case 405: /* table_alias */ + case 411: /* star_func */ + case 413: /* noarg_func */ + case 431: /* alias_opt */ { } @@ -2712,7 +2691,7 @@ static void yy_destructor( case 342: /* exists_opt */ case 391: /* analyze_opt */ case 393: /* agg_func_opt */ - case 436: /* set_quantifier_opt */ + case 437: /* set_quantifier_opt */ { } @@ -2732,20 +2711,21 @@ static void yy_destructor( case 370: /* rollup_func_list */ case 380: /* tag_list_opt */ case 384: /* func_list */ - case 399: /* dnode_list */ - case 403: /* literal_list */ - case 411: /* star_func_para_list */ - case 413: /* other_para_list */ - case 415: /* when_then_list */ - case 437: /* select_list */ - case 438: /* partition_by_clause_opt */ - case 443: /* group_by_clause_opt */ - case 446: /* partition_list */ - case 449: /* group_by_list */ - case 452: /* order_by_clause_opt */ - case 457: /* sort_specification_list */ + case 397: /* col_list_opt */ + case 400: /* dnode_list */ + case 404: /* literal_list */ + case 412: /* star_func_para_list */ + case 414: /* other_para_list */ + case 416: /* when_then_list */ + case 438: /* select_list */ + case 439: /* partition_by_clause_opt */ + case 444: /* group_by_clause_opt */ + case 447: /* partition_list */ + case 450: /* group_by_list */ + case 453: /* order_by_clause_opt */ + case 458: /* sort_specification_list */ { - nodesDestroyList((yypminor->yy601)); + nodesDestroyList((yypminor->yy376)); } break; case 348: /* alter_db_option */ @@ -2759,28 +2739,28 @@ static void yy_destructor( } break; - case 420: /* compare_op */ - case 421: /* in_op */ + case 421: /* compare_op */ + case 422: /* in_op */ { } break; - case 433: /* join_type */ + case 434: /* join_type */ { } break; - case 448: /* fill_mode */ + case 449: /* fill_mode */ { } break; - case 459: /* ordering_specification_opt */ + case 460: /* ordering_specification_opt */ { } break; - case 460: /* null_ordering_opt */ + case 461: /* null_ordering_opt */ { } @@ -3378,253 +3358,255 @@ static const struct { { 393, -1 }, /* (296) agg_func_opt ::= AGGREGATE */ { 394, 0 }, /* (297) bufsize_opt ::= */ { 394, -2 }, /* (298) bufsize_opt ::= BUFSIZE NK_INTEGER */ - { 325, -11 }, /* (299) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name tags_def_opt subtable_opt AS query_or_subquery */ + { 325, -12 }, /* (299) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tags_def_opt subtable_opt AS query_or_subquery */ { 325, -4 }, /* (300) cmd ::= DROP STREAM exists_opt stream_name */ - { 396, 0 }, /* (301) stream_options ::= */ - { 396, -3 }, /* (302) stream_options ::= stream_options TRIGGER AT_ONCE */ - { 396, -3 }, /* (303) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - { 396, -4 }, /* (304) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - { 396, -3 }, /* (305) stream_options ::= stream_options WATERMARK duration_literal */ - { 396, -4 }, /* (306) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - { 396, -3 }, /* (307) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - { 397, 0 }, /* (308) subtable_opt ::= */ - { 397, -4 }, /* (309) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - { 325, -3 }, /* (310) cmd ::= KILL CONNECTION NK_INTEGER */ - { 325, -3 }, /* (311) cmd ::= KILL QUERY NK_STRING */ - { 325, -3 }, /* (312) cmd ::= KILL TRANSACTION NK_INTEGER */ - { 325, -2 }, /* (313) cmd ::= BALANCE VGROUP */ - { 325, -4 }, /* (314) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - { 325, -4 }, /* (315) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - { 325, -3 }, /* (316) cmd ::= SPLIT VGROUP NK_INTEGER */ - { 399, -2 }, /* (317) dnode_list ::= DNODE NK_INTEGER */ - { 399, -3 }, /* (318) dnode_list ::= dnode_list DNODE NK_INTEGER */ - { 325, -4 }, /* (319) cmd ::= DELETE FROM full_table_name where_clause_opt */ - { 325, -1 }, /* (320) cmd ::= query_or_subquery */ - { 325, -7 }, /* (321) cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - { 325, -4 }, /* (322) cmd ::= INSERT INTO full_table_name query_or_subquery */ - { 328, -1 }, /* (323) literal ::= NK_INTEGER */ - { 328, -1 }, /* (324) literal ::= NK_FLOAT */ - { 328, -1 }, /* (325) literal ::= NK_STRING */ - { 328, -1 }, /* (326) literal ::= NK_BOOL */ - { 328, -2 }, /* (327) literal ::= TIMESTAMP NK_STRING */ - { 328, -1 }, /* (328) literal ::= duration_literal */ - { 328, -1 }, /* (329) literal ::= NULL */ - { 328, -1 }, /* (330) literal ::= NK_QUESTION */ - { 372, -1 }, /* (331) duration_literal ::= NK_VARIABLE */ - { 401, -1 }, /* (332) signed ::= NK_INTEGER */ - { 401, -2 }, /* (333) signed ::= NK_PLUS NK_INTEGER */ - { 401, -2 }, /* (334) signed ::= NK_MINUS NK_INTEGER */ - { 401, -1 }, /* (335) signed ::= NK_FLOAT */ - { 401, -2 }, /* (336) signed ::= NK_PLUS NK_FLOAT */ - { 401, -2 }, /* (337) signed ::= NK_MINUS NK_FLOAT */ - { 361, -1 }, /* (338) signed_literal ::= signed */ - { 361, -1 }, /* (339) signed_literal ::= NK_STRING */ - { 361, -1 }, /* (340) signed_literal ::= NK_BOOL */ - { 361, -2 }, /* (341) signed_literal ::= TIMESTAMP NK_STRING */ - { 361, -1 }, /* (342) signed_literal ::= duration_literal */ - { 361, -1 }, /* (343) signed_literal ::= NULL */ - { 361, -1 }, /* (344) signed_literal ::= literal_func */ - { 361, -1 }, /* (345) signed_literal ::= NK_QUESTION */ - { 403, -1 }, /* (346) literal_list ::= signed_literal */ - { 403, -3 }, /* (347) literal_list ::= literal_list NK_COMMA signed_literal */ - { 336, -1 }, /* (348) db_name ::= NK_ID */ - { 367, -1 }, /* (349) table_name ::= NK_ID */ - { 359, -1 }, /* (350) column_name ::= NK_ID */ - { 374, -1 }, /* (351) function_name ::= NK_ID */ - { 404, -1 }, /* (352) table_alias ::= NK_ID */ - { 382, -1 }, /* (353) column_alias ::= NK_ID */ - { 330, -1 }, /* (354) user_name ::= NK_ID */ - { 337, -1 }, /* (355) topic_name ::= NK_ID */ - { 395, -1 }, /* (356) stream_name ::= NK_ID */ - { 390, -1 }, /* (357) cgroup_name ::= NK_ID */ - { 405, -1 }, /* (358) expr_or_subquery ::= expression */ - { 398, -1 }, /* (359) expression ::= literal */ - { 398, -1 }, /* (360) expression ::= pseudo_column */ - { 398, -1 }, /* (361) expression ::= column_reference */ - { 398, -1 }, /* (362) expression ::= function_expression */ - { 398, -1 }, /* (363) expression ::= case_when_expression */ - { 398, -3 }, /* (364) expression ::= NK_LP expression NK_RP */ - { 398, -2 }, /* (365) expression ::= NK_PLUS expr_or_subquery */ - { 398, -2 }, /* (366) expression ::= NK_MINUS expr_or_subquery */ - { 398, -3 }, /* (367) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - { 398, -3 }, /* (368) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - { 398, -3 }, /* (369) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - { 398, -3 }, /* (370) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - { 398, -3 }, /* (371) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - { 398, -3 }, /* (372) expression ::= column_reference NK_ARROW NK_STRING */ - { 398, -3 }, /* (373) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - { 398, -3 }, /* (374) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - { 364, -1 }, /* (375) expression_list ::= expr_or_subquery */ - { 364, -3 }, /* (376) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - { 407, -1 }, /* (377) column_reference ::= column_name */ - { 407, -3 }, /* (378) column_reference ::= table_name NK_DOT column_name */ - { 406, -1 }, /* (379) pseudo_column ::= ROWTS */ - { 406, -1 }, /* (380) pseudo_column ::= TBNAME */ - { 406, -3 }, /* (381) pseudo_column ::= table_name NK_DOT TBNAME */ - { 406, -1 }, /* (382) pseudo_column ::= QSTART */ - { 406, -1 }, /* (383) pseudo_column ::= QEND */ - { 406, -1 }, /* (384) pseudo_column ::= QDURATION */ - { 406, -1 }, /* (385) pseudo_column ::= WSTART */ - { 406, -1 }, /* (386) pseudo_column ::= WEND */ - { 406, -1 }, /* (387) pseudo_column ::= WDURATION */ - { 406, -1 }, /* (388) pseudo_column ::= IROWTS */ - { 406, -1 }, /* (389) pseudo_column ::= ISFILLED */ - { 406, -1 }, /* (390) pseudo_column ::= QTAGS */ - { 408, -4 }, /* (391) function_expression ::= function_name NK_LP expression_list NK_RP */ - { 408, -4 }, /* (392) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - { 408, -6 }, /* (393) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - { 408, -1 }, /* (394) function_expression ::= literal_func */ - { 402, -3 }, /* (395) literal_func ::= noarg_func NK_LP NK_RP */ - { 402, -1 }, /* (396) literal_func ::= NOW */ - { 412, -1 }, /* (397) noarg_func ::= NOW */ - { 412, -1 }, /* (398) noarg_func ::= TODAY */ - { 412, -1 }, /* (399) noarg_func ::= TIMEZONE */ - { 412, -1 }, /* (400) noarg_func ::= DATABASE */ - { 412, -1 }, /* (401) noarg_func ::= CLIENT_VERSION */ - { 412, -1 }, /* (402) noarg_func ::= SERVER_VERSION */ - { 412, -1 }, /* (403) noarg_func ::= SERVER_STATUS */ - { 412, -1 }, /* (404) noarg_func ::= CURRENT_USER */ - { 412, -1 }, /* (405) noarg_func ::= USER */ - { 410, -1 }, /* (406) star_func ::= COUNT */ - { 410, -1 }, /* (407) star_func ::= FIRST */ - { 410, -1 }, /* (408) star_func ::= LAST */ - { 410, -1 }, /* (409) star_func ::= LAST_ROW */ - { 411, -1 }, /* (410) star_func_para_list ::= NK_STAR */ - { 411, -1 }, /* (411) star_func_para_list ::= other_para_list */ - { 413, -1 }, /* (412) other_para_list ::= star_func_para */ - { 413, -3 }, /* (413) other_para_list ::= other_para_list NK_COMMA star_func_para */ - { 414, -1 }, /* (414) star_func_para ::= expr_or_subquery */ - { 414, -3 }, /* (415) star_func_para ::= table_name NK_DOT NK_STAR */ - { 409, -4 }, /* (416) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - { 409, -5 }, /* (417) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - { 415, -1 }, /* (418) when_then_list ::= when_then_expr */ - { 415, -2 }, /* (419) when_then_list ::= when_then_list when_then_expr */ - { 418, -4 }, /* (420) when_then_expr ::= WHEN common_expression THEN common_expression */ - { 416, 0 }, /* (421) case_when_else_opt ::= */ - { 416, -2 }, /* (422) case_when_else_opt ::= ELSE common_expression */ - { 419, -3 }, /* (423) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - { 419, -5 }, /* (424) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - { 419, -6 }, /* (425) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - { 419, -3 }, /* (426) predicate ::= expr_or_subquery IS NULL */ - { 419, -4 }, /* (427) predicate ::= expr_or_subquery IS NOT NULL */ - { 419, -3 }, /* (428) predicate ::= expr_or_subquery in_op in_predicate_value */ - { 420, -1 }, /* (429) compare_op ::= NK_LT */ - { 420, -1 }, /* (430) compare_op ::= NK_GT */ - { 420, -1 }, /* (431) compare_op ::= NK_LE */ - { 420, -1 }, /* (432) compare_op ::= NK_GE */ - { 420, -1 }, /* (433) compare_op ::= NK_NE */ - { 420, -1 }, /* (434) compare_op ::= NK_EQ */ - { 420, -1 }, /* (435) compare_op ::= LIKE */ - { 420, -2 }, /* (436) compare_op ::= NOT LIKE */ - { 420, -1 }, /* (437) compare_op ::= MATCH */ - { 420, -1 }, /* (438) compare_op ::= NMATCH */ - { 420, -1 }, /* (439) compare_op ::= CONTAINS */ - { 421, -1 }, /* (440) in_op ::= IN */ - { 421, -2 }, /* (441) in_op ::= NOT IN */ - { 422, -3 }, /* (442) in_predicate_value ::= NK_LP literal_list NK_RP */ - { 423, -1 }, /* (443) boolean_value_expression ::= boolean_primary */ - { 423, -2 }, /* (444) boolean_value_expression ::= NOT boolean_primary */ - { 423, -3 }, /* (445) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - { 423, -3 }, /* (446) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - { 424, -1 }, /* (447) boolean_primary ::= predicate */ - { 424, -3 }, /* (448) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - { 417, -1 }, /* (449) common_expression ::= expr_or_subquery */ - { 417, -1 }, /* (450) common_expression ::= boolean_value_expression */ - { 425, 0 }, /* (451) from_clause_opt ::= */ - { 425, -2 }, /* (452) from_clause_opt ::= FROM table_reference_list */ - { 426, -1 }, /* (453) table_reference_list ::= table_reference */ - { 426, -3 }, /* (454) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - { 427, -1 }, /* (455) table_reference ::= table_primary */ - { 427, -1 }, /* (456) table_reference ::= joined_table */ - { 428, -2 }, /* (457) table_primary ::= table_name alias_opt */ - { 428, -4 }, /* (458) table_primary ::= db_name NK_DOT table_name alias_opt */ - { 428, -2 }, /* (459) table_primary ::= subquery alias_opt */ - { 428, -1 }, /* (460) table_primary ::= parenthesized_joined_table */ - { 430, 0 }, /* (461) alias_opt ::= */ - { 430, -1 }, /* (462) alias_opt ::= table_alias */ - { 430, -2 }, /* (463) alias_opt ::= AS table_alias */ - { 432, -3 }, /* (464) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - { 432, -3 }, /* (465) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - { 429, -6 }, /* (466) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - { 433, 0 }, /* (467) join_type ::= */ - { 433, -1 }, /* (468) join_type ::= INNER */ - { 435, -12 }, /* (469) 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 */ - { 436, 0 }, /* (470) set_quantifier_opt ::= */ - { 436, -1 }, /* (471) set_quantifier_opt ::= DISTINCT */ - { 436, -1 }, /* (472) set_quantifier_opt ::= ALL */ - { 437, -1 }, /* (473) select_list ::= select_item */ - { 437, -3 }, /* (474) select_list ::= select_list NK_COMMA select_item */ - { 445, -1 }, /* (475) select_item ::= NK_STAR */ - { 445, -1 }, /* (476) select_item ::= common_expression */ - { 445, -2 }, /* (477) select_item ::= common_expression column_alias */ - { 445, -3 }, /* (478) select_item ::= common_expression AS column_alias */ - { 445, -3 }, /* (479) select_item ::= table_name NK_DOT NK_STAR */ - { 400, 0 }, /* (480) where_clause_opt ::= */ - { 400, -2 }, /* (481) where_clause_opt ::= WHERE search_condition */ - { 438, 0 }, /* (482) partition_by_clause_opt ::= */ - { 438, -3 }, /* (483) partition_by_clause_opt ::= PARTITION BY partition_list */ - { 446, -1 }, /* (484) partition_list ::= partition_item */ - { 446, -3 }, /* (485) partition_list ::= partition_list NK_COMMA partition_item */ - { 447, -1 }, /* (486) partition_item ::= expr_or_subquery */ - { 447, -2 }, /* (487) partition_item ::= expr_or_subquery column_alias */ - { 447, -3 }, /* (488) partition_item ::= expr_or_subquery AS column_alias */ - { 442, 0 }, /* (489) twindow_clause_opt ::= */ - { 442, -6 }, /* (490) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - { 442, -4 }, /* (491) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - { 442, -6 }, /* (492) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - { 442, -8 }, /* (493) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - { 442, -7 }, /* (494) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - { 385, 0 }, /* (495) sliding_opt ::= */ - { 385, -4 }, /* (496) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - { 441, 0 }, /* (497) fill_opt ::= */ - { 441, -4 }, /* (498) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - { 441, -6 }, /* (499) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ - { 448, -1 }, /* (500) fill_mode ::= NONE */ - { 448, -1 }, /* (501) fill_mode ::= PREV */ - { 448, -1 }, /* (502) fill_mode ::= NULL */ - { 448, -1 }, /* (503) fill_mode ::= LINEAR */ - { 448, -1 }, /* (504) fill_mode ::= NEXT */ - { 443, 0 }, /* (505) group_by_clause_opt ::= */ - { 443, -3 }, /* (506) group_by_clause_opt ::= GROUP BY group_by_list */ - { 449, -1 }, /* (507) group_by_list ::= expr_or_subquery */ - { 449, -3 }, /* (508) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - { 444, 0 }, /* (509) having_clause_opt ::= */ - { 444, -2 }, /* (510) having_clause_opt ::= HAVING search_condition */ - { 439, 0 }, /* (511) range_opt ::= */ - { 439, -6 }, /* (512) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - { 440, 0 }, /* (513) every_opt ::= */ - { 440, -4 }, /* (514) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - { 450, -4 }, /* (515) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - { 451, -1 }, /* (516) query_simple ::= query_specification */ - { 451, -1 }, /* (517) query_simple ::= union_query_expression */ - { 455, -4 }, /* (518) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - { 455, -3 }, /* (519) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - { 456, -1 }, /* (520) query_simple_or_subquery ::= query_simple */ - { 456, -1 }, /* (521) query_simple_or_subquery ::= subquery */ - { 389, -1 }, /* (522) query_or_subquery ::= query_expression */ - { 389, -1 }, /* (523) query_or_subquery ::= subquery */ - { 452, 0 }, /* (524) order_by_clause_opt ::= */ - { 452, -3 }, /* (525) order_by_clause_opt ::= ORDER BY sort_specification_list */ - { 453, 0 }, /* (526) slimit_clause_opt ::= */ - { 453, -2 }, /* (527) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - { 453, -4 }, /* (528) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - { 453, -4 }, /* (529) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 454, 0 }, /* (530) limit_clause_opt ::= */ - { 454, -2 }, /* (531) limit_clause_opt ::= LIMIT NK_INTEGER */ - { 454, -4 }, /* (532) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - { 454, -4 }, /* (533) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 431, -3 }, /* (534) subquery ::= NK_LP query_expression NK_RP */ - { 431, -3 }, /* (535) subquery ::= NK_LP subquery NK_RP */ - { 434, -1 }, /* (536) search_condition ::= common_expression */ - { 457, -1 }, /* (537) sort_specification_list ::= sort_specification */ - { 457, -3 }, /* (538) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - { 458, -3 }, /* (539) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - { 459, 0 }, /* (540) ordering_specification_opt ::= */ - { 459, -1 }, /* (541) ordering_specification_opt ::= ASC */ - { 459, -1 }, /* (542) ordering_specification_opt ::= DESC */ - { 460, 0 }, /* (543) null_ordering_opt ::= */ - { 460, -2 }, /* (544) null_ordering_opt ::= NULLS FIRST */ - { 460, -2 }, /* (545) null_ordering_opt ::= NULLS LAST */ + { 397, 0 }, /* (301) col_list_opt ::= */ + { 397, -3 }, /* (302) col_list_opt ::= NK_LP col_name_list NK_RP */ + { 396, 0 }, /* (303) stream_options ::= */ + { 396, -3 }, /* (304) stream_options ::= stream_options TRIGGER AT_ONCE */ + { 396, -3 }, /* (305) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + { 396, -4 }, /* (306) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + { 396, -3 }, /* (307) stream_options ::= stream_options WATERMARK duration_literal */ + { 396, -4 }, /* (308) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + { 396, -3 }, /* (309) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + { 398, 0 }, /* (310) subtable_opt ::= */ + { 398, -4 }, /* (311) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + { 325, -3 }, /* (312) cmd ::= KILL CONNECTION NK_INTEGER */ + { 325, -3 }, /* (313) cmd ::= KILL QUERY NK_STRING */ + { 325, -3 }, /* (314) cmd ::= KILL TRANSACTION NK_INTEGER */ + { 325, -2 }, /* (315) cmd ::= BALANCE VGROUP */ + { 325, -4 }, /* (316) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + { 325, -4 }, /* (317) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + { 325, -3 }, /* (318) cmd ::= SPLIT VGROUP NK_INTEGER */ + { 400, -2 }, /* (319) dnode_list ::= DNODE NK_INTEGER */ + { 400, -3 }, /* (320) dnode_list ::= dnode_list DNODE NK_INTEGER */ + { 325, -4 }, /* (321) cmd ::= DELETE FROM full_table_name where_clause_opt */ + { 325, -1 }, /* (322) cmd ::= query_or_subquery */ + { 325, -7 }, /* (323) cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + { 325, -4 }, /* (324) cmd ::= INSERT INTO full_table_name query_or_subquery */ + { 328, -1 }, /* (325) literal ::= NK_INTEGER */ + { 328, -1 }, /* (326) literal ::= NK_FLOAT */ + { 328, -1 }, /* (327) literal ::= NK_STRING */ + { 328, -1 }, /* (328) literal ::= NK_BOOL */ + { 328, -2 }, /* (329) literal ::= TIMESTAMP NK_STRING */ + { 328, -1 }, /* (330) literal ::= duration_literal */ + { 328, -1 }, /* (331) literal ::= NULL */ + { 328, -1 }, /* (332) literal ::= NK_QUESTION */ + { 372, -1 }, /* (333) duration_literal ::= NK_VARIABLE */ + { 402, -1 }, /* (334) signed ::= NK_INTEGER */ + { 402, -2 }, /* (335) signed ::= NK_PLUS NK_INTEGER */ + { 402, -2 }, /* (336) signed ::= NK_MINUS NK_INTEGER */ + { 402, -1 }, /* (337) signed ::= NK_FLOAT */ + { 402, -2 }, /* (338) signed ::= NK_PLUS NK_FLOAT */ + { 402, -2 }, /* (339) signed ::= NK_MINUS NK_FLOAT */ + { 361, -1 }, /* (340) signed_literal ::= signed */ + { 361, -1 }, /* (341) signed_literal ::= NK_STRING */ + { 361, -1 }, /* (342) signed_literal ::= NK_BOOL */ + { 361, -2 }, /* (343) signed_literal ::= TIMESTAMP NK_STRING */ + { 361, -1 }, /* (344) signed_literal ::= duration_literal */ + { 361, -1 }, /* (345) signed_literal ::= NULL */ + { 361, -1 }, /* (346) signed_literal ::= literal_func */ + { 361, -1 }, /* (347) signed_literal ::= NK_QUESTION */ + { 404, -1 }, /* (348) literal_list ::= signed_literal */ + { 404, -3 }, /* (349) literal_list ::= literal_list NK_COMMA signed_literal */ + { 336, -1 }, /* (350) db_name ::= NK_ID */ + { 367, -1 }, /* (351) table_name ::= NK_ID */ + { 359, -1 }, /* (352) column_name ::= NK_ID */ + { 374, -1 }, /* (353) function_name ::= NK_ID */ + { 405, -1 }, /* (354) table_alias ::= NK_ID */ + { 382, -1 }, /* (355) column_alias ::= NK_ID */ + { 330, -1 }, /* (356) user_name ::= NK_ID */ + { 337, -1 }, /* (357) topic_name ::= NK_ID */ + { 395, -1 }, /* (358) stream_name ::= NK_ID */ + { 390, -1 }, /* (359) cgroup_name ::= NK_ID */ + { 406, -1 }, /* (360) expr_or_subquery ::= expression */ + { 399, -1 }, /* (361) expression ::= literal */ + { 399, -1 }, /* (362) expression ::= pseudo_column */ + { 399, -1 }, /* (363) expression ::= column_reference */ + { 399, -1 }, /* (364) expression ::= function_expression */ + { 399, -1 }, /* (365) expression ::= case_when_expression */ + { 399, -3 }, /* (366) expression ::= NK_LP expression NK_RP */ + { 399, -2 }, /* (367) expression ::= NK_PLUS expr_or_subquery */ + { 399, -2 }, /* (368) expression ::= NK_MINUS expr_or_subquery */ + { 399, -3 }, /* (369) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + { 399, -3 }, /* (370) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + { 399, -3 }, /* (371) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + { 399, -3 }, /* (372) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + { 399, -3 }, /* (373) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + { 399, -3 }, /* (374) expression ::= column_reference NK_ARROW NK_STRING */ + { 399, -3 }, /* (375) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + { 399, -3 }, /* (376) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + { 364, -1 }, /* (377) expression_list ::= expr_or_subquery */ + { 364, -3 }, /* (378) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + { 408, -1 }, /* (379) column_reference ::= column_name */ + { 408, -3 }, /* (380) column_reference ::= table_name NK_DOT column_name */ + { 407, -1 }, /* (381) pseudo_column ::= ROWTS */ + { 407, -1 }, /* (382) pseudo_column ::= TBNAME */ + { 407, -3 }, /* (383) pseudo_column ::= table_name NK_DOT TBNAME */ + { 407, -1 }, /* (384) pseudo_column ::= QSTART */ + { 407, -1 }, /* (385) pseudo_column ::= QEND */ + { 407, -1 }, /* (386) pseudo_column ::= QDURATION */ + { 407, -1 }, /* (387) pseudo_column ::= WSTART */ + { 407, -1 }, /* (388) pseudo_column ::= WEND */ + { 407, -1 }, /* (389) pseudo_column ::= WDURATION */ + { 407, -1 }, /* (390) pseudo_column ::= IROWTS */ + { 407, -1 }, /* (391) pseudo_column ::= ISFILLED */ + { 407, -1 }, /* (392) pseudo_column ::= QTAGS */ + { 409, -4 }, /* (393) function_expression ::= function_name NK_LP expression_list NK_RP */ + { 409, -4 }, /* (394) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + { 409, -6 }, /* (395) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + { 409, -1 }, /* (396) function_expression ::= literal_func */ + { 403, -3 }, /* (397) literal_func ::= noarg_func NK_LP NK_RP */ + { 403, -1 }, /* (398) literal_func ::= NOW */ + { 413, -1 }, /* (399) noarg_func ::= NOW */ + { 413, -1 }, /* (400) noarg_func ::= TODAY */ + { 413, -1 }, /* (401) noarg_func ::= TIMEZONE */ + { 413, -1 }, /* (402) noarg_func ::= DATABASE */ + { 413, -1 }, /* (403) noarg_func ::= CLIENT_VERSION */ + { 413, -1 }, /* (404) noarg_func ::= SERVER_VERSION */ + { 413, -1 }, /* (405) noarg_func ::= SERVER_STATUS */ + { 413, -1 }, /* (406) noarg_func ::= CURRENT_USER */ + { 413, -1 }, /* (407) noarg_func ::= USER */ + { 411, -1 }, /* (408) star_func ::= COUNT */ + { 411, -1 }, /* (409) star_func ::= FIRST */ + { 411, -1 }, /* (410) star_func ::= LAST */ + { 411, -1 }, /* (411) star_func ::= LAST_ROW */ + { 412, -1 }, /* (412) star_func_para_list ::= NK_STAR */ + { 412, -1 }, /* (413) star_func_para_list ::= other_para_list */ + { 414, -1 }, /* (414) other_para_list ::= star_func_para */ + { 414, -3 }, /* (415) other_para_list ::= other_para_list NK_COMMA star_func_para */ + { 415, -1 }, /* (416) star_func_para ::= expr_or_subquery */ + { 415, -3 }, /* (417) star_func_para ::= table_name NK_DOT NK_STAR */ + { 410, -4 }, /* (418) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + { 410, -5 }, /* (419) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + { 416, -1 }, /* (420) when_then_list ::= when_then_expr */ + { 416, -2 }, /* (421) when_then_list ::= when_then_list when_then_expr */ + { 419, -4 }, /* (422) when_then_expr ::= WHEN common_expression THEN common_expression */ + { 417, 0 }, /* (423) case_when_else_opt ::= */ + { 417, -2 }, /* (424) case_when_else_opt ::= ELSE common_expression */ + { 420, -3 }, /* (425) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + { 420, -5 }, /* (426) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + { 420, -6 }, /* (427) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + { 420, -3 }, /* (428) predicate ::= expr_or_subquery IS NULL */ + { 420, -4 }, /* (429) predicate ::= expr_or_subquery IS NOT NULL */ + { 420, -3 }, /* (430) predicate ::= expr_or_subquery in_op in_predicate_value */ + { 421, -1 }, /* (431) compare_op ::= NK_LT */ + { 421, -1 }, /* (432) compare_op ::= NK_GT */ + { 421, -1 }, /* (433) compare_op ::= NK_LE */ + { 421, -1 }, /* (434) compare_op ::= NK_GE */ + { 421, -1 }, /* (435) compare_op ::= NK_NE */ + { 421, -1 }, /* (436) compare_op ::= NK_EQ */ + { 421, -1 }, /* (437) compare_op ::= LIKE */ + { 421, -2 }, /* (438) compare_op ::= NOT LIKE */ + { 421, -1 }, /* (439) compare_op ::= MATCH */ + { 421, -1 }, /* (440) compare_op ::= NMATCH */ + { 421, -1 }, /* (441) compare_op ::= CONTAINS */ + { 422, -1 }, /* (442) in_op ::= IN */ + { 422, -2 }, /* (443) in_op ::= NOT IN */ + { 423, -3 }, /* (444) in_predicate_value ::= NK_LP literal_list NK_RP */ + { 424, -1 }, /* (445) boolean_value_expression ::= boolean_primary */ + { 424, -2 }, /* (446) boolean_value_expression ::= NOT boolean_primary */ + { 424, -3 }, /* (447) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + { 424, -3 }, /* (448) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + { 425, -1 }, /* (449) boolean_primary ::= predicate */ + { 425, -3 }, /* (450) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + { 418, -1 }, /* (451) common_expression ::= expr_or_subquery */ + { 418, -1 }, /* (452) common_expression ::= boolean_value_expression */ + { 426, 0 }, /* (453) from_clause_opt ::= */ + { 426, -2 }, /* (454) from_clause_opt ::= FROM table_reference_list */ + { 427, -1 }, /* (455) table_reference_list ::= table_reference */ + { 427, -3 }, /* (456) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + { 428, -1 }, /* (457) table_reference ::= table_primary */ + { 428, -1 }, /* (458) table_reference ::= joined_table */ + { 429, -2 }, /* (459) table_primary ::= table_name alias_opt */ + { 429, -4 }, /* (460) table_primary ::= db_name NK_DOT table_name alias_opt */ + { 429, -2 }, /* (461) table_primary ::= subquery alias_opt */ + { 429, -1 }, /* (462) table_primary ::= parenthesized_joined_table */ + { 431, 0 }, /* (463) alias_opt ::= */ + { 431, -1 }, /* (464) alias_opt ::= table_alias */ + { 431, -2 }, /* (465) alias_opt ::= AS table_alias */ + { 433, -3 }, /* (466) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + { 433, -3 }, /* (467) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + { 430, -6 }, /* (468) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + { 434, 0 }, /* (469) join_type ::= */ + { 434, -1 }, /* (470) join_type ::= INNER */ + { 436, -12 }, /* (471) 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 */ + { 437, 0 }, /* (472) set_quantifier_opt ::= */ + { 437, -1 }, /* (473) set_quantifier_opt ::= DISTINCT */ + { 437, -1 }, /* (474) set_quantifier_opt ::= ALL */ + { 438, -1 }, /* (475) select_list ::= select_item */ + { 438, -3 }, /* (476) select_list ::= select_list NK_COMMA select_item */ + { 446, -1 }, /* (477) select_item ::= NK_STAR */ + { 446, -1 }, /* (478) select_item ::= common_expression */ + { 446, -2 }, /* (479) select_item ::= common_expression column_alias */ + { 446, -3 }, /* (480) select_item ::= common_expression AS column_alias */ + { 446, -3 }, /* (481) select_item ::= table_name NK_DOT NK_STAR */ + { 401, 0 }, /* (482) where_clause_opt ::= */ + { 401, -2 }, /* (483) where_clause_opt ::= WHERE search_condition */ + { 439, 0 }, /* (484) partition_by_clause_opt ::= */ + { 439, -3 }, /* (485) partition_by_clause_opt ::= PARTITION BY partition_list */ + { 447, -1 }, /* (486) partition_list ::= partition_item */ + { 447, -3 }, /* (487) partition_list ::= partition_list NK_COMMA partition_item */ + { 448, -1 }, /* (488) partition_item ::= expr_or_subquery */ + { 448, -2 }, /* (489) partition_item ::= expr_or_subquery column_alias */ + { 448, -3 }, /* (490) partition_item ::= expr_or_subquery AS column_alias */ + { 443, 0 }, /* (491) twindow_clause_opt ::= */ + { 443, -6 }, /* (492) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + { 443, -4 }, /* (493) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + { 443, -6 }, /* (494) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + { 443, -8 }, /* (495) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + { 443, -7 }, /* (496) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + { 385, 0 }, /* (497) sliding_opt ::= */ + { 385, -4 }, /* (498) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + { 442, 0 }, /* (499) fill_opt ::= */ + { 442, -4 }, /* (500) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + { 442, -6 }, /* (501) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + { 449, -1 }, /* (502) fill_mode ::= NONE */ + { 449, -1 }, /* (503) fill_mode ::= PREV */ + { 449, -1 }, /* (504) fill_mode ::= NULL */ + { 449, -1 }, /* (505) fill_mode ::= LINEAR */ + { 449, -1 }, /* (506) fill_mode ::= NEXT */ + { 444, 0 }, /* (507) group_by_clause_opt ::= */ + { 444, -3 }, /* (508) group_by_clause_opt ::= GROUP BY group_by_list */ + { 450, -1 }, /* (509) group_by_list ::= expr_or_subquery */ + { 450, -3 }, /* (510) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + { 445, 0 }, /* (511) having_clause_opt ::= */ + { 445, -2 }, /* (512) having_clause_opt ::= HAVING search_condition */ + { 440, 0 }, /* (513) range_opt ::= */ + { 440, -6 }, /* (514) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + { 441, 0 }, /* (515) every_opt ::= */ + { 441, -4 }, /* (516) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + { 451, -4 }, /* (517) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + { 452, -1 }, /* (518) query_simple ::= query_specification */ + { 452, -1 }, /* (519) query_simple ::= union_query_expression */ + { 456, -4 }, /* (520) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + { 456, -3 }, /* (521) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + { 457, -1 }, /* (522) query_simple_or_subquery ::= query_simple */ + { 457, -1 }, /* (523) query_simple_or_subquery ::= subquery */ + { 389, -1 }, /* (524) query_or_subquery ::= query_expression */ + { 389, -1 }, /* (525) query_or_subquery ::= subquery */ + { 453, 0 }, /* (526) order_by_clause_opt ::= */ + { 453, -3 }, /* (527) order_by_clause_opt ::= ORDER BY sort_specification_list */ + { 454, 0 }, /* (528) slimit_clause_opt ::= */ + { 454, -2 }, /* (529) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + { 454, -4 }, /* (530) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + { 454, -4 }, /* (531) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 455, 0 }, /* (532) limit_clause_opt ::= */ + { 455, -2 }, /* (533) limit_clause_opt ::= LIMIT NK_INTEGER */ + { 455, -4 }, /* (534) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + { 455, -4 }, /* (535) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 432, -3 }, /* (536) subquery ::= NK_LP query_expression NK_RP */ + { 432, -3 }, /* (537) subquery ::= NK_LP subquery NK_RP */ + { 435, -1 }, /* (538) search_condition ::= common_expression */ + { 458, -1 }, /* (539) sort_specification_list ::= sort_specification */ + { 458, -3 }, /* (540) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + { 459, -3 }, /* (541) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + { 460, 0 }, /* (542) ordering_specification_opt ::= */ + { 460, -1 }, /* (543) ordering_specification_opt ::= ASC */ + { 460, -1 }, /* (544) ordering_specification_opt ::= DESC */ + { 461, 0 }, /* (545) null_ordering_opt ::= */ + { 461, -2 }, /* (546) null_ordering_opt ::= NULLS FIRST */ + { 461, -2 }, /* (547) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -3761,78 +3743,78 @@ static YYACTIONTYPE yy_reduce( yy_destructor(yypParser,328,&yymsp[0].minor); break; case 24: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ -{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy77, &yymsp[-1].minor.yy0, yymsp[0].minor.yy287); } +{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy701, &yymsp[-1].minor.yy0, yymsp[0].minor.yy47); } break; case 25: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy77, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy701, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } break; case 26: /* cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy77, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy701, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } break; case 27: /* cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy77, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy701, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } break; case 28: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy701); } break; case 29: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy287 = 1; } +{ yymsp[1].minor.yy47 = 1; } break; case 30: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy287 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy47 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } break; case 31: /* cmd ::= GRANT privileges ON priv_level TO user_name */ -{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy717, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy921, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy701); } break; case 32: /* cmd ::= REVOKE privileges ON priv_level FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy717, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy921, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy701); } break; case 33: /* privileges ::= ALL */ -{ yymsp[0].minor.yy717 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy921 = PRIVILEGE_TYPE_ALL; } break; case 34: /* privileges ::= priv_type_list */ case 36: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==36); -{ yylhsminor.yy717 = yymsp[0].minor.yy717; } - yymsp[0].minor.yy717 = yylhsminor.yy717; +{ yylhsminor.yy921 = yymsp[0].minor.yy921; } + yymsp[0].minor.yy921 = yylhsminor.yy921; break; case 35: /* privileges ::= SUBSCRIBE */ -{ yymsp[0].minor.yy717 = PRIVILEGE_TYPE_SUBSCRIBE; } +{ yymsp[0].minor.yy921 = PRIVILEGE_TYPE_SUBSCRIBE; } break; case 37: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy717 = yymsp[-2].minor.yy717 | yymsp[0].minor.yy717; } - yymsp[-2].minor.yy717 = yylhsminor.yy717; +{ yylhsminor.yy921 = yymsp[-2].minor.yy921 | yymsp[0].minor.yy921; } + yymsp[-2].minor.yy921 = yylhsminor.yy921; break; case 38: /* priv_type ::= READ */ -{ yymsp[0].minor.yy717 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy921 = PRIVILEGE_TYPE_READ; } break; case 39: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy717 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy921 = PRIVILEGE_TYPE_WRITE; } break; case 40: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy77 = yymsp[-2].minor.yy0; } - yymsp[-2].minor.yy77 = yylhsminor.yy77; +{ yylhsminor.yy701 = yymsp[-2].minor.yy0; } + yymsp[-2].minor.yy701 = yylhsminor.yy701; break; case 41: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy77 = yymsp[-2].minor.yy77; } - yymsp[-2].minor.yy77 = yylhsminor.yy77; +{ yylhsminor.yy701 = yymsp[-2].minor.yy701; } + yymsp[-2].minor.yy701 = yylhsminor.yy701; break; case 42: /* priv_level ::= topic_name */ case 268: /* sma_func_name ::= function_name */ yytestcase(yyruleno==268); - case 462: /* alias_opt ::= table_alias */ yytestcase(yyruleno==462); -{ yylhsminor.yy77 = yymsp[0].minor.yy77; } - yymsp[0].minor.yy77 = yylhsminor.yy77; + case 464: /* alias_opt ::= table_alias */ yytestcase(yyruleno==464); +{ yylhsminor.yy701 = yymsp[0].minor.yy701; } + yymsp[0].minor.yy701 = yylhsminor.yy701; break; case 43: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy77, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy701, NULL); } break; case 44: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy0); } break; case 45: /* cmd ::= DROP DNODE NK_INTEGER force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy841); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy845); } break; case 46: /* cmd ::= DROP DNODE dnode_endpoint force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy77, yymsp[0].minor.yy841); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy701, yymsp[0].minor.yy845); } break; case 47: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -3853,45 +3835,45 @@ static YYACTIONTYPE yy_reduce( case 270: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==270); case 271: /* sma_func_name ::= LAST */ yytestcase(yyruleno==271); case 272: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==272); - case 348: /* db_name ::= NK_ID */ yytestcase(yyruleno==348); - case 349: /* table_name ::= NK_ID */ yytestcase(yyruleno==349); - case 350: /* column_name ::= NK_ID */ yytestcase(yyruleno==350); - case 351: /* function_name ::= NK_ID */ yytestcase(yyruleno==351); - case 352: /* table_alias ::= NK_ID */ yytestcase(yyruleno==352); - case 353: /* column_alias ::= NK_ID */ yytestcase(yyruleno==353); - case 354: /* user_name ::= NK_ID */ yytestcase(yyruleno==354); - case 355: /* topic_name ::= NK_ID */ yytestcase(yyruleno==355); - case 356: /* stream_name ::= NK_ID */ yytestcase(yyruleno==356); - case 357: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==357); - case 397: /* noarg_func ::= NOW */ yytestcase(yyruleno==397); - case 398: /* noarg_func ::= TODAY */ yytestcase(yyruleno==398); - case 399: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==399); - case 400: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==400); - case 401: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==401); - case 402: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==402); - case 403: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==403); - case 404: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==404); - case 405: /* noarg_func ::= USER */ yytestcase(yyruleno==405); - case 406: /* star_func ::= COUNT */ yytestcase(yyruleno==406); - case 407: /* star_func ::= FIRST */ yytestcase(yyruleno==407); - case 408: /* star_func ::= LAST */ yytestcase(yyruleno==408); - case 409: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==409); -{ yylhsminor.yy77 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy77 = yylhsminor.yy77; + case 350: /* db_name ::= NK_ID */ yytestcase(yyruleno==350); + case 351: /* table_name ::= NK_ID */ yytestcase(yyruleno==351); + case 352: /* column_name ::= NK_ID */ yytestcase(yyruleno==352); + case 353: /* function_name ::= NK_ID */ yytestcase(yyruleno==353); + case 354: /* table_alias ::= NK_ID */ yytestcase(yyruleno==354); + case 355: /* column_alias ::= NK_ID */ yytestcase(yyruleno==355); + case 356: /* user_name ::= NK_ID */ yytestcase(yyruleno==356); + case 357: /* topic_name ::= NK_ID */ yytestcase(yyruleno==357); + case 358: /* stream_name ::= NK_ID */ yytestcase(yyruleno==358); + case 359: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==359); + case 399: /* noarg_func ::= NOW */ yytestcase(yyruleno==399); + case 400: /* noarg_func ::= TODAY */ yytestcase(yyruleno==400); + case 401: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==401); + case 402: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==402); + case 403: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==403); + case 404: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==404); + case 405: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==405); + case 406: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==406); + case 407: /* noarg_func ::= USER */ yytestcase(yyruleno==407); + case 408: /* star_func ::= COUNT */ yytestcase(yyruleno==408); + case 409: /* star_func ::= FIRST */ yytestcase(yyruleno==409); + case 410: /* star_func ::= LAST */ yytestcase(yyruleno==410); + case 411: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==411); +{ yylhsminor.yy701 = yymsp[0].minor.yy0; } + yymsp[0].minor.yy701 = yylhsminor.yy701; break; case 54: /* force_opt ::= */ case 73: /* not_exists_opt ::= */ yytestcase(yyruleno==73); case 75: /* exists_opt ::= */ yytestcase(yyruleno==75); case 288: /* analyze_opt ::= */ yytestcase(yyruleno==288); case 295: /* agg_func_opt ::= */ yytestcase(yyruleno==295); - case 470: /* set_quantifier_opt ::= */ yytestcase(yyruleno==470); -{ yymsp[1].minor.yy841 = false; } + case 472: /* set_quantifier_opt ::= */ yytestcase(yyruleno==472); +{ yymsp[1].minor.yy845 = false; } break; case 55: /* force_opt ::= FORCE */ case 289: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==289); case 296: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==296); - case 471: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==471); -{ yymsp[0].minor.yy841 = true; } + case 473: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==473); +{ yymsp[0].minor.yy845 = true; } break; case 56: /* cmd ::= ALTER LOCAL NK_STRING */ { pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -3924,206 +3906,206 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createDropComponentNodeStmt(pCxt, QUERY_NODE_DROP_MNODE_STMT, &yymsp[0].minor.yy0); } break; case 66: /* cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ -{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy841, &yymsp[-1].minor.yy77, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy845, &yymsp[-1].minor.yy701, yymsp[0].minor.yy476); } break; case 67: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy841, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy845, &yymsp[0].minor.yy701); } break; case 68: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy701); } break; case 69: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy77, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy701, yymsp[0].minor.yy476); } break; case 70: /* cmd ::= FLUSH DATABASE db_name */ -{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy701); } break; case 71: /* cmd ::= TRIM DATABASE db_name speed_opt */ -{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy77, yymsp[0].minor.yy248); } +{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy701, yymsp[0].minor.yy508); } break; case 72: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy841 = true; } +{ yymsp[-2].minor.yy845 = true; } break; case 74: /* exists_opt ::= IF EXISTS */ -{ yymsp[-1].minor.yy841 = true; } +{ yymsp[-1].minor.yy845 = true; } break; case 76: /* db_options ::= */ -{ yymsp[1].minor.yy600 = createDefaultDatabaseOptions(pCxt); } +{ yymsp[1].minor.yy476 = createDefaultDatabaseOptions(pCxt); } break; case 77: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 78: /* db_options ::= db_options CACHEMODEL NK_STRING */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 79: /* db_options ::= db_options CACHESIZE NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 80: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 81: /* db_options ::= db_options DURATION NK_INTEGER */ case 82: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==82); -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 83: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 84: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 85: /* db_options ::= db_options KEEP integer_list */ case 86: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==86); -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_KEEP, yymsp[0].minor.yy601); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_KEEP, yymsp[0].minor.yy376); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 87: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 88: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 89: /* db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 90: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 91: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 92: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 93: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 94: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_RETENTIONS, yymsp[0].minor.yy601); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_RETENTIONS, yymsp[0].minor.yy376); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 95: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 96: /* db_options ::= db_options WAL_LEVEL NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 97: /* db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 98: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 99: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-3].minor.yy600, DB_OPTION_WAL_RETENTION_PERIOD, &t); + yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-3].minor.yy476, DB_OPTION_WAL_RETENTION_PERIOD, &t); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; case 100: /* db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 101: /* db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-3].minor.yy600, DB_OPTION_WAL_RETENTION_SIZE, &t); + yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-3].minor.yy476, DB_OPTION_WAL_RETENTION_SIZE, &t); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; case 102: /* db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 103: /* db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 104: /* db_options ::= db_options STT_TRIGGER NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 105: /* db_options ::= db_options TABLE_PREFIX NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_TABLE_PREFIX, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_TABLE_PREFIX, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 106: /* db_options ::= db_options TABLE_SUFFIX NK_INTEGER */ -{ yylhsminor.yy600 = setDatabaseOption(pCxt, yymsp[-2].minor.yy600, DB_OPTION_TABLE_SUFFIX, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setDatabaseOption(pCxt, yymsp[-2].minor.yy476, DB_OPTION_TABLE_SUFFIX, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 107: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy600 = createAlterDatabaseOptions(pCxt); yylhsminor.yy600 = setAlterDatabaseOption(pCxt, yylhsminor.yy600, &yymsp[0].minor.yy661); } - yymsp[0].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterDatabaseOptions(pCxt); yylhsminor.yy476 = setAlterDatabaseOption(pCxt, yylhsminor.yy476, &yymsp[0].minor.yy893); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; case 108: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy600 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy600, &yymsp[0].minor.yy661); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy476, &yymsp[0].minor.yy893); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; case 109: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy661.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 110: /* alter_db_option ::= CACHEMODEL NK_STRING */ -{ yymsp[-1].minor.yy661.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 111: /* alter_db_option ::= CACHESIZE NK_INTEGER */ -{ yymsp[-1].minor.yy661.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 112: /* alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy661.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 113: /* alter_db_option ::= KEEP integer_list */ case 114: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==114); -{ yymsp[-1].minor.yy661.type = DB_OPTION_KEEP; yymsp[-1].minor.yy661.pList = yymsp[0].minor.yy601; } +{ yymsp[-1].minor.yy893.type = DB_OPTION_KEEP; yymsp[-1].minor.yy893.pList = yymsp[0].minor.yy376; } break; case 115: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy661.type = DB_OPTION_PAGES; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = DB_OPTION_PAGES; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 116: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy661.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 117: /* alter_db_option ::= WAL_LEVEL NK_INTEGER */ -{ yymsp[-1].minor.yy661.type = DB_OPTION_WAL; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = DB_OPTION_WAL; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 118: /* alter_db_option ::= STT_TRIGGER NK_INTEGER */ -{ yymsp[-1].minor.yy661.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 119: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy601 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy601 = yylhsminor.yy601; +{ yylhsminor.yy376 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy376 = yylhsminor.yy376; break; case 120: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 318: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==318); -{ yylhsminor.yy601 = addNodeToList(pCxt, yymsp[-2].minor.yy601, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy601 = yylhsminor.yy601; + case 320: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==320); +{ yylhsminor.yy376 = addNodeToList(pCxt, yymsp[-2].minor.yy376, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy376 = yylhsminor.yy376; break; case 121: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy601 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy601 = yylhsminor.yy601; +{ yylhsminor.yy376 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy376 = yylhsminor.yy376; break; case 122: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy601 = addNodeToList(pCxt, yymsp[-2].minor.yy601, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy601 = yylhsminor.yy601; +{ yylhsminor.yy376 = addNodeToList(pCxt, yymsp[-2].minor.yy376, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy376 = yylhsminor.yy376; break; case 123: /* retention_list ::= retention */ case 145: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==145); @@ -4133,14 +4115,14 @@ static YYACTIONTYPE yy_reduce( case 204: /* col_name_list ::= col_name */ yytestcase(yyruleno==204); case 253: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==253); case 265: /* func_list ::= func */ yytestcase(yyruleno==265); - case 346: /* literal_list ::= signed_literal */ yytestcase(yyruleno==346); - case 412: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==412); - case 418: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==418); - case 473: /* select_list ::= select_item */ yytestcase(yyruleno==473); - case 484: /* partition_list ::= partition_item */ yytestcase(yyruleno==484); - case 537: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==537); -{ yylhsminor.yy601 = createNodeList(pCxt, yymsp[0].minor.yy600); } - yymsp[0].minor.yy601 = yylhsminor.yy601; + case 348: /* literal_list ::= signed_literal */ yytestcase(yyruleno==348); + case 414: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==414); + case 420: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==420); + case 475: /* select_list ::= select_item */ yytestcase(yyruleno==475); + case 486: /* partition_list ::= partition_item */ yytestcase(yyruleno==486); + case 539: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==539); +{ yylhsminor.yy376 = createNodeList(pCxt, yymsp[0].minor.yy476); } + yymsp[0].minor.yy376 = yylhsminor.yy376; break; case 124: /* retention_list ::= retention_list NK_COMMA retention */ case 156: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==156); @@ -4148,271 +4130,273 @@ static YYACTIONTYPE yy_reduce( case 205: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==205); case 254: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==254); case 266: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==266); - case 347: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==347); - case 413: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==413); - case 474: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==474); - case 485: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==485); - case 538: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==538); -{ yylhsminor.yy601 = addNodeToList(pCxt, yymsp[-2].minor.yy601, yymsp[0].minor.yy600); } - yymsp[-2].minor.yy601 = yylhsminor.yy601; + case 349: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==349); + case 415: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==415); + case 476: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==476); + case 487: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==487); + case 540: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==540); +{ yylhsminor.yy376 = addNodeToList(pCxt, yymsp[-2].minor.yy376, yymsp[0].minor.yy476); } + yymsp[-2].minor.yy376 = yylhsminor.yy376; break; case 125: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ -{ yylhsminor.yy600 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 126: /* speed_opt ::= */ case 297: /* bufsize_opt ::= */ yytestcase(yyruleno==297); -{ yymsp[1].minor.yy248 = 0; } +{ yymsp[1].minor.yy508 = 0; } break; case 127: /* speed_opt ::= MAX_SPEED NK_INTEGER */ case 298: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==298); -{ yymsp[-1].minor.yy248 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy508 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 128: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ case 130: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==130); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy841, yymsp[-5].minor.yy600, yymsp[-3].minor.yy601, yymsp[-1].minor.yy601, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy845, yymsp[-5].minor.yy476, yymsp[-3].minor.yy376, yymsp[-1].minor.yy376, yymsp[0].minor.yy476); } break; case 129: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy601); } +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy376); } break; case 131: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy601); } +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy376); } break; case 132: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy841, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy845, yymsp[0].minor.yy476); } break; case 133: /* cmd ::= ALTER TABLE alter_table_clause */ - case 320: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==320); -{ pCxt->pRootNode = yymsp[0].minor.yy600; } + case 322: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==322); +{ pCxt->pRootNode = yymsp[0].minor.yy476; } break; case 134: /* cmd ::= ALTER STABLE alter_table_clause */ -{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy600); } +{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy476); } break; case 135: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy600 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy600, yymsp[0].minor.yy600); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy476, yymsp[0].minor.yy476); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; case 136: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy600 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy600, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy77, yymsp[0].minor.yy888); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy476, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy701, yymsp[0].minor.yy532); } + yymsp[-4].minor.yy476 = yylhsminor.yy476; break; case 137: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy600 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy600, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy77); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy476, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy701); } + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; case 138: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy600 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy600, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy77, yymsp[0].minor.yy888); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy476, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy701, yymsp[0].minor.yy532); } + yymsp[-4].minor.yy476 = yylhsminor.yy476; break; case 139: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy600 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy600, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy77, &yymsp[0].minor.yy77); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy476, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy701, &yymsp[0].minor.yy701); } + yymsp[-4].minor.yy476 = yylhsminor.yy476; break; case 140: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy600 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy600, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy77, yymsp[0].minor.yy888); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy476, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy701, yymsp[0].minor.yy532); } + yymsp[-4].minor.yy476 = yylhsminor.yy476; break; case 141: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy600 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy600, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy77); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy476, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy701); } + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; case 142: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy600 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy600, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy77, yymsp[0].minor.yy888); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy476, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy701, yymsp[0].minor.yy532); } + yymsp[-4].minor.yy476 = yylhsminor.yy476; break; case 143: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy600 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy600, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy77, &yymsp[0].minor.yy77); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy476, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy701, &yymsp[0].minor.yy701); } + yymsp[-4].minor.yy476 = yylhsminor.yy476; break; case 144: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy600 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy600, &yymsp[-2].minor.yy77, yymsp[0].minor.yy600); } - yymsp[-5].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy476, &yymsp[-2].minor.yy701, yymsp[0].minor.yy476); } + yymsp[-5].minor.yy476 = yylhsminor.yy476; break; case 146: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ case 149: /* multi_drop_clause ::= multi_drop_clause drop_table_clause */ yytestcase(yyruleno==149); - case 419: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==419); -{ yylhsminor.yy601 = addNodeToList(pCxt, yymsp[-1].minor.yy601, yymsp[0].minor.yy600); } - yymsp[-1].minor.yy601 = yylhsminor.yy601; + case 421: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==421); +{ yylhsminor.yy376 = addNodeToList(pCxt, yymsp[-1].minor.yy376, yymsp[0].minor.yy476); } + yymsp[-1].minor.yy376 = yylhsminor.yy376; break; case 147: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ -{ yylhsminor.yy600 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy841, yymsp[-8].minor.yy600, yymsp[-6].minor.yy600, yymsp[-5].minor.yy601, yymsp[-2].minor.yy601, yymsp[0].minor.yy600); } - yymsp[-9].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy845, yymsp[-8].minor.yy476, yymsp[-6].minor.yy476, yymsp[-5].minor.yy376, yymsp[-2].minor.yy376, yymsp[0].minor.yy476); } + yymsp[-9].minor.yy476 = yylhsminor.yy476; break; case 150: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy600 = createDropTableClause(pCxt, yymsp[-1].minor.yy841, yymsp[0].minor.yy600); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createDropTableClause(pCxt, yymsp[-1].minor.yy845, yymsp[0].minor.yy476); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; case 151: /* specific_cols_opt ::= */ case 182: /* tags_def_opt ::= */ yytestcase(yyruleno==182); case 252: /* tag_list_opt ::= */ yytestcase(yyruleno==252); - case 482: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==482); - case 505: /* group_by_clause_opt ::= */ yytestcase(yyruleno==505); - case 524: /* order_by_clause_opt ::= */ yytestcase(yyruleno==524); -{ yymsp[1].minor.yy601 = NULL; } + case 301: /* col_list_opt ::= */ yytestcase(yyruleno==301); + case 484: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==484); + case 507: /* group_by_clause_opt ::= */ yytestcase(yyruleno==507); + case 526: /* order_by_clause_opt ::= */ yytestcase(yyruleno==526); +{ yymsp[1].minor.yy376 = NULL; } break; case 152: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ -{ yymsp[-2].minor.yy601 = yymsp[-1].minor.yy601; } + case 302: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==302); +{ yymsp[-2].minor.yy376 = yymsp[-1].minor.yy376; } break; case 153: /* full_table_name ::= table_name */ -{ yylhsminor.yy600 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy77, NULL); } - yymsp[0].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy701, NULL); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; case 154: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy600 = createRealTableNode(pCxt, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy77, NULL); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createRealTableNode(pCxt, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy701, NULL); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 157: /* column_def ::= column_name type_name */ -{ yylhsminor.yy600 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy77, yymsp[0].minor.yy888, NULL); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy701, yymsp[0].minor.yy532, NULL); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; case 158: /* column_def ::= column_name type_name COMMENT NK_STRING */ -{ yylhsminor.yy600 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy77, yymsp[-2].minor.yy888, &yymsp[0].minor.yy0); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy701, yymsp[-2].minor.yy532, &yymsp[0].minor.yy0); } + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; case 159: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_BOOL); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_BOOL); } break; case 160: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_TINYINT); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; case 161: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_SMALLINT); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; case 162: /* type_name ::= INT */ case 163: /* type_name ::= INTEGER */ yytestcase(yyruleno==163); -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_INT); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_INT); } break; case 164: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_BIGINT); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; case 165: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_FLOAT); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; case 166: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_DOUBLE); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; case 167: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy888 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy532 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; case 168: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; case 169: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy888 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy532 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; case 170: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy888 = createDataType(TSDB_DATA_TYPE_UTINYINT); } +{ yymsp[-1].minor.yy532 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; case 171: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy888 = createDataType(TSDB_DATA_TYPE_USMALLINT); } +{ yymsp[-1].minor.yy532 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; case 172: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy888 = createDataType(TSDB_DATA_TYPE_UINT); } +{ yymsp[-1].minor.yy532 = createDataType(TSDB_DATA_TYPE_UINT); } break; case 173: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy888 = createDataType(TSDB_DATA_TYPE_UBIGINT); } +{ yymsp[-1].minor.yy532 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; case 174: /* type_name ::= JSON */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_JSON); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_JSON); } break; case 175: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy888 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy532 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; case 176: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; case 177: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_BLOB); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_BLOB); } break; case 178: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy888 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy532 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; case 179: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy888 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[0].minor.yy532 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 180: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy888 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-3].minor.yy532 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 181: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy888 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-5].minor.yy532 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 183: /* tags_def_opt ::= tags_def */ - case 411: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==411); -{ yylhsminor.yy601 = yymsp[0].minor.yy601; } - yymsp[0].minor.yy601 = yylhsminor.yy601; + case 413: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==413); +{ yylhsminor.yy376 = yymsp[0].minor.yy376; } + yymsp[0].minor.yy376 = yylhsminor.yy376; break; case 184: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ -{ yymsp[-3].minor.yy601 = yymsp[-1].minor.yy601; } +{ yymsp[-3].minor.yy376 = yymsp[-1].minor.yy376; } break; case 185: /* table_options ::= */ -{ yymsp[1].minor.yy600 = createDefaultTableOptions(pCxt); } +{ yymsp[1].minor.yy476 = createDefaultTableOptions(pCxt); } break; case 186: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy600 = setTableOption(pCxt, yymsp[-2].minor.yy600, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setTableOption(pCxt, yymsp[-2].minor.yy476, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 187: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy600 = setTableOption(pCxt, yymsp[-2].minor.yy600, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy601); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setTableOption(pCxt, yymsp[-2].minor.yy476, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy376); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 188: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy600 = setTableOption(pCxt, yymsp[-2].minor.yy600, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy601); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setTableOption(pCxt, yymsp[-2].minor.yy476, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy376); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 189: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy600 = setTableOption(pCxt, yymsp[-4].minor.yy600, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy601); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setTableOption(pCxt, yymsp[-4].minor.yy476, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy376); } + yymsp[-4].minor.yy476 = yylhsminor.yy476; break; case 190: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy600 = setTableOption(pCxt, yymsp[-2].minor.yy600, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setTableOption(pCxt, yymsp[-2].minor.yy476, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 191: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy600 = setTableOption(pCxt, yymsp[-4].minor.yy600, TABLE_OPTION_SMA, yymsp[-1].minor.yy601); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setTableOption(pCxt, yymsp[-4].minor.yy476, TABLE_OPTION_SMA, yymsp[-1].minor.yy376); } + yymsp[-4].minor.yy476 = yylhsminor.yy476; break; case 192: /* table_options ::= table_options DELETE_MARK duration_list */ -{ yylhsminor.yy600 = setTableOption(pCxt, yymsp[-2].minor.yy600, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy601); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setTableOption(pCxt, yymsp[-2].minor.yy476, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy376); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 193: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy600 = createAlterTableOptions(pCxt); yylhsminor.yy600 = setTableOption(pCxt, yylhsminor.yy600, yymsp[0].minor.yy661.type, &yymsp[0].minor.yy661.val); } - yymsp[0].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createAlterTableOptions(pCxt); yylhsminor.yy476 = setTableOption(pCxt, yylhsminor.yy476, yymsp[0].minor.yy893.type, &yymsp[0].minor.yy893.val); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; case 194: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy600 = setTableOption(pCxt, yymsp[-1].minor.yy600, yymsp[0].minor.yy661.type, &yymsp[0].minor.yy661.val); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setTableOption(pCxt, yymsp[-1].minor.yy476, yymsp[0].minor.yy893.type, &yymsp[0].minor.yy893.val); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; case 195: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy661.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 196: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy661.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy661.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy893.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy893.val = yymsp[0].minor.yy0; } break; case 197: /* duration_list ::= duration_literal */ - case 375: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==375); -{ yylhsminor.yy601 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy600)); } - yymsp[0].minor.yy601 = yylhsminor.yy601; + case 377: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==377); +{ yylhsminor.yy376 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy476)); } + yymsp[0].minor.yy376 = yylhsminor.yy376; break; case 198: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 376: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==376); -{ yylhsminor.yy601 = addNodeToList(pCxt, yymsp[-2].minor.yy601, releaseRawExprNode(pCxt, yymsp[0].minor.yy600)); } - yymsp[-2].minor.yy601 = yylhsminor.yy601; + case 378: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==378); +{ yylhsminor.yy376 = addNodeToList(pCxt, yymsp[-2].minor.yy376, releaseRawExprNode(pCxt, yymsp[0].minor.yy476)); } + yymsp[-2].minor.yy376 = yylhsminor.yy376; break; case 201: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy600 = createFunctionNode(pCxt, &yymsp[0].minor.yy77, NULL); } - yymsp[0].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createFunctionNode(pCxt, &yymsp[0].minor.yy701, NULL); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; case 202: /* rollup_func_name ::= FIRST */ case 203: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==203); case 256: /* tag_item ::= QTAGS */ yytestcase(yyruleno==256); -{ yylhsminor.yy600 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; case 206: /* col_name ::= column_name */ case 257: /* tag_item ::= column_name */ yytestcase(yyruleno==257); -{ yylhsminor.yy600 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy77); } - yymsp[0].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy701); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; case 207: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } @@ -4427,13 +4411,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; case 211: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy600, yymsp[0].minor.yy600, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy476, yymsp[0].minor.yy476, OP_TYPE_LIKE); } break; case 212: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy600, yymsp[0].minor.yy600, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy476, yymsp[0].minor.yy476, OP_TYPE_LIKE); } break; case 213: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy600, NULL, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy476, NULL, OP_TYPE_LIKE); } break; case 214: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } @@ -4445,7 +4429,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; case 217: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy600, yymsp[-1].minor.yy600, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy476, yymsp[-1].minor.yy476, OP_TYPE_EQUAL); } break; case 218: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } @@ -4464,13 +4448,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; case 224: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy701); } break; case 225: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy476); } break; case 226: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy476); } break; case 227: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } @@ -4489,7 +4473,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; case 233: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy476); } break; case 234: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } @@ -4504,7 +4488,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; case 238: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy476); } break; case 239: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } @@ -4513,10 +4497,10 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; case 241: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy600, yymsp[-1].minor.yy600, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy476, yymsp[-1].minor.yy476, OP_TYPE_EQUAL); } break; case 242: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy600, yymsp[0].minor.yy600, yymsp[-3].minor.yy601); } +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy476, yymsp[0].minor.yy476, yymsp[-3].minor.yy376); } break; case 243: /* cmd ::= SHOW VNODES NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } @@ -4526,740 +4510,740 @@ static YYACTIONTYPE yy_reduce( break; case 245: /* db_name_cond_opt ::= */ case 250: /* from_db_opt ::= */ yytestcase(yyruleno==250); -{ yymsp[1].minor.yy600 = createDefaultDatabaseCondValue(pCxt); } +{ yymsp[1].minor.yy476 = createDefaultDatabaseCondValue(pCxt); } break; case 246: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy600 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy77); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy701); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; case 247: /* like_pattern_opt ::= */ - case 308: /* subtable_opt ::= */ yytestcase(yyruleno==308); - case 421: /* case_when_else_opt ::= */ yytestcase(yyruleno==421); - case 451: /* from_clause_opt ::= */ yytestcase(yyruleno==451); - case 480: /* where_clause_opt ::= */ yytestcase(yyruleno==480); - case 489: /* twindow_clause_opt ::= */ yytestcase(yyruleno==489); - case 495: /* sliding_opt ::= */ yytestcase(yyruleno==495); - case 497: /* fill_opt ::= */ yytestcase(yyruleno==497); - case 509: /* having_clause_opt ::= */ yytestcase(yyruleno==509); - case 511: /* range_opt ::= */ yytestcase(yyruleno==511); - case 513: /* every_opt ::= */ yytestcase(yyruleno==513); - case 526: /* slimit_clause_opt ::= */ yytestcase(yyruleno==526); - case 530: /* limit_clause_opt ::= */ yytestcase(yyruleno==530); -{ yymsp[1].minor.yy600 = NULL; } + case 310: /* subtable_opt ::= */ yytestcase(yyruleno==310); + case 423: /* case_when_else_opt ::= */ yytestcase(yyruleno==423); + case 453: /* from_clause_opt ::= */ yytestcase(yyruleno==453); + case 482: /* where_clause_opt ::= */ yytestcase(yyruleno==482); + case 491: /* twindow_clause_opt ::= */ yytestcase(yyruleno==491); + case 497: /* sliding_opt ::= */ yytestcase(yyruleno==497); + case 499: /* fill_opt ::= */ yytestcase(yyruleno==499); + case 511: /* having_clause_opt ::= */ yytestcase(yyruleno==511); + case 513: /* range_opt ::= */ yytestcase(yyruleno==513); + case 515: /* every_opt ::= */ yytestcase(yyruleno==515); + case 528: /* slimit_clause_opt ::= */ yytestcase(yyruleno==528); + case 532: /* limit_clause_opt ::= */ yytestcase(yyruleno==532); +{ yymsp[1].minor.yy476 = NULL; } break; case 248: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } +{ yymsp[-1].minor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; case 249: /* table_name_cond ::= table_name */ -{ yylhsminor.yy600 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy77); } - yymsp[0].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy701); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; case 251: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy600 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy77); } +{ yymsp[-1].minor.yy476 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy701); } break; case 255: /* tag_item ::= TBNAME */ -{ yylhsminor.yy600 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } - yymsp[0].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; case 258: /* tag_item ::= column_name column_alias */ -{ yylhsminor.yy600 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy77), &yymsp[0].minor.yy77); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy701), &yymsp[0].minor.yy701); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; case 259: /* tag_item ::= column_name AS column_alias */ -{ yylhsminor.yy600 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy77), &yymsp[0].minor.yy77); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy701), &yymsp[0].minor.yy701); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 260: /* cmd ::= CREATE SMA INDEX not_exists_opt full_table_name ON full_table_name index_options */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy841, yymsp[-3].minor.yy600, yymsp[-1].minor.yy600, NULL, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy845, yymsp[-3].minor.yy476, yymsp[-1].minor.yy476, NULL, yymsp[0].minor.yy476); } break; case 261: /* cmd ::= CREATE INDEX not_exists_opt full_table_name ON full_table_name NK_LP col_name_list NK_RP */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy841, yymsp[-5].minor.yy600, yymsp[-3].minor.yy600, yymsp[-1].minor.yy601, NULL); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy845, yymsp[-5].minor.yy476, yymsp[-3].minor.yy476, yymsp[-1].minor.yy376, NULL); } break; case 262: /* cmd ::= DROP INDEX exists_opt full_table_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy841, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy845, yymsp[0].minor.yy476); } break; case 263: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy600 = createIndexOption(pCxt, yymsp[-7].minor.yy601, releaseRawExprNode(pCxt, yymsp[-3].minor.yy600), NULL, yymsp[-1].minor.yy600, yymsp[0].minor.yy600); } +{ yymsp[-9].minor.yy476 = createIndexOption(pCxt, yymsp[-7].minor.yy376, releaseRawExprNode(pCxt, yymsp[-3].minor.yy476), NULL, yymsp[-1].minor.yy476, yymsp[0].minor.yy476); } break; case 264: /* 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.yy600 = createIndexOption(pCxt, yymsp[-9].minor.yy601, releaseRawExprNode(pCxt, yymsp[-5].minor.yy600), releaseRawExprNode(pCxt, yymsp[-3].minor.yy600), yymsp[-1].minor.yy600, yymsp[0].minor.yy600); } +{ yymsp[-11].minor.yy476 = createIndexOption(pCxt, yymsp[-9].minor.yy376, releaseRawExprNode(pCxt, yymsp[-5].minor.yy476), releaseRawExprNode(pCxt, yymsp[-3].minor.yy476), yymsp[-1].minor.yy476, yymsp[0].minor.yy476); } break; case 267: /* func ::= sma_func_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy600 = createFunctionNode(pCxt, &yymsp[-3].minor.yy77, yymsp[-1].minor.yy601); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = createFunctionNode(pCxt, &yymsp[-3].minor.yy701, yymsp[-1].minor.yy376); } + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; case 273: /* sma_stream_opt ::= */ - case 301: /* stream_options ::= */ yytestcase(yyruleno==301); -{ yymsp[1].minor.yy600 = createStreamOptions(pCxt); } + case 303: /* stream_options ::= */ yytestcase(yyruleno==303); +{ yymsp[1].minor.yy476 = createStreamOptions(pCxt); } break; case 274: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - case 305: /* stream_options ::= stream_options WATERMARK duration_literal */ yytestcase(yyruleno==305); -{ ((SStreamOptions*)yymsp[-2].minor.yy600)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy600); yylhsminor.yy600 = yymsp[-2].minor.yy600; } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 307: /* stream_options ::= stream_options WATERMARK duration_literal */ yytestcase(yyruleno==307); +{ ((SStreamOptions*)yymsp[-2].minor.yy476)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy476); yylhsminor.yy476 = yymsp[-2].minor.yy476; } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 275: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy600)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy600); yylhsminor.yy600 = yymsp[-2].minor.yy600; } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ ((SStreamOptions*)yymsp[-2].minor.yy476)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy476); yylhsminor.yy476 = yymsp[-2].minor.yy476; } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 276: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy600)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy600); yylhsminor.yy600 = yymsp[-2].minor.yy600; } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ ((SStreamOptions*)yymsp[-2].minor.yy476)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy476); yylhsminor.yy476 = yymsp[-2].minor.yy476; } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 277: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy841, &yymsp[-2].minor.yy77, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy845, &yymsp[-2].minor.yy701, yymsp[0].minor.yy476); } break; case 278: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy841, &yymsp[-3].minor.yy77, &yymsp[0].minor.yy77, false); } +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy845, &yymsp[-3].minor.yy701, &yymsp[0].minor.yy701, false); } break; case 279: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy841, &yymsp[-5].minor.yy77, &yymsp[0].minor.yy77, true); } +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy845, &yymsp[-5].minor.yy701, &yymsp[0].minor.yy701, true); } break; case 280: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy841, &yymsp[-3].minor.yy77, yymsp[0].minor.yy600, false); } +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy845, &yymsp[-3].minor.yy701, yymsp[0].minor.yy476, false); } break; case 281: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy841, &yymsp[-5].minor.yy77, yymsp[0].minor.yy600, true); } +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy845, &yymsp[-5].minor.yy701, yymsp[0].minor.yy476, true); } break; case 282: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy841, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy845, &yymsp[0].minor.yy701); } break; case 283: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy841, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy845, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy701); } break; case 284: /* cmd ::= DESC full_table_name */ case 285: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==285); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy476); } break; case 286: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; case 287: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy841, yymsp[-1].minor.yy600, yymsp[0].minor.yy600); } +{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy845, yymsp[-1].minor.yy476, yymsp[0].minor.yy476); } break; case 290: /* explain_options ::= */ -{ yymsp[1].minor.yy600 = createDefaultExplainOptions(pCxt); } +{ yymsp[1].minor.yy476 = createDefaultExplainOptions(pCxt); } break; case 291: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy600 = setExplainVerbose(pCxt, yymsp[-2].minor.yy600, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setExplainVerbose(pCxt, yymsp[-2].minor.yy476, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 292: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy600 = setExplainRatio(pCxt, yymsp[-2].minor.yy600, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; +{ yylhsminor.yy476 = setExplainRatio(pCxt, yymsp[-2].minor.yy476, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; case 293: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt */ -{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-6].minor.yy841, yymsp[-8].minor.yy841, &yymsp[-5].minor.yy77, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy888, yymsp[0].minor.yy248); } +{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-6].minor.yy845, yymsp[-8].minor.yy845, &yymsp[-5].minor.yy701, &yymsp[-3].minor.yy0, yymsp[-1].minor.yy532, yymsp[0].minor.yy508); } break; case 294: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy841, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy845, &yymsp[0].minor.yy701); } break; - case 299: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name tags_def_opt subtable_opt AS query_or_subquery */ -{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-8].minor.yy841, &yymsp[-7].minor.yy77, yymsp[-4].minor.yy600, yymsp[-6].minor.yy600, yymsp[-3].minor.yy601, yymsp[-2].minor.yy600, yymsp[0].minor.yy600); } + case 299: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tags_def_opt subtable_opt AS query_or_subquery */ +{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy845, &yymsp[-8].minor.yy701, yymsp[-5].minor.yy476, yymsp[-7].minor.yy476, yymsp[-3].minor.yy376, yymsp[-2].minor.yy476, yymsp[0].minor.yy476, yymsp[-4].minor.yy376); } break; case 300: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy841, &yymsp[0].minor.yy77); } +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy845, &yymsp[0].minor.yy701); } break; - case 302: /* stream_options ::= stream_options TRIGGER AT_ONCE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy600)->triggerType = STREAM_TRIGGER_AT_ONCE; yylhsminor.yy600 = yymsp[-2].minor.yy600; } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 304: /* stream_options ::= stream_options TRIGGER AT_ONCE */ +{ ((SStreamOptions*)yymsp[-2].minor.yy476)->triggerType = STREAM_TRIGGER_AT_ONCE; yylhsminor.yy476 = yymsp[-2].minor.yy476; } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 303: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ -{ ((SStreamOptions*)yymsp[-2].minor.yy600)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; yylhsminor.yy600 = yymsp[-2].minor.yy600; } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 305: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ +{ ((SStreamOptions*)yymsp[-2].minor.yy476)->triggerType = STREAM_TRIGGER_WINDOW_CLOSE; yylhsminor.yy476 = yymsp[-2].minor.yy476; } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 304: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-3].minor.yy600)->triggerType = STREAM_TRIGGER_MAX_DELAY; ((SStreamOptions*)yymsp[-3].minor.yy600)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy600); yylhsminor.yy600 = yymsp[-3].minor.yy600; } - yymsp[-3].minor.yy600 = yylhsminor.yy600; + case 306: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ +{ ((SStreamOptions*)yymsp[-3].minor.yy476)->triggerType = STREAM_TRIGGER_MAX_DELAY; ((SStreamOptions*)yymsp[-3].minor.yy476)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy476); yylhsminor.yy476 = yymsp[-3].minor.yy476; } + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; - case 306: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ -{ ((SStreamOptions*)yymsp[-3].minor.yy600)->ignoreExpired = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); yylhsminor.yy600 = yymsp[-3].minor.yy600; } - yymsp[-3].minor.yy600 = yylhsminor.yy600; + case 308: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ +{ ((SStreamOptions*)yymsp[-3].minor.yy476)->ignoreExpired = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); yylhsminor.yy476 = yymsp[-3].minor.yy476; } + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; - case 307: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ -{ ((SStreamOptions*)yymsp[-2].minor.yy600)->fillHistory = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); yylhsminor.yy600 = yymsp[-2].minor.yy600; } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 309: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ +{ ((SStreamOptions*)yymsp[-2].minor.yy476)->fillHistory = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); yylhsminor.yy476 = yymsp[-2].minor.yy476; } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 309: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 496: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==496); - case 514: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==514); -{ yymsp[-3].minor.yy600 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy600); } + case 311: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + case 498: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==498); + case 516: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==516); +{ yymsp[-3].minor.yy476 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy476); } break; - case 310: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 312: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 311: /* cmd ::= KILL QUERY NK_STRING */ + case 313: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 312: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 314: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 313: /* cmd ::= BALANCE VGROUP */ + case 315: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 314: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 316: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 315: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy601); } + case 317: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy376); } break; - case 316: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 318: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 317: /* dnode_list ::= DNODE NK_INTEGER */ -{ yymsp[-1].minor.yy601 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - break; - case 319: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy600, yymsp[0].minor.yy600); } - break; - case 321: /* cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ -{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-4].minor.yy600, yymsp[-2].minor.yy601, yymsp[0].minor.yy600); } - break; - case 322: /* cmd ::= INSERT INTO full_table_name query_or_subquery */ -{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-1].minor.yy600, NULL, yymsp[0].minor.yy600); } - break; - case 323: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy600 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 324: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy600 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 325: /* literal ::= NK_STRING */ -{ yylhsminor.yy600 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 326: /* literal ::= NK_BOOL */ -{ yylhsminor.yy600 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 327: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; - break; - case 328: /* literal ::= duration_literal */ - case 338: /* signed_literal ::= signed */ yytestcase(yyruleno==338); - case 358: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==358); - case 359: /* expression ::= literal */ yytestcase(yyruleno==359); - case 360: /* expression ::= pseudo_column */ yytestcase(yyruleno==360); - case 361: /* expression ::= column_reference */ yytestcase(yyruleno==361); - case 362: /* expression ::= function_expression */ yytestcase(yyruleno==362); - case 363: /* expression ::= case_when_expression */ yytestcase(yyruleno==363); - case 394: /* function_expression ::= literal_func */ yytestcase(yyruleno==394); - case 443: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==443); - case 447: /* boolean_primary ::= predicate */ yytestcase(yyruleno==447); - case 449: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==449); - case 450: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==450); - case 453: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==453); - case 455: /* table_reference ::= table_primary */ yytestcase(yyruleno==455); - case 456: /* table_reference ::= joined_table */ yytestcase(yyruleno==456); - case 460: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==460); - case 516: /* query_simple ::= query_specification */ yytestcase(yyruleno==516); - case 517: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==517); - case 520: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==520); - case 522: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==522); -{ yylhsminor.yy600 = yymsp[0].minor.yy600; } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 329: /* literal ::= NULL */ -{ yylhsminor.yy600 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 330: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy600 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 331: /* duration_literal ::= NK_VARIABLE */ -{ yylhsminor.yy600 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 332: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 333: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - break; - case 334: /* signed ::= NK_MINUS NK_INTEGER */ + case 319: /* dnode_list ::= DNODE NK_INTEGER */ +{ yymsp[-1].minor.yy376 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + break; + case 321: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy476, yymsp[0].minor.yy476); } + break; + case 323: /* cmd ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ +{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-4].minor.yy476, yymsp[-2].minor.yy376, yymsp[0].minor.yy476); } + break; + case 324: /* cmd ::= INSERT INTO full_table_name query_or_subquery */ +{ pCxt->pRootNode = createInsertStmt(pCxt, yymsp[-1].minor.yy476, NULL, yymsp[0].minor.yy476); } + break; + case 325: /* literal ::= NK_INTEGER */ +{ yylhsminor.yy476 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 326: /* literal ::= NK_FLOAT */ +{ yylhsminor.yy476 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 327: /* literal ::= NK_STRING */ +{ yylhsminor.yy476 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 328: /* literal ::= NK_BOOL */ +{ yylhsminor.yy476 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 329: /* literal ::= TIMESTAMP NK_STRING */ +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; + break; + case 330: /* literal ::= duration_literal */ + case 340: /* signed_literal ::= signed */ yytestcase(yyruleno==340); + case 360: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==360); + case 361: /* expression ::= literal */ yytestcase(yyruleno==361); + case 362: /* expression ::= pseudo_column */ yytestcase(yyruleno==362); + case 363: /* expression ::= column_reference */ yytestcase(yyruleno==363); + case 364: /* expression ::= function_expression */ yytestcase(yyruleno==364); + case 365: /* expression ::= case_when_expression */ yytestcase(yyruleno==365); + case 396: /* function_expression ::= literal_func */ yytestcase(yyruleno==396); + case 445: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==445); + case 449: /* boolean_primary ::= predicate */ yytestcase(yyruleno==449); + case 451: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==451); + case 452: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==452); + case 455: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==455); + case 457: /* table_reference ::= table_primary */ yytestcase(yyruleno==457); + case 458: /* table_reference ::= joined_table */ yytestcase(yyruleno==458); + case 462: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==462); + case 518: /* query_simple ::= query_specification */ yytestcase(yyruleno==518); + case 519: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==519); + case 522: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==522); + case 524: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==524); +{ yylhsminor.yy476 = yymsp[0].minor.yy476; } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 331: /* literal ::= NULL */ +{ yylhsminor.yy476 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 332: /* literal ::= NK_QUESTION */ +{ yylhsminor.yy476 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 333: /* duration_literal ::= NK_VARIABLE */ +{ yylhsminor.yy476 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 334: /* signed ::= NK_INTEGER */ +{ yylhsminor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 335: /* signed ::= NK_PLUS NK_INTEGER */ +{ yymsp[-1].minor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + break; + case 336: /* signed ::= NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yylhsminor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; - case 335: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy600 = yylhsminor.yy600; + case 337: /* signed ::= NK_FLOAT */ +{ yylhsminor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; - case 336: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + case 338: /* signed ::= NK_PLUS NK_FLOAT */ +{ yymsp[-1].minor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 337: /* signed ::= NK_MINUS NK_FLOAT */ + case 339: /* signed ::= NK_MINUS NK_FLOAT */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yylhsminor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; - break; - case 339: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 340: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 341: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } - break; - case 342: /* signed_literal ::= duration_literal */ - case 344: /* signed_literal ::= literal_func */ yytestcase(yyruleno==344); - case 414: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==414); - case 476: /* select_item ::= common_expression */ yytestcase(yyruleno==476); - case 486: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==486); - case 521: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==521); - case 523: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==523); - case 536: /* search_condition ::= common_expression */ yytestcase(yyruleno==536); -{ yylhsminor.yy600 = releaseRawExprNode(pCxt, yymsp[0].minor.yy600); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 343: /* signed_literal ::= NULL */ -{ yylhsminor.yy600 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 345: /* signed_literal ::= NK_QUESTION */ -{ yylhsminor.yy600 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 364: /* expression ::= NK_LP expression NK_RP */ - case 448: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==448); - case 535: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==535); -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy600)); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; - break; - case 365: /* expression ::= NK_PLUS expr_or_subquery */ + yymsp[-1].minor.yy476 = yylhsminor.yy476; + break; + case 341: /* signed_literal ::= NK_STRING */ +{ yylhsminor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 342: /* signed_literal ::= NK_BOOL */ +{ yylhsminor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 343: /* signed_literal ::= TIMESTAMP NK_STRING */ +{ yymsp[-1].minor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + break; + case 344: /* signed_literal ::= duration_literal */ + case 346: /* signed_literal ::= literal_func */ yytestcase(yyruleno==346); + case 416: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==416); + case 478: /* select_item ::= common_expression */ yytestcase(yyruleno==478); + case 488: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==488); + case 523: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==523); + case 525: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==525); + case 538: /* search_condition ::= common_expression */ yytestcase(yyruleno==538); +{ yylhsminor.yy476 = releaseRawExprNode(pCxt, yymsp[0].minor.yy476); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 345: /* signed_literal ::= NULL */ +{ yylhsminor.yy476 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 347: /* signed_literal ::= NK_QUESTION */ +{ yylhsminor.yy476 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 366: /* expression ::= NK_LP expression NK_RP */ + case 450: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==450); + case 537: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==537); +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy476)); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; + break; + case 367: /* expression ::= NK_PLUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy600)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy476)); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; - case 366: /* expression ::= NK_MINUS expr_or_subquery */ + case 368: /* expression ::= NK_MINUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy600), NULL)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy476), NULL)); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; - case 367: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 369: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 368: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 370: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 369: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 371: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 370: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 372: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 371: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 373: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 372: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 374: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 373: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 375: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 374: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 376: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; - break; - case 377: /* column_reference ::= column_name */ -{ yylhsminor.yy600 = createRawExprNode(pCxt, &yymsp[0].minor.yy77, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy77)); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 378: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy77, createColumnNode(pCxt, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy77)); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; - break; - case 379: /* pseudo_column ::= ROWTS */ - case 380: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==380); - case 382: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==382); - case 383: /* pseudo_column ::= QEND */ yytestcase(yyruleno==383); - case 384: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==384); - case 385: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==385); - case 386: /* pseudo_column ::= WEND */ yytestcase(yyruleno==386); - case 387: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==387); - case 388: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==388); - case 389: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==389); - case 390: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==390); - case 396: /* literal_func ::= NOW */ yytestcase(yyruleno==396); -{ yylhsminor.yy600 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy600 = yylhsminor.yy600; - break; - case 381: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy77)))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; - break; - case 391: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 392: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==392); -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy77, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy77, yymsp[-1].minor.yy601)); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; - break; - case 393: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy600), yymsp[-1].minor.yy888)); } - yymsp[-5].minor.yy600 = yylhsminor.yy600; - break; - case 395: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy77, NULL)); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; - break; - case 410: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy601 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy601 = yylhsminor.yy601; - break; - case 415: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 479: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==479); -{ yylhsminor.yy600 = createColumnNode(pCxt, &yymsp[-2].minor.yy77, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; - break; - case 416: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy601, yymsp[-1].minor.yy600)); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; - break; - case 417: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy600), yymsp[-2].minor.yy601, yymsp[-1].minor.yy600)); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; - break; - case 420: /* when_then_expr ::= WHEN common_expression THEN common_expression */ -{ yymsp[-3].minor.yy600 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600)); } - break; - case 422: /* case_when_else_opt ::= ELSE common_expression */ -{ yymsp[-1].minor.yy600 = releaseRawExprNode(pCxt, yymsp[0].minor.yy600); } - break; - case 423: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 428: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==428); + yymsp[-2].minor.yy476 = yylhsminor.yy476; + break; + case 379: /* column_reference ::= column_name */ +{ yylhsminor.yy476 = createRawExprNode(pCxt, &yymsp[0].minor.yy701, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy701)); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 380: /* column_reference ::= table_name NK_DOT column_name */ +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy701, createColumnNode(pCxt, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy701)); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; + break; + case 381: /* pseudo_column ::= ROWTS */ + case 382: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==382); + case 384: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==384); + case 385: /* pseudo_column ::= QEND */ yytestcase(yyruleno==385); + case 386: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==386); + case 387: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==387); + case 388: /* pseudo_column ::= WEND */ yytestcase(yyruleno==388); + case 389: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==389); + case 390: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==390); + case 391: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==391); + case 392: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==392); + case 398: /* literal_func ::= NOW */ yytestcase(yyruleno==398); +{ yylhsminor.yy476 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } + yymsp[0].minor.yy476 = yylhsminor.yy476; + break; + case 383: /* pseudo_column ::= table_name NK_DOT TBNAME */ +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy701)))); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; + break; + case 393: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 394: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==394); +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy701, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy701, yymsp[-1].minor.yy376)); } + yymsp[-3].minor.yy476 = yylhsminor.yy476; + break; + case 395: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy476), yymsp[-1].minor.yy532)); } + yymsp[-5].minor.yy476 = yylhsminor.yy476; + break; + case 397: /* literal_func ::= noarg_func NK_LP NK_RP */ +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy701, NULL)); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; + break; + case 412: /* star_func_para_list ::= NK_STAR */ +{ yylhsminor.yy376 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy376 = yylhsminor.yy376; + break; + case 417: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 481: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==481); +{ yylhsminor.yy476 = createColumnNode(pCxt, &yymsp[-2].minor.yy701, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; + break; + case 418: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy376, yymsp[-1].minor.yy476)); } + yymsp[-3].minor.yy476 = yylhsminor.yy476; + break; + case 419: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy476), yymsp[-2].minor.yy376, yymsp[-1].minor.yy476)); } + yymsp[-4].minor.yy476 = yylhsminor.yy476; + break; + case 422: /* when_then_expr ::= WHEN common_expression THEN common_expression */ +{ yymsp[-3].minor.yy476 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476)); } + break; + case 424: /* case_when_else_opt ::= ELSE common_expression */ +{ yymsp[-1].minor.yy476 = releaseRawExprNode(pCxt, yymsp[0].minor.yy476); } + break; + case 425: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 430: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==430); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy666, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy128, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 424: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 426: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy600), releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy476), releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-4].minor.yy600 = yylhsminor.yy600; + yymsp[-4].minor.yy476 = yylhsminor.yy476; break; - case 425: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 427: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy600), releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy476), releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-5].minor.yy600 = yylhsminor.yy600; + yymsp[-5].minor.yy476 = yylhsminor.yy476; break; - case 426: /* predicate ::= expr_or_subquery IS NULL */ + case 428: /* predicate ::= expr_or_subquery IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), NULL)); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 427: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 429: /* predicate ::= expr_or_subquery IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy600), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy476), NULL)); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; - case 429: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy666 = OP_TYPE_LOWER_THAN; } + case 431: /* compare_op ::= NK_LT */ +{ yymsp[0].minor.yy128 = OP_TYPE_LOWER_THAN; } break; - case 430: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy666 = OP_TYPE_GREATER_THAN; } + case 432: /* compare_op ::= NK_GT */ +{ yymsp[0].minor.yy128 = OP_TYPE_GREATER_THAN; } break; - case 431: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy666 = OP_TYPE_LOWER_EQUAL; } + case 433: /* compare_op ::= NK_LE */ +{ yymsp[0].minor.yy128 = OP_TYPE_LOWER_EQUAL; } break; - case 432: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy666 = OP_TYPE_GREATER_EQUAL; } + case 434: /* compare_op ::= NK_GE */ +{ yymsp[0].minor.yy128 = OP_TYPE_GREATER_EQUAL; } break; - case 433: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy666 = OP_TYPE_NOT_EQUAL; } + case 435: /* compare_op ::= NK_NE */ +{ yymsp[0].minor.yy128 = OP_TYPE_NOT_EQUAL; } break; - case 434: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy666 = OP_TYPE_EQUAL; } + case 436: /* compare_op ::= NK_EQ */ +{ yymsp[0].minor.yy128 = OP_TYPE_EQUAL; } break; - case 435: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy666 = OP_TYPE_LIKE; } + case 437: /* compare_op ::= LIKE */ +{ yymsp[0].minor.yy128 = OP_TYPE_LIKE; } break; - case 436: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy666 = OP_TYPE_NOT_LIKE; } + case 438: /* compare_op ::= NOT LIKE */ +{ yymsp[-1].minor.yy128 = OP_TYPE_NOT_LIKE; } break; - case 437: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy666 = OP_TYPE_MATCH; } + case 439: /* compare_op ::= MATCH */ +{ yymsp[0].minor.yy128 = OP_TYPE_MATCH; } break; - case 438: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy666 = OP_TYPE_NMATCH; } + case 440: /* compare_op ::= NMATCH */ +{ yymsp[0].minor.yy128 = OP_TYPE_NMATCH; } break; - case 439: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy666 = OP_TYPE_JSON_CONTAINS; } + case 441: /* compare_op ::= CONTAINS */ +{ yymsp[0].minor.yy128 = OP_TYPE_JSON_CONTAINS; } break; - case 440: /* in_op ::= IN */ -{ yymsp[0].minor.yy666 = OP_TYPE_IN; } + case 442: /* in_op ::= IN */ +{ yymsp[0].minor.yy128 = OP_TYPE_IN; } break; - case 441: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy666 = OP_TYPE_NOT_IN; } + case 443: /* in_op ::= NOT IN */ +{ yymsp[-1].minor.yy128 = OP_TYPE_NOT_IN; } break; - case 442: /* in_predicate_value ::= NK_LP literal_list NK_RP */ -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy601)); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 444: /* in_predicate_value ::= NK_LP literal_list NK_RP */ +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy376)); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 444: /* boolean_value_expression ::= NOT boolean_primary */ + case 446: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy600), NULL)); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy476), NULL)); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; - case 445: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 447: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 446: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 448: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy600); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy600); - yylhsminor.yy600 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy476); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy476); + yylhsminor.yy476 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 452: /* from_clause_opt ::= FROM table_reference_list */ - case 481: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==481); - case 510: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==510); -{ yymsp[-1].minor.yy600 = yymsp[0].minor.yy600; } + case 454: /* from_clause_opt ::= FROM table_reference_list */ + case 483: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==483); + case 512: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==512); +{ yymsp[-1].minor.yy476 = yymsp[0].minor.yy476; } break; - case 454: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy600 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy600, yymsp[0].minor.yy600, NULL); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 456: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ +{ yylhsminor.yy476 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy476, yymsp[0].minor.yy476, NULL); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 457: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy600 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy77, &yymsp[0].minor.yy77); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; + case 459: /* table_primary ::= table_name alias_opt */ +{ yylhsminor.yy476 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy701, &yymsp[0].minor.yy701); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; - case 458: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy600 = createRealTableNode(pCxt, &yymsp[-3].minor.yy77, &yymsp[-1].minor.yy77, &yymsp[0].minor.yy77); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; + case 460: /* table_primary ::= db_name NK_DOT table_name alias_opt */ +{ yylhsminor.yy476 = createRealTableNode(pCxt, &yymsp[-3].minor.yy701, &yymsp[-1].minor.yy701, &yymsp[0].minor.yy701); } + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; - case 459: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy600 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy600), &yymsp[0].minor.yy77); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; + case 461: /* table_primary ::= subquery alias_opt */ +{ yylhsminor.yy476 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy476), &yymsp[0].minor.yy701); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; - case 461: /* alias_opt ::= */ -{ yymsp[1].minor.yy77 = nil_token; } + case 463: /* alias_opt ::= */ +{ yymsp[1].minor.yy701 = nil_token; } break; - case 463: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy77 = yymsp[0].minor.yy77; } + case 465: /* alias_opt ::= AS table_alias */ +{ yymsp[-1].minor.yy701 = yymsp[0].minor.yy701; } break; - case 464: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 465: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==465); -{ yymsp[-2].minor.yy600 = yymsp[-1].minor.yy600; } + case 466: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 467: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==467); +{ yymsp[-2].minor.yy476 = yymsp[-1].minor.yy476; } break; - case 466: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy600 = createJoinTableNode(pCxt, yymsp[-4].minor.yy560, yymsp[-5].minor.yy600, yymsp[-2].minor.yy600, yymsp[0].minor.yy600); } - yymsp[-5].minor.yy600 = yylhsminor.yy600; + case 468: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ +{ yylhsminor.yy476 = createJoinTableNode(pCxt, yymsp[-4].minor.yy288, yymsp[-5].minor.yy476, yymsp[-2].minor.yy476, yymsp[0].minor.yy476); } + yymsp[-5].minor.yy476 = yylhsminor.yy476; break; - case 467: /* join_type ::= */ -{ yymsp[1].minor.yy560 = JOIN_TYPE_INNER; } + case 469: /* join_type ::= */ +{ yymsp[1].minor.yy288 = JOIN_TYPE_INNER; } break; - case 468: /* join_type ::= INNER */ -{ yymsp[0].minor.yy560 = JOIN_TYPE_INNER; } + case 470: /* join_type ::= INNER */ +{ yymsp[0].minor.yy288 = JOIN_TYPE_INNER; } break; - case 469: /* 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 471: /* 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.yy600 = createSelectStmt(pCxt, yymsp[-10].minor.yy841, yymsp[-9].minor.yy601, yymsp[-8].minor.yy600); - yymsp[-11].minor.yy600 = addWhereClause(pCxt, yymsp[-11].minor.yy600, yymsp[-7].minor.yy600); - yymsp[-11].minor.yy600 = addPartitionByClause(pCxt, yymsp[-11].minor.yy600, yymsp[-6].minor.yy601); - yymsp[-11].minor.yy600 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy600, yymsp[-2].minor.yy600); - yymsp[-11].minor.yy600 = addGroupByClause(pCxt, yymsp[-11].minor.yy600, yymsp[-1].minor.yy601); - yymsp[-11].minor.yy600 = addHavingClause(pCxt, yymsp[-11].minor.yy600, yymsp[0].minor.yy600); - yymsp[-11].minor.yy600 = addRangeClause(pCxt, yymsp[-11].minor.yy600, yymsp[-5].minor.yy600); - yymsp[-11].minor.yy600 = addEveryClause(pCxt, yymsp[-11].minor.yy600, yymsp[-4].minor.yy600); - yymsp[-11].minor.yy600 = addFillClause(pCxt, yymsp[-11].minor.yy600, yymsp[-3].minor.yy600); + yymsp[-11].minor.yy476 = createSelectStmt(pCxt, yymsp[-10].minor.yy845, yymsp[-9].minor.yy376, yymsp[-8].minor.yy476); + yymsp[-11].minor.yy476 = addWhereClause(pCxt, yymsp[-11].minor.yy476, yymsp[-7].minor.yy476); + yymsp[-11].minor.yy476 = addPartitionByClause(pCxt, yymsp[-11].minor.yy476, yymsp[-6].minor.yy376); + yymsp[-11].minor.yy476 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy476, yymsp[-2].minor.yy476); + yymsp[-11].minor.yy476 = addGroupByClause(pCxt, yymsp[-11].minor.yy476, yymsp[-1].minor.yy376); + yymsp[-11].minor.yy476 = addHavingClause(pCxt, yymsp[-11].minor.yy476, yymsp[0].minor.yy476); + yymsp[-11].minor.yy476 = addRangeClause(pCxt, yymsp[-11].minor.yy476, yymsp[-5].minor.yy476); + yymsp[-11].minor.yy476 = addEveryClause(pCxt, yymsp[-11].minor.yy476, yymsp[-4].minor.yy476); + yymsp[-11].minor.yy476 = addFillClause(pCxt, yymsp[-11].minor.yy476, yymsp[-3].minor.yy476); } break; - case 472: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy841 = false; } + case 474: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy845 = false; } break; - case 475: /* select_item ::= NK_STAR */ -{ yylhsminor.yy600 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy600 = yylhsminor.yy600; + case 477: /* select_item ::= NK_STAR */ +{ yylhsminor.yy476 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy476 = yylhsminor.yy476; break; - case 477: /* select_item ::= common_expression column_alias */ - case 487: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==487); -{ yylhsminor.yy600 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy600), &yymsp[0].minor.yy77); } - yymsp[-1].minor.yy600 = yylhsminor.yy600; + case 479: /* select_item ::= common_expression column_alias */ + case 489: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==489); +{ yylhsminor.yy476 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy476), &yymsp[0].minor.yy701); } + yymsp[-1].minor.yy476 = yylhsminor.yy476; break; - case 478: /* select_item ::= common_expression AS column_alias */ - case 488: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==488); -{ yylhsminor.yy600 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), &yymsp[0].minor.yy77); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 480: /* select_item ::= common_expression AS column_alias */ + case 490: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==490); +{ yylhsminor.yy476 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), &yymsp[0].minor.yy701); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 483: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 506: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==506); - case 525: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==525); -{ yymsp[-2].minor.yy601 = yymsp[0].minor.yy601; } + case 485: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 508: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==508); + case 527: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==527); +{ yymsp[-2].minor.yy376 = yymsp[0].minor.yy376; } break; - case 490: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ -{ yymsp[-5].minor.yy600 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy600), releaseRawExprNode(pCxt, yymsp[-1].minor.yy600)); } + case 492: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ +{ yymsp[-5].minor.yy476 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy476), releaseRawExprNode(pCxt, yymsp[-1].minor.yy476)); } break; - case 491: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy600 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy600)); } + case 493: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy476 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy476)); } break; - case 492: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy600 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy600), NULL, yymsp[-1].minor.yy600, yymsp[0].minor.yy600); } + case 494: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-5].minor.yy476 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy476), NULL, yymsp[-1].minor.yy476, yymsp[0].minor.yy476); } break; - case 493: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy600 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy600), releaseRawExprNode(pCxt, yymsp[-3].minor.yy600), yymsp[-1].minor.yy600, yymsp[0].minor.yy600); } + case 495: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-7].minor.yy476 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy476), releaseRawExprNode(pCxt, yymsp[-3].minor.yy476), yymsp[-1].minor.yy476, yymsp[0].minor.yy476); } break; - case 494: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ -{ yymsp[-6].minor.yy600 = createEventWindowNode(pCxt, yymsp[-3].minor.yy600, yymsp[0].minor.yy600); } + case 496: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ +{ yymsp[-6].minor.yy476 = createEventWindowNode(pCxt, yymsp[-3].minor.yy476, yymsp[0].minor.yy476); } break; - case 498: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy600 = createFillNode(pCxt, yymsp[-1].minor.yy798, NULL); } + case 500: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy476 = createFillNode(pCxt, yymsp[-1].minor.yy690, NULL); } break; - case 499: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ -{ yymsp[-5].minor.yy600 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy601)); } + case 501: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ +{ yymsp[-5].minor.yy476 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy376)); } break; - case 500: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy798 = FILL_MODE_NONE; } + case 502: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy690 = FILL_MODE_NONE; } break; - case 501: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy798 = FILL_MODE_PREV; } + case 503: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy690 = FILL_MODE_PREV; } break; - case 502: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy798 = FILL_MODE_NULL; } + case 504: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy690 = FILL_MODE_NULL; } break; - case 503: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy798 = FILL_MODE_LINEAR; } + case 505: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy690 = FILL_MODE_LINEAR; } break; - case 504: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy798 = FILL_MODE_NEXT; } + case 506: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy690 = FILL_MODE_NEXT; } break; - case 507: /* group_by_list ::= expr_or_subquery */ -{ yylhsminor.yy601 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); } - yymsp[0].minor.yy601 = yylhsminor.yy601; + case 509: /* group_by_list ::= expr_or_subquery */ +{ yylhsminor.yy376 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } + yymsp[0].minor.yy376 = yylhsminor.yy376; break; - case 508: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ -{ yylhsminor.yy601 = addNodeToList(pCxt, yymsp[-2].minor.yy601, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy600))); } - yymsp[-2].minor.yy601 = yylhsminor.yy601; + case 510: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ +{ yylhsminor.yy376 = addNodeToList(pCxt, yymsp[-2].minor.yy376, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy476))); } + yymsp[-2].minor.yy376 = yylhsminor.yy376; break; - case 512: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ -{ yymsp[-5].minor.yy600 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy600), releaseRawExprNode(pCxt, yymsp[-1].minor.yy600)); } + case 514: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ +{ yymsp[-5].minor.yy476 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy476), releaseRawExprNode(pCxt, yymsp[-1].minor.yy476)); } break; - case 515: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 517: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy600 = addOrderByClause(pCxt, yymsp[-3].minor.yy600, yymsp[-2].minor.yy601); - yylhsminor.yy600 = addSlimitClause(pCxt, yylhsminor.yy600, yymsp[-1].minor.yy600); - yylhsminor.yy600 = addLimitClause(pCxt, yylhsminor.yy600, yymsp[0].minor.yy600); + yylhsminor.yy476 = addOrderByClause(pCxt, yymsp[-3].minor.yy476, yymsp[-2].minor.yy376); + yylhsminor.yy476 = addSlimitClause(pCxt, yylhsminor.yy476, yymsp[-1].minor.yy476); + yylhsminor.yy476 = addLimitClause(pCxt, yylhsminor.yy476, yymsp[0].minor.yy476); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; - case 518: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ -{ yylhsminor.yy600 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy600, yymsp[0].minor.yy600); } - yymsp[-3].minor.yy600 = yylhsminor.yy600; + case 520: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ +{ yylhsminor.yy476 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy476, yymsp[0].minor.yy476); } + yymsp[-3].minor.yy476 = yylhsminor.yy476; break; - case 519: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ -{ yylhsminor.yy600 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy600, yymsp[0].minor.yy600); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 521: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ +{ yylhsminor.yy476 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy476, yymsp[0].minor.yy476); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 527: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 531: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==531); -{ yymsp[-1].minor.yy600 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + case 529: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 533: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==533); +{ yymsp[-1].minor.yy476 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 528: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 532: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==532); -{ yymsp[-3].minor.yy600 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + case 530: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 534: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==534); +{ yymsp[-3].minor.yy476 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 529: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 533: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==533); -{ yymsp[-3].minor.yy600 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + case 531: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 535: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==535); +{ yymsp[-3].minor.yy476 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 534: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy600 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy600); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 536: /* subquery ::= NK_LP query_expression NK_RP */ +{ yylhsminor.yy476 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy476); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 539: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy600 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy600), yymsp[-1].minor.yy32, yymsp[0].minor.yy385); } - yymsp[-2].minor.yy600 = yylhsminor.yy600; + case 541: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ +{ yylhsminor.yy476 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy476), yymsp[-1].minor.yy554, yymsp[0].minor.yy697); } + yymsp[-2].minor.yy476 = yylhsminor.yy476; break; - case 540: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy32 = ORDER_ASC; } + case 542: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy554 = ORDER_ASC; } break; - case 541: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy32 = ORDER_ASC; } + case 543: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy554 = ORDER_ASC; } break; - case 542: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy32 = ORDER_DESC; } + case 544: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy554 = ORDER_DESC; } break; - case 543: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy385 = NULL_ORDER_DEFAULT; } + case 545: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy697 = NULL_ORDER_DEFAULT; } break; - case 544: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy385 = NULL_ORDER_FIRST; } + case 546: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy697 = NULL_ORDER_FIRST; } break; - case 545: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy385 = NULL_ORDER_LAST; } + case 547: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy697 = NULL_ORDER_LAST; } break; default: break; diff --git a/source/libs/parser/test/mockCatalogService.cpp b/source/libs/parser/test/mockCatalogService.cpp index 9cc55a7cd55a0060635e9a9044ac076ce5a77119..ac801149f58f2aa838fae9748e92483e09e36f33 100644 --- a/source/libs/parser/test/mockCatalogService.cpp +++ b/source/libs/parser/test/mockCatalogService.cpp @@ -427,7 +427,7 @@ class MockCatalogServiceImpl { int32_t copyTableSchemaMeta(const string& db, const string& tbname, std::unique_ptr* dst) const { STableMeta* src = getTableSchemaMeta(db, tbname); if (nullptr == src) { - return TSDB_CODE_TSC_INVALID_TABLE_NAME; + return TSDB_CODE_PAR_TABLE_NOT_EXIST; } int32_t len = sizeof(STableMeta) + sizeof(SSchema) * (src->tableInfo.numOfTags + src->tableInfo.numOfColumns); dst->reset((STableMeta*)taosMemoryCalloc(1, len)); diff --git a/source/libs/parser/test/parInitialCTest.cpp b/source/libs/parser/test/parInitialCTest.cpp index 8bdea07150ab3d6d521d4332183819c1144cd3b5..8286ae72e19b767fdddf6a882e370261ebfc4ccb 100644 --- a/source/libs/parser/test/parInitialCTest.cpp +++ b/source/libs/parser/test/parInitialCTest.cpp @@ -755,14 +755,23 @@ TEST_F(ParserInitialCTest, createStream) { }; auto setCreateStreamReq = [&](const char* pStream, const char* pSrcDb, const char* pSql, const char* pDstStb, - int8_t igExists = 0, int8_t triggerType = STREAM_TRIGGER_AT_ONCE, int64_t maxDelay = 0, - int64_t watermark = 0, int8_t igExpired = STREAM_DEFAULT_IGNORE_EXPIRED, - int8_t fillHistory = STREAM_DEFAULT_FILL_HISTORY) { + int8_t createStb = STREAM_CREATE_STABLE_TRUE, int8_t igExists = 0) { snprintf(expect.name, sizeof(expect.name), "0.%s", pStream); snprintf(expect.sourceDB, sizeof(expect.sourceDB), "0.%s", pSrcDb); snprintf(expect.targetStbFullName, sizeof(expect.targetStbFullName), "0.test.%s", pDstStb); expect.igExists = igExists; expect.sql = strdup(pSql); + expect.createStb = createStb; + expect.triggerType = STREAM_TRIGGER_AT_ONCE; + expect.maxDelay = 0; + expect.watermark = 0; + expect.fillHistory = STREAM_DEFAULT_FILL_HISTORY; + expect.igExpired = STREAM_DEFAULT_IGNORE_EXPIRED; + }; + + auto setStreamOptions = [&](int8_t triggerType = STREAM_TRIGGER_AT_ONCE, int64_t maxDelay = 0, int64_t watermark = 0, + int8_t igExpired = STREAM_DEFAULT_IGNORE_EXPIRED, + int8_t fillHistory = STREAM_DEFAULT_FILL_HISTORY) { expect.triggerType = triggerType; expect.maxDelay = maxDelay; expect.watermark = watermark; @@ -813,19 +822,22 @@ TEST_F(ParserInitialCTest, createStream) { ASSERT_EQ(pField->flags, pExpectField->flags); } } + ASSERT_EQ(req.checkpointFreq, expect.checkpointFreq); + ASSERT_EQ(req.createStb, expect.createStb); tFreeSCMCreateStreamReq(&req); }); - setCreateStreamReq("s1", "test", "create stream s1 into st1 as select count(*) from t1 interval(10s)", "st1"); - run("CREATE STREAM s1 INTO st1 AS SELECT COUNT(*) FROM t1 INTERVAL(10S)"); + setCreateStreamReq("s1", "test", "create stream s1 into st3 as select count(*) from t1 interval(10s)", "st3"); + run("CREATE STREAM s1 INTO st3 AS SELECT COUNT(*) FROM t1 INTERVAL(10S)"); clearCreateStreamReq(); setCreateStreamReq( "s1", "test", - "create stream if not exists s1 trigger max_delay 20s watermark 10s ignore expired 0 fill_history 1 into st1 " + "create stream if not exists s1 trigger max_delay 20s watermark 10s ignore expired 0 fill_history 1 into st3 " "as select count(*) from t1 interval(10s)", - "st1", 1, STREAM_TRIGGER_MAX_DELAY, 20 * MILLISECOND_PER_SECOND, 10 * MILLISECOND_PER_SECOND, 0, 1); - run("CREATE STREAM IF NOT EXISTS s1 TRIGGER MAX_DELAY 20s WATERMARK 10s IGNORE EXPIRED 0 FILL_HISTORY 1 INTO st1 AS " + "st3", 1, 1); + setStreamOptions(STREAM_TRIGGER_MAX_DELAY, 20 * MILLISECOND_PER_SECOND, 10 * MILLISECOND_PER_SECOND, 0, 1); + run("CREATE STREAM IF NOT EXISTS s1 TRIGGER MAX_DELAY 20s WATERMARK 10s IGNORE EXPIRED 0 FILL_HISTORY 1 INTO st3 AS " "SELECT COUNT(*) " "FROM t1 INTERVAL(10S)"); clearCreateStreamReq(); @@ -839,6 +851,11 @@ TEST_F(ParserInitialCTest, createStream) { run("CREATE STREAM s1 INTO st3 TAGS(tname VARCHAR(10), id INT) SUBTABLE(CONCAT('new-', tname)) " "AS SELECT _WSTART wstart, COUNT(*) cnt FROM st1 PARTITION BY TBNAME tname, tag1 id INTERVAL(10S)"); clearCreateStreamReq(); + + setCreateStreamReq("s1", "test", "create stream s1 into st1 as select max(c1), c2 from t1 interval(10s)", "st1", + STREAM_CREATE_STABLE_FALSE); + run("CREATE STREAM s1 INTO st1 AS SELECT MAX(c1), c2 FROM t1 INTERVAL(10S)"); + clearCreateStreamReq(); } TEST_F(ParserInitialCTest, createStreamSemanticCheck) { diff --git a/source/libs/planner/test/planOtherTest.cpp b/source/libs/planner/test/planOtherTest.cpp index 4741d241b5ac8b5541b6f92d08dbe1dd26151099..3a12d62340f1744db5d351d7494e2e181b512d76 100644 --- a/source/libs/planner/test/planOtherTest.cpp +++ b/source/libs/planner/test/planOtherTest.cpp @@ -30,7 +30,7 @@ TEST_F(PlanOtherTest, createTopic) { TEST_F(PlanOtherTest, createStream) { useDb("root", "test"); - run("create stream if not exists s1 trigger window_close watermark 10s into st1 as select count(*) from t1 " + run("create stream if not exists s1 trigger window_close watermark 10s into st3 as select count(*) from t1 " "interval(10s)"); run("CREATE STREAM s1 INTO st3 TAGS(tname VARCHAR(10), id INT) SUBTABLE(CONCAT('new-', tname)) " @@ -43,9 +43,9 @@ TEST_F(PlanOtherTest, createStream) { TEST_F(PlanOtherTest, createStreamUseSTable) { useDb("root", "test"); - run("CREATE STREAM IF NOT EXISTS s1 into st1 as SELECT COUNT(*) FROM st1 INTERVAL(10s)"); + run("CREATE STREAM IF NOT EXISTS s1 into st3 as SELECT COUNT(*) FROM st1 INTERVAL(10s)"); - run("CREATE STREAM IF NOT EXISTS s1 into st1 as SELECT COUNT(*) FROM st1 PARTITION BY TBNAME INTERVAL(10s)"); + run("CREATE STREAM IF NOT EXISTS s1 into st3 as SELECT COUNT(*) FROM st1 PARTITION BY TBNAME INTERVAL(10s)"); } TEST_F(PlanOtherTest, createSmaIndex) {