From 6a78053b513546ef9225ebadb62a821dd6ddbdae Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Mon, 14 Aug 2023 17:21:15 +0800 Subject: [PATCH] feat: add hint supporting --- include/common/tmsg.h | 2 +- include/common/ttokendef.h | 157 +- include/libs/nodes/querynodes.h | 13 + source/libs/executor/src/mergejoinoperator.c | 15 +- source/libs/nodes/src/nodesUtilFuncs.c | 18 + source/libs/parser/inc/parAst.h | 3 +- source/libs/parser/inc/parUtil.h | 2 +- source/libs/parser/inc/sql.y | 2 +- source/libs/parser/src/parAstCreater.c | 15 +- source/libs/parser/src/parTokenizer.c | 2 + source/libs/parser/src/parTranslater.c | 2 +- source/libs/parser/src/parUtil.c | 5 +- source/libs/parser/src/sql.c | 5314 +++++++++--------- source/libs/planner/inc/planInt.h | 1 + source/libs/planner/src/planLogicCreater.c | 1 + source/libs/planner/src/planOptimizer.c | 14 +- source/libs/planner/src/planUtil.c | 17 + 17 files changed, 2844 insertions(+), 2739 deletions(-) diff --git a/include/common/tmsg.h b/include/common/tmsg.h index 77e42b0cc6..8e95203e88 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -247,6 +247,7 @@ typedef enum ENodeType { QUERY_NODE_WHEN_THEN, QUERY_NODE_CASE_WHEN, QUERY_NODE_EVENT_WINDOW, + QUERY_NODE_HINT, // Statement nodes are used in parser and planner module. QUERY_NODE_SET_OPERATOR = 100, @@ -950,7 +951,6 @@ typedef struct STimeWindow { } STimeWindow; typedef struct SQueryHint { - bool withHint; bool batchScan; } SQueryHint; diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index 43e59346f9..dfffbecc22 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -276,83 +276,86 @@ #define TK_JOIN 258 #define TK_INNER 259 #define TK_SELECT 260 -#define TK_DISTINCT 261 -#define TK_WHERE 262 -#define TK_PARTITION 263 -#define TK_BY 264 -#define TK_SESSION 265 -#define TK_STATE_WINDOW 266 -#define TK_EVENT_WINDOW 267 -#define TK_SLIDING 268 -#define TK_FILL 269 -#define TK_VALUE 270 -#define TK_VALUE_F 271 -#define TK_NONE 272 -#define TK_PREV 273 -#define TK_NULL_F 274 -#define TK_LINEAR 275 -#define TK_NEXT 276 -#define TK_HAVING 277 -#define TK_RANGE 278 -#define TK_EVERY 279 -#define TK_ORDER 280 -#define TK_SLIMIT 281 -#define TK_SOFFSET 282 -#define TK_LIMIT 283 -#define TK_OFFSET 284 -#define TK_ASC 285 -#define TK_NULLS 286 -#define TK_ABORT 287 -#define TK_AFTER 288 -#define TK_ATTACH 289 -#define TK_BEFORE 290 -#define TK_BEGIN 291 -#define TK_BITAND 292 -#define TK_BITNOT 293 -#define TK_BITOR 294 -#define TK_BLOCKS 295 -#define TK_CHANGE 296 -#define TK_COMMA 297 -#define TK_CONCAT 298 -#define TK_CONFLICT 299 -#define TK_COPY 300 -#define TK_DEFERRED 301 -#define TK_DELIMITERS 302 -#define TK_DETACH 303 -#define TK_DIVIDE 304 -#define TK_DOT 305 -#define TK_EACH 306 -#define TK_FAIL 307 -#define TK_FILE 308 -#define TK_FOR 309 -#define TK_GLOB 310 -#define TK_ID 311 -#define TK_IMMEDIATE 312 -#define TK_IMPORT 313 -#define TK_INITIALLY 314 -#define TK_INSTEAD 315 -#define TK_ISNULL 316 -#define TK_KEY 317 -#define TK_MODULES 318 -#define TK_NK_BITNOT 319 -#define TK_NK_SEMI 320 -#define TK_NOTNULL 321 -#define TK_OF 322 -#define TK_PLUS 323 -#define TK_PRIVILEGE 324 -#define TK_RAISE 325 -#define TK_RESTRICT 326 -#define TK_ROW 327 -#define TK_SEMI 328 -#define TK_STAR 329 -#define TK_STATEMENT 330 -#define TK_STRICT 331 -#define TK_STRING 332 -#define TK_TIMES 333 -#define TK_VALUES 334 -#define TK_VARIABLE 335 -#define TK_VIEW 336 -#define TK_WAL 337 +#define TK_NO_BATCH_SCAN 261 +#define TK_BATCH_SCAN 262 +#define TK_DISTINCT 263 +#define TK_WHERE 264 +#define TK_PARTITION 265 +#define TK_BY 266 +#define TK_SESSION 267 +#define TK_STATE_WINDOW 268 +#define TK_EVENT_WINDOW 269 +#define TK_SLIDING 270 +#define TK_FILL 271 +#define TK_VALUE 272 +#define TK_VALUE_F 273 +#define TK_NONE 274 +#define TK_PREV 275 +#define TK_NULL_F 276 +#define TK_LINEAR 277 +#define TK_NEXT 278 +#define TK_HAVING 279 +#define TK_RANGE 280 +#define TK_EVERY 281 +#define TK_ORDER 282 +#define TK_SLIMIT 283 +#define TK_SOFFSET 284 +#define TK_LIMIT 285 +#define TK_OFFSET 286 +#define TK_ASC 287 +#define TK_NULLS 288 +#define TK_ABORT 289 +#define TK_AFTER 290 +#define TK_ATTACH 291 +#define TK_BEFORE 292 +#define TK_BEGIN 293 +#define TK_BITAND 294 +#define TK_BITNOT 295 +#define TK_BITOR 296 +#define TK_BLOCKS 297 +#define TK_CHANGE 298 +#define TK_COMMA 299 +#define TK_CONCAT 300 +#define TK_CONFLICT 301 +#define TK_COPY 302 +#define TK_DEFERRED 303 +#define TK_DELIMITERS 304 +#define TK_DETACH 305 +#define TK_DIVIDE 306 +#define TK_DOT 307 +#define TK_EACH 308 +#define TK_FAIL 309 +#define TK_FILE 310 +#define TK_FOR 311 +#define TK_GLOB 312 +#define TK_ID 313 +#define TK_IMMEDIATE 314 +#define TK_IMPORT 315 +#define TK_INITIALLY 316 +#define TK_INSTEAD 317 +#define TK_ISNULL 318 +#define TK_KEY 319 +#define TK_MODULES 320 +#define TK_NK_BITNOT 321 +#define TK_NK_SEMI 322 +#define TK_NOTNULL 323 +#define TK_OF 324 +#define TK_PLUS 325 +#define TK_PRIVILEGE 326 +#define TK_RAISE 327 +#define TK_RESTRICT 328 +#define TK_ROW 329 +#define TK_SEMI 330 +#define TK_STAR 331 +#define TK_STATEMENT 332 +#define TK_STRICT 333 +#define TK_STRING 334 +#define TK_TIMES 335 +#define TK_VALUES 336 +#define TK_VARIABLE 337 +#define TK_VIEW 338 +#define TK_WAL 339 + #define TK_NK_SPACE 600 diff --git a/include/libs/nodes/querynodes.h b/include/libs/nodes/querynodes.h index a39f1ae9ae..48224e540b 100644 --- a/include/libs/nodes/querynodes.h +++ b/include/libs/nodes/querynodes.h @@ -116,6 +116,18 @@ typedef struct SLeftValueNode { ENodeType type; } SLeftValueNode; +typedef enum EHintOption { + HINT_NO_BATCH_SCAN = 1, + HINT_BATCH_SCAN, +} EHintOption; + +typedef struct SHintNode { + ENodeType type; + EHintOption option; + char* literal; + void* value; +} SHintNode; + typedef struct SOperatorNode { SExprNode node; // QUERY_NODE_OPERATOR EOperatorType opType; @@ -304,6 +316,7 @@ typedef struct SSelectStmt { SLimitNode* pLimit; SLimitNode* pSlimit; STimeWindow timeRange; + SNodeList* pHint; char stmtName[TSDB_TABLE_NAME_LEN]; uint8_t precision; int32_t selectFuncNum; diff --git a/source/libs/executor/src/mergejoinoperator.c b/source/libs/executor/src/mergejoinoperator.c index ede5e798d9..8e3e740b48 100644 --- a/source/libs/executor/src/mergejoinoperator.c +++ b/source/libs/executor/src/mergejoinoperator.c @@ -236,6 +236,9 @@ SOperatorInfo* createMergeJoinOperatorInfo(SOperatorInfo** pDownstream, int32_t goto _error; } numOfDownstream = 2; + } else { + pInfo->downstreamResBlkId[0] = getOperatorResultBlockId(pDownstream[0], 0); + pInfo->downstreamResBlkId[1] = getOperatorResultBlockId(pDownstream[1], 1); } int32_t numOfCols = 0; @@ -653,10 +656,12 @@ static int32_t mergeJoinJoinDownstreamTsRanges(SOperatorInfo* pOperator, int64_t static void setMergeJoinDone(SOperatorInfo* pOperator) { setOperatorCompleted(pOperator); - freeOperatorParam(pOperator->pDownstreamGetParams[0], OP_GET_PARAM); - freeOperatorParam(pOperator->pDownstreamGetParams[1], OP_GET_PARAM); - pOperator->pDownstreamGetParams[0] = NULL; - pOperator->pDownstreamGetParams[1] = NULL; + if (pOperator->pDownstreamGetParams) { + freeOperatorParam(pOperator->pDownstreamGetParams[0], OP_GET_PARAM); + freeOperatorParam(pOperator->pDownstreamGetParams[1], OP_GET_PARAM); + pOperator->pDownstreamGetParams[0] = NULL; + pOperator->pDownstreamGetParams[1] = NULL; + } } static bool mergeJoinGetNextTimestamp(SOperatorInfo* pOperator, int64_t* pLeftTs, int64_t* pRightTs) { @@ -785,7 +790,7 @@ void resetMergeJoinOperator(struct SOperatorInfo* pOperator) { SSDataBlock* doMergeJoin(struct SOperatorInfo* pOperator) { SMJoinOperatorInfo* pJoinInfo = pOperator->info; if (pOperator->status == OP_EXEC_DONE) { - if (NULL == pOperator->pDownstreamGetParams[0] || NULL == pOperator->pDownstreamGetParams[1]) { + if (NULL == pOperator->pDownstreamGetParams || NULL == pOperator->pDownstreamGetParams[0] || NULL == pOperator->pDownstreamGetParams[1]) { qError("total merge join res rows:%" PRId64, pJoinInfo->resRows); return NULL; } else { diff --git a/source/libs/nodes/src/nodesUtilFuncs.c b/source/libs/nodes/src/nodesUtilFuncs.c index a53eb22df8..bda40672e1 100644 --- a/source/libs/nodes/src/nodesUtilFuncs.c +++ b/source/libs/nodes/src/nodesUtilFuncs.c @@ -301,6 +301,8 @@ SNode* nodesMakeNode(ENodeType type) { return makeNode(type, sizeof(SCaseWhenNode)); case QUERY_NODE_EVENT_WINDOW: return makeNode(type, sizeof(SEventWindowNode)); + case QUERY_NODE_HINT: + return makeNode(type, sizeof(SHintNode)); case QUERY_NODE_SET_OPERATOR: return makeNode(type, sizeof(SSetOperator)); case QUERY_NODE_SELECT_STMT: @@ -656,6 +658,15 @@ static void destroyTableCfg(STableCfg* pCfg) { static void destroySmaIndex(void* pIndex) { taosMemoryFree(((STableIndexInfo*)pIndex)->expr); } +static void destroyHintValue(EHintOption option, void* value) { + switch (option) { + default: + break; + } + + taosMemoryFree(value); +} + void nodesDestroyNode(SNode* pNode) { if (NULL == pNode) { return; @@ -814,6 +825,12 @@ void nodesDestroyNode(SNode* pNode) { nodesDestroyNode(pEvent->pEndCond); break; } + case QUERY_NODE_HINT: { + SHintNode* pHint = (SHintNode*)pNode; + taosMemoryFreeClear(pHint->literal); + destroyHintValue(pHint->option, pHint->value); + break; + } case QUERY_NODE_SET_OPERATOR: { SSetOperator* pStmt = (SSetOperator*)pNode; nodesDestroyList(pStmt->pProjectionList); @@ -840,6 +857,7 @@ void nodesDestroyNode(SNode* pNode) { nodesDestroyList(pStmt->pOrderByList); nodesDestroyNode((SNode*)pStmt->pLimit); nodesDestroyNode((SNode*)pStmt->pSlimit); + nodesDestroyList(pStmt->pHint); break; } case QUERY_NODE_VNODE_MODIFY_STMT: { diff --git a/source/libs/parser/inc/parAst.h b/source/libs/parser/inc/parAst.h index 78422bf746..458b9861c1 100644 --- a/source/libs/parser/inc/parAst.h +++ b/source/libs/parser/inc/parAst.h @@ -101,6 +101,7 @@ SNodeList* addNodeToList(SAstCreateContext* pCxt, SNodeList* pList, SNode* pNode SNode* createColumnNode(SAstCreateContext* pCxt, SToken* pTableAlias, SToken* pColumnName); SNode* createValueNode(SAstCreateContext* pCxt, int32_t dataType, const SToken* pLiteral); +SNode* createHintNode(SAstCreateContext* pCxt, EHintOption option, const SToken* pLiteral); SNode* createIdentifierValueNode(SAstCreateContext* pCxt, SToken* pLiteral); SNode* createDurationValueNode(SAstCreateContext* pCxt, const SToken* pLiteral); SNode* createDefaultDatabaseCondValue(SAstCreateContext* pCxt); @@ -142,7 +143,7 @@ SNode* addLimitClause(SAstCreateContext* pCxt, SNode* pStmt, SNode* pLimit); SNode* addRangeClause(SAstCreateContext* pCxt, SNode* pStmt, SNode* pRange); SNode* addEveryClause(SAstCreateContext* pCxt, SNode* pStmt, SNode* pEvery); SNode* addFillClause(SAstCreateContext* pCxt, SNode* pStmt, SNode* pFill); -SNode* createSelectStmt(SAstCreateContext* pCxt, bool isDistinct, SNodeList* pProjectionList, SNode* pTable); +SNode* createSelectStmt(SAstCreateContext* pCxt, bool isDistinct, SNodeList* pProjectionList, SNode* pTable, SNodeList* pHint); SNode* createSetOperator(SAstCreateContext* pCxt, ESetOperatorType type, SNode* pLeft, SNode* pRight); SDataType createDataType(uint8_t type); diff --git a/source/libs/parser/inc/parUtil.h b/source/libs/parser/inc/parUtil.h index d96bb9bba4..41cf45906f 100644 --- a/source/libs/parser/inc/parUtil.h +++ b/source/libs/parser/inc/parUtil.h @@ -116,7 +116,7 @@ int32_t getTableIndexFromCache(SParseMetaCache* pMetaCache, const SName* pName, int32_t getTableCfgFromCache(SParseMetaCache* pMetaCache, const SName* pName, STableCfg** pOutput); int32_t getDnodeListFromCache(SParseMetaCache* pMetaCache, SArray** pDnodes); void destoryParseMetaCache(SParseMetaCache* pMetaCache, bool request); -SNode* createSelectStmtImpl(bool isDistinct, SNodeList* pProjectionList, SNode* pTable); +SNode* createSelectStmtImpl(bool isDistinct, SNodeList* pProjectionList, SNode* pTable, SNodeList* pHint); /** * @brief return a - b with overflow check diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index 404127c22d..d7731e3c11 100755 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -1024,12 +1024,12 @@ query_specification(A) ::= } -hint_opt(A) ::= . { A = false; } hint_opt(A) ::= NO_BATCH_SCAN NK_LP NK_RP. { A = createHintNode(pCxt, HINT_NO_BATCH_SCAN, NULL); } hint_opt(A) ::= BATCH_SCAN NK_LP NK_RP. { A = createHintNode(pCxt, HINT_BATCH_SCAN, NULL); } %type hint_opt_list { SNodeList* } %destructor hint_opt_list { nodesDestroyList($$); } +hint_opt_list(A) ::= . { A = NULL; } hint_opt_list(A) ::= hint_opt(B). { A = createNodeList(pCxt, B); } hint_opt_list(A) ::= hint_opt_list(B) hint_opt(C). { A = addNodeToList(pCxt, B, C); } diff --git a/source/libs/parser/src/parAstCreater.c b/source/libs/parser/src/parAstCreater.c index f85218c50a..7bf2db8fab 100644 --- a/source/libs/parser/src/parAstCreater.c +++ b/source/libs/parser/src/parAstCreater.c @@ -348,6 +348,17 @@ SNode* createValueNode(SAstCreateContext* pCxt, int32_t dataType, const SToken* return (SNode*)val; } +SNode* createHintNode(SAstCreateContext* pCxt, EHintOption option, const SToken* pLiteral) { + CHECK_PARSER_STATUS(pCxt); + SHintNode* hint = (SHintNode*)nodesMakeNode(QUERY_NODE_HINT); + CHECK_OUT_OF_MEM(hint); + hint->option = option; + hint->literal = strndup(pLiteral->z, pLiteral->n); + trimString(pLiteral->z, pLiteral->n, hint->literal, pLiteral->n); + CHECK_OUT_OF_MEM(hint->literal); + return (SNode*)hint; +} + SNode* createIdentifierValueNode(SAstCreateContext* pCxt, SToken* pLiteral) { trimEscape(pLiteral); return createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, pLiteral); @@ -845,9 +856,9 @@ SNode* addFillClause(SAstCreateContext* pCxt, SNode* pStmt, SNode* pFill) { return pStmt; } -SNode* createSelectStmt(SAstCreateContext* pCxt, bool isDistinct, SNodeList* pProjectionList, SNode* pTable) { +SNode* createSelectStmt(SAstCreateContext* pCxt, bool isDistinct, SNodeList* pProjectionList, SNode* pTable, SNodeList* pHint) { CHECK_PARSER_STATUS(pCxt); - SNode* select = createSelectStmtImpl(isDistinct, pProjectionList, pTable); + SNode* select = createSelectStmtImpl(isDistinct, pProjectionList, pTable, pHint); CHECK_OUT_OF_MEM(select); return select; } diff --git a/source/libs/parser/src/parTokenizer.c b/source/libs/parser/src/parTokenizer.c index 42af7180a8..87fd6176ef 100644 --- a/source/libs/parser/src/parTokenizer.c +++ b/source/libs/parser/src/parTokenizer.c @@ -42,6 +42,7 @@ static SKeyword keywordTable[] = { {"ASC", TK_ASC}, {"AT_ONCE", TK_AT_ONCE}, {"BALANCE", TK_BALANCE}, + {"BATCH_SCAN", TK_BATCH_SCAN}, {"BETWEEN", TK_BETWEEN}, {"BIGINT", TK_BIGINT}, {"BINARY", TK_BINARY}, @@ -153,6 +154,7 @@ static SKeyword keywordTable[] = { {"NONE", TK_NONE}, {"NOT", TK_NOT}, {"NOW", TK_NOW}, + {"NO_BATCH_SCAN", TK_NO_BATCH_SCAN}, {"NULL", TK_NULL}, {"NULL_F", TK_NULL_F}, {"NULLS", TK_NULLS}, diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index f05c4db698..fbec998c73 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -6166,7 +6166,7 @@ static int32_t buildQueryForTableTopic(STranslateContext* pCxt, SCreateTopicStmt strcpy(realTable->table.dbName, pStmt->subDbName); strcpy(realTable->table.tableName, pStmt->subSTbName); strcpy(realTable->table.tableAlias, pStmt->subSTbName); - *pSelect = createSelectStmtImpl(true, pProjection, (SNode*)realTable); + *pSelect = createSelectStmtImpl(true, pProjection, (SNode*)realTable, NULL); ((SSelectStmt*)*pSelect)->pWhere = nodesCloneNode(pStmt->pWhere); pCxt->pParseCxt->topicQuery = true; code = translateQuery(pCxt, *pSelect); diff --git a/source/libs/parser/src/parUtil.c b/source/libs/parser/src/parUtil.c index 1c292b1ec4..c30efcb18c 100644 --- a/source/libs/parser/src/parUtil.c +++ b/source/libs/parser/src/parUtil.c @@ -692,7 +692,7 @@ int32_t buildCatalogReq(const SParseMetaCache* pMetaCache, SCatalogReq* pCatalog } -SNode* createSelectStmtImpl(bool isDistinct, SNodeList* pProjectionList, SNode* pTable) { +SNode* createSelectStmtImpl(bool isDistinct, SNodeList* pProjectionList, SNode* pTable, SNodeList* pHint) { SSelectStmt* select = (SSelectStmt*)nodesMakeNode(QUERY_NODE_SELECT_STMT); if (NULL == select) { return NULL; @@ -704,6 +704,7 @@ SNode* createSelectStmtImpl(bool isDistinct, SNodeList* pProjectionList, SNode* select->timeLineResMode = select->isDistinct ? TIME_LINE_NONE : TIME_LINE_GLOBAL; select->onlyHasKeepOrderFunc = true; select->timeRange = TSWINDOW_INITIALIZER; + select->pHint = pHint; return (SNode*)select; } @@ -1157,3 +1158,5 @@ int64_t int64SafeSub(int64_t a, int64_t b) { } return res; } + + diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index a912fb4e71..33e3778224 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -104,27 +104,27 @@ #endif /************* Begin control #defines *****************************************/ #define YYCODETYPE unsigned short int -#define YYNOCODE 487 +#define YYNOCODE 491 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; - EJoinType yy140; - SDataType yy310; - STokenPair yy347; - EOperatorType yy354; - SAlterOption yy365; - SToken yy371; - ENullOrder yy399; - int32_t yy416; - SNode* yy452; - int8_t yy475; - bool yy667; - EOrder yy690; - int64_t yy729; - SNodeList* yy812; - EFillMode yy844; + int64_t yy87; + ENullOrder yy201; + SNodeList* yy216; + EOperatorType yy220; + int8_t yy343; + SToken yy347; + EOrder yy384; + EJoinType yy408; + STokenPair yy447; + SAlterOption yy467; + int32_t yy540; + SNode* yy572; + EFillMode yy782; + SDataType yy806; + bool yy977; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -140,18 +140,18 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 800 -#define YYNRULE 600 -#define YYNRULE_WITH_ACTION 600 -#define YYNTOKEN 338 -#define YY_MAX_SHIFT 799 -#define YY_MIN_SHIFTREDUCE 1180 -#define YY_MAX_SHIFTREDUCE 1779 -#define YY_ERROR_ACTION 1780 -#define YY_ACCEPT_ACTION 1781 -#define YY_NO_ACTION 1782 -#define YY_MIN_REDUCE 1783 -#define YY_MAX_REDUCE 2382 +#define YYNSTATE 805 +#define YYNRULE 605 +#define YYNRULE_WITH_ACTION 605 +#define YYNTOKEN 340 +#define YY_MAX_SHIFT 804 +#define YY_MIN_SHIFTREDUCE 1189 +#define YY_MAX_SHIFTREDUCE 1793 +#define YY_ERROR_ACTION 1794 +#define YY_ACCEPT_ACTION 1795 +#define YY_NO_ACTION 1796 +#define YY_MIN_REDUCE 1797 +#define YY_MAX_REDUCE 2401 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -218,821 +218,819 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (2858) +#define YY_ACTTAB_COUNT (2832) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 2126, 2193, 2171, 2082, 221, 690, 1960, 2154, 537, 1949, - /* 10 */ 1826, 670, 48, 46, 1706, 394, 2179, 1213, 2079, 677, - /* 20 */ 401, 2358, 1555, 41, 40, 135, 2175, 47, 45, 44, - /* 30 */ 43, 42, 574, 1636, 453, 1553, 2171, 539, 1582, 2211, - /* 40 */ 41, 40, 1781, 536, 47, 45, 44, 43, 42, 254, - /* 50 */ 1951, 2161, 1945, 706, 630, 531, 1215, 2353, 1218, 1219, - /* 60 */ 2175, 181, 1631, 529, 2177, 398, 525, 521, 19, 1238, - /* 70 */ 66, 1237, 2359, 188, 700, 1561, 30, 2354, 656, 348, - /* 80 */ 689, 369, 2065, 361, 140, 690, 1960, 2192, 1580, 2228, - /* 90 */ 667, 144, 112, 2194, 710, 2196, 2197, 705, 2177, 700, - /* 100 */ 796, 168, 1239, 15, 185, 135, 2281, 103, 700, 1901, - /* 110 */ 397, 2277, 579, 497, 2082, 416, 48, 46, 690, 1960, - /* 120 */ 415, 689, 1769, 190, 401, 264, 1555, 1665, 1371, 2080, - /* 130 */ 677, 2307, 1953, 1580, 38, 306, 1746, 1636, 193, 1553, - /* 140 */ 1638, 1639, 1806, 1362, 735, 734, 733, 1366, 732, 1368, - /* 150 */ 1369, 731, 728, 1805, 1377, 725, 1379, 1380, 722, 719, - /* 160 */ 716, 184, 630, 51, 655, 2353, 1631, 2353, 94, 62, - /* 170 */ 1611, 1621, 19, 2000, 212, 211, 1637, 1640, 675, 1561, - /* 180 */ 2359, 188, 654, 188, 1666, 2354, 656, 2354, 656, 2296, - /* 190 */ 288, 1556, 2161, 1554, 286, 2289, 666, 496, 136, 665, - /* 200 */ 169, 2353, 1795, 2161, 796, 41, 40, 15, 2193, 47, - /* 210 */ 45, 44, 43, 42, 62, 2293, 654, 188, 707, 1315, - /* 220 */ 435, 2354, 656, 1559, 1560, 1783, 1610, 1613, 1614, 1615, - /* 230 */ 1616, 1617, 1618, 1619, 1620, 702, 698, 1629, 1630, 1632, - /* 240 */ 1633, 1634, 1635, 2, 1638, 1639, 2211, 437, 433, 134, - /* 250 */ 133, 132, 131, 130, 129, 128, 127, 126, 2161, 1317, - /* 260 */ 706, 1784, 37, 399, 1660, 1661, 1662, 1663, 1664, 1668, - /* 270 */ 1669, 1670, 1671, 534, 1611, 1621, 535, 1819, 551, 1580, - /* 280 */ 1637, 1640, 125, 1464, 1465, 124, 123, 122, 121, 120, - /* 290 */ 119, 118, 117, 116, 2192, 1556, 2228, 1554, 645, 112, - /* 300 */ 2194, 710, 2196, 2197, 705, 650, 700, 2044, 395, 147, - /* 310 */ 1580, 151, 2252, 2281, 1581, 2193, 166, 397, 2277, 1238, - /* 320 */ 191, 1237, 667, 144, 1962, 670, 191, 1559, 1560, 1703, - /* 330 */ 1610, 1613, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 702, - /* 340 */ 698, 1629, 1630, 1632, 1633, 1634, 1635, 2, 12, 48, - /* 350 */ 46, 745, 1239, 2211, 2013, 410, 409, 401, 2182, 1555, - /* 360 */ 2358, 367, 62, 2353, 181, 2161, 1582, 706, 615, 2011, - /* 370 */ 1636, 191, 1553, 592, 591, 590, 690, 1960, 1562, 2357, - /* 380 */ 582, 141, 586, 2354, 2356, 2066, 585, 649, 651, 646, - /* 390 */ 639, 584, 589, 377, 376, 146, 56, 583, 2252, 1631, - /* 400 */ 252, 2192, 629, 2228, 251, 19, 112, 2194, 710, 2196, - /* 410 */ 2197, 705, 1561, 700, 2184, 2211, 297, 298, 185, 542, - /* 420 */ 2281, 296, 535, 1819, 397, 2277, 187, 2289, 2290, 2193, - /* 430 */ 142, 2294, 1221, 655, 1406, 1407, 2353, 796, 1579, 707, - /* 440 */ 15, 1828, 41, 40, 1272, 2308, 47, 45, 44, 43, - /* 450 */ 42, 654, 188, 48, 46, 1641, 2354, 656, 223, 2193, - /* 460 */ 1612, 401, 537, 1555, 1826, 93, 475, 2211, 356, 707, - /* 470 */ 648, 381, 166, 608, 1636, 474, 1553, 1638, 1639, 2161, - /* 480 */ 1963, 706, 2358, 125, 1273, 2353, 124, 123, 122, 121, - /* 490 */ 120, 119, 118, 117, 116, 2013, 62, 2211, 1804, 667, - /* 500 */ 144, 2357, 382, 1631, 12, 2354, 2355, 1611, 1621, 2161, - /* 510 */ 2011, 706, 109, 1637, 1640, 2192, 1561, 2228, 288, 191, - /* 520 */ 112, 2194, 710, 2196, 2197, 705, 60, 700, 1556, 145, - /* 530 */ 1554, 578, 2373, 627, 2281, 577, 1565, 1952, 397, 2277, - /* 540 */ 1710, 796, 690, 1960, 49, 2192, 1580, 2228, 2161, 2193, - /* 550 */ 170, 2194, 710, 2196, 2197, 705, 12, 700, 10, 707, - /* 560 */ 1559, 1560, 451, 1610, 1613, 1614, 1615, 1616, 1617, 1618, - /* 570 */ 1619, 1620, 702, 698, 1629, 1630, 1632, 1633, 1634, 1635, - /* 580 */ 2, 1638, 1639, 445, 1326, 444, 1702, 2211, 41, 40, - /* 590 */ 631, 2318, 47, 45, 44, 43, 42, 1325, 2296, 2161, - /* 600 */ 1583, 706, 669, 186, 2289, 2290, 165, 142, 2294, 1561, - /* 610 */ 1803, 1611, 1621, 690, 1960, 443, 406, 1637, 1640, 2006, - /* 620 */ 2008, 41, 40, 404, 2292, 47, 45, 44, 43, 42, - /* 630 */ 2296, 163, 1556, 452, 1554, 2192, 676, 2228, 383, 1962, - /* 640 */ 112, 2194, 710, 2196, 2197, 705, 2011, 700, 253, 689, - /* 650 */ 447, 2193, 2256, 191, 2281, 446, 2291, 2155, 397, 2277, - /* 660 */ 2161, 707, 506, 2315, 1559, 1560, 154, 1610, 1613, 1614, - /* 670 */ 1615, 1616, 1617, 1618, 1619, 1620, 702, 698, 1629, 1630, - /* 680 */ 1632, 1633, 1634, 1635, 2, 48, 46, 1937, 549, 2211, - /* 690 */ 2075, 457, 2061, 401, 755, 1555, 1612, 630, 667, 144, - /* 700 */ 2353, 2161, 2013, 706, 630, 1936, 1636, 2353, 1553, 391, - /* 710 */ 47, 45, 44, 43, 42, 2359, 188, 2011, 1526, 1527, - /* 720 */ 2354, 656, 2359, 188, 463, 2061, 55, 2354, 656, 14, - /* 730 */ 13, 1734, 51, 690, 1960, 1631, 1947, 2192, 202, 2228, - /* 740 */ 597, 676, 112, 2194, 710, 2196, 2197, 705, 1561, 700, - /* 750 */ 690, 1960, 266, 465, 2373, 607, 2281, 1862, 41, 40, - /* 760 */ 397, 2277, 47, 45, 44, 43, 42, 2193, 1802, 250, - /* 770 */ 480, 205, 745, 796, 690, 1960, 49, 704, 642, 641, - /* 780 */ 1732, 1733, 1735, 1736, 1737, 600, 490, 2061, 2357, 48, - /* 790 */ 46, 1935, 594, 674, 481, 2075, 1776, 401, 249, 1555, - /* 800 */ 404, 1581, 189, 2289, 2290, 2211, 142, 2294, 166, 692, - /* 810 */ 1636, 2253, 1553, 1638, 1639, 1846, 1962, 2161, 2161, 706, - /* 820 */ 743, 156, 155, 740, 739, 738, 153, 592, 591, 590, - /* 830 */ 2007, 2008, 1679, 210, 582, 141, 586, 593, 70, 1631, - /* 840 */ 585, 69, 52, 1611, 1621, 584, 589, 377, 376, 1637, - /* 850 */ 1640, 583, 1561, 2192, 1745, 2228, 1241, 1242, 342, 2194, - /* 860 */ 710, 2196, 2197, 705, 1556, 700, 1554, 2247, 41, 40, - /* 870 */ 1801, 1943, 47, 45, 44, 43, 42, 796, 570, 569, - /* 880 */ 15, 2193, 743, 156, 155, 740, 739, 738, 153, 1800, - /* 890 */ 613, 707, 207, 2328, 1799, 1964, 1559, 1560, 1775, 1610, - /* 900 */ 1613, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 702, 698, - /* 910 */ 1629, 1630, 1632, 1633, 1634, 1635, 2, 1638, 1639, 2211, - /* 920 */ 2161, 1481, 1482, 606, 743, 156, 155, 740, 739, 738, - /* 930 */ 153, 2161, 86, 706, 2013, 85, 604, 630, 602, 2161, - /* 940 */ 2353, 396, 690, 1960, 2161, 690, 1960, 1611, 1621, 2011, - /* 950 */ 736, 690, 1960, 1637, 1640, 2359, 188, 1480, 1483, 259, - /* 960 */ 2354, 656, 550, 737, 1722, 1957, 2004, 2192, 1556, 2228, - /* 970 */ 1554, 255, 112, 2194, 710, 2196, 2197, 705, 9, 700, - /* 980 */ 588, 587, 34, 2147, 2373, 1330, 2281, 676, 41, 40, - /* 990 */ 397, 2277, 47, 45, 44, 43, 42, 1798, 1329, 191, - /* 1000 */ 1559, 1560, 1859, 1610, 1613, 1614, 1615, 1616, 1617, 1618, - /* 1010 */ 1619, 1620, 702, 698, 1629, 1630, 1632, 1633, 1634, 1635, - /* 1020 */ 2, 1646, 352, 167, 1578, 690, 1960, 1580, 327, 690, - /* 1030 */ 1960, 488, 423, 90, 504, 572, 571, 503, 2171, 685, - /* 1040 */ 407, 2075, 324, 73, 2144, 263, 72, 2161, 166, 673, - /* 1050 */ 371, 2013, 2180, 471, 671, 505, 1962, 349, 405, 1955, - /* 1060 */ 473, 701, 2175, 508, 1797, 658, 2011, 1794, 219, 516, - /* 1070 */ 514, 511, 773, 772, 771, 770, 413, 1938, 769, 768, - /* 1080 */ 148, 763, 762, 761, 760, 759, 758, 757, 158, 753, - /* 1090 */ 752, 751, 412, 411, 748, 747, 746, 176, 175, 1583, - /* 1100 */ 2177, 630, 690, 1960, 2353, 1583, 370, 237, 62, 374, - /* 1110 */ 700, 44, 43, 42, 2161, 690, 1960, 2161, 459, 2359, - /* 1120 */ 188, 149, 301, 173, 2354, 656, 690, 1960, 262, 690, - /* 1130 */ 1960, 568, 564, 560, 556, 687, 236, 1793, 662, 694, - /* 1140 */ 1667, 2253, 767, 765, 1792, 1791, 688, 111, 501, 307, - /* 1150 */ 1790, 495, 494, 493, 492, 487, 486, 485, 484, 483, - /* 1160 */ 479, 478, 477, 476, 351, 468, 467, 466, 659, 461, - /* 1170 */ 460, 368, 690, 1960, 2301, 1699, 91, 1612, 375, 234, - /* 1180 */ 373, 372, 1837, 576, 90, 1789, 1788, 2161, 81, 80, - /* 1190 */ 450, 2193, 408, 200, 2161, 2161, 1787, 2013, 1699, 741, - /* 1200 */ 2161, 707, 2004, 637, 595, 578, 442, 440, 1786, 577, - /* 1210 */ 1956, 742, 2012, 320, 2004, 1902, 1990, 350, 35, 54, - /* 1220 */ 431, 3, 2193, 429, 425, 421, 418, 443, 1672, 2211, - /* 1230 */ 756, 454, 707, 1922, 2346, 2161, 2161, 1218, 1219, 154, - /* 1240 */ 83, 2161, 137, 706, 455, 74, 2161, 233, 227, 580, - /* 1250 */ 242, 203, 2193, 240, 232, 547, 244, 265, 2161, 243, - /* 1260 */ 2211, 430, 707, 246, 2300, 191, 245, 248, 154, 581, - /* 1270 */ 247, 1313, 2161, 225, 706, 1835, 50, 2192, 610, 2228, - /* 1280 */ 609, 50, 112, 2194, 710, 2196, 2197, 705, 697, 700, - /* 1290 */ 2211, 1311, 1778, 1779, 2373, 84, 2281, 598, 1796, 1521, - /* 1300 */ 397, 2277, 2161, 643, 706, 1564, 270, 154, 2192, 108, - /* 1310 */ 2228, 2321, 283, 112, 2194, 710, 2196, 2197, 705, 105, - /* 1320 */ 700, 50, 294, 1563, 1555, 2373, 71, 2281, 1524, 152, - /* 1330 */ 154, 397, 2277, 14, 13, 64, 1731, 1553, 2192, 50, - /* 1340 */ 2228, 1730, 2193, 112, 2194, 710, 2196, 2197, 705, 50, - /* 1350 */ 700, 1829, 707, 410, 409, 2373, 277, 2281, 36, 714, - /* 1360 */ 139, 397, 2277, 1569, 41, 40, 272, 672, 47, 45, - /* 1370 */ 44, 43, 42, 2193, 1636, 1900, 1562, 1561, 663, 152, - /* 1380 */ 2211, 1478, 299, 707, 154, 749, 682, 1899, 2212, 303, - /* 1390 */ 1356, 750, 2161, 138, 706, 1673, 384, 152, 2070, 1622, - /* 1400 */ 414, 791, 796, 1631, 1820, 1825, 660, 1291, 2001, 319, - /* 1410 */ 2193, 2211, 2311, 1289, 668, 285, 1561, 282, 422, 1384, - /* 1420 */ 707, 1, 417, 2161, 5, 706, 365, 1586, 2192, 438, - /* 1430 */ 2228, 1502, 196, 112, 2194, 710, 2196, 2197, 705, 1388, - /* 1440 */ 700, 696, 439, 1657, 1395, 2254, 441, 2281, 2211, 195, - /* 1450 */ 198, 397, 2277, 1393, 314, 1579, 456, 157, 209, 2192, - /* 1460 */ 2161, 2228, 706, 1567, 112, 2194, 710, 2196, 2197, 705, - /* 1470 */ 1583, 700, 462, 458, 469, 499, 693, 2071, 2281, 464, - /* 1480 */ 1578, 1566, 397, 2277, 482, 491, 489, 2063, 498, 500, - /* 1490 */ 509, 510, 507, 1556, 213, 1554, 2192, 214, 2228, 2193, - /* 1500 */ 512, 113, 2194, 710, 2196, 2197, 705, 513, 700, 707, - /* 1510 */ 1584, 216, 532, 515, 517, 2281, 4, 533, 540, 2280, - /* 1520 */ 2277, 541, 543, 1581, 224, 1559, 1560, 226, 1585, 544, - /* 1530 */ 545, 1587, 1570, 546, 1565, 229, 548, 2211, 231, 88, - /* 1540 */ 89, 552, 235, 573, 355, 575, 1950, 114, 2193, 2161, - /* 1550 */ 239, 706, 1946, 612, 614, 92, 150, 618, 707, 315, - /* 1560 */ 256, 619, 617, 2135, 1573, 1575, 241, 159, 160, 1948, - /* 1570 */ 258, 260, 1944, 161, 2193, 162, 2132, 698, 1629, 1630, - /* 1580 */ 1632, 1633, 1634, 1635, 704, 2192, 2211, 2228, 625, 1509, - /* 1590 */ 113, 2194, 710, 2196, 2197, 705, 2131, 700, 2161, 644, - /* 1600 */ 706, 622, 634, 8, 2281, 2312, 2327, 680, 695, 2277, - /* 1610 */ 640, 2322, 2211, 387, 624, 2326, 647, 623, 268, 271, - /* 1620 */ 2303, 653, 276, 635, 2161, 2193, 706, 632, 633, 281, - /* 1630 */ 2376, 388, 1699, 661, 708, 707, 2228, 664, 2193, 113, - /* 1640 */ 2194, 710, 2196, 2197, 705, 143, 700, 1582, 707, 289, - /* 1650 */ 178, 1588, 278, 2281, 2076, 316, 98, 360, 2277, 2297, - /* 1660 */ 2192, 317, 2228, 2211, 678, 342, 2194, 710, 2196, 2197, - /* 1670 */ 705, 703, 700, 691, 2246, 2161, 2211, 706, 679, 683, - /* 1680 */ 2090, 279, 174, 684, 2089, 280, 100, 2193, 2161, 318, - /* 1690 */ 706, 2088, 393, 102, 61, 2262, 104, 707, 2352, 1961, - /* 1700 */ 712, 2005, 1923, 792, 2193, 284, 793, 321, 795, 2153, - /* 1710 */ 357, 2192, 310, 2228, 707, 358, 171, 2194, 710, 2196, - /* 1720 */ 2197, 705, 53, 700, 2192, 2211, 2228, 325, 323, 113, - /* 1730 */ 2194, 710, 2196, 2197, 705, 345, 700, 2161, 2152, 706, - /* 1740 */ 330, 344, 2211, 2281, 334, 2151, 78, 385, 2278, 2148, - /* 1750 */ 419, 420, 1546, 2193, 2161, 1547, 706, 194, 424, 2146, - /* 1760 */ 426, 427, 428, 707, 2145, 366, 2143, 657, 2374, 432, - /* 1770 */ 2142, 2141, 434, 2192, 436, 2228, 1537, 2193, 170, 2194, - /* 1780 */ 710, 2196, 2197, 705, 2122, 700, 197, 707, 2121, 199, - /* 1790 */ 2192, 2211, 2228, 1505, 79, 343, 2194, 710, 2196, 2197, - /* 1800 */ 705, 1504, 700, 2161, 2193, 706, 2103, 2102, 2101, 448, - /* 1810 */ 449, 2100, 2099, 2054, 707, 2211, 1455, 2053, 2050, 2319, - /* 1820 */ 386, 201, 2049, 82, 2193, 2048, 2047, 2161, 2052, 706, - /* 1830 */ 204, 2051, 2046, 2045, 707, 2043, 2042, 2041, 206, 2192, - /* 1840 */ 470, 2228, 2211, 2040, 336, 2194, 710, 2196, 2197, 705, - /* 1850 */ 472, 700, 2056, 2039, 2161, 2038, 706, 2037, 2036, 2035, - /* 1860 */ 2034, 2033, 2211, 2192, 2032, 2228, 2031, 392, 343, 2194, - /* 1870 */ 710, 2196, 2197, 705, 2161, 700, 706, 208, 2024, 2023, - /* 1880 */ 87, 2022, 2021, 2055, 2020, 2019, 215, 652, 2030, 2029, - /* 1890 */ 2192, 2193, 2228, 2028, 2027, 171, 2194, 710, 2196, 2197, - /* 1900 */ 705, 707, 700, 2026, 2025, 2018, 2017, 2016, 1457, 2015, - /* 1910 */ 2192, 502, 2228, 2014, 1327, 343, 2194, 710, 2196, 2197, - /* 1920 */ 705, 2193, 700, 353, 354, 1865, 1323, 1864, 1863, 2211, - /* 1930 */ 1331, 707, 217, 218, 400, 1861, 1858, 520, 1857, 519, - /* 1940 */ 524, 2161, 1850, 706, 523, 518, 522, 2375, 527, 526, - /* 1950 */ 1839, 528, 530, 1815, 1220, 76, 1814, 220, 2120, 2211, - /* 1960 */ 2110, 77, 182, 222, 402, 2098, 2181, 183, 538, 228, - /* 1970 */ 2097, 2161, 230, 706, 553, 554, 555, 2192, 2074, 2228, - /* 1980 */ 2193, 1939, 343, 2194, 710, 2196, 2197, 705, 616, 700, - /* 1990 */ 707, 1860, 1856, 1265, 1854, 558, 557, 1852, 559, 561, - /* 2000 */ 562, 563, 1849, 565, 566, 567, 799, 2192, 1834, 2228, - /* 2010 */ 1832, 1833, 343, 2194, 710, 2196, 2197, 705, 2211, 700, - /* 2020 */ 313, 1831, 1811, 1941, 1940, 1400, 1399, 764, 1314, 766, - /* 2030 */ 2161, 1312, 706, 1310, 1309, 1308, 180, 1847, 1307, 1301, - /* 2040 */ 1306, 63, 238, 1838, 789, 785, 781, 777, 1303, 311, - /* 2050 */ 1302, 1300, 378, 2193, 379, 1836, 380, 596, 1810, 1809, - /* 2060 */ 599, 601, 603, 707, 1808, 2119, 611, 605, 2228, 115, - /* 2070 */ 1531, 338, 2194, 710, 2196, 2197, 705, 1533, 700, 1530, - /* 2080 */ 1535, 1511, 29, 67, 2193, 1515, 2109, 2096, 1513, 110, - /* 2090 */ 164, 2211, 304, 620, 707, 2095, 2358, 20, 17, 1748, - /* 2100 */ 6, 21, 65, 2161, 31, 706, 57, 261, 7, 626, - /* 2110 */ 275, 638, 267, 621, 22, 1490, 1489, 274, 269, 2193, - /* 2120 */ 636, 172, 2211, 628, 1729, 686, 2182, 33, 24, 707, - /* 2130 */ 58, 273, 32, 23, 2161, 1721, 706, 1768, 18, 2192, - /* 2140 */ 1769, 2228, 95, 1763, 328, 2194, 710, 2196, 2197, 705, - /* 2150 */ 1762, 700, 389, 1767, 1766, 390, 2193, 2211, 287, 177, - /* 2160 */ 291, 2094, 2073, 292, 97, 1696, 707, 290, 59, 2161, - /* 2170 */ 2192, 706, 2228, 1695, 2072, 326, 2194, 710, 2196, 2197, - /* 2180 */ 705, 2193, 700, 96, 25, 295, 257, 99, 105, 293, - /* 2190 */ 305, 707, 1727, 300, 2211, 68, 26, 101, 1648, 11, - /* 2200 */ 13, 1647, 1571, 179, 2231, 2192, 2161, 2228, 706, 1658, - /* 2210 */ 329, 2194, 710, 2196, 2197, 705, 681, 700, 2193, 2211, - /* 2220 */ 302, 1603, 192, 711, 713, 1626, 1624, 403, 707, 699, - /* 2230 */ 39, 2161, 1623, 706, 16, 27, 717, 1595, 28, 720, - /* 2240 */ 1385, 715, 2192, 2193, 2228, 1382, 1381, 335, 2194, 710, - /* 2250 */ 2196, 2197, 705, 707, 700, 1378, 2211, 718, 721, 723, - /* 2260 */ 724, 726, 1372, 709, 1370, 729, 727, 2192, 2161, 2228, - /* 2270 */ 706, 730, 339, 2194, 710, 2196, 2197, 705, 1376, 700, - /* 2280 */ 106, 2211, 308, 1394, 1375, 1390, 107, 75, 1263, 1374, - /* 2290 */ 1373, 744, 1295, 2161, 1294, 706, 1293, 1292, 309, 1290, - /* 2300 */ 1288, 1287, 1286, 1321, 2192, 754, 2228, 1284, 1283, 331, - /* 2310 */ 2194, 710, 2196, 2197, 705, 2193, 700, 1282, 1281, 1280, - /* 2320 */ 1279, 1278, 1318, 1316, 1275, 707, 1274, 1271, 1270, 2192, - /* 2330 */ 2193, 2228, 1269, 1268, 340, 2194, 710, 2196, 2197, 705, - /* 2340 */ 707, 700, 1855, 774, 775, 776, 1853, 778, 2193, 779, - /* 2350 */ 1851, 782, 780, 2211, 783, 1848, 784, 786, 707, 788, - /* 2360 */ 1830, 790, 1210, 787, 1807, 2161, 312, 706, 2211, 794, - /* 2370 */ 1782, 1557, 798, 322, 797, 1782, 1782, 1782, 1782, 1782, - /* 2380 */ 2161, 1782, 706, 1782, 1782, 1782, 2211, 1782, 1782, 1782, - /* 2390 */ 1782, 1782, 1782, 1782, 1782, 2193, 1782, 1782, 2161, 1782, - /* 2400 */ 706, 2192, 1782, 2228, 1782, 707, 332, 2194, 710, 2196, - /* 2410 */ 2197, 705, 1782, 700, 1782, 1782, 2192, 2193, 2228, 1782, - /* 2420 */ 1782, 341, 2194, 710, 2196, 2197, 705, 707, 700, 1782, - /* 2430 */ 1782, 1782, 1782, 2211, 2192, 1782, 2228, 1782, 1782, 333, - /* 2440 */ 2194, 710, 2196, 2197, 705, 2161, 700, 706, 1782, 1782, - /* 2450 */ 1782, 1782, 1782, 1782, 1782, 2211, 1782, 1782, 1782, 1782, - /* 2460 */ 1782, 1782, 1782, 1782, 2193, 1782, 1782, 2161, 1782, 706, - /* 2470 */ 1782, 1782, 1782, 1782, 707, 1782, 1782, 1782, 1782, 1782, - /* 2480 */ 1782, 2192, 1782, 2228, 1782, 1782, 346, 2194, 710, 2196, - /* 2490 */ 2197, 705, 1782, 700, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2500 */ 1782, 1782, 2211, 2192, 1782, 2228, 1782, 1782, 347, 2194, - /* 2510 */ 710, 2196, 2197, 705, 2161, 700, 706, 1782, 1782, 1782, - /* 2520 */ 1782, 1782, 1782, 2193, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2530 */ 1782, 1782, 1782, 707, 1782, 1782, 2193, 1782, 1782, 1782, - /* 2540 */ 1782, 1782, 1782, 1782, 1782, 1782, 707, 1782, 1782, 1782, - /* 2550 */ 2192, 1782, 2228, 2193, 1782, 2205, 2194, 710, 2196, 2197, - /* 2560 */ 705, 2211, 700, 707, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2570 */ 1782, 1782, 1782, 2161, 2211, 706, 1782, 1782, 1782, 1782, - /* 2580 */ 1782, 1782, 1782, 1782, 1782, 2193, 2161, 1782, 706, 1782, - /* 2590 */ 1782, 2211, 1782, 1782, 1782, 707, 1782, 1782, 1782, 1782, - /* 2600 */ 1782, 1782, 1782, 2161, 1782, 706, 1782, 1782, 1782, 2192, - /* 2610 */ 1782, 2228, 1782, 1782, 2204, 2194, 710, 2196, 2197, 705, - /* 2620 */ 1782, 700, 2192, 2211, 2228, 1782, 1782, 2203, 2194, 710, - /* 2630 */ 2196, 2197, 705, 1782, 700, 2161, 1782, 706, 1782, 2192, - /* 2640 */ 1782, 2228, 1782, 1782, 362, 2194, 710, 2196, 2197, 705, - /* 2650 */ 1782, 700, 2193, 1782, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2660 */ 1782, 1782, 707, 1782, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2670 */ 1782, 2192, 2193, 2228, 1782, 1782, 363, 2194, 710, 2196, - /* 2680 */ 2197, 705, 707, 700, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2690 */ 2211, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2700 */ 1782, 1782, 2161, 1782, 706, 1782, 1782, 1782, 1782, 1782, - /* 2710 */ 2211, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2720 */ 1782, 1782, 2161, 1782, 706, 1782, 1782, 1782, 1782, 1782, - /* 2730 */ 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 2192, 1782, - /* 2740 */ 2228, 1782, 2193, 359, 2194, 710, 2196, 2197, 705, 1782, - /* 2750 */ 700, 1782, 707, 1782, 1782, 1782, 1782, 1782, 2192, 2193, - /* 2760 */ 2228, 1782, 1782, 364, 2194, 710, 2196, 2197, 705, 707, - /* 2770 */ 700, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2780 */ 2211, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2790 */ 1782, 1782, 2161, 1782, 706, 1782, 1782, 2211, 1782, 1782, - /* 2800 */ 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 2161, - /* 2810 */ 1782, 706, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, - /* 2820 */ 1782, 1782, 1782, 1782, 1782, 1782, 1782, 1782, 708, 1782, - /* 2830 */ 2228, 1782, 1782, 338, 2194, 710, 2196, 2197, 705, 1782, - /* 2840 */ 700, 1782, 1782, 1782, 1782, 2192, 1782, 2228, 1782, 1782, - /* 2850 */ 337, 2194, 710, 2196, 2197, 705, 1782, 700, + /* 0 */ 183, 2207, 535, 2096, 543, 536, 1833, 536, 1833, 38, + /* 10 */ 307, 712, 48, 46, 1720, 395, 695, 1974, 2093, 682, + /* 20 */ 402, 2080, 1564, 41, 40, 672, 145, 47, 45, 44, + /* 30 */ 43, 42, 2096, 1645, 540, 1562, 194, 41, 40, 2225, + /* 40 */ 537, 47, 45, 44, 43, 42, 660, 2094, 682, 2372, + /* 50 */ 1717, 2175, 694, 711, 1590, 2377, 454, 9, 2372, 672, + /* 60 */ 145, 170, 1640, 1589, 695, 1974, 659, 190, 19, 1915, + /* 70 */ 694, 2373, 661, 109, 532, 1570, 2376, 672, 145, 1, + /* 80 */ 2373, 2375, 530, 362, 135, 526, 522, 2206, 2322, 2242, + /* 90 */ 147, 575, 112, 2208, 715, 2210, 2211, 710, 1966, 705, + /* 100 */ 801, 349, 149, 15, 153, 2266, 2295, 1589, 34, 407, + /* 110 */ 398, 2291, 2020, 2022, 41, 40, 48, 46, 47, 45, + /* 120 */ 44, 43, 42, 66, 402, 2376, 1564, 1674, 1380, 189, + /* 130 */ 2303, 2304, 222, 143, 2308, 51, 538, 1645, 1840, 1562, + /* 140 */ 1647, 1648, 552, 1371, 740, 739, 738, 1375, 737, 1377, + /* 150 */ 1378, 736, 733, 51, 1386, 730, 1388, 1389, 727, 724, + /* 160 */ 721, 90, 674, 188, 2303, 2304, 1640, 143, 2308, 183, + /* 170 */ 1620, 1630, 19, 694, 1415, 1416, 1646, 1649, 372, 1570, + /* 180 */ 680, 287, 2303, 671, 1675, 136, 670, 1969, 2372, 370, + /* 190 */ 2079, 1565, 125, 1563, 655, 124, 123, 122, 121, 120, + /* 200 */ 119, 118, 117, 116, 801, 659, 190, 15, 2207, 186, + /* 210 */ 2373, 661, 1790, 1473, 1474, 672, 145, 171, 712, 1809, + /* 220 */ 1842, 2014, 62, 1568, 1569, 1797, 1619, 1622, 1623, 1624, + /* 230 */ 1625, 1626, 1627, 1628, 1629, 707, 703, 1638, 1639, 1641, + /* 240 */ 1642, 1643, 1644, 2, 1647, 1648, 2225, 2310, 750, 134, + /* 250 */ 133, 132, 131, 130, 129, 128, 127, 126, 2175, 62, + /* 260 */ 711, 1798, 37, 400, 1669, 1670, 1671, 1672, 1673, 1677, + /* 270 */ 1678, 1679, 1680, 2307, 1620, 1630, 1820, 1708, 695, 1974, + /* 280 */ 1646, 1649, 125, 616, 650, 124, 123, 122, 121, 120, + /* 290 */ 119, 118, 117, 116, 2206, 1565, 2242, 1563, 135, 112, + /* 300 */ 2208, 715, 2210, 2211, 710, 580, 705, 635, 633, 1716, + /* 310 */ 146, 2392, 1591, 2295, 1592, 2207, 1789, 398, 2291, 191, + /* 320 */ 2303, 2304, 12, 143, 2308, 675, 2175, 1568, 1569, 2196, + /* 330 */ 1619, 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, 707, + /* 340 */ 703, 1638, 1639, 1641, 1642, 1643, 1644, 2, 12, 48, + /* 350 */ 46, 695, 1974, 2225, 1247, 1335, 1246, 402, 1570, 1564, + /* 360 */ 2021, 2022, 1247, 2377, 1246, 2175, 2372, 711, 1334, 141, + /* 370 */ 1645, 56, 1562, 593, 592, 591, 656, 651, 644, 146, + /* 380 */ 583, 142, 587, 2027, 2376, 2198, 586, 1248, 2373, 2374, + /* 390 */ 368, 585, 590, 378, 377, 1248, 224, 584, 2025, 1640, + /* 400 */ 538, 2206, 1840, 2242, 663, 19, 112, 2208, 715, 2210, + /* 410 */ 2211, 710, 1570, 705, 2377, 1589, 146, 1222, 187, 12, + /* 420 */ 2295, 10, 41, 40, 398, 2291, 47, 45, 44, 43, + /* 430 */ 42, 1591, 1950, 507, 1592, 498, 148, 801, 192, 2266, + /* 440 */ 15, 2207, 47, 45, 44, 43, 42, 2326, 458, 2075, + /* 450 */ 741, 712, 405, 48, 46, 1650, 1224, 681, 1227, 1228, + /* 460 */ 165, 402, 660, 1564, 289, 2372, 204, 384, 1976, 1795, + /* 470 */ 695, 1974, 695, 1974, 1645, 2025, 1562, 1647, 1648, 2225, + /* 480 */ 1324, 1339, 659, 190, 464, 2075, 2185, 2373, 661, 2140, + /* 490 */ 452, 2175, 453, 711, 1338, 203, 213, 212, 62, 750, + /* 500 */ 2193, 103, 2207, 1640, 1951, 1819, 1818, 1620, 1630, 550, + /* 510 */ 2189, 2089, 709, 1646, 1649, 1783, 1570, 41, 40, 497, + /* 520 */ 1326, 47, 45, 44, 43, 42, 1967, 2206, 1565, 2242, + /* 530 */ 1563, 206, 113, 2208, 715, 2210, 2211, 710, 255, 705, + /* 540 */ 2225, 801, 417, 54, 49, 3, 2295, 416, 2191, 399, + /* 550 */ 2294, 2291, 2175, 30, 711, 2175, 2175, 448, 705, 509, + /* 560 */ 1568, 1569, 447, 1619, 1622, 1623, 1624, 1625, 1626, 1627, + /* 570 */ 1628, 1629, 707, 703, 1638, 1639, 1641, 1642, 1643, 1644, + /* 580 */ 2, 1647, 1648, 289, 491, 2075, 267, 760, 2206, 631, + /* 590 */ 2242, 2058, 2372, 343, 2208, 715, 2210, 2211, 710, 708, + /* 600 */ 705, 696, 2260, 1963, 631, 681, 2207, 2372, 664, 2378, + /* 610 */ 190, 1620, 1630, 1760, 2373, 661, 675, 1646, 1649, 1250, + /* 620 */ 1251, 2027, 1592, 208, 2378, 190, 411, 410, 383, 2373, + /* 630 */ 661, 211, 1565, 1959, 1563, 1564, 2025, 748, 158, 157, + /* 640 */ 745, 744, 743, 155, 2225, 1949, 41, 40, 1562, 1571, + /* 650 */ 47, 45, 44, 43, 42, 146, 2175, 679, 711, 2089, + /* 660 */ 681, 2310, 654, 86, 1568, 1569, 85, 1619, 1622, 1623, + /* 670 */ 1624, 1625, 1626, 1627, 1628, 1629, 707, 703, 1638, 1639, + /* 680 */ 1641, 1642, 1643, 1644, 2, 48, 46, 2306, 1570, 1961, + /* 690 */ 2225, 436, 2206, 402, 2242, 1564, 1817, 112, 2208, 715, + /* 700 */ 2210, 2211, 710, 1748, 705, 1957, 1645, 137, 1562, 187, + /* 710 */ 667, 2295, 690, 801, 2089, 398, 2291, 2321, 438, 434, + /* 720 */ 41, 40, 62, 396, 47, 45, 44, 43, 42, 695, + /* 730 */ 1974, 168, 589, 588, 630, 1640, 41, 40, 2327, 1976, + /* 740 */ 47, 45, 44, 43, 42, 653, 2175, 1978, 1570, 466, + /* 750 */ 476, 2168, 647, 646, 1746, 1747, 1749, 1750, 1751, 475, + /* 760 */ 254, 41, 40, 772, 770, 47, 45, 44, 43, 42, + /* 770 */ 2027, 695, 1974, 801, 266, 1676, 49, 392, 748, 158, + /* 780 */ 157, 745, 744, 743, 155, 2025, 702, 2027, 2169, 48, + /* 790 */ 46, 481, 1816, 742, 397, 2207, 2018, 402, 631, 1564, + /* 800 */ 1590, 2372, 2025, 260, 1565, 712, 1563, 1574, 156, 446, + /* 810 */ 1645, 445, 1562, 1647, 1648, 36, 1759, 746, 2378, 190, + /* 820 */ 2018, 41, 40, 2373, 661, 47, 45, 44, 43, 42, + /* 830 */ 1535, 1536, 1736, 2225, 1815, 631, 1568, 1569, 2372, 1640, + /* 840 */ 1724, 444, 2175, 1620, 1630, 2175, 1589, 711, 665, 1646, + /* 850 */ 1649, 405, 1570, 35, 747, 2378, 190, 2018, 60, 168, + /* 860 */ 2373, 661, 375, 1681, 1565, 628, 1563, 1976, 55, 748, + /* 870 */ 158, 157, 745, 744, 743, 155, 1814, 801, 253, 146, + /* 880 */ 15, 2206, 252, 2242, 2175, 2207, 172, 2208, 715, 2210, + /* 890 */ 2211, 710, 614, 705, 52, 712, 1568, 1569, 2310, 1619, + /* 900 */ 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, 707, 703, + /* 910 */ 1638, 1639, 1641, 1642, 1643, 1644, 2, 1647, 1648, 90, + /* 920 */ 1490, 1491, 408, 2225, 2305, 167, 2175, 1589, 636, 2337, + /* 930 */ 168, 376, 706, 374, 373, 2175, 577, 711, 1976, 631, + /* 940 */ 598, 1666, 2372, 93, 1655, 1970, 357, 1620, 1630, 382, + /* 950 */ 1589, 609, 668, 1646, 1649, 608, 1489, 1492, 579, 2378, + /* 960 */ 190, 697, 578, 2267, 2373, 661, 263, 2027, 1565, 251, + /* 970 */ 1563, 2206, 321, 2242, 406, 2004, 112, 2208, 715, 2210, + /* 980 */ 2211, 710, 2025, 705, 607, 601, 298, 299, 2270, 579, + /* 990 */ 2295, 297, 595, 578, 398, 2291, 1621, 605, 250, 603, + /* 1000 */ 1568, 1569, 1873, 1619, 1622, 1623, 1624, 1625, 1626, 1627, + /* 1010 */ 1628, 1629, 707, 703, 1638, 1639, 1641, 1642, 1643, 1644, + /* 1020 */ 2, 2158, 353, 169, 1587, 44, 43, 42, 328, 695, + /* 1030 */ 1974, 489, 695, 1974, 505, 571, 570, 504, 70, 695, + /* 1040 */ 1974, 69, 325, 73, 635, 633, 72, 695, 1974, 482, + /* 1050 */ 1810, 146, 551, 472, 676, 506, 699, 350, 2267, 1971, + /* 1060 */ 474, 1916, 1813, 1812, 1811, 1808, 1807, 256, 220, 517, + /* 1070 */ 515, 512, 778, 777, 776, 775, 414, 1621, 774, 773, + /* 1080 */ 150, 768, 767, 766, 765, 764, 763, 762, 160, 758, + /* 1090 */ 757, 756, 413, 412, 753, 752, 751, 178, 177, 1806, + /* 1100 */ 1621, 631, 14, 13, 2372, 83, 371, 138, 62, 238, + /* 1110 */ 695, 1974, 2175, 2175, 2175, 2175, 2175, 2340, 460, 695, + /* 1120 */ 1974, 2378, 190, 695, 1974, 175, 2373, 661, 1227, 1228, + /* 1130 */ 264, 573, 572, 569, 565, 561, 557, 761, 237, 678, + /* 1140 */ 1936, 1805, 168, 302, 2315, 1708, 284, 111, 502, 2175, + /* 1150 */ 1977, 496, 495, 494, 493, 488, 487, 486, 485, 484, + /* 1160 */ 480, 479, 478, 477, 352, 469, 468, 467, 2185, 462, + /* 1170 */ 461, 369, 1792, 1793, 243, 695, 1974, 241, 91, 695, + /* 1180 */ 1974, 235, 1965, 2027, 1804, 1803, 2185, 2161, 81, 80, + /* 1190 */ 451, 2175, 2189, 201, 2207, 692, 695, 1974, 2026, 693, + /* 1200 */ 2194, 1952, 695, 1974, 712, 1688, 443, 441, 156, 1230, + /* 1210 */ 2189, 1802, 74, 1801, 1800, 1588, 308, 351, 14, 13, + /* 1220 */ 432, 2207, 409, 430, 426, 422, 419, 444, 1573, 455, + /* 1230 */ 2191, 712, 2225, 2334, 2175, 2175, 424, 611, 431, 610, + /* 1240 */ 705, 2207, 456, 648, 2175, 151, 711, 140, 2191, 234, + /* 1250 */ 228, 712, 245, 2347, 581, 244, 233, 548, 705, 2225, + /* 1260 */ 156, 2175, 84, 2175, 2175, 146, 247, 265, 1530, 246, + /* 1270 */ 1914, 2175, 582, 711, 249, 226, 1322, 248, 1860, 2225, + /* 1280 */ 2206, 50, 2242, 1851, 1849, 112, 2208, 715, 2210, 2211, + /* 1290 */ 710, 2175, 705, 711, 1320, 50, 271, 2268, 156, 2295, + /* 1300 */ 594, 278, 50, 398, 2291, 596, 599, 2206, 295, 2242, + /* 1310 */ 94, 71, 112, 2208, 715, 2210, 2211, 710, 108, 705, + /* 1320 */ 1533, 154, 1913, 156, 2392, 64, 2295, 2206, 105, 2242, + /* 1330 */ 398, 2291, 112, 2208, 715, 2210, 2211, 710, 50, 705, + /* 1340 */ 50, 1745, 719, 154, 2392, 156, 2295, 139, 154, 2207, + /* 1350 */ 398, 2291, 754, 755, 1572, 1744, 273, 1281, 677, 712, + /* 1360 */ 1843, 642, 1487, 2226, 385, 415, 1834, 2084, 300, 1839, + /* 1370 */ 2015, 687, 2330, 673, 1300, 1298, 286, 283, 2207, 5, + /* 1380 */ 418, 304, 423, 1365, 366, 1682, 1576, 2225, 712, 1595, + /* 1390 */ 2365, 440, 439, 196, 197, 442, 315, 1282, 1631, 2175, + /* 1400 */ 320, 711, 1393, 1397, 199, 1404, 1588, 1402, 159, 1511, + /* 1410 */ 796, 457, 210, 2207, 459, 1592, 2225, 463, 465, 500, + /* 1420 */ 2085, 470, 1587, 712, 483, 2314, 490, 2077, 2175, 492, + /* 1430 */ 711, 510, 499, 511, 501, 2206, 508, 2242, 214, 215, + /* 1440 */ 112, 2208, 715, 2210, 2211, 710, 513, 705, 514, 217, + /* 1450 */ 1593, 2225, 2392, 533, 2295, 516, 518, 4, 398, 2291, + /* 1460 */ 534, 541, 542, 2175, 2206, 711, 2242, 544, 225, 112, + /* 1470 */ 2208, 715, 2210, 2211, 710, 545, 705, 1590, 617, 411, + /* 1480 */ 410, 2392, 227, 2295, 1594, 546, 547, 398, 2291, 1578, + /* 1490 */ 1596, 230, 549, 232, 88, 89, 804, 236, 553, 2206, + /* 1500 */ 1645, 2242, 1571, 2207, 112, 2208, 715, 2210, 2211, 710, + /* 1510 */ 314, 705, 1575, 712, 574, 356, 2392, 2149, 2295, 2146, + /* 1520 */ 576, 1964, 398, 2291, 240, 1960, 182, 114, 242, 1640, + /* 1530 */ 161, 162, 1962, 2207, 794, 790, 786, 782, 1958, 312, + /* 1540 */ 92, 2225, 1570, 712, 163, 2145, 164, 615, 613, 619, + /* 1550 */ 152, 316, 618, 2175, 1518, 711, 257, 620, 259, 261, + /* 1560 */ 626, 623, 624, 649, 2331, 2341, 639, 701, 625, 2346, + /* 1570 */ 685, 2225, 645, 388, 652, 2345, 269, 638, 658, 110, + /* 1580 */ 272, 8, 305, 2175, 277, 711, 640, 2317, 176, 2206, + /* 1590 */ 280, 2242, 279, 637, 112, 2208, 715, 2210, 2211, 710, + /* 1600 */ 389, 705, 282, 2371, 666, 669, 698, 2395, 2295, 1708, + /* 1610 */ 285, 1591, 398, 2291, 144, 691, 2311, 180, 1597, 2206, + /* 1620 */ 281, 2242, 317, 683, 113, 2208, 715, 2210, 2211, 710, + /* 1630 */ 2207, 705, 290, 98, 2090, 684, 2104, 2103, 2295, 2102, + /* 1640 */ 712, 318, 700, 2291, 689, 688, 394, 100, 319, 102, + /* 1650 */ 292, 61, 104, 2276, 717, 2019, 1937, 291, 1579, 1975, + /* 1660 */ 1574, 2207, 322, 797, 53, 358, 311, 326, 2225, 798, + /* 1670 */ 800, 712, 346, 324, 359, 2167, 258, 2207, 78, 2162, + /* 1680 */ 2175, 2166, 711, 331, 345, 2165, 335, 712, 420, 421, + /* 1690 */ 1582, 1584, 1555, 1556, 195, 425, 2160, 427, 428, 2225, + /* 1700 */ 429, 2159, 367, 703, 1638, 1639, 1641, 1642, 1643, 1644, + /* 1710 */ 2157, 2175, 433, 711, 2156, 2225, 713, 435, 2242, 2155, + /* 1720 */ 1546, 113, 2208, 715, 2210, 2211, 710, 2175, 705, 711, + /* 1730 */ 2136, 198, 437, 2135, 200, 2295, 79, 1514, 1513, 361, + /* 1740 */ 2291, 2117, 2116, 2115, 449, 450, 2114, 2206, 2113, 2242, + /* 1750 */ 1464, 2068, 173, 2208, 715, 2210, 2211, 710, 2067, 705, + /* 1760 */ 2064, 2063, 202, 2206, 82, 2242, 2062, 2061, 113, 2208, + /* 1770 */ 715, 2210, 2211, 710, 2207, 705, 2066, 2065, 205, 2060, + /* 1780 */ 2059, 2057, 2295, 2056, 712, 2207, 2055, 2292, 207, 471, + /* 1790 */ 2054, 473, 2070, 2053, 2052, 712, 2051, 2050, 2207, 2049, + /* 1800 */ 2048, 2047, 2046, 2045, 2044, 662, 2393, 87, 712, 2207, + /* 1810 */ 2043, 2042, 2225, 2041, 2040, 2039, 209, 2038, 2037, 712, + /* 1820 */ 2036, 2035, 2069, 2225, 2175, 2034, 711, 2033, 386, 2032, + /* 1830 */ 1466, 2031, 2030, 503, 2029, 2175, 2225, 711, 2028, 354, + /* 1840 */ 1879, 387, 1878, 355, 216, 1336, 1340, 2225, 2175, 218, + /* 1850 */ 711, 1332, 1877, 1875, 1872, 520, 1871, 1864, 521, 2175, + /* 1860 */ 2206, 711, 2242, 519, 1853, 172, 2208, 715, 2210, 2211, + /* 1870 */ 710, 2206, 705, 2242, 219, 524, 344, 2208, 715, 2210, + /* 1880 */ 2211, 710, 523, 705, 2206, 525, 2242, 529, 528, 344, + /* 1890 */ 2208, 715, 2210, 2211, 710, 2206, 705, 2242, 527, 2207, + /* 1900 */ 337, 2208, 715, 2210, 2211, 710, 531, 705, 2338, 712, + /* 1910 */ 1829, 221, 76, 2195, 184, 2207, 1229, 1828, 223, 77, + /* 1920 */ 2134, 185, 539, 2124, 2112, 712, 229, 231, 2111, 2088, + /* 1930 */ 1953, 1274, 1874, 1870, 554, 555, 556, 2225, 1868, 558, + /* 1940 */ 559, 1866, 560, 562, 563, 657, 564, 1863, 566, 2175, + /* 1950 */ 567, 711, 1848, 2225, 568, 1846, 1847, 1845, 393, 1825, + /* 1960 */ 1955, 63, 1409, 1954, 1408, 2175, 1323, 711, 239, 1321, + /* 1970 */ 1319, 1318, 1317, 1310, 2207, 1316, 1861, 1852, 1315, 1850, + /* 1980 */ 1312, 1311, 1824, 769, 709, 2206, 379, 2242, 771, 1309, + /* 1990 */ 173, 2208, 715, 2210, 2211, 710, 380, 705, 1823, 597, + /* 2000 */ 381, 2206, 600, 2242, 2207, 602, 344, 2208, 715, 2210, + /* 2010 */ 2211, 710, 2225, 705, 712, 604, 1822, 606, 1540, 115, + /* 2020 */ 1542, 2207, 1539, 1544, 2175, 29, 711, 2133, 67, 1520, + /* 2030 */ 2123, 712, 57, 1524, 1522, 166, 621, 622, 2110, 2109, + /* 2040 */ 1499, 262, 2225, 2377, 2394, 20, 21, 401, 1498, 643, + /* 2050 */ 17, 2207, 6, 1711, 2175, 627, 711, 629, 7, 2225, + /* 2060 */ 2206, 712, 2242, 641, 403, 343, 2208, 715, 2210, 2211, + /* 2070 */ 710, 2175, 705, 711, 2261, 632, 22, 1710, 275, 65, + /* 2080 */ 276, 33, 2196, 2207, 634, 24, 1777, 31, 1776, 2225, + /* 2090 */ 2206, 268, 2242, 712, 1762, 344, 2208, 715, 2210, 2211, + /* 2100 */ 710, 2175, 705, 711, 270, 390, 174, 2206, 274, 2242, + /* 2110 */ 1743, 1735, 344, 2208, 715, 2210, 2211, 710, 2207, 705, + /* 2120 */ 32, 2225, 95, 1781, 1782, 23, 1783, 18, 712, 1780, + /* 2130 */ 391, 288, 1705, 2175, 59, 711, 179, 612, 2108, 2242, + /* 2140 */ 1704, 58, 339, 2208, 715, 2210, 2211, 710, 2087, 705, + /* 2150 */ 2207, 96, 97, 293, 294, 25, 2225, 2086, 1741, 296, + /* 2160 */ 712, 301, 68, 99, 686, 303, 101, 306, 2175, 2206, + /* 2170 */ 711, 2242, 26, 105, 329, 2208, 715, 2210, 2211, 710, + /* 2180 */ 2207, 705, 1657, 1656, 13, 1580, 2245, 181, 2225, 1667, + /* 2190 */ 712, 1635, 1612, 193, 704, 718, 1633, 1632, 11, 39, + /* 2200 */ 2175, 16, 711, 27, 2206, 1604, 2242, 28, 404, 327, + /* 2210 */ 2208, 715, 2210, 2211, 710, 2207, 705, 716, 2225, 1394, + /* 2220 */ 720, 714, 1391, 722, 723, 712, 1390, 725, 726, 728, + /* 2230 */ 2175, 1387, 711, 729, 731, 1381, 2206, 1379, 2242, 2207, + /* 2240 */ 732, 330, 2208, 715, 2210, 2211, 710, 734, 705, 712, + /* 2250 */ 735, 1385, 2207, 2225, 1384, 106, 107, 1383, 309, 1403, + /* 2260 */ 1382, 75, 712, 1399, 1272, 2175, 2206, 711, 2242, 749, + /* 2270 */ 1304, 336, 2208, 715, 2210, 2211, 710, 2225, 705, 1303, + /* 2280 */ 1302, 1301, 1299, 1297, 1296, 1295, 1330, 759, 1293, 2175, + /* 2290 */ 2225, 711, 1292, 1291, 1290, 310, 1289, 1288, 1287, 1325, + /* 2300 */ 1327, 2206, 2175, 2242, 711, 1284, 340, 2208, 715, 2210, + /* 2310 */ 2211, 710, 1278, 705, 1283, 1280, 1279, 1277, 2207, 1869, + /* 2320 */ 779, 1867, 780, 781, 783, 2206, 1865, 2242, 712, 2207, + /* 2330 */ 332, 2208, 715, 2210, 2211, 710, 784, 705, 2206, 712, + /* 2340 */ 2242, 785, 787, 341, 2208, 715, 2210, 2211, 710, 788, + /* 2350 */ 705, 2207, 789, 1862, 792, 791, 2225, 793, 1844, 795, + /* 2360 */ 1219, 712, 1821, 313, 799, 803, 1566, 2225, 2175, 323, + /* 2370 */ 711, 802, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 2175, + /* 2380 */ 1796, 711, 1796, 1796, 1796, 1796, 1796, 1796, 2207, 2225, + /* 2390 */ 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 712, 1796, + /* 2400 */ 1796, 2175, 1796, 711, 2206, 1796, 2242, 1796, 1796, 333, + /* 2410 */ 2208, 715, 2210, 2211, 710, 2206, 705, 2242, 2207, 1796, + /* 2420 */ 342, 2208, 715, 2210, 2211, 710, 2225, 705, 712, 1796, + /* 2430 */ 1796, 1796, 1796, 1796, 1796, 1796, 1796, 2206, 2175, 2242, + /* 2440 */ 711, 1796, 334, 2208, 715, 2210, 2211, 710, 1796, 705, + /* 2450 */ 1796, 2207, 1796, 1796, 1796, 1796, 2225, 1796, 1796, 1796, + /* 2460 */ 1796, 712, 1796, 1796, 1796, 1796, 1796, 1796, 2175, 1796, + /* 2470 */ 711, 1796, 1796, 1796, 2206, 1796, 2242, 2207, 1796, 347, + /* 2480 */ 2208, 715, 2210, 2211, 710, 1796, 705, 712, 2207, 2225, + /* 2490 */ 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 712, 1796, + /* 2500 */ 1796, 2175, 1796, 711, 2206, 1796, 2242, 1796, 1796, 348, + /* 2510 */ 2208, 715, 2210, 2211, 710, 2225, 705, 1796, 1796, 1796, + /* 2520 */ 1796, 1796, 1796, 1796, 1796, 1796, 2225, 2175, 1796, 711, + /* 2530 */ 1796, 1796, 1796, 1796, 1796, 1796, 1796, 2206, 2175, 2242, + /* 2540 */ 711, 1796, 2219, 2208, 715, 2210, 2211, 710, 1796, 705, + /* 2550 */ 2207, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, + /* 2560 */ 712, 1796, 1796, 2206, 1796, 2242, 1796, 1796, 2218, 2208, + /* 2570 */ 715, 2210, 2211, 710, 2206, 705, 2242, 1796, 1796, 2217, + /* 2580 */ 2208, 715, 2210, 2211, 710, 2207, 705, 1796, 2225, 1796, + /* 2590 */ 1796, 1796, 1796, 1796, 1796, 712, 1796, 1796, 1796, 1796, + /* 2600 */ 2175, 1796, 711, 1796, 1796, 1796, 1796, 1796, 1796, 2207, + /* 2610 */ 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 712, + /* 2620 */ 2207, 1796, 1796, 2225, 1796, 1796, 1796, 1796, 1796, 1796, + /* 2630 */ 712, 1796, 1796, 1796, 1796, 2175, 2206, 711, 2242, 1796, + /* 2640 */ 1796, 363, 2208, 715, 2210, 2211, 710, 2225, 705, 1796, + /* 2650 */ 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 2225, 2175, + /* 2660 */ 1796, 711, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, + /* 2670 */ 2175, 2206, 711, 2242, 1796, 1796, 364, 2208, 715, 2210, + /* 2680 */ 2211, 710, 2207, 705, 1796, 1796, 1796, 1796, 1796, 1796, + /* 2690 */ 1796, 1796, 712, 1796, 1796, 2206, 1796, 2242, 1796, 1796, + /* 2700 */ 360, 2208, 715, 2210, 2211, 710, 2206, 705, 2242, 1796, + /* 2710 */ 1796, 365, 2208, 715, 2210, 2211, 710, 1876, 705, 1796, + /* 2720 */ 2225, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, + /* 2730 */ 1796, 1796, 2175, 2207, 711, 1796, 1796, 1796, 1796, 1796, + /* 2740 */ 1796, 1796, 1796, 712, 1796, 1796, 1796, 1796, 1796, 1796, + /* 2750 */ 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, + /* 2760 */ 1796, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 713, 1796, + /* 2770 */ 2242, 2225, 1796, 339, 2208, 715, 2210, 2211, 710, 1796, + /* 2780 */ 705, 1796, 1796, 2175, 1796, 711, 1796, 593, 592, 591, + /* 2790 */ 1796, 1796, 1796, 1796, 583, 142, 587, 1796, 1796, 1796, + /* 2800 */ 586, 1796, 1796, 1796, 1796, 585, 590, 378, 377, 1796, + /* 2810 */ 1796, 584, 1796, 1796, 1796, 1796, 1796, 1796, 1796, 2206, + /* 2820 */ 1796, 2242, 1796, 1796, 338, 2208, 715, 2210, 2211, 710, + /* 2830 */ 1796, 705, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 375, 341, 367, 393, 346, 350, 351, 411, 350, 380, - /* 10 */ 352, 351, 12, 13, 14, 405, 381, 4, 408, 409, - /* 20 */ 20, 3, 22, 8, 9, 370, 391, 12, 13, 14, - /* 30 */ 15, 16, 377, 33, 350, 35, 367, 14, 20, 379, - /* 40 */ 8, 9, 338, 20, 12, 13, 14, 15, 16, 424, - /* 50 */ 381, 391, 380, 393, 458, 49, 43, 461, 45, 46, - /* 60 */ 391, 379, 62, 57, 429, 430, 60, 61, 68, 20, - /* 70 */ 4, 22, 476, 477, 439, 75, 44, 481, 482, 395, - /* 80 */ 20, 399, 400, 68, 35, 350, 351, 427, 20, 429, - /* 90 */ 350, 351, 432, 433, 434, 435, 436, 437, 429, 439, - /* 100 */ 100, 360, 53, 103, 444, 370, 446, 357, 439, 368, - /* 110 */ 450, 451, 377, 84, 393, 411, 12, 13, 350, 351, - /* 120 */ 416, 20, 104, 463, 20, 62, 22, 112, 100, 408, - /* 130 */ 409, 471, 382, 20, 447, 448, 104, 33, 370, 35, - /* 140 */ 140, 141, 341, 115, 116, 117, 118, 119, 120, 121, - /* 150 */ 122, 123, 124, 341, 126, 127, 128, 129, 130, 131, - /* 160 */ 132, 378, 458, 103, 458, 461, 62, 461, 105, 103, - /* 170 */ 170, 171, 68, 390, 145, 146, 176, 177, 20, 75, - /* 180 */ 476, 477, 476, 477, 169, 481, 482, 481, 482, 431, - /* 190 */ 172, 191, 391, 193, 454, 455, 456, 168, 458, 459, - /* 200 */ 340, 461, 342, 391, 100, 8, 9, 103, 341, 12, - /* 210 */ 13, 14, 15, 16, 103, 457, 476, 477, 351, 35, - /* 220 */ 186, 481, 482, 223, 224, 0, 226, 227, 228, 229, + /* 0 */ 381, 343, 347, 395, 347, 350, 351, 350, 351, 449, + /* 10 */ 450, 353, 12, 13, 14, 407, 352, 353, 410, 411, + /* 20 */ 20, 402, 22, 8, 9, 352, 353, 12, 13, 14, + /* 30 */ 15, 16, 395, 33, 14, 35, 372, 8, 9, 381, + /* 40 */ 20, 12, 13, 14, 15, 16, 460, 410, 411, 463, + /* 50 */ 4, 393, 20, 395, 20, 460, 352, 39, 463, 352, + /* 60 */ 353, 362, 62, 20, 352, 353, 480, 481, 68, 370, + /* 70 */ 20, 485, 486, 359, 49, 75, 481, 352, 353, 465, + /* 80 */ 485, 486, 57, 68, 372, 60, 61, 429, 474, 431, + /* 90 */ 376, 379, 434, 435, 436, 437, 438, 439, 384, 441, + /* 100 */ 100, 397, 444, 103, 446, 447, 448, 20, 2, 391, + /* 110 */ 452, 453, 394, 395, 8, 9, 12, 13, 12, 13, + /* 120 */ 14, 15, 16, 4, 20, 3, 22, 112, 100, 456, + /* 130 */ 457, 458, 348, 460, 461, 103, 352, 33, 354, 35, + /* 140 */ 140, 141, 67, 115, 116, 117, 118, 119, 120, 121, + /* 150 */ 122, 123, 124, 103, 126, 127, 128, 129, 130, 131, + /* 160 */ 132, 361, 455, 456, 457, 458, 62, 460, 461, 381, + /* 170 */ 170, 171, 68, 20, 140, 141, 176, 177, 378, 75, + /* 180 */ 20, 456, 457, 458, 169, 460, 461, 387, 463, 401, + /* 190 */ 402, 191, 21, 193, 20, 24, 25, 26, 27, 28, + /* 200 */ 29, 30, 31, 32, 100, 480, 481, 103, 343, 380, + /* 210 */ 485, 486, 183, 170, 171, 352, 353, 342, 353, 344, + /* 220 */ 355, 392, 103, 223, 224, 0, 226, 227, 228, 229, /* 230 */ 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, - /* 240 */ 240, 241, 242, 243, 140, 141, 379, 213, 214, 24, - /* 250 */ 25, 26, 27, 28, 29, 30, 31, 32, 391, 75, - /* 260 */ 393, 0, 247, 248, 249, 250, 251, 252, 253, 254, - /* 270 */ 255, 256, 257, 345, 170, 171, 348, 349, 67, 20, - /* 280 */ 176, 177, 21, 170, 171, 24, 25, 26, 27, 28, - /* 290 */ 29, 30, 31, 32, 427, 191, 429, 193, 175, 432, - /* 300 */ 433, 434, 435, 436, 437, 20, 439, 0, 371, 442, - /* 310 */ 20, 444, 445, 446, 20, 341, 379, 450, 451, 20, - /* 320 */ 260, 22, 350, 351, 387, 351, 260, 223, 224, 4, + /* 240 */ 240, 241, 242, 243, 140, 141, 381, 433, 67, 24, + /* 250 */ 25, 26, 27, 28, 29, 30, 31, 32, 393, 103, + /* 260 */ 395, 0, 247, 248, 249, 250, 251, 252, 253, 254, + /* 270 */ 255, 256, 257, 459, 170, 171, 343, 259, 352, 353, + /* 280 */ 176, 177, 21, 114, 175, 24, 25, 26, 27, 28, + /* 290 */ 29, 30, 31, 32, 429, 191, 431, 193, 372, 434, + /* 300 */ 435, 436, 437, 438, 439, 379, 441, 261, 262, 263, + /* 310 */ 260, 446, 20, 448, 20, 343, 287, 452, 453, 456, + /* 320 */ 457, 458, 244, 460, 461, 353, 393, 223, 224, 47, /* 330 */ 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, /* 340 */ 236, 237, 238, 239, 240, 241, 242, 243, 244, 12, - /* 350 */ 13, 67, 53, 379, 379, 12, 13, 20, 47, 22, - /* 360 */ 458, 386, 103, 461, 379, 391, 20, 393, 114, 394, - /* 370 */ 33, 260, 35, 70, 71, 72, 350, 351, 35, 477, - /* 380 */ 77, 78, 79, 481, 482, 400, 83, 351, 265, 266, - /* 390 */ 267, 88, 89, 90, 91, 442, 370, 94, 445, 62, - /* 400 */ 135, 427, 48, 429, 139, 68, 432, 433, 434, 435, - /* 410 */ 436, 437, 75, 439, 103, 379, 134, 135, 444, 345, - /* 420 */ 446, 139, 348, 349, 450, 451, 454, 455, 456, 341, - /* 430 */ 458, 459, 14, 458, 140, 141, 461, 100, 20, 351, - /* 440 */ 103, 353, 8, 9, 35, 471, 12, 13, 14, 15, - /* 450 */ 16, 476, 477, 12, 13, 14, 481, 482, 346, 341, - /* 460 */ 170, 20, 350, 22, 352, 200, 159, 379, 203, 351, - /* 470 */ 434, 206, 379, 208, 33, 168, 35, 140, 141, 391, - /* 480 */ 387, 393, 458, 21, 75, 461, 24, 25, 26, 27, - /* 490 */ 28, 29, 30, 31, 32, 379, 103, 379, 341, 350, - /* 500 */ 351, 477, 386, 62, 244, 481, 482, 170, 171, 391, - /* 510 */ 394, 393, 357, 176, 177, 427, 75, 429, 172, 260, - /* 520 */ 432, 433, 434, 435, 436, 437, 172, 439, 191, 374, - /* 530 */ 193, 133, 444, 179, 446, 137, 193, 382, 450, 451, - /* 540 */ 14, 100, 350, 351, 103, 427, 20, 429, 391, 341, - /* 550 */ 432, 433, 434, 435, 436, 437, 244, 439, 246, 351, - /* 560 */ 223, 224, 370, 226, 227, 228, 229, 230, 231, 232, + /* 350 */ 13, 352, 353, 381, 20, 22, 22, 20, 75, 22, + /* 360 */ 394, 395, 20, 460, 22, 393, 463, 395, 35, 35, + /* 370 */ 33, 372, 35, 70, 71, 72, 267, 268, 269, 260, + /* 380 */ 77, 78, 79, 381, 481, 103, 83, 53, 485, 486, + /* 390 */ 388, 88, 89, 90, 91, 53, 348, 94, 396, 62, + /* 400 */ 352, 429, 354, 431, 282, 68, 434, 435, 436, 437, + /* 410 */ 438, 439, 75, 441, 3, 20, 260, 4, 446, 244, + /* 420 */ 448, 246, 8, 9, 452, 453, 12, 13, 14, 15, + /* 430 */ 16, 20, 0, 100, 20, 84, 444, 100, 466, 447, + /* 440 */ 103, 343, 12, 13, 14, 15, 16, 475, 352, 353, + /* 450 */ 114, 353, 373, 12, 13, 14, 43, 352, 45, 46, + /* 460 */ 381, 20, 460, 22, 172, 463, 172, 388, 389, 340, + /* 470 */ 352, 353, 352, 353, 33, 396, 35, 140, 141, 381, + /* 480 */ 35, 22, 480, 481, 352, 353, 369, 485, 486, 377, + /* 490 */ 372, 393, 372, 395, 35, 399, 145, 146, 103, 67, + /* 500 */ 383, 359, 343, 62, 0, 343, 343, 170, 171, 404, + /* 510 */ 393, 406, 353, 176, 177, 104, 75, 8, 9, 168, + /* 520 */ 75, 12, 13, 14, 15, 16, 384, 429, 191, 431, + /* 530 */ 193, 399, 434, 435, 436, 437, 438, 439, 426, 441, + /* 540 */ 381, 100, 413, 42, 103, 44, 448, 418, 431, 432, + /* 550 */ 452, 453, 393, 44, 395, 393, 393, 413, 441, 100, + /* 560 */ 223, 224, 418, 226, 227, 228, 229, 230, 231, 232, /* 570 */ 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, - /* 580 */ 243, 140, 141, 190, 22, 192, 261, 379, 8, 9, - /* 590 */ 472, 473, 12, 13, 14, 15, 16, 35, 431, 391, - /* 600 */ 20, 393, 453, 454, 455, 456, 172, 458, 459, 75, - /* 610 */ 341, 170, 171, 350, 351, 222, 389, 176, 177, 392, - /* 620 */ 393, 8, 9, 371, 457, 12, 13, 14, 15, 16, - /* 630 */ 431, 379, 191, 370, 193, 427, 350, 429, 386, 387, - /* 640 */ 432, 433, 434, 435, 436, 437, 394, 439, 134, 20, - /* 650 */ 411, 341, 444, 260, 446, 416, 457, 411, 450, 451, - /* 660 */ 391, 351, 100, 353, 223, 224, 44, 226, 227, 228, + /* 580 */ 243, 140, 141, 172, 352, 353, 172, 75, 429, 460, + /* 590 */ 431, 0, 463, 434, 435, 436, 437, 438, 439, 440, + /* 600 */ 441, 442, 443, 382, 460, 352, 343, 463, 44, 480, + /* 610 */ 481, 170, 171, 104, 485, 486, 353, 176, 177, 54, + /* 620 */ 55, 381, 20, 62, 480, 481, 12, 13, 388, 485, + /* 630 */ 486, 399, 191, 382, 193, 22, 396, 133, 134, 135, + /* 640 */ 136, 137, 138, 139, 381, 0, 8, 9, 35, 35, + /* 650 */ 12, 13, 14, 15, 16, 260, 393, 404, 395, 406, + /* 660 */ 352, 433, 353, 102, 223, 224, 105, 226, 227, 228, /* 670 */ 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, - /* 680 */ 239, 240, 241, 242, 243, 12, 13, 0, 402, 379, - /* 690 */ 404, 350, 351, 20, 75, 22, 170, 458, 350, 351, - /* 700 */ 461, 391, 379, 393, 458, 0, 33, 461, 35, 386, - /* 710 */ 12, 13, 14, 15, 16, 476, 477, 394, 204, 205, - /* 720 */ 481, 482, 476, 477, 350, 351, 104, 481, 482, 1, - /* 730 */ 2, 223, 103, 350, 351, 62, 380, 427, 397, 429, - /* 740 */ 4, 350, 432, 433, 434, 435, 436, 437, 75, 439, - /* 750 */ 350, 351, 172, 370, 444, 19, 446, 0, 8, 9, - /* 760 */ 450, 451, 12, 13, 14, 15, 16, 341, 341, 33, - /* 770 */ 370, 397, 67, 100, 350, 351, 103, 351, 270, 271, - /* 780 */ 272, 273, 274, 275, 276, 49, 350, 351, 3, 12, - /* 790 */ 13, 0, 56, 402, 370, 404, 183, 20, 62, 22, - /* 800 */ 371, 20, 454, 455, 456, 379, 458, 459, 379, 443, - /* 810 */ 33, 445, 35, 140, 141, 0, 387, 391, 391, 393, - /* 820 */ 133, 134, 135, 136, 137, 138, 139, 70, 71, 72, - /* 830 */ 392, 393, 104, 397, 77, 78, 79, 22, 102, 62, - /* 840 */ 83, 105, 103, 170, 171, 88, 89, 90, 91, 176, - /* 850 */ 177, 94, 75, 427, 104, 429, 54, 55, 432, 433, - /* 860 */ 434, 435, 436, 437, 191, 439, 193, 441, 8, 9, - /* 870 */ 341, 380, 12, 13, 14, 15, 16, 100, 355, 356, - /* 880 */ 103, 341, 133, 134, 135, 136, 137, 138, 139, 341, - /* 890 */ 411, 351, 62, 353, 341, 380, 223, 224, 285, 226, + /* 680 */ 239, 240, 241, 242, 243, 12, 13, 459, 75, 382, + /* 690 */ 381, 186, 429, 20, 431, 22, 343, 434, 435, 436, + /* 700 */ 437, 438, 439, 223, 441, 382, 33, 464, 35, 446, + /* 710 */ 44, 448, 404, 100, 406, 452, 453, 474, 213, 214, + /* 720 */ 8, 9, 103, 373, 12, 13, 14, 15, 16, 352, + /* 730 */ 353, 381, 366, 367, 48, 62, 8, 9, 475, 389, + /* 740 */ 12, 13, 14, 15, 16, 436, 393, 382, 75, 372, + /* 750 */ 159, 413, 272, 273, 274, 275, 276, 277, 278, 168, + /* 760 */ 134, 8, 9, 366, 367, 12, 13, 14, 15, 16, + /* 770 */ 381, 352, 353, 100, 172, 169, 103, 388, 133, 134, + /* 780 */ 135, 136, 137, 138, 139, 396, 68, 381, 413, 12, + /* 790 */ 13, 372, 343, 390, 388, 343, 393, 20, 460, 22, + /* 800 */ 20, 463, 396, 382, 191, 353, 193, 193, 44, 190, + /* 810 */ 33, 192, 35, 140, 141, 2, 104, 390, 480, 481, + /* 820 */ 393, 8, 9, 485, 486, 12, 13, 14, 15, 16, + /* 830 */ 204, 205, 104, 381, 343, 460, 223, 224, 463, 62, + /* 840 */ 14, 222, 393, 170, 171, 393, 20, 395, 284, 176, + /* 850 */ 177, 373, 75, 247, 390, 480, 481, 393, 172, 381, + /* 860 */ 485, 486, 37, 257, 191, 179, 193, 389, 104, 133, + /* 870 */ 134, 135, 136, 137, 138, 139, 343, 100, 135, 260, + /* 880 */ 103, 429, 139, 431, 393, 343, 434, 435, 436, 437, + /* 890 */ 438, 439, 413, 441, 103, 353, 223, 224, 433, 226, /* 900 */ 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, - /* 910 */ 237, 238, 239, 240, 241, 242, 243, 140, 141, 379, - /* 920 */ 391, 140, 141, 21, 133, 134, 135, 136, 137, 138, - /* 930 */ 139, 391, 102, 393, 379, 105, 34, 458, 36, 391, - /* 940 */ 461, 386, 350, 351, 391, 350, 351, 170, 171, 394, - /* 950 */ 114, 350, 351, 176, 177, 476, 477, 176, 177, 380, - /* 960 */ 481, 482, 370, 388, 104, 370, 391, 427, 191, 429, - /* 970 */ 193, 370, 432, 433, 434, 435, 436, 437, 39, 439, - /* 980 */ 364, 365, 2, 0, 444, 22, 446, 350, 8, 9, - /* 990 */ 450, 451, 12, 13, 14, 15, 16, 341, 35, 260, + /* 910 */ 237, 238, 239, 240, 241, 242, 243, 140, 141, 361, + /* 920 */ 140, 141, 373, 381, 459, 172, 393, 20, 476, 477, + /* 930 */ 381, 106, 382, 108, 109, 393, 111, 395, 389, 460, + /* 940 */ 4, 223, 463, 200, 14, 387, 203, 170, 171, 206, + /* 950 */ 20, 208, 286, 176, 177, 19, 176, 177, 133, 480, + /* 960 */ 481, 445, 137, 447, 485, 486, 419, 381, 191, 33, + /* 970 */ 193, 429, 374, 431, 388, 377, 434, 435, 436, 437, + /* 980 */ 438, 439, 396, 441, 21, 49, 134, 135, 446, 133, + /* 990 */ 448, 139, 56, 137, 452, 453, 170, 34, 62, 36, /* 1000 */ 223, 224, 0, 226, 227, 228, 229, 230, 231, 232, /* 1010 */ 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, - /* 1020 */ 243, 14, 18, 18, 20, 350, 351, 20, 23, 350, - /* 1030 */ 351, 27, 49, 359, 30, 355, 356, 33, 367, 402, - /* 1040 */ 371, 404, 37, 38, 0, 370, 41, 391, 379, 370, - /* 1050 */ 376, 379, 381, 49, 411, 51, 387, 52, 386, 385, - /* 1060 */ 56, 380, 391, 100, 341, 280, 394, 341, 63, 64, - /* 1070 */ 65, 66, 70, 71, 72, 73, 74, 0, 76, 77, + /* 1020 */ 243, 0, 18, 18, 20, 14, 15, 16, 23, 352, + /* 1030 */ 353, 27, 352, 353, 30, 357, 358, 33, 102, 352, + /* 1040 */ 353, 105, 37, 38, 261, 262, 41, 352, 353, 372, + /* 1050 */ 344, 260, 372, 49, 413, 51, 445, 52, 447, 372, + /* 1060 */ 56, 370, 343, 343, 343, 343, 343, 372, 63, 64, + /* 1070 */ 65, 66, 70, 71, 72, 73, 74, 170, 76, 77, /* 1080 */ 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, - /* 1090 */ 88, 89, 90, 91, 92, 93, 94, 95, 96, 20, - /* 1100 */ 429, 458, 350, 351, 461, 20, 102, 33, 103, 37, - /* 1110 */ 439, 14, 15, 16, 391, 350, 351, 391, 114, 476, - /* 1120 */ 477, 44, 370, 49, 481, 482, 350, 351, 417, 350, - /* 1130 */ 351, 57, 58, 59, 60, 370, 62, 341, 44, 443, - /* 1140 */ 169, 445, 364, 365, 341, 341, 370, 142, 144, 370, - /* 1150 */ 341, 147, 148, 149, 150, 151, 152, 153, 154, 155, - /* 1160 */ 156, 157, 158, 159, 160, 161, 162, 163, 44, 165, - /* 1170 */ 166, 167, 350, 351, 258, 259, 102, 170, 106, 105, - /* 1180 */ 108, 109, 0, 111, 359, 341, 341, 391, 183, 184, - /* 1190 */ 185, 341, 370, 188, 391, 391, 341, 379, 259, 388, - /* 1200 */ 391, 351, 391, 353, 22, 133, 201, 202, 341, 137, - /* 1210 */ 385, 388, 394, 372, 391, 368, 375, 212, 247, 42, - /* 1220 */ 215, 44, 341, 218, 219, 220, 221, 222, 257, 379, - /* 1230 */ 366, 22, 351, 369, 353, 391, 391, 45, 46, 44, - /* 1240 */ 42, 391, 44, 393, 35, 114, 391, 173, 174, 13, - /* 1250 */ 107, 172, 341, 110, 180, 181, 107, 172, 391, 110, - /* 1260 */ 379, 217, 351, 107, 353, 260, 110, 107, 44, 13, - /* 1270 */ 110, 35, 391, 199, 393, 0, 44, 427, 207, 429, - /* 1280 */ 209, 44, 432, 433, 434, 435, 436, 437, 68, 439, - /* 1290 */ 379, 35, 140, 141, 444, 164, 446, 22, 342, 104, - /* 1300 */ 450, 451, 391, 474, 393, 35, 44, 44, 427, 103, - /* 1310 */ 429, 401, 485, 432, 433, 434, 435, 436, 437, 113, - /* 1320 */ 439, 44, 44, 35, 22, 444, 44, 446, 104, 44, - /* 1330 */ 44, 450, 451, 1, 2, 44, 104, 35, 427, 44, - /* 1340 */ 429, 104, 341, 432, 433, 434, 435, 436, 437, 44, - /* 1350 */ 439, 0, 351, 12, 13, 444, 468, 446, 2, 44, - /* 1360 */ 354, 450, 451, 22, 8, 9, 104, 104, 12, 13, - /* 1370 */ 14, 15, 16, 341, 33, 367, 35, 75, 284, 44, - /* 1380 */ 379, 104, 104, 351, 44, 13, 104, 367, 379, 104, - /* 1390 */ 104, 13, 391, 44, 393, 104, 410, 44, 401, 104, - /* 1400 */ 354, 50, 100, 62, 349, 351, 282, 35, 390, 104, - /* 1410 */ 341, 379, 401, 35, 460, 478, 75, 452, 49, 104, - /* 1420 */ 351, 462, 412, 391, 262, 393, 428, 20, 427, 206, - /* 1430 */ 429, 189, 359, 432, 433, 434, 435, 436, 437, 104, - /* 1440 */ 439, 100, 421, 223, 104, 444, 421, 446, 379, 426, - /* 1450 */ 359, 450, 451, 104, 414, 20, 351, 104, 42, 427, - /* 1460 */ 391, 429, 393, 193, 432, 433, 434, 435, 436, 437, - /* 1470 */ 20, 439, 351, 398, 396, 169, 444, 401, 446, 398, - /* 1480 */ 20, 193, 450, 451, 350, 398, 351, 350, 396, 396, - /* 1490 */ 101, 363, 99, 191, 362, 193, 427, 350, 429, 341, - /* 1500 */ 98, 432, 433, 434, 435, 436, 437, 361, 439, 351, - /* 1510 */ 20, 350, 343, 350, 350, 446, 48, 347, 343, 450, - /* 1520 */ 451, 347, 421, 20, 359, 223, 224, 359, 20, 393, - /* 1530 */ 352, 20, 191, 413, 193, 359, 352, 379, 359, 359, - /* 1540 */ 359, 350, 359, 343, 343, 379, 379, 350, 341, 391, - /* 1550 */ 379, 393, 379, 210, 425, 103, 423, 197, 351, 421, - /* 1560 */ 357, 420, 196, 391, 223, 224, 379, 379, 379, 379, - /* 1570 */ 419, 357, 379, 379, 341, 379, 391, 236, 237, 238, - /* 1580 */ 239, 240, 241, 242, 351, 427, 379, 429, 350, 195, - /* 1590 */ 432, 433, 434, 435, 436, 437, 391, 439, 391, 269, - /* 1600 */ 393, 393, 391, 277, 446, 401, 467, 268, 450, 451, - /* 1610 */ 391, 401, 379, 391, 412, 467, 391, 418, 406, 406, - /* 1620 */ 470, 182, 469, 279, 391, 341, 393, 263, 278, 412, - /* 1630 */ 486, 286, 259, 281, 427, 351, 429, 283, 341, 432, - /* 1640 */ 433, 434, 435, 436, 437, 351, 439, 20, 351, 357, - /* 1650 */ 352, 20, 466, 446, 404, 406, 357, 450, 451, 431, - /* 1660 */ 427, 406, 429, 379, 391, 432, 433, 434, 435, 436, - /* 1670 */ 437, 438, 439, 440, 441, 391, 379, 393, 391, 174, - /* 1680 */ 391, 465, 467, 403, 391, 464, 357, 341, 391, 375, - /* 1690 */ 393, 391, 391, 357, 103, 449, 103, 351, 480, 351, - /* 1700 */ 383, 391, 369, 36, 341, 479, 344, 350, 343, 0, - /* 1710 */ 407, 427, 357, 429, 351, 407, 432, 433, 434, 435, - /* 1720 */ 436, 437, 415, 439, 427, 379, 429, 339, 358, 432, - /* 1730 */ 433, 434, 435, 436, 437, 422, 439, 391, 0, 393, - /* 1740 */ 373, 373, 379, 446, 373, 0, 42, 384, 451, 0, - /* 1750 */ 35, 216, 35, 341, 391, 35, 393, 35, 216, 0, - /* 1760 */ 35, 35, 216, 351, 0, 216, 0, 483, 484, 35, - /* 1770 */ 0, 0, 22, 427, 35, 429, 211, 341, 432, 433, - /* 1780 */ 434, 435, 436, 437, 0, 439, 199, 351, 0, 199, - /* 1790 */ 427, 379, 429, 193, 200, 432, 433, 434, 435, 436, - /* 1800 */ 437, 191, 439, 391, 341, 393, 0, 0, 0, 187, - /* 1810 */ 186, 0, 0, 0, 351, 379, 47, 0, 0, 473, - /* 1820 */ 384, 47, 0, 42, 341, 0, 0, 391, 0, 393, - /* 1830 */ 47, 0, 0, 0, 351, 0, 0, 0, 159, 427, - /* 1840 */ 35, 429, 379, 0, 432, 433, 434, 435, 436, 437, - /* 1850 */ 159, 439, 0, 0, 391, 0, 393, 0, 0, 0, - /* 1860 */ 0, 0, 379, 427, 0, 429, 0, 384, 432, 433, - /* 1870 */ 434, 435, 436, 437, 391, 439, 393, 47, 0, 0, - /* 1880 */ 42, 0, 0, 0, 0, 0, 62, 475, 0, 0, - /* 1890 */ 427, 341, 429, 0, 0, 432, 433, 434, 435, 436, - /* 1900 */ 437, 351, 439, 0, 0, 0, 0, 0, 22, 0, - /* 1910 */ 427, 143, 429, 0, 22, 432, 433, 434, 435, 436, - /* 1920 */ 437, 341, 439, 48, 48, 0, 35, 0, 0, 379, - /* 1930 */ 22, 351, 62, 62, 384, 0, 0, 39, 0, 49, - /* 1940 */ 39, 391, 0, 393, 49, 35, 35, 484, 49, 35, - /* 1950 */ 0, 39, 35, 0, 14, 39, 0, 42, 0, 379, - /* 1960 */ 0, 39, 44, 40, 384, 0, 47, 47, 47, 39, - /* 1970 */ 0, 391, 182, 393, 35, 49, 39, 427, 0, 429, - /* 1980 */ 341, 0, 432, 433, 434, 435, 436, 437, 1, 439, - /* 1990 */ 351, 0, 0, 69, 0, 49, 35, 0, 39, 35, - /* 2000 */ 49, 39, 0, 35, 49, 39, 19, 427, 0, 429, - /* 2010 */ 0, 0, 432, 433, 434, 435, 436, 437, 379, 439, - /* 2020 */ 33, 0, 0, 0, 0, 35, 22, 44, 35, 44, - /* 2030 */ 391, 35, 393, 35, 35, 35, 49, 0, 35, 22, - /* 2040 */ 35, 112, 110, 0, 57, 58, 59, 60, 35, 62, - /* 2050 */ 35, 35, 22, 341, 22, 0, 22, 51, 0, 0, - /* 2060 */ 35, 35, 35, 351, 0, 0, 427, 22, 429, 20, - /* 2070 */ 35, 432, 433, 434, 435, 436, 437, 35, 439, 35, - /* 2080 */ 104, 35, 103, 103, 341, 198, 0, 0, 22, 102, - /* 2090 */ 194, 379, 105, 22, 351, 0, 3, 44, 264, 104, - /* 2100 */ 48, 44, 3, 391, 103, 393, 172, 174, 48, 178, - /* 2110 */ 47, 99, 103, 172, 44, 172, 172, 44, 104, 341, - /* 2120 */ 101, 103, 379, 178, 104, 138, 47, 44, 44, 351, - /* 2130 */ 258, 103, 103, 264, 391, 104, 393, 104, 264, 427, - /* 2140 */ 104, 429, 103, 35, 432, 433, 434, 435, 436, 437, - /* 2150 */ 35, 439, 35, 35, 35, 35, 341, 379, 47, 47, - /* 2160 */ 173, 0, 0, 47, 39, 104, 351, 180, 44, 391, - /* 2170 */ 427, 393, 429, 104, 0, 432, 433, 434, 435, 436, - /* 2180 */ 437, 341, 439, 103, 103, 103, 199, 39, 113, 104, - /* 2190 */ 47, 351, 104, 103, 379, 103, 44, 103, 101, 245, - /* 2200 */ 2, 101, 22, 47, 103, 427, 391, 429, 393, 223, - /* 2210 */ 432, 433, 434, 435, 436, 437, 175, 439, 341, 379, - /* 2220 */ 173, 22, 47, 114, 35, 104, 104, 35, 351, 103, - /* 2230 */ 103, 391, 104, 393, 103, 103, 35, 104, 103, 35, - /* 2240 */ 104, 103, 427, 341, 429, 104, 104, 432, 433, 434, - /* 2250 */ 435, 436, 437, 351, 439, 104, 379, 103, 103, 35, - /* 2260 */ 103, 35, 104, 225, 104, 35, 103, 427, 391, 429, - /* 2270 */ 393, 103, 432, 433, 434, 435, 436, 437, 125, 439, - /* 2280 */ 103, 379, 44, 35, 125, 22, 103, 103, 69, 125, - /* 2290 */ 125, 68, 35, 391, 35, 393, 35, 35, 44, 35, - /* 2300 */ 35, 35, 35, 75, 427, 97, 429, 35, 35, 432, - /* 2310 */ 433, 434, 435, 436, 437, 341, 439, 35, 22, 35, - /* 2320 */ 35, 35, 75, 35, 35, 351, 35, 35, 35, 427, - /* 2330 */ 341, 429, 22, 35, 432, 433, 434, 435, 436, 437, - /* 2340 */ 351, 439, 0, 35, 49, 39, 0, 35, 341, 49, - /* 2350 */ 0, 35, 39, 379, 49, 0, 39, 35, 351, 39, - /* 2360 */ 0, 35, 35, 49, 0, 391, 22, 393, 379, 21, - /* 2370 */ 487, 22, 20, 22, 21, 487, 487, 487, 487, 487, - /* 2380 */ 391, 487, 393, 487, 487, 487, 379, 487, 487, 487, - /* 2390 */ 487, 487, 487, 487, 487, 341, 487, 487, 391, 487, - /* 2400 */ 393, 427, 487, 429, 487, 351, 432, 433, 434, 435, - /* 2410 */ 436, 437, 487, 439, 487, 487, 427, 341, 429, 487, - /* 2420 */ 487, 432, 433, 434, 435, 436, 437, 351, 439, 487, - /* 2430 */ 487, 487, 487, 379, 427, 487, 429, 487, 487, 432, - /* 2440 */ 433, 434, 435, 436, 437, 391, 439, 393, 487, 487, - /* 2450 */ 487, 487, 487, 487, 487, 379, 487, 487, 487, 487, - /* 2460 */ 487, 487, 487, 487, 341, 487, 487, 391, 487, 393, - /* 2470 */ 487, 487, 487, 487, 351, 487, 487, 487, 487, 487, - /* 2480 */ 487, 427, 487, 429, 487, 487, 432, 433, 434, 435, - /* 2490 */ 436, 437, 487, 439, 487, 487, 487, 487, 487, 487, - /* 2500 */ 487, 487, 379, 427, 487, 429, 487, 487, 432, 433, - /* 2510 */ 434, 435, 436, 437, 391, 439, 393, 487, 487, 487, - /* 2520 */ 487, 487, 487, 341, 487, 487, 487, 487, 487, 487, - /* 2530 */ 487, 487, 487, 351, 487, 487, 341, 487, 487, 487, - /* 2540 */ 487, 487, 487, 487, 487, 487, 351, 487, 487, 487, - /* 2550 */ 427, 487, 429, 341, 487, 432, 433, 434, 435, 436, - /* 2560 */ 437, 379, 439, 351, 487, 487, 487, 487, 487, 487, - /* 2570 */ 487, 487, 487, 391, 379, 393, 487, 487, 487, 487, - /* 2580 */ 487, 487, 487, 487, 487, 341, 391, 487, 393, 487, - /* 2590 */ 487, 379, 487, 487, 487, 351, 487, 487, 487, 487, - /* 2600 */ 487, 487, 487, 391, 487, 393, 487, 487, 487, 427, - /* 2610 */ 487, 429, 487, 487, 432, 433, 434, 435, 436, 437, - /* 2620 */ 487, 439, 427, 379, 429, 487, 487, 432, 433, 434, - /* 2630 */ 435, 436, 437, 487, 439, 391, 487, 393, 487, 427, - /* 2640 */ 487, 429, 487, 487, 432, 433, 434, 435, 436, 437, - /* 2650 */ 487, 439, 341, 487, 487, 487, 487, 487, 487, 487, - /* 2660 */ 487, 487, 351, 487, 487, 487, 487, 487, 487, 487, - /* 2670 */ 487, 427, 341, 429, 487, 487, 432, 433, 434, 435, - /* 2680 */ 436, 437, 351, 439, 487, 487, 487, 487, 487, 487, - /* 2690 */ 379, 487, 487, 487, 487, 487, 487, 487, 487, 487, - /* 2700 */ 487, 487, 391, 487, 393, 487, 487, 487, 487, 487, - /* 2710 */ 379, 487, 487, 487, 487, 487, 487, 487, 487, 487, - /* 2720 */ 487, 487, 391, 487, 393, 487, 487, 487, 487, 487, - /* 2730 */ 487, 487, 487, 487, 487, 487, 487, 487, 427, 487, - /* 2740 */ 429, 487, 341, 432, 433, 434, 435, 436, 437, 487, - /* 2750 */ 439, 487, 351, 487, 487, 487, 487, 487, 427, 341, - /* 2760 */ 429, 487, 487, 432, 433, 434, 435, 436, 437, 351, - /* 2770 */ 439, 487, 487, 487, 487, 487, 487, 487, 487, 487, - /* 2780 */ 379, 487, 487, 487, 487, 487, 487, 487, 487, 487, - /* 2790 */ 487, 487, 391, 487, 393, 487, 487, 379, 487, 487, - /* 2800 */ 487, 487, 487, 487, 487, 487, 487, 487, 487, 391, - /* 2810 */ 487, 393, 487, 487, 487, 487, 487, 487, 487, 487, - /* 2820 */ 487, 487, 487, 487, 487, 487, 487, 487, 427, 487, - /* 2830 */ 429, 487, 487, 432, 433, 434, 435, 436, 437, 487, - /* 2840 */ 439, 487, 487, 487, 487, 427, 487, 429, 487, 487, - /* 2850 */ 432, 433, 434, 435, 436, 437, 487, 439, 338, 338, - /* 2860 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2870 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2880 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2890 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2900 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2910 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2920 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2930 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2940 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2950 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2960 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2970 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2980 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 2990 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3000 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3010 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3020 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3030 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3040 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3050 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3060 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3070 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3080 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3090 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3100 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3110 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3120 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3130 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3140 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3150 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3160 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3170 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3180 */ 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, - /* 3190 */ 338, 338, 338, 338, 338, 338, + /* 1090 */ 88, 89, 90, 91, 92, 93, 94, 95, 96, 343, + /* 1100 */ 170, 460, 1, 2, 463, 42, 102, 44, 103, 33, + /* 1110 */ 352, 353, 393, 393, 393, 393, 393, 403, 114, 352, + /* 1120 */ 353, 480, 481, 352, 353, 49, 485, 486, 45, 46, + /* 1130 */ 372, 357, 358, 57, 58, 59, 60, 368, 62, 372, + /* 1140 */ 371, 343, 381, 372, 258, 259, 489, 142, 144, 393, + /* 1150 */ 389, 147, 148, 149, 150, 151, 152, 153, 154, 155, + /* 1160 */ 156, 157, 158, 159, 160, 161, 162, 163, 369, 165, + /* 1170 */ 166, 167, 140, 141, 107, 352, 353, 110, 102, 352, + /* 1180 */ 353, 105, 383, 381, 343, 343, 369, 0, 183, 184, + /* 1190 */ 185, 393, 393, 188, 343, 372, 352, 353, 396, 372, + /* 1200 */ 383, 0, 352, 353, 353, 104, 201, 202, 44, 14, + /* 1210 */ 393, 343, 114, 343, 343, 20, 372, 212, 1, 2, + /* 1220 */ 215, 343, 372, 218, 219, 220, 221, 222, 35, 22, + /* 1230 */ 431, 353, 381, 355, 393, 393, 49, 207, 217, 209, + /* 1240 */ 441, 343, 35, 478, 393, 44, 395, 356, 431, 173, + /* 1250 */ 174, 353, 107, 355, 13, 110, 180, 181, 441, 381, + /* 1260 */ 44, 393, 164, 393, 393, 260, 107, 62, 104, 110, + /* 1270 */ 369, 393, 13, 395, 107, 199, 35, 110, 0, 381, + /* 1280 */ 429, 44, 431, 0, 0, 434, 435, 436, 437, 438, + /* 1290 */ 439, 393, 441, 395, 35, 44, 44, 446, 44, 448, + /* 1300 */ 22, 471, 44, 452, 453, 22, 22, 429, 44, 431, + /* 1310 */ 105, 44, 434, 435, 436, 437, 438, 439, 103, 441, + /* 1320 */ 104, 44, 369, 44, 446, 44, 448, 429, 113, 431, + /* 1330 */ 452, 453, 434, 435, 436, 437, 438, 439, 44, 441, + /* 1340 */ 44, 104, 44, 44, 446, 44, 448, 44, 44, 343, + /* 1350 */ 452, 453, 13, 13, 35, 104, 104, 35, 104, 353, + /* 1360 */ 0, 355, 104, 381, 412, 356, 351, 403, 104, 353, + /* 1370 */ 392, 104, 403, 462, 35, 35, 482, 454, 343, 264, + /* 1380 */ 414, 104, 49, 104, 430, 104, 193, 381, 353, 20, + /* 1390 */ 355, 423, 206, 428, 361, 423, 416, 75, 104, 393, + /* 1400 */ 104, 395, 104, 104, 361, 104, 20, 104, 104, 189, + /* 1410 */ 50, 353, 42, 343, 400, 20, 381, 353, 400, 169, + /* 1420 */ 403, 398, 20, 353, 352, 355, 353, 352, 393, 400, + /* 1430 */ 395, 101, 398, 365, 398, 429, 99, 431, 364, 352, + /* 1440 */ 434, 435, 436, 437, 438, 439, 98, 441, 363, 352, + /* 1450 */ 20, 381, 446, 345, 448, 352, 352, 48, 452, 453, + /* 1460 */ 349, 345, 349, 393, 429, 395, 431, 423, 361, 434, + /* 1470 */ 435, 436, 437, 438, 439, 395, 441, 20, 1, 12, + /* 1480 */ 13, 446, 361, 448, 20, 354, 415, 452, 453, 22, + /* 1490 */ 20, 361, 354, 361, 361, 361, 19, 361, 352, 429, + /* 1500 */ 33, 431, 35, 343, 434, 435, 436, 437, 438, 439, + /* 1510 */ 33, 441, 193, 353, 345, 345, 446, 393, 448, 393, + /* 1520 */ 381, 381, 452, 453, 381, 381, 49, 352, 381, 62, + /* 1530 */ 381, 381, 381, 343, 57, 58, 59, 60, 381, 62, + /* 1540 */ 103, 381, 75, 353, 381, 393, 381, 427, 210, 197, + /* 1550 */ 425, 423, 196, 393, 195, 395, 359, 422, 421, 359, + /* 1560 */ 352, 395, 420, 271, 403, 403, 393, 100, 414, 470, + /* 1570 */ 270, 381, 393, 393, 393, 470, 408, 280, 182, 102, + /* 1580 */ 408, 279, 105, 393, 472, 395, 281, 473, 470, 429, + /* 1590 */ 468, 431, 469, 265, 434, 435, 436, 437, 438, 439, + /* 1600 */ 288, 441, 414, 484, 283, 285, 446, 490, 448, 259, + /* 1610 */ 483, 20, 452, 453, 353, 138, 433, 354, 20, 429, + /* 1620 */ 467, 431, 408, 393, 434, 435, 436, 437, 438, 439, + /* 1630 */ 343, 441, 359, 359, 406, 393, 393, 393, 448, 393, + /* 1640 */ 353, 408, 452, 453, 405, 174, 393, 359, 377, 359, + /* 1650 */ 173, 103, 103, 451, 385, 393, 371, 180, 191, 353, + /* 1660 */ 193, 343, 352, 36, 417, 409, 359, 341, 381, 346, + /* 1670 */ 345, 353, 424, 360, 409, 0, 199, 343, 42, 0, + /* 1680 */ 393, 0, 395, 375, 375, 0, 375, 353, 35, 216, + /* 1690 */ 223, 224, 35, 35, 35, 216, 0, 35, 35, 381, + /* 1700 */ 216, 0, 216, 236, 237, 238, 239, 240, 241, 242, + /* 1710 */ 0, 393, 35, 395, 0, 381, 429, 22, 431, 0, + /* 1720 */ 211, 434, 435, 436, 437, 438, 439, 393, 441, 395, + /* 1730 */ 0, 199, 35, 0, 199, 448, 200, 193, 191, 452, + /* 1740 */ 453, 0, 0, 0, 187, 186, 0, 429, 0, 431, + /* 1750 */ 47, 0, 434, 435, 436, 437, 438, 439, 0, 441, + /* 1760 */ 0, 0, 47, 429, 42, 431, 0, 0, 434, 435, + /* 1770 */ 436, 437, 438, 439, 343, 441, 0, 0, 47, 0, + /* 1780 */ 0, 0, 448, 0, 353, 343, 0, 453, 159, 35, + /* 1790 */ 0, 159, 0, 0, 0, 353, 0, 0, 343, 0, + /* 1800 */ 0, 0, 0, 0, 0, 487, 488, 42, 353, 343, + /* 1810 */ 0, 0, 381, 0, 0, 0, 47, 0, 0, 353, + /* 1820 */ 0, 0, 0, 381, 393, 0, 395, 0, 386, 0, + /* 1830 */ 22, 0, 0, 143, 0, 393, 381, 395, 0, 48, + /* 1840 */ 0, 386, 0, 48, 62, 22, 22, 381, 393, 62, + /* 1850 */ 395, 35, 0, 0, 0, 49, 0, 0, 39, 393, + /* 1860 */ 429, 395, 431, 35, 0, 434, 435, 436, 437, 438, + /* 1870 */ 439, 429, 441, 431, 62, 49, 434, 435, 436, 437, + /* 1880 */ 438, 439, 35, 441, 429, 39, 431, 39, 49, 434, + /* 1890 */ 435, 436, 437, 438, 439, 429, 441, 431, 35, 343, + /* 1900 */ 434, 435, 436, 437, 438, 439, 35, 441, 477, 353, + /* 1910 */ 0, 42, 39, 47, 44, 343, 14, 0, 40, 39, + /* 1920 */ 0, 47, 47, 0, 0, 353, 39, 182, 0, 0, + /* 1930 */ 0, 69, 0, 0, 35, 49, 39, 381, 0, 35, + /* 1940 */ 49, 0, 39, 35, 49, 479, 39, 0, 35, 393, + /* 1950 */ 49, 395, 0, 381, 39, 0, 0, 0, 386, 0, + /* 1960 */ 0, 112, 35, 0, 22, 393, 35, 395, 110, 35, + /* 1970 */ 35, 35, 35, 22, 343, 35, 0, 0, 35, 0, + /* 1980 */ 35, 35, 0, 44, 353, 429, 22, 431, 44, 35, + /* 1990 */ 434, 435, 436, 437, 438, 439, 22, 441, 0, 51, + /* 2000 */ 22, 429, 35, 431, 343, 35, 434, 435, 436, 437, + /* 2010 */ 438, 439, 381, 441, 353, 35, 0, 22, 35, 20, + /* 2020 */ 35, 343, 35, 104, 393, 103, 395, 0, 103, 35, + /* 2030 */ 0, 353, 172, 198, 22, 194, 22, 172, 0, 0, + /* 2040 */ 172, 174, 381, 3, 488, 44, 44, 386, 172, 99, + /* 2050 */ 266, 343, 48, 104, 393, 178, 395, 178, 48, 381, + /* 2060 */ 429, 353, 431, 101, 386, 434, 435, 436, 437, 438, + /* 2070 */ 439, 393, 441, 395, 443, 103, 44, 104, 44, 3, + /* 2080 */ 47, 44, 47, 343, 103, 44, 35, 103, 35, 381, + /* 2090 */ 429, 103, 431, 353, 104, 434, 435, 436, 437, 438, + /* 2100 */ 439, 393, 441, 395, 104, 35, 103, 429, 103, 431, + /* 2110 */ 104, 104, 434, 435, 436, 437, 438, 439, 343, 441, + /* 2120 */ 103, 381, 103, 35, 104, 266, 104, 266, 353, 35, + /* 2130 */ 35, 47, 104, 393, 44, 395, 47, 429, 0, 431, + /* 2140 */ 104, 258, 434, 435, 436, 437, 438, 439, 0, 441, + /* 2150 */ 343, 103, 39, 47, 104, 103, 381, 0, 104, 103, + /* 2160 */ 353, 103, 103, 39, 175, 173, 103, 47, 393, 429, + /* 2170 */ 395, 431, 44, 113, 434, 435, 436, 437, 438, 439, + /* 2180 */ 343, 441, 101, 101, 2, 22, 103, 47, 381, 223, + /* 2190 */ 353, 104, 22, 47, 103, 35, 104, 104, 245, 103, + /* 2200 */ 393, 103, 395, 103, 429, 104, 431, 103, 35, 434, + /* 2210 */ 435, 436, 437, 438, 439, 343, 441, 114, 381, 104, + /* 2220 */ 103, 225, 104, 35, 103, 353, 104, 35, 103, 35, + /* 2230 */ 393, 104, 395, 103, 35, 104, 429, 104, 431, 343, + /* 2240 */ 103, 434, 435, 436, 437, 438, 439, 35, 441, 353, + /* 2250 */ 103, 125, 343, 381, 125, 103, 103, 125, 44, 35, + /* 2260 */ 125, 103, 353, 22, 69, 393, 429, 395, 431, 68, + /* 2270 */ 35, 434, 435, 436, 437, 438, 439, 381, 441, 35, + /* 2280 */ 35, 35, 35, 35, 35, 35, 75, 97, 35, 393, + /* 2290 */ 381, 395, 35, 35, 22, 44, 35, 35, 35, 35, + /* 2300 */ 75, 429, 393, 431, 395, 35, 434, 435, 436, 437, + /* 2310 */ 438, 439, 22, 441, 35, 35, 35, 35, 343, 0, + /* 2320 */ 35, 0, 49, 39, 35, 429, 0, 431, 353, 343, + /* 2330 */ 434, 435, 436, 437, 438, 439, 49, 441, 429, 353, + /* 2340 */ 431, 39, 35, 434, 435, 436, 437, 438, 439, 49, + /* 2350 */ 441, 343, 39, 0, 49, 35, 381, 39, 0, 35, + /* 2360 */ 35, 353, 0, 22, 21, 20, 22, 381, 393, 22, + /* 2370 */ 395, 21, 491, 491, 491, 491, 491, 491, 491, 393, + /* 2380 */ 491, 395, 491, 491, 491, 491, 491, 491, 343, 381, + /* 2390 */ 491, 491, 491, 491, 491, 491, 491, 491, 353, 491, + /* 2400 */ 491, 393, 491, 395, 429, 491, 431, 491, 491, 434, + /* 2410 */ 435, 436, 437, 438, 439, 429, 441, 431, 343, 491, + /* 2420 */ 434, 435, 436, 437, 438, 439, 381, 441, 353, 491, + /* 2430 */ 491, 491, 491, 491, 491, 491, 491, 429, 393, 431, + /* 2440 */ 395, 491, 434, 435, 436, 437, 438, 439, 491, 441, + /* 2450 */ 491, 343, 491, 491, 491, 491, 381, 491, 491, 491, + /* 2460 */ 491, 353, 491, 491, 491, 491, 491, 491, 393, 491, + /* 2470 */ 395, 491, 491, 491, 429, 491, 431, 343, 491, 434, + /* 2480 */ 435, 436, 437, 438, 439, 491, 441, 353, 343, 381, + /* 2490 */ 491, 491, 491, 491, 491, 491, 491, 491, 353, 491, + /* 2500 */ 491, 393, 491, 395, 429, 491, 431, 491, 491, 434, + /* 2510 */ 435, 436, 437, 438, 439, 381, 441, 491, 491, 491, + /* 2520 */ 491, 491, 491, 491, 491, 491, 381, 393, 491, 395, + /* 2530 */ 491, 491, 491, 491, 491, 491, 491, 429, 393, 431, + /* 2540 */ 395, 491, 434, 435, 436, 437, 438, 439, 491, 441, + /* 2550 */ 343, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2560 */ 353, 491, 491, 429, 491, 431, 491, 491, 434, 435, + /* 2570 */ 436, 437, 438, 439, 429, 441, 431, 491, 491, 434, + /* 2580 */ 435, 436, 437, 438, 439, 343, 441, 491, 381, 491, + /* 2590 */ 491, 491, 491, 491, 491, 353, 491, 491, 491, 491, + /* 2600 */ 393, 491, 395, 491, 491, 491, 491, 491, 491, 343, + /* 2610 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 353, + /* 2620 */ 343, 491, 491, 381, 491, 491, 491, 491, 491, 491, + /* 2630 */ 353, 491, 491, 491, 491, 393, 429, 395, 431, 491, + /* 2640 */ 491, 434, 435, 436, 437, 438, 439, 381, 441, 491, + /* 2650 */ 491, 491, 491, 491, 491, 491, 491, 491, 381, 393, + /* 2660 */ 491, 395, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2670 */ 393, 429, 395, 431, 491, 491, 434, 435, 436, 437, + /* 2680 */ 438, 439, 343, 441, 491, 491, 491, 491, 491, 491, + /* 2690 */ 491, 491, 353, 491, 491, 429, 491, 431, 491, 491, + /* 2700 */ 434, 435, 436, 437, 438, 439, 429, 441, 431, 491, + /* 2710 */ 491, 434, 435, 436, 437, 438, 439, 0, 441, 491, + /* 2720 */ 381, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2730 */ 491, 491, 393, 343, 395, 491, 491, 491, 491, 491, + /* 2740 */ 491, 491, 491, 353, 491, 491, 491, 491, 491, 491, + /* 2750 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2760 */ 491, 491, 491, 491, 491, 491, 491, 491, 429, 491, + /* 2770 */ 431, 381, 491, 434, 435, 436, 437, 438, 439, 491, + /* 2780 */ 441, 491, 491, 393, 491, 395, 491, 70, 71, 72, + /* 2790 */ 491, 491, 491, 491, 77, 78, 79, 491, 491, 491, + /* 2800 */ 83, 491, 491, 491, 491, 88, 89, 90, 91, 491, + /* 2810 */ 491, 94, 491, 491, 491, 491, 491, 491, 491, 429, + /* 2820 */ 491, 431, 491, 491, 434, 435, 436, 437, 438, 439, + /* 2830 */ 491, 441, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2840 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2850 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2860 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2870 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2880 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2890 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2900 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2910 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2920 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2930 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2940 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2950 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2960 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2970 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2980 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 2990 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 3000 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 3010 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 3020 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 3030 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 3040 */ 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, + /* 3050 */ 491, 491, 491, 491, 491, 491, 491, 491, 340, 340, + /* 3060 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3070 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3080 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3090 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3100 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3110 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3120 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3130 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3140 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3150 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3160 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + /* 3170 */ 340, 340, }; -#define YY_SHIFT_COUNT (799) +#define YY_SHIFT_COUNT (804) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2364) +#define YY_SHIFT_MAX (2717) static const unsigned short int yy_shift_ofst[] = { /* 0 */ 1005, 0, 104, 0, 337, 337, 337, 337, 337, 337, /* 10 */ 337, 337, 337, 337, 337, 337, 441, 673, 673, 777, /* 20 */ 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, /* 30 */ 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, /* 40 */ 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, - /* 50 */ 673, 60, 259, 393, 629, 111, 739, 111, 629, 629, - /* 60 */ 111, 1341, 111, 1341, 1341, 66, 111, 68, 781, 101, - /* 70 */ 101, 781, 13, 13, 113, 294, 23, 23, 101, 101, - /* 80 */ 101, 101, 101, 101, 101, 101, 101, 101, 158, 101, - /* 90 */ 101, 211, 68, 101, 101, 285, 68, 101, 158, 101, - /* 100 */ 158, 68, 101, 101, 68, 101, 68, 68, 68, 101, - /* 110 */ 284, 1004, 15, 15, 303, 462, 1302, 1302, 1302, 1302, - /* 120 */ 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, 1302, - /* 130 */ 1302, 1302, 1302, 1302, 1302, 1072, 18, 113, 294, 802, - /* 140 */ 802, 184, 346, 346, 346, 705, 312, 312, 184, 211, - /* 150 */ 254, 260, 68, 534, 68, 534, 534, 836, 619, 28, - /* 160 */ 28, 28, 28, 28, 28, 28, 28, 1987, 757, 261, - /* 170 */ 580, 613, 508, 49, 123, 343, 343, 526, 354, 1007, - /* 180 */ 299, 1079, 1192, 418, 398, 1085, 916, 939, 785, 916, - /* 190 */ 1177, 325, 290, 1162, 1369, 1407, 1223, 211, 1407, 211, - /* 200 */ 1242, 1435, 1416, 1450, 1435, 1416, 1306, 1460, 1435, 1460, - /* 210 */ 1416, 1306, 1306, 1389, 1393, 1460, 1402, 1460, 1460, 1460, - /* 220 */ 1490, 1468, 1490, 1468, 1407, 211, 1503, 211, 1508, 1511, - /* 230 */ 211, 1508, 211, 211, 211, 1460, 211, 1490, 68, 68, - /* 240 */ 68, 68, 68, 68, 68, 68, 68, 68, 68, 1460, - /* 250 */ 1490, 534, 534, 534, 1343, 1452, 1407, 284, 1360, 1366, - /* 260 */ 1503, 284, 1394, 1162, 1460, 1450, 1450, 534, 1330, 1339, - /* 270 */ 534, 1330, 1339, 534, 534, 68, 1326, 1439, 1330, 1344, - /* 280 */ 1350, 1364, 1162, 1345, 1354, 1352, 1373, 1435, 1627, 1508, - /* 290 */ 284, 284, 1631, 1339, 534, 534, 534, 534, 534, 1339, - /* 300 */ 534, 1505, 284, 836, 284, 1435, 1591, 1593, 534, 619, - /* 310 */ 1460, 284, 1667, 1490, 2858, 2858, 2858, 2858, 2858, 2858, - /* 320 */ 2858, 2858, 2858, 1002, 1074, 225, 32, 736, 750, 860, - /* 330 */ 687, 980, 1356, 434, 791, 197, 197, 197, 197, 197, - /* 340 */ 197, 197, 197, 197, 749, 265, 698, 698, 29, 6, - /* 350 */ 34, 307, 830, 562, 963, 902, 514, 282, 282, 1097, - /* 360 */ 728, 971, 1097, 1097, 1097, 983, 1044, 622, 1209, 1198, - /* 370 */ 1131, 1077, 1143, 1149, 1156, 1160, 1236, 1256, 815, 1182, - /* 380 */ 1275, 1071, 1195, 1224, 63, 1232, 1237, 1262, 1152, 1124, - /* 390 */ 1094, 1263, 1277, 1278, 1282, 1285, 1286, 1332, 1291, 1220, - /* 400 */ 1295, 311, 1305, 1315, 1335, 1340, 1349, 1353, 1206, 1270, - /* 410 */ 1288, 1372, 1378, 409, 1351, 1709, 1738, 1745, 1704, 1749, - /* 420 */ 1715, 1535, 1717, 1720, 1722, 1542, 1759, 1725, 1726, 1546, - /* 430 */ 1764, 1549, 1766, 1734, 1770, 1750, 1771, 1739, 1565, 1784, - /* 440 */ 1587, 1788, 1590, 1594, 1600, 1610, 1806, 1807, 1808, 1622, - /* 450 */ 1624, 1811, 1812, 1769, 1813, 1817, 1818, 1774, 1822, 1781, - /* 460 */ 1825, 1826, 1828, 1783, 1831, 1832, 1833, 1835, 1836, 1837, - /* 470 */ 1679, 1805, 1843, 1691, 1852, 1853, 1855, 1857, 1858, 1859, - /* 480 */ 1860, 1861, 1864, 1866, 1888, 1889, 1893, 1894, 1903, 1904, - /* 490 */ 1830, 1878, 1838, 1879, 1881, 1882, 1883, 1884, 1885, 1886, - /* 500 */ 1905, 1906, 1907, 1768, 1909, 1913, 1892, 1875, 1908, 1876, - /* 510 */ 1925, 1824, 1891, 1927, 1870, 1928, 1871, 1935, 1936, 1910, - /* 520 */ 1890, 1898, 1938, 1911, 1895, 1901, 1942, 1914, 1899, 1912, - /* 530 */ 1950, 1917, 1953, 1915, 1916, 1918, 1919, 1920, 1940, 1921, - /* 540 */ 1956, 1923, 1922, 1958, 1960, 1965, 1930, 1790, 1970, 1978, - /* 550 */ 1981, 1924, 1991, 1992, 1939, 1926, 1937, 1994, 1961, 1946, - /* 560 */ 1959, 1997, 1964, 1951, 1962, 2002, 1968, 1955, 1966, 2008, - /* 570 */ 2010, 2011, 2021, 2022, 2023, 1929, 1932, 1990, 2004, 2024, - /* 580 */ 1993, 1996, 1998, 1999, 2000, 2003, 2005, 1983, 1985, 2013, - /* 590 */ 2015, 2017, 2016, 2037, 2030, 2043, 2032, 2006, 2055, 2034, - /* 600 */ 2025, 2058, 2026, 2059, 2027, 2064, 2045, 2049, 2035, 2042, - /* 610 */ 2044, 1976, 1979, 2065, 1934, 1980, 1887, 2046, 2066, 2086, - /* 620 */ 1896, 2071, 1941, 1933, 2087, 2095, 1943, 1931, 1944, 1945, - /* 630 */ 2093, 2053, 1834, 2001, 1995, 2009, 2052, 2019, 2060, 2012, - /* 640 */ 2014, 2057, 2070, 2020, 2018, 2028, 2029, 2031, 2073, 2063, - /* 650 */ 2079, 2039, 2083, 1869, 2033, 2036, 2099, 2084, 1874, 2108, - /* 660 */ 2115, 2117, 2118, 2119, 2120, 2061, 2069, 2111, 1872, 2124, - /* 670 */ 2112, 2161, 2162, 2080, 2125, 1919, 2116, 2081, 2085, 2088, - /* 680 */ 2082, 2090, 2041, 2092, 2174, 2148, 2047, 2094, 2075, 1919, - /* 690 */ 2143, 2152, 2097, 1954, 2100, 2198, 2180, 1986, 2101, 2121, - /* 700 */ 2126, 2122, 2127, 2128, 2156, 2131, 2132, 2175, 2133, 2199, - /* 710 */ 2038, 2135, 2109, 2136, 2189, 2192, 2138, 2141, 2201, 2154, - /* 720 */ 2142, 2204, 2155, 2151, 2224, 2157, 2158, 2226, 2163, 2160, - /* 730 */ 2230, 2168, 2153, 2159, 2164, 2165, 2177, 2238, 2183, 2248, - /* 740 */ 2184, 2238, 2238, 2263, 2219, 2223, 2257, 2259, 2261, 2262, - /* 750 */ 2264, 2265, 2266, 2267, 2228, 2208, 2254, 2272, 2273, 2282, - /* 760 */ 2296, 2284, 2285, 2286, 2247, 1983, 2288, 1985, 2289, 2291, - /* 770 */ 2292, 2293, 2310, 2298, 2342, 2308, 2295, 2306, 2346, 2312, - /* 780 */ 2300, 2313, 2350, 2316, 2305, 2317, 2355, 2322, 2314, 2320, - /* 790 */ 2360, 2326, 2327, 2364, 2344, 2348, 2349, 2351, 2353, 2352, + /* 50 */ 673, 50, 395, 619, 32, 156, 791, 156, 32, 32, + /* 60 */ 156, 1467, 156, 1467, 1467, 119, 156, 87, 780, 153, + /* 70 */ 153, 780, 413, 413, 43, 34, 20, 20, 153, 153, + /* 80 */ 153, 153, 153, 153, 153, 153, 153, 153, 160, 153, + /* 90 */ 153, 75, 87, 153, 153, 174, 87, 153, 160, 153, + /* 100 */ 160, 87, 153, 153, 87, 153, 87, 87, 87, 153, + /* 110 */ 181, 1004, 15, 15, 303, 171, 613, 613, 613, 613, + /* 120 */ 613, 613, 613, 613, 613, 613, 613, 613, 613, 613, + /* 130 */ 613, 613, 613, 613, 613, 825, 411, 46, 43, 34, + /* 140 */ 565, 565, 445, 292, 292, 292, 783, 432, 175, 175, + /* 150 */ 445, 75, 169, 78, 87, 283, 87, 283, 283, 336, + /* 160 */ 512, 28, 28, 28, 28, 28, 28, 28, 28, 1477, + /* 170 */ 2717, 261, 414, 29, 480, 334, 109, 614, 614, 826, + /* 180 */ 686, 930, 342, 294, 1083, 1195, 856, 602, 886, 18, + /* 190 */ 122, 886, 501, 907, 1115, 1333, 1369, 1186, 75, 1369, + /* 200 */ 75, 1220, 1386, 1370, 1395, 1386, 1370, 1250, 1402, 1386, + /* 210 */ 1402, 1370, 1250, 1250, 1330, 1337, 1402, 1348, 1402, 1402, + /* 220 */ 1402, 1430, 1409, 1430, 1409, 1369, 75, 1457, 75, 1464, + /* 230 */ 1470, 75, 1464, 75, 75, 75, 1402, 75, 1430, 87, + /* 240 */ 87, 87, 87, 87, 87, 87, 87, 87, 87, 87, + /* 250 */ 1402, 1430, 283, 283, 283, 1338, 1437, 1369, 181, 1352, + /* 260 */ 1356, 1457, 181, 1359, 1115, 1402, 1395, 1395, 283, 1292, + /* 270 */ 1300, 283, 1292, 1300, 283, 283, 87, 1302, 1396, 1292, + /* 280 */ 1305, 1297, 1328, 1115, 1312, 1320, 1321, 1350, 1386, 1591, + /* 290 */ 1464, 181, 181, 1598, 1300, 283, 283, 283, 283, 283, + /* 300 */ 1300, 283, 1471, 181, 336, 181, 1386, 1548, 1549, 283, + /* 310 */ 512, 1402, 181, 1627, 1430, 2832, 2832, 2832, 2832, 2832, + /* 320 */ 2832, 2832, 2832, 2832, 1002, 1076, 225, 509, 936, 712, + /* 330 */ 728, 504, 106, 813, 753, 645, 638, 638, 638, 638, + /* 340 */ 638, 638, 638, 638, 638, 736, 743, 430, 430, 351, + /* 350 */ 25, 505, 591, 561, 333, 459, 963, 626, 852, 852, + /* 360 */ 1011, 1101, 606, 1011, 1011, 1011, 1187, 1021, 764, 1207, + /* 370 */ 1063, 1098, 1201, 1067, 1145, 1159, 1167, 1241, 1259, 1278, + /* 380 */ 1283, 1284, 1030, 1164, 1216, 1205, 1237, 1251, 1252, 1032, + /* 390 */ 564, 666, 1254, 1258, 1264, 1267, 1277, 1279, 1217, 1281, + /* 400 */ 718, 1294, 282, 1296, 1298, 1299, 1301, 1303, 1304, 1215, + /* 410 */ 1193, 1319, 1339, 1340, 1322, 1360, 1675, 1681, 1685, 1636, + /* 420 */ 1679, 1653, 1473, 1657, 1658, 1659, 1479, 1696, 1662, 1663, + /* 430 */ 1484, 1701, 1486, 1710, 1677, 1714, 1695, 1719, 1697, 1509, + /* 440 */ 1730, 1532, 1733, 1535, 1536, 1544, 1547, 1741, 1742, 1743, + /* 450 */ 1557, 1559, 1746, 1748, 1703, 1751, 1758, 1760, 1715, 1761, + /* 460 */ 1722, 1766, 1767, 1776, 1731, 1777, 1779, 1780, 1781, 1783, + /* 470 */ 1786, 1629, 1754, 1790, 1632, 1792, 1793, 1794, 1796, 1797, + /* 480 */ 1799, 1800, 1801, 1802, 1803, 1804, 1810, 1811, 1813, 1814, + /* 490 */ 1815, 1769, 1817, 1765, 1818, 1820, 1821, 1822, 1825, 1827, + /* 500 */ 1808, 1829, 1831, 1832, 1690, 1834, 1838, 1823, 1791, 1824, + /* 510 */ 1795, 1840, 1782, 1816, 1842, 1787, 1852, 1812, 1853, 1854, + /* 520 */ 1828, 1806, 1819, 1856, 1847, 1826, 1846, 1857, 1863, 1839, + /* 530 */ 1848, 1864, 1871, 1910, 1869, 1873, 1870, 1866, 1874, 1902, + /* 540 */ 1875, 1917, 1878, 1880, 1920, 1923, 1924, 1887, 1745, 1928, + /* 550 */ 1929, 1930, 1862, 1932, 1933, 1899, 1886, 1897, 1938, 1904, + /* 560 */ 1891, 1903, 1941, 1908, 1895, 1907, 1947, 1913, 1901, 1915, + /* 570 */ 1952, 1955, 1956, 1957, 1959, 1960, 1849, 1858, 1927, 1942, + /* 580 */ 1963, 1931, 1934, 1935, 1936, 1937, 1940, 1943, 1939, 1944, + /* 590 */ 1945, 1946, 1951, 1954, 1976, 1964, 1977, 1974, 1948, 1979, + /* 600 */ 1978, 1967, 1982, 1970, 1998, 1980, 2016, 1995, 1999, 1983, + /* 610 */ 1985, 1987, 1919, 1922, 2027, 1860, 1925, 1835, 1994, 2012, + /* 620 */ 2030, 1841, 2014, 1865, 1867, 2038, 2039, 1868, 1877, 1876, + /* 630 */ 1879, 2040, 1949, 1972, 1973, 1981, 2001, 1784, 1984, 1990, + /* 640 */ 1988, 2004, 1962, 2010, 1950, 2000, 2002, 2032, 2006, 2003, + /* 650 */ 2005, 2017, 2007, 2034, 2033, 2035, 2019, 2037, 1859, 2020, + /* 660 */ 2022, 2076, 2041, 1861, 2051, 2053, 2070, 2088, 2094, 2095, + /* 670 */ 2028, 2036, 2084, 1883, 2090, 2089, 2138, 2148, 2048, 2113, + /* 680 */ 1866, 2106, 2052, 2050, 2054, 2056, 2058, 1989, 2059, 2157, + /* 690 */ 2124, 1992, 2063, 2060, 1866, 2120, 2128, 2081, 1953, 2082, + /* 700 */ 2182, 2163, 1966, 2083, 2087, 2091, 2092, 2096, 2093, 2140, + /* 710 */ 2098, 2100, 2146, 2101, 2170, 1996, 2104, 2103, 2115, 2160, + /* 720 */ 2173, 2117, 2118, 2188, 2121, 2122, 2192, 2125, 2127, 2194, + /* 730 */ 2130, 2131, 2199, 2137, 2133, 2212, 2147, 2126, 2129, 2132, + /* 740 */ 2135, 2152, 2214, 2153, 2224, 2158, 2214, 2214, 2241, 2195, + /* 750 */ 2201, 2235, 2244, 2245, 2246, 2247, 2248, 2249, 2250, 2211, + /* 760 */ 2190, 2251, 2253, 2257, 2258, 2272, 2261, 2262, 2263, 2225, + /* 770 */ 1939, 2264, 1944, 2270, 2279, 2280, 2281, 2290, 2282, 2319, + /* 780 */ 2285, 2273, 2284, 2321, 2289, 2287, 2302, 2326, 2307, 2300, + /* 790 */ 2313, 2353, 2320, 2305, 2318, 2358, 2324, 2325, 2362, 2341, + /* 800 */ 2343, 2344, 2347, 2350, 2345, }; -#define YY_REDUCE_COUNT (322) -#define YY_REDUCE_MIN (-404) -#define YY_REDUCE_MAX (2418) +#define YY_REDUCE_COUNT (323) +#define YY_REDUCE_MIN (-440) +#define YY_REDUCE_MAX (2390) static const short yy_reduce_ofst[] = { - /* 0 */ -296, -340, -133, -26, 88, 310, 540, 850, 881, 911, - /* 10 */ 208, 1001, 1032, 1069, 1158, 1207, 1233, 118, 1284, 1297, - /* 20 */ 1346, 1363, 1436, 1412, 1463, 1483, 426, 1550, 1580, 1639, - /* 30 */ 1712, 1743, 1778, 1815, 1840, 1877, 1902, 1974, 1989, 2007, - /* 40 */ 2054, 2076, 2123, 2182, 2195, 2212, 2244, 2311, 2331, 2401, - /* 50 */ 2418, -260, -25, 239, 149, -404, 246, 479, -28, 348, - /* 60 */ 643, -365, -294, -331, 671, -98, 24, 252, -390, -345, - /* 70 */ -265, -279, -72, 74, -318, 227, -342, 112, -232, 26, - /* 80 */ 192, 263, 341, 374, 383, 400, 424, 436, 286, 592, - /* 90 */ 595, 674, 116, 601, 675, 36, 323, 679, 391, 752, - /* 100 */ 637, -63, 765, 776, 555, 779, 429, 672, 669, 822, - /* 110 */ 155, -316, -313, -313, -259, -140, -199, -188, 157, 269, - /* 120 */ 427, 529, 548, 553, 656, 723, 726, 796, 803, 804, - /* 130 */ 809, 844, 845, 855, 867, -217, -242, -15, 438, 523, - /* 140 */ 680, 616, -242, 167, 199, -250, 366, 696, 778, 825, - /* 150 */ -375, -47, 93, 575, 818, 811, 823, 841, 864, -371, - /* 160 */ -328, 356, 491, 515, 579, 681, 515, 711, 847, 956, - /* 170 */ 910, 827, 829, 1006, 888, 1008, 1020, 1009, 986, 1009, - /* 180 */ 1046, 997, 1055, 1054, 1018, 1011, 954, 954, 937, 954, - /* 190 */ 965, 959, 1009, 1010, 998, 1021, 1023, 1073, 1025, 1091, - /* 200 */ 1040, 1105, 1075, 1076, 1121, 1081, 1078, 1134, 1135, 1137, - /* 210 */ 1087, 1092, 1093, 1128, 1132, 1147, 1146, 1161, 1163, 1164, - /* 220 */ 1169, 1170, 1175, 1174, 1101, 1165, 1136, 1168, 1178, 1120, - /* 230 */ 1176, 1184, 1179, 1180, 1181, 1191, 1183, 1200, 1166, 1167, - /* 240 */ 1171, 1173, 1187, 1188, 1189, 1190, 1193, 1194, 1196, 1197, - /* 250 */ 1201, 1172, 1185, 1205, 1129, 1133, 1138, 1203, 1141, 1151, - /* 260 */ 1208, 1214, 1199, 1202, 1238, 1204, 1210, 1211, 1139, 1212, - /* 270 */ 1219, 1148, 1213, 1222, 1225, 1009, 1150, 1153, 1215, 1186, - /* 280 */ 1216, 1221, 1217, 1144, 1218, 1226, 954, 1294, 1228, 1298, - /* 290 */ 1292, 1299, 1250, 1249, 1273, 1287, 1289, 1293, 1300, 1255, - /* 300 */ 1301, 1280, 1329, 1314, 1336, 1348, 1246, 1317, 1310, 1333, - /* 310 */ 1357, 1355, 1362, 1365, 1307, 1313, 1303, 1308, 1367, 1368, - /* 320 */ 1371, 1370, 1388, + /* 0 */ 129, -28, -342, 263, -135, 878, 898, 1006, 1035, 1070, + /* 10 */ 542, 851, 1160, 98, 1190, 1287, 159, 452, 1318, 1334, + /* 20 */ 1431, 1442, 1455, 1466, 1556, 1572, 1631, 1661, 1678, 1708, + /* 30 */ 1740, 1775, 1807, 1837, 1872, 1896, 1909, 1975, 1986, 2008, + /* 40 */ 2045, 2075, 2108, 2134, 2145, 2207, 2242, 2266, 2277, 2339, + /* 50 */ 2390, -275, 2, 144, -293, 338, 375, 479, -327, -137, + /* 60 */ 641, 117, -414, 799, 817, -405, -97, 79, -392, -288, + /* 70 */ -74, -363, -345, -343, -212, -282, -216, 48, -336, -1, + /* 80 */ 118, 120, 96, 132, 377, 419, 677, 232, 105, 680, + /* 90 */ 687, -200, 240, 695, 758, 309, 389, 767, 253, 771, + /* 100 */ 308, 350, 823, 827, 406, 844, 478, 586, 549, 850, + /* 110 */ -286, -296, -440, -440, -301, -125, -67, 162, 163, 353, + /* 120 */ 449, 491, 533, 719, 720, 721, 722, 723, 756, 798, + /* 130 */ 841, 842, 868, 870, 871, -171, -186, -386, -381, -34, + /* 140 */ 678, 774, 366, -186, 228, 465, 243, 142, 516, 611, + /* 150 */ 397, 558, 112, -8, 761, 403, 802, 427, 464, 598, + /* 160 */ 769, 221, 251, 307, 323, 365, 421, 550, 365, 547, + /* 170 */ 691, 706, 714, 657, 765, 891, 830, 901, 953, 982, + /* 180 */ 952, 982, 1009, 964, 1015, 1016, 978, 969, 911, 911, + /* 190 */ 894, 911, 923, 982, 966, 954, 968, 965, 1033, 972, + /* 200 */ 1043, 980, 1058, 1014, 1017, 1064, 1018, 1023, 1072, 1073, + /* 210 */ 1075, 1029, 1034, 1036, 1068, 1074, 1087, 1085, 1097, 1103, + /* 220 */ 1104, 1108, 1111, 1116, 1113, 1044, 1107, 1080, 1121, 1131, + /* 230 */ 1071, 1130, 1138, 1132, 1133, 1134, 1146, 1136, 1169, 1139, + /* 240 */ 1140, 1143, 1144, 1147, 1149, 1150, 1151, 1157, 1163, 1165, + /* 250 */ 1175, 1170, 1124, 1126, 1152, 1120, 1125, 1128, 1197, 1135, + /* 260 */ 1137, 1166, 1200, 1142, 1154, 1208, 1161, 1162, 1173, 1099, + /* 270 */ 1168, 1179, 1105, 1172, 1180, 1181, 982, 1114, 1112, 1118, + /* 280 */ 1123, 1122, 1153, 1188, 1117, 1119, 1127, 911, 1261, 1183, + /* 290 */ 1263, 1273, 1274, 1228, 1214, 1230, 1242, 1243, 1244, 1246, + /* 300 */ 1233, 1253, 1239, 1288, 1271, 1290, 1306, 1202, 1269, 1262, + /* 310 */ 1285, 1310, 1307, 1323, 1325, 1247, 1248, 1256, 1265, 1308, + /* 320 */ 1309, 1311, 1313, 1326, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 10 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 20 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 30 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 40 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 50 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 60 */ 2091, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 70 */ 1780, 1780, 1780, 1780, 2064, 1780, 1780, 1780, 1780, 1780, - /* 80 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 90 */ 1780, 1869, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 100 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 110 */ 1867, 2057, 2283, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 120 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 130 */ 1780, 1780, 1780, 1780, 1780, 1780, 2295, 1780, 1780, 1843, - /* 140 */ 1843, 1780, 2295, 2295, 2295, 1867, 2255, 2255, 1780, 1869, - /* 150 */ 2125, 1780, 1780, 1780, 1780, 1780, 1780, 1989, 1780, 1780, - /* 160 */ 1780, 1780, 1780, 2013, 1780, 1780, 1780, 2117, 1780, 1780, - /* 170 */ 2320, 2377, 1780, 1780, 2323, 1780, 1780, 1780, 1780, 1780, - /* 180 */ 1780, 2069, 1780, 1780, 1942, 2310, 2287, 2301, 2361, 2288, - /* 190 */ 2285, 2304, 1780, 2314, 1780, 1780, 2139, 1869, 1780, 1869, - /* 200 */ 2104, 1780, 2062, 1780, 1780, 2062, 2059, 1780, 1780, 1780, - /* 210 */ 2062, 2059, 2059, 1931, 1927, 1780, 1925, 1780, 1780, 1780, - /* 220 */ 1780, 1827, 1780, 1827, 1780, 1869, 1780, 1869, 1780, 1780, - /* 230 */ 1869, 1780, 1869, 1869, 1869, 1780, 1869, 1780, 1780, 1780, - /* 240 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 250 */ 1780, 1780, 1780, 1780, 2137, 2123, 1780, 1867, 2115, 2113, - /* 260 */ 1780, 1867, 2111, 2314, 1780, 1780, 1780, 1780, 2331, 2329, - /* 270 */ 1780, 2331, 2329, 1780, 1780, 1780, 2345, 2341, 2331, 2350, - /* 280 */ 2347, 2316, 2314, 2380, 2367, 2363, 2301, 1780, 1780, 1780, - /* 290 */ 1867, 1867, 1780, 2329, 1780, 1780, 1780, 1780, 1780, 2329, - /* 300 */ 1780, 1780, 1867, 1780, 1867, 1780, 1780, 1958, 1780, 1780, - /* 310 */ 1780, 1867, 1812, 1780, 2106, 2128, 2087, 2087, 1992, 1992, - /* 320 */ 1992, 1870, 1785, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 330 */ 1780, 1780, 1780, 1780, 1780, 2344, 2343, 2210, 1780, 2259, - /* 340 */ 2258, 2257, 2248, 2209, 1954, 1780, 2208, 2207, 1780, 1780, - /* 350 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 2078, 2077, 2201, - /* 360 */ 1780, 1780, 2202, 2200, 2199, 1780, 1780, 1780, 1780, 1780, - /* 370 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 380 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 2364, - /* 390 */ 2368, 1780, 1780, 1780, 1780, 1780, 1780, 2284, 1780, 1780, - /* 400 */ 1780, 2183, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 410 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 420 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 430 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 440 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 450 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 460 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 470 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 480 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 490 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 500 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 510 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 520 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 530 */ 1780, 1780, 1780, 1780, 1780, 1817, 2188, 1780, 1780, 1780, - /* 540 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 550 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 560 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 570 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 580 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1908, 1907, 1780, - /* 590 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 600 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 610 */ 1780, 2192, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 620 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 630 */ 2360, 2317, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 640 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 650 */ 2183, 1780, 2342, 1780, 1780, 2358, 1780, 2362, 1780, 1780, - /* 660 */ 1780, 1780, 1780, 1780, 1780, 2294, 2290, 1780, 1780, 2286, - /* 670 */ 1780, 1780, 1780, 1780, 1780, 2191, 1780, 1780, 1780, 1780, - /* 680 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 2182, - /* 690 */ 1780, 2245, 1780, 1780, 1780, 2279, 1780, 1780, 2230, 1780, - /* 700 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 2192, 1780, - /* 710 */ 2195, 1780, 1780, 1780, 1780, 1780, 1986, 1780, 1780, 1780, - /* 720 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 730 */ 1780, 1780, 1970, 1968, 1967, 1966, 1780, 1999, 1780, 1780, - /* 740 */ 1780, 1995, 1994, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 750 */ 1780, 1780, 1780, 1780, 1780, 1780, 1888, 1780, 1780, 1780, - /* 760 */ 1780, 1780, 1780, 1780, 1780, 1880, 1780, 1879, 1780, 1780, - /* 770 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 780 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, - /* 790 */ 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, 1780, + /* 0 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 10 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 20 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 30 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 40 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 50 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 60 */ 2105, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 70 */ 1794, 1794, 1794, 1794, 2078, 1794, 1794, 1794, 1794, 1794, + /* 80 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 90 */ 1794, 1883, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 100 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 110 */ 1881, 2071, 2297, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 120 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 130 */ 1794, 1794, 1794, 1794, 1794, 1794, 2309, 2323, 1794, 1794, + /* 140 */ 1857, 1857, 1794, 2309, 2309, 2309, 2320, 1881, 2269, 2269, + /* 150 */ 1794, 1883, 2139, 1794, 1794, 1794, 1794, 1794, 1794, 2003, + /* 160 */ 1794, 1794, 1794, 1794, 1794, 2027, 1794, 1794, 1794, 2131, + /* 170 */ 1794, 1794, 2339, 2396, 1794, 1794, 2342, 1794, 1794, 1794, + /* 180 */ 1794, 1794, 1794, 2083, 1794, 1794, 1956, 2329, 2301, 2315, + /* 190 */ 2380, 2302, 2299, 1794, 2333, 1794, 1794, 2153, 1883, 1794, + /* 200 */ 1883, 2118, 1794, 2076, 1794, 1794, 2076, 2073, 1794, 1794, + /* 210 */ 1794, 2076, 2073, 2073, 1945, 1941, 1794, 1939, 1794, 1794, + /* 220 */ 1794, 1794, 1841, 1794, 1841, 1794, 1883, 1794, 1883, 1794, + /* 230 */ 1794, 1883, 1794, 1883, 1883, 1883, 1794, 1883, 1794, 1794, + /* 240 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 250 */ 1794, 1794, 1794, 1794, 1794, 2151, 2137, 1794, 1881, 2129, + /* 260 */ 2127, 1794, 1881, 2125, 2333, 1794, 1794, 1794, 1794, 2350, + /* 270 */ 2348, 1794, 2350, 2348, 1794, 1794, 1794, 2364, 2360, 2350, + /* 280 */ 2369, 2366, 2335, 2333, 2399, 2386, 2382, 2315, 1794, 1794, + /* 290 */ 1794, 1881, 1881, 1794, 2348, 1794, 1794, 1794, 1794, 1794, + /* 300 */ 2348, 1794, 1794, 1881, 1794, 1881, 1794, 1794, 1972, 1794, + /* 310 */ 1794, 1794, 1881, 1826, 1794, 2120, 2142, 2101, 2101, 2006, + /* 320 */ 2006, 2006, 1884, 1799, 1794, 1794, 1794, 1794, 1794, 1794, + /* 330 */ 1794, 1794, 1794, 1794, 1794, 1794, 2363, 2362, 2224, 1794, + /* 340 */ 2273, 2272, 2271, 2262, 2223, 1968, 1794, 2222, 2221, 1794, + /* 350 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 2092, 2091, + /* 360 */ 2215, 1794, 1794, 2216, 2214, 2213, 1794, 1794, 1794, 1794, + /* 370 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 380 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 390 */ 2383, 2387, 1794, 1794, 1794, 1794, 1794, 1794, 2298, 1794, + /* 400 */ 1794, 1794, 2197, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 410 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 420 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 430 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 440 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 450 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 460 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 470 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 480 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 490 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 500 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 510 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 520 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 530 */ 1794, 1794, 1794, 1794, 1794, 1794, 1831, 2202, 1794, 1794, + /* 540 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 550 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 560 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 570 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 580 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1922, 1921, + /* 590 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 600 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 610 */ 1794, 1794, 2206, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 620 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 630 */ 1794, 2379, 1794, 1794, 1794, 1794, 2336, 1794, 1794, 1794, + /* 640 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 650 */ 1794, 1794, 1794, 1794, 1794, 2197, 1794, 2361, 1794, 1794, + /* 660 */ 2377, 1794, 2381, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 670 */ 2308, 2304, 1794, 1794, 2300, 1794, 1794, 1794, 1794, 1794, + /* 680 */ 2205, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 690 */ 1794, 1794, 1794, 1794, 2196, 1794, 2259, 1794, 1794, 1794, + /* 700 */ 2293, 1794, 1794, 2244, 1794, 1794, 1794, 1794, 1794, 1794, + /* 710 */ 1794, 1794, 1794, 2206, 1794, 2209, 1794, 1794, 1794, 1794, + /* 720 */ 1794, 2000, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 730 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1984, 1982, 1981, + /* 740 */ 1980, 1794, 2013, 1794, 1794, 1794, 2009, 2008, 1794, 1794, + /* 750 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 760 */ 1794, 1902, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 770 */ 1894, 1794, 1893, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 780 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 790 */ 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, 1794, + /* 800 */ 1794, 1794, 1794, 1794, 1794, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1153,7 +1151,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* MAX_SPEED => nothing */ 0, /* START => nothing */ 0, /* TIMESTAMP => nothing */ - 287, /* END => ABORT */ + 289, /* END => ABORT */ 0, /* TABLE => nothing */ 0, /* NK_LP => nothing */ 0, /* NK_RP => nothing */ @@ -1313,6 +1311,8 @@ static const YYCODETYPE yyFallback[] = { 0, /* JOIN => nothing */ 0, /* INNER => nothing */ 0, /* SELECT => nothing */ + 0, /* NO_BATCH_SCAN => nothing */ + 0, /* BATCH_SCAN => nothing */ 0, /* DISTINCT => nothing */ 0, /* WHERE => nothing */ 0, /* PARTITION => nothing */ @@ -1340,56 +1340,56 @@ static const YYCODETYPE yyFallback[] = { 0, /* ASC => nothing */ 0, /* NULLS => nothing */ 0, /* ABORT => nothing */ - 287, /* AFTER => ABORT */ - 287, /* ATTACH => ABORT */ - 287, /* BEFORE => ABORT */ - 287, /* BEGIN => ABORT */ - 287, /* BITAND => ABORT */ - 287, /* BITNOT => ABORT */ - 287, /* BITOR => ABORT */ - 287, /* BLOCKS => ABORT */ - 287, /* CHANGE => ABORT */ - 287, /* COMMA => ABORT */ - 287, /* CONCAT => ABORT */ - 287, /* CONFLICT => ABORT */ - 287, /* COPY => ABORT */ - 287, /* DEFERRED => ABORT */ - 287, /* DELIMITERS => ABORT */ - 287, /* DETACH => ABORT */ - 287, /* DIVIDE => ABORT */ - 287, /* DOT => ABORT */ - 287, /* EACH => ABORT */ - 287, /* FAIL => ABORT */ - 287, /* FILE => ABORT */ - 287, /* FOR => ABORT */ - 287, /* GLOB => ABORT */ - 287, /* ID => ABORT */ - 287, /* IMMEDIATE => ABORT */ - 287, /* IMPORT => ABORT */ - 287, /* INITIALLY => ABORT */ - 287, /* INSTEAD => ABORT */ - 287, /* ISNULL => ABORT */ - 287, /* KEY => ABORT */ - 287, /* MODULES => ABORT */ - 287, /* NK_BITNOT => ABORT */ - 287, /* NK_SEMI => ABORT */ - 287, /* NOTNULL => ABORT */ - 287, /* OF => ABORT */ - 287, /* PLUS => ABORT */ - 287, /* PRIVILEGE => ABORT */ - 287, /* RAISE => ABORT */ - 287, /* RESTRICT => ABORT */ - 287, /* ROW => ABORT */ - 287, /* SEMI => ABORT */ - 287, /* STAR => ABORT */ - 287, /* STATEMENT => ABORT */ - 287, /* STRICT => ABORT */ - 287, /* STRING => ABORT */ - 287, /* TIMES => ABORT */ - 287, /* VALUES => ABORT */ - 287, /* VARIABLE => ABORT */ - 287, /* VIEW => ABORT */ - 287, /* WAL => ABORT */ + 289, /* AFTER => ABORT */ + 289, /* ATTACH => ABORT */ + 289, /* BEFORE => ABORT */ + 289, /* BEGIN => ABORT */ + 289, /* BITAND => ABORT */ + 289, /* BITNOT => ABORT */ + 289, /* BITOR => ABORT */ + 289, /* BLOCKS => ABORT */ + 289, /* CHANGE => ABORT */ + 289, /* COMMA => ABORT */ + 289, /* CONCAT => ABORT */ + 289, /* CONFLICT => ABORT */ + 289, /* COPY => ABORT */ + 289, /* DEFERRED => ABORT */ + 289, /* DELIMITERS => ABORT */ + 289, /* DETACH => ABORT */ + 289, /* DIVIDE => ABORT */ + 289, /* DOT => ABORT */ + 289, /* EACH => ABORT */ + 289, /* FAIL => ABORT */ + 289, /* FILE => ABORT */ + 289, /* FOR => ABORT */ + 289, /* GLOB => ABORT */ + 289, /* ID => ABORT */ + 289, /* IMMEDIATE => ABORT */ + 289, /* IMPORT => ABORT */ + 289, /* INITIALLY => ABORT */ + 289, /* INSTEAD => ABORT */ + 289, /* ISNULL => ABORT */ + 289, /* KEY => ABORT */ + 289, /* MODULES => ABORT */ + 289, /* NK_BITNOT => ABORT */ + 289, /* NK_SEMI => ABORT */ + 289, /* NOTNULL => ABORT */ + 289, /* OF => ABORT */ + 289, /* PLUS => ABORT */ + 289, /* PRIVILEGE => ABORT */ + 289, /* RAISE => ABORT */ + 289, /* RESTRICT => ABORT */ + 289, /* ROW => ABORT */ + 289, /* SEMI => ABORT */ + 289, /* STAR => ABORT */ + 289, /* STATEMENT => ABORT */ + 289, /* STRICT => ABORT */ + 289, /* STRING => ABORT */ + 289, /* TIMES => ABORT */ + 289, /* VALUES => ABORT */ + 289, /* VARIABLE => ABORT */ + 289, /* VIEW => ABORT */ + 289, /* WAL => ABORT */ }; #endif /* YYFALLBACK */ @@ -1738,232 +1738,236 @@ static const char *const yyTokenName[] = { /* 258 */ "JOIN", /* 259 */ "INNER", /* 260 */ "SELECT", - /* 261 */ "DISTINCT", - /* 262 */ "WHERE", - /* 263 */ "PARTITION", - /* 264 */ "BY", - /* 265 */ "SESSION", - /* 266 */ "STATE_WINDOW", - /* 267 */ "EVENT_WINDOW", - /* 268 */ "SLIDING", - /* 269 */ "FILL", - /* 270 */ "VALUE", - /* 271 */ "VALUE_F", - /* 272 */ "NONE", - /* 273 */ "PREV", - /* 274 */ "NULL_F", - /* 275 */ "LINEAR", - /* 276 */ "NEXT", - /* 277 */ "HAVING", - /* 278 */ "RANGE", - /* 279 */ "EVERY", - /* 280 */ "ORDER", - /* 281 */ "SLIMIT", - /* 282 */ "SOFFSET", - /* 283 */ "LIMIT", - /* 284 */ "OFFSET", - /* 285 */ "ASC", - /* 286 */ "NULLS", - /* 287 */ "ABORT", - /* 288 */ "AFTER", - /* 289 */ "ATTACH", - /* 290 */ "BEFORE", - /* 291 */ "BEGIN", - /* 292 */ "BITAND", - /* 293 */ "BITNOT", - /* 294 */ "BITOR", - /* 295 */ "BLOCKS", - /* 296 */ "CHANGE", - /* 297 */ "COMMA", - /* 298 */ "CONCAT", - /* 299 */ "CONFLICT", - /* 300 */ "COPY", - /* 301 */ "DEFERRED", - /* 302 */ "DELIMITERS", - /* 303 */ "DETACH", - /* 304 */ "DIVIDE", - /* 305 */ "DOT", - /* 306 */ "EACH", - /* 307 */ "FAIL", - /* 308 */ "FILE", - /* 309 */ "FOR", - /* 310 */ "GLOB", - /* 311 */ "ID", - /* 312 */ "IMMEDIATE", - /* 313 */ "IMPORT", - /* 314 */ "INITIALLY", - /* 315 */ "INSTEAD", - /* 316 */ "ISNULL", - /* 317 */ "KEY", - /* 318 */ "MODULES", - /* 319 */ "NK_BITNOT", - /* 320 */ "NK_SEMI", - /* 321 */ "NOTNULL", - /* 322 */ "OF", - /* 323 */ "PLUS", - /* 324 */ "PRIVILEGE", - /* 325 */ "RAISE", - /* 326 */ "RESTRICT", - /* 327 */ "ROW", - /* 328 */ "SEMI", - /* 329 */ "STAR", - /* 330 */ "STATEMENT", - /* 331 */ "STRICT", - /* 332 */ "STRING", - /* 333 */ "TIMES", - /* 334 */ "VALUES", - /* 335 */ "VARIABLE", - /* 336 */ "VIEW", - /* 337 */ "WAL", - /* 338 */ "cmd", - /* 339 */ "account_options", - /* 340 */ "alter_account_options", - /* 341 */ "literal", - /* 342 */ "alter_account_option", - /* 343 */ "user_name", - /* 344 */ "sysinfo_opt", - /* 345 */ "privileges", - /* 346 */ "priv_level", - /* 347 */ "with_opt", - /* 348 */ "priv_type_list", - /* 349 */ "priv_type", - /* 350 */ "db_name", - /* 351 */ "table_name", - /* 352 */ "topic_name", - /* 353 */ "search_condition", - /* 354 */ "dnode_endpoint", - /* 355 */ "force_opt", - /* 356 */ "unsafe_opt", - /* 357 */ "not_exists_opt", - /* 358 */ "db_options", - /* 359 */ "exists_opt", - /* 360 */ "alter_db_options", - /* 361 */ "speed_opt", - /* 362 */ "start_opt", - /* 363 */ "end_opt", - /* 364 */ "integer_list", - /* 365 */ "variable_list", - /* 366 */ "retention_list", - /* 367 */ "signed", - /* 368 */ "alter_db_option", - /* 369 */ "retention", - /* 370 */ "full_table_name", - /* 371 */ "column_def_list", - /* 372 */ "tags_def_opt", - /* 373 */ "table_options", - /* 374 */ "multi_create_clause", - /* 375 */ "tags_def", - /* 376 */ "multi_drop_clause", - /* 377 */ "alter_table_clause", - /* 378 */ "alter_table_options", - /* 379 */ "column_name", - /* 380 */ "type_name", - /* 381 */ "signed_literal", - /* 382 */ "create_subtable_clause", - /* 383 */ "specific_cols_opt", - /* 384 */ "expression_list", - /* 385 */ "drop_table_clause", - /* 386 */ "col_name_list", - /* 387 */ "column_def", - /* 388 */ "duration_list", - /* 389 */ "rollup_func_list", - /* 390 */ "alter_table_option", - /* 391 */ "duration_literal", - /* 392 */ "rollup_func_name", - /* 393 */ "function_name", - /* 394 */ "col_name", - /* 395 */ "db_name_cond_opt", - /* 396 */ "like_pattern_opt", - /* 397 */ "table_name_cond", - /* 398 */ "from_db_opt", - /* 399 */ "tag_list_opt", - /* 400 */ "tag_item", - /* 401 */ "column_alias", - /* 402 */ "full_index_name", - /* 403 */ "index_options", - /* 404 */ "index_name", - /* 405 */ "func_list", - /* 406 */ "sliding_opt", - /* 407 */ "sma_stream_opt", - /* 408 */ "func", - /* 409 */ "sma_func_name", - /* 410 */ "with_meta", - /* 411 */ "query_or_subquery", - /* 412 */ "where_clause_opt", - /* 413 */ "cgroup_name", - /* 414 */ "analyze_opt", - /* 415 */ "explain_options", - /* 416 */ "insert_query", - /* 417 */ "or_replace_opt", - /* 418 */ "agg_func_opt", - /* 419 */ "bufsize_opt", - /* 420 */ "language_opt", - /* 421 */ "stream_name", - /* 422 */ "stream_options", - /* 423 */ "col_list_opt", - /* 424 */ "tag_def_or_ref_opt", - /* 425 */ "subtable_opt", - /* 426 */ "ignore_opt", - /* 427 */ "expression", - /* 428 */ "dnode_list", - /* 429 */ "literal_func", - /* 430 */ "literal_list", - /* 431 */ "table_alias", - /* 432 */ "expr_or_subquery", - /* 433 */ "pseudo_column", - /* 434 */ "column_reference", - /* 435 */ "function_expression", - /* 436 */ "case_when_expression", - /* 437 */ "star_func", - /* 438 */ "star_func_para_list", - /* 439 */ "noarg_func", - /* 440 */ "other_para_list", - /* 441 */ "star_func_para", - /* 442 */ "when_then_list", - /* 443 */ "case_when_else_opt", - /* 444 */ "common_expression", - /* 445 */ "when_then_expr", - /* 446 */ "predicate", - /* 447 */ "compare_op", - /* 448 */ "in_op", - /* 449 */ "in_predicate_value", - /* 450 */ "boolean_value_expression", - /* 451 */ "boolean_primary", - /* 452 */ "from_clause_opt", - /* 453 */ "table_reference_list", - /* 454 */ "table_reference", - /* 455 */ "table_primary", - /* 456 */ "joined_table", - /* 457 */ "alias_opt", - /* 458 */ "subquery", - /* 459 */ "parenthesized_joined_table", - /* 460 */ "join_type", - /* 461 */ "query_specification", - /* 462 */ "set_quantifier_opt", - /* 463 */ "select_list", - /* 464 */ "partition_by_clause_opt", - /* 465 */ "range_opt", - /* 466 */ "every_opt", - /* 467 */ "fill_opt", - /* 468 */ "twindow_clause_opt", - /* 469 */ "group_by_clause_opt", - /* 470 */ "having_clause_opt", - /* 471 */ "select_item", - /* 472 */ "partition_list", - /* 473 */ "partition_item", - /* 474 */ "fill_mode", - /* 475 */ "group_by_list", - /* 476 */ "query_expression", - /* 477 */ "query_simple", - /* 478 */ "order_by_clause_opt", - /* 479 */ "slimit_clause_opt", - /* 480 */ "limit_clause_opt", - /* 481 */ "union_query_expression", - /* 482 */ "query_simple_or_subquery", - /* 483 */ "sort_specification_list", - /* 484 */ "sort_specification", - /* 485 */ "ordering_specification_opt", - /* 486 */ "null_ordering_opt", + /* 261 */ "NO_BATCH_SCAN", + /* 262 */ "BATCH_SCAN", + /* 263 */ "DISTINCT", + /* 264 */ "WHERE", + /* 265 */ "PARTITION", + /* 266 */ "BY", + /* 267 */ "SESSION", + /* 268 */ "STATE_WINDOW", + /* 269 */ "EVENT_WINDOW", + /* 270 */ "SLIDING", + /* 271 */ "FILL", + /* 272 */ "VALUE", + /* 273 */ "VALUE_F", + /* 274 */ "NONE", + /* 275 */ "PREV", + /* 276 */ "NULL_F", + /* 277 */ "LINEAR", + /* 278 */ "NEXT", + /* 279 */ "HAVING", + /* 280 */ "RANGE", + /* 281 */ "EVERY", + /* 282 */ "ORDER", + /* 283 */ "SLIMIT", + /* 284 */ "SOFFSET", + /* 285 */ "LIMIT", + /* 286 */ "OFFSET", + /* 287 */ "ASC", + /* 288 */ "NULLS", + /* 289 */ "ABORT", + /* 290 */ "AFTER", + /* 291 */ "ATTACH", + /* 292 */ "BEFORE", + /* 293 */ "BEGIN", + /* 294 */ "BITAND", + /* 295 */ "BITNOT", + /* 296 */ "BITOR", + /* 297 */ "BLOCKS", + /* 298 */ "CHANGE", + /* 299 */ "COMMA", + /* 300 */ "CONCAT", + /* 301 */ "CONFLICT", + /* 302 */ "COPY", + /* 303 */ "DEFERRED", + /* 304 */ "DELIMITERS", + /* 305 */ "DETACH", + /* 306 */ "DIVIDE", + /* 307 */ "DOT", + /* 308 */ "EACH", + /* 309 */ "FAIL", + /* 310 */ "FILE", + /* 311 */ "FOR", + /* 312 */ "GLOB", + /* 313 */ "ID", + /* 314 */ "IMMEDIATE", + /* 315 */ "IMPORT", + /* 316 */ "INITIALLY", + /* 317 */ "INSTEAD", + /* 318 */ "ISNULL", + /* 319 */ "KEY", + /* 320 */ "MODULES", + /* 321 */ "NK_BITNOT", + /* 322 */ "NK_SEMI", + /* 323 */ "NOTNULL", + /* 324 */ "OF", + /* 325 */ "PLUS", + /* 326 */ "PRIVILEGE", + /* 327 */ "RAISE", + /* 328 */ "RESTRICT", + /* 329 */ "ROW", + /* 330 */ "SEMI", + /* 331 */ "STAR", + /* 332 */ "STATEMENT", + /* 333 */ "STRICT", + /* 334 */ "STRING", + /* 335 */ "TIMES", + /* 336 */ "VALUES", + /* 337 */ "VARIABLE", + /* 338 */ "VIEW", + /* 339 */ "WAL", + /* 340 */ "cmd", + /* 341 */ "account_options", + /* 342 */ "alter_account_options", + /* 343 */ "literal", + /* 344 */ "alter_account_option", + /* 345 */ "user_name", + /* 346 */ "sysinfo_opt", + /* 347 */ "privileges", + /* 348 */ "priv_level", + /* 349 */ "with_opt", + /* 350 */ "priv_type_list", + /* 351 */ "priv_type", + /* 352 */ "db_name", + /* 353 */ "table_name", + /* 354 */ "topic_name", + /* 355 */ "search_condition", + /* 356 */ "dnode_endpoint", + /* 357 */ "force_opt", + /* 358 */ "unsafe_opt", + /* 359 */ "not_exists_opt", + /* 360 */ "db_options", + /* 361 */ "exists_opt", + /* 362 */ "alter_db_options", + /* 363 */ "speed_opt", + /* 364 */ "start_opt", + /* 365 */ "end_opt", + /* 366 */ "integer_list", + /* 367 */ "variable_list", + /* 368 */ "retention_list", + /* 369 */ "signed", + /* 370 */ "alter_db_option", + /* 371 */ "retention", + /* 372 */ "full_table_name", + /* 373 */ "column_def_list", + /* 374 */ "tags_def_opt", + /* 375 */ "table_options", + /* 376 */ "multi_create_clause", + /* 377 */ "tags_def", + /* 378 */ "multi_drop_clause", + /* 379 */ "alter_table_clause", + /* 380 */ "alter_table_options", + /* 381 */ "column_name", + /* 382 */ "type_name", + /* 383 */ "signed_literal", + /* 384 */ "create_subtable_clause", + /* 385 */ "specific_cols_opt", + /* 386 */ "expression_list", + /* 387 */ "drop_table_clause", + /* 388 */ "col_name_list", + /* 389 */ "column_def", + /* 390 */ "duration_list", + /* 391 */ "rollup_func_list", + /* 392 */ "alter_table_option", + /* 393 */ "duration_literal", + /* 394 */ "rollup_func_name", + /* 395 */ "function_name", + /* 396 */ "col_name", + /* 397 */ "db_name_cond_opt", + /* 398 */ "like_pattern_opt", + /* 399 */ "table_name_cond", + /* 400 */ "from_db_opt", + /* 401 */ "tag_list_opt", + /* 402 */ "tag_item", + /* 403 */ "column_alias", + /* 404 */ "full_index_name", + /* 405 */ "index_options", + /* 406 */ "index_name", + /* 407 */ "func_list", + /* 408 */ "sliding_opt", + /* 409 */ "sma_stream_opt", + /* 410 */ "func", + /* 411 */ "sma_func_name", + /* 412 */ "with_meta", + /* 413 */ "query_or_subquery", + /* 414 */ "where_clause_opt", + /* 415 */ "cgroup_name", + /* 416 */ "analyze_opt", + /* 417 */ "explain_options", + /* 418 */ "insert_query", + /* 419 */ "or_replace_opt", + /* 420 */ "agg_func_opt", + /* 421 */ "bufsize_opt", + /* 422 */ "language_opt", + /* 423 */ "stream_name", + /* 424 */ "stream_options", + /* 425 */ "col_list_opt", + /* 426 */ "tag_def_or_ref_opt", + /* 427 */ "subtable_opt", + /* 428 */ "ignore_opt", + /* 429 */ "expression", + /* 430 */ "dnode_list", + /* 431 */ "literal_func", + /* 432 */ "literal_list", + /* 433 */ "table_alias", + /* 434 */ "expr_or_subquery", + /* 435 */ "pseudo_column", + /* 436 */ "column_reference", + /* 437 */ "function_expression", + /* 438 */ "case_when_expression", + /* 439 */ "star_func", + /* 440 */ "star_func_para_list", + /* 441 */ "noarg_func", + /* 442 */ "other_para_list", + /* 443 */ "star_func_para", + /* 444 */ "when_then_list", + /* 445 */ "case_when_else_opt", + /* 446 */ "common_expression", + /* 447 */ "when_then_expr", + /* 448 */ "predicate", + /* 449 */ "compare_op", + /* 450 */ "in_op", + /* 451 */ "in_predicate_value", + /* 452 */ "boolean_value_expression", + /* 453 */ "boolean_primary", + /* 454 */ "from_clause_opt", + /* 455 */ "table_reference_list", + /* 456 */ "table_reference", + /* 457 */ "table_primary", + /* 458 */ "joined_table", + /* 459 */ "alias_opt", + /* 460 */ "subquery", + /* 461 */ "parenthesized_joined_table", + /* 462 */ "join_type", + /* 463 */ "query_specification", + /* 464 */ "hint_opt_list", + /* 465 */ "set_quantifier_opt", + /* 466 */ "select_list", + /* 467 */ "partition_by_clause_opt", + /* 468 */ "range_opt", + /* 469 */ "every_opt", + /* 470 */ "fill_opt", + /* 471 */ "twindow_clause_opt", + /* 472 */ "group_by_clause_opt", + /* 473 */ "having_clause_opt", + /* 474 */ "hint_opt", + /* 475 */ "select_item", + /* 476 */ "partition_list", + /* 477 */ "partition_item", + /* 478 */ "fill_mode", + /* 479 */ "group_by_list", + /* 480 */ "query_expression", + /* 481 */ "query_simple", + /* 482 */ "order_by_clause_opt", + /* 483 */ "slimit_clause_opt", + /* 484 */ "limit_clause_opt", + /* 485 */ "union_query_expression", + /* 486 */ "query_simple_or_subquery", + /* 487 */ "sort_specification_list", + /* 488 */ "sort_specification", + /* 489 */ "ordering_specification_opt", + /* 490 */ "null_ordering_opt", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -2491,86 +2495,91 @@ static const char *const yyRuleName[] = { /* 517 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", /* 518 */ "join_type ::=", /* 519 */ "join_type ::= INNER", - /* 520 */ "query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", - /* 521 */ "set_quantifier_opt ::=", - /* 522 */ "set_quantifier_opt ::= DISTINCT", - /* 523 */ "set_quantifier_opt ::= ALL", - /* 524 */ "select_list ::= select_item", - /* 525 */ "select_list ::= select_list NK_COMMA select_item", - /* 526 */ "select_item ::= NK_STAR", - /* 527 */ "select_item ::= common_expression", - /* 528 */ "select_item ::= common_expression column_alias", - /* 529 */ "select_item ::= common_expression AS column_alias", - /* 530 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 531 */ "where_clause_opt ::=", - /* 532 */ "where_clause_opt ::= WHERE search_condition", - /* 533 */ "partition_by_clause_opt ::=", - /* 534 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 535 */ "partition_list ::= partition_item", - /* 536 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 537 */ "partition_item ::= expr_or_subquery", - /* 538 */ "partition_item ::= expr_or_subquery column_alias", - /* 539 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 540 */ "twindow_clause_opt ::=", - /* 541 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 542 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 543 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 544 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 545 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 546 */ "sliding_opt ::=", - /* 547 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 548 */ "fill_opt ::=", - /* 549 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 550 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", - /* 551 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", - /* 552 */ "fill_mode ::= NONE", - /* 553 */ "fill_mode ::= PREV", - /* 554 */ "fill_mode ::= NULL", - /* 555 */ "fill_mode ::= NULL_F", - /* 556 */ "fill_mode ::= LINEAR", - /* 557 */ "fill_mode ::= NEXT", - /* 558 */ "group_by_clause_opt ::=", - /* 559 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 560 */ "group_by_list ::= expr_or_subquery", - /* 561 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 562 */ "having_clause_opt ::=", - /* 563 */ "having_clause_opt ::= HAVING search_condition", - /* 564 */ "range_opt ::=", - /* 565 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 566 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", - /* 567 */ "every_opt ::=", - /* 568 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 569 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 570 */ "query_simple ::= query_specification", - /* 571 */ "query_simple ::= union_query_expression", - /* 572 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 573 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 574 */ "query_simple_or_subquery ::= query_simple", - /* 575 */ "query_simple_or_subquery ::= subquery", - /* 576 */ "query_or_subquery ::= query_expression", - /* 577 */ "query_or_subquery ::= subquery", - /* 578 */ "order_by_clause_opt ::=", - /* 579 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 580 */ "slimit_clause_opt ::=", - /* 581 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 582 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 583 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 584 */ "limit_clause_opt ::=", - /* 585 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 586 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 587 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 588 */ "subquery ::= NK_LP query_expression NK_RP", - /* 589 */ "subquery ::= NK_LP subquery NK_RP", - /* 590 */ "search_condition ::= common_expression", - /* 591 */ "sort_specification_list ::= sort_specification", - /* 592 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 593 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 594 */ "ordering_specification_opt ::=", - /* 595 */ "ordering_specification_opt ::= ASC", - /* 596 */ "ordering_specification_opt ::= DESC", - /* 597 */ "null_ordering_opt ::=", - /* 598 */ "null_ordering_opt ::= NULLS FIRST", - /* 599 */ "null_ordering_opt ::= NULLS LAST", + /* 520 */ "query_specification ::= SELECT hint_opt_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", + /* 521 */ "hint_opt ::= NO_BATCH_SCAN NK_LP NK_RP", + /* 522 */ "hint_opt ::= BATCH_SCAN NK_LP NK_RP", + /* 523 */ "hint_opt_list ::=", + /* 524 */ "hint_opt_list ::= hint_opt", + /* 525 */ "hint_opt_list ::= hint_opt_list hint_opt", + /* 526 */ "set_quantifier_opt ::=", + /* 527 */ "set_quantifier_opt ::= DISTINCT", + /* 528 */ "set_quantifier_opt ::= ALL", + /* 529 */ "select_list ::= select_item", + /* 530 */ "select_list ::= select_list NK_COMMA select_item", + /* 531 */ "select_item ::= NK_STAR", + /* 532 */ "select_item ::= common_expression", + /* 533 */ "select_item ::= common_expression column_alias", + /* 534 */ "select_item ::= common_expression AS column_alias", + /* 535 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 536 */ "where_clause_opt ::=", + /* 537 */ "where_clause_opt ::= WHERE search_condition", + /* 538 */ "partition_by_clause_opt ::=", + /* 539 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 540 */ "partition_list ::= partition_item", + /* 541 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 542 */ "partition_item ::= expr_or_subquery", + /* 543 */ "partition_item ::= expr_or_subquery column_alias", + /* 544 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 545 */ "twindow_clause_opt ::=", + /* 546 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 547 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 548 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 549 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 550 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 551 */ "sliding_opt ::=", + /* 552 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 553 */ "fill_opt ::=", + /* 554 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 555 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", + /* 556 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", + /* 557 */ "fill_mode ::= NONE", + /* 558 */ "fill_mode ::= PREV", + /* 559 */ "fill_mode ::= NULL", + /* 560 */ "fill_mode ::= NULL_F", + /* 561 */ "fill_mode ::= LINEAR", + /* 562 */ "fill_mode ::= NEXT", + /* 563 */ "group_by_clause_opt ::=", + /* 564 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 565 */ "group_by_list ::= expr_or_subquery", + /* 566 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 567 */ "having_clause_opt ::=", + /* 568 */ "having_clause_opt ::= HAVING search_condition", + /* 569 */ "range_opt ::=", + /* 570 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 571 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", + /* 572 */ "every_opt ::=", + /* 573 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 574 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 575 */ "query_simple ::= query_specification", + /* 576 */ "query_simple ::= union_query_expression", + /* 577 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 578 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 579 */ "query_simple_or_subquery ::= query_simple", + /* 580 */ "query_simple_or_subquery ::= subquery", + /* 581 */ "query_or_subquery ::= query_expression", + /* 582 */ "query_or_subquery ::= subquery", + /* 583 */ "order_by_clause_opt ::=", + /* 584 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 585 */ "slimit_clause_opt ::=", + /* 586 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 587 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 588 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 589 */ "limit_clause_opt ::=", + /* 590 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 591 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 592 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 593 */ "subquery ::= NK_LP query_expression NK_RP", + /* 594 */ "subquery ::= NK_LP subquery NK_RP", + /* 595 */ "search_condition ::= common_expression", + /* 596 */ "sort_specification_list ::= sort_specification", + /* 597 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 598 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 599 */ "ordering_specification_opt ::=", + /* 600 */ "ordering_specification_opt ::= ASC", + /* 601 */ "ordering_specification_opt ::= DESC", + /* 602 */ "null_ordering_opt ::=", + /* 603 */ "null_ordering_opt ::= NULLS FIRST", + /* 604 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -2697,211 +2706,213 @@ static void yy_destructor( */ /********* Begin destructor definitions ***************************************/ /* Default NON-TERMINAL Destructor */ - case 338: /* cmd */ - case 341: /* literal */ - case 347: /* with_opt */ - case 353: /* search_condition */ - case 358: /* db_options */ - case 360: /* alter_db_options */ - case 362: /* start_opt */ - case 363: /* end_opt */ - case 367: /* signed */ - case 369: /* retention */ - case 370: /* full_table_name */ - case 373: /* table_options */ - case 377: /* alter_table_clause */ - case 378: /* alter_table_options */ - case 381: /* signed_literal */ - case 382: /* create_subtable_clause */ - case 385: /* drop_table_clause */ - case 387: /* column_def */ - case 391: /* duration_literal */ - case 392: /* rollup_func_name */ - case 394: /* col_name */ - case 395: /* db_name_cond_opt */ - case 396: /* like_pattern_opt */ - case 397: /* table_name_cond */ - case 398: /* from_db_opt */ - case 400: /* tag_item */ - case 402: /* full_index_name */ - case 403: /* index_options */ - case 406: /* sliding_opt */ - case 407: /* sma_stream_opt */ - case 408: /* func */ - case 411: /* query_or_subquery */ - case 412: /* where_clause_opt */ - case 415: /* explain_options */ - case 416: /* insert_query */ - case 422: /* stream_options */ - case 425: /* subtable_opt */ - case 427: /* expression */ - case 429: /* literal_func */ - case 432: /* expr_or_subquery */ - case 433: /* pseudo_column */ - case 434: /* column_reference */ - case 435: /* function_expression */ - case 436: /* case_when_expression */ - case 441: /* star_func_para */ - case 443: /* case_when_else_opt */ - case 444: /* common_expression */ - case 445: /* when_then_expr */ - case 446: /* predicate */ - case 449: /* in_predicate_value */ - case 450: /* boolean_value_expression */ - case 451: /* boolean_primary */ - case 452: /* from_clause_opt */ - case 453: /* table_reference_list */ - case 454: /* table_reference */ - case 455: /* table_primary */ - case 456: /* joined_table */ - case 458: /* subquery */ - case 459: /* parenthesized_joined_table */ - case 461: /* query_specification */ - case 465: /* range_opt */ - case 466: /* every_opt */ - case 467: /* fill_opt */ - case 468: /* twindow_clause_opt */ - case 470: /* having_clause_opt */ - case 471: /* select_item */ - case 473: /* partition_item */ - case 476: /* query_expression */ - case 477: /* query_simple */ - case 479: /* slimit_clause_opt */ - case 480: /* limit_clause_opt */ - case 481: /* union_query_expression */ - case 482: /* query_simple_or_subquery */ - case 484: /* sort_specification */ + case 340: /* cmd */ + case 343: /* literal */ + case 349: /* with_opt */ + case 355: /* search_condition */ + case 360: /* db_options */ + case 362: /* alter_db_options */ + case 364: /* start_opt */ + case 365: /* end_opt */ + case 369: /* signed */ + case 371: /* retention */ + case 372: /* full_table_name */ + case 375: /* table_options */ + case 379: /* alter_table_clause */ + case 380: /* alter_table_options */ + case 383: /* signed_literal */ + case 384: /* create_subtable_clause */ + case 387: /* drop_table_clause */ + case 389: /* column_def */ + case 393: /* duration_literal */ + case 394: /* rollup_func_name */ + case 396: /* col_name */ + case 397: /* db_name_cond_opt */ + case 398: /* like_pattern_opt */ + case 399: /* table_name_cond */ + case 400: /* from_db_opt */ + case 402: /* tag_item */ + case 404: /* full_index_name */ + case 405: /* index_options */ + case 408: /* sliding_opt */ + case 409: /* sma_stream_opt */ + case 410: /* func */ + case 413: /* query_or_subquery */ + case 414: /* where_clause_opt */ + case 417: /* explain_options */ + case 418: /* insert_query */ + case 424: /* stream_options */ + case 427: /* subtable_opt */ + case 429: /* expression */ + case 431: /* literal_func */ + case 434: /* expr_or_subquery */ + case 435: /* pseudo_column */ + case 436: /* column_reference */ + case 437: /* function_expression */ + case 438: /* case_when_expression */ + case 443: /* star_func_para */ + case 445: /* case_when_else_opt */ + case 446: /* common_expression */ + case 447: /* when_then_expr */ + case 448: /* predicate */ + case 451: /* in_predicate_value */ + case 452: /* boolean_value_expression */ + case 453: /* boolean_primary */ + case 454: /* from_clause_opt */ + case 455: /* table_reference_list */ + case 456: /* table_reference */ + case 457: /* table_primary */ + case 458: /* joined_table */ + case 460: /* subquery */ + case 461: /* parenthesized_joined_table */ + case 463: /* query_specification */ + case 468: /* range_opt */ + case 469: /* every_opt */ + case 470: /* fill_opt */ + case 471: /* twindow_clause_opt */ + case 473: /* having_clause_opt */ + case 474: /* hint_opt */ + case 475: /* select_item */ + case 477: /* partition_item */ + case 480: /* query_expression */ + case 481: /* query_simple */ + case 483: /* slimit_clause_opt */ + case 484: /* limit_clause_opt */ + case 485: /* union_query_expression */ + case 486: /* query_simple_or_subquery */ + case 488: /* sort_specification */ { - nodesDestroyNode((yypminor->yy452)); + nodesDestroyNode((yypminor->yy572)); } break; - case 339: /* account_options */ - case 340: /* alter_account_options */ - case 342: /* alter_account_option */ - case 361: /* speed_opt */ - case 410: /* with_meta */ - case 419: /* bufsize_opt */ + case 341: /* account_options */ + case 342: /* alter_account_options */ + case 344: /* alter_account_option */ + case 363: /* speed_opt */ + case 412: /* with_meta */ + case 421: /* bufsize_opt */ { } break; - case 343: /* user_name */ - case 350: /* db_name */ - case 351: /* table_name */ - case 352: /* topic_name */ - case 354: /* dnode_endpoint */ - case 379: /* column_name */ - case 393: /* function_name */ - case 401: /* column_alias */ - case 404: /* index_name */ - case 409: /* sma_func_name */ - case 413: /* cgroup_name */ - case 420: /* language_opt */ - case 421: /* stream_name */ - case 431: /* table_alias */ - case 437: /* star_func */ - case 439: /* noarg_func */ - case 457: /* alias_opt */ + case 345: /* user_name */ + case 352: /* db_name */ + case 353: /* table_name */ + case 354: /* topic_name */ + case 356: /* dnode_endpoint */ + case 381: /* column_name */ + case 395: /* function_name */ + case 403: /* column_alias */ + case 406: /* index_name */ + case 411: /* sma_func_name */ + case 415: /* cgroup_name */ + case 422: /* language_opt */ + case 423: /* stream_name */ + case 433: /* table_alias */ + case 439: /* star_func */ + case 441: /* noarg_func */ + case 459: /* alias_opt */ { } break; - case 344: /* sysinfo_opt */ + case 346: /* sysinfo_opt */ { } break; - case 345: /* privileges */ - case 348: /* priv_type_list */ - case 349: /* priv_type */ + case 347: /* privileges */ + case 350: /* priv_type_list */ + case 351: /* priv_type */ { } break; - case 346: /* priv_level */ + case 348: /* priv_level */ { } break; - case 355: /* force_opt */ - case 356: /* unsafe_opt */ - case 357: /* not_exists_opt */ - case 359: /* exists_opt */ - case 414: /* analyze_opt */ - case 417: /* or_replace_opt */ - case 418: /* agg_func_opt */ - case 426: /* ignore_opt */ - case 462: /* set_quantifier_opt */ + case 357: /* force_opt */ + case 358: /* unsafe_opt */ + case 359: /* not_exists_opt */ + case 361: /* exists_opt */ + case 416: /* analyze_opt */ + case 419: /* or_replace_opt */ + case 420: /* agg_func_opt */ + case 428: /* ignore_opt */ + case 465: /* set_quantifier_opt */ { } break; - case 364: /* integer_list */ - case 365: /* variable_list */ - case 366: /* retention_list */ - case 371: /* column_def_list */ - case 372: /* tags_def_opt */ - case 374: /* multi_create_clause */ - case 375: /* tags_def */ - case 376: /* multi_drop_clause */ - case 383: /* specific_cols_opt */ - case 384: /* expression_list */ - case 386: /* col_name_list */ - case 388: /* duration_list */ - case 389: /* rollup_func_list */ - case 399: /* tag_list_opt */ - case 405: /* func_list */ - case 423: /* col_list_opt */ - case 424: /* tag_def_or_ref_opt */ - case 428: /* dnode_list */ - case 430: /* literal_list */ - case 438: /* star_func_para_list */ - case 440: /* other_para_list */ - case 442: /* when_then_list */ - case 463: /* select_list */ - case 464: /* partition_by_clause_opt */ - case 469: /* group_by_clause_opt */ - case 472: /* partition_list */ - case 475: /* group_by_list */ - case 478: /* order_by_clause_opt */ - case 483: /* sort_specification_list */ + case 366: /* integer_list */ + case 367: /* variable_list */ + case 368: /* retention_list */ + case 373: /* column_def_list */ + case 374: /* tags_def_opt */ + case 376: /* multi_create_clause */ + case 377: /* tags_def */ + case 378: /* multi_drop_clause */ + case 385: /* specific_cols_opt */ + case 386: /* expression_list */ + case 388: /* col_name_list */ + case 390: /* duration_list */ + case 391: /* rollup_func_list */ + case 401: /* tag_list_opt */ + case 407: /* func_list */ + case 425: /* col_list_opt */ + case 426: /* tag_def_or_ref_opt */ + case 430: /* dnode_list */ + case 432: /* literal_list */ + case 440: /* star_func_para_list */ + case 442: /* other_para_list */ + case 444: /* when_then_list */ + case 464: /* hint_opt_list */ + case 466: /* select_list */ + case 467: /* partition_by_clause_opt */ + case 472: /* group_by_clause_opt */ + case 476: /* partition_list */ + case 479: /* group_by_list */ + case 482: /* order_by_clause_opt */ + case 487: /* sort_specification_list */ { - nodesDestroyList((yypminor->yy812)); + nodesDestroyList((yypminor->yy216)); } break; - case 368: /* alter_db_option */ - case 390: /* alter_table_option */ + case 370: /* alter_db_option */ + case 392: /* alter_table_option */ { } break; - case 380: /* type_name */ + case 382: /* type_name */ { } break; - case 447: /* compare_op */ - case 448: /* in_op */ + case 449: /* compare_op */ + case 450: /* in_op */ { } break; - case 460: /* join_type */ + case 462: /* join_type */ { } break; - case 474: /* fill_mode */ + case 478: /* fill_mode */ { } break; - case 485: /* ordering_specification_opt */ + case 489: /* ordering_specification_opt */ { } break; - case 486: /* null_ordering_opt */ + case 490: /* null_ordering_opt */ { } @@ -3192,606 +3203,611 @@ static void yy_shift( /* For rule J, yyRuleInfoLhs[J] contains the symbol on the left-hand side ** of that rule */ static const YYCODETYPE yyRuleInfoLhs[] = { - 338, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ - 338, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ - 339, /* (2) account_options ::= */ - 339, /* (3) account_options ::= account_options PPS literal */ - 339, /* (4) account_options ::= account_options TSERIES literal */ - 339, /* (5) account_options ::= account_options STORAGE literal */ - 339, /* (6) account_options ::= account_options STREAMS literal */ - 339, /* (7) account_options ::= account_options QTIME literal */ - 339, /* (8) account_options ::= account_options DBS literal */ - 339, /* (9) account_options ::= account_options USERS literal */ - 339, /* (10) account_options ::= account_options CONNS literal */ - 339, /* (11) account_options ::= account_options STATE literal */ - 340, /* (12) alter_account_options ::= alter_account_option */ - 340, /* (13) alter_account_options ::= alter_account_options alter_account_option */ - 342, /* (14) alter_account_option ::= PASS literal */ - 342, /* (15) alter_account_option ::= PPS literal */ - 342, /* (16) alter_account_option ::= TSERIES literal */ - 342, /* (17) alter_account_option ::= STORAGE literal */ - 342, /* (18) alter_account_option ::= STREAMS literal */ - 342, /* (19) alter_account_option ::= QTIME literal */ - 342, /* (20) alter_account_option ::= DBS literal */ - 342, /* (21) alter_account_option ::= USERS literal */ - 342, /* (22) alter_account_option ::= CONNS literal */ - 342, /* (23) alter_account_option ::= STATE literal */ - 338, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ - 338, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ - 338, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ - 338, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ - 338, /* (28) cmd ::= DROP USER user_name */ - 344, /* (29) sysinfo_opt ::= */ - 344, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ - 338, /* (31) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */ - 338, /* (32) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ - 345, /* (33) privileges ::= ALL */ - 345, /* (34) privileges ::= priv_type_list */ - 345, /* (35) privileges ::= SUBSCRIBE */ - 348, /* (36) priv_type_list ::= priv_type */ - 348, /* (37) priv_type_list ::= priv_type_list NK_COMMA priv_type */ - 349, /* (38) priv_type ::= READ */ - 349, /* (39) priv_type ::= WRITE */ - 346, /* (40) priv_level ::= NK_STAR NK_DOT NK_STAR */ - 346, /* (41) priv_level ::= db_name NK_DOT NK_STAR */ - 346, /* (42) priv_level ::= db_name NK_DOT table_name */ - 346, /* (43) priv_level ::= topic_name */ - 347, /* (44) with_opt ::= */ - 347, /* (45) with_opt ::= WITH search_condition */ - 338, /* (46) cmd ::= CREATE DNODE dnode_endpoint */ - 338, /* (47) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ - 338, /* (48) cmd ::= DROP DNODE NK_INTEGER force_opt */ - 338, /* (49) cmd ::= DROP DNODE dnode_endpoint force_opt */ - 338, /* (50) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ - 338, /* (51) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ - 338, /* (52) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ - 338, /* (53) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ - 338, /* (54) cmd ::= ALTER ALL DNODES NK_STRING */ - 338, /* (55) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ - 338, /* (56) cmd ::= RESTORE DNODE NK_INTEGER */ - 354, /* (57) dnode_endpoint ::= NK_STRING */ - 354, /* (58) dnode_endpoint ::= NK_ID */ - 354, /* (59) dnode_endpoint ::= NK_IPTOKEN */ - 355, /* (60) force_opt ::= */ - 355, /* (61) force_opt ::= FORCE */ - 356, /* (62) unsafe_opt ::= UNSAFE */ - 338, /* (63) cmd ::= ALTER LOCAL NK_STRING */ - 338, /* (64) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ - 338, /* (65) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ - 338, /* (66) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ - 338, /* (67) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */ - 338, /* (68) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ - 338, /* (69) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ - 338, /* (70) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ - 338, /* (71) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ - 338, /* (72) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ - 338, /* (73) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ - 338, /* (74) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */ - 338, /* (75) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */ - 338, /* (76) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ - 338, /* (77) cmd ::= DROP DATABASE exists_opt db_name */ - 338, /* (78) cmd ::= USE db_name */ - 338, /* (79) cmd ::= ALTER DATABASE db_name alter_db_options */ - 338, /* (80) cmd ::= FLUSH DATABASE db_name */ - 338, /* (81) cmd ::= TRIM DATABASE db_name speed_opt */ - 338, /* (82) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ - 357, /* (83) not_exists_opt ::= IF NOT EXISTS */ - 357, /* (84) not_exists_opt ::= */ - 359, /* (85) exists_opt ::= IF EXISTS */ - 359, /* (86) exists_opt ::= */ - 358, /* (87) db_options ::= */ - 358, /* (88) db_options ::= db_options BUFFER NK_INTEGER */ - 358, /* (89) db_options ::= db_options CACHEMODEL NK_STRING */ - 358, /* (90) db_options ::= db_options CACHESIZE NK_INTEGER */ - 358, /* (91) db_options ::= db_options COMP NK_INTEGER */ - 358, /* (92) db_options ::= db_options DURATION NK_INTEGER */ - 358, /* (93) db_options ::= db_options DURATION NK_VARIABLE */ - 358, /* (94) db_options ::= db_options MAXROWS NK_INTEGER */ - 358, /* (95) db_options ::= db_options MINROWS NK_INTEGER */ - 358, /* (96) db_options ::= db_options KEEP integer_list */ - 358, /* (97) db_options ::= db_options KEEP variable_list */ - 358, /* (98) db_options ::= db_options PAGES NK_INTEGER */ - 358, /* (99) db_options ::= db_options PAGESIZE NK_INTEGER */ - 358, /* (100) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ - 358, /* (101) db_options ::= db_options PRECISION NK_STRING */ - 358, /* (102) db_options ::= db_options REPLICA NK_INTEGER */ - 358, /* (103) db_options ::= db_options VGROUPS NK_INTEGER */ - 358, /* (104) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ - 358, /* (105) db_options ::= db_options RETENTIONS retention_list */ - 358, /* (106) db_options ::= db_options SCHEMALESS NK_INTEGER */ - 358, /* (107) db_options ::= db_options WAL_LEVEL NK_INTEGER */ - 358, /* (108) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ - 358, /* (109) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ - 358, /* (110) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - 358, /* (111) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ - 358, /* (112) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - 358, /* (113) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ - 358, /* (114) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ - 358, /* (115) db_options ::= db_options STT_TRIGGER NK_INTEGER */ - 358, /* (116) db_options ::= db_options TABLE_PREFIX signed */ - 358, /* (117) db_options ::= db_options TABLE_SUFFIX signed */ - 360, /* (118) alter_db_options ::= alter_db_option */ - 360, /* (119) alter_db_options ::= alter_db_options alter_db_option */ - 368, /* (120) alter_db_option ::= BUFFER NK_INTEGER */ - 368, /* (121) alter_db_option ::= CACHEMODEL NK_STRING */ - 368, /* (122) alter_db_option ::= CACHESIZE NK_INTEGER */ - 368, /* (123) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ - 368, /* (124) alter_db_option ::= KEEP integer_list */ - 368, /* (125) alter_db_option ::= KEEP variable_list */ - 368, /* (126) alter_db_option ::= PAGES NK_INTEGER */ - 368, /* (127) alter_db_option ::= REPLICA NK_INTEGER */ - 368, /* (128) alter_db_option ::= WAL_LEVEL NK_INTEGER */ - 368, /* (129) alter_db_option ::= STT_TRIGGER NK_INTEGER */ - 368, /* (130) alter_db_option ::= MINROWS NK_INTEGER */ - 368, /* (131) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ - 368, /* (132) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - 368, /* (133) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ - 368, /* (134) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - 364, /* (135) integer_list ::= NK_INTEGER */ - 364, /* (136) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - 365, /* (137) variable_list ::= NK_VARIABLE */ - 365, /* (138) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - 366, /* (139) retention_list ::= retention */ - 366, /* (140) retention_list ::= retention_list NK_COMMA retention */ - 369, /* (141) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - 361, /* (142) speed_opt ::= */ - 361, /* (143) speed_opt ::= MAX_SPEED NK_INTEGER */ - 362, /* (144) start_opt ::= */ - 362, /* (145) start_opt ::= START WITH NK_INTEGER */ - 362, /* (146) start_opt ::= START WITH NK_STRING */ - 362, /* (147) start_opt ::= START WITH TIMESTAMP NK_STRING */ - 363, /* (148) end_opt ::= */ - 363, /* (149) end_opt ::= END WITH NK_INTEGER */ - 363, /* (150) end_opt ::= END WITH NK_STRING */ - 363, /* (151) end_opt ::= END WITH TIMESTAMP NK_STRING */ - 338, /* (152) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - 338, /* (153) cmd ::= CREATE TABLE multi_create_clause */ - 338, /* (154) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - 338, /* (155) cmd ::= DROP TABLE multi_drop_clause */ - 338, /* (156) cmd ::= DROP STABLE exists_opt full_table_name */ - 338, /* (157) cmd ::= ALTER TABLE alter_table_clause */ - 338, /* (158) cmd ::= ALTER STABLE alter_table_clause */ - 377, /* (159) alter_table_clause ::= full_table_name alter_table_options */ - 377, /* (160) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - 377, /* (161) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - 377, /* (162) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - 377, /* (163) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - 377, /* (164) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - 377, /* (165) alter_table_clause ::= full_table_name DROP TAG column_name */ - 377, /* (166) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - 377, /* (167) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - 377, /* (168) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - 374, /* (169) multi_create_clause ::= create_subtable_clause */ - 374, /* (170) multi_create_clause ::= multi_create_clause create_subtable_clause */ - 382, /* (171) 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 */ - 376, /* (172) multi_drop_clause ::= drop_table_clause */ - 376, /* (173) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ - 385, /* (174) drop_table_clause ::= exists_opt full_table_name */ - 383, /* (175) specific_cols_opt ::= */ - 383, /* (176) specific_cols_opt ::= NK_LP col_name_list NK_RP */ - 370, /* (177) full_table_name ::= table_name */ - 370, /* (178) full_table_name ::= db_name NK_DOT table_name */ - 371, /* (179) column_def_list ::= column_def */ - 371, /* (180) column_def_list ::= column_def_list NK_COMMA column_def */ - 387, /* (181) column_def ::= column_name type_name */ - 380, /* (182) type_name ::= BOOL */ - 380, /* (183) type_name ::= TINYINT */ - 380, /* (184) type_name ::= SMALLINT */ - 380, /* (185) type_name ::= INT */ - 380, /* (186) type_name ::= INTEGER */ - 380, /* (187) type_name ::= BIGINT */ - 380, /* (188) type_name ::= FLOAT */ - 380, /* (189) type_name ::= DOUBLE */ - 380, /* (190) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - 380, /* (191) type_name ::= TIMESTAMP */ - 380, /* (192) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - 380, /* (193) type_name ::= TINYINT UNSIGNED */ - 380, /* (194) type_name ::= SMALLINT UNSIGNED */ - 380, /* (195) type_name ::= INT UNSIGNED */ - 380, /* (196) type_name ::= BIGINT UNSIGNED */ - 380, /* (197) type_name ::= JSON */ - 380, /* (198) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - 380, /* (199) type_name ::= MEDIUMBLOB */ - 380, /* (200) type_name ::= BLOB */ - 380, /* (201) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - 380, /* (202) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ - 380, /* (203) type_name ::= DECIMAL */ - 380, /* (204) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - 380, /* (205) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - 372, /* (206) tags_def_opt ::= */ - 372, /* (207) tags_def_opt ::= tags_def */ - 375, /* (208) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - 373, /* (209) table_options ::= */ - 373, /* (210) table_options ::= table_options COMMENT NK_STRING */ - 373, /* (211) table_options ::= table_options MAX_DELAY duration_list */ - 373, /* (212) table_options ::= table_options WATERMARK duration_list */ - 373, /* (213) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - 373, /* (214) table_options ::= table_options TTL NK_INTEGER */ - 373, /* (215) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - 373, /* (216) table_options ::= table_options DELETE_MARK duration_list */ - 378, /* (217) alter_table_options ::= alter_table_option */ - 378, /* (218) alter_table_options ::= alter_table_options alter_table_option */ - 390, /* (219) alter_table_option ::= COMMENT NK_STRING */ - 390, /* (220) alter_table_option ::= TTL NK_INTEGER */ - 388, /* (221) duration_list ::= duration_literal */ - 388, /* (222) duration_list ::= duration_list NK_COMMA duration_literal */ - 389, /* (223) rollup_func_list ::= rollup_func_name */ - 389, /* (224) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - 392, /* (225) rollup_func_name ::= function_name */ - 392, /* (226) rollup_func_name ::= FIRST */ - 392, /* (227) rollup_func_name ::= LAST */ - 386, /* (228) col_name_list ::= col_name */ - 386, /* (229) col_name_list ::= col_name_list NK_COMMA col_name */ - 394, /* (230) col_name ::= column_name */ - 338, /* (231) cmd ::= SHOW DNODES */ - 338, /* (232) cmd ::= SHOW USERS */ - 338, /* (233) cmd ::= SHOW USER PRIVILEGES */ - 338, /* (234) cmd ::= SHOW DATABASES */ - 338, /* (235) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - 338, /* (236) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - 338, /* (237) cmd ::= SHOW db_name_cond_opt VGROUPS */ - 338, /* (238) cmd ::= SHOW MNODES */ - 338, /* (239) cmd ::= SHOW QNODES */ - 338, /* (240) cmd ::= SHOW FUNCTIONS */ - 338, /* (241) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - 338, /* (242) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ - 338, /* (243) cmd ::= SHOW STREAMS */ - 338, /* (244) cmd ::= SHOW ACCOUNTS */ - 338, /* (245) cmd ::= SHOW APPS */ - 338, /* (246) cmd ::= SHOW CONNECTIONS */ - 338, /* (247) cmd ::= SHOW LICENCES */ - 338, /* (248) cmd ::= SHOW GRANTS */ - 338, /* (249) cmd ::= SHOW CREATE DATABASE db_name */ - 338, /* (250) cmd ::= SHOW CREATE TABLE full_table_name */ - 338, /* (251) cmd ::= SHOW CREATE STABLE full_table_name */ - 338, /* (252) cmd ::= SHOW QUERIES */ - 338, /* (253) cmd ::= SHOW SCORES */ - 338, /* (254) cmd ::= SHOW TOPICS */ - 338, /* (255) cmd ::= SHOW VARIABLES */ - 338, /* (256) cmd ::= SHOW CLUSTER VARIABLES */ - 338, /* (257) cmd ::= SHOW LOCAL VARIABLES */ - 338, /* (258) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - 338, /* (259) cmd ::= SHOW BNODES */ - 338, /* (260) cmd ::= SHOW SNODES */ - 338, /* (261) cmd ::= SHOW CLUSTER */ - 338, /* (262) cmd ::= SHOW TRANSACTIONS */ - 338, /* (263) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - 338, /* (264) cmd ::= SHOW CONSUMERS */ - 338, /* (265) cmd ::= SHOW SUBSCRIPTIONS */ - 338, /* (266) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - 338, /* (267) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ - 338, /* (268) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - 338, /* (269) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ - 338, /* (270) cmd ::= SHOW VNODES NK_INTEGER */ - 338, /* (271) cmd ::= SHOW VNODES NK_STRING */ - 338, /* (272) cmd ::= SHOW db_name_cond_opt ALIVE */ - 338, /* (273) cmd ::= SHOW CLUSTER ALIVE */ - 395, /* (274) db_name_cond_opt ::= */ - 395, /* (275) db_name_cond_opt ::= db_name NK_DOT */ - 396, /* (276) like_pattern_opt ::= */ - 396, /* (277) like_pattern_opt ::= LIKE NK_STRING */ - 397, /* (278) table_name_cond ::= table_name */ - 398, /* (279) from_db_opt ::= */ - 398, /* (280) from_db_opt ::= FROM db_name */ - 399, /* (281) tag_list_opt ::= */ - 399, /* (282) tag_list_opt ::= tag_item */ - 399, /* (283) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - 400, /* (284) tag_item ::= TBNAME */ - 400, /* (285) tag_item ::= QTAGS */ - 400, /* (286) tag_item ::= column_name */ - 400, /* (287) tag_item ::= column_name column_alias */ - 400, /* (288) tag_item ::= column_name AS column_alias */ - 338, /* (289) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ - 338, /* (290) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ - 338, /* (291) cmd ::= DROP INDEX exists_opt full_index_name */ - 402, /* (292) full_index_name ::= index_name */ - 402, /* (293) full_index_name ::= db_name NK_DOT index_name */ - 403, /* (294) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - 403, /* (295) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ - 405, /* (296) func_list ::= func */ - 405, /* (297) func_list ::= func_list NK_COMMA func */ - 408, /* (298) func ::= sma_func_name NK_LP expression_list NK_RP */ - 409, /* (299) sma_func_name ::= function_name */ - 409, /* (300) sma_func_name ::= COUNT */ - 409, /* (301) sma_func_name ::= FIRST */ - 409, /* (302) sma_func_name ::= LAST */ - 409, /* (303) sma_func_name ::= LAST_ROW */ - 407, /* (304) sma_stream_opt ::= */ - 407, /* (305) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - 407, /* (306) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - 407, /* (307) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - 410, /* (308) with_meta ::= AS */ - 410, /* (309) with_meta ::= WITH META AS */ - 410, /* (310) with_meta ::= ONLY META AS */ - 338, /* (311) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - 338, /* (312) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - 338, /* (313) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - 338, /* (314) cmd ::= DROP TOPIC exists_opt topic_name */ - 338, /* (315) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - 338, /* (316) cmd ::= DESC full_table_name */ - 338, /* (317) cmd ::= DESCRIBE full_table_name */ - 338, /* (318) cmd ::= RESET QUERY CACHE */ - 338, /* (319) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - 338, /* (320) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 414, /* (321) analyze_opt ::= */ - 414, /* (322) analyze_opt ::= ANALYZE */ - 415, /* (323) explain_options ::= */ - 415, /* (324) explain_options ::= explain_options VERBOSE NK_BOOL */ - 415, /* (325) explain_options ::= explain_options RATIO NK_FLOAT */ - 338, /* (326) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - 338, /* (327) cmd ::= DROP FUNCTION exists_opt function_name */ - 418, /* (328) agg_func_opt ::= */ - 418, /* (329) agg_func_opt ::= AGGREGATE */ - 419, /* (330) bufsize_opt ::= */ - 419, /* (331) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 420, /* (332) language_opt ::= */ - 420, /* (333) language_opt ::= LANGUAGE NK_STRING */ - 417, /* (334) or_replace_opt ::= */ - 417, /* (335) or_replace_opt ::= OR REPLACE */ - 338, /* (336) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - 338, /* (337) cmd ::= DROP STREAM exists_opt stream_name */ - 338, /* (338) cmd ::= PAUSE STREAM exists_opt stream_name */ - 338, /* (339) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 423, /* (340) col_list_opt ::= */ - 423, /* (341) col_list_opt ::= NK_LP col_name_list NK_RP */ - 424, /* (342) tag_def_or_ref_opt ::= */ - 424, /* (343) tag_def_or_ref_opt ::= tags_def */ - 424, /* (344) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 422, /* (345) stream_options ::= */ - 422, /* (346) stream_options ::= stream_options TRIGGER AT_ONCE */ - 422, /* (347) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - 422, /* (348) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - 422, /* (349) stream_options ::= stream_options WATERMARK duration_literal */ - 422, /* (350) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - 422, /* (351) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - 422, /* (352) stream_options ::= stream_options DELETE_MARK duration_literal */ - 422, /* (353) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 425, /* (354) subtable_opt ::= */ - 425, /* (355) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 426, /* (356) ignore_opt ::= */ - 426, /* (357) ignore_opt ::= IGNORE UNTREATED */ - 338, /* (358) cmd ::= KILL CONNECTION NK_INTEGER */ - 338, /* (359) cmd ::= KILL QUERY NK_STRING */ - 338, /* (360) cmd ::= KILL TRANSACTION NK_INTEGER */ - 338, /* (361) cmd ::= BALANCE VGROUP */ - 338, /* (362) cmd ::= BALANCE VGROUP LEADER */ - 338, /* (363) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - 338, /* (364) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - 338, /* (365) cmd ::= SPLIT VGROUP NK_INTEGER */ - 428, /* (366) dnode_list ::= DNODE NK_INTEGER */ - 428, /* (367) dnode_list ::= dnode_list DNODE NK_INTEGER */ - 338, /* (368) cmd ::= DELETE FROM full_table_name where_clause_opt */ - 338, /* (369) cmd ::= query_or_subquery */ - 338, /* (370) cmd ::= insert_query */ - 416, /* (371) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - 416, /* (372) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - 341, /* (373) literal ::= NK_INTEGER */ - 341, /* (374) literal ::= NK_FLOAT */ - 341, /* (375) literal ::= NK_STRING */ - 341, /* (376) literal ::= NK_BOOL */ - 341, /* (377) literal ::= TIMESTAMP NK_STRING */ - 341, /* (378) literal ::= duration_literal */ - 341, /* (379) literal ::= NULL */ - 341, /* (380) literal ::= NK_QUESTION */ - 391, /* (381) duration_literal ::= NK_VARIABLE */ - 367, /* (382) signed ::= NK_INTEGER */ - 367, /* (383) signed ::= NK_PLUS NK_INTEGER */ - 367, /* (384) signed ::= NK_MINUS NK_INTEGER */ - 367, /* (385) signed ::= NK_FLOAT */ - 367, /* (386) signed ::= NK_PLUS NK_FLOAT */ - 367, /* (387) signed ::= NK_MINUS NK_FLOAT */ - 381, /* (388) signed_literal ::= signed */ - 381, /* (389) signed_literal ::= NK_STRING */ - 381, /* (390) signed_literal ::= NK_BOOL */ - 381, /* (391) signed_literal ::= TIMESTAMP NK_STRING */ - 381, /* (392) signed_literal ::= duration_literal */ - 381, /* (393) signed_literal ::= NULL */ - 381, /* (394) signed_literal ::= literal_func */ - 381, /* (395) signed_literal ::= NK_QUESTION */ - 430, /* (396) literal_list ::= signed_literal */ - 430, /* (397) literal_list ::= literal_list NK_COMMA signed_literal */ - 350, /* (398) db_name ::= NK_ID */ - 351, /* (399) table_name ::= NK_ID */ - 379, /* (400) column_name ::= NK_ID */ - 393, /* (401) function_name ::= NK_ID */ - 431, /* (402) table_alias ::= NK_ID */ - 401, /* (403) column_alias ::= NK_ID */ - 343, /* (404) user_name ::= NK_ID */ - 352, /* (405) topic_name ::= NK_ID */ - 421, /* (406) stream_name ::= NK_ID */ - 413, /* (407) cgroup_name ::= NK_ID */ - 404, /* (408) index_name ::= NK_ID */ - 432, /* (409) expr_or_subquery ::= expression */ - 427, /* (410) expression ::= literal */ - 427, /* (411) expression ::= pseudo_column */ - 427, /* (412) expression ::= column_reference */ - 427, /* (413) expression ::= function_expression */ - 427, /* (414) expression ::= case_when_expression */ - 427, /* (415) expression ::= NK_LP expression NK_RP */ - 427, /* (416) expression ::= NK_PLUS expr_or_subquery */ - 427, /* (417) expression ::= NK_MINUS expr_or_subquery */ - 427, /* (418) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - 427, /* (419) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - 427, /* (420) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - 427, /* (421) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - 427, /* (422) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - 427, /* (423) expression ::= column_reference NK_ARROW NK_STRING */ - 427, /* (424) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - 427, /* (425) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - 384, /* (426) expression_list ::= expr_or_subquery */ - 384, /* (427) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - 434, /* (428) column_reference ::= column_name */ - 434, /* (429) column_reference ::= table_name NK_DOT column_name */ - 433, /* (430) pseudo_column ::= ROWTS */ - 433, /* (431) pseudo_column ::= TBNAME */ - 433, /* (432) pseudo_column ::= table_name NK_DOT TBNAME */ - 433, /* (433) pseudo_column ::= QSTART */ - 433, /* (434) pseudo_column ::= QEND */ - 433, /* (435) pseudo_column ::= QDURATION */ - 433, /* (436) pseudo_column ::= WSTART */ - 433, /* (437) pseudo_column ::= WEND */ - 433, /* (438) pseudo_column ::= WDURATION */ - 433, /* (439) pseudo_column ::= IROWTS */ - 433, /* (440) pseudo_column ::= ISFILLED */ - 433, /* (441) pseudo_column ::= QTAGS */ - 435, /* (442) function_expression ::= function_name NK_LP expression_list NK_RP */ - 435, /* (443) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - 435, /* (444) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - 435, /* (445) function_expression ::= literal_func */ - 429, /* (446) literal_func ::= noarg_func NK_LP NK_RP */ - 429, /* (447) literal_func ::= NOW */ - 439, /* (448) noarg_func ::= NOW */ - 439, /* (449) noarg_func ::= TODAY */ - 439, /* (450) noarg_func ::= TIMEZONE */ - 439, /* (451) noarg_func ::= DATABASE */ - 439, /* (452) noarg_func ::= CLIENT_VERSION */ - 439, /* (453) noarg_func ::= SERVER_VERSION */ - 439, /* (454) noarg_func ::= SERVER_STATUS */ - 439, /* (455) noarg_func ::= CURRENT_USER */ - 439, /* (456) noarg_func ::= USER */ - 437, /* (457) star_func ::= COUNT */ - 437, /* (458) star_func ::= FIRST */ - 437, /* (459) star_func ::= LAST */ - 437, /* (460) star_func ::= LAST_ROW */ - 438, /* (461) star_func_para_list ::= NK_STAR */ - 438, /* (462) star_func_para_list ::= other_para_list */ - 440, /* (463) other_para_list ::= star_func_para */ - 440, /* (464) other_para_list ::= other_para_list NK_COMMA star_func_para */ - 441, /* (465) star_func_para ::= expr_or_subquery */ - 441, /* (466) star_func_para ::= table_name NK_DOT NK_STAR */ - 436, /* (467) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - 436, /* (468) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - 442, /* (469) when_then_list ::= when_then_expr */ - 442, /* (470) when_then_list ::= when_then_list when_then_expr */ - 445, /* (471) when_then_expr ::= WHEN common_expression THEN common_expression */ - 443, /* (472) case_when_else_opt ::= */ - 443, /* (473) case_when_else_opt ::= ELSE common_expression */ - 446, /* (474) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - 446, /* (475) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - 446, /* (476) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - 446, /* (477) predicate ::= expr_or_subquery IS NULL */ - 446, /* (478) predicate ::= expr_or_subquery IS NOT NULL */ - 446, /* (479) predicate ::= expr_or_subquery in_op in_predicate_value */ - 447, /* (480) compare_op ::= NK_LT */ - 447, /* (481) compare_op ::= NK_GT */ - 447, /* (482) compare_op ::= NK_LE */ - 447, /* (483) compare_op ::= NK_GE */ - 447, /* (484) compare_op ::= NK_NE */ - 447, /* (485) compare_op ::= NK_EQ */ - 447, /* (486) compare_op ::= LIKE */ - 447, /* (487) compare_op ::= NOT LIKE */ - 447, /* (488) compare_op ::= MATCH */ - 447, /* (489) compare_op ::= NMATCH */ - 447, /* (490) compare_op ::= CONTAINS */ - 448, /* (491) in_op ::= IN */ - 448, /* (492) in_op ::= NOT IN */ - 449, /* (493) in_predicate_value ::= NK_LP literal_list NK_RP */ - 450, /* (494) boolean_value_expression ::= boolean_primary */ - 450, /* (495) boolean_value_expression ::= NOT boolean_primary */ - 450, /* (496) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - 450, /* (497) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - 451, /* (498) boolean_primary ::= predicate */ - 451, /* (499) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - 444, /* (500) common_expression ::= expr_or_subquery */ - 444, /* (501) common_expression ::= boolean_value_expression */ - 452, /* (502) from_clause_opt ::= */ - 452, /* (503) from_clause_opt ::= FROM table_reference_list */ - 453, /* (504) table_reference_list ::= table_reference */ - 453, /* (505) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - 454, /* (506) table_reference ::= table_primary */ - 454, /* (507) table_reference ::= joined_table */ - 455, /* (508) table_primary ::= table_name alias_opt */ - 455, /* (509) table_primary ::= db_name NK_DOT table_name alias_opt */ - 455, /* (510) table_primary ::= subquery alias_opt */ - 455, /* (511) table_primary ::= parenthesized_joined_table */ - 457, /* (512) alias_opt ::= */ - 457, /* (513) alias_opt ::= table_alias */ - 457, /* (514) alias_opt ::= AS table_alias */ - 459, /* (515) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - 459, /* (516) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - 456, /* (517) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 460, /* (518) join_type ::= */ - 460, /* (519) join_type ::= INNER */ - 461, /* (520) query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ - 462, /* (521) set_quantifier_opt ::= */ - 462, /* (522) set_quantifier_opt ::= DISTINCT */ - 462, /* (523) set_quantifier_opt ::= ALL */ - 463, /* (524) select_list ::= select_item */ - 463, /* (525) select_list ::= select_list NK_COMMA select_item */ - 471, /* (526) select_item ::= NK_STAR */ - 471, /* (527) select_item ::= common_expression */ - 471, /* (528) select_item ::= common_expression column_alias */ - 471, /* (529) select_item ::= common_expression AS column_alias */ - 471, /* (530) select_item ::= table_name NK_DOT NK_STAR */ - 412, /* (531) where_clause_opt ::= */ - 412, /* (532) where_clause_opt ::= WHERE search_condition */ - 464, /* (533) partition_by_clause_opt ::= */ - 464, /* (534) partition_by_clause_opt ::= PARTITION BY partition_list */ - 472, /* (535) partition_list ::= partition_item */ - 472, /* (536) partition_list ::= partition_list NK_COMMA partition_item */ - 473, /* (537) partition_item ::= expr_or_subquery */ - 473, /* (538) partition_item ::= expr_or_subquery column_alias */ - 473, /* (539) partition_item ::= expr_or_subquery AS column_alias */ - 468, /* (540) twindow_clause_opt ::= */ - 468, /* (541) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - 468, /* (542) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - 468, /* (543) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - 468, /* (544) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - 468, /* (545) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 406, /* (546) sliding_opt ::= */ - 406, /* (547) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - 467, /* (548) fill_opt ::= */ - 467, /* (549) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - 467, /* (550) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - 467, /* (551) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - 474, /* (552) fill_mode ::= NONE */ - 474, /* (553) fill_mode ::= PREV */ - 474, /* (554) fill_mode ::= NULL */ - 474, /* (555) fill_mode ::= NULL_F */ - 474, /* (556) fill_mode ::= LINEAR */ - 474, /* (557) fill_mode ::= NEXT */ - 469, /* (558) group_by_clause_opt ::= */ - 469, /* (559) group_by_clause_opt ::= GROUP BY group_by_list */ - 475, /* (560) group_by_list ::= expr_or_subquery */ - 475, /* (561) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 470, /* (562) having_clause_opt ::= */ - 470, /* (563) having_clause_opt ::= HAVING search_condition */ - 465, /* (564) range_opt ::= */ - 465, /* (565) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - 465, /* (566) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 466, /* (567) every_opt ::= */ - 466, /* (568) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - 476, /* (569) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - 477, /* (570) query_simple ::= query_specification */ - 477, /* (571) query_simple ::= union_query_expression */ - 481, /* (572) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - 481, /* (573) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - 482, /* (574) query_simple_or_subquery ::= query_simple */ - 482, /* (575) query_simple_or_subquery ::= subquery */ - 411, /* (576) query_or_subquery ::= query_expression */ - 411, /* (577) query_or_subquery ::= subquery */ - 478, /* (578) order_by_clause_opt ::= */ - 478, /* (579) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 479, /* (580) slimit_clause_opt ::= */ - 479, /* (581) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - 479, /* (582) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - 479, /* (583) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 480, /* (584) limit_clause_opt ::= */ - 480, /* (585) limit_clause_opt ::= LIMIT NK_INTEGER */ - 480, /* (586) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - 480, /* (587) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 458, /* (588) subquery ::= NK_LP query_expression NK_RP */ - 458, /* (589) subquery ::= NK_LP subquery NK_RP */ - 353, /* (590) search_condition ::= common_expression */ - 483, /* (591) sort_specification_list ::= sort_specification */ - 483, /* (592) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - 484, /* (593) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 485, /* (594) ordering_specification_opt ::= */ - 485, /* (595) ordering_specification_opt ::= ASC */ - 485, /* (596) ordering_specification_opt ::= DESC */ - 486, /* (597) null_ordering_opt ::= */ - 486, /* (598) null_ordering_opt ::= NULLS FIRST */ - 486, /* (599) null_ordering_opt ::= NULLS LAST */ + 340, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ + 340, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ + 341, /* (2) account_options ::= */ + 341, /* (3) account_options ::= account_options PPS literal */ + 341, /* (4) account_options ::= account_options TSERIES literal */ + 341, /* (5) account_options ::= account_options STORAGE literal */ + 341, /* (6) account_options ::= account_options STREAMS literal */ + 341, /* (7) account_options ::= account_options QTIME literal */ + 341, /* (8) account_options ::= account_options DBS literal */ + 341, /* (9) account_options ::= account_options USERS literal */ + 341, /* (10) account_options ::= account_options CONNS literal */ + 341, /* (11) account_options ::= account_options STATE literal */ + 342, /* (12) alter_account_options ::= alter_account_option */ + 342, /* (13) alter_account_options ::= alter_account_options alter_account_option */ + 344, /* (14) alter_account_option ::= PASS literal */ + 344, /* (15) alter_account_option ::= PPS literal */ + 344, /* (16) alter_account_option ::= TSERIES literal */ + 344, /* (17) alter_account_option ::= STORAGE literal */ + 344, /* (18) alter_account_option ::= STREAMS literal */ + 344, /* (19) alter_account_option ::= QTIME literal */ + 344, /* (20) alter_account_option ::= DBS literal */ + 344, /* (21) alter_account_option ::= USERS literal */ + 344, /* (22) alter_account_option ::= CONNS literal */ + 344, /* (23) alter_account_option ::= STATE literal */ + 340, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ + 340, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ + 340, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ + 340, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ + 340, /* (28) cmd ::= DROP USER user_name */ + 346, /* (29) sysinfo_opt ::= */ + 346, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ + 340, /* (31) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */ + 340, /* (32) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ + 347, /* (33) privileges ::= ALL */ + 347, /* (34) privileges ::= priv_type_list */ + 347, /* (35) privileges ::= SUBSCRIBE */ + 350, /* (36) priv_type_list ::= priv_type */ + 350, /* (37) priv_type_list ::= priv_type_list NK_COMMA priv_type */ + 351, /* (38) priv_type ::= READ */ + 351, /* (39) priv_type ::= WRITE */ + 348, /* (40) priv_level ::= NK_STAR NK_DOT NK_STAR */ + 348, /* (41) priv_level ::= db_name NK_DOT NK_STAR */ + 348, /* (42) priv_level ::= db_name NK_DOT table_name */ + 348, /* (43) priv_level ::= topic_name */ + 349, /* (44) with_opt ::= */ + 349, /* (45) with_opt ::= WITH search_condition */ + 340, /* (46) cmd ::= CREATE DNODE dnode_endpoint */ + 340, /* (47) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ + 340, /* (48) cmd ::= DROP DNODE NK_INTEGER force_opt */ + 340, /* (49) cmd ::= DROP DNODE dnode_endpoint force_opt */ + 340, /* (50) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ + 340, /* (51) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ + 340, /* (52) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ + 340, /* (53) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ + 340, /* (54) cmd ::= ALTER ALL DNODES NK_STRING */ + 340, /* (55) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ + 340, /* (56) cmd ::= RESTORE DNODE NK_INTEGER */ + 356, /* (57) dnode_endpoint ::= NK_STRING */ + 356, /* (58) dnode_endpoint ::= NK_ID */ + 356, /* (59) dnode_endpoint ::= NK_IPTOKEN */ + 357, /* (60) force_opt ::= */ + 357, /* (61) force_opt ::= FORCE */ + 358, /* (62) unsafe_opt ::= UNSAFE */ + 340, /* (63) cmd ::= ALTER LOCAL NK_STRING */ + 340, /* (64) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ + 340, /* (65) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ + 340, /* (66) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ + 340, /* (67) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */ + 340, /* (68) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ + 340, /* (69) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ + 340, /* (70) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ + 340, /* (71) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ + 340, /* (72) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ + 340, /* (73) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ + 340, /* (74) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */ + 340, /* (75) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */ + 340, /* (76) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ + 340, /* (77) cmd ::= DROP DATABASE exists_opt db_name */ + 340, /* (78) cmd ::= USE db_name */ + 340, /* (79) cmd ::= ALTER DATABASE db_name alter_db_options */ + 340, /* (80) cmd ::= FLUSH DATABASE db_name */ + 340, /* (81) cmd ::= TRIM DATABASE db_name speed_opt */ + 340, /* (82) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ + 359, /* (83) not_exists_opt ::= IF NOT EXISTS */ + 359, /* (84) not_exists_opt ::= */ + 361, /* (85) exists_opt ::= IF EXISTS */ + 361, /* (86) exists_opt ::= */ + 360, /* (87) db_options ::= */ + 360, /* (88) db_options ::= db_options BUFFER NK_INTEGER */ + 360, /* (89) db_options ::= db_options CACHEMODEL NK_STRING */ + 360, /* (90) db_options ::= db_options CACHESIZE NK_INTEGER */ + 360, /* (91) db_options ::= db_options COMP NK_INTEGER */ + 360, /* (92) db_options ::= db_options DURATION NK_INTEGER */ + 360, /* (93) db_options ::= db_options DURATION NK_VARIABLE */ + 360, /* (94) db_options ::= db_options MAXROWS NK_INTEGER */ + 360, /* (95) db_options ::= db_options MINROWS NK_INTEGER */ + 360, /* (96) db_options ::= db_options KEEP integer_list */ + 360, /* (97) db_options ::= db_options KEEP variable_list */ + 360, /* (98) db_options ::= db_options PAGES NK_INTEGER */ + 360, /* (99) db_options ::= db_options PAGESIZE NK_INTEGER */ + 360, /* (100) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ + 360, /* (101) db_options ::= db_options PRECISION NK_STRING */ + 360, /* (102) db_options ::= db_options REPLICA NK_INTEGER */ + 360, /* (103) db_options ::= db_options VGROUPS NK_INTEGER */ + 360, /* (104) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ + 360, /* (105) db_options ::= db_options RETENTIONS retention_list */ + 360, /* (106) db_options ::= db_options SCHEMALESS NK_INTEGER */ + 360, /* (107) db_options ::= db_options WAL_LEVEL NK_INTEGER */ + 360, /* (108) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ + 360, /* (109) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ + 360, /* (110) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + 360, /* (111) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ + 360, /* (112) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + 360, /* (113) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ + 360, /* (114) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ + 360, /* (115) db_options ::= db_options STT_TRIGGER NK_INTEGER */ + 360, /* (116) db_options ::= db_options TABLE_PREFIX signed */ + 360, /* (117) db_options ::= db_options TABLE_SUFFIX signed */ + 362, /* (118) alter_db_options ::= alter_db_option */ + 362, /* (119) alter_db_options ::= alter_db_options alter_db_option */ + 370, /* (120) alter_db_option ::= BUFFER NK_INTEGER */ + 370, /* (121) alter_db_option ::= CACHEMODEL NK_STRING */ + 370, /* (122) alter_db_option ::= CACHESIZE NK_INTEGER */ + 370, /* (123) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ + 370, /* (124) alter_db_option ::= KEEP integer_list */ + 370, /* (125) alter_db_option ::= KEEP variable_list */ + 370, /* (126) alter_db_option ::= PAGES NK_INTEGER */ + 370, /* (127) alter_db_option ::= REPLICA NK_INTEGER */ + 370, /* (128) alter_db_option ::= WAL_LEVEL NK_INTEGER */ + 370, /* (129) alter_db_option ::= STT_TRIGGER NK_INTEGER */ + 370, /* (130) alter_db_option ::= MINROWS NK_INTEGER */ + 370, /* (131) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ + 370, /* (132) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + 370, /* (133) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ + 370, /* (134) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + 366, /* (135) integer_list ::= NK_INTEGER */ + 366, /* (136) integer_list ::= integer_list NK_COMMA NK_INTEGER */ + 367, /* (137) variable_list ::= NK_VARIABLE */ + 367, /* (138) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + 368, /* (139) retention_list ::= retention */ + 368, /* (140) retention_list ::= retention_list NK_COMMA retention */ + 371, /* (141) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + 363, /* (142) speed_opt ::= */ + 363, /* (143) speed_opt ::= MAX_SPEED NK_INTEGER */ + 364, /* (144) start_opt ::= */ + 364, /* (145) start_opt ::= START WITH NK_INTEGER */ + 364, /* (146) start_opt ::= START WITH NK_STRING */ + 364, /* (147) start_opt ::= START WITH TIMESTAMP NK_STRING */ + 365, /* (148) end_opt ::= */ + 365, /* (149) end_opt ::= END WITH NK_INTEGER */ + 365, /* (150) end_opt ::= END WITH NK_STRING */ + 365, /* (151) end_opt ::= END WITH TIMESTAMP NK_STRING */ + 340, /* (152) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + 340, /* (153) cmd ::= CREATE TABLE multi_create_clause */ + 340, /* (154) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ + 340, /* (155) cmd ::= DROP TABLE multi_drop_clause */ + 340, /* (156) cmd ::= DROP STABLE exists_opt full_table_name */ + 340, /* (157) cmd ::= ALTER TABLE alter_table_clause */ + 340, /* (158) cmd ::= ALTER STABLE alter_table_clause */ + 379, /* (159) alter_table_clause ::= full_table_name alter_table_options */ + 379, /* (160) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + 379, /* (161) alter_table_clause ::= full_table_name DROP COLUMN column_name */ + 379, /* (162) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + 379, /* (163) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + 379, /* (164) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + 379, /* (165) alter_table_clause ::= full_table_name DROP TAG column_name */ + 379, /* (166) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + 379, /* (167) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + 379, /* (168) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + 376, /* (169) multi_create_clause ::= create_subtable_clause */ + 376, /* (170) multi_create_clause ::= multi_create_clause create_subtable_clause */ + 384, /* (171) 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 */ + 378, /* (172) multi_drop_clause ::= drop_table_clause */ + 378, /* (173) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ + 387, /* (174) drop_table_clause ::= exists_opt full_table_name */ + 385, /* (175) specific_cols_opt ::= */ + 385, /* (176) specific_cols_opt ::= NK_LP col_name_list NK_RP */ + 372, /* (177) full_table_name ::= table_name */ + 372, /* (178) full_table_name ::= db_name NK_DOT table_name */ + 373, /* (179) column_def_list ::= column_def */ + 373, /* (180) column_def_list ::= column_def_list NK_COMMA column_def */ + 389, /* (181) column_def ::= column_name type_name */ + 382, /* (182) type_name ::= BOOL */ + 382, /* (183) type_name ::= TINYINT */ + 382, /* (184) type_name ::= SMALLINT */ + 382, /* (185) type_name ::= INT */ + 382, /* (186) type_name ::= INTEGER */ + 382, /* (187) type_name ::= BIGINT */ + 382, /* (188) type_name ::= FLOAT */ + 382, /* (189) type_name ::= DOUBLE */ + 382, /* (190) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + 382, /* (191) type_name ::= TIMESTAMP */ + 382, /* (192) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + 382, /* (193) type_name ::= TINYINT UNSIGNED */ + 382, /* (194) type_name ::= SMALLINT UNSIGNED */ + 382, /* (195) type_name ::= INT UNSIGNED */ + 382, /* (196) type_name ::= BIGINT UNSIGNED */ + 382, /* (197) type_name ::= JSON */ + 382, /* (198) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + 382, /* (199) type_name ::= MEDIUMBLOB */ + 382, /* (200) type_name ::= BLOB */ + 382, /* (201) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + 382, /* (202) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ + 382, /* (203) type_name ::= DECIMAL */ + 382, /* (204) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + 382, /* (205) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + 374, /* (206) tags_def_opt ::= */ + 374, /* (207) tags_def_opt ::= tags_def */ + 377, /* (208) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + 375, /* (209) table_options ::= */ + 375, /* (210) table_options ::= table_options COMMENT NK_STRING */ + 375, /* (211) table_options ::= table_options MAX_DELAY duration_list */ + 375, /* (212) table_options ::= table_options WATERMARK duration_list */ + 375, /* (213) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + 375, /* (214) table_options ::= table_options TTL NK_INTEGER */ + 375, /* (215) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + 375, /* (216) table_options ::= table_options DELETE_MARK duration_list */ + 380, /* (217) alter_table_options ::= alter_table_option */ + 380, /* (218) alter_table_options ::= alter_table_options alter_table_option */ + 392, /* (219) alter_table_option ::= COMMENT NK_STRING */ + 392, /* (220) alter_table_option ::= TTL NK_INTEGER */ + 390, /* (221) duration_list ::= duration_literal */ + 390, /* (222) duration_list ::= duration_list NK_COMMA duration_literal */ + 391, /* (223) rollup_func_list ::= rollup_func_name */ + 391, /* (224) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + 394, /* (225) rollup_func_name ::= function_name */ + 394, /* (226) rollup_func_name ::= FIRST */ + 394, /* (227) rollup_func_name ::= LAST */ + 388, /* (228) col_name_list ::= col_name */ + 388, /* (229) col_name_list ::= col_name_list NK_COMMA col_name */ + 396, /* (230) col_name ::= column_name */ + 340, /* (231) cmd ::= SHOW DNODES */ + 340, /* (232) cmd ::= SHOW USERS */ + 340, /* (233) cmd ::= SHOW USER PRIVILEGES */ + 340, /* (234) cmd ::= SHOW DATABASES */ + 340, /* (235) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + 340, /* (236) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + 340, /* (237) cmd ::= SHOW db_name_cond_opt VGROUPS */ + 340, /* (238) cmd ::= SHOW MNODES */ + 340, /* (239) cmd ::= SHOW QNODES */ + 340, /* (240) cmd ::= SHOW FUNCTIONS */ + 340, /* (241) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + 340, /* (242) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ + 340, /* (243) cmd ::= SHOW STREAMS */ + 340, /* (244) cmd ::= SHOW ACCOUNTS */ + 340, /* (245) cmd ::= SHOW APPS */ + 340, /* (246) cmd ::= SHOW CONNECTIONS */ + 340, /* (247) cmd ::= SHOW LICENCES */ + 340, /* (248) cmd ::= SHOW GRANTS */ + 340, /* (249) cmd ::= SHOW CREATE DATABASE db_name */ + 340, /* (250) cmd ::= SHOW CREATE TABLE full_table_name */ + 340, /* (251) cmd ::= SHOW CREATE STABLE full_table_name */ + 340, /* (252) cmd ::= SHOW QUERIES */ + 340, /* (253) cmd ::= SHOW SCORES */ + 340, /* (254) cmd ::= SHOW TOPICS */ + 340, /* (255) cmd ::= SHOW VARIABLES */ + 340, /* (256) cmd ::= SHOW CLUSTER VARIABLES */ + 340, /* (257) cmd ::= SHOW LOCAL VARIABLES */ + 340, /* (258) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + 340, /* (259) cmd ::= SHOW BNODES */ + 340, /* (260) cmd ::= SHOW SNODES */ + 340, /* (261) cmd ::= SHOW CLUSTER */ + 340, /* (262) cmd ::= SHOW TRANSACTIONS */ + 340, /* (263) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + 340, /* (264) cmd ::= SHOW CONSUMERS */ + 340, /* (265) cmd ::= SHOW SUBSCRIPTIONS */ + 340, /* (266) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + 340, /* (267) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ + 340, /* (268) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + 340, /* (269) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ + 340, /* (270) cmd ::= SHOW VNODES NK_INTEGER */ + 340, /* (271) cmd ::= SHOW VNODES NK_STRING */ + 340, /* (272) cmd ::= SHOW db_name_cond_opt ALIVE */ + 340, /* (273) cmd ::= SHOW CLUSTER ALIVE */ + 397, /* (274) db_name_cond_opt ::= */ + 397, /* (275) db_name_cond_opt ::= db_name NK_DOT */ + 398, /* (276) like_pattern_opt ::= */ + 398, /* (277) like_pattern_opt ::= LIKE NK_STRING */ + 399, /* (278) table_name_cond ::= table_name */ + 400, /* (279) from_db_opt ::= */ + 400, /* (280) from_db_opt ::= FROM db_name */ + 401, /* (281) tag_list_opt ::= */ + 401, /* (282) tag_list_opt ::= tag_item */ + 401, /* (283) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + 402, /* (284) tag_item ::= TBNAME */ + 402, /* (285) tag_item ::= QTAGS */ + 402, /* (286) tag_item ::= column_name */ + 402, /* (287) tag_item ::= column_name column_alias */ + 402, /* (288) tag_item ::= column_name AS column_alias */ + 340, /* (289) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + 340, /* (290) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + 340, /* (291) cmd ::= DROP INDEX exists_opt full_index_name */ + 404, /* (292) full_index_name ::= index_name */ + 404, /* (293) full_index_name ::= db_name NK_DOT index_name */ + 405, /* (294) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + 405, /* (295) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ + 407, /* (296) func_list ::= func */ + 407, /* (297) func_list ::= func_list NK_COMMA func */ + 410, /* (298) func ::= sma_func_name NK_LP expression_list NK_RP */ + 411, /* (299) sma_func_name ::= function_name */ + 411, /* (300) sma_func_name ::= COUNT */ + 411, /* (301) sma_func_name ::= FIRST */ + 411, /* (302) sma_func_name ::= LAST */ + 411, /* (303) sma_func_name ::= LAST_ROW */ + 409, /* (304) sma_stream_opt ::= */ + 409, /* (305) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + 409, /* (306) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + 409, /* (307) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + 412, /* (308) with_meta ::= AS */ + 412, /* (309) with_meta ::= WITH META AS */ + 412, /* (310) with_meta ::= ONLY META AS */ + 340, /* (311) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + 340, /* (312) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + 340, /* (313) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + 340, /* (314) cmd ::= DROP TOPIC exists_opt topic_name */ + 340, /* (315) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + 340, /* (316) cmd ::= DESC full_table_name */ + 340, /* (317) cmd ::= DESCRIBE full_table_name */ + 340, /* (318) cmd ::= RESET QUERY CACHE */ + 340, /* (319) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + 340, /* (320) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + 416, /* (321) analyze_opt ::= */ + 416, /* (322) analyze_opt ::= ANALYZE */ + 417, /* (323) explain_options ::= */ + 417, /* (324) explain_options ::= explain_options VERBOSE NK_BOOL */ + 417, /* (325) explain_options ::= explain_options RATIO NK_FLOAT */ + 340, /* (326) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + 340, /* (327) cmd ::= DROP FUNCTION exists_opt function_name */ + 420, /* (328) agg_func_opt ::= */ + 420, /* (329) agg_func_opt ::= AGGREGATE */ + 421, /* (330) bufsize_opt ::= */ + 421, /* (331) bufsize_opt ::= BUFSIZE NK_INTEGER */ + 422, /* (332) language_opt ::= */ + 422, /* (333) language_opt ::= LANGUAGE NK_STRING */ + 419, /* (334) or_replace_opt ::= */ + 419, /* (335) or_replace_opt ::= OR REPLACE */ + 340, /* (336) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + 340, /* (337) cmd ::= DROP STREAM exists_opt stream_name */ + 340, /* (338) cmd ::= PAUSE STREAM exists_opt stream_name */ + 340, /* (339) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + 425, /* (340) col_list_opt ::= */ + 425, /* (341) col_list_opt ::= NK_LP col_name_list NK_RP */ + 426, /* (342) tag_def_or_ref_opt ::= */ + 426, /* (343) tag_def_or_ref_opt ::= tags_def */ + 426, /* (344) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + 424, /* (345) stream_options ::= */ + 424, /* (346) stream_options ::= stream_options TRIGGER AT_ONCE */ + 424, /* (347) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + 424, /* (348) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + 424, /* (349) stream_options ::= stream_options WATERMARK duration_literal */ + 424, /* (350) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + 424, /* (351) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + 424, /* (352) stream_options ::= stream_options DELETE_MARK duration_literal */ + 424, /* (353) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + 427, /* (354) subtable_opt ::= */ + 427, /* (355) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + 428, /* (356) ignore_opt ::= */ + 428, /* (357) ignore_opt ::= IGNORE UNTREATED */ + 340, /* (358) cmd ::= KILL CONNECTION NK_INTEGER */ + 340, /* (359) cmd ::= KILL QUERY NK_STRING */ + 340, /* (360) cmd ::= KILL TRANSACTION NK_INTEGER */ + 340, /* (361) cmd ::= BALANCE VGROUP */ + 340, /* (362) cmd ::= BALANCE VGROUP LEADER */ + 340, /* (363) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + 340, /* (364) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + 340, /* (365) cmd ::= SPLIT VGROUP NK_INTEGER */ + 430, /* (366) dnode_list ::= DNODE NK_INTEGER */ + 430, /* (367) dnode_list ::= dnode_list DNODE NK_INTEGER */ + 340, /* (368) cmd ::= DELETE FROM full_table_name where_clause_opt */ + 340, /* (369) cmd ::= query_or_subquery */ + 340, /* (370) cmd ::= insert_query */ + 418, /* (371) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + 418, /* (372) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + 343, /* (373) literal ::= NK_INTEGER */ + 343, /* (374) literal ::= NK_FLOAT */ + 343, /* (375) literal ::= NK_STRING */ + 343, /* (376) literal ::= NK_BOOL */ + 343, /* (377) literal ::= TIMESTAMP NK_STRING */ + 343, /* (378) literal ::= duration_literal */ + 343, /* (379) literal ::= NULL */ + 343, /* (380) literal ::= NK_QUESTION */ + 393, /* (381) duration_literal ::= NK_VARIABLE */ + 369, /* (382) signed ::= NK_INTEGER */ + 369, /* (383) signed ::= NK_PLUS NK_INTEGER */ + 369, /* (384) signed ::= NK_MINUS NK_INTEGER */ + 369, /* (385) signed ::= NK_FLOAT */ + 369, /* (386) signed ::= NK_PLUS NK_FLOAT */ + 369, /* (387) signed ::= NK_MINUS NK_FLOAT */ + 383, /* (388) signed_literal ::= signed */ + 383, /* (389) signed_literal ::= NK_STRING */ + 383, /* (390) signed_literal ::= NK_BOOL */ + 383, /* (391) signed_literal ::= TIMESTAMP NK_STRING */ + 383, /* (392) signed_literal ::= duration_literal */ + 383, /* (393) signed_literal ::= NULL */ + 383, /* (394) signed_literal ::= literal_func */ + 383, /* (395) signed_literal ::= NK_QUESTION */ + 432, /* (396) literal_list ::= signed_literal */ + 432, /* (397) literal_list ::= literal_list NK_COMMA signed_literal */ + 352, /* (398) db_name ::= NK_ID */ + 353, /* (399) table_name ::= NK_ID */ + 381, /* (400) column_name ::= NK_ID */ + 395, /* (401) function_name ::= NK_ID */ + 433, /* (402) table_alias ::= NK_ID */ + 403, /* (403) column_alias ::= NK_ID */ + 345, /* (404) user_name ::= NK_ID */ + 354, /* (405) topic_name ::= NK_ID */ + 423, /* (406) stream_name ::= NK_ID */ + 415, /* (407) cgroup_name ::= NK_ID */ + 406, /* (408) index_name ::= NK_ID */ + 434, /* (409) expr_or_subquery ::= expression */ + 429, /* (410) expression ::= literal */ + 429, /* (411) expression ::= pseudo_column */ + 429, /* (412) expression ::= column_reference */ + 429, /* (413) expression ::= function_expression */ + 429, /* (414) expression ::= case_when_expression */ + 429, /* (415) expression ::= NK_LP expression NK_RP */ + 429, /* (416) expression ::= NK_PLUS expr_or_subquery */ + 429, /* (417) expression ::= NK_MINUS expr_or_subquery */ + 429, /* (418) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + 429, /* (419) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + 429, /* (420) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + 429, /* (421) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + 429, /* (422) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + 429, /* (423) expression ::= column_reference NK_ARROW NK_STRING */ + 429, /* (424) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + 429, /* (425) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + 386, /* (426) expression_list ::= expr_or_subquery */ + 386, /* (427) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + 436, /* (428) column_reference ::= column_name */ + 436, /* (429) column_reference ::= table_name NK_DOT column_name */ + 435, /* (430) pseudo_column ::= ROWTS */ + 435, /* (431) pseudo_column ::= TBNAME */ + 435, /* (432) pseudo_column ::= table_name NK_DOT TBNAME */ + 435, /* (433) pseudo_column ::= QSTART */ + 435, /* (434) pseudo_column ::= QEND */ + 435, /* (435) pseudo_column ::= QDURATION */ + 435, /* (436) pseudo_column ::= WSTART */ + 435, /* (437) pseudo_column ::= WEND */ + 435, /* (438) pseudo_column ::= WDURATION */ + 435, /* (439) pseudo_column ::= IROWTS */ + 435, /* (440) pseudo_column ::= ISFILLED */ + 435, /* (441) pseudo_column ::= QTAGS */ + 437, /* (442) function_expression ::= function_name NK_LP expression_list NK_RP */ + 437, /* (443) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + 437, /* (444) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + 437, /* (445) function_expression ::= literal_func */ + 431, /* (446) literal_func ::= noarg_func NK_LP NK_RP */ + 431, /* (447) literal_func ::= NOW */ + 441, /* (448) noarg_func ::= NOW */ + 441, /* (449) noarg_func ::= TODAY */ + 441, /* (450) noarg_func ::= TIMEZONE */ + 441, /* (451) noarg_func ::= DATABASE */ + 441, /* (452) noarg_func ::= CLIENT_VERSION */ + 441, /* (453) noarg_func ::= SERVER_VERSION */ + 441, /* (454) noarg_func ::= SERVER_STATUS */ + 441, /* (455) noarg_func ::= CURRENT_USER */ + 441, /* (456) noarg_func ::= USER */ + 439, /* (457) star_func ::= COUNT */ + 439, /* (458) star_func ::= FIRST */ + 439, /* (459) star_func ::= LAST */ + 439, /* (460) star_func ::= LAST_ROW */ + 440, /* (461) star_func_para_list ::= NK_STAR */ + 440, /* (462) star_func_para_list ::= other_para_list */ + 442, /* (463) other_para_list ::= star_func_para */ + 442, /* (464) other_para_list ::= other_para_list NK_COMMA star_func_para */ + 443, /* (465) star_func_para ::= expr_or_subquery */ + 443, /* (466) star_func_para ::= table_name NK_DOT NK_STAR */ + 438, /* (467) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + 438, /* (468) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + 444, /* (469) when_then_list ::= when_then_expr */ + 444, /* (470) when_then_list ::= when_then_list when_then_expr */ + 447, /* (471) when_then_expr ::= WHEN common_expression THEN common_expression */ + 445, /* (472) case_when_else_opt ::= */ + 445, /* (473) case_when_else_opt ::= ELSE common_expression */ + 448, /* (474) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + 448, /* (475) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + 448, /* (476) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + 448, /* (477) predicate ::= expr_or_subquery IS NULL */ + 448, /* (478) predicate ::= expr_or_subquery IS NOT NULL */ + 448, /* (479) predicate ::= expr_or_subquery in_op in_predicate_value */ + 449, /* (480) compare_op ::= NK_LT */ + 449, /* (481) compare_op ::= NK_GT */ + 449, /* (482) compare_op ::= NK_LE */ + 449, /* (483) compare_op ::= NK_GE */ + 449, /* (484) compare_op ::= NK_NE */ + 449, /* (485) compare_op ::= NK_EQ */ + 449, /* (486) compare_op ::= LIKE */ + 449, /* (487) compare_op ::= NOT LIKE */ + 449, /* (488) compare_op ::= MATCH */ + 449, /* (489) compare_op ::= NMATCH */ + 449, /* (490) compare_op ::= CONTAINS */ + 450, /* (491) in_op ::= IN */ + 450, /* (492) in_op ::= NOT IN */ + 451, /* (493) in_predicate_value ::= NK_LP literal_list NK_RP */ + 452, /* (494) boolean_value_expression ::= boolean_primary */ + 452, /* (495) boolean_value_expression ::= NOT boolean_primary */ + 452, /* (496) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + 452, /* (497) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + 453, /* (498) boolean_primary ::= predicate */ + 453, /* (499) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + 446, /* (500) common_expression ::= expr_or_subquery */ + 446, /* (501) common_expression ::= boolean_value_expression */ + 454, /* (502) from_clause_opt ::= */ + 454, /* (503) from_clause_opt ::= FROM table_reference_list */ + 455, /* (504) table_reference_list ::= table_reference */ + 455, /* (505) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + 456, /* (506) table_reference ::= table_primary */ + 456, /* (507) table_reference ::= joined_table */ + 457, /* (508) table_primary ::= table_name alias_opt */ + 457, /* (509) table_primary ::= db_name NK_DOT table_name alias_opt */ + 457, /* (510) table_primary ::= subquery alias_opt */ + 457, /* (511) table_primary ::= parenthesized_joined_table */ + 459, /* (512) alias_opt ::= */ + 459, /* (513) alias_opt ::= table_alias */ + 459, /* (514) alias_opt ::= AS table_alias */ + 461, /* (515) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + 461, /* (516) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + 458, /* (517) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + 462, /* (518) join_type ::= */ + 462, /* (519) join_type ::= INNER */ + 463, /* (520) query_specification ::= SELECT hint_opt_list 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 */ + 474, /* (521) hint_opt ::= NO_BATCH_SCAN NK_LP NK_RP */ + 474, /* (522) hint_opt ::= BATCH_SCAN NK_LP NK_RP */ + 464, /* (523) hint_opt_list ::= */ + 464, /* (524) hint_opt_list ::= hint_opt */ + 464, /* (525) hint_opt_list ::= hint_opt_list hint_opt */ + 465, /* (526) set_quantifier_opt ::= */ + 465, /* (527) set_quantifier_opt ::= DISTINCT */ + 465, /* (528) set_quantifier_opt ::= ALL */ + 466, /* (529) select_list ::= select_item */ + 466, /* (530) select_list ::= select_list NK_COMMA select_item */ + 475, /* (531) select_item ::= NK_STAR */ + 475, /* (532) select_item ::= common_expression */ + 475, /* (533) select_item ::= common_expression column_alias */ + 475, /* (534) select_item ::= common_expression AS column_alias */ + 475, /* (535) select_item ::= table_name NK_DOT NK_STAR */ + 414, /* (536) where_clause_opt ::= */ + 414, /* (537) where_clause_opt ::= WHERE search_condition */ + 467, /* (538) partition_by_clause_opt ::= */ + 467, /* (539) partition_by_clause_opt ::= PARTITION BY partition_list */ + 476, /* (540) partition_list ::= partition_item */ + 476, /* (541) partition_list ::= partition_list NK_COMMA partition_item */ + 477, /* (542) partition_item ::= expr_or_subquery */ + 477, /* (543) partition_item ::= expr_or_subquery column_alias */ + 477, /* (544) partition_item ::= expr_or_subquery AS column_alias */ + 471, /* (545) twindow_clause_opt ::= */ + 471, /* (546) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + 471, /* (547) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + 471, /* (548) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + 471, /* (549) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + 471, /* (550) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 408, /* (551) sliding_opt ::= */ + 408, /* (552) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + 470, /* (553) fill_opt ::= */ + 470, /* (554) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + 470, /* (555) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + 470, /* (556) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + 478, /* (557) fill_mode ::= NONE */ + 478, /* (558) fill_mode ::= PREV */ + 478, /* (559) fill_mode ::= NULL */ + 478, /* (560) fill_mode ::= NULL_F */ + 478, /* (561) fill_mode ::= LINEAR */ + 478, /* (562) fill_mode ::= NEXT */ + 472, /* (563) group_by_clause_opt ::= */ + 472, /* (564) group_by_clause_opt ::= GROUP BY group_by_list */ + 479, /* (565) group_by_list ::= expr_or_subquery */ + 479, /* (566) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 473, /* (567) having_clause_opt ::= */ + 473, /* (568) having_clause_opt ::= HAVING search_condition */ + 468, /* (569) range_opt ::= */ + 468, /* (570) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + 468, /* (571) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 469, /* (572) every_opt ::= */ + 469, /* (573) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + 480, /* (574) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + 481, /* (575) query_simple ::= query_specification */ + 481, /* (576) query_simple ::= union_query_expression */ + 485, /* (577) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + 485, /* (578) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + 486, /* (579) query_simple_or_subquery ::= query_simple */ + 486, /* (580) query_simple_or_subquery ::= subquery */ + 413, /* (581) query_or_subquery ::= query_expression */ + 413, /* (582) query_or_subquery ::= subquery */ + 482, /* (583) order_by_clause_opt ::= */ + 482, /* (584) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 483, /* (585) slimit_clause_opt ::= */ + 483, /* (586) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + 483, /* (587) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + 483, /* (588) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 484, /* (589) limit_clause_opt ::= */ + 484, /* (590) limit_clause_opt ::= LIMIT NK_INTEGER */ + 484, /* (591) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + 484, /* (592) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 460, /* (593) subquery ::= NK_LP query_expression NK_RP */ + 460, /* (594) subquery ::= NK_LP subquery NK_RP */ + 355, /* (595) search_condition ::= common_expression */ + 487, /* (596) sort_specification_list ::= sort_specification */ + 487, /* (597) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + 488, /* (598) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 489, /* (599) ordering_specification_opt ::= */ + 489, /* (600) ordering_specification_opt ::= ASC */ + 489, /* (601) ordering_specification_opt ::= DESC */ + 490, /* (602) null_ordering_opt ::= */ + 490, /* (603) null_ordering_opt ::= NULLS FIRST */ + 490, /* (604) null_ordering_opt ::= NULLS LAST */ }; /* For rule J, yyRuleInfoNRhs[J] contains the negative of the number @@ -4317,86 +4333,91 @@ static const signed char yyRuleInfoNRhs[] = { -6, /* (517) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ 0, /* (518) join_type ::= */ -1, /* (519) join_type ::= INNER */ - -12, /* (520) query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ - 0, /* (521) set_quantifier_opt ::= */ - -1, /* (522) set_quantifier_opt ::= DISTINCT */ - -1, /* (523) set_quantifier_opt ::= ALL */ - -1, /* (524) select_list ::= select_item */ - -3, /* (525) select_list ::= select_list NK_COMMA select_item */ - -1, /* (526) select_item ::= NK_STAR */ - -1, /* (527) select_item ::= common_expression */ - -2, /* (528) select_item ::= common_expression column_alias */ - -3, /* (529) select_item ::= common_expression AS column_alias */ - -3, /* (530) select_item ::= table_name NK_DOT NK_STAR */ - 0, /* (531) where_clause_opt ::= */ - -2, /* (532) where_clause_opt ::= WHERE search_condition */ - 0, /* (533) partition_by_clause_opt ::= */ - -3, /* (534) partition_by_clause_opt ::= PARTITION BY partition_list */ - -1, /* (535) partition_list ::= partition_item */ - -3, /* (536) partition_list ::= partition_list NK_COMMA partition_item */ - -1, /* (537) partition_item ::= expr_or_subquery */ - -2, /* (538) partition_item ::= expr_or_subquery column_alias */ - -3, /* (539) partition_item ::= expr_or_subquery AS column_alias */ - 0, /* (540) twindow_clause_opt ::= */ - -6, /* (541) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - -4, /* (542) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - -6, /* (543) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - -8, /* (544) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - -7, /* (545) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 0, /* (546) sliding_opt ::= */ - -4, /* (547) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - 0, /* (548) fill_opt ::= */ - -4, /* (549) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - -6, /* (550) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - -6, /* (551) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - -1, /* (552) fill_mode ::= NONE */ - -1, /* (553) fill_mode ::= PREV */ - -1, /* (554) fill_mode ::= NULL */ - -1, /* (555) fill_mode ::= NULL_F */ - -1, /* (556) fill_mode ::= LINEAR */ - -1, /* (557) fill_mode ::= NEXT */ - 0, /* (558) group_by_clause_opt ::= */ - -3, /* (559) group_by_clause_opt ::= GROUP BY group_by_list */ - -1, /* (560) group_by_list ::= expr_or_subquery */ - -3, /* (561) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 0, /* (562) having_clause_opt ::= */ - -2, /* (563) having_clause_opt ::= HAVING search_condition */ - 0, /* (564) range_opt ::= */ - -6, /* (565) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - -4, /* (566) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 0, /* (567) every_opt ::= */ - -4, /* (568) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - -4, /* (569) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - -1, /* (570) query_simple ::= query_specification */ - -1, /* (571) query_simple ::= union_query_expression */ - -4, /* (572) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - -3, /* (573) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - -1, /* (574) query_simple_or_subquery ::= query_simple */ - -1, /* (575) query_simple_or_subquery ::= subquery */ - -1, /* (576) query_or_subquery ::= query_expression */ - -1, /* (577) query_or_subquery ::= subquery */ - 0, /* (578) order_by_clause_opt ::= */ - -3, /* (579) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 0, /* (580) slimit_clause_opt ::= */ - -2, /* (581) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - -4, /* (582) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - -4, /* (583) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 0, /* (584) limit_clause_opt ::= */ - -2, /* (585) limit_clause_opt ::= LIMIT NK_INTEGER */ - -4, /* (586) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - -4, /* (587) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - -3, /* (588) subquery ::= NK_LP query_expression NK_RP */ - -3, /* (589) subquery ::= NK_LP subquery NK_RP */ - -1, /* (590) search_condition ::= common_expression */ - -1, /* (591) sort_specification_list ::= sort_specification */ - -3, /* (592) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - -3, /* (593) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 0, /* (594) ordering_specification_opt ::= */ - -1, /* (595) ordering_specification_opt ::= ASC */ - -1, /* (596) ordering_specification_opt ::= DESC */ - 0, /* (597) null_ordering_opt ::= */ - -2, /* (598) null_ordering_opt ::= NULLS FIRST */ - -2, /* (599) null_ordering_opt ::= NULLS LAST */ + -13, /* (520) query_specification ::= SELECT hint_opt_list 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 */ + -3, /* (521) hint_opt ::= NO_BATCH_SCAN NK_LP NK_RP */ + -3, /* (522) hint_opt ::= BATCH_SCAN NK_LP NK_RP */ + 0, /* (523) hint_opt_list ::= */ + -1, /* (524) hint_opt_list ::= hint_opt */ + -2, /* (525) hint_opt_list ::= hint_opt_list hint_opt */ + 0, /* (526) set_quantifier_opt ::= */ + -1, /* (527) set_quantifier_opt ::= DISTINCT */ + -1, /* (528) set_quantifier_opt ::= ALL */ + -1, /* (529) select_list ::= select_item */ + -3, /* (530) select_list ::= select_list NK_COMMA select_item */ + -1, /* (531) select_item ::= NK_STAR */ + -1, /* (532) select_item ::= common_expression */ + -2, /* (533) select_item ::= common_expression column_alias */ + -3, /* (534) select_item ::= common_expression AS column_alias */ + -3, /* (535) select_item ::= table_name NK_DOT NK_STAR */ + 0, /* (536) where_clause_opt ::= */ + -2, /* (537) where_clause_opt ::= WHERE search_condition */ + 0, /* (538) partition_by_clause_opt ::= */ + -3, /* (539) partition_by_clause_opt ::= PARTITION BY partition_list */ + -1, /* (540) partition_list ::= partition_item */ + -3, /* (541) partition_list ::= partition_list NK_COMMA partition_item */ + -1, /* (542) partition_item ::= expr_or_subquery */ + -2, /* (543) partition_item ::= expr_or_subquery column_alias */ + -3, /* (544) partition_item ::= expr_or_subquery AS column_alias */ + 0, /* (545) twindow_clause_opt ::= */ + -6, /* (546) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + -4, /* (547) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + -6, /* (548) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + -8, /* (549) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + -7, /* (550) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 0, /* (551) sliding_opt ::= */ + -4, /* (552) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + 0, /* (553) fill_opt ::= */ + -4, /* (554) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + -6, /* (555) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + -6, /* (556) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + -1, /* (557) fill_mode ::= NONE */ + -1, /* (558) fill_mode ::= PREV */ + -1, /* (559) fill_mode ::= NULL */ + -1, /* (560) fill_mode ::= NULL_F */ + -1, /* (561) fill_mode ::= LINEAR */ + -1, /* (562) fill_mode ::= NEXT */ + 0, /* (563) group_by_clause_opt ::= */ + -3, /* (564) group_by_clause_opt ::= GROUP BY group_by_list */ + -1, /* (565) group_by_list ::= expr_or_subquery */ + -3, /* (566) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 0, /* (567) having_clause_opt ::= */ + -2, /* (568) having_clause_opt ::= HAVING search_condition */ + 0, /* (569) range_opt ::= */ + -6, /* (570) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + -4, /* (571) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 0, /* (572) every_opt ::= */ + -4, /* (573) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + -4, /* (574) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + -1, /* (575) query_simple ::= query_specification */ + -1, /* (576) query_simple ::= union_query_expression */ + -4, /* (577) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + -3, /* (578) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + -1, /* (579) query_simple_or_subquery ::= query_simple */ + -1, /* (580) query_simple_or_subquery ::= subquery */ + -1, /* (581) query_or_subquery ::= query_expression */ + -1, /* (582) query_or_subquery ::= subquery */ + 0, /* (583) order_by_clause_opt ::= */ + -3, /* (584) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 0, /* (585) slimit_clause_opt ::= */ + -2, /* (586) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + -4, /* (587) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + -4, /* (588) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 0, /* (589) limit_clause_opt ::= */ + -2, /* (590) limit_clause_opt ::= LIMIT NK_INTEGER */ + -4, /* (591) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + -4, /* (592) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + -3, /* (593) subquery ::= NK_LP query_expression NK_RP */ + -3, /* (594) subquery ::= NK_LP subquery NK_RP */ + -1, /* (595) search_condition ::= common_expression */ + -1, /* (596) sort_specification_list ::= sort_specification */ + -3, /* (597) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + -3, /* (598) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 0, /* (599) ordering_specification_opt ::= */ + -1, /* (600) ordering_specification_opt ::= ASC */ + -1, /* (601) ordering_specification_opt ::= DESC */ + 0, /* (602) null_ordering_opt ::= */ + -2, /* (603) null_ordering_opt ::= NULLS FIRST */ + -2, /* (604) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -4488,11 +4509,11 @@ static YYACTIONTYPE yy_reduce( YYMINORTYPE yylhsminor; case 0: /* cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } - yy_destructor(yypParser,339,&yymsp[0].minor); + yy_destructor(yypParser,341,&yymsp[0].minor); break; case 1: /* cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } - yy_destructor(yypParser,340,&yymsp[0].minor); + yy_destructor(yypParser,342,&yymsp[0].minor); break; case 2: /* account_options ::= */ { } @@ -4506,20 +4527,20 @@ static YYACTIONTYPE yy_reduce( case 9: /* account_options ::= account_options USERS literal */ yytestcase(yyruleno==9); case 10: /* account_options ::= account_options CONNS literal */ yytestcase(yyruleno==10); case 11: /* account_options ::= account_options STATE literal */ yytestcase(yyruleno==11); -{ yy_destructor(yypParser,339,&yymsp[-2].minor); +{ yy_destructor(yypParser,341,&yymsp[-2].minor); { } - yy_destructor(yypParser,341,&yymsp[0].minor); + yy_destructor(yypParser,343,&yymsp[0].minor); } break; case 12: /* alter_account_options ::= alter_account_option */ -{ yy_destructor(yypParser,342,&yymsp[0].minor); +{ yy_destructor(yypParser,344,&yymsp[0].minor); { } } break; case 13: /* alter_account_options ::= alter_account_options alter_account_option */ -{ yy_destructor(yypParser,340,&yymsp[-1].minor); +{ yy_destructor(yypParser,342,&yymsp[-1].minor); { } - yy_destructor(yypParser,342,&yymsp[0].minor); + yy_destructor(yypParser,344,&yymsp[0].minor); } break; case 14: /* alter_account_option ::= PASS literal */ @@ -4533,71 +4554,71 @@ static YYACTIONTYPE yy_reduce( case 22: /* alter_account_option ::= CONNS literal */ yytestcase(yyruleno==22); case 23: /* alter_account_option ::= STATE literal */ yytestcase(yyruleno==23); { } - yy_destructor(yypParser,341,&yymsp[0].minor); + yy_destructor(yypParser,343,&yymsp[0].minor); break; case 24: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ -{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy371, &yymsp[-1].minor.yy0, yymsp[0].minor.yy475); } +{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy347, &yymsp[-1].minor.yy0, yymsp[0].minor.yy343); } break; case 25: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy371, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy347, 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.yy371, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy347, 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.yy371, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy347, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } break; case 28: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy347); } break; case 29: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy475 = 1; } +{ yymsp[1].minor.yy343 = 1; } break; case 30: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy475 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy343 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } break; case 31: /* cmd ::= GRANT privileges ON priv_level with_opt TO user_name */ -{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-5].minor.yy729, &yymsp[-3].minor.yy347, &yymsp[0].minor.yy371, yymsp[-2].minor.yy452); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-5].minor.yy87, &yymsp[-3].minor.yy447, &yymsp[0].minor.yy347, yymsp[-2].minor.yy572); } break; case 32: /* cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-5].minor.yy729, &yymsp[-3].minor.yy347, &yymsp[0].minor.yy371, yymsp[-2].minor.yy452); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-5].minor.yy87, &yymsp[-3].minor.yy447, &yymsp[0].minor.yy347, yymsp[-2].minor.yy572); } break; case 33: /* privileges ::= ALL */ -{ yymsp[0].minor.yy729 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy87 = PRIVILEGE_TYPE_ALL; } break; case 34: /* privileges ::= priv_type_list */ case 36: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==36); -{ yylhsminor.yy729 = yymsp[0].minor.yy729; } - yymsp[0].minor.yy729 = yylhsminor.yy729; +{ yylhsminor.yy87 = yymsp[0].minor.yy87; } + yymsp[0].minor.yy87 = yylhsminor.yy87; break; case 35: /* privileges ::= SUBSCRIBE */ -{ yymsp[0].minor.yy729 = PRIVILEGE_TYPE_SUBSCRIBE; } +{ yymsp[0].minor.yy87 = PRIVILEGE_TYPE_SUBSCRIBE; } break; case 37: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy729 = yymsp[-2].minor.yy729 | yymsp[0].minor.yy729; } - yymsp[-2].minor.yy729 = yylhsminor.yy729; +{ yylhsminor.yy87 = yymsp[-2].minor.yy87 | yymsp[0].minor.yy87; } + yymsp[-2].minor.yy87 = yylhsminor.yy87; break; case 38: /* priv_type ::= READ */ -{ yymsp[0].minor.yy729 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy87 = PRIVILEGE_TYPE_READ; } break; case 39: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy729 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy87 = PRIVILEGE_TYPE_WRITE; } break; case 40: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy347.first = yymsp[-2].minor.yy0; yylhsminor.yy347.second = yymsp[0].minor.yy0; } - yymsp[-2].minor.yy347 = yylhsminor.yy347; +{ yylhsminor.yy447.first = yymsp[-2].minor.yy0; yylhsminor.yy447.second = yymsp[0].minor.yy0; } + yymsp[-2].minor.yy447 = yylhsminor.yy447; break; case 41: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy347.first = yymsp[-2].minor.yy371; yylhsminor.yy347.second = yymsp[0].minor.yy0; } - yymsp[-2].minor.yy347 = yylhsminor.yy347; +{ yylhsminor.yy447.first = yymsp[-2].minor.yy347; yylhsminor.yy447.second = yymsp[0].minor.yy0; } + yymsp[-2].minor.yy447 = yylhsminor.yy447; break; case 42: /* priv_level ::= db_name NK_DOT table_name */ -{ yylhsminor.yy347.first = yymsp[-2].minor.yy371; yylhsminor.yy347.second = yymsp[0].minor.yy371; } - yymsp[-2].minor.yy347 = yylhsminor.yy347; +{ yylhsminor.yy447.first = yymsp[-2].minor.yy347; yylhsminor.yy447.second = yymsp[0].minor.yy347; } + yymsp[-2].minor.yy447 = yylhsminor.yy447; break; case 43: /* priv_level ::= topic_name */ -{ yylhsminor.yy347.first = yymsp[0].minor.yy371; yylhsminor.yy347.second = nil_token; } - yymsp[0].minor.yy347 = yylhsminor.yy347; +{ yylhsminor.yy447.first = yymsp[0].minor.yy347; yylhsminor.yy447.second = nil_token; } + yymsp[0].minor.yy447 = yylhsminor.yy447; break; case 44: /* with_opt ::= */ case 144: /* start_opt ::= */ yytestcase(yyruleno==144); @@ -4606,40 +4627,40 @@ static YYACTIONTYPE yy_reduce( case 354: /* subtable_opt ::= */ yytestcase(yyruleno==354); case 472: /* case_when_else_opt ::= */ yytestcase(yyruleno==472); case 502: /* from_clause_opt ::= */ yytestcase(yyruleno==502); - case 531: /* where_clause_opt ::= */ yytestcase(yyruleno==531); - case 540: /* twindow_clause_opt ::= */ yytestcase(yyruleno==540); - case 546: /* sliding_opt ::= */ yytestcase(yyruleno==546); - case 548: /* fill_opt ::= */ yytestcase(yyruleno==548); - case 562: /* having_clause_opt ::= */ yytestcase(yyruleno==562); - case 564: /* range_opt ::= */ yytestcase(yyruleno==564); - case 567: /* every_opt ::= */ yytestcase(yyruleno==567); - case 580: /* slimit_clause_opt ::= */ yytestcase(yyruleno==580); - case 584: /* limit_clause_opt ::= */ yytestcase(yyruleno==584); -{ yymsp[1].minor.yy452 = NULL; } + case 536: /* where_clause_opt ::= */ yytestcase(yyruleno==536); + case 545: /* twindow_clause_opt ::= */ yytestcase(yyruleno==545); + case 551: /* sliding_opt ::= */ yytestcase(yyruleno==551); + case 553: /* fill_opt ::= */ yytestcase(yyruleno==553); + case 567: /* having_clause_opt ::= */ yytestcase(yyruleno==567); + case 569: /* range_opt ::= */ yytestcase(yyruleno==569); + case 572: /* every_opt ::= */ yytestcase(yyruleno==572); + case 585: /* slimit_clause_opt ::= */ yytestcase(yyruleno==585); + case 589: /* limit_clause_opt ::= */ yytestcase(yyruleno==589); +{ yymsp[1].minor.yy572 = NULL; } break; case 45: /* with_opt ::= WITH search_condition */ case 503: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==503); - case 532: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==532); - case 563: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==563); -{ yymsp[-1].minor.yy452 = yymsp[0].minor.yy452; } + case 537: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==537); + case 568: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==568); +{ yymsp[-1].minor.yy572 = yymsp[0].minor.yy572; } break; case 46: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy371, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy347, NULL); } break; case 47: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy347, &yymsp[0].minor.yy0); } break; case 48: /* cmd ::= DROP DNODE NK_INTEGER force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy667, false); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy977, false); } break; case 49: /* cmd ::= DROP DNODE dnode_endpoint force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy371, yymsp[0].minor.yy667, false); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy347, yymsp[0].minor.yy977, false); } break; case 50: /* cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy667); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy977); } break; case 51: /* cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy371, false, yymsp[0].minor.yy667); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy347, false, yymsp[0].minor.yy977); } break; case 52: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -4687,8 +4708,8 @@ static YYACTIONTYPE yy_reduce( case 458: /* star_func ::= FIRST */ yytestcase(yyruleno==458); case 459: /* star_func ::= LAST */ yytestcase(yyruleno==459); case 460: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==460); -{ yylhsminor.yy371 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy371 = yylhsminor.yy371; +{ yylhsminor.yy347 = yymsp[0].minor.yy0; } + yymsp[0].minor.yy347 = yylhsminor.yy347; break; case 60: /* force_opt ::= */ case 84: /* not_exists_opt ::= */ yytestcase(yyruleno==84); @@ -4697,15 +4718,15 @@ static YYACTIONTYPE yy_reduce( case 328: /* agg_func_opt ::= */ yytestcase(yyruleno==328); case 334: /* or_replace_opt ::= */ yytestcase(yyruleno==334); case 356: /* ignore_opt ::= */ yytestcase(yyruleno==356); - case 521: /* set_quantifier_opt ::= */ yytestcase(yyruleno==521); -{ yymsp[1].minor.yy667 = false; } + case 526: /* set_quantifier_opt ::= */ yytestcase(yyruleno==526); +{ yymsp[1].minor.yy977 = false; } break; case 61: /* force_opt ::= FORCE */ case 62: /* unsafe_opt ::= UNSAFE */ yytestcase(yyruleno==62); case 322: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==322); case 329: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==329); - case 522: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==522); -{ yymsp[0].minor.yy667 = true; } + case 527: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==527); +{ yymsp[0].minor.yy977 = true; } break; case 63: /* cmd ::= ALTER LOCAL NK_STRING */ { pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -4747,234 +4768,234 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createRestoreComponentNodeStmt(pCxt, QUERY_NODE_RESTORE_VNODE_STMT, &yymsp[0].minor.yy0); } break; case 76: /* cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ -{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy667, &yymsp[-1].minor.yy371, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy977, &yymsp[-1].minor.yy347, yymsp[0].minor.yy572); } break; case 77: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy977, &yymsp[0].minor.yy347); } break; case 78: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy347); } break; case 79: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy371, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy347, yymsp[0].minor.yy572); } break; case 80: /* cmd ::= FLUSH DATABASE db_name */ -{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy347); } break; case 81: /* cmd ::= TRIM DATABASE db_name speed_opt */ -{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy371, yymsp[0].minor.yy416); } +{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy347, yymsp[0].minor.yy540); } break; case 82: /* cmd ::= COMPACT DATABASE db_name start_opt end_opt */ -{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy371, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy347, yymsp[-1].minor.yy572, yymsp[0].minor.yy572); } break; case 83: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy667 = true; } +{ yymsp[-2].minor.yy977 = true; } break; case 85: /* exists_opt ::= IF EXISTS */ case 335: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==335); case 357: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==357); -{ yymsp[-1].minor.yy667 = true; } +{ yymsp[-1].minor.yy977 = true; } break; case 87: /* db_options ::= */ -{ yymsp[1].minor.yy452 = createDefaultDatabaseOptions(pCxt); } +{ yymsp[1].minor.yy572 = createDefaultDatabaseOptions(pCxt); } break; case 88: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 89: /* db_options ::= db_options CACHEMODEL NK_STRING */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 90: /* db_options ::= db_options CACHESIZE NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 91: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 92: /* db_options ::= db_options DURATION NK_INTEGER */ case 93: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==93); -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 94: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 95: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 96: /* db_options ::= db_options KEEP integer_list */ case 97: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==97); -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_KEEP, yymsp[0].minor.yy812); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_KEEP, yymsp[0].minor.yy216); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 98: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 99: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 100: /* db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 101: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 102: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 103: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 104: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 105: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_RETENTIONS, yymsp[0].minor.yy812); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_RETENTIONS, yymsp[0].minor.yy216); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 106: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 107: /* db_options ::= db_options WAL_LEVEL NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 108: /* db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 109: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 110: /* 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.yy452 = setDatabaseOption(pCxt, yymsp[-3].minor.yy452, DB_OPTION_WAL_RETENTION_PERIOD, &t); + yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-3].minor.yy572, DB_OPTION_WAL_RETENTION_PERIOD, &t); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 111: /* db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 112: /* 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.yy452 = setDatabaseOption(pCxt, yymsp[-3].minor.yy452, DB_OPTION_WAL_RETENTION_SIZE, &t); + yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-3].minor.yy572, DB_OPTION_WAL_RETENTION_SIZE, &t); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 113: /* db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 114: /* db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 115: /* db_options ::= db_options STT_TRIGGER NK_INTEGER */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 116: /* db_options ::= db_options TABLE_PREFIX signed */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy452); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy572); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 117: /* db_options ::= db_options TABLE_SUFFIX signed */ -{ yylhsminor.yy452 = setDatabaseOption(pCxt, yymsp[-2].minor.yy452, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy452); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setDatabaseOption(pCxt, yymsp[-2].minor.yy572, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy572); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 118: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy452 = createAlterDatabaseOptions(pCxt); yylhsminor.yy452 = setAlterDatabaseOption(pCxt, yylhsminor.yy452, &yymsp[0].minor.yy365); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterDatabaseOptions(pCxt); yylhsminor.yy572 = setAlterDatabaseOption(pCxt, yylhsminor.yy572, &yymsp[0].minor.yy467); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 119: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy452 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy452, &yymsp[0].minor.yy365); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy572, &yymsp[0].minor.yy467); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 120: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 121: /* alter_db_option ::= CACHEMODEL NK_STRING */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 122: /* alter_db_option ::= CACHESIZE NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 123: /* alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 124: /* alter_db_option ::= KEEP integer_list */ case 125: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==125); -{ yymsp[-1].minor.yy365.type = DB_OPTION_KEEP; yymsp[-1].minor.yy365.pList = yymsp[0].minor.yy812; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_KEEP; yymsp[-1].minor.yy467.pList = yymsp[0].minor.yy216; } break; case 126: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_PAGES; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_PAGES; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 127: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 128: /* alter_db_option ::= WAL_LEVEL NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_WAL; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_WAL; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 129: /* alter_db_option ::= STT_TRIGGER NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 130: /* alter_db_option ::= MINROWS NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 131: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 132: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yymsp[-2].minor.yy365.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy365.val = t; + yymsp[-2].minor.yy467.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy467.val = t; } break; case 133: /* alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 134: /* alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yymsp[-2].minor.yy365.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy365.val = t; + yymsp[-2].minor.yy467.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy467.val = t; } break; case 135: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy812 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy812 = yylhsminor.yy812; +{ yylhsminor.yy216 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy216 = yylhsminor.yy216; break; case 136: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ case 367: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==367); -{ yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-2].minor.yy812, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy812 = yylhsminor.yy812; +{ yylhsminor.yy216 = addNodeToList(pCxt, yymsp[-2].minor.yy216, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy216 = yylhsminor.yy216; break; case 137: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy812 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy812 = yylhsminor.yy812; +{ yylhsminor.yy216 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy216 = yylhsminor.yy216; break; case 138: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-2].minor.yy812, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy812 = yylhsminor.yy812; +{ yylhsminor.yy216 = addNodeToList(pCxt, yymsp[-2].minor.yy216, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy216 = yylhsminor.yy216; break; case 139: /* retention_list ::= retention */ case 169: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==169); @@ -4987,11 +5008,12 @@ static YYACTIONTYPE yy_reduce( case 396: /* literal_list ::= signed_literal */ yytestcase(yyruleno==396); case 463: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==463); case 469: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==469); - case 524: /* select_list ::= select_item */ yytestcase(yyruleno==524); - case 535: /* partition_list ::= partition_item */ yytestcase(yyruleno==535); - case 591: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==591); -{ yylhsminor.yy812 = createNodeList(pCxt, yymsp[0].minor.yy452); } - yymsp[0].minor.yy812 = yylhsminor.yy812; + case 524: /* hint_opt_list ::= hint_opt */ yytestcase(yyruleno==524); + case 529: /* select_list ::= select_item */ yytestcase(yyruleno==529); + case 540: /* partition_list ::= partition_item */ yytestcase(yyruleno==540); + case 596: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==596); +{ yylhsminor.yy216 = createNodeList(pCxt, yymsp[0].minor.yy572); } + yymsp[0].minor.yy216 = yylhsminor.yy216; break; case 140: /* retention_list ::= retention_list NK_COMMA retention */ case 173: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==173); @@ -5002,285 +5024,287 @@ static YYACTIONTYPE yy_reduce( case 297: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==297); case 397: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==397); case 464: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==464); - case 525: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==525); - case 536: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==536); - case 592: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==592); -{ yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-2].minor.yy812, yymsp[0].minor.yy452); } - yymsp[-2].minor.yy812 = yylhsminor.yy812; + case 530: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==530); + case 541: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==541); + case 597: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==597); +{ yylhsminor.yy216 = addNodeToList(pCxt, yymsp[-2].minor.yy216, yymsp[0].minor.yy572); } + yymsp[-2].minor.yy216 = yylhsminor.yy216; break; case 141: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ -{ yylhsminor.yy452 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 142: /* speed_opt ::= */ case 330: /* bufsize_opt ::= */ yytestcase(yyruleno==330); -{ yymsp[1].minor.yy416 = 0; } +{ yymsp[1].minor.yy540 = 0; } break; case 143: /* speed_opt ::= MAX_SPEED NK_INTEGER */ case 331: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==331); -{ yymsp[-1].minor.yy416 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy540 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 145: /* start_opt ::= START WITH NK_INTEGER */ case 149: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==149); -{ yymsp[-2].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } break; case 146: /* start_opt ::= START WITH NK_STRING */ case 150: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==150); -{ yymsp[-2].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 147: /* start_opt ::= START WITH TIMESTAMP NK_STRING */ case 151: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==151); -{ yymsp[-3].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-3].minor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 152: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ case 154: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==154); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy667, yymsp[-5].minor.yy452, yymsp[-3].minor.yy812, yymsp[-1].minor.yy812, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy977, yymsp[-5].minor.yy572, yymsp[-3].minor.yy216, yymsp[-1].minor.yy216, yymsp[0].minor.yy572); } break; case 153: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy812); } +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy216); } break; case 155: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy812); } +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy216); } break; case 156: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy667, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy977, yymsp[0].minor.yy572); } break; case 157: /* cmd ::= ALTER TABLE alter_table_clause */ case 369: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==369); case 370: /* cmd ::= insert_query */ yytestcase(yyruleno==370); -{ pCxt->pRootNode = yymsp[0].minor.yy452; } +{ pCxt->pRootNode = yymsp[0].minor.yy572; } break; case 158: /* cmd ::= ALTER STABLE alter_table_clause */ -{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy452); } +{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy572); } break; case 159: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy452 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy572, yymsp[0].minor.yy572); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 160: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy452 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy452, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy371, yymsp[0].minor.yy310); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy572, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy347, yymsp[0].minor.yy806); } + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 161: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy452 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy452, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy371); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy572, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy347); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 162: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy452 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy452, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy371, yymsp[0].minor.yy310); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy572, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy347, yymsp[0].minor.yy806); } + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 163: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy452 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy452, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy371, &yymsp[0].minor.yy371); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy572, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy347, &yymsp[0].minor.yy347); } + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 164: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy452 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy452, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy371, yymsp[0].minor.yy310); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy572, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy347, yymsp[0].minor.yy806); } + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 165: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy452 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy452, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy371); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy572, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy347); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 166: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy452 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy452, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy371, yymsp[0].minor.yy310); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy572, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy347, yymsp[0].minor.yy806); } + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 167: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy452 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy452, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy371, &yymsp[0].minor.yy371); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy572, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy347, &yymsp[0].minor.yy347); } + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 168: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy452 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy452, &yymsp[-2].minor.yy371, yymsp[0].minor.yy452); } - yymsp[-5].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy572, &yymsp[-2].minor.yy347, yymsp[0].minor.yy572); } + yymsp[-5].minor.yy572 = yylhsminor.yy572; break; case 170: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ case 470: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==470); -{ yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-1].minor.yy812, yymsp[0].minor.yy452); } - yymsp[-1].minor.yy812 = yylhsminor.yy812; + case 525: /* hint_opt_list ::= hint_opt_list hint_opt */ yytestcase(yyruleno==525); +{ yylhsminor.yy216 = addNodeToList(pCxt, yymsp[-1].minor.yy216, yymsp[0].minor.yy572); } + yymsp[-1].minor.yy216 = yylhsminor.yy216; break; case 171: /* 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.yy452 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy667, yymsp[-8].minor.yy452, yymsp[-6].minor.yy452, yymsp[-5].minor.yy812, yymsp[-2].minor.yy812, yymsp[0].minor.yy452); } - yymsp[-9].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy977, yymsp[-8].minor.yy572, yymsp[-6].minor.yy572, yymsp[-5].minor.yy216, yymsp[-2].minor.yy216, yymsp[0].minor.yy572); } + yymsp[-9].minor.yy572 = yylhsminor.yy572; break; case 174: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy452 = createDropTableClause(pCxt, yymsp[-1].minor.yy667, yymsp[0].minor.yy452); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createDropTableClause(pCxt, yymsp[-1].minor.yy977, yymsp[0].minor.yy572); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 175: /* specific_cols_opt ::= */ case 206: /* tags_def_opt ::= */ yytestcase(yyruleno==206); case 281: /* tag_list_opt ::= */ yytestcase(yyruleno==281); case 340: /* col_list_opt ::= */ yytestcase(yyruleno==340); case 342: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==342); - case 533: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==533); - case 558: /* group_by_clause_opt ::= */ yytestcase(yyruleno==558); - case 578: /* order_by_clause_opt ::= */ yytestcase(yyruleno==578); -{ yymsp[1].minor.yy812 = NULL; } + case 523: /* hint_opt_list ::= */ yytestcase(yyruleno==523); + case 538: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==538); + case 563: /* group_by_clause_opt ::= */ yytestcase(yyruleno==563); + case 583: /* order_by_clause_opt ::= */ yytestcase(yyruleno==583); +{ yymsp[1].minor.yy216 = NULL; } break; case 176: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ case 341: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==341); -{ yymsp[-2].minor.yy812 = yymsp[-1].minor.yy812; } +{ yymsp[-2].minor.yy216 = yymsp[-1].minor.yy216; } break; case 177: /* full_table_name ::= table_name */ -{ yylhsminor.yy452 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy371, NULL); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy347, NULL); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 178: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy452 = createRealTableNode(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371, NULL); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRealTableNode(pCxt, &yymsp[-2].minor.yy347, &yymsp[0].minor.yy347, NULL); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 181: /* column_def ::= column_name type_name */ -{ yylhsminor.yy452 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy371, yymsp[0].minor.yy310, NULL); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy347, yymsp[0].minor.yy806, NULL); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 182: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_BOOL); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_BOOL); } break; case 183: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_TINYINT); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; case 184: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_SMALLINT); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; case 185: /* type_name ::= INT */ case 186: /* type_name ::= INTEGER */ yytestcase(yyruleno==186); -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_INT); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_INT); } break; case 187: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_BIGINT); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; case 188: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_FLOAT); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; case 189: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_DOUBLE); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; case 190: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy310 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy806 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; case 191: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; case 192: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy310 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy806 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; case 193: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy310 = createDataType(TSDB_DATA_TYPE_UTINYINT); } +{ yymsp[-1].minor.yy806 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; case 194: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy310 = createDataType(TSDB_DATA_TYPE_USMALLINT); } +{ yymsp[-1].minor.yy806 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; case 195: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy310 = createDataType(TSDB_DATA_TYPE_UINT); } +{ yymsp[-1].minor.yy806 = createDataType(TSDB_DATA_TYPE_UINT); } break; case 196: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy310 = createDataType(TSDB_DATA_TYPE_UBIGINT); } +{ yymsp[-1].minor.yy806 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; case 197: /* type_name ::= JSON */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_JSON); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_JSON); } break; case 198: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy310 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy806 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; case 199: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; case 200: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_BLOB); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_BLOB); } break; case 201: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy310 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy806 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; case 202: /* type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy310 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy806 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); } break; case 203: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy310 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[0].minor.yy806 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 204: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy310 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-3].minor.yy806 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 205: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy310 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-5].minor.yy806 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 207: /* tags_def_opt ::= tags_def */ case 343: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==343); case 462: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==462); -{ yylhsminor.yy812 = yymsp[0].minor.yy812; } - yymsp[0].minor.yy812 = yylhsminor.yy812; +{ yylhsminor.yy216 = yymsp[0].minor.yy216; } + yymsp[0].minor.yy216 = yylhsminor.yy216; break; case 208: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ case 344: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==344); -{ yymsp[-3].minor.yy812 = yymsp[-1].minor.yy812; } +{ yymsp[-3].minor.yy216 = yymsp[-1].minor.yy216; } break; case 209: /* table_options ::= */ -{ yymsp[1].minor.yy452 = createDefaultTableOptions(pCxt); } +{ yymsp[1].minor.yy572 = createDefaultTableOptions(pCxt); } break; case 210: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy452 = setTableOption(pCxt, yymsp[-2].minor.yy452, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setTableOption(pCxt, yymsp[-2].minor.yy572, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 211: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy452 = setTableOption(pCxt, yymsp[-2].minor.yy452, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy812); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setTableOption(pCxt, yymsp[-2].minor.yy572, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy216); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 212: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy452 = setTableOption(pCxt, yymsp[-2].minor.yy452, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy812); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setTableOption(pCxt, yymsp[-2].minor.yy572, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy216); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 213: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy452 = setTableOption(pCxt, yymsp[-4].minor.yy452, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy812); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setTableOption(pCxt, yymsp[-4].minor.yy572, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy216); } + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 214: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy452 = setTableOption(pCxt, yymsp[-2].minor.yy452, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setTableOption(pCxt, yymsp[-2].minor.yy572, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 215: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy452 = setTableOption(pCxt, yymsp[-4].minor.yy452, TABLE_OPTION_SMA, yymsp[-1].minor.yy812); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setTableOption(pCxt, yymsp[-4].minor.yy572, TABLE_OPTION_SMA, yymsp[-1].minor.yy216); } + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 216: /* table_options ::= table_options DELETE_MARK duration_list */ -{ yylhsminor.yy452 = setTableOption(pCxt, yymsp[-2].minor.yy452, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy812); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setTableOption(pCxt, yymsp[-2].minor.yy572, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy216); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 217: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy452 = createAlterTableOptions(pCxt); yylhsminor.yy452 = setTableOption(pCxt, yylhsminor.yy452, yymsp[0].minor.yy365.type, &yymsp[0].minor.yy365.val); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createAlterTableOptions(pCxt); yylhsminor.yy572 = setTableOption(pCxt, yylhsminor.yy572, yymsp[0].minor.yy467.type, &yymsp[0].minor.yy467.val); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 218: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy452 = setTableOption(pCxt, yymsp[-1].minor.yy452, yymsp[0].minor.yy365.type, &yymsp[0].minor.yy365.val); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setTableOption(pCxt, yymsp[-1].minor.yy572, yymsp[0].minor.yy467.type, &yymsp[0].minor.yy467.val); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 219: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy365.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 220: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy365.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy365.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy467.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy467.val = yymsp[0].minor.yy0; } break; case 221: /* duration_list ::= duration_literal */ case 426: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==426); -{ yylhsminor.yy812 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } - yymsp[0].minor.yy812 = yylhsminor.yy812; +{ yylhsminor.yy216 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy572)); } + yymsp[0].minor.yy216 = yylhsminor.yy216; break; case 222: /* duration_list ::= duration_list NK_COMMA duration_literal */ case 427: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==427); -{ yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-2].minor.yy812, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } - yymsp[-2].minor.yy812 = yylhsminor.yy812; +{ yylhsminor.yy216 = addNodeToList(pCxt, yymsp[-2].minor.yy216, releaseRawExprNode(pCxt, yymsp[0].minor.yy572)); } + yymsp[-2].minor.yy216 = yylhsminor.yy216; break; case 225: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy452 = createFunctionNode(pCxt, &yymsp[0].minor.yy371, NULL); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createFunctionNode(pCxt, &yymsp[0].minor.yy347, NULL); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 226: /* rollup_func_name ::= FIRST */ case 227: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==227); case 285: /* tag_item ::= QTAGS */ yytestcase(yyruleno==285); -{ yylhsminor.yy452 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 230: /* col_name ::= column_name */ case 286: /* tag_item ::= column_name */ yytestcase(yyruleno==286); -{ yylhsminor.yy452 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy371); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy347); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 231: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } @@ -5295,13 +5319,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; case 235: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy452, yymsp[0].minor.yy452, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy572, yymsp[0].minor.yy572, OP_TYPE_LIKE); } break; case 236: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy452, yymsp[0].minor.yy452, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy572, yymsp[0].minor.yy572, OP_TYPE_LIKE); } break; case 237: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy452, NULL, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy572, NULL, OP_TYPE_LIKE); } break; case 238: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } @@ -5313,10 +5337,10 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; case 241: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy452, yymsp[-1].minor.yy452, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy572, yymsp[-1].minor.yy572, OP_TYPE_EQUAL); } break; case 242: /* cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy371), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371), OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy347), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy347), OP_TYPE_EQUAL); } break; case 243: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } @@ -5335,13 +5359,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; case 249: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy347); } break; case 250: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy572); } break; case 251: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy572); } break; case 252: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } @@ -5360,7 +5384,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; case 258: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy572); } break; case 259: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } @@ -5375,7 +5399,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; case 263: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy572); } break; case 264: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } @@ -5384,16 +5408,16 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; case 266: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy452, yymsp[-1].minor.yy452, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy572, yymsp[-1].minor.yy572, OP_TYPE_EQUAL); } break; case 267: /* cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy371), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371), OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy347), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy347), OP_TYPE_EQUAL); } break; case 268: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy452, yymsp[0].minor.yy452, yymsp[-3].minor.yy812); } +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy572, yymsp[0].minor.yy572, yymsp[-3].minor.yy216); } break; case 269: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy371), yymsp[-4].minor.yy812); } +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy347), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy347), yymsp[-4].minor.yy216); } break; case 270: /* cmd ::= SHOW VNODES NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } @@ -5402,192 +5426,192 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, createValueNode(pCxt, TSDB_DATA_TYPE_VARCHAR, &yymsp[0].minor.yy0)); } break; case 272: /* cmd ::= SHOW db_name_cond_opt ALIVE */ -{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy452, QUERY_NODE_SHOW_DB_ALIVE_STMT); } +{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy572, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; case 273: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; case 274: /* db_name_cond_opt ::= */ case 279: /* from_db_opt ::= */ yytestcase(yyruleno==279); -{ yymsp[1].minor.yy452 = createDefaultDatabaseCondValue(pCxt); } +{ yymsp[1].minor.yy572 = createDefaultDatabaseCondValue(pCxt); } break; case 275: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy452 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy371); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy347); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 277: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } +{ yymsp[-1].minor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; case 278: /* table_name_cond ::= table_name */ -{ yylhsminor.yy452 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy347); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 280: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy452 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy371); } +{ yymsp[-1].minor.yy572 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy347); } break; case 284: /* tag_item ::= TBNAME */ -{ yylhsminor.yy452 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 287: /* tag_item ::= column_name column_alias */ -{ yylhsminor.yy452 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy371), &yymsp[0].minor.yy371); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy347), &yymsp[0].minor.yy347); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 288: /* tag_item ::= column_name AS column_alias */ -{ yylhsminor.yy452 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy371), &yymsp[0].minor.yy371); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy347), &yymsp[0].minor.yy347); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 289: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy667, yymsp[-3].minor.yy452, yymsp[-1].minor.yy452, NULL, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy977, yymsp[-3].minor.yy572, yymsp[-1].minor.yy572, NULL, yymsp[0].minor.yy572); } break; case 290: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy667, yymsp[-5].minor.yy452, yymsp[-3].minor.yy452, yymsp[-1].minor.yy812, NULL); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy977, yymsp[-5].minor.yy572, yymsp[-3].minor.yy572, yymsp[-1].minor.yy216, NULL); } break; case 291: /* cmd ::= DROP INDEX exists_opt full_index_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy667, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy977, yymsp[0].minor.yy572); } break; case 292: /* full_index_name ::= index_name */ -{ yylhsminor.yy452 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy371); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy347); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 293: /* full_index_name ::= db_name NK_DOT index_name */ -{ yylhsminor.yy452 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy347, &yymsp[0].minor.yy347); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 294: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy452 = createIndexOption(pCxt, yymsp[-7].minor.yy812, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), NULL, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } +{ yymsp[-9].minor.yy572 = createIndexOption(pCxt, yymsp[-7].minor.yy216, releaseRawExprNode(pCxt, yymsp[-3].minor.yy572), NULL, yymsp[-1].minor.yy572, yymsp[0].minor.yy572); } break; case 295: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-11].minor.yy452 = createIndexOption(pCxt, yymsp[-9].minor.yy812, releaseRawExprNode(pCxt, yymsp[-5].minor.yy452), releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } +{ yymsp[-11].minor.yy572 = createIndexOption(pCxt, yymsp[-9].minor.yy216, releaseRawExprNode(pCxt, yymsp[-5].minor.yy572), releaseRawExprNode(pCxt, yymsp[-3].minor.yy572), yymsp[-1].minor.yy572, yymsp[0].minor.yy572); } break; case 298: /* func ::= sma_func_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy452 = createFunctionNode(pCxt, &yymsp[-3].minor.yy371, yymsp[-1].minor.yy812); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createFunctionNode(pCxt, &yymsp[-3].minor.yy347, yymsp[-1].minor.yy216); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 299: /* sma_func_name ::= function_name */ case 513: /* alias_opt ::= table_alias */ yytestcase(yyruleno==513); -{ yylhsminor.yy371 = yymsp[0].minor.yy371; } - yymsp[0].minor.yy371 = yylhsminor.yy371; +{ yylhsminor.yy347 = yymsp[0].minor.yy347; } + yymsp[0].minor.yy347 = yylhsminor.yy347; break; case 304: /* sma_stream_opt ::= */ case 345: /* stream_options ::= */ yytestcase(yyruleno==345); -{ yymsp[1].minor.yy452 = createStreamOptions(pCxt); } +{ yymsp[1].minor.yy572 = createStreamOptions(pCxt); } break; case 305: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy452)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); yylhsminor.yy452 = yymsp[-2].minor.yy452; } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ ((SStreamOptions*)yymsp[-2].minor.yy572)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy572); yylhsminor.yy572 = yymsp[-2].minor.yy572; } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 306: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy452)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); yylhsminor.yy452 = yymsp[-2].minor.yy452; } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ ((SStreamOptions*)yymsp[-2].minor.yy572)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy572); yylhsminor.yy572 = yymsp[-2].minor.yy572; } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 307: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy452)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); yylhsminor.yy452 = yymsp[-2].minor.yy452; } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ ((SStreamOptions*)yymsp[-2].minor.yy572)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy572); yylhsminor.yy572 = yymsp[-2].minor.yy572; } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 308: /* with_meta ::= AS */ -{ yymsp[0].minor.yy416 = 0; } +{ yymsp[0].minor.yy540 = 0; } break; case 309: /* with_meta ::= WITH META AS */ -{ yymsp[-2].minor.yy416 = 1; } +{ yymsp[-2].minor.yy540 = 1; } break; case 310: /* with_meta ::= ONLY META AS */ -{ yymsp[-2].minor.yy416 = 2; } +{ yymsp[-2].minor.yy540 = 2; } break; case 311: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy667, &yymsp[-2].minor.yy371, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy977, &yymsp[-2].minor.yy347, yymsp[0].minor.yy572); } break; case 312: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy667, &yymsp[-3].minor.yy371, &yymsp[0].minor.yy371, yymsp[-2].minor.yy416); } +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy977, &yymsp[-3].minor.yy347, &yymsp[0].minor.yy347, yymsp[-2].minor.yy540); } break; case 313: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy667, &yymsp[-4].minor.yy371, yymsp[-1].minor.yy452, yymsp[-3].minor.yy416, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy977, &yymsp[-4].minor.yy347, yymsp[-1].minor.yy572, yymsp[-3].minor.yy540, yymsp[0].minor.yy572); } break; case 314: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy977, &yymsp[0].minor.yy347); } break; case 315: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy667, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy977, &yymsp[-2].minor.yy347, &yymsp[0].minor.yy347); } break; case 316: /* cmd ::= DESC full_table_name */ case 317: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==317); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy572); } break; case 318: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; case 319: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ case 320: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==320); -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy667, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy977, yymsp[-1].minor.yy572, yymsp[0].minor.yy572); } break; case 323: /* explain_options ::= */ -{ yymsp[1].minor.yy452 = createDefaultExplainOptions(pCxt); } +{ yymsp[1].minor.yy572 = createDefaultExplainOptions(pCxt); } break; case 324: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy452 = setExplainVerbose(pCxt, yymsp[-2].minor.yy452, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setExplainVerbose(pCxt, yymsp[-2].minor.yy572, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 325: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy452 = setExplainRatio(pCxt, yymsp[-2].minor.yy452, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setExplainRatio(pCxt, yymsp[-2].minor.yy572, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 326: /* cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ -{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy667, yymsp[-9].minor.yy667, &yymsp[-6].minor.yy371, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy310, yymsp[-1].minor.yy416, &yymsp[0].minor.yy371, yymsp[-10].minor.yy667); } +{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy977, yymsp[-9].minor.yy977, &yymsp[-6].minor.yy347, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy806, yymsp[-1].minor.yy540, &yymsp[0].minor.yy347, yymsp[-10].minor.yy977); } break; case 327: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy977, &yymsp[0].minor.yy347); } break; case 332: /* language_opt ::= */ -{ yymsp[1].minor.yy371 = nil_token; } +{ yymsp[1].minor.yy347 = nil_token; } break; case 333: /* language_opt ::= LANGUAGE NK_STRING */ -{ yymsp[-1].minor.yy371 = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy347 = yymsp[0].minor.yy0; } break; case 336: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ -{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy667, &yymsp[-8].minor.yy371, yymsp[-5].minor.yy452, yymsp[-7].minor.yy452, yymsp[-3].minor.yy812, yymsp[-2].minor.yy452, yymsp[0].minor.yy452, yymsp[-4].minor.yy812); } +{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy977, &yymsp[-8].minor.yy347, yymsp[-5].minor.yy572, yymsp[-7].minor.yy572, yymsp[-3].minor.yy216, yymsp[-2].minor.yy572, yymsp[0].minor.yy572, yymsp[-4].minor.yy216); } break; case 337: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy977, &yymsp[0].minor.yy347); } break; case 338: /* cmd ::= PAUSE STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy977, &yymsp[0].minor.yy347); } break; case 339: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ -{ pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy667, yymsp[-1].minor.yy667, &yymsp[0].minor.yy371); } +{ pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy977, yymsp[-1].minor.yy977, &yymsp[0].minor.yy347); } break; case 346: /* stream_options ::= stream_options TRIGGER AT_ONCE */ case 347: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==347); -{ yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-2].minor.yy452, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setStreamOptions(pCxt, yymsp[-2].minor.yy572, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 348: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-3].minor.yy452, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setStreamOptions(pCxt, yymsp[-3].minor.yy572, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy572)); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 349: /* stream_options ::= stream_options WATERMARK duration_literal */ -{ yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-2].minor.yy452, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setStreamOptions(pCxt, yymsp[-2].minor.yy572, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy572)); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 350: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ -{ yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-3].minor.yy452, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setStreamOptions(pCxt, yymsp[-3].minor.yy572, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 351: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ -{ yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-2].minor.yy452, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setStreamOptions(pCxt, yymsp[-2].minor.yy572, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 352: /* stream_options ::= stream_options DELETE_MARK duration_literal */ -{ yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-2].minor.yy452, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setStreamOptions(pCxt, yymsp[-2].minor.yy572, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy572)); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 353: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ -{ yylhsminor.yy452 = setStreamOptions(pCxt, yymsp[-3].minor.yy452, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = setStreamOptions(pCxt, yymsp[-3].minor.yy572, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 355: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 547: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==547); - case 568: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==568); -{ yymsp[-3].minor.yy452 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy452); } + case 552: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==552); + case 573: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==573); +{ yymsp[-3].minor.yy572 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy572); } break; case 358: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } @@ -5608,42 +5632,42 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; case 364: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy812); } +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy216); } break; case 365: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; case 366: /* dnode_list ::= DNODE NK_INTEGER */ -{ yymsp[-1].minor.yy812 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } +{ yymsp[-1].minor.yy216 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; case 368: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy572, yymsp[0].minor.yy572); } break; case 371: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ -{ yymsp[-6].minor.yy452 = createInsertStmt(pCxt, yymsp[-4].minor.yy452, yymsp[-2].minor.yy812, yymsp[0].minor.yy452); } +{ yymsp[-6].minor.yy572 = createInsertStmt(pCxt, yymsp[-4].minor.yy572, yymsp[-2].minor.yy216, yymsp[0].minor.yy572); } break; case 372: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ -{ yymsp[-3].minor.yy452 = createInsertStmt(pCxt, yymsp[-1].minor.yy452, NULL, yymsp[0].minor.yy452); } +{ yymsp[-3].minor.yy572 = createInsertStmt(pCxt, yymsp[-1].minor.yy572, NULL, yymsp[0].minor.yy572); } break; case 373: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 374: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 375: /* literal ::= NK_STRING */ -{ yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 376: /* literal ::= NK_BOOL */ -{ yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 377: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 378: /* literal ::= duration_literal */ case 388: /* signed_literal ::= signed */ yytestcase(yyruleno==388); @@ -5662,175 +5686,175 @@ static YYACTIONTYPE yy_reduce( case 506: /* table_reference ::= table_primary */ yytestcase(yyruleno==506); case 507: /* table_reference ::= joined_table */ yytestcase(yyruleno==507); case 511: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==511); - case 570: /* query_simple ::= query_specification */ yytestcase(yyruleno==570); - case 571: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==571); - case 574: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==574); - case 576: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==576); -{ yylhsminor.yy452 = yymsp[0].minor.yy452; } - yymsp[0].minor.yy452 = yylhsminor.yy452; + case 575: /* query_simple ::= query_specification */ yytestcase(yyruleno==575); + case 576: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==576); + case 579: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==579); + case 581: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==581); +{ yylhsminor.yy572 = yymsp[0].minor.yy572; } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 379: /* literal ::= NULL */ -{ yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 380: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 381: /* duration_literal ::= NK_VARIABLE */ -{ yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 382: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 383: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } +{ yymsp[-1].minor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } break; case 384: /* signed ::= NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 385: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 386: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } +{ yymsp[-1].minor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; case 387: /* signed ::= NK_MINUS NK_FLOAT */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 389: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 390: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 391: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-1].minor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 392: /* signed_literal ::= duration_literal */ case 394: /* signed_literal ::= literal_func */ yytestcase(yyruleno==394); case 465: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==465); - case 527: /* select_item ::= common_expression */ yytestcase(yyruleno==527); - case 537: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==537); - case 575: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==575); - case 577: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==577); - case 590: /* search_condition ::= common_expression */ yytestcase(yyruleno==590); -{ yylhsminor.yy452 = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); } - yymsp[0].minor.yy452 = yylhsminor.yy452; + case 532: /* select_item ::= common_expression */ yytestcase(yyruleno==532); + case 542: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==542); + case 580: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==580); + case 582: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==582); + case 595: /* search_condition ::= common_expression */ yytestcase(yyruleno==595); +{ yylhsminor.yy572 = releaseRawExprNode(pCxt, yymsp[0].minor.yy572); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 393: /* signed_literal ::= NULL */ -{ yylhsminor.yy452 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 395: /* signed_literal ::= NK_QUESTION */ -{ yylhsminor.yy452 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 415: /* expression ::= NK_LP expression NK_RP */ case 499: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==499); - case 589: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==589); -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + case 594: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==594); +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy572)); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 416: /* expression ::= NK_PLUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy572)); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 417: /* expression ::= NK_MINUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy452), NULL)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy572), NULL)); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 418: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 419: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 420: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 421: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 422: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 423: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 424: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 425: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 428: /* column_reference ::= column_name */ -{ yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy371, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy371)); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNode(pCxt, &yymsp[0].minor.yy347, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy347)); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 429: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371, createColumnNode(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy371)); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy347, &yymsp[0].minor.yy347, createColumnNode(pCxt, &yymsp[-2].minor.yy347, &yymsp[0].minor.yy347)); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 430: /* pseudo_column ::= ROWTS */ case 431: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==431); @@ -5844,334 +5868,340 @@ static YYACTIONTYPE yy_reduce( case 440: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==440); case 441: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==441); case 447: /* literal_func ::= NOW */ yytestcase(yyruleno==447); -{ yylhsminor.yy452 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; case 432: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy371)))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy347, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy347)))); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 442: /* function_expression ::= function_name NK_LP expression_list NK_RP */ case 443: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==443); -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy371, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy371, yymsp[-1].minor.yy812)); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy347, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy347, yymsp[-1].minor.yy216)); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 444: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), yymsp[-1].minor.yy310)); } - yymsp[-5].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy572), yymsp[-1].minor.yy806)); } + yymsp[-5].minor.yy572 = yylhsminor.yy572; break; case 446: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy371, NULL)); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy347, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy347, NULL)); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 461: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy812 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy812 = yylhsminor.yy812; +{ yylhsminor.yy216 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy216 = yylhsminor.yy216; break; case 466: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 530: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==530); -{ yylhsminor.yy452 = createColumnNode(pCxt, &yymsp[-2].minor.yy371, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + case 535: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==535); +{ yylhsminor.yy572 = createColumnNode(pCxt, &yymsp[-2].minor.yy347, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 467: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy812, yymsp[-1].minor.yy452)); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy216, yymsp[-1].minor.yy572)); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 468: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), yymsp[-2].minor.yy812, yymsp[-1].minor.yy452)); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy572), yymsp[-2].minor.yy216, yymsp[-1].minor.yy572)); } + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 471: /* when_then_expr ::= WHEN common_expression THEN common_expression */ -{ yymsp[-3].minor.yy452 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452)); } +{ yymsp[-3].minor.yy572 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572)); } break; case 473: /* case_when_else_opt ::= ELSE common_expression */ -{ yymsp[-1].minor.yy452 = releaseRawExprNode(pCxt, yymsp[0].minor.yy452); } +{ yymsp[-1].minor.yy572 = releaseRawExprNode(pCxt, yymsp[0].minor.yy572); } break; case 474: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ case 479: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==479); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy354, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy220, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 475: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy452), releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy572), releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-4].minor.yy452 = yylhsminor.yy452; + yymsp[-4].minor.yy572 = yylhsminor.yy572; break; case 476: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy452), releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy572), releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-5].minor.yy452 = yylhsminor.yy452; + yymsp[-5].minor.yy572 = yylhsminor.yy572; break; case 477: /* predicate ::= expr_or_subquery IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), NULL)); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 478: /* predicate ::= expr_or_subquery IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy572), NULL)); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 480: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy354 = OP_TYPE_LOWER_THAN; } +{ yymsp[0].minor.yy220 = OP_TYPE_LOWER_THAN; } break; case 481: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy354 = OP_TYPE_GREATER_THAN; } +{ yymsp[0].minor.yy220 = OP_TYPE_GREATER_THAN; } break; case 482: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy354 = OP_TYPE_LOWER_EQUAL; } +{ yymsp[0].minor.yy220 = OP_TYPE_LOWER_EQUAL; } break; case 483: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy354 = OP_TYPE_GREATER_EQUAL; } +{ yymsp[0].minor.yy220 = OP_TYPE_GREATER_EQUAL; } break; case 484: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy354 = OP_TYPE_NOT_EQUAL; } +{ yymsp[0].minor.yy220 = OP_TYPE_NOT_EQUAL; } break; case 485: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy354 = OP_TYPE_EQUAL; } +{ yymsp[0].minor.yy220 = OP_TYPE_EQUAL; } break; case 486: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy354 = OP_TYPE_LIKE; } +{ yymsp[0].minor.yy220 = OP_TYPE_LIKE; } break; case 487: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy354 = OP_TYPE_NOT_LIKE; } +{ yymsp[-1].minor.yy220 = OP_TYPE_NOT_LIKE; } break; case 488: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy354 = OP_TYPE_MATCH; } +{ yymsp[0].minor.yy220 = OP_TYPE_MATCH; } break; case 489: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy354 = OP_TYPE_NMATCH; } +{ yymsp[0].minor.yy220 = OP_TYPE_NMATCH; } break; case 490: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy354 = OP_TYPE_JSON_CONTAINS; } +{ yymsp[0].minor.yy220 = OP_TYPE_JSON_CONTAINS; } break; case 491: /* in_op ::= IN */ -{ yymsp[0].minor.yy354 = OP_TYPE_IN; } +{ yymsp[0].minor.yy220 = OP_TYPE_IN; } break; case 492: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy354 = OP_TYPE_NOT_IN; } +{ yymsp[-1].minor.yy220 = OP_TYPE_NOT_IN; } break; case 493: /* in_predicate_value ::= NK_LP literal_list NK_RP */ -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy812)); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy216)); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 495: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy452), NULL)); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy572), NULL)); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 496: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 497: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy452); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy452); - yylhsminor.yy452 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy572); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy572); + yylhsminor.yy572 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 505: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy452 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy452, yymsp[0].minor.yy452, NULL); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy572, yymsp[0].minor.yy572, NULL); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; case 508: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy452 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy371, &yymsp[0].minor.yy371); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy347, &yymsp[0].minor.yy347); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 509: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy452 = createRealTableNode(pCxt, &yymsp[-3].minor.yy371, &yymsp[-1].minor.yy371, &yymsp[0].minor.yy371); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createRealTableNode(pCxt, &yymsp[-3].minor.yy347, &yymsp[-1].minor.yy347, &yymsp[0].minor.yy347); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; case 510: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy452 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452), &yymsp[0].minor.yy371); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy572), &yymsp[0].minor.yy347); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; case 512: /* alias_opt ::= */ -{ yymsp[1].minor.yy371 = nil_token; } +{ yymsp[1].minor.yy347 = nil_token; } break; case 514: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy371 = yymsp[0].minor.yy371; } +{ yymsp[-1].minor.yy347 = yymsp[0].minor.yy347; } break; case 515: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ case 516: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==516); -{ yymsp[-2].minor.yy452 = yymsp[-1].minor.yy452; } +{ yymsp[-2].minor.yy572 = yymsp[-1].minor.yy572; } break; case 517: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy452 = createJoinTableNode(pCxt, yymsp[-4].minor.yy140, yymsp[-5].minor.yy452, yymsp[-2].minor.yy452, yymsp[0].minor.yy452); } - yymsp[-5].minor.yy452 = yylhsminor.yy452; +{ yylhsminor.yy572 = createJoinTableNode(pCxt, yymsp[-4].minor.yy408, yymsp[-5].minor.yy572, yymsp[-2].minor.yy572, yymsp[0].minor.yy572); } + yymsp[-5].minor.yy572 = yylhsminor.yy572; break; case 518: /* join_type ::= */ -{ yymsp[1].minor.yy140 = JOIN_TYPE_INNER; } +{ yymsp[1].minor.yy408 = JOIN_TYPE_INNER; } break; case 519: /* join_type ::= INNER */ -{ yymsp[0].minor.yy140 = JOIN_TYPE_INNER; } +{ yymsp[0].minor.yy408 = JOIN_TYPE_INNER; } break; - case 520: /* query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + case 520: /* query_specification ::= SELECT hint_opt_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ { - yymsp[-11].minor.yy452 = createSelectStmt(pCxt, yymsp[-10].minor.yy667, yymsp[-9].minor.yy812, yymsp[-8].minor.yy452); - yymsp[-11].minor.yy452 = addWhereClause(pCxt, yymsp[-11].minor.yy452, yymsp[-7].minor.yy452); - yymsp[-11].minor.yy452 = addPartitionByClause(pCxt, yymsp[-11].minor.yy452, yymsp[-6].minor.yy812); - yymsp[-11].minor.yy452 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy452, yymsp[-2].minor.yy452); - yymsp[-11].minor.yy452 = addGroupByClause(pCxt, yymsp[-11].minor.yy452, yymsp[-1].minor.yy812); - yymsp[-11].minor.yy452 = addHavingClause(pCxt, yymsp[-11].minor.yy452, yymsp[0].minor.yy452); - yymsp[-11].minor.yy452 = addRangeClause(pCxt, yymsp[-11].minor.yy452, yymsp[-5].minor.yy452); - yymsp[-11].minor.yy452 = addEveryClause(pCxt, yymsp[-11].minor.yy452, yymsp[-4].minor.yy452); - yymsp[-11].minor.yy452 = addFillClause(pCxt, yymsp[-11].minor.yy452, yymsp[-3].minor.yy452); + yymsp[-12].minor.yy572 = createSelectStmt(pCxt, yymsp[-10].minor.yy977, yymsp[-9].minor.yy216, yymsp[-8].minor.yy572, yymsp[-11].minor.yy216); + yymsp[-12].minor.yy572 = addWhereClause(pCxt, yymsp[-12].minor.yy572, yymsp[-7].minor.yy572); + yymsp[-12].minor.yy572 = addPartitionByClause(pCxt, yymsp[-12].minor.yy572, yymsp[-6].minor.yy216); + yymsp[-12].minor.yy572 = addWindowClauseClause(pCxt, yymsp[-12].minor.yy572, yymsp[-2].minor.yy572); + yymsp[-12].minor.yy572 = addGroupByClause(pCxt, yymsp[-12].minor.yy572, yymsp[-1].minor.yy216); + yymsp[-12].minor.yy572 = addHavingClause(pCxt, yymsp[-12].minor.yy572, yymsp[0].minor.yy572); + yymsp[-12].minor.yy572 = addRangeClause(pCxt, yymsp[-12].minor.yy572, yymsp[-5].minor.yy572); + yymsp[-12].minor.yy572 = addEveryClause(pCxt, yymsp[-12].minor.yy572, yymsp[-4].minor.yy572); + yymsp[-12].minor.yy572 = addFillClause(pCxt, yymsp[-12].minor.yy572, yymsp[-3].minor.yy572); } break; - case 523: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy667 = false; } + case 521: /* hint_opt ::= NO_BATCH_SCAN NK_LP NK_RP */ +{ yymsp[-2].minor.yy572 = createHintNode(pCxt, HINT_NO_BATCH_SCAN, NULL); } break; - case 526: /* select_item ::= NK_STAR */ -{ yylhsminor.yy452 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy452 = yylhsminor.yy452; + case 522: /* hint_opt ::= BATCH_SCAN NK_LP NK_RP */ +{ yymsp[-2].minor.yy572 = createHintNode(pCxt, HINT_BATCH_SCAN, NULL); } break; - case 528: /* select_item ::= common_expression column_alias */ - case 538: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==538); -{ yylhsminor.yy452 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452), &yymsp[0].minor.yy371); } - yymsp[-1].minor.yy452 = yylhsminor.yy452; + case 528: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy977 = false; } break; - case 529: /* select_item ::= common_expression AS column_alias */ - case 539: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==539); -{ yylhsminor.yy452 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), &yymsp[0].minor.yy371); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + case 531: /* select_item ::= NK_STAR */ +{ yylhsminor.yy572 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy572 = yylhsminor.yy572; break; - case 534: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 559: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==559); - case 579: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==579); -{ yymsp[-2].minor.yy812 = yymsp[0].minor.yy812; } + case 533: /* select_item ::= common_expression column_alias */ + case 543: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==543); +{ yylhsminor.yy572 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy572), &yymsp[0].minor.yy347); } + yymsp[-1].minor.yy572 = yylhsminor.yy572; break; - case 541: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ -{ yymsp[-5].minor.yy452 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } + case 534: /* select_item ::= common_expression AS column_alias */ + case 544: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==544); +{ yylhsminor.yy572 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), &yymsp[0].minor.yy347); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; - case 542: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy452 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } + case 539: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 564: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==564); + case 584: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==584); +{ yymsp[-2].minor.yy216 = yymsp[0].minor.yy216; } break; - case 543: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy452 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), NULL, yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } + case 546: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ +{ yymsp[-5].minor.yy572 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy572), releaseRawExprNode(pCxt, yymsp[-1].minor.yy572)); } break; - case 544: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy452 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy452), releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), yymsp[-1].minor.yy452, yymsp[0].minor.yy452); } + case 547: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy572 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy572)); } break; - case 545: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ -{ yymsp[-6].minor.yy452 = createEventWindowNode(pCxt, yymsp[-3].minor.yy452, yymsp[0].minor.yy452); } + case 548: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-5].minor.yy572 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy572), NULL, yymsp[-1].minor.yy572, yymsp[0].minor.yy572); } break; - case 549: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy452 = createFillNode(pCxt, yymsp[-1].minor.yy844, NULL); } + case 549: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-7].minor.yy572 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy572), releaseRawExprNode(pCxt, yymsp[-3].minor.yy572), yymsp[-1].minor.yy572, yymsp[0].minor.yy572); } break; - case 550: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ -{ yymsp[-5].minor.yy452 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy812)); } + case 550: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ +{ yymsp[-6].minor.yy572 = createEventWindowNode(pCxt, yymsp[-3].minor.yy572, yymsp[0].minor.yy572); } break; - case 551: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ -{ yymsp[-5].minor.yy452 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy812)); } + case 554: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy572 = createFillNode(pCxt, yymsp[-1].minor.yy782, NULL); } break; - case 552: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy844 = FILL_MODE_NONE; } + case 555: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ +{ yymsp[-5].minor.yy572 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy216)); } break; - case 553: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy844 = FILL_MODE_PREV; } + case 556: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ +{ yymsp[-5].minor.yy572 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy216)); } break; - case 554: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy844 = FILL_MODE_NULL; } + case 557: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy782 = FILL_MODE_NONE; } break; - case 555: /* fill_mode ::= NULL_F */ -{ yymsp[0].minor.yy844 = FILL_MODE_NULL_F; } + case 558: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy782 = FILL_MODE_PREV; } break; - case 556: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy844 = FILL_MODE_LINEAR; } + case 559: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy782 = FILL_MODE_NULL; } break; - case 557: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy844 = FILL_MODE_NEXT; } + case 560: /* fill_mode ::= NULL_F */ +{ yymsp[0].minor.yy782 = FILL_MODE_NULL_F; } break; - case 560: /* group_by_list ::= expr_or_subquery */ -{ yylhsminor.yy812 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); } - yymsp[0].minor.yy812 = yylhsminor.yy812; + case 561: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy782 = FILL_MODE_LINEAR; } break; - case 561: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ -{ yylhsminor.yy812 = addNodeToList(pCxt, yymsp[-2].minor.yy812, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy452))); } - yymsp[-2].minor.yy812 = yylhsminor.yy812; + case 562: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy782 = FILL_MODE_NEXT; } break; - case 565: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ -{ yymsp[-5].minor.yy452 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy452), releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } + case 565: /* group_by_list ::= expr_or_subquery */ +{ yylhsminor.yy216 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } + yymsp[0].minor.yy216 = yylhsminor.yy216; break; - case 566: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy452 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy452)); } + case 566: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ +{ yylhsminor.yy216 = addNodeToList(pCxt, yymsp[-2].minor.yy216, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy572))); } + yymsp[-2].minor.yy216 = yylhsminor.yy216; break; - case 569: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 570: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ +{ yymsp[-5].minor.yy572 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy572), releaseRawExprNode(pCxt, yymsp[-1].minor.yy572)); } + break; + case 571: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy572 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy572)); } + break; + case 574: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy452 = addOrderByClause(pCxt, yymsp[-3].minor.yy452, yymsp[-2].minor.yy812); - yylhsminor.yy452 = addSlimitClause(pCxt, yylhsminor.yy452, yymsp[-1].minor.yy452); - yylhsminor.yy452 = addLimitClause(pCxt, yylhsminor.yy452, yymsp[0].minor.yy452); + yylhsminor.yy572 = addOrderByClause(pCxt, yymsp[-3].minor.yy572, yymsp[-2].minor.yy216); + yylhsminor.yy572 = addSlimitClause(pCxt, yylhsminor.yy572, yymsp[-1].minor.yy572); + yylhsminor.yy572 = addLimitClause(pCxt, yylhsminor.yy572, yymsp[0].minor.yy572); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; - case 572: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ -{ yylhsminor.yy452 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy452, yymsp[0].minor.yy452); } - yymsp[-3].minor.yy452 = yylhsminor.yy452; + case 577: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ +{ yylhsminor.yy572 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy572, yymsp[0].minor.yy572); } + yymsp[-3].minor.yy572 = yylhsminor.yy572; break; - case 573: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ -{ yylhsminor.yy452 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy452, yymsp[0].minor.yy452); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + case 578: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ +{ yylhsminor.yy572 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy572, yymsp[0].minor.yy572); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; - case 581: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 585: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==585); -{ yymsp[-1].minor.yy452 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + case 586: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 590: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==590); +{ yymsp[-1].minor.yy572 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 582: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 586: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==586); -{ yymsp[-3].minor.yy452 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + case 587: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 591: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==591); +{ yymsp[-3].minor.yy572 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 583: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 587: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==587); -{ yymsp[-3].minor.yy452 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + case 588: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 592: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==592); +{ yymsp[-3].minor.yy572 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 588: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy452 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy452); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + case 593: /* subquery ::= NK_LP query_expression NK_RP */ +{ yylhsminor.yy572 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy572); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; - case 593: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy452 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy452), yymsp[-1].minor.yy690, yymsp[0].minor.yy399); } - yymsp[-2].minor.yy452 = yylhsminor.yy452; + case 598: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ +{ yylhsminor.yy572 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy572), yymsp[-1].minor.yy384, yymsp[0].minor.yy201); } + yymsp[-2].minor.yy572 = yylhsminor.yy572; break; - case 594: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy690 = ORDER_ASC; } + case 599: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy384 = ORDER_ASC; } break; - case 595: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy690 = ORDER_ASC; } + case 600: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy384 = ORDER_ASC; } break; - case 596: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy690 = ORDER_DESC; } + case 601: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy384 = ORDER_DESC; } break; - case 597: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy399 = NULL_ORDER_DEFAULT; } + case 602: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy201 = NULL_ORDER_DEFAULT; } break; - case 598: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy399 = NULL_ORDER_FIRST; } + case 603: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy201 = NULL_ORDER_FIRST; } break; - case 599: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy399 = NULL_ORDER_LAST; } + case 604: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy201 = NULL_ORDER_LAST; } break; default: break; diff --git a/source/libs/planner/inc/planInt.h b/source/libs/planner/inc/planInt.h index 092fe17411..d90b5004ea 100644 --- a/source/libs/planner/inc/planInt.h +++ b/source/libs/planner/inc/planInt.h @@ -45,6 +45,7 @@ int32_t createPhysiPlan(SPlanContext* pCxt, SQueryLogicPlan* pLogicPlan, SQueryP bool isPartTableAgg(SAggLogicNode* pAgg); bool isPartTableWinodw(SWindowLogicNode* pWindow); +bool getBatchScanOptionFromHint(SNodeList* pList); #ifdef __cplusplus } diff --git a/source/libs/planner/src/planLogicCreater.c b/source/libs/planner/src/planLogicCreater.c index 55ef48cf4b..3df6151129 100644 --- a/source/libs/planner/src/planLogicCreater.c +++ b/source/libs/planner/src/planLogicCreater.c @@ -435,6 +435,7 @@ static int32_t createJoinLogicNode(SLogicPlanContext* pCxt, SSelectStmt* pSelect } pJoin->joinType = pJoinTable->joinType; + pJoin->joinAlgo = JOIN_ALGO_UNKNOWN; pJoin->isSingleTableJoin = pJoinTable->table.singleTable; pJoin->hasSubQuery = pJoinTable->hasSubQuery; pJoin->node.inputTsOrder = ORDER_ASC; diff --git a/source/libs/planner/src/planOptimizer.c b/source/libs/planner/src/planOptimizer.c index 757484ad41..b29f47b80e 100644 --- a/source/libs/planner/src/planOptimizer.c +++ b/source/libs/planner/src/planOptimizer.c @@ -930,6 +930,7 @@ static int32_t pushDownCondOptDealJoin(SOptimizeContext* pCxt, SJoinLogicNode* p if (pJoin->joinAlgo != JOIN_ALGO_UNKNOWN) { return TSDB_CODE_SUCCESS; } + pJoin->joinAlgo = JOIN_ALGO_MERGE; if (NULL == pJoin->node.pConditions) { int32_t code = pushDownCondOptJoinExtractCond(pCxt, pJoin); @@ -3328,7 +3329,7 @@ static int32_t stbJoinOptCreateTableScanNodes(SLogicNode* pJoin, SNodeList** ppL return code; } -static int32_t stbJoinOptCreateGroupCacheNode(SNodeList* pChildren, SLogicNode** ppLogic) { +static int32_t stbJoinOptCreateGroupCacheNode(SOptimizeContext* pCxt, SNodeList* pChildren, SLogicNode** ppLogic) { int32_t code = TSDB_CODE_SUCCESS; SGroupCacheLogicNode* pGrpCache = (SGroupCacheLogicNode*)nodesMakeNode(QUERY_NODE_LOGIC_PLAN_GROUP_CACHE); if (NULL == pGrpCache) { @@ -3338,7 +3339,7 @@ static int32_t stbJoinOptCreateGroupCacheNode(SNodeList* pChildren, SLogicNode** //pGrpCache->node.dynamicOp = true; pGrpCache->grpColsMayBeNull = false; pGrpCache->grpByUid = true; - pGrpCache->batchFetch = false; + pGrpCache->batchFetch = getBatchScanOptionFromHint(((SSelectStmt*)pCxt->pPlanCxt->pAstRoot)->pHint); pGrpCache->node.pChildren = pChildren; pGrpCache->node.pTargets = nodesMakeList(); if (NULL == pGrpCache->node.pTargets) { @@ -3435,8 +3436,7 @@ static int32_t stbJoinOptCreateMergeJoinNode(SLogicNode* pOrig, SLogicNode* pChi return TSDB_CODE_SUCCESS; } - -static int32_t stbJoinOptCreateDynQueryCtrlNode(SLogicNode* pPrev, SLogicNode* pPost, bool* srcScan, SLogicNode** ppDynNode) { +static int32_t stbJoinOptCreateDynQueryCtrlNode(SOptimizeContext* pCxt, SLogicNode* pPrev, SLogicNode* pPost, bool* srcScan, SLogicNode** ppDynNode) { int32_t code = TSDB_CODE_SUCCESS; SDynQueryCtrlLogicNode* pDynCtrl = (SDynQueryCtrlLogicNode*)nodesMakeNode(QUERY_NODE_LOGIC_PLAN_DYN_QUERY_CTRL); if (NULL == pDynCtrl) { @@ -3444,7 +3444,7 @@ static int32_t stbJoinOptCreateDynQueryCtrlNode(SLogicNode* pPrev, SLogicNode* p } pDynCtrl->qType = DYN_QTYPE_STB_HASH; - pDynCtrl->stbJoin.batchFetch = false; + pDynCtrl->stbJoin.batchFetch = getBatchScanOptionFromHint(((SSelectStmt*)pCxt->pPlanCxt->pAstRoot)->pHint); memcpy(pDynCtrl->stbJoin.srcScan, srcScan, sizeof(pDynCtrl->stbJoin.srcScan)); if (TSDB_CODE_SUCCESS == code) { @@ -3510,13 +3510,13 @@ static int32_t stbJoinOptRewriteStableJoin(SOptimizeContext* pCxt, SLogicNode* p code = stbJoinOptCreateTableScanNodes(pJoin, &pTbScanNodes, srcScan); } if (TSDB_CODE_SUCCESS == code) { - code = stbJoinOptCreateGroupCacheNode(pTbScanNodes, &pGrpCacheNode); + code = stbJoinOptCreateGroupCacheNode(pCxt, pTbScanNodes, &pGrpCacheNode); } if (TSDB_CODE_SUCCESS == code) { code = stbJoinOptCreateMergeJoinNode(pJoin, pGrpCacheNode, &pMJoinNode); } if (TSDB_CODE_SUCCESS == code) { - code = stbJoinOptCreateDynQueryCtrlNode(pHJoinNode, pMJoinNode, srcScan, &pDynNode); + code = stbJoinOptCreateDynQueryCtrlNode(pCxt, pHJoinNode, pMJoinNode, srcScan, &pDynNode); } if (TSDB_CODE_SUCCESS == code) { code = replaceLogicNode(pLogicSubplan, pJoin, (SLogicNode*)pDynNode); diff --git a/source/libs/planner/src/planUtil.c b/source/libs/planner/src/planUtil.c index 88086cde1d..128640df1f 100644 --- a/source/libs/planner/src/planUtil.c +++ b/source/libs/planner/src/planUtil.c @@ -374,4 +374,21 @@ bool isPartTableWinodw(SWindowLogicNode* pWindow) { return stbHasPartTbname(stbSplGetPartKeys((SLogicNode*)nodesListGetNode(pWindow->node.pChildren, 0))); } +bool getBatchScanOptionFromHint(SNodeList* pList) { + SNode* pNode = NULL; + bool batchScan = true; + FOREACH(pNode, pList) { + SHintNode* pHint = (SHintNode*)pNode; + if (pHint->option == HINT_BATCH_SCAN) { + batchScan = true; + break; + } else if (pHint->option == HINT_NO_BATCH_SCAN) { + batchScan = false; + break; + } + } + + return batchScan; +} +