diff --git a/include/common/tmsg.h b/include/common/tmsg.h index 39d3f2325f..853be37886 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -1657,6 +1657,20 @@ typedef struct { int32_t tSerializeSRedistributeVgroupReq(void* buf, int32_t bufLen, SRedistributeVgroupReq* pReq); int32_t tDeserializeSRedistributeVgroupReq(void* buf, int32_t bufLen, SRedistributeVgroupReq* pReq); +typedef struct { + int32_t useless; +} SBalanceVgroupLeaderReq; + +int32_t tSerializeSBalanceVgroupLeaderReq(void* buf, int32_t bufLen, SBalanceVgroupLeaderReq* pReq); +int32_t tDeserializeSBalanceVgroupLeaderReq(void* buf, int32_t bufLen, SBalanceVgroupLeaderReq* pReq); + +typedef struct { + int32_t vgId; +} SForceElectionReq; + +int32_t tSerializeSForceElectionReq(void* buf, int32_t bufLen, SForceElectionReq* pReq); +int32_t tDeserializeSForceElectionReq(void* buf, int32_t bufLen, SForceElectionReq* pReq); + typedef struct { int32_t vgId; } SSplitVgroupReq; diff --git a/include/common/tmsgdef.h b/include/common/tmsgdef.h index 46ca814e50..67fd832f13 100644 --- a/include/common/tmsgdef.h +++ b/include/common/tmsgdef.h @@ -83,6 +83,7 @@ enum { TD_DEF_MSG_TYPE(TDMT_DND_CONFIG_DNODE, "config-dnode", NULL, NULL) TD_DEF_MSG_TYPE(TDMT_DND_SYSTABLE_RETRIEVE, "dnode-retrieve", NULL, NULL) TD_DEF_MSG_TYPE(TDMT_DND_MAX_MSG, "dnd-max", NULL, NULL) + TD_DEF_MSG_TYPE(TDMT_DND_FORCE_ELECTION, "balance-force-election", NULL, NULL) TD_NEW_MSG_SEG(TDMT_MND_MSG) TD_DEF_MSG_TYPE(TDMT_MND_CONNECT, "connect", NULL, NULL) @@ -165,6 +166,7 @@ enum { TD_DEF_MSG_TYPE(TDMT_MND_AUTH, "auth", NULL, NULL) TD_DEF_MSG_TYPE(TDMT_MND_APPLY_MSG, "mnode-apply", NULL, NULL) TD_DEF_MSG_TYPE(TDMT_MND_BALANCE_VGROUP, "balance-vgroup", NULL, NULL) + TD_DEF_MSG_TYPE(TDMT_MND_BALANCE_VGROUP_LEADER, "balance-vgroup-leader", NULL, NULL) TD_DEF_MSG_TYPE(TDMT_MND_MERGE_VGROUP, "merge-vgroup", NULL, NULL) TD_DEF_MSG_TYPE(TDMT_MND_REDISTRIBUTE_VGROUP, "redistribute-vgroup", NULL, NULL) TD_DEF_MSG_TYPE(TDMT_MND_SPLIT_VGROUP, "split-vgroup", NULL, NULL) diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index 1235dd3447..d1872240f7 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -223,127 +223,128 @@ #define TK_TRANSACTION 205 #define TK_BALANCE 206 #define TK_VGROUP 207 -#define TK_MERGE 208 -#define TK_REDISTRIBUTE 209 -#define TK_SPLIT 210 -#define TK_DELETE 211 -#define TK_INSERT 212 -#define TK_NULL 213 -#define TK_NK_QUESTION 214 -#define TK_NK_ARROW 215 -#define TK_ROWTS 216 -#define TK_QSTART 217 -#define TK_QEND 218 -#define TK_QDURATION 219 -#define TK_WSTART 220 -#define TK_WEND 221 -#define TK_WDURATION 222 -#define TK_IROWTS 223 -#define TK_ISFILLED 224 -#define TK_CAST 225 -#define TK_NOW 226 -#define TK_TODAY 227 -#define TK_TIMEZONE 228 -#define TK_CLIENT_VERSION 229 -#define TK_SERVER_VERSION 230 -#define TK_SERVER_STATUS 231 -#define TK_CURRENT_USER 232 -#define TK_CASE 233 -#define TK_WHEN 234 -#define TK_THEN 235 -#define TK_ELSE 236 -#define TK_BETWEEN 237 -#define TK_IS 238 -#define TK_NK_LT 239 -#define TK_NK_GT 240 -#define TK_NK_LE 241 -#define TK_NK_GE 242 -#define TK_NK_NE 243 -#define TK_MATCH 244 -#define TK_NMATCH 245 -#define TK_CONTAINS 246 -#define TK_IN 247 -#define TK_JOIN 248 -#define TK_INNER 249 -#define TK_SELECT 250 -#define TK_DISTINCT 251 -#define TK_WHERE 252 -#define TK_PARTITION 253 -#define TK_BY 254 -#define TK_SESSION 255 -#define TK_STATE_WINDOW 256 -#define TK_EVENT_WINDOW 257 -#define TK_SLIDING 258 -#define TK_FILL 259 -#define TK_VALUE 260 -#define TK_VALUE_F 261 -#define TK_NONE 262 -#define TK_PREV 263 -#define TK_NULL_F 264 -#define TK_LINEAR 265 -#define TK_NEXT 266 -#define TK_HAVING 267 -#define TK_RANGE 268 -#define TK_EVERY 269 -#define TK_ORDER 270 -#define TK_SLIMIT 271 -#define TK_SOFFSET 272 -#define TK_LIMIT 273 -#define TK_OFFSET 274 -#define TK_ASC 275 -#define TK_NULLS 276 -#define TK_ABORT 277 -#define TK_AFTER 278 -#define TK_ATTACH 279 -#define TK_BEFORE 280 -#define TK_BEGIN 281 -#define TK_BITAND 282 -#define TK_BITNOT 283 -#define TK_BITOR 284 -#define TK_BLOCKS 285 -#define TK_CHANGE 286 -#define TK_COMMA 287 -#define TK_CONCAT 288 -#define TK_CONFLICT 289 -#define TK_COPY 290 -#define TK_DEFERRED 291 -#define TK_DELIMITERS 292 -#define TK_DETACH 293 -#define TK_DIVIDE 294 -#define TK_DOT 295 -#define TK_EACH 296 -#define TK_FAIL 297 -#define TK_FILE 298 -#define TK_FOR 299 -#define TK_GLOB 300 -#define TK_ID 301 -#define TK_IMMEDIATE 302 -#define TK_IMPORT 303 -#define TK_INITIALLY 304 -#define TK_INSTEAD 305 -#define TK_ISNULL 306 -#define TK_KEY 307 -#define TK_MODULES 308 -#define TK_NK_BITNOT 309 -#define TK_NK_SEMI 310 -#define TK_NOTNULL 311 -#define TK_OF 312 -#define TK_PLUS 313 -#define TK_PRIVILEGE 314 -#define TK_RAISE 315 -#define TK_REPLACE 316 -#define TK_RESTRICT 317 -#define TK_ROW 318 -#define TK_SEMI 319 -#define TK_STAR 320 -#define TK_STATEMENT 321 -#define TK_STRICT 322 -#define TK_STRING 323 -#define TK_TIMES 324 -#define TK_VALUES 325 -#define TK_VARIABLE 326 -#define TK_VIEW 327 -#define TK_WAL 328 +#define TK_LEADER 208 +#define TK_MERGE 209 +#define TK_REDISTRIBUTE 210 +#define TK_SPLIT 211 +#define TK_DELETE 212 +#define TK_INSERT 213 +#define TK_NULL 214 +#define TK_NK_QUESTION 215 +#define TK_NK_ARROW 216 +#define TK_ROWTS 217 +#define TK_QSTART 218 +#define TK_QEND 219 +#define TK_QDURATION 220 +#define TK_WSTART 221 +#define TK_WEND 222 +#define TK_WDURATION 223 +#define TK_IROWTS 224 +#define TK_ISFILLED 225 +#define TK_CAST 226 +#define TK_NOW 227 +#define TK_TODAY 228 +#define TK_TIMEZONE 229 +#define TK_CLIENT_VERSION 230 +#define TK_SERVER_VERSION 231 +#define TK_SERVER_STATUS 232 +#define TK_CURRENT_USER 233 +#define TK_CASE 234 +#define TK_WHEN 235 +#define TK_THEN 236 +#define TK_ELSE 237 +#define TK_BETWEEN 238 +#define TK_IS 239 +#define TK_NK_LT 240 +#define TK_NK_GT 241 +#define TK_NK_LE 242 +#define TK_NK_GE 243 +#define TK_NK_NE 244 +#define TK_MATCH 245 +#define TK_NMATCH 246 +#define TK_CONTAINS 247 +#define TK_IN 248 +#define TK_JOIN 249 +#define TK_INNER 250 +#define TK_SELECT 251 +#define TK_DISTINCT 252 +#define TK_WHERE 253 +#define TK_PARTITION 254 +#define TK_BY 255 +#define TK_SESSION 256 +#define TK_STATE_WINDOW 257 +#define TK_EVENT_WINDOW 258 +#define TK_SLIDING 259 +#define TK_FILL 260 +#define TK_VALUE 261 +#define TK_VALUE_F 262 +#define TK_NONE 263 +#define TK_PREV 264 +#define TK_NULL_F 265 +#define TK_LINEAR 266 +#define TK_NEXT 267 +#define TK_HAVING 268 +#define TK_RANGE 269 +#define TK_EVERY 270 +#define TK_ORDER 271 +#define TK_SLIMIT 272 +#define TK_SOFFSET 273 +#define TK_LIMIT 274 +#define TK_OFFSET 275 +#define TK_ASC 276 +#define TK_NULLS 277 +#define TK_ABORT 278 +#define TK_AFTER 279 +#define TK_ATTACH 280 +#define TK_BEFORE 281 +#define TK_BEGIN 282 +#define TK_BITAND 283 +#define TK_BITNOT 284 +#define TK_BITOR 285 +#define TK_BLOCKS 286 +#define TK_CHANGE 287 +#define TK_COMMA 288 +#define TK_CONCAT 289 +#define TK_CONFLICT 290 +#define TK_COPY 291 +#define TK_DEFERRED 292 +#define TK_DELIMITERS 293 +#define TK_DETACH 294 +#define TK_DIVIDE 295 +#define TK_DOT 296 +#define TK_EACH 297 +#define TK_FAIL 298 +#define TK_FILE 299 +#define TK_FOR 300 +#define TK_GLOB 301 +#define TK_ID 302 +#define TK_IMMEDIATE 303 +#define TK_IMPORT 304 +#define TK_INITIALLY 305 +#define TK_INSTEAD 306 +#define TK_ISNULL 307 +#define TK_KEY 308 +#define TK_MODULES 309 +#define TK_NK_BITNOT 310 +#define TK_NK_SEMI 311 +#define TK_NOTNULL 312 +#define TK_OF 313 +#define TK_PLUS 314 +#define TK_PRIVILEGE 315 +#define TK_RAISE 316 +#define TK_REPLACE 317 +#define TK_RESTRICT 318 +#define TK_ROW 319 +#define TK_SEMI 320 +#define TK_STAR 321 +#define TK_STATEMENT 322 +#define TK_STRICT 323 +#define TK_STRING 324 +#define TK_TIMES 325 +#define TK_VALUES 326 +#define TK_VARIABLE 327 +#define TK_VIEW 328 +#define TK_WAL 329 #define TK_NK_SPACE 600 #define TK_NK_COMMENT 601 diff --git a/include/libs/nodes/cmdnodes.h b/include/libs/nodes/cmdnodes.h index fefcc28bc2..c716d77b32 100644 --- a/include/libs/nodes/cmdnodes.h +++ b/include/libs/nodes/cmdnodes.h @@ -466,6 +466,10 @@ typedef struct SBalanceVgroupStmt { ENodeType type; } SBalanceVgroupStmt; +typedef struct SBalanceVgroupLeaderStmt { + ENodeType type; +} SBalanceVgroupLeaderStmt; + typedef struct SMergeVgroupStmt { ENodeType type; int32_t vgId1; diff --git a/include/libs/nodes/nodes.h b/include/libs/nodes/nodes.h index a2e4c76adc..3556a8ac95 100644 --- a/include/libs/nodes/nodes.h +++ b/include/libs/nodes/nodes.h @@ -209,7 +209,8 @@ typedef enum ENodeType { QUERY_NODE_INSERT_STMT, QUERY_NODE_QUERY, QUERY_NODE_SHOW_DB_ALIVE_STMT, - QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT, + QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT, + QUERY_NODE_BALANCE_VGROUP_LEADER_STMT, // logic plan node QUERY_NODE_LOGIC_PLAN_SCAN = 1000, diff --git a/include/libs/sync/sync.h b/include/libs/sync/sync.h index 189484d1a6..8f3c686ffd 100644 --- a/include/libs/sync/sync.h +++ b/include/libs/sync/sync.h @@ -245,6 +245,7 @@ bool syncIsReadyForRead(int64_t rid); bool syncSnapshotSending(int64_t rid); bool syncSnapshotRecving(int64_t rid); int32_t syncSendTimeoutRsp(int64_t rid, int64_t seq); +int32_t syncLeaderForceElection(int64_t rid); SSyncState syncGetState(int64_t rid); void syncGetRetryEpSet(int64_t rid, SEpSet* pEpSet); diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index cffa2ab90a..884a346bb8 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -4447,6 +4447,31 @@ int32_t tDeserializeSBalanceVgroupReq(void *buf, int32_t bufLen, SBalanceVgroupR return 0; } +int32_t tSerializeSBalanceVgroupLeaderReq(void *buf, int32_t bufLen, SBalanceVgroupLeaderReq *pReq) { + SEncoder encoder = {0}; + tEncoderInit(&encoder, buf, bufLen); + + if (tStartEncode(&encoder) < 0) return -1; + if (tEncodeI32(&encoder, pReq->useless) < 0) return -1; + tEndEncode(&encoder); + + int32_t tlen = encoder.pos; + tEncoderClear(&encoder); + return tlen; +} + +int32_t tDeserializeSBalanceVgroupLeaderReq(void *buf, int32_t bufLen, SBalanceVgroupLeaderReq *pReq) { + SDecoder decoder = {0}; + tDecoderInit(&decoder, buf, bufLen); + + if (tStartDecode(&decoder) < 0) return -1; + if (tDecodeI32(&decoder, &pReq->useless) < 0) return -1; + tEndDecode(&decoder); + + tDecoderClear(&decoder); + return 0; +} + int32_t tSerializeSMergeVgroupReq(void *buf, int32_t bufLen, SMergeVgroupReq *pReq) { SEncoder encoder = {0}; tEncoderInit(&encoder, buf, bufLen); @@ -4530,6 +4555,31 @@ int32_t tDeserializeSSplitVgroupReq(void *buf, int32_t bufLen, SSplitVgroupReq * return 0; } +int32_t tSerializeSForceElectionReq(void *buf, int32_t bufLen, SForceElectionReq *pReq) { + SEncoder encoder = {0}; + tEncoderInit(&encoder, buf, bufLen); + + if (tStartEncode(&encoder) < 0) return -1; + if (tEncodeI32(&encoder, pReq->vgId) < 0) return -1; + tEndEncode(&encoder); + + int32_t tlen = encoder.pos; + tEncoderClear(&encoder); + return tlen; +} + +int32_t tDeserializeSForceElectionReq(void *buf, int32_t bufLen, SForceElectionReq *pReq) { + SDecoder decoder = {0}; + tDecoderInit(&decoder, buf, bufLen); + + if (tStartDecode(&decoder) < 0) return -1; + if (tDecodeI32(&decoder, &pReq->vgId) < 0) return -1; + tEndDecode(&decoder); + + tDecoderClear(&decoder); + return 0; +} + int32_t tSerializeSDCreateMnodeReq(void *buf, int32_t bufLen, SDCreateMnodeReq *pReq) { SEncoder encoder = {0}; tEncoderInit(&encoder, buf, bufLen); diff --git a/source/dnode/mgmt/mgmt_mnode/src/mmHandle.c b/source/dnode/mgmt/mgmt_mnode/src/mmHandle.c index fe65c3dde9..0fa889169e 100644 --- a/source/dnode/mgmt/mgmt_mnode/src/mmHandle.c +++ b/source/dnode/mgmt/mgmt_mnode/src/mmHandle.c @@ -92,6 +92,7 @@ SArray *mmGetMsgHandles() { if (dmSetMgmtHandle(pArray, TDMT_DND_CREATE_VNODE_RSP, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_DND_DROP_VNODE_RSP, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_DND_CONFIG_DNODE_RSP, mmPutMsgToReadQueue, 0) == NULL) goto _OVER; + if (dmSetMgmtHandle(pArray, TDMT_DND_FORCE_ELECTION_RSP, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_MND_CONNECT, mmPutMsgToReadQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_MND_CREATE_ACCT, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; @@ -126,6 +127,7 @@ SArray *mmGetMsgHandles() { if (dmSetMgmtHandle(pArray, TDMT_MND_MERGE_VGROUP, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_MND_SPLIT_VGROUP, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_MND_BALANCE_VGROUP, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; + if (dmSetMgmtHandle(pArray, TDMT_MND_BALANCE_VGROUP_LEADER, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_MND_CREATE_FUNC, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_MND_RETRIEVE_FUNC, mmPutMsgToReadQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_MND_DROP_FUNC, mmPutMsgToWriteQueue, 0) == NULL) goto _OVER; diff --git a/source/dnode/mgmt/mgmt_vnode/inc/vmInt.h b/source/dnode/mgmt/mgmt_vnode/inc/vmInt.h index e3fa2964b7..d10565975b 100644 --- a/source/dnode/mgmt/mgmt_vnode/inc/vmInt.h +++ b/source/dnode/mgmt/mgmt_vnode/inc/vmInt.h @@ -86,6 +86,7 @@ void vmCloseVnode(SVnodeMgmt *pMgmt, SVnodeObj *pVnode, bool commitAndRemo // vmHandle.c SArray *vmGetMsgHandles(); int32_t vmProcessCreateVnodeReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg); +int32_t vmProcessForceElectionReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg); int32_t vmProcessDropVnodeReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg); int32_t vmProcessAlterVnodeReplicaReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg); int32_t vmProcessDisableVnodeWriteReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg); diff --git a/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c b/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c index d7f91b74a8..92429a4157 100644 --- a/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c +++ b/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c @@ -304,6 +304,26 @@ int32_t vmProcessDisableVnodeWriteReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg) { return 0; } +int32_t vmProcessForceElectionReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg){ + SForceElectionReq req = {0}; + + if (tDeserializeSForceElectionReq(pMsg->pCont, pMsg->contLen, &req) != 0) { + terrno = TSDB_CODE_INVALID_MSG; + return -1; + } + + SVnodeObj *pVnode = vmAcquireVnode(pMgmt, req.vgId); + if (pVnode == NULL) { + dError("vgId:%d, failed to alter hashrange since %s", req.vgId, terrstr()); + terrno = TSDB_CODE_VND_NOT_EXIST; + return -1; + } + + vnodeForceElection(pVnode->pImpl); + + return 0; +} + int32_t vmProcessAlterHashRangeReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg) { SAlterVnodeHashRangeReq req = {0}; if (tDeserializeSAlterVnodeHashRangeReq(pMsg->pCont, pMsg->contLen, &req) != 0) { @@ -548,6 +568,7 @@ SArray *vmGetMsgHandles() { if (dmSetMgmtHandle(pArray, TDMT_VND_TRIM, vmPutMsgToWriteQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_DND_CREATE_VNODE, vmPutMsgToMgmtQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_DND_DROP_VNODE, vmPutMsgToMgmtQueue, 0) == NULL) goto _OVER; + if (dmSetMgmtHandle(pArray, TDMT_DND_FORCE_ELECTION, vmPutMsgToMgmtQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_SYNC_TIMEOUT, vmPutMsgToSyncQueue, 0) == NULL) goto _OVER; if (dmSetMgmtHandle(pArray, TDMT_SYNC_CLIENT_REQUEST, vmPutMsgToSyncQueue, 0) == NULL) goto _OVER; diff --git a/source/dnode/mgmt/mgmt_vnode/src/vmWorker.c b/source/dnode/mgmt/mgmt_vnode/src/vmWorker.c index 7aa1c9f56a..e0f141639e 100644 --- a/source/dnode/mgmt/mgmt_vnode/src/vmWorker.c +++ b/source/dnode/mgmt/mgmt_vnode/src/vmWorker.c @@ -37,6 +37,9 @@ static void vmProcessMgmtQueue(SQueueInfo *pInfo, SRpcMsg *pMsg) { case TDMT_DND_CREATE_VNODE: code = vmProcessCreateVnodeReq(pMgmt, pMsg); break; + case TDMT_DND_FORCE_ELECTION: + code = vmProcessForceElectionReq(pMgmt, pMsg); + break; case TDMT_DND_DROP_VNODE: code = vmProcessDropVnodeReq(pMgmt, pMsg); break; diff --git a/source/dnode/mnode/impl/src/mndConsumer.c b/source/dnode/mnode/impl/src/mndConsumer.c index f1ef83aca5..49676ace11 100644 --- a/source/dnode/mnode/impl/src/mndConsumer.c +++ b/source/dnode/mnode/impl/src/mndConsumer.c @@ -77,7 +77,7 @@ void mndCleanupConsumer(SMnode *pMnode) {} bool mndRebTryStart() { int32_t old = atomic_val_compare_exchange_32(&mqRebInExecCnt, 0, 1); - mInfo("tq timer, rebalance counter old val:%d", old); + mDebug("tq timer, rebalance counter old val:%d", old); return old == 0; } @@ -101,7 +101,7 @@ void mndRebCntDec() { int32_t newVal = val - 1; int32_t oldVal = atomic_val_compare_exchange_32(&mqRebInExecCnt, val, newVal); if (oldVal == val) { - mInfo("rebalance trans end, rebalance counter:%d", newVal); + mDebug("rebalance trans end, rebalance counter:%d", newVal); break; } } @@ -356,7 +356,7 @@ static int32_t mndProcessMqTimerMsg(SRpcMsg *pMsg) { } else { taosHashCleanup(pRebMsg->rebSubHash); rpcFreeCont(pRebMsg); - mInfo("mq rebalance finished, no modification"); + mDebug("mq rebalance finished, no modification"); mndRebEnd(); } return 0; diff --git a/source/dnode/mnode/impl/src/mndVgroup.c b/source/dnode/mnode/impl/src/mndVgroup.c index 84e8a9ec43..2315bf89c6 100644 --- a/source/dnode/mnode/impl/src/mndVgroup.c +++ b/source/dnode/mnode/impl/src/mndVgroup.c @@ -40,6 +40,7 @@ static void mndCancelGetNextVnode(SMnode *pMnode, void *pIter); static int32_t mndProcessRedistributeVgroupMsg(SRpcMsg *pReq); static int32_t mndProcessSplitVgroupMsg(SRpcMsg *pReq); static int32_t mndProcessBalanceVgroupMsg(SRpcMsg *pReq); +static int32_t mndProcessVgroupBalanceLeaderMsg(SRpcMsg *pReq); int32_t mndInitVgroup(SMnode *pMnode) { SSdbTable table = { @@ -60,10 +61,13 @@ int32_t mndInitVgroup(SMnode *pMnode) { mndSetMsgHandle(pMnode, TDMT_DND_DROP_VNODE_RSP, mndTransProcessRsp); mndSetMsgHandle(pMnode, TDMT_VND_COMPACT_RSP, mndTransProcessRsp); mndSetMsgHandle(pMnode, TDMT_VND_DISABLE_WRITE_RSP, mndTransProcessRsp); + mndSetMsgHandle(pMnode, TDMT_DND_FORCE_ELECTION_RSP, mndTransProcessRsp); mndSetMsgHandle(pMnode, TDMT_MND_REDISTRIBUTE_VGROUP, mndProcessRedistributeVgroupMsg); mndSetMsgHandle(pMnode, TDMT_MND_SPLIT_VGROUP, mndProcessSplitVgroupMsg); + //mndSetMsgHandle(pMnode, TDMT_MND_BALANCE_VGROUP, mndProcessVgroupBalanceLeaderMsg); mndSetMsgHandle(pMnode, TDMT_MND_BALANCE_VGROUP, mndProcessBalanceVgroupMsg); + mndSetMsgHandle(pMnode, TDMT_MND_BALANCE_VGROUP_LEADER, mndProcessVgroupBalanceLeaderMsg); mndAddShowRetrieveHandle(pMnode, TSDB_MGMT_TABLE_VGROUP, mndRetrieveVgroups); mndAddShowFreeIterHandle(pMnode, TSDB_MGMT_TABLE_VGROUP, mndCancelGetNextVgroup); @@ -1770,6 +1774,157 @@ _OVER: return code; } +static void *mndBuildSForceElectionReq(SMnode *pMnode, SVgObj *pVgroup, int32_t dnodeId, + int32_t *pContLen) { + SForceElectionReq balanceReq = { + .vgId = pVgroup->vgId, + }; + + int32_t contLen = tSerializeSForceElectionReq(NULL, 0, &balanceReq); + if (contLen < 0) { + terrno = TSDB_CODE_OUT_OF_MEMORY; + return NULL; + } + + void *pReq = taosMemoryMalloc(contLen); + if (pReq == NULL) { + terrno = TSDB_CODE_OUT_OF_MEMORY; + return NULL; + } + + tSerializeSForceElectionReq((char *)pReq, contLen, &balanceReq); + *pContLen = contLen; + return pReq; +} + +int32_t mndAddBalanceVgroupLeaderAction(SMnode *pMnode, STrans *pTrans, SVgObj *pVgroup, int32_t dnodeId) { + SDnodeObj *pDnode = mndAcquireDnode(pMnode, dnodeId); + if (pDnode == NULL) return -1; + + STransAction action = {0}; + action.epSet = mndGetDnodeEpset(pDnode); + mndReleaseDnode(pMnode, pDnode); + + int32_t contLen = 0; + void *pReq = mndBuildSForceElectionReq(pMnode, pVgroup, dnodeId, &contLen); + if (pReq == NULL) return -1; + + action.pCont = pReq; + action.contLen = contLen; + action.msgType = TDMT_DND_FORCE_ELECTION; + + if (mndTransAppendRedoAction(pTrans, &action) != 0) { + taosMemoryFree(pReq); + return -1; + } + + return 0; +} + +int32_t mndAddVgroupBalanceToTrans(SMnode *pMnode, SVgObj *pVgroup, STrans *pTrans){ + SSdb *pSdb = pMnode->pSdb; + + int32_t vgid = pVgroup->vgId; + int8_t replica = pVgroup->replica; + + if(pVgroup->replica <= 1) { + mInfo("trans:%d, vgid:%d no need to balance, replica:%d", pTrans->id, vgid, replica); + return -1; + } + + int32_t index = vgid%replica; + int32_t dnodeId = pVgroup->vnodeGid[index].dnodeId; + + bool exist = false; + bool online = false; + int64_t curMs = taosGetTimestampMs(); + SDnodeObj *pDnode = mndAcquireDnode(pMnode, dnodeId); + if (pDnode != NULL) { + exist = true; + online = mndIsDnodeOnline(pDnode, curMs); + mndReleaseDnode(pMnode, pDnode); + } + + if(exist && online) + { + mInfo("trans:%d, vgid:%d leader to dnode:%d", pTrans->id, vgid, dnodeId); + + if (mndAddBalanceVgroupLeaderAction(pMnode, pTrans, pVgroup, dnodeId) != 0) { + mError("trans:%d, vgid:%d failed to be balanced to dnode:%d", pTrans->id, vgid, dnodeId); + return -1; + } + + SSdbRaw *pRaw = mndVgroupActionEncode(pVgroup); + if (pRaw == NULL) { + mError("trans:%d, vgid:%d failed to encode action to dnode:%d", pTrans->id, vgid, dnodeId); + return -1; + } + if (mndTransAppendCommitlog(pTrans, pRaw) != 0) { + sdbFreeRaw(pRaw); + mError("trans:%d, vgid:%d failed to append commit log dnode:%d", pTrans->id, vgid, dnodeId); + return -1; + } + (void)sdbSetRawStatus(pRaw, SDB_STATUS_READY); + } + else + { + mInfo("trans:%d, vgid:%d cant be balanced to dnode:%d, exist:%d, online:%d", pTrans->id, vgid, dnodeId, exist, online); + } + + return 0; +} + +int32_t mndProcessVgroupBalanceLeaderMsg(SRpcMsg *pReq) { + int32_t code = -1; + + SBalanceVgroupLeaderReq req = {0}; + if (tDeserializeSBalanceVgroupLeaderReq(pReq->pCont, pReq->contLen, &req) != 0) { + terrno = TSDB_CODE_INVALID_MSG; + return code; + } + + SMnode *pMnode = pReq->info.node; + SSdb *pSdb = pMnode->pSdb; + + int32_t total = sdbGetSize(pSdb, SDB_VGROUP); + if(total <= 0) { + terrno = TSDB_CODE_TSC_INVALID_OPERATION; + return code; + } + + STrans *pTrans = NULL; + pTrans = mndTransCreate(pMnode, TRN_POLICY_RETRY, TRN_CONFLICT_NOTHING, pReq, "bal-vg-leader"); + if (pTrans == NULL) goto _OVER; + mndTransSetSerial(pTrans); + mInfo("trans:%d, used to balance vgroup leader", pTrans->id); + + void *pIter = NULL; + int32_t count = 0; + while (1) { + SVgObj *pVgroup = NULL; + pIter = sdbFetch(pSdb, SDB_VGROUP, pIter, (void **)&pVgroup); + if (pIter == NULL) break; + + if(mndAddVgroupBalanceToTrans(pMnode, pVgroup, pTrans) == 0){ + count++; + } + + sdbRelease(pSdb, pVgroup); + } + + if(count == 0) { + terrno = TSDB_CODE_TSC_INVALID_OPERATION; + goto _OVER; + } + + if (mndTransPrepare(pMnode, pTrans) != 0) goto _OVER; + code = 0; + +_OVER: + mndTransDrop(pTrans); + return code; +} + static int32_t mndCheckDnodeMemory(SMnode *pMnode, SDbObj *pOldDb, SDbObj *pNewDb, SVgObj *pOldVgroup, SVgObj *pNewVgroup, SArray *pArray) { for (int32_t i = 0; i < (int32_t)taosArrayGetSize(pArray); ++i) { diff --git a/source/dnode/vnode/inc/vnode.h b/source/dnode/vnode/inc/vnode.h index 1d14829891..91e1bcde4e 100644 --- a/source/dnode/vnode/inc/vnode.h +++ b/source/dnode/vnode/inc/vnode.h @@ -56,6 +56,7 @@ void vnodeDestroy(const char *path, STfs *pTfs); SVnode *vnodeOpen(const char *path, STfs *pTfs, SMsgCb msgCb); void vnodePreClose(SVnode *pVnode); void vnodePostClose(SVnode *pVnode); +void vnodeForceElection(SVnode *pVnode); void vnodeSyncCheckTimeout(SVnode *pVnode); void vnodeClose(SVnode *pVnode); int32_t vnodeSyncCommit(SVnode *pVnode); diff --git a/source/dnode/vnode/src/vnd/vnodeOpen.c b/source/dnode/vnode/src/vnd/vnodeOpen.c index c7d155be0d..c5f9412461 100644 --- a/source/dnode/vnode/src/vnd/vnodeOpen.c +++ b/source/dnode/vnode/src/vnd/vnodeOpen.c @@ -380,6 +380,10 @@ void vnodePreClose(SVnode *pVnode) { void vnodePostClose(SVnode *pVnode) { vnodeSyncPostClose(pVnode); } +void vnodeForceElection(SVnode *pVnode) { + syncLeaderForceElection(pVnode->sync); +} + void vnodeClose(SVnode *pVnode) { if (pVnode) { tsem_wait(&pVnode->canCommit); diff --git a/source/libs/nodes/src/nodesCodeFuncs.c b/source/libs/nodes/src/nodesCodeFuncs.c index e18de1c1d2..0aeb83ce08 100644 --- a/source/libs/nodes/src/nodesCodeFuncs.c +++ b/source/libs/nodes/src/nodesCodeFuncs.c @@ -173,6 +173,8 @@ const char* nodesNodeName(ENodeType type) { return "DropStreamStmt"; case QUERY_NODE_BALANCE_VGROUP_STMT: return "BalanceVgroupStmt"; + case QUERY_NODE_BALANCE_VGROUP_LEADER_STMT: + return "BalanceVgroupLeaderStmt"; case QUERY_NODE_MERGE_VGROUP_STMT: return "MergeVgroupStmt"; case QUERY_NODE_SHOW_DB_ALIVE_STMT: @@ -6433,6 +6435,8 @@ static int32_t specificNodeToJson(const void* pObj, SJson* pJson) { return dropStreamStmtToJson(pObj, pJson); case QUERY_NODE_BALANCE_VGROUP_STMT: return TSDB_CODE_SUCCESS; // SBalanceVgroupStmt has no fields to serialize. + case QUERY_NODE_BALANCE_VGROUP_LEADER_STMT: + return TSDB_CODE_SUCCESS; // SBalanceVgroupLeaderStmt has no fields to serialize. case QUERY_NODE_MERGE_VGROUP_STMT: return mergeVgroupStmtToJson(pObj, pJson); case QUERY_NODE_REDISTRIBUTE_VGROUP_STMT: @@ -6741,6 +6745,8 @@ static int32_t jsonToSpecificNode(const SJson* pJson, void* pObj) { return jsonToDropStreamStmt(pJson, pObj); case QUERY_NODE_BALANCE_VGROUP_STMT: return TSDB_CODE_SUCCESS; // SBalanceVgroupStmt has no fields to deserialize. + case QUERY_NODE_BALANCE_VGROUP_LEADER_STMT: + return TSDB_CODE_SUCCESS; // SBalanceVgroupLeaderStmt has no fields to deserialize. case QUERY_NODE_MERGE_VGROUP_STMT: return jsonToMergeVgroupStmt(pJson, pObj); case QUERY_NODE_REDISTRIBUTE_VGROUP_STMT: diff --git a/source/libs/nodes/src/nodesUtilFuncs.c b/source/libs/nodes/src/nodesUtilFuncs.c index 889e254837..4180ba1d6c 100644 --- a/source/libs/nodes/src/nodesUtilFuncs.c +++ b/source/libs/nodes/src/nodesUtilFuncs.c @@ -386,6 +386,8 @@ SNode* nodesMakeNode(ENodeType type) { return makeNode(type, sizeof(SDropStreamStmt)); case QUERY_NODE_BALANCE_VGROUP_STMT: return makeNode(type, sizeof(SBalanceVgroupStmt)); + case QUERY_NODE_BALANCE_VGROUP_LEADER_STMT: + return makeNode(type, sizeof(SBalanceVgroupLeaderStmt)); case QUERY_NODE_MERGE_VGROUP_STMT: return makeNode(type, sizeof(SMergeVgroupStmt)); case QUERY_NODE_REDISTRIBUTE_VGROUP_STMT: @@ -942,6 +944,7 @@ void nodesDestroyNode(SNode* pNode) { } case QUERY_NODE_DROP_STREAM_STMT: // no pointer field case QUERY_NODE_BALANCE_VGROUP_STMT: // no pointer field + case QUERY_NODE_BALANCE_VGROUP_LEADER_STMT: // no pointer field case QUERY_NODE_MERGE_VGROUP_STMT: // no pointer field break; case QUERY_NODE_REDISTRIBUTE_VGROUP_STMT: diff --git a/source/libs/parser/inc/parAst.h b/source/libs/parser/inc/parAst.h index 10d4adf17d..fb5ac12970 100644 --- a/source/libs/parser/inc/parAst.h +++ b/source/libs/parser/inc/parAst.h @@ -223,6 +223,7 @@ SNode* createDropStreamStmt(SAstCreateContext* pCxt, bool ignoreNotExists, SToke SNode* createKillStmt(SAstCreateContext* pCxt, ENodeType type, const SToken* pId); SNode* createKillQueryStmt(SAstCreateContext* pCxt, const SToken* pQueryId); SNode* createBalanceVgroupStmt(SAstCreateContext* pCxt); +SNode* createBalanceVgroupLeaderStmt(SAstCreateContext* pCxt); SNode* createMergeVgroupStmt(SAstCreateContext* pCxt, const SToken* pVgId1, const SToken* pVgId2); SNode* createRedistributeVgroupStmt(SAstCreateContext* pCxt, const SToken* pVgId, SNodeList* pDnodes); SNode* createSplitVgroupStmt(SAstCreateContext* pCxt, const SToken* pVgId); diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index e70ee1e5d8..584697e5c2 100644 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -609,6 +609,7 @@ cmd ::= KILL TRANSACTION NK_INTEGER(A). /************************************************ merge/redistribute/ vgroup ******************************************/ cmd ::= BALANCE VGROUP. { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } +cmd ::= BALANCE VGROUP LEADER. { pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt); } cmd ::= MERGE VGROUP NK_INTEGER(A) NK_INTEGER(B). { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &A, &B); } cmd ::= REDISTRIBUTE VGROUP NK_INTEGER(A) dnode_list(B). { pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &A, B); } cmd ::= SPLIT VGROUP NK_INTEGER(A). { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &A); } diff --git a/source/libs/parser/src/parAstCreater.c b/source/libs/parser/src/parAstCreater.c index 40c47a8114..8cd7c1c03b 100644 --- a/source/libs/parser/src/parAstCreater.c +++ b/source/libs/parser/src/parAstCreater.c @@ -1952,6 +1952,13 @@ SNode* createBalanceVgroupStmt(SAstCreateContext* pCxt) { return (SNode*)pStmt; } +SNode* createBalanceVgroupLeaderStmt(SAstCreateContext* pCxt) { + CHECK_PARSER_STATUS(pCxt); + SBalanceVgroupLeaderStmt* pStmt = (SBalanceVgroupLeaderStmt*)nodesMakeNode(QUERY_NODE_BALANCE_VGROUP_LEADER_STMT); + CHECK_OUT_OF_MEM(pStmt); + return (SNode*)pStmt; +} + SNode* createMergeVgroupStmt(SAstCreateContext* pCxt, const SToken* pVgId1, const SToken* pVgId2) { CHECK_PARSER_STATUS(pCxt); SMergeVgroupStmt* pStmt = (SMergeVgroupStmt*)nodesMakeNode(QUERY_NODE_MERGE_VGROUP_STMT); diff --git a/source/libs/parser/src/parTokenizer.c b/source/libs/parser/src/parTokenizer.c index 366831ee1a..ed7e8acdee 100644 --- a/source/libs/parser/src/parTokenizer.c +++ b/source/libs/parser/src/parTokenizer.c @@ -127,6 +127,7 @@ static SKeyword keywordTable[] = { {"LANGUAGE", TK_LANGUAGE}, {"LAST", TK_LAST}, {"LAST_ROW", TK_LAST_ROW}, + {"LEADER", TK_LEADER}, {"LICENCES", TK_LICENCES}, {"LIKE", TK_LIKE}, {"LIMIT", TK_LIMIT}, diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index 94449649ad..11f0a5824a 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -6469,6 +6469,11 @@ static int32_t translateBalanceVgroup(STranslateContext* pCxt, SBalanceVgroupStm return buildCmdMsg(pCxt, TDMT_MND_BALANCE_VGROUP, (FSerializeFunc)tSerializeSBalanceVgroupReq, &req); } +static int32_t translateBalanceVgroupLeader(STranslateContext* pCxt, SBalanceVgroupLeaderStmt* pStmt) { + SBalanceVgroupLeaderReq req = {0}; + return buildCmdMsg(pCxt, TDMT_MND_BALANCE_VGROUP_LEADER, (FSerializeFunc)tSerializeSBalanceVgroupLeaderReq, &req); +} + static int32_t translateMergeVgroup(STranslateContext* pCxt, SMergeVgroupStmt* pStmt) { SMergeVgroupReq req = {.vgId1 = pStmt->vgId1, .vgId2 = pStmt->vgId2}; return buildCmdMsg(pCxt, TDMT_MND_MERGE_VGROUP, (FSerializeFunc)tSerializeSMergeVgroupReq, &req); @@ -6680,6 +6685,9 @@ static int32_t translateQuery(STranslateContext* pCxt, SNode* pNode) { case QUERY_NODE_BALANCE_VGROUP_STMT: code = translateBalanceVgroup(pCxt, (SBalanceVgroupStmt*)pNode); break; + case QUERY_NODE_BALANCE_VGROUP_LEADER_STMT: + code = translateBalanceVgroupLeader(pCxt, (SBalanceVgroupLeaderStmt*)pNode); + break; case QUERY_NODE_MERGE_VGROUP_STMT: code = translateMergeVgroup(pCxt, (SMergeVgroupStmt*)pNode); break; diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index 7427ccba9f..529cf57644 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -104,26 +104,26 @@ #endif /************* Begin control #defines *****************************************/ #define YYCODETYPE unsigned short int -#define YYNOCODE 473 +#define YYNOCODE 474 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; - EOperatorType yy62; - SToken yy63; - EOrder yy158; - SNodeList* yy222; - SAlterOption yy233; - int32_t yy332; - int64_t yy393; - EJoinType yy574; - bool yy669; - ENullOrder yy675; - SDataType yy686; - int8_t yy707; - EFillMode yy822; - SNode* yy828; + int32_t yy136; + SDataType yy160; + SNodeList* yy172; + SNode* yy188; + int64_t yy189; + EOrder yy206; + EJoinType yy240; + int8_t yy371; + bool yy437; + SAlterOption yy653; + EFillMode yy654; + EOperatorType yy716; + SToken yy725; + ENullOrder yy913; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -139,17 +139,17 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 758 -#define YYNRULE 578 -#define YYNTOKEN 329 -#define YY_MAX_SHIFT 757 -#define YY_MIN_SHIFTREDUCE 1129 -#define YY_MAX_SHIFTREDUCE 1706 -#define YY_ERROR_ACTION 1707 -#define YY_ACCEPT_ACTION 1708 -#define YY_NO_ACTION 1709 -#define YY_MIN_REDUCE 1710 -#define YY_MAX_REDUCE 2287 +#define YYNSTATE 759 +#define YYNRULE 579 +#define YYNTOKEN 330 +#define YY_MAX_SHIFT 758 +#define YY_MIN_SHIFTREDUCE 1130 +#define YY_MAX_SHIFTREDUCE 1708 +#define YY_ERROR_ACTION 1709 +#define YY_ACCEPT_ACTION 1710 +#define YY_NO_ACTION 1711 +#define YY_MIN_REDUCE 1712 +#define YY_MAX_REDUCE 2290 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -216,773 +216,775 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (2833) +#define YY_ACTTAB_COUNT (2842) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 2085, 2263, 1996, 166, 2099, 2258, 493, 2117, 494, 1746, - /* 10 */ 1818, 2081, 45, 43, 1634, 604, 1996, 1994, 634, 2085, - /* 20 */ 387, 2262, 1483, 622, 1508, 2259, 2261, 2099, 378, 2202, - /* 30 */ 2081, 1993, 634, 1564, 2035, 1481, 1853, 2117, 44, 42, - /* 40 */ 41, 40, 39, 432, 646, 625, 2077, 2083, 368, 1181, - /* 50 */ 2067, 1180, 663, 633, 647, 2199, 139, 657, 1559, 2263, - /* 60 */ 2117, 603, 1930, 2258, 18, 2077, 2083, 369, 664, 350, - /* 70 */ 132, 1489, 167, 2067, 1722, 663, 657, 532, 1928, 2262, - /* 80 */ 1182, 240, 2098, 2259, 2260, 333, 2134, 1877, 646, 109, - /* 90 */ 2100, 667, 2102, 2103, 662, 2085, 657, 754, 65, 701, - /* 100 */ 14, 179, 509, 2187, 1989, 2098, 2081, 381, 2183, 2134, - /* 110 */ 45, 43, 168, 2100, 667, 2102, 2103, 662, 387, 657, - /* 120 */ 1483, 184, 270, 2195, 621, 141, 133, 620, 2158, 2213, - /* 130 */ 2258, 1564, 1181, 1481, 1180, 392, 1566, 1567, 1923, 1925, - /* 140 */ 610, 2077, 2083, 382, 2258, 609, 182, 222, 35, 291, - /* 150 */ 2259, 611, 657, 586, 2224, 273, 1559, 1854, 632, 609, - /* 160 */ 182, 646, 18, 1182, 2259, 611, 1539, 1549, 48, 1489, - /* 170 */ 1776, 194, 1565, 1568, 38, 37, 178, 647, 44, 42, - /* 180 */ 41, 40, 39, 550, 549, 548, 1484, 511, 1482, 1917, - /* 190 */ 540, 136, 544, 132, 61, 754, 543, 61, 14, 92, - /* 200 */ 537, 542, 547, 360, 359, 499, 502, 541, 494, 1746, - /* 210 */ 1877, 495, 83, 1487, 1488, 82, 1538, 1541, 1542, 1543, - /* 220 */ 1544, 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, 1560, - /* 230 */ 1561, 1562, 1563, 2, 1566, 1567, 731, 730, 729, 728, - /* 240 */ 397, 48, 727, 726, 143, 721, 720, 719, 718, 717, - /* 250 */ 716, 715, 156, 711, 710, 709, 396, 395, 706, 705, - /* 260 */ 704, 703, 702, 605, 1539, 1549, 600, 1673, 701, 699, - /* 270 */ 1565, 1568, 122, 1595, 1254, 121, 120, 119, 118, 117, - /* 280 */ 116, 115, 114, 113, 1484, 699, 1482, 154, 153, 696, - /* 290 */ 695, 694, 151, 38, 37, 1507, 1162, 44, 42, 41, - /* 300 */ 40, 39, 1975, 154, 153, 696, 695, 694, 151, 1708, - /* 310 */ 1256, 1487, 1488, 190, 1538, 1541, 1542, 1543, 1544, 1545, - /* 320 */ 1546, 1547, 1548, 659, 655, 1557, 1558, 1560, 1561, 1562, - /* 330 */ 1563, 2, 11, 45, 43, 1164, 1855, 1167, 1168, 1508, - /* 340 */ 379, 387, 1311, 1483, 185, 32, 633, 185, 164, 345, - /* 350 */ 606, 601, 594, 573, 1564, 1600, 1481, 1879, 1302, 689, - /* 360 */ 688, 687, 1306, 686, 1308, 1309, 685, 682, 86, 1317, - /* 370 */ 679, 1319, 1320, 676, 673, 1711, 31, 400, 2099, 1559, - /* 380 */ 147, 399, 38, 37, 354, 18, 44, 42, 41, 40, - /* 390 */ 39, 185, 1489, 1872, 1593, 631, 122, 1989, 11, 121, - /* 400 */ 120, 119, 118, 117, 116, 115, 114, 113, 38, 37, - /* 410 */ 633, 2117, 44, 42, 41, 40, 39, 390, 754, 661, - /* 420 */ 1511, 14, 470, 585, 2067, 164, 663, 2258, 11, 390, - /* 430 */ 9, 45, 43, 1569, 1879, 282, 283, 161, 1975, 387, - /* 440 */ 281, 1483, 2264, 182, 366, 1509, 1879, 2259, 611, 192, - /* 450 */ 1594, 238, 1564, 1928, 1481, 237, 2098, 1566, 1567, 642, - /* 460 */ 2134, 1989, 1489, 327, 2100, 667, 2102, 2103, 662, 660, - /* 470 */ 657, 648, 2152, 1710, 38, 37, 692, 1559, 44, 42, - /* 480 */ 41, 40, 39, 198, 197, 1400, 1401, 1539, 1549, 1508, - /* 490 */ 1489, 1779, 492, 1565, 1568, 497, 1752, 131, 130, 129, - /* 500 */ 128, 127, 126, 125, 124, 123, 469, 1484, 501, 1482, - /* 510 */ 27, 497, 1752, 713, 89, 340, 754, 426, 364, 46, - /* 520 */ 566, 425, 34, 385, 1588, 1589, 1590, 1591, 1592, 1596, - /* 530 */ 1597, 1598, 1599, 1733, 1487, 1488, 1960, 1538, 1541, 1542, - /* 540 */ 1543, 1544, 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, - /* 550 */ 1560, 1561, 1562, 1563, 2, 1566, 1567, 550, 549, 548, - /* 560 */ 1975, 1345, 1346, 585, 540, 136, 544, 2258, 250, 61, - /* 570 */ 543, 196, 176, 1732, 106, 542, 547, 360, 359, 2067, - /* 580 */ 2099, 541, 2264, 182, 1731, 1539, 1549, 2259, 611, 33, - /* 590 */ 140, 1565, 1568, 352, 1979, 38, 37, 1852, 1869, 44, - /* 600 */ 42, 41, 40, 39, 61, 1484, 2263, 1482, 13, 12, - /* 610 */ 38, 37, 393, 2117, 44, 42, 41, 40, 39, 2067, - /* 620 */ 164, 664, 622, 1510, 546, 545, 2067, 239, 663, 1879, - /* 630 */ 2067, 1866, 1487, 1488, 86, 1538, 1541, 1542, 1543, 1544, - /* 640 */ 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, 1560, 1561, - /* 650 */ 1562, 1563, 2, 45, 43, 139, 49, 2099, 2098, 1873, - /* 660 */ 1868, 387, 2134, 1483, 647, 109, 2100, 667, 2102, 2103, - /* 670 */ 662, 2081, 657, 1509, 1564, 142, 1481, 149, 2158, 2187, - /* 680 */ 187, 38, 37, 381, 2183, 44, 42, 41, 40, 39, - /* 690 */ 2117, 450, 176, 1457, 1458, 1930, 1766, 1877, 664, 1559, - /* 700 */ 449, 622, 365, 2067, 1696, 663, 2077, 2083, 1607, 699, - /* 710 */ 628, 1928, 1489, 419, 1980, 1662, 357, 657, 551, 185, - /* 720 */ 624, 180, 2195, 2196, 647, 137, 2200, 154, 153, 696, - /* 730 */ 695, 694, 151, 1730, 139, 2098, 421, 417, 754, 2134, - /* 740 */ 54, 46, 169, 2100, 667, 2102, 2103, 662, 714, 657, - /* 750 */ 1839, 45, 43, 647, 185, 693, 585, 1877, 1921, 387, - /* 760 */ 2258, 1483, 597, 596, 1660, 1661, 1663, 1664, 1665, 430, - /* 770 */ 163, 272, 1564, 2262, 1481, 2264, 182, 1566, 1567, 2067, - /* 780 */ 2259, 611, 358, 1510, 356, 355, 1877, 534, 1729, 1417, - /* 790 */ 1418, 536, 1638, 614, 612, 2279, 564, 1559, 1508, 2099, - /* 800 */ 181, 2195, 2196, 1728, 137, 2200, 185, 1539, 1549, 562, - /* 810 */ 1489, 560, 535, 1565, 1568, 647, 38, 37, 105, 647, - /* 820 */ 44, 42, 41, 40, 39, 1416, 1419, 1484, 102, 1482, - /* 830 */ 1930, 431, 2117, 1727, 2067, 440, 754, 375, 1574, 14, - /* 840 */ 664, 41, 40, 39, 1508, 2067, 1928, 663, 1877, 2067, - /* 850 */ 2060, 1703, 1877, 1726, 1487, 1488, 1725, 1538, 1541, 1542, - /* 860 */ 1543, 1544, 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, - /* 870 */ 1560, 1561, 1562, 1563, 2, 1566, 1567, 2098, 8, 2067, - /* 880 */ 2061, 2134, 1924, 1925, 110, 2100, 667, 2102, 2103, 662, - /* 890 */ 2086, 657, 649, 100, 2159, 1862, 585, 1724, 2187, 2067, - /* 900 */ 2258, 2081, 2067, 2184, 610, 1539, 1549, 1864, 2258, 1650, - /* 910 */ 164, 1565, 1568, 725, 723, 2264, 182, 1870, 61, 1880, - /* 920 */ 2259, 611, 1511, 609, 182, 1484, 585, 1482, 2259, 611, - /* 930 */ 2258, 272, 538, 1930, 38, 37, 2077, 2083, 44, 42, - /* 940 */ 41, 40, 39, 2067, 1540, 2264, 182, 657, 1702, 1929, - /* 950 */ 2259, 611, 1487, 1488, 1252, 1538, 1541, 1542, 1543, 1544, - /* 960 */ 1545, 1546, 1547, 1548, 659, 655, 1557, 1558, 1560, 1561, - /* 970 */ 1562, 1563, 2, 1511, 336, 165, 1506, 647, 384, 383, - /* 980 */ 311, 571, 2202, 463, 2053, 555, 477, 2099, 1497, 476, - /* 990 */ 1540, 1167, 1168, 455, 309, 72, 2202, 1721, 71, 1564, - /* 1000 */ 565, 1490, 1631, 424, 446, 423, 478, 1720, 2198, 448, - /* 1010 */ 1877, 651, 1483, 2159, 236, 536, 205, 489, 487, 484, - /* 1020 */ 2117, 615, 2197, 622, 1559, 1481, 647, 585, 664, 558, - /* 1030 */ 422, 2258, 407, 2067, 552, 663, 535, 1489, 647, 235, - /* 1040 */ 613, 697, 456, 2067, 1921, 580, 2264, 182, 647, 2207, - /* 1050 */ 1627, 2259, 611, 2067, 510, 353, 139, 61, 51, 1877, - /* 1060 */ 3, 1489, 1723, 653, 1874, 2098, 617, 436, 185, 2134, - /* 1070 */ 191, 1877, 109, 2100, 667, 2102, 2103, 662, 1930, 657, - /* 1080 */ 69, 1877, 1930, 68, 2162, 380, 2187, 754, 1627, 391, - /* 1090 */ 381, 2183, 1860, 1719, 1928, 108, 474, 1718, 1928, 468, - /* 1100 */ 467, 466, 465, 462, 461, 460, 459, 458, 454, 453, - /* 1110 */ 452, 451, 335, 443, 442, 441, 647, 438, 437, 351, - /* 1120 */ 152, 249, 183, 2195, 2196, 1265, 137, 2200, 647, 2227, - /* 1130 */ 698, 647, 241, 1921, 691, 80, 79, 429, 1264, 2067, - /* 1140 */ 189, 2099, 647, 2067, 581, 1717, 1269, 626, 305, 1877, - /* 1150 */ 245, 1907, 1498, 658, 1493, 647, 1508, 647, 630, 1268, - /* 1160 */ 334, 1877, 73, 415, 1877, 413, 409, 405, 402, 422, - /* 1170 */ 1716, 286, 2099, 644, 2117, 1877, 1484, 53, 1482, 1501, - /* 1180 */ 1503, 145, 625, 134, 568, 152, 567, 2067, 1877, 663, - /* 1190 */ 1877, 2067, 655, 1557, 1558, 1560, 1561, 1562, 1563, 647, - /* 1200 */ 479, 647, 1715, 1487, 1488, 2117, 1714, 185, 647, 228, - /* 1210 */ 1713, 81, 226, 664, 539, 645, 2067, 292, 2067, 2098, - /* 1220 */ 663, 481, 2099, 2134, 394, 1759, 109, 2100, 667, 2102, - /* 1230 */ 2103, 662, 1877, 657, 1877, 152, 1250, 63, 179, 2099, - /* 1240 */ 2187, 1877, 1452, 654, 381, 2183, 63, 553, 2067, 1630, - /* 1250 */ 2098, 1757, 2067, 248, 2134, 2117, 2067, 109, 2100, 667, - /* 1260 */ 2102, 2103, 662, 664, 657, 254, 2214, 584, 2067, 2278, - /* 1270 */ 663, 2187, 2117, 556, 1492, 381, 2183, 433, 230, 232, - /* 1280 */ 664, 229, 231, 1705, 1706, 2067, 2221, 663, 234, 152, - /* 1290 */ 434, 233, 1455, 47, 1659, 2088, 618, 90, 279, 2099, - /* 1300 */ 2098, 70, 1540, 1658, 2134, 150, 152, 168, 2100, 667, - /* 1310 */ 2102, 2103, 662, 63, 657, 1491, 1819, 2098, 1211, 2099, - /* 1320 */ 267, 2134, 256, 47, 109, 2100, 667, 2102, 2103, 662, - /* 1330 */ 221, 657, 2117, 13, 12, 598, 2278, 757, 2187, 52, - /* 1340 */ 664, 261, 381, 2183, 1753, 2067, 629, 663, 2090, 2225, - /* 1350 */ 1414, 298, 2117, 2234, 1212, 284, 707, 47, 639, 2118, - /* 1360 */ 664, 708, 288, 1295, 671, 2067, 175, 663, 150, 152, - /* 1370 */ 1601, 398, 747, 743, 739, 735, 296, 2098, 1230, 135, - /* 1380 */ 1550, 2134, 150, 1228, 109, 2100, 667, 2102, 2103, 662, - /* 1390 */ 1984, 657, 1585, 749, 1747, 1918, 2278, 2098, 2187, 2217, - /* 1400 */ 623, 2134, 381, 2183, 109, 2100, 667, 2102, 2103, 662, - /* 1410 */ 266, 657, 269, 592, 304, 4, 2278, 107, 2187, 1, - /* 1420 */ 289, 1323, 381, 2183, 401, 1327, 1334, 1495, 2099, 406, - /* 1430 */ 349, 1437, 299, 2252, 195, 223, 1332, 435, 1511, 155, - /* 1440 */ 472, 1985, 439, 444, 457, 1506, 1977, 464, 2099, 471, - /* 1450 */ 171, 473, 643, 482, 480, 200, 528, 524, 520, 516, - /* 1460 */ 220, 2117, 483, 199, 485, 486, 202, 488, 1494, 664, - /* 1470 */ 490, 1512, 491, 1514, 2067, 503, 663, 500, 208, 1509, - /* 1480 */ 504, 2117, 1513, 210, 1515, 505, 506, 276, 213, 664, - /* 1490 */ 508, 215, 275, 512, 2067, 1184, 663, 84, 85, 529, - /* 1500 */ 219, 87, 530, 531, 218, 533, 2098, 111, 1444, 2044, - /* 1510 */ 2134, 243, 2041, 109, 2100, 667, 2102, 2103, 662, 570, - /* 1520 */ 657, 339, 2099, 1867, 2040, 2278, 2098, 2187, 572, 225, - /* 1530 */ 2134, 381, 2183, 109, 2100, 667, 2102, 2103, 662, 88, - /* 1540 */ 657, 1863, 2206, 227, 242, 2160, 2099, 2187, 157, 575, - /* 1550 */ 158, 381, 2183, 1865, 1861, 2117, 574, 159, 582, 160, - /* 1560 */ 579, 576, 148, 664, 244, 300, 246, 599, 2067, 2218, - /* 1570 */ 663, 217, 211, 2233, 2228, 589, 216, 637, 507, 2117, - /* 1580 */ 608, 595, 2232, 370, 602, 590, 172, 664, 7, 252, - /* 1590 */ 260, 255, 2067, 587, 663, 209, 2099, 588, 371, 263, - /* 1600 */ 2098, 619, 616, 1627, 2134, 138, 2209, 109, 2100, 667, - /* 1610 */ 2102, 2103, 662, 2099, 657, 1510, 264, 262, 627, 650, - /* 1620 */ 265, 2187, 1516, 2203, 2098, 381, 2183, 268, 2134, 2117, - /* 1630 */ 374, 110, 2100, 667, 2102, 2103, 662, 664, 657, 2257, - /* 1640 */ 2281, 274, 2067, 95, 663, 2187, 2117, 1990, 635, 2186, - /* 1650 */ 2183, 301, 636, 302, 664, 2004, 640, 641, 97, 2067, - /* 1660 */ 2003, 663, 2002, 377, 303, 1878, 60, 99, 2168, 101, - /* 1670 */ 669, 1922, 750, 2099, 2098, 308, 306, 295, 2134, 330, - /* 1680 */ 751, 321, 2100, 667, 2102, 2103, 662, 753, 657, 1840, - /* 1690 */ 50, 2098, 341, 2099, 342, 2134, 315, 310, 110, 2100, - /* 1700 */ 667, 2102, 2103, 662, 2059, 657, 2117, 2058, 329, 319, - /* 1710 */ 2057, 77, 2187, 2054, 664, 403, 652, 2183, 404, 2067, - /* 1720 */ 1474, 663, 1475, 188, 408, 607, 2117, 2052, 410, 411, - /* 1730 */ 412, 2051, 414, 2050, 664, 416, 2049, 418, 2048, 2067, - /* 1740 */ 420, 663, 78, 1440, 1439, 2016, 2015, 2014, 2013, 427, - /* 1750 */ 2012, 665, 428, 1391, 1968, 2134, 2099, 1967, 110, 2100, - /* 1760 */ 667, 2102, 2103, 662, 1965, 657, 144, 1964, 1963, 1966, - /* 1770 */ 1962, 2098, 2187, 1961, 1959, 2134, 344, 2183, 169, 2100, - /* 1780 */ 667, 2102, 2103, 662, 193, 657, 1958, 1957, 445, 2117, - /* 1790 */ 1956, 1970, 447, 1955, 376, 1954, 1953, 664, 1952, 1951, - /* 1800 */ 1950, 1949, 2067, 1948, 663, 1947, 1946, 1945, 1944, 1943, - /* 1810 */ 1942, 1941, 1940, 146, 2099, 1939, 1938, 1969, 1937, 1936, - /* 1820 */ 1935, 1934, 1933, 475, 1393, 1932, 1931, 1782, 337, 1262, - /* 1830 */ 338, 2280, 1781, 201, 2098, 1266, 1270, 203, 2134, 2099, - /* 1840 */ 1780, 328, 2100, 667, 2102, 2103, 662, 2117, 657, 1778, - /* 1850 */ 204, 1742, 1170, 1169, 1741, 661, 2031, 2023, 2011, 214, - /* 1860 */ 2067, 62, 663, 75, 2010, 206, 1988, 1856, 1777, 1204, - /* 1870 */ 207, 1775, 2117, 177, 76, 2087, 212, 386, 496, 513, - /* 1880 */ 664, 498, 515, 1773, 514, 2067, 519, 663, 517, 518, - /* 1890 */ 1771, 523, 2098, 522, 521, 1769, 2134, 1756, 525, 327, - /* 1900 */ 2100, 667, 2102, 2103, 662, 1755, 657, 1738, 2153, 527, - /* 1910 */ 1858, 1339, 2099, 526, 1338, 1857, 1253, 2098, 722, 1251, - /* 1920 */ 1249, 2134, 1248, 1247, 328, 2100, 667, 2102, 2103, 662, - /* 1930 */ 724, 657, 1767, 2099, 1246, 1245, 1242, 1241, 1240, 1239, - /* 1940 */ 224, 361, 1760, 362, 554, 2117, 1758, 363, 557, 1737, - /* 1950 */ 388, 1736, 559, 664, 1735, 561, 563, 112, 2067, 1462, - /* 1960 */ 663, 1464, 2099, 1461, 2030, 55, 2117, 1448, 1446, 2022, - /* 1970 */ 1466, 162, 26, 66, 664, 577, 2009, 2007, 2263, 2067, - /* 1980 */ 19, 663, 16, 2099, 58, 59, 259, 258, 30, 28, - /* 1990 */ 2098, 593, 1675, 251, 2134, 2117, 591, 328, 2100, 667, - /* 2000 */ 2102, 2103, 662, 664, 657, 5, 170, 6, 2067, 253, - /* 2010 */ 663, 569, 2088, 1657, 578, 2134, 2117, 20, 323, 2100, - /* 2020 */ 667, 2102, 2103, 662, 664, 657, 64, 257, 21, 2067, - /* 2030 */ 247, 663, 1649, 2099, 17, 29, 1690, 583, 91, 1689, - /* 2040 */ 2098, 372, 1694, 367, 2134, 1693, 373, 312, 2100, 667, - /* 2050 */ 2102, 2103, 662, 1695, 657, 271, 1696, 1624, 2099, 1623, - /* 2060 */ 57, 2098, 173, 2008, 2006, 2134, 2117, 2005, 313, 2100, - /* 2070 */ 667, 2102, 2103, 662, 664, 657, 1987, 94, 93, 2067, - /* 2080 */ 277, 663, 22, 1986, 278, 638, 1655, 280, 285, 67, - /* 2090 */ 96, 2117, 287, 2099, 98, 290, 56, 23, 1576, 664, - /* 2100 */ 102, 1575, 12, 1499, 2067, 2137, 663, 174, 186, 1531, - /* 2110 */ 1554, 2098, 10, 656, 36, 2134, 2099, 15, 314, 2100, - /* 2120 */ 667, 2102, 2103, 662, 24, 657, 2117, 1552, 1551, 1523, - /* 2130 */ 25, 1586, 668, 1324, 664, 672, 2098, 670, 389, 2067, - /* 2140 */ 2134, 663, 1321, 320, 2100, 667, 2102, 2103, 662, 2117, - /* 2150 */ 657, 674, 675, 677, 680, 1318, 678, 664, 1312, 1310, - /* 2160 */ 683, 1301, 2067, 666, 663, 681, 684, 1316, 1315, 1314, - /* 2170 */ 1313, 2098, 293, 103, 2099, 2134, 1333, 104, 324, 2100, - /* 2180 */ 667, 2102, 2103, 662, 690, 657, 74, 1329, 1202, 1236, - /* 2190 */ 700, 1235, 1234, 2099, 2098, 1233, 1232, 1231, 2134, 1229, - /* 2200 */ 1260, 316, 2100, 667, 2102, 2103, 662, 2117, 657, 1227, - /* 2210 */ 712, 1226, 1225, 294, 1223, 664, 1222, 1221, 1220, 1219, - /* 2220 */ 2067, 1218, 663, 1217, 1257, 1255, 2117, 1214, 1213, 1210, - /* 2230 */ 1209, 1208, 1207, 1774, 664, 732, 1772, 733, 734, 2067, - /* 2240 */ 736, 663, 738, 1770, 1768, 740, 737, 742, 744, 741, - /* 2250 */ 745, 746, 2098, 1754, 2099, 748, 2134, 1159, 1734, 325, - /* 2260 */ 2100, 667, 2102, 2103, 662, 1709, 657, 297, 752, 756, - /* 2270 */ 1485, 2098, 307, 755, 1709, 2134, 1709, 1709, 317, 2100, - /* 2280 */ 667, 2102, 2103, 662, 1709, 657, 1709, 2117, 1709, 1709, - /* 2290 */ 1709, 1709, 1709, 1709, 1709, 664, 1709, 1709, 1709, 1709, - /* 2300 */ 2067, 1709, 663, 1709, 1709, 1709, 1709, 1709, 1709, 1709, - /* 2310 */ 1709, 1709, 2099, 1709, 1709, 1709, 1709, 1709, 1709, 1709, - /* 2320 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2099, 1709, - /* 2330 */ 1709, 1709, 2098, 1709, 1709, 1709, 2134, 1709, 1709, 326, - /* 2340 */ 2100, 667, 2102, 2103, 662, 2117, 657, 1709, 1709, 1709, - /* 2350 */ 1709, 1709, 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, - /* 2360 */ 663, 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, - /* 2370 */ 1709, 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, - /* 2380 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, - /* 2390 */ 2098, 2099, 1709, 1709, 2134, 1709, 1709, 318, 2100, 667, - /* 2400 */ 2102, 2103, 662, 1709, 657, 1709, 2098, 2099, 1709, 1709, - /* 2410 */ 2134, 1709, 1709, 331, 2100, 667, 2102, 2103, 662, 1709, - /* 2420 */ 657, 1709, 1709, 1709, 2117, 1709, 2099, 1709, 1709, 1709, - /* 2430 */ 1709, 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, 663, - /* 2440 */ 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, - /* 2450 */ 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, 2117, - /* 2460 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, 2098, - /* 2470 */ 1709, 1709, 2067, 2134, 663, 1709, 332, 2100, 667, 2102, - /* 2480 */ 2103, 662, 1709, 657, 1709, 2098, 1709, 1709, 1709, 2134, - /* 2490 */ 2099, 1709, 2111, 2100, 667, 2102, 2103, 662, 1709, 657, - /* 2500 */ 1709, 1709, 1709, 1709, 2098, 1709, 1709, 2099, 2134, 1709, - /* 2510 */ 1709, 2110, 2100, 667, 2102, 2103, 662, 1709, 657, 1709, - /* 2520 */ 1709, 1709, 1709, 2117, 1709, 1709, 1709, 1709, 1709, 1709, - /* 2530 */ 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, 663, 1709, - /* 2540 */ 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, - /* 2550 */ 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, 1709, - /* 2560 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2099, 2098, 1709, - /* 2570 */ 1709, 1709, 2134, 1709, 1709, 2109, 2100, 667, 2102, 2103, - /* 2580 */ 662, 1709, 657, 1709, 1709, 2098, 1709, 2099, 1709, 2134, - /* 2590 */ 1709, 1709, 346, 2100, 667, 2102, 2103, 662, 1709, 657, - /* 2600 */ 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, - /* 2610 */ 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, 1709, - /* 2620 */ 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, 1709, - /* 2630 */ 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, 1709, - /* 2640 */ 1709, 1709, 1709, 1709, 1709, 2098, 1709, 1709, 1709, 2134, - /* 2650 */ 1709, 1709, 347, 2100, 667, 2102, 2103, 662, 1709, 657, - /* 2660 */ 1709, 2099, 1709, 1709, 1709, 2098, 1709, 1709, 1709, 2134, - /* 2670 */ 1709, 1709, 343, 2100, 667, 2102, 2103, 662, 2099, 657, - /* 2680 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, - /* 2690 */ 1709, 1709, 1709, 1709, 2117, 1709, 1709, 1709, 1709, 1709, - /* 2700 */ 1709, 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, 663, - /* 2710 */ 1709, 2117, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 664, - /* 2720 */ 1709, 1709, 1709, 1709, 2067, 1709, 663, 1709, 1709, 1709, - /* 2730 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2098, - /* 2740 */ 2099, 1709, 1709, 2134, 1709, 1709, 348, 2100, 667, 2102, - /* 2750 */ 2103, 662, 1709, 657, 1709, 1709, 665, 1709, 1709, 1709, - /* 2760 */ 2134, 1709, 1709, 323, 2100, 667, 2102, 2103, 662, 1709, - /* 2770 */ 657, 1709, 1709, 2117, 1709, 1709, 1709, 1709, 1709, 1709, - /* 2780 */ 1709, 664, 1709, 1709, 1709, 1709, 2067, 1709, 663, 1709, - /* 2790 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, - /* 2800 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, - /* 2810 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2098, 1709, - /* 2820 */ 1709, 1709, 2134, 1709, 1709, 322, 2100, 667, 2102, 2103, - /* 2830 */ 662, 1709, 657, + /* 0 */ 1870, 1998, 427, 1932, 629, 494, 426, 495, 1748, 164, + /* 10 */ 366, 2084, 45, 43, 1636, 1710, 1996, 635, 1882, 1930, + /* 20 */ 388, 433, 1485, 393, 38, 37, 1925, 1927, 44, 42, + /* 30 */ 41, 40, 39, 1566, 122, 1483, 1778, 121, 120, 119, + /* 40 */ 118, 117, 116, 115, 114, 113, 2080, 2086, 586, 500, + /* 50 */ 586, 1510, 2261, 2102, 2261, 496, 2266, 658, 1561, 503, + /* 60 */ 2261, 495, 1748, 333, 18, 1511, 647, 2267, 182, 2267, + /* 70 */ 182, 1491, 2262, 612, 2262, 612, 2265, 1932, 35, 291, + /* 80 */ 2262, 2264, 86, 401, 351, 512, 2120, 400, 44, 42, + /* 90 */ 41, 40, 39, 1930, 626, 1926, 1927, 755, 355, 2070, + /* 100 */ 14, 664, 732, 731, 730, 729, 398, 1874, 728, 727, + /* 110 */ 143, 722, 721, 720, 719, 718, 717, 716, 156, 712, + /* 120 */ 711, 710, 397, 396, 707, 706, 705, 704, 703, 586, + /* 130 */ 2037, 2101, 1182, 2261, 1181, 2137, 1568, 1569, 109, 2103, + /* 140 */ 668, 2105, 2106, 663, 633, 658, 1998, 222, 2267, 182, + /* 150 */ 179, 65, 2190, 2262, 612, 611, 382, 2186, 379, 2261, + /* 160 */ 648, 1995, 635, 1183, 623, 611, 1541, 1551, 647, 2261, + /* 170 */ 184, 61, 1567, 1570, 610, 182, 132, 240, 2216, 2262, + /* 180 */ 612, 1346, 1347, 533, 610, 182, 1486, 1491, 1484, 2262, + /* 190 */ 612, 1932, 1735, 1879, 1705, 38, 37, 139, 376, 44, + /* 200 */ 42, 41, 40, 39, 38, 37, 606, 1930, 44, 42, + /* 210 */ 41, 40, 39, 2102, 1489, 1490, 1513, 1540, 1543, 1544, + /* 220 */ 1545, 1546, 1547, 1548, 1549, 1550, 660, 656, 1559, 1560, + /* 230 */ 1562, 1563, 1564, 1565, 2, 45, 43, 1932, 2070, 647, + /* 240 */ 336, 1510, 1508, 388, 381, 1485, 2120, 61, 48, 464, + /* 250 */ 623, 345, 478, 1930, 665, 477, 1566, 648, 1483, 2070, + /* 260 */ 176, 664, 625, 180, 2198, 2199, 702, 137, 2203, 391, + /* 270 */ 447, 1509, 479, 132, 167, 449, 1724, 161, 2089, 1664, + /* 280 */ 538, 1561, 1982, 139, 367, 176, 1881, 18, 2056, 2084, + /* 290 */ 1879, 2101, 1704, 1930, 1491, 2137, 1595, 166, 109, 2103, + /* 300 */ 668, 2105, 2106, 663, 1820, 658, 353, 1981, 142, 1597, + /* 310 */ 149, 2161, 2190, 1713, 1510, 2102, 382, 2186, 574, 48, + /* 320 */ 755, 354, 185, 14, 2080, 2086, 598, 597, 1662, 1663, + /* 330 */ 1665, 1666, 1667, 437, 122, 658, 408, 121, 120, 119, + /* 340 */ 118, 117, 116, 115, 114, 113, 547, 546, 2120, 181, + /* 350 */ 2198, 2199, 1596, 137, 2203, 1182, 665, 1181, 693, 1568, + /* 360 */ 1569, 2070, 475, 664, 250, 469, 468, 467, 466, 463, + /* 370 */ 462, 461, 460, 459, 455, 454, 453, 452, 335, 444, + /* 380 */ 443, 442, 32, 439, 438, 352, 1183, 1401, 1402, 1541, + /* 390 */ 1551, 49, 1602, 2101, 61, 1567, 1570, 2137, 185, 601, + /* 400 */ 109, 2103, 668, 2105, 2106, 663, 1512, 658, 11, 1486, + /* 410 */ 9, 1484, 2165, 650, 2190, 2162, 38, 37, 382, 2186, + /* 420 */ 44, 42, 41, 40, 39, 34, 386, 1590, 1591, 1592, + /* 430 */ 1593, 1594, 1598, 1599, 1600, 1601, 1163, 1489, 1490, 273, + /* 440 */ 1540, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 660, + /* 450 */ 656, 1559, 1560, 1562, 1563, 1564, 1565, 2, 11, 45, + /* 460 */ 43, 493, 13, 12, 498, 1754, 2205, 388, 2120, 1485, + /* 470 */ 185, 2102, 1932, 11, 223, 1165, 605, 1168, 1169, 392, + /* 480 */ 1566, 61, 1483, 92, 607, 602, 595, 502, 1930, 171, + /* 490 */ 498, 1754, 2202, 2266, 61, 529, 525, 521, 517, 220, + /* 500 */ 2102, 634, 726, 724, 2120, 1561, 1856, 1312, 178, 1675, + /* 510 */ 1512, 18, 626, 41, 40, 39, 634, 2070, 1491, 664, + /* 520 */ 634, 1919, 604, 1303, 690, 689, 688, 1307, 687, 1309, + /* 530 */ 1310, 686, 683, 2120, 1318, 680, 1320, 1321, 677, 674, + /* 540 */ 87, 665, 185, 218, 755, 185, 2070, 14, 664, 2101, + /* 550 */ 510, 556, 1991, 2137, 272, 714, 109, 2103, 668, 2105, + /* 560 */ 2106, 663, 1609, 658, 581, 632, 566, 1991, 179, 643, + /* 570 */ 2190, 1991, 1255, 694, 382, 2186, 1923, 106, 2101, 425, + /* 580 */ 236, 424, 2137, 1568, 1569, 109, 2103, 668, 2105, 2106, + /* 590 */ 663, 1698, 658, 140, 539, 559, 2217, 2163, 1712, 2190, + /* 600 */ 553, 1871, 1734, 382, 2186, 235, 1733, 423, 1257, 2102, + /* 610 */ 217, 211, 1513, 1541, 1551, 216, 1253, 508, 700, 1567, + /* 620 */ 1570, 623, 131, 130, 129, 128, 127, 126, 125, 124, + /* 630 */ 123, 152, 185, 1486, 209, 1484, 154, 153, 697, 696, + /* 640 */ 695, 151, 2120, 380, 655, 185, 69, 1640, 2070, 68, + /* 650 */ 665, 164, 2070, 1510, 139, 2070, 1962, 664, 272, 1868, + /* 660 */ 1881, 1489, 1490, 1511, 1540, 1543, 1544, 1545, 1546, 1547, + /* 670 */ 1548, 1549, 1550, 660, 656, 1559, 1560, 1562, 1563, 1564, + /* 680 */ 1565, 2, 45, 43, 1571, 238, 2102, 2101, 53, 237, + /* 690 */ 388, 2137, 1485, 648, 109, 2103, 668, 2105, 2106, 663, + /* 700 */ 1855, 658, 1821, 1566, 31, 1483, 2281, 420, 2190, 187, + /* 710 */ 38, 37, 382, 2186, 44, 42, 41, 40, 39, 2120, + /* 720 */ 183, 2198, 2199, 2224, 137, 2203, 1879, 665, 1561, 1266, + /* 730 */ 422, 418, 2070, 652, 664, 2162, 2102, 551, 550, 549, + /* 740 */ 2088, 1491, 1265, 1633, 541, 136, 545, 1864, 89, 340, + /* 750 */ 544, 2084, 365, 1725, 567, 543, 548, 361, 360, 1732, + /* 760 */ 191, 542, 2102, 702, 2101, 648, 1731, 755, 2137, 2120, + /* 770 */ 46, 109, 2103, 668, 2105, 2106, 663, 662, 658, 1418, + /* 780 */ 1419, 54, 2070, 2281, 664, 2190, 2080, 2086, 369, 382, + /* 790 */ 2186, 194, 1730, 2205, 1587, 2120, 1485, 658, 1879, 1542, + /* 800 */ 2237, 648, 471, 665, 480, 2070, 1568, 1569, 2070, 1483, + /* 810 */ 664, 451, 2070, 1866, 2101, 1417, 1420, 431, 2137, 2201, + /* 820 */ 450, 327, 2103, 668, 2105, 2106, 663, 661, 658, 649, + /* 830 */ 2155, 715, 83, 1841, 1879, 82, 1541, 1551, 2070, 648, + /* 840 */ 2101, 358, 1567, 1570, 2137, 1491, 648, 109, 2103, 668, + /* 850 */ 2105, 2106, 663, 1862, 658, 432, 1486, 1781, 1484, 2281, + /* 860 */ 391, 2190, 441, 198, 197, 382, 2186, 1576, 164, 1977, + /* 870 */ 1270, 755, 1879, 1510, 1729, 1728, 593, 1881, 692, 1879, + /* 880 */ 190, 2102, 239, 1269, 1489, 1490, 470, 1540, 1543, 1544, + /* 890 */ 1545, 1546, 1547, 1548, 1549, 1550, 660, 656, 1559, 1560, + /* 900 */ 1562, 1563, 1564, 1565, 2, 45, 43, 359, 2088, 357, + /* 910 */ 356, 2063, 535, 388, 2120, 1485, 537, 648, 245, 2084, + /* 920 */ 2070, 2070, 665, 551, 550, 549, 1566, 2070, 1483, 664, + /* 930 */ 541, 136, 545, 456, 100, 141, 544, 536, 2161, 1168, + /* 940 */ 1169, 543, 548, 361, 360, 482, 2205, 542, 1458, 1459, + /* 950 */ 1879, 1561, 540, 2102, 2080, 2086, 370, 586, 1872, 2101, + /* 960 */ 1486, 2261, 1484, 2137, 1491, 658, 109, 2103, 668, 2105, + /* 970 */ 2106, 663, 2200, 658, 1251, 86, 2267, 182, 2281, 394, + /* 980 */ 2190, 2262, 612, 1513, 382, 2186, 2120, 164, 1489, 1490, + /* 990 */ 755, 1632, 565, 46, 665, 2255, 1881, 282, 283, 2070, + /* 1000 */ 1875, 664, 281, 385, 384, 563, 1932, 561, 2266, 1727, + /* 1010 */ 38, 37, 2261, 1499, 44, 42, 41, 40, 39, 1542, + /* 1020 */ 648, 648, 1931, 1977, 1566, 1726, 1492, 8, 2265, 1568, + /* 1030 */ 1569, 2101, 2262, 2263, 192, 2137, 457, 511, 109, 2103, + /* 1040 */ 668, 2105, 2106, 663, 2265, 658, 27, 648, 698, 1561, + /* 1050 */ 2281, 1923, 2190, 1879, 1879, 2070, 382, 2186, 699, 1541, + /* 1060 */ 1551, 1923, 1491, 1876, 537, 1567, 1570, 2209, 38, 37, + /* 1070 */ 648, 2070, 44, 42, 41, 40, 39, 2053, 659, 1486, + /* 1080 */ 1879, 1484, 1977, 2230, 33, 536, 241, 615, 654, 1723, + /* 1090 */ 38, 37, 434, 196, 44, 42, 41, 40, 39, 1854, + /* 1100 */ 1722, 1721, 1720, 1879, 2102, 435, 305, 1489, 1490, 1909, + /* 1110 */ 1540, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 660, + /* 1120 */ 656, 1559, 1560, 1562, 1563, 1564, 1565, 2, 45, 43, + /* 1130 */ 1719, 249, 2210, 1629, 1857, 2070, 388, 2120, 1485, 648, + /* 1140 */ 648, 228, 623, 221, 226, 665, 2070, 2070, 2070, 1566, + /* 1150 */ 2070, 1483, 664, 1510, 230, 582, 627, 229, 38, 37, + /* 1160 */ 73, 1652, 44, 42, 41, 40, 39, 648, 51, 648, + /* 1170 */ 3, 1718, 1879, 1879, 1561, 139, 2070, 1500, 147, 1495, + /* 1180 */ 1717, 648, 2101, 631, 267, 286, 2137, 1491, 599, 109, + /* 1190 */ 2103, 668, 2105, 2106, 663, 232, 658, 645, 231, 1494, + /* 1200 */ 1879, 651, 1879, 2190, 1716, 1503, 1505, 382, 2186, 81, + /* 1210 */ 1715, 700, 234, 755, 1879, 233, 14, 2070, 656, 1559, + /* 1220 */ 1560, 1562, 1563, 1564, 1565, 2064, 2070, 261, 648, 154, + /* 1230 */ 153, 697, 696, 695, 151, 165, 152, 145, 1629, 134, + /* 1240 */ 311, 270, 2198, 622, 646, 133, 621, 648, 585, 2261, + /* 1250 */ 2070, 648, 1568, 1569, 309, 72, 2070, 248, 71, 1768, + /* 1260 */ 569, 1879, 568, 292, 610, 182, 152, 395, 63, 2262, + /* 1270 */ 612, 586, 1761, 1707, 1708, 2261, 205, 490, 488, 485, + /* 1280 */ 1879, 552, 1541, 1551, 1879, 415, 618, 700, 1567, 1570, + /* 1290 */ 2267, 182, 1759, 1453, 554, 2262, 612, 63, 1493, 1542, + /* 1300 */ 254, 90, 1486, 2121, 1484, 154, 153, 697, 696, 695, + /* 1310 */ 151, 2091, 614, 572, 557, 152, 616, 61, 163, 47, + /* 1320 */ 52, 13, 12, 1456, 279, 1661, 1212, 2102, 70, 150, + /* 1330 */ 1489, 1490, 152, 1540, 1543, 1544, 1545, 1546, 1547, 1548, + /* 1340 */ 1549, 1550, 660, 656, 1559, 1560, 1562, 1563, 1564, 1565, + /* 1350 */ 2, 63, 1497, 47, 1660, 108, 399, 256, 2102, 586, + /* 1360 */ 2120, 47, 1213, 2261, 2093, 672, 708, 150, 665, 1986, + /* 1370 */ 1749, 709, 630, 2070, 152, 664, 1415, 135, 2267, 182, + /* 1380 */ 150, 284, 105, 2262, 612, 640, 288, 1920, 1231, 1296, + /* 1390 */ 1755, 2120, 102, 1229, 2220, 80, 79, 430, 269, 665, + /* 1400 */ 189, 624, 266, 1, 2070, 2101, 664, 4, 1603, 2137, + /* 1410 */ 1552, 402, 168, 2103, 668, 2105, 2106, 663, 304, 658, + /* 1420 */ 334, 407, 1324, 416, 1328, 1438, 414, 410, 406, 403, + /* 1430 */ 423, 1335, 349, 299, 1333, 195, 2101, 155, 2102, 750, + /* 1440 */ 2137, 2088, 436, 110, 2103, 668, 2105, 2106, 663, 1513, + /* 1450 */ 658, 1496, 2084, 587, 2227, 1987, 445, 2190, 2102, 38, + /* 1460 */ 37, 2189, 2186, 44, 42, 41, 40, 39, 185, 440, + /* 1470 */ 473, 2120, 1508, 458, 465, 483, 1979, 472, 474, 665, + /* 1480 */ 484, 481, 200, 486, 2070, 487, 664, 2080, 2086, 383, + /* 1490 */ 199, 2120, 202, 1514, 489, 492, 491, 501, 658, 665, + /* 1500 */ 1516, 504, 1511, 208, 2070, 505, 664, 1515, 210, 506, + /* 1510 */ 1517, 507, 213, 509, 513, 215, 2101, 619, 1185, 84, + /* 1520 */ 2137, 85, 530, 110, 2103, 668, 2105, 2106, 663, 219, + /* 1530 */ 658, 531, 532, 571, 88, 2102, 666, 2190, 2046, 339, + /* 1540 */ 2137, 653, 2186, 110, 2103, 668, 2105, 2106, 663, 534, + /* 1550 */ 658, 1869, 2102, 111, 225, 1865, 227, 2190, 2043, 157, + /* 1560 */ 158, 344, 2186, 2042, 1867, 148, 1863, 159, 2120, 160, + /* 1570 */ 242, 576, 300, 573, 577, 575, 665, 580, 246, 583, + /* 1580 */ 244, 2070, 600, 664, 2236, 2120, 590, 638, 596, 609, + /* 1590 */ 371, 372, 2235, 665, 2221, 2231, 2212, 603, 2070, 260, + /* 1600 */ 664, 172, 252, 7, 255, 588, 620, 591, 589, 1629, + /* 1610 */ 617, 262, 2102, 2101, 268, 2284, 2260, 2137, 138, 1512, + /* 1620 */ 169, 2103, 668, 2105, 2106, 663, 265, 658, 628, 263, + /* 1630 */ 2101, 264, 2206, 1518, 2137, 375, 2102, 110, 2103, 668, + /* 1640 */ 2105, 2106, 663, 274, 658, 2120, 95, 1992, 301, 636, + /* 1650 */ 60, 2190, 637, 665, 302, 2006, 2187, 2005, 2070, 641, + /* 1660 */ 664, 97, 2004, 99, 303, 378, 2171, 101, 642, 2120, + /* 1670 */ 1880, 1842, 613, 2282, 670, 306, 1924, 665, 751, 752, + /* 1680 */ 754, 330, 2070, 310, 664, 295, 315, 329, 308, 341, + /* 1690 */ 2101, 50, 2062, 2061, 2137, 342, 2060, 168, 2103, 668, + /* 1700 */ 2105, 2106, 663, 77, 658, 2057, 319, 2102, 404, 405, + /* 1710 */ 1476, 1477, 188, 409, 2101, 2055, 411, 412, 2137, 413, + /* 1720 */ 2054, 321, 2103, 668, 2105, 2106, 663, 350, 658, 2102, + /* 1730 */ 2052, 2051, 417, 419, 2050, 421, 78, 1441, 1440, 2228, + /* 1740 */ 2120, 2018, 2017, 2016, 428, 429, 2015, 2014, 665, 1392, + /* 1750 */ 1970, 1969, 1967, 2070, 144, 664, 1966, 1965, 1968, 1964, + /* 1760 */ 1963, 1961, 2120, 1960, 1959, 608, 193, 377, 446, 1958, + /* 1770 */ 665, 448, 1972, 1957, 1956, 2070, 1955, 664, 1954, 2102, + /* 1780 */ 1953, 1952, 1951, 1950, 1949, 2101, 1948, 1947, 1946, 2137, + /* 1790 */ 1945, 1944, 169, 2103, 668, 2105, 2106, 663, 1943, 658, + /* 1800 */ 1942, 1941, 2102, 1940, 146, 1971, 1939, 2101, 1938, 1937, + /* 1810 */ 1936, 2137, 2120, 1935, 328, 2103, 668, 2105, 2106, 663, + /* 1820 */ 662, 658, 476, 1934, 1394, 2070, 1933, 664, 337, 1267, + /* 1830 */ 1784, 338, 1263, 1271, 1783, 2120, 1782, 201, 1780, 1744, + /* 1840 */ 387, 206, 2090, 665, 1743, 2283, 1171, 203, 2070, 1170, + /* 1850 */ 664, 204, 2033, 75, 2025, 2013, 177, 2101, 207, 76, + /* 1860 */ 2102, 2137, 497, 212, 327, 2103, 668, 2105, 2106, 663, + /* 1870 */ 2012, 658, 499, 2156, 1990, 214, 1858, 1779, 1777, 515, + /* 1880 */ 2101, 758, 1205, 514, 2137, 516, 1775, 328, 2103, 668, + /* 1890 */ 2105, 2106, 663, 2120, 658, 298, 518, 519, 389, 520, + /* 1900 */ 1773, 665, 522, 524, 523, 1771, 2070, 526, 664, 1758, + /* 1910 */ 175, 527, 528, 1757, 1740, 1860, 748, 744, 740, 736, + /* 1920 */ 296, 1339, 1340, 1859, 1254, 1252, 1250, 2102, 62, 224, + /* 1930 */ 1249, 1248, 1247, 1246, 1241, 1769, 723, 725, 2101, 1243, + /* 1940 */ 362, 1242, 2137, 1240, 1762, 328, 2103, 668, 2105, 2106, + /* 1950 */ 663, 363, 658, 555, 1760, 364, 2102, 558, 1739, 560, + /* 1960 */ 2120, 107, 1738, 562, 289, 1737, 112, 564, 665, 1463, + /* 1970 */ 1467, 1465, 1462, 2070, 2032, 664, 1447, 1449, 2024, 26, + /* 1980 */ 66, 162, 578, 2011, 2009, 2266, 19, 2102, 28, 2120, + /* 1990 */ 64, 247, 16, 58, 251, 55, 644, 665, 5, 592, + /* 2000 */ 59, 579, 2070, 584, 664, 570, 259, 6, 368, 2137, + /* 2010 */ 258, 1677, 323, 2103, 668, 2105, 2106, 663, 2102, 658, + /* 2020 */ 2120, 594, 253, 2091, 30, 20, 1659, 170, 665, 21, + /* 2030 */ 257, 276, 29, 2070, 2101, 664, 275, 1692, 2137, 1651, + /* 2040 */ 91, 312, 2103, 668, 2105, 2106, 663, 1691, 658, 1697, + /* 2050 */ 373, 2120, 1445, 1698, 1626, 243, 1696, 1695, 374, 665, + /* 2060 */ 271, 57, 2010, 173, 2070, 2101, 664, 2008, 1625, 2137, + /* 2070 */ 2007, 1989, 313, 2103, 668, 2105, 2106, 663, 94, 658, + /* 2080 */ 277, 93, 2102, 1988, 17, 96, 56, 278, 22, 287, + /* 2090 */ 1657, 280, 285, 67, 98, 290, 2101, 23, 1578, 2102, + /* 2100 */ 2137, 10, 639, 314, 2103, 668, 2105, 2106, 663, 102, + /* 2110 */ 658, 12, 1577, 1501, 1533, 2120, 174, 669, 2140, 186, + /* 2120 */ 657, 1588, 671, 665, 390, 1556, 1554, 36, 2070, 1553, + /* 2130 */ 664, 15, 2120, 1525, 24, 667, 1325, 25, 673, 675, + /* 2140 */ 665, 1322, 676, 678, 1319, 2070, 1313, 664, 681, 2102, + /* 2150 */ 679, 682, 684, 1311, 685, 1302, 691, 1334, 103, 293, + /* 2160 */ 2101, 104, 1330, 74, 2137, 1237, 1203, 320, 2103, 668, + /* 2170 */ 2105, 2106, 663, 1236, 658, 701, 1235, 2101, 1317, 1316, + /* 2180 */ 1315, 2137, 2120, 1314, 324, 2103, 668, 2105, 2106, 663, + /* 2190 */ 665, 658, 1234, 1233, 1232, 2070, 1230, 664, 1228, 2102, + /* 2200 */ 1227, 1226, 1261, 713, 294, 1224, 1223, 1222, 1221, 1220, + /* 2210 */ 1219, 1218, 1256, 1258, 1215, 2102, 1214, 1211, 1209, 1210, + /* 2220 */ 1208, 1776, 733, 1774, 1772, 737, 734, 2101, 735, 1770, + /* 2230 */ 739, 2137, 2120, 741, 316, 2103, 668, 2105, 2106, 663, + /* 2240 */ 665, 658, 738, 742, 743, 2070, 745, 664, 2120, 746, + /* 2250 */ 1756, 747, 749, 1160, 1736, 297, 665, 753, 1711, 1487, + /* 2260 */ 307, 2070, 756, 664, 757, 1711, 1711, 1711, 1711, 1711, + /* 2270 */ 1711, 1711, 1711, 1711, 1711, 1711, 2102, 2101, 1711, 1711, + /* 2280 */ 1711, 2137, 1711, 1711, 325, 2103, 668, 2105, 2106, 663, + /* 2290 */ 1711, 658, 1711, 2101, 2102, 1711, 1711, 2137, 1711, 1711, + /* 2300 */ 317, 2103, 668, 2105, 2106, 663, 1711, 658, 1711, 2120, + /* 2310 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, + /* 2320 */ 1711, 1711, 2070, 1711, 664, 1711, 1711, 2120, 1711, 1711, + /* 2330 */ 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, + /* 2340 */ 2070, 1711, 664, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2350 */ 1711, 1711, 2102, 1711, 2101, 1711, 1711, 1711, 2137, 1711, + /* 2360 */ 1711, 326, 2103, 668, 2105, 2106, 663, 1711, 658, 2102, + /* 2370 */ 1711, 1711, 2101, 1711, 1711, 1711, 2137, 1711, 1711, 318, + /* 2380 */ 2103, 668, 2105, 2106, 663, 2120, 658, 1711, 1711, 1711, + /* 2390 */ 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, 2070, 1711, + /* 2400 */ 664, 1711, 2120, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2410 */ 665, 1711, 1711, 1711, 1711, 2070, 1711, 664, 1711, 1711, + /* 2420 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2430 */ 2101, 1711, 1711, 2102, 2137, 1711, 1711, 331, 2103, 668, + /* 2440 */ 2105, 2106, 663, 1711, 658, 1711, 1711, 2101, 1711, 2102, + /* 2450 */ 1711, 2137, 1711, 1711, 332, 2103, 668, 2105, 2106, 663, + /* 2460 */ 1711, 658, 1711, 1711, 1711, 1711, 2120, 1711, 1711, 1711, + /* 2470 */ 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, 2070, + /* 2480 */ 1711, 664, 2120, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2490 */ 665, 1711, 1711, 1711, 1711, 2070, 1711, 664, 1711, 1711, + /* 2500 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2510 */ 1711, 2101, 1711, 1711, 1711, 2137, 2102, 1711, 2114, 2103, + /* 2520 */ 668, 2105, 2106, 663, 1711, 658, 1711, 2101, 1711, 1711, + /* 2530 */ 1711, 2137, 1711, 2102, 2113, 2103, 668, 2105, 2106, 663, + /* 2540 */ 1711, 658, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 2120, + /* 2550 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, + /* 2560 */ 1711, 1711, 2070, 1711, 664, 1711, 2120, 1711, 1711, 1711, + /* 2570 */ 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, 2070, + /* 2580 */ 1711, 664, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2590 */ 1711, 1711, 1711, 1711, 2101, 2102, 1711, 1711, 2137, 1711, + /* 2600 */ 1711, 2112, 2103, 668, 2105, 2106, 663, 1711, 658, 1711, + /* 2610 */ 1711, 2101, 1711, 1711, 1711, 2137, 1711, 1711, 346, 2103, + /* 2620 */ 668, 2105, 2106, 663, 1711, 658, 1711, 1711, 2120, 1711, + /* 2630 */ 1711, 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, + /* 2640 */ 1711, 2070, 1711, 664, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2650 */ 1711, 1711, 1711, 1711, 1711, 1711, 2102, 1711, 1711, 1711, + /* 2660 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2670 */ 1711, 1711, 1711, 2101, 2102, 1711, 1711, 2137, 1711, 1711, + /* 2680 */ 347, 2103, 668, 2105, 2106, 663, 1711, 658, 1711, 2120, + /* 2690 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, + /* 2700 */ 1711, 1711, 2070, 1711, 664, 1711, 1711, 2120, 1711, 1711, + /* 2710 */ 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, + /* 2720 */ 2070, 1711, 664, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2730 */ 1711, 1711, 2102, 1711, 2101, 1711, 1711, 1711, 2137, 1711, + /* 2740 */ 1711, 343, 2103, 668, 2105, 2106, 663, 1711, 658, 2102, + /* 2750 */ 1711, 1711, 2101, 1711, 1711, 1711, 2137, 1711, 1711, 348, + /* 2760 */ 2103, 668, 2105, 2106, 663, 2120, 658, 1711, 1711, 1711, + /* 2770 */ 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, 2070, 1711, + /* 2780 */ 664, 1711, 2120, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2790 */ 665, 1711, 1711, 1711, 1711, 2070, 1711, 664, 1711, 1711, + /* 2800 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2810 */ 666, 1711, 1711, 1711, 2137, 1711, 1711, 323, 2103, 668, + /* 2820 */ 2105, 2106, 663, 1711, 658, 1711, 1711, 2101, 1711, 1711, + /* 2830 */ 1711, 2137, 1711, 1711, 322, 2103, 668, 2105, 2106, 663, + /* 2840 */ 1711, 658, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 367, 443, 380, 347, 332, 447, 336, 365, 338, 339, - /* 10 */ 354, 378, 12, 13, 14, 373, 380, 395, 396, 367, - /* 20 */ 20, 463, 22, 340, 20, 467, 468, 332, 392, 416, - /* 30 */ 378, 395, 396, 33, 361, 35, 0, 365, 12, 13, - /* 40 */ 14, 15, 16, 340, 20, 373, 413, 414, 415, 20, - /* 50 */ 378, 22, 380, 340, 340, 442, 373, 424, 58, 443, - /* 60 */ 365, 419, 365, 447, 64, 413, 414, 415, 373, 372, - /* 70 */ 356, 71, 331, 378, 333, 380, 424, 363, 381, 463, - /* 80 */ 51, 408, 410, 467, 468, 382, 414, 373, 20, 417, - /* 90 */ 418, 419, 420, 421, 422, 367, 424, 97, 4, 63, - /* 100 */ 100, 429, 389, 431, 391, 410, 378, 435, 436, 414, - /* 110 */ 12, 13, 417, 418, 419, 420, 421, 422, 20, 424, - /* 120 */ 22, 449, 439, 440, 441, 427, 443, 444, 430, 457, - /* 130 */ 447, 33, 20, 35, 22, 376, 136, 137, 379, 380, - /* 140 */ 443, 413, 414, 415, 447, 462, 463, 35, 432, 433, - /* 150 */ 467, 468, 424, 458, 459, 58, 58, 0, 20, 462, - /* 160 */ 463, 20, 64, 51, 467, 468, 166, 167, 100, 71, - /* 170 */ 0, 58, 172, 173, 8, 9, 364, 340, 12, 13, - /* 180 */ 14, 15, 16, 66, 67, 68, 186, 63, 188, 377, - /* 190 */ 73, 74, 75, 356, 100, 97, 79, 100, 100, 102, - /* 200 */ 363, 84, 85, 86, 87, 14, 336, 90, 338, 339, - /* 210 */ 373, 20, 99, 213, 214, 102, 216, 217, 218, 219, + /* 0 */ 368, 381, 398, 366, 398, 337, 402, 339, 340, 366, + /* 10 */ 373, 379, 12, 13, 14, 330, 396, 397, 375, 382, + /* 20 */ 20, 341, 22, 377, 8, 9, 380, 381, 12, 13, + /* 30 */ 14, 15, 16, 33, 21, 35, 0, 24, 25, 26, + /* 40 */ 27, 28, 29, 30, 31, 32, 414, 415, 444, 14, + /* 50 */ 444, 20, 448, 333, 448, 20, 444, 425, 58, 337, + /* 60 */ 448, 339, 340, 383, 64, 20, 20, 463, 464, 463, + /* 70 */ 464, 71, 468, 469, 468, 469, 464, 366, 433, 434, + /* 80 */ 468, 469, 347, 398, 373, 63, 366, 402, 12, 13, + /* 90 */ 14, 15, 16, 382, 374, 380, 381, 97, 363, 379, + /* 100 */ 100, 381, 66, 67, 68, 69, 70, 372, 72, 73, + /* 110 */ 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, + /* 120 */ 84, 85, 86, 87, 88, 89, 90, 91, 92, 444, + /* 130 */ 362, 411, 20, 448, 22, 415, 136, 137, 418, 419, + /* 140 */ 420, 421, 422, 423, 20, 425, 381, 35, 463, 464, + /* 150 */ 430, 4, 432, 468, 469, 444, 436, 437, 393, 448, + /* 160 */ 341, 396, 397, 51, 341, 444, 166, 167, 20, 448, + /* 170 */ 450, 100, 172, 173, 463, 464, 357, 409, 458, 468, + /* 180 */ 469, 136, 137, 364, 463, 464, 186, 71, 188, 468, + /* 190 */ 469, 366, 333, 374, 178, 8, 9, 374, 373, 12, + /* 200 */ 13, 14, 15, 16, 8, 9, 20, 382, 12, 13, + /* 210 */ 14, 15, 16, 333, 214, 215, 20, 217, 218, 219, /* 220 */ 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, - /* 230 */ 230, 231, 232, 233, 136, 137, 66, 67, 68, 69, - /* 240 */ 70, 100, 72, 73, 74, 75, 76, 77, 78, 79, - /* 250 */ 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, - /* 260 */ 90, 91, 92, 20, 166, 167, 171, 101, 63, 112, - /* 270 */ 172, 173, 21, 165, 35, 24, 25, 26, 27, 28, - /* 280 */ 29, 30, 31, 32, 186, 112, 188, 130, 131, 132, - /* 290 */ 133, 134, 135, 8, 9, 20, 4, 12, 13, 14, - /* 300 */ 15, 16, 373, 130, 131, 132, 133, 134, 135, 329, - /* 310 */ 71, 213, 214, 384, 216, 217, 218, 219, 220, 221, - /* 320 */ 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, - /* 330 */ 232, 233, 234, 12, 13, 43, 0, 45, 46, 20, - /* 340 */ 357, 20, 97, 22, 250, 237, 340, 250, 365, 64, - /* 350 */ 255, 256, 257, 111, 33, 247, 35, 374, 113, 114, - /* 360 */ 115, 116, 117, 118, 119, 120, 121, 122, 346, 124, - /* 370 */ 125, 126, 127, 128, 129, 0, 2, 397, 332, 58, - /* 380 */ 44, 401, 8, 9, 362, 64, 12, 13, 14, 15, - /* 390 */ 16, 250, 71, 371, 109, 389, 21, 391, 234, 24, - /* 400 */ 25, 26, 27, 28, 29, 30, 31, 32, 8, 9, - /* 410 */ 340, 365, 12, 13, 14, 15, 16, 357, 97, 373, - /* 420 */ 20, 100, 80, 443, 378, 365, 380, 447, 234, 357, - /* 430 */ 236, 12, 13, 14, 374, 130, 131, 365, 373, 20, - /* 440 */ 135, 22, 462, 463, 372, 20, 374, 467, 468, 384, - /* 450 */ 165, 131, 33, 381, 35, 135, 410, 136, 137, 389, - /* 460 */ 414, 391, 71, 417, 418, 419, 420, 421, 422, 423, - /* 470 */ 424, 425, 426, 0, 8, 9, 111, 58, 12, 13, - /* 480 */ 14, 15, 16, 141, 142, 166, 167, 166, 167, 20, - /* 490 */ 71, 0, 337, 172, 173, 340, 341, 24, 25, 26, - /* 500 */ 27, 28, 29, 30, 31, 32, 164, 186, 337, 188, - /* 510 */ 44, 340, 341, 71, 194, 195, 97, 397, 198, 100, - /* 520 */ 200, 401, 237, 238, 239, 240, 241, 242, 243, 244, - /* 530 */ 245, 246, 247, 332, 213, 214, 0, 216, 217, 218, - /* 540 */ 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, - /* 550 */ 229, 230, 231, 232, 233, 136, 137, 66, 67, 68, - /* 560 */ 373, 136, 137, 443, 73, 74, 75, 447, 168, 100, - /* 570 */ 79, 384, 365, 332, 344, 84, 85, 86, 87, 378, - /* 580 */ 332, 90, 462, 463, 332, 166, 167, 467, 468, 2, - /* 590 */ 360, 172, 173, 386, 387, 8, 9, 0, 368, 12, - /* 600 */ 13, 14, 15, 16, 100, 186, 3, 188, 1, 2, - /* 610 */ 8, 9, 357, 365, 12, 13, 14, 15, 16, 378, - /* 620 */ 365, 373, 340, 20, 351, 352, 378, 130, 380, 374, - /* 630 */ 378, 366, 213, 214, 346, 216, 217, 218, 219, 220, - /* 640 */ 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, - /* 650 */ 231, 232, 233, 12, 13, 373, 100, 332, 410, 371, - /* 660 */ 367, 20, 414, 22, 340, 417, 418, 419, 420, 421, - /* 670 */ 422, 378, 424, 20, 33, 427, 35, 429, 430, 431, - /* 680 */ 356, 8, 9, 435, 436, 12, 13, 14, 15, 16, - /* 690 */ 365, 155, 365, 196, 197, 365, 0, 373, 373, 58, - /* 700 */ 164, 340, 372, 378, 101, 380, 413, 414, 101, 112, - /* 710 */ 397, 381, 71, 181, 387, 213, 37, 424, 22, 250, - /* 720 */ 438, 439, 440, 441, 340, 443, 444, 130, 131, 132, - /* 730 */ 133, 134, 135, 332, 373, 410, 204, 205, 97, 414, - /* 740 */ 356, 100, 417, 418, 419, 420, 421, 422, 353, 424, - /* 750 */ 355, 12, 13, 340, 250, 375, 443, 373, 378, 20, - /* 760 */ 447, 22, 260, 261, 262, 263, 264, 265, 266, 356, - /* 770 */ 168, 168, 33, 3, 35, 462, 463, 136, 137, 378, - /* 780 */ 467, 468, 103, 20, 105, 106, 373, 108, 332, 136, - /* 790 */ 137, 112, 14, 44, 469, 470, 21, 58, 20, 332, - /* 800 */ 439, 440, 441, 332, 443, 444, 250, 166, 167, 34, - /* 810 */ 71, 36, 133, 172, 173, 340, 8, 9, 100, 340, - /* 820 */ 12, 13, 14, 15, 16, 172, 173, 186, 110, 188, - /* 830 */ 365, 356, 365, 332, 378, 356, 97, 372, 14, 100, - /* 840 */ 373, 14, 15, 16, 20, 378, 381, 380, 373, 378, - /* 850 */ 397, 178, 373, 332, 213, 214, 332, 216, 217, 218, - /* 860 */ 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, - /* 870 */ 229, 230, 231, 232, 233, 136, 137, 410, 39, 378, - /* 880 */ 397, 414, 379, 380, 417, 418, 419, 420, 421, 422, - /* 890 */ 367, 424, 428, 344, 430, 366, 443, 332, 431, 378, - /* 900 */ 447, 378, 378, 436, 443, 166, 167, 366, 447, 101, - /* 910 */ 365, 172, 173, 351, 352, 462, 463, 368, 100, 374, - /* 920 */ 467, 468, 20, 462, 463, 186, 443, 188, 467, 468, - /* 930 */ 447, 168, 13, 365, 8, 9, 413, 414, 12, 13, - /* 940 */ 14, 15, 16, 378, 166, 462, 463, 424, 275, 381, - /* 950 */ 467, 468, 213, 214, 35, 216, 217, 218, 219, 220, - /* 960 */ 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, - /* 970 */ 231, 232, 233, 20, 18, 18, 20, 340, 12, 13, - /* 980 */ 23, 397, 416, 27, 0, 4, 30, 332, 22, 33, - /* 990 */ 166, 45, 46, 356, 37, 38, 416, 332, 41, 33, - /* 1000 */ 19, 35, 4, 185, 48, 187, 50, 332, 442, 53, - /* 1010 */ 373, 428, 22, 430, 33, 112, 59, 60, 61, 62, - /* 1020 */ 365, 272, 442, 340, 58, 35, 340, 443, 373, 48, - /* 1030 */ 212, 447, 48, 378, 53, 380, 133, 71, 340, 58, - /* 1040 */ 270, 375, 356, 378, 378, 402, 462, 463, 340, 248, - /* 1050 */ 249, 467, 468, 378, 356, 99, 373, 100, 42, 373, - /* 1060 */ 44, 71, 333, 97, 356, 410, 44, 111, 250, 414, - /* 1070 */ 168, 373, 417, 418, 419, 420, 421, 422, 365, 424, - /* 1080 */ 99, 373, 365, 102, 429, 372, 431, 97, 249, 372, - /* 1090 */ 435, 436, 366, 332, 381, 138, 140, 332, 381, 143, - /* 1100 */ 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, - /* 1110 */ 154, 155, 156, 157, 158, 159, 340, 161, 162, 163, - /* 1120 */ 44, 168, 439, 440, 441, 22, 443, 444, 340, 388, - /* 1130 */ 375, 340, 356, 378, 366, 178, 179, 180, 35, 378, - /* 1140 */ 183, 332, 340, 378, 356, 332, 22, 356, 358, 373, - /* 1150 */ 366, 361, 186, 366, 188, 340, 20, 340, 356, 35, - /* 1160 */ 203, 373, 111, 206, 373, 208, 209, 210, 211, 212, - /* 1170 */ 332, 356, 332, 356, 365, 373, 186, 101, 188, 213, - /* 1180 */ 214, 42, 373, 44, 199, 44, 201, 378, 373, 380, - /* 1190 */ 373, 378, 226, 227, 228, 229, 230, 231, 232, 340, - /* 1200 */ 97, 340, 332, 213, 214, 365, 332, 250, 340, 104, - /* 1210 */ 332, 160, 107, 373, 13, 356, 378, 356, 378, 410, - /* 1220 */ 380, 97, 332, 414, 356, 0, 417, 418, 419, 420, - /* 1230 */ 421, 422, 373, 424, 373, 44, 35, 44, 429, 332, - /* 1240 */ 431, 373, 101, 64, 435, 436, 44, 22, 378, 251, - /* 1250 */ 410, 0, 378, 58, 414, 365, 378, 417, 418, 419, - /* 1260 */ 420, 421, 422, 373, 424, 44, 457, 96, 378, 429, - /* 1270 */ 380, 431, 365, 22, 35, 435, 436, 22, 104, 104, - /* 1280 */ 373, 107, 107, 136, 137, 378, 446, 380, 104, 44, - /* 1290 */ 35, 107, 101, 44, 101, 47, 274, 102, 44, 332, - /* 1300 */ 410, 44, 166, 101, 414, 44, 44, 417, 418, 419, - /* 1310 */ 420, 421, 422, 44, 424, 35, 354, 410, 35, 332, - /* 1320 */ 471, 414, 101, 44, 417, 418, 419, 420, 421, 422, - /* 1330 */ 342, 424, 365, 1, 2, 460, 429, 19, 431, 168, - /* 1340 */ 373, 454, 435, 436, 0, 378, 101, 380, 100, 459, - /* 1350 */ 101, 33, 365, 446, 71, 101, 13, 44, 101, 365, - /* 1360 */ 373, 13, 101, 101, 44, 378, 48, 380, 44, 44, - /* 1370 */ 101, 342, 54, 55, 56, 57, 58, 410, 35, 44, - /* 1380 */ 101, 414, 44, 35, 417, 418, 419, 420, 421, 422, - /* 1390 */ 388, 424, 213, 49, 339, 377, 429, 410, 431, 388, - /* 1400 */ 445, 414, 435, 436, 417, 418, 419, 420, 421, 422, - /* 1410 */ 437, 424, 464, 446, 101, 252, 429, 99, 431, 448, - /* 1420 */ 102, 101, 435, 436, 412, 101, 101, 188, 332, 48, - /* 1430 */ 411, 184, 399, 446, 42, 33, 101, 385, 20, 101, - /* 1440 */ 165, 388, 385, 383, 340, 20, 340, 385, 332, 383, - /* 1450 */ 48, 383, 134, 98, 95, 340, 54, 55, 56, 57, - /* 1460 */ 58, 365, 350, 349, 94, 348, 340, 340, 188, 373, - /* 1470 */ 340, 20, 334, 20, 378, 405, 380, 334, 346, 20, - /* 1480 */ 380, 365, 20, 346, 20, 341, 398, 169, 346, 373, - /* 1490 */ 341, 346, 174, 340, 378, 52, 380, 346, 346, 343, - /* 1500 */ 346, 99, 343, 334, 102, 365, 410, 340, 190, 378, - /* 1510 */ 414, 193, 378, 417, 418, 419, 420, 421, 422, 202, - /* 1520 */ 424, 334, 332, 365, 378, 429, 410, 431, 409, 365, - /* 1530 */ 414, 435, 436, 417, 418, 419, 420, 421, 422, 100, - /* 1540 */ 424, 365, 446, 365, 344, 429, 332, 431, 365, 192, - /* 1550 */ 365, 435, 436, 365, 365, 365, 191, 365, 340, 365, - /* 1560 */ 380, 404, 407, 373, 403, 405, 344, 259, 378, 388, - /* 1570 */ 380, 169, 170, 453, 388, 378, 174, 258, 176, 365, - /* 1580 */ 177, 378, 453, 378, 378, 269, 453, 373, 267, 393, - /* 1590 */ 455, 393, 378, 253, 380, 193, 332, 268, 276, 451, - /* 1600 */ 410, 273, 271, 249, 414, 373, 456, 417, 418, 419, - /* 1610 */ 420, 421, 422, 332, 424, 20, 450, 452, 340, 429, - /* 1620 */ 412, 431, 20, 416, 410, 435, 436, 465, 414, 365, - /* 1630 */ 341, 417, 418, 419, 420, 421, 422, 373, 424, 466, - /* 1640 */ 472, 344, 378, 344, 380, 431, 365, 391, 378, 435, - /* 1650 */ 436, 393, 378, 393, 373, 378, 170, 390, 344, 378, - /* 1660 */ 378, 380, 378, 378, 361, 373, 100, 344, 434, 100, - /* 1670 */ 369, 378, 36, 332, 410, 345, 340, 344, 414, 406, - /* 1680 */ 335, 417, 418, 419, 420, 421, 422, 334, 424, 355, - /* 1690 */ 400, 410, 394, 332, 394, 414, 359, 330, 417, 418, - /* 1700 */ 419, 420, 421, 422, 0, 424, 365, 0, 359, 359, - /* 1710 */ 0, 42, 431, 0, 373, 35, 435, 436, 207, 378, - /* 1720 */ 35, 380, 35, 35, 207, 461, 365, 0, 35, 35, - /* 1730 */ 207, 0, 207, 0, 373, 35, 0, 22, 0, 378, - /* 1740 */ 35, 380, 194, 188, 186, 0, 0, 0, 0, 182, - /* 1750 */ 0, 410, 181, 47, 0, 414, 332, 0, 417, 418, - /* 1760 */ 419, 420, 421, 422, 0, 424, 42, 0, 0, 0, - /* 1770 */ 0, 410, 431, 0, 0, 414, 435, 436, 417, 418, - /* 1780 */ 419, 420, 421, 422, 155, 424, 0, 0, 35, 365, - /* 1790 */ 0, 0, 155, 0, 370, 0, 0, 373, 0, 0, - /* 1800 */ 0, 0, 378, 0, 380, 0, 0, 0, 0, 0, - /* 1810 */ 0, 0, 0, 42, 332, 0, 0, 0, 0, 0, - /* 1820 */ 0, 0, 0, 139, 22, 0, 0, 0, 96, 35, - /* 1830 */ 96, 470, 0, 58, 410, 22, 22, 58, 414, 332, - /* 1840 */ 0, 417, 418, 419, 420, 421, 422, 365, 424, 0, - /* 1850 */ 58, 0, 14, 14, 0, 373, 0, 0, 0, 177, - /* 1860 */ 378, 109, 380, 39, 0, 42, 0, 0, 0, 65, - /* 1870 */ 40, 0, 365, 44, 39, 47, 39, 370, 47, 35, - /* 1880 */ 373, 47, 39, 0, 48, 378, 39, 380, 35, 48, - /* 1890 */ 0, 39, 410, 48, 35, 0, 414, 0, 35, 417, - /* 1900 */ 418, 419, 420, 421, 422, 0, 424, 0, 426, 39, - /* 1910 */ 0, 35, 332, 48, 22, 0, 35, 410, 44, 35, - /* 1920 */ 35, 414, 35, 35, 417, 418, 419, 420, 421, 422, - /* 1930 */ 44, 424, 0, 332, 35, 35, 35, 35, 22, 35, - /* 1940 */ 107, 22, 0, 22, 50, 365, 0, 22, 35, 0, - /* 1950 */ 370, 0, 35, 373, 0, 35, 22, 20, 378, 35, - /* 1960 */ 380, 35, 332, 35, 0, 168, 365, 22, 35, 0, - /* 1970 */ 101, 189, 100, 100, 373, 22, 0, 0, 3, 378, - /* 1980 */ 44, 380, 254, 332, 44, 44, 47, 44, 44, 100, - /* 1990 */ 410, 95, 101, 100, 414, 365, 98, 417, 418, 419, - /* 2000 */ 420, 421, 422, 373, 424, 96, 100, 96, 378, 101, - /* 2010 */ 380, 410, 47, 101, 168, 414, 365, 254, 417, 418, - /* 2020 */ 419, 420, 421, 422, 373, 424, 3, 100, 44, 378, - /* 2030 */ 170, 380, 101, 332, 254, 100, 35, 175, 100, 35, - /* 2040 */ 410, 35, 35, 168, 414, 35, 35, 417, 418, 419, - /* 2050 */ 420, 421, 422, 101, 424, 47, 101, 101, 332, 101, - /* 2060 */ 44, 410, 47, 0, 0, 414, 365, 0, 417, 418, - /* 2070 */ 419, 420, 421, 422, 373, 424, 0, 39, 100, 378, - /* 2080 */ 47, 380, 100, 0, 101, 171, 101, 100, 100, 100, - /* 2090 */ 39, 365, 169, 332, 100, 47, 248, 44, 98, 373, - /* 2100 */ 110, 98, 2, 22, 378, 100, 380, 47, 47, 22, - /* 2110 */ 101, 410, 235, 100, 100, 414, 332, 100, 417, 418, - /* 2120 */ 419, 420, 421, 422, 100, 424, 365, 101, 101, 101, - /* 2130 */ 100, 213, 111, 101, 373, 100, 410, 35, 35, 378, - /* 2140 */ 414, 380, 101, 417, 418, 419, 420, 421, 422, 365, - /* 2150 */ 424, 35, 100, 35, 35, 101, 100, 373, 101, 101, - /* 2160 */ 35, 22, 378, 215, 380, 100, 100, 123, 123, 123, - /* 2170 */ 123, 410, 44, 100, 332, 414, 35, 100, 417, 418, - /* 2180 */ 419, 420, 421, 422, 112, 424, 100, 22, 65, 35, - /* 2190 */ 64, 35, 35, 332, 410, 35, 35, 35, 414, 35, - /* 2200 */ 71, 417, 418, 419, 420, 421, 422, 365, 424, 35, - /* 2210 */ 93, 35, 35, 44, 35, 373, 35, 35, 22, 35, - /* 2220 */ 378, 35, 380, 35, 71, 35, 365, 35, 35, 35, - /* 2230 */ 35, 22, 35, 0, 373, 35, 0, 48, 39, 378, - /* 2240 */ 35, 380, 39, 0, 0, 35, 48, 39, 35, 48, - /* 2250 */ 48, 39, 410, 0, 332, 35, 414, 35, 0, 417, - /* 2260 */ 418, 419, 420, 421, 422, 473, 424, 22, 21, 20, - /* 2270 */ 22, 410, 22, 21, 473, 414, 473, 473, 417, 418, - /* 2280 */ 419, 420, 421, 422, 473, 424, 473, 365, 473, 473, - /* 2290 */ 473, 473, 473, 473, 473, 373, 473, 473, 473, 473, - /* 2300 */ 378, 473, 380, 473, 473, 473, 473, 473, 473, 473, - /* 2310 */ 473, 473, 332, 473, 473, 473, 473, 473, 473, 473, - /* 2320 */ 473, 473, 473, 473, 473, 473, 473, 473, 332, 473, - /* 2330 */ 473, 473, 410, 473, 473, 473, 414, 473, 473, 417, - /* 2340 */ 418, 419, 420, 421, 422, 365, 424, 473, 473, 473, - /* 2350 */ 473, 473, 473, 373, 473, 473, 473, 473, 378, 473, - /* 2360 */ 380, 365, 473, 473, 473, 473, 473, 473, 473, 373, - /* 2370 */ 473, 473, 473, 473, 378, 473, 380, 473, 473, 473, - /* 2380 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, - /* 2390 */ 410, 332, 473, 473, 414, 473, 473, 417, 418, 419, - /* 2400 */ 420, 421, 422, 473, 424, 473, 410, 332, 473, 473, - /* 2410 */ 414, 473, 473, 417, 418, 419, 420, 421, 422, 473, - /* 2420 */ 424, 473, 473, 473, 365, 473, 332, 473, 473, 473, - /* 2430 */ 473, 473, 373, 473, 473, 473, 473, 378, 473, 380, - /* 2440 */ 365, 473, 473, 473, 473, 473, 473, 473, 373, 473, - /* 2450 */ 473, 473, 473, 378, 473, 380, 473, 473, 473, 365, - /* 2460 */ 473, 473, 473, 473, 473, 473, 473, 373, 473, 410, - /* 2470 */ 473, 473, 378, 414, 380, 473, 417, 418, 419, 420, - /* 2480 */ 421, 422, 473, 424, 473, 410, 473, 473, 473, 414, - /* 2490 */ 332, 473, 417, 418, 419, 420, 421, 422, 473, 424, - /* 2500 */ 473, 473, 473, 473, 410, 473, 473, 332, 414, 473, - /* 2510 */ 473, 417, 418, 419, 420, 421, 422, 473, 424, 473, - /* 2520 */ 473, 473, 473, 365, 473, 473, 473, 473, 473, 473, - /* 2530 */ 473, 373, 473, 473, 473, 473, 378, 473, 380, 473, - /* 2540 */ 365, 473, 473, 473, 473, 473, 473, 473, 373, 473, - /* 2550 */ 473, 473, 473, 378, 473, 380, 473, 473, 473, 473, - /* 2560 */ 473, 473, 473, 473, 473, 473, 473, 332, 410, 473, - /* 2570 */ 473, 473, 414, 473, 473, 417, 418, 419, 420, 421, - /* 2580 */ 422, 473, 424, 473, 473, 410, 473, 332, 473, 414, - /* 2590 */ 473, 473, 417, 418, 419, 420, 421, 422, 473, 424, - /* 2600 */ 365, 473, 473, 473, 473, 473, 473, 473, 373, 473, - /* 2610 */ 473, 473, 473, 378, 473, 380, 473, 473, 473, 473, - /* 2620 */ 365, 473, 473, 473, 473, 473, 473, 473, 373, 473, - /* 2630 */ 473, 473, 473, 378, 473, 380, 473, 473, 473, 473, - /* 2640 */ 473, 473, 473, 473, 473, 410, 473, 473, 473, 414, - /* 2650 */ 473, 473, 417, 418, 419, 420, 421, 422, 473, 424, - /* 2660 */ 473, 332, 473, 473, 473, 410, 473, 473, 473, 414, - /* 2670 */ 473, 473, 417, 418, 419, 420, 421, 422, 332, 424, - /* 2680 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, - /* 2690 */ 473, 473, 473, 473, 365, 473, 473, 473, 473, 473, - /* 2700 */ 473, 473, 373, 473, 473, 473, 473, 378, 473, 380, - /* 2710 */ 473, 365, 473, 473, 473, 473, 473, 473, 473, 373, - /* 2720 */ 473, 473, 473, 473, 378, 473, 380, 473, 473, 473, - /* 2730 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 410, - /* 2740 */ 332, 473, 473, 414, 473, 473, 417, 418, 419, 420, - /* 2750 */ 421, 422, 473, 424, 473, 473, 410, 473, 473, 473, - /* 2760 */ 414, 473, 473, 417, 418, 419, 420, 421, 422, 473, - /* 2770 */ 424, 473, 473, 365, 473, 473, 473, 473, 473, 473, - /* 2780 */ 473, 373, 473, 473, 473, 473, 378, 473, 380, 473, - /* 2790 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, - /* 2800 */ 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, - /* 2810 */ 473, 473, 473, 473, 473, 473, 473, 473, 410, 473, - /* 2820 */ 473, 473, 414, 473, 473, 417, 418, 419, 420, 421, - /* 2830 */ 422, 473, 424, + /* 230 */ 230, 231, 232, 233, 234, 12, 13, 366, 379, 20, + /* 240 */ 18, 20, 20, 20, 373, 22, 366, 100, 100, 27, + /* 250 */ 341, 64, 30, 382, 374, 33, 33, 341, 35, 379, + /* 260 */ 366, 381, 439, 440, 441, 442, 63, 444, 445, 358, + /* 270 */ 48, 20, 50, 357, 332, 53, 334, 366, 368, 214, + /* 280 */ 364, 58, 388, 374, 373, 366, 375, 64, 0, 379, + /* 290 */ 374, 411, 276, 382, 71, 415, 109, 348, 418, 419, + /* 300 */ 420, 421, 422, 423, 355, 425, 387, 388, 428, 165, + /* 310 */ 430, 431, 432, 0, 20, 333, 436, 437, 111, 100, + /* 320 */ 97, 99, 251, 100, 414, 415, 261, 262, 263, 264, + /* 330 */ 265, 266, 267, 111, 21, 425, 48, 24, 25, 26, + /* 340 */ 27, 28, 29, 30, 31, 32, 352, 353, 366, 440, + /* 350 */ 441, 442, 165, 444, 445, 20, 374, 22, 111, 136, + /* 360 */ 137, 379, 140, 381, 168, 143, 144, 145, 146, 147, + /* 370 */ 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, + /* 380 */ 158, 159, 238, 161, 162, 163, 51, 166, 167, 166, + /* 390 */ 167, 100, 248, 411, 100, 172, 173, 415, 251, 171, + /* 400 */ 418, 419, 420, 421, 422, 423, 20, 425, 235, 186, + /* 410 */ 237, 188, 430, 429, 432, 431, 8, 9, 436, 437, + /* 420 */ 12, 13, 14, 15, 16, 238, 239, 240, 241, 242, + /* 430 */ 243, 244, 245, 246, 247, 248, 4, 214, 215, 58, + /* 440 */ 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, + /* 450 */ 227, 228, 229, 230, 231, 232, 233, 234, 235, 12, + /* 460 */ 13, 338, 1, 2, 341, 342, 417, 20, 366, 22, + /* 470 */ 251, 333, 366, 235, 33, 43, 374, 45, 46, 373, + /* 480 */ 33, 100, 35, 102, 256, 257, 258, 338, 382, 48, + /* 490 */ 341, 342, 443, 3, 100, 54, 55, 56, 57, 58, + /* 500 */ 333, 341, 352, 353, 366, 58, 0, 97, 365, 101, + /* 510 */ 20, 64, 374, 14, 15, 16, 341, 379, 71, 381, + /* 520 */ 341, 378, 420, 113, 114, 115, 116, 117, 118, 119, + /* 530 */ 120, 121, 122, 366, 124, 125, 126, 127, 128, 129, + /* 540 */ 99, 374, 251, 102, 97, 251, 379, 100, 381, 411, + /* 550 */ 390, 4, 392, 415, 168, 71, 418, 419, 420, 421, + /* 560 */ 422, 423, 101, 425, 403, 390, 19, 392, 430, 390, + /* 570 */ 432, 392, 35, 376, 436, 437, 379, 345, 411, 185, + /* 580 */ 33, 187, 415, 136, 137, 418, 419, 420, 421, 422, + /* 590 */ 423, 101, 425, 361, 13, 48, 458, 430, 0, 432, + /* 600 */ 53, 369, 333, 436, 437, 58, 333, 213, 71, 333, + /* 610 */ 169, 170, 20, 166, 167, 174, 35, 176, 112, 172, + /* 620 */ 173, 341, 24, 25, 26, 27, 28, 29, 30, 31, + /* 630 */ 32, 44, 251, 186, 193, 188, 130, 131, 132, 133, + /* 640 */ 134, 135, 366, 358, 64, 251, 99, 14, 379, 102, + /* 650 */ 374, 366, 379, 20, 374, 379, 0, 381, 168, 367, + /* 660 */ 375, 214, 215, 20, 217, 218, 219, 220, 221, 222, + /* 670 */ 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, + /* 680 */ 233, 234, 12, 13, 14, 131, 333, 411, 101, 135, + /* 690 */ 20, 415, 22, 341, 418, 419, 420, 421, 422, 423, + /* 700 */ 0, 425, 355, 33, 2, 35, 430, 181, 432, 357, + /* 710 */ 8, 9, 436, 437, 12, 13, 14, 15, 16, 366, + /* 720 */ 440, 441, 442, 447, 444, 445, 374, 374, 58, 22, + /* 730 */ 204, 205, 379, 429, 381, 431, 333, 66, 67, 68, + /* 740 */ 368, 71, 35, 4, 73, 74, 75, 367, 194, 195, + /* 750 */ 79, 379, 198, 334, 200, 84, 85, 86, 87, 333, + /* 760 */ 168, 90, 333, 63, 411, 341, 333, 97, 415, 366, + /* 770 */ 100, 418, 419, 420, 421, 422, 423, 374, 425, 136, + /* 780 */ 137, 357, 379, 430, 381, 432, 414, 415, 416, 436, + /* 790 */ 437, 58, 333, 417, 214, 366, 22, 425, 374, 166, + /* 800 */ 447, 341, 80, 374, 97, 379, 136, 137, 379, 35, + /* 810 */ 381, 155, 379, 367, 411, 172, 173, 357, 415, 443, + /* 820 */ 164, 418, 419, 420, 421, 422, 423, 424, 425, 426, + /* 830 */ 427, 354, 99, 356, 374, 102, 166, 167, 379, 341, + /* 840 */ 411, 37, 172, 173, 415, 71, 341, 418, 419, 420, + /* 850 */ 421, 422, 423, 367, 425, 357, 186, 0, 188, 430, + /* 860 */ 358, 432, 357, 141, 142, 436, 437, 14, 366, 374, + /* 870 */ 22, 97, 374, 20, 333, 333, 447, 375, 367, 374, + /* 880 */ 385, 333, 130, 35, 214, 215, 164, 217, 218, 219, + /* 890 */ 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, + /* 900 */ 230, 231, 232, 233, 234, 12, 13, 103, 368, 105, + /* 910 */ 106, 398, 108, 20, 366, 22, 112, 341, 367, 379, + /* 920 */ 379, 379, 374, 66, 67, 68, 33, 379, 35, 381, + /* 930 */ 73, 74, 75, 357, 345, 428, 79, 133, 431, 45, + /* 940 */ 46, 84, 85, 86, 87, 97, 417, 90, 196, 197, + /* 950 */ 374, 58, 13, 333, 414, 415, 416, 444, 369, 411, + /* 960 */ 186, 448, 188, 415, 71, 425, 418, 419, 420, 421, + /* 970 */ 422, 423, 443, 425, 35, 347, 463, 464, 430, 358, + /* 980 */ 432, 468, 469, 20, 436, 437, 366, 366, 214, 215, + /* 990 */ 97, 252, 21, 100, 374, 447, 375, 130, 131, 379, + /* 1000 */ 372, 381, 135, 12, 13, 34, 366, 36, 444, 333, + /* 1010 */ 8, 9, 448, 22, 12, 13, 14, 15, 16, 166, + /* 1020 */ 341, 341, 382, 374, 33, 333, 35, 39, 464, 136, + /* 1030 */ 137, 411, 468, 469, 385, 415, 357, 357, 418, 419, + /* 1040 */ 420, 421, 422, 423, 3, 425, 44, 341, 376, 58, + /* 1050 */ 430, 379, 432, 374, 374, 379, 436, 437, 376, 166, + /* 1060 */ 167, 379, 71, 357, 112, 172, 173, 447, 8, 9, + /* 1070 */ 341, 379, 12, 13, 14, 15, 16, 0, 367, 186, + /* 1080 */ 374, 188, 374, 389, 2, 133, 357, 44, 97, 333, + /* 1090 */ 8, 9, 22, 385, 12, 13, 14, 15, 16, 0, + /* 1100 */ 333, 333, 333, 374, 333, 35, 359, 214, 215, 362, + /* 1110 */ 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, + /* 1120 */ 227, 228, 229, 230, 231, 232, 233, 234, 12, 13, + /* 1130 */ 333, 168, 249, 250, 0, 379, 20, 366, 22, 341, + /* 1140 */ 341, 104, 341, 343, 107, 374, 379, 379, 379, 33, + /* 1150 */ 379, 35, 381, 20, 104, 357, 357, 107, 8, 9, + /* 1160 */ 111, 101, 12, 13, 14, 15, 16, 341, 42, 341, + /* 1170 */ 44, 333, 374, 374, 58, 374, 379, 186, 44, 188, + /* 1180 */ 333, 341, 411, 357, 472, 357, 415, 71, 461, 418, + /* 1190 */ 419, 420, 421, 422, 423, 104, 425, 357, 107, 35, + /* 1200 */ 374, 430, 374, 432, 333, 214, 215, 436, 437, 160, + /* 1210 */ 333, 112, 104, 97, 374, 107, 100, 379, 227, 228, + /* 1220 */ 229, 230, 231, 232, 233, 398, 379, 455, 341, 130, + /* 1230 */ 131, 132, 133, 134, 135, 18, 44, 42, 250, 44, + /* 1240 */ 23, 440, 441, 442, 357, 444, 445, 341, 96, 448, + /* 1250 */ 379, 341, 136, 137, 37, 38, 379, 58, 41, 0, + /* 1260 */ 199, 374, 201, 357, 463, 464, 44, 357, 44, 468, + /* 1270 */ 469, 444, 0, 136, 137, 448, 59, 60, 61, 62, + /* 1280 */ 374, 22, 166, 167, 374, 208, 44, 112, 172, 173, + /* 1290 */ 463, 464, 0, 101, 22, 468, 469, 44, 35, 166, + /* 1300 */ 44, 102, 186, 366, 188, 130, 131, 132, 133, 134, + /* 1310 */ 135, 47, 271, 398, 22, 44, 273, 100, 168, 44, + /* 1320 */ 168, 1, 2, 101, 44, 101, 35, 333, 44, 44, + /* 1330 */ 214, 215, 44, 217, 218, 219, 220, 221, 222, 223, + /* 1340 */ 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + /* 1350 */ 234, 44, 188, 44, 101, 138, 343, 101, 333, 444, + /* 1360 */ 366, 44, 71, 448, 100, 44, 13, 44, 374, 389, + /* 1370 */ 340, 13, 101, 379, 44, 381, 101, 44, 463, 464, + /* 1380 */ 44, 101, 100, 468, 469, 101, 101, 378, 35, 101, + /* 1390 */ 0, 366, 110, 35, 389, 178, 179, 180, 465, 374, + /* 1400 */ 183, 446, 438, 449, 379, 411, 381, 253, 101, 415, + /* 1410 */ 101, 413, 418, 419, 420, 421, 422, 423, 101, 425, + /* 1420 */ 203, 48, 101, 206, 101, 184, 209, 210, 211, 212, + /* 1430 */ 213, 101, 412, 400, 101, 42, 411, 101, 333, 49, + /* 1440 */ 415, 368, 386, 418, 419, 420, 421, 422, 423, 20, + /* 1450 */ 425, 188, 379, 459, 460, 389, 384, 432, 333, 8, + /* 1460 */ 9, 436, 437, 12, 13, 14, 15, 16, 251, 386, + /* 1470 */ 165, 366, 20, 341, 386, 98, 341, 384, 384, 374, + /* 1480 */ 351, 95, 341, 94, 379, 349, 381, 414, 415, 416, + /* 1490 */ 350, 366, 341, 20, 341, 335, 341, 335, 425, 374, + /* 1500 */ 20, 406, 20, 347, 379, 381, 381, 20, 347, 342, + /* 1510 */ 20, 399, 347, 342, 341, 347, 411, 275, 52, 347, + /* 1520 */ 415, 347, 344, 418, 419, 420, 421, 422, 423, 347, + /* 1530 */ 425, 344, 335, 202, 100, 333, 411, 432, 379, 335, + /* 1540 */ 415, 436, 437, 418, 419, 420, 421, 422, 423, 366, + /* 1550 */ 425, 366, 333, 341, 366, 366, 366, 432, 379, 366, + /* 1560 */ 366, 436, 437, 379, 366, 408, 366, 366, 366, 366, + /* 1570 */ 345, 192, 406, 410, 405, 191, 374, 381, 345, 341, + /* 1580 */ 404, 379, 260, 381, 454, 366, 379, 259, 379, 177, + /* 1590 */ 379, 277, 454, 374, 389, 389, 457, 379, 379, 456, + /* 1600 */ 381, 454, 394, 268, 394, 254, 274, 270, 269, 250, + /* 1610 */ 272, 453, 333, 411, 466, 473, 467, 415, 374, 20, + /* 1620 */ 418, 419, 420, 421, 422, 423, 413, 425, 341, 452, + /* 1630 */ 411, 451, 417, 20, 415, 342, 333, 418, 419, 420, + /* 1640 */ 421, 422, 423, 345, 425, 366, 345, 392, 394, 379, + /* 1650 */ 100, 432, 379, 374, 394, 379, 437, 379, 379, 170, + /* 1660 */ 381, 345, 379, 345, 362, 379, 435, 100, 391, 366, + /* 1670 */ 374, 356, 470, 471, 370, 341, 379, 374, 36, 336, + /* 1680 */ 335, 407, 379, 331, 381, 345, 360, 360, 346, 395, + /* 1690 */ 411, 401, 0, 0, 415, 395, 0, 418, 419, 420, + /* 1700 */ 421, 422, 423, 42, 425, 0, 360, 333, 35, 207, + /* 1710 */ 35, 35, 35, 207, 411, 0, 35, 35, 415, 207, + /* 1720 */ 0, 418, 419, 420, 421, 422, 423, 207, 425, 333, + /* 1730 */ 0, 0, 35, 22, 0, 35, 194, 188, 186, 460, + /* 1740 */ 366, 0, 0, 0, 182, 181, 0, 0, 374, 47, + /* 1750 */ 0, 0, 0, 379, 42, 381, 0, 0, 0, 0, + /* 1760 */ 0, 0, 366, 0, 0, 462, 155, 371, 35, 0, + /* 1770 */ 374, 155, 0, 0, 0, 379, 0, 381, 0, 333, + /* 1780 */ 0, 0, 0, 0, 0, 411, 0, 0, 0, 415, + /* 1790 */ 0, 0, 418, 419, 420, 421, 422, 423, 0, 425, + /* 1800 */ 0, 0, 333, 0, 42, 0, 0, 411, 0, 0, + /* 1810 */ 0, 415, 366, 0, 418, 419, 420, 421, 422, 423, + /* 1820 */ 374, 425, 139, 0, 22, 379, 0, 381, 96, 22, + /* 1830 */ 0, 96, 35, 22, 0, 366, 0, 58, 0, 0, + /* 1840 */ 371, 42, 47, 374, 0, 471, 14, 58, 379, 14, + /* 1850 */ 381, 58, 0, 39, 0, 0, 44, 411, 40, 39, + /* 1860 */ 333, 415, 47, 39, 418, 419, 420, 421, 422, 423, + /* 1870 */ 0, 425, 47, 427, 0, 177, 0, 0, 0, 48, + /* 1880 */ 411, 19, 65, 35, 415, 39, 0, 418, 419, 420, + /* 1890 */ 421, 422, 423, 366, 425, 33, 35, 48, 371, 39, + /* 1900 */ 0, 374, 35, 39, 48, 0, 379, 35, 381, 0, + /* 1910 */ 48, 48, 39, 0, 0, 0, 54, 55, 56, 57, + /* 1920 */ 58, 22, 35, 0, 35, 35, 35, 333, 109, 107, + /* 1930 */ 35, 35, 35, 35, 22, 0, 44, 44, 411, 35, + /* 1940 */ 22, 35, 415, 35, 0, 418, 419, 420, 421, 422, + /* 1950 */ 423, 22, 425, 50, 0, 22, 333, 35, 0, 35, + /* 1960 */ 366, 99, 0, 35, 102, 0, 20, 22, 374, 35, + /* 1970 */ 101, 35, 35, 379, 0, 381, 35, 22, 0, 100, + /* 1980 */ 100, 189, 22, 0, 0, 3, 44, 333, 100, 366, + /* 1990 */ 3, 170, 255, 44, 100, 168, 134, 374, 96, 98, + /* 2000 */ 44, 168, 379, 175, 381, 411, 47, 96, 168, 415, + /* 2010 */ 44, 101, 418, 419, 420, 421, 422, 423, 333, 425, + /* 2020 */ 366, 95, 101, 47, 44, 255, 101, 100, 374, 44, + /* 2030 */ 100, 169, 100, 379, 411, 381, 174, 35, 415, 101, + /* 2040 */ 100, 418, 419, 420, 421, 422, 423, 35, 425, 101, + /* 2050 */ 35, 366, 190, 101, 101, 193, 35, 35, 35, 374, + /* 2060 */ 47, 44, 0, 47, 379, 411, 381, 0, 101, 415, + /* 2070 */ 0, 0, 418, 419, 420, 421, 422, 423, 39, 425, + /* 2080 */ 47, 100, 333, 0, 255, 39, 249, 101, 100, 169, + /* 2090 */ 101, 100, 100, 100, 100, 47, 411, 44, 98, 333, + /* 2100 */ 415, 236, 171, 418, 419, 420, 421, 422, 423, 110, + /* 2110 */ 425, 2, 98, 22, 22, 366, 47, 111, 100, 47, + /* 2120 */ 100, 214, 35, 374, 35, 101, 101, 100, 379, 101, + /* 2130 */ 381, 100, 366, 101, 100, 216, 101, 100, 100, 35, + /* 2140 */ 374, 101, 100, 35, 101, 379, 101, 381, 35, 333, + /* 2150 */ 100, 100, 35, 101, 100, 22, 112, 35, 100, 44, + /* 2160 */ 411, 100, 22, 100, 415, 35, 65, 418, 419, 420, + /* 2170 */ 421, 422, 423, 35, 425, 64, 35, 411, 123, 123, + /* 2180 */ 123, 415, 366, 123, 418, 419, 420, 421, 422, 423, + /* 2190 */ 374, 425, 35, 35, 35, 379, 35, 381, 35, 333, + /* 2200 */ 35, 35, 71, 93, 44, 35, 35, 35, 22, 35, + /* 2210 */ 35, 35, 35, 71, 35, 333, 35, 35, 22, 35, + /* 2220 */ 35, 0, 35, 0, 0, 35, 48, 411, 39, 0, + /* 2230 */ 39, 415, 366, 35, 418, 419, 420, 421, 422, 423, + /* 2240 */ 374, 425, 48, 48, 39, 379, 35, 381, 366, 48, + /* 2250 */ 0, 39, 35, 35, 0, 22, 374, 21, 474, 22, + /* 2260 */ 22, 379, 21, 381, 20, 474, 474, 474, 474, 474, + /* 2270 */ 474, 474, 474, 474, 474, 474, 333, 411, 474, 474, + /* 2280 */ 474, 415, 474, 474, 418, 419, 420, 421, 422, 423, + /* 2290 */ 474, 425, 474, 411, 333, 474, 474, 415, 474, 474, + /* 2300 */ 418, 419, 420, 421, 422, 423, 474, 425, 474, 366, + /* 2310 */ 474, 474, 474, 474, 474, 474, 474, 374, 474, 474, + /* 2320 */ 474, 474, 379, 474, 381, 474, 474, 366, 474, 474, + /* 2330 */ 474, 474, 474, 474, 474, 374, 474, 474, 474, 474, + /* 2340 */ 379, 474, 381, 474, 474, 474, 474, 474, 474, 474, + /* 2350 */ 474, 474, 333, 474, 411, 474, 474, 474, 415, 474, + /* 2360 */ 474, 418, 419, 420, 421, 422, 423, 474, 425, 333, + /* 2370 */ 474, 474, 411, 474, 474, 474, 415, 474, 474, 418, + /* 2380 */ 419, 420, 421, 422, 423, 366, 425, 474, 474, 474, + /* 2390 */ 474, 474, 474, 374, 474, 474, 474, 474, 379, 474, + /* 2400 */ 381, 474, 366, 474, 474, 474, 474, 474, 474, 474, + /* 2410 */ 374, 474, 474, 474, 474, 379, 474, 381, 474, 474, + /* 2420 */ 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2430 */ 411, 474, 474, 333, 415, 474, 474, 418, 419, 420, + /* 2440 */ 421, 422, 423, 474, 425, 474, 474, 411, 474, 333, + /* 2450 */ 474, 415, 474, 474, 418, 419, 420, 421, 422, 423, + /* 2460 */ 474, 425, 474, 474, 474, 474, 366, 474, 474, 474, + /* 2470 */ 474, 474, 474, 474, 374, 474, 474, 474, 474, 379, + /* 2480 */ 474, 381, 366, 474, 474, 474, 474, 474, 474, 474, + /* 2490 */ 374, 474, 474, 474, 474, 379, 474, 381, 474, 474, + /* 2500 */ 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2510 */ 474, 411, 474, 474, 474, 415, 333, 474, 418, 419, + /* 2520 */ 420, 421, 422, 423, 474, 425, 474, 411, 474, 474, + /* 2530 */ 474, 415, 474, 333, 418, 419, 420, 421, 422, 423, + /* 2540 */ 474, 425, 474, 474, 474, 474, 474, 474, 474, 366, + /* 2550 */ 474, 474, 474, 474, 474, 474, 474, 374, 474, 474, + /* 2560 */ 474, 474, 379, 474, 381, 474, 366, 474, 474, 474, + /* 2570 */ 474, 474, 474, 474, 374, 474, 474, 474, 474, 379, + /* 2580 */ 474, 381, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2590 */ 474, 474, 474, 474, 411, 333, 474, 474, 415, 474, + /* 2600 */ 474, 418, 419, 420, 421, 422, 423, 474, 425, 474, + /* 2610 */ 474, 411, 474, 474, 474, 415, 474, 474, 418, 419, + /* 2620 */ 420, 421, 422, 423, 474, 425, 474, 474, 366, 474, + /* 2630 */ 474, 474, 474, 474, 474, 474, 374, 474, 474, 474, + /* 2640 */ 474, 379, 474, 381, 474, 474, 474, 474, 474, 474, + /* 2650 */ 474, 474, 474, 474, 474, 474, 333, 474, 474, 474, + /* 2660 */ 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2670 */ 474, 474, 474, 411, 333, 474, 474, 415, 474, 474, + /* 2680 */ 418, 419, 420, 421, 422, 423, 474, 425, 474, 366, + /* 2690 */ 474, 474, 474, 474, 474, 474, 474, 374, 474, 474, + /* 2700 */ 474, 474, 379, 474, 381, 474, 474, 366, 474, 474, + /* 2710 */ 474, 474, 474, 474, 474, 374, 474, 474, 474, 474, + /* 2720 */ 379, 474, 381, 474, 474, 474, 474, 474, 474, 474, + /* 2730 */ 474, 474, 333, 474, 411, 474, 474, 474, 415, 474, + /* 2740 */ 474, 418, 419, 420, 421, 422, 423, 474, 425, 333, + /* 2750 */ 474, 474, 411, 474, 474, 474, 415, 474, 474, 418, + /* 2760 */ 419, 420, 421, 422, 423, 366, 425, 474, 474, 474, + /* 2770 */ 474, 474, 474, 374, 474, 474, 474, 474, 379, 474, + /* 2780 */ 381, 474, 366, 474, 474, 474, 474, 474, 474, 474, + /* 2790 */ 374, 474, 474, 474, 474, 379, 474, 381, 474, 474, + /* 2800 */ 474, 474, 474, 474, 474, 474, 474, 474, 474, 474, + /* 2810 */ 411, 474, 474, 474, 415, 474, 474, 418, 419, 420, + /* 2820 */ 421, 422, 423, 474, 425, 474, 474, 411, 474, 474, + /* 2830 */ 474, 415, 474, 474, 418, 419, 420, 421, 422, 423, + /* 2840 */ 474, 425, }; -#define YY_SHIFT_COUNT (757) +#define YY_SHIFT_COUNT (758) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2258) +#define YY_SHIFT_MAX (2254) static const unsigned short int yy_shift_ofst[] = { - /* 0 */ 957, 0, 98, 0, 321, 321, 321, 321, 321, 321, - /* 10 */ 321, 321, 321, 321, 321, 419, 641, 641, 739, 641, - /* 20 */ 641, 641, 641, 641, 641, 641, 641, 641, 641, 641, - /* 30 */ 641, 641, 641, 641, 641, 641, 641, 641, 641, 641, - /* 40 */ 641, 641, 641, 641, 641, 641, 641, 641, 141, 469, - /* 50 */ 818, 68, 97, 504, 556, 504, 68, 68, 966, 966, - /* 60 */ 966, 504, 966, 966, 94, 504, 4, 653, 24, 24, - /* 70 */ 653, 292, 292, 319, 425, 191, 191, 24, 24, 24, - /* 80 */ 24, 24, 24, 24, 138, 24, 24, 124, 4, 24, - /* 90 */ 24, 243, 24, 4, 24, 138, 24, 138, 4, 24, - /* 100 */ 24, 4, 24, 4, 4, 4, 24, 205, 956, 285, - /* 110 */ 285, 117, 251, 990, 990, 990, 990, 990, 990, 990, - /* 120 */ 990, 990, 990, 990, 990, 990, 990, 990, 990, 990, - /* 130 */ 990, 990, 679, 603, 319, 425, 239, 763, 763, 763, - /* 140 */ 36, 194, 194, 239, 275, 275, 275, 124, 242, 164, - /* 150 */ 4, 391, 4, 391, 391, 365, 442, 245, 245, 245, - /* 160 */ 245, 245, 245, 245, 245, 1318, 491, 375, 400, 673, - /* 170 */ 502, 112, 95, 778, 824, 29, 902, 946, 903, 953, - /* 180 */ 801, 839, 770, 801, 1016, 998, 1136, 1163, 1381, 1247, - /* 190 */ 1392, 1418, 1392, 1275, 1425, 1425, 1392, 1275, 1275, 1355, - /* 200 */ 1359, 1425, 1370, 1425, 1425, 1425, 1451, 1451, 1453, 124, - /* 210 */ 1459, 124, 1462, 1464, 124, 1462, 124, 124, 124, 1425, - /* 220 */ 124, 1443, 1443, 1451, 4, 4, 4, 4, 4, 4, - /* 230 */ 4, 4, 4, 4, 4, 1425, 1451, 391, 391, 391, - /* 240 */ 1317, 1439, 1453, 205, 1357, 1365, 1459, 205, 1425, 1418, - /* 250 */ 1418, 391, 1308, 1319, 391, 1308, 1319, 391, 391, 4, - /* 260 */ 1321, 1403, 1308, 1316, 1329, 1340, 1163, 1322, 1328, 1331, - /* 270 */ 1354, 275, 1595, 1425, 1462, 205, 205, 1602, 1319, 391, - /* 280 */ 391, 391, 391, 391, 1319, 391, 1486, 205, 365, 205, - /* 290 */ 275, 1566, 1569, 391, 442, 1425, 205, 1636, 1451, 2833, - /* 300 */ 2833, 2833, 2833, 2833, 2833, 2833, 2833, 2833, 170, 1402, - /* 310 */ 473, 981, 166, 466, 808, 157, 374, 587, 602, 597, - /* 320 */ 926, 926, 926, 926, 926, 926, 926, 926, 926, 173, - /* 330 */ 320, 26, 26, 342, 532, 536, 113, 1103, 1124, 775, - /* 340 */ 497, 305, 305, 827, 607, 108, 827, 827, 827, 984, - /* 350 */ 1076, 1255, 1139, 1051, 336, 1105, 1174, 1175, 1184, 919, - /* 360 */ 1201, 696, 1225, 1251, 985, 1141, 1191, 1195, 1193, 1202, - /* 370 */ 1221, 1147, 749, 1022, 1171, 1245, 1249, 1254, 1257, 1261, - /* 380 */ 1262, 1332, 1269, 1239, 1280, 1179, 1279, 1248, 1313, 1320, - /* 390 */ 1324, 1325, 1335, 1338, 718, 1343, 1348, 1283, 1344, 1704, - /* 400 */ 1707, 1710, 1669, 1713, 1680, 1511, 1685, 1687, 1688, 1517, - /* 410 */ 1727, 1693, 1694, 1523, 1731, 1525, 1733, 1700, 1736, 1715, - /* 420 */ 1738, 1705, 1548, 1555, 1558, 1745, 1746, 1747, 1567, 1571, - /* 430 */ 1748, 1750, 1706, 1754, 1757, 1764, 1724, 1767, 1768, 1769, - /* 440 */ 1770, 1773, 1774, 1786, 1787, 1629, 1753, 1790, 1637, 1791, - /* 450 */ 1793, 1795, 1796, 1798, 1799, 1800, 1801, 1803, 1805, 1806, - /* 460 */ 1807, 1808, 1809, 1810, 1811, 1771, 1812, 1815, 1816, 1817, - /* 470 */ 1818, 1819, 1802, 1820, 1821, 1822, 1684, 1825, 1826, 1813, - /* 480 */ 1732, 1814, 1734, 1827, 1775, 1794, 1832, 1779, 1840, 1792, - /* 490 */ 1849, 1851, 1823, 1824, 1829, 1828, 1838, 1831, 1839, 1834, - /* 500 */ 1854, 1830, 1835, 1856, 1857, 1858, 1837, 1682, 1864, 1866, - /* 510 */ 1867, 1804, 1868, 1871, 1844, 1836, 1843, 1883, 1853, 1841, - /* 520 */ 1847, 1890, 1859, 1845, 1852, 1895, 1863, 1865, 1870, 1897, - /* 530 */ 1905, 1907, 1910, 1752, 1833, 1876, 1892, 1915, 1881, 1884, - /* 540 */ 1885, 1887, 1888, 1899, 1900, 1874, 1886, 1901, 1902, 1916, - /* 550 */ 1904, 1932, 1919, 1942, 1921, 1894, 1946, 1925, 1913, 1949, - /* 560 */ 1917, 1951, 1920, 1954, 1934, 1937, 1924, 1926, 1928, 1869, - /* 570 */ 1872, 1964, 1797, 1873, 1933, 1945, 1969, 1782, 1953, 1846, - /* 580 */ 1860, 1976, 1977, 1875, 1862, 1975, 1936, 1728, 1889, 1891, - /* 590 */ 1893, 1909, 1898, 1911, 1896, 1908, 1940, 1941, 1912, 1906, - /* 600 */ 1927, 1935, 1931, 1943, 1939, 1965, 1938, 1944, 1763, 1952, - /* 610 */ 1955, 2023, 1984, 1780, 2001, 2004, 2006, 2007, 2010, 2011, - /* 620 */ 1956, 1958, 2008, 1848, 2016, 2015, 2063, 2064, 2067, 2076, - /* 630 */ 1978, 2038, 1828, 2033, 1982, 1983, 1985, 1987, 1988, 1914, - /* 640 */ 1989, 2083, 2051, 1923, 1994, 1990, 1828, 2048, 2053, 2000, - /* 650 */ 1877, 2003, 2100, 2081, 1918, 2005, 2009, 2013, 2026, 2014, - /* 660 */ 2027, 2060, 2017, 2024, 2061, 2028, 2087, 1948, 2030, 2021, - /* 670 */ 2032, 2102, 2103, 2035, 2041, 2116, 2052, 2054, 2118, 2056, - /* 680 */ 2057, 2119, 2065, 2058, 2125, 2066, 2044, 2045, 2046, 2047, - /* 690 */ 2139, 2072, 2073, 2128, 2077, 2141, 2086, 2128, 2128, 2165, - /* 700 */ 2123, 2126, 2154, 2156, 2157, 2160, 2161, 2162, 2164, 2174, - /* 710 */ 2176, 2177, 2129, 2117, 2169, 2179, 2181, 2182, 2196, 2184, - /* 720 */ 2186, 2188, 2153, 1874, 2190, 1886, 2192, 2193, 2194, 2195, - /* 730 */ 2209, 2197, 2233, 2200, 2189, 2199, 2236, 2205, 2198, 2203, - /* 740 */ 2243, 2210, 2201, 2208, 2244, 2213, 2202, 2212, 2253, 2220, - /* 750 */ 2222, 2258, 2245, 2247, 2248, 2250, 2252, 2249, + /* 0 */ 1217, 0, 223, 0, 447, 447, 447, 447, 447, 447, + /* 10 */ 447, 447, 447, 447, 447, 670, 893, 893, 1116, 893, + /* 20 */ 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, + /* 30 */ 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, + /* 40 */ 893, 893, 893, 893, 893, 893, 893, 893, 219, 294, + /* 50 */ 394, 148, 381, 71, 291, 71, 148, 148, 991, 991, + /* 60 */ 991, 71, 991, 991, 147, 71, 31, 643, 46, 46, + /* 70 */ 643, 432, 432, 221, 45, 35, 35, 46, 46, 46, + /* 80 */ 46, 46, 46, 46, 124, 46, 46, 22, 31, 46, + /* 90 */ 46, 186, 46, 31, 46, 124, 46, 124, 31, 46, + /* 100 */ 46, 31, 46, 31, 31, 31, 46, 203, 222, 187, + /* 110 */ 187, 671, 13, 774, 774, 774, 774, 774, 774, 774, + /* 120 */ 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, + /* 130 */ 774, 774, 804, 490, 221, 45, 537, 386, 386, 386, + /* 140 */ 700, 173, 173, 537, 251, 251, 251, 22, 207, 238, + /* 150 */ 31, 116, 31, 116, 116, 247, 484, 410, 410, 410, + /* 160 */ 410, 410, 410, 410, 410, 1862, 857, 313, 196, 16, + /* 170 */ 65, 112, 228, 633, 853, 335, 592, 894, 952, 963, + /* 180 */ 883, 988, 1041, 883, 1126, 739, 1133, 1154, 1373, 1241, + /* 190 */ 1393, 1429, 1393, 1305, 1452, 1452, 1393, 1305, 1305, 1377, + /* 200 */ 1386, 1452, 1389, 1452, 1452, 1452, 1473, 1473, 1480, 22, + /* 210 */ 1482, 22, 1487, 1490, 22, 1487, 22, 22, 22, 1452, + /* 220 */ 22, 1466, 1466, 1473, 31, 31, 31, 31, 31, 31, + /* 230 */ 31, 31, 31, 31, 31, 1452, 1473, 116, 116, 116, + /* 240 */ 1331, 1434, 1480, 203, 1379, 1384, 1482, 203, 1452, 1429, + /* 250 */ 1429, 116, 1322, 1328, 116, 1322, 1328, 116, 116, 31, + /* 260 */ 1335, 1412, 1322, 1337, 1339, 1351, 1154, 1314, 1332, 1338, + /* 270 */ 1359, 251, 1599, 1452, 1487, 203, 203, 1613, 1328, 116, + /* 280 */ 116, 116, 116, 116, 1328, 116, 1489, 203, 247, 203, + /* 290 */ 251, 1550, 1567, 116, 484, 1452, 203, 1642, 1473, 2842, + /* 300 */ 2842, 2842, 2842, 2842, 2842, 2842, 2842, 2842, 36, 441, + /* 310 */ 598, 547, 408, 1002, 1060, 506, 702, 1082, 1150, 1099, + /* 320 */ 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1175, + /* 330 */ 554, 76, 76, 722, 526, 656, 733, 707, 848, 971, + /* 340 */ 752, 867, 867, 499, 461, 144, 499, 499, 499, 288, + /* 350 */ 1077, 587, 1070, 1195, 1049, 1134, 1037, 1050, 1091, 1108, + /* 360 */ 581, 939, 1259, 1272, 1292, 1061, 1192, 1222, 1199, 1224, + /* 370 */ 1253, 1256, 1137, 1043, 1242, 1152, 1271, 1275, 1280, 1284, + /* 380 */ 1285, 1288, 1320, 1307, 1164, 1263, 580, 1309, 1264, 1317, + /* 390 */ 1321, 1323, 1330, 1333, 1336, 1282, 1353, 1358, 1291, 1390, + /* 400 */ 1692, 1693, 1696, 1661, 1705, 1673, 1502, 1675, 1676, 1677, + /* 410 */ 1506, 1715, 1681, 1682, 1512, 1720, 1520, 1730, 1697, 1731, + /* 420 */ 1711, 1734, 1700, 1542, 1549, 1552, 1741, 1742, 1743, 1562, + /* 430 */ 1564, 1746, 1747, 1702, 1750, 1751, 1752, 1712, 1756, 1757, + /* 440 */ 1758, 1759, 1760, 1761, 1763, 1764, 1611, 1733, 1769, 1616, + /* 450 */ 1772, 1773, 1774, 1776, 1778, 1780, 1781, 1782, 1783, 1784, + /* 460 */ 1786, 1787, 1788, 1790, 1791, 1798, 1762, 1800, 1801, 1803, + /* 470 */ 1805, 1806, 1808, 1802, 1809, 1810, 1813, 1683, 1823, 1826, + /* 480 */ 1807, 1732, 1811, 1735, 1830, 1779, 1797, 1834, 1789, 1836, + /* 490 */ 1793, 1838, 1839, 1799, 1814, 1812, 1795, 1832, 1815, 1835, + /* 500 */ 1825, 1844, 1818, 1820, 1852, 1854, 1855, 1824, 1698, 1870, + /* 510 */ 1874, 1876, 1817, 1877, 1878, 1848, 1831, 1846, 1886, 1861, + /* 520 */ 1849, 1860, 1900, 1867, 1856, 1864, 1905, 1872, 1863, 1873, + /* 530 */ 1909, 1913, 1914, 1915, 1819, 1822, 1887, 1899, 1923, 1889, + /* 540 */ 1890, 1891, 1895, 1896, 1897, 1898, 1892, 1893, 1904, 1906, + /* 550 */ 1912, 1908, 1935, 1918, 1944, 1929, 1903, 1954, 1933, 1922, + /* 560 */ 1958, 1924, 1962, 1928, 1965, 1945, 1946, 1934, 1936, 1937, + /* 570 */ 1869, 1879, 1974, 1827, 1880, 1941, 1955, 1978, 1792, 1960, + /* 580 */ 1833, 1821, 1983, 1984, 1840, 1828, 1982, 1942, 1737, 1888, + /* 590 */ 1910, 1894, 1902, 1901, 1911, 1926, 1921, 1949, 1956, 1925, + /* 600 */ 1927, 1930, 1932, 1938, 1966, 1959, 1976, 1940, 1980, 1770, + /* 610 */ 1948, 1952, 1987, 1985, 1829, 2002, 2012, 2015, 2021, 2022, + /* 620 */ 2023, 1953, 1967, 2013, 1837, 2017, 2016, 2062, 2067, 2070, + /* 630 */ 2071, 1981, 2039, 1795, 2033, 1988, 1986, 1989, 1991, 1992, + /* 640 */ 1931, 1993, 2083, 2046, 1920, 1994, 1999, 1795, 2048, 2053, + /* 650 */ 2000, 1865, 2014, 2109, 2091, 1907, 2018, 2024, 2020, 2025, + /* 660 */ 2027, 2028, 2069, 2031, 2034, 2072, 2032, 2092, 1919, 2037, + /* 670 */ 2006, 2035, 2087, 2089, 2038, 2040, 2104, 2042, 2043, 2108, + /* 680 */ 2050, 2045, 2113, 2051, 2052, 2117, 2054, 2055, 2056, 2057, + /* 690 */ 2060, 2133, 2044, 2058, 2115, 2061, 2122, 2063, 2115, 2115, + /* 700 */ 2140, 2101, 2111, 2130, 2138, 2141, 2157, 2158, 2159, 2161, + /* 710 */ 2163, 2165, 2166, 2131, 2110, 2160, 2170, 2171, 2172, 2186, + /* 720 */ 2174, 2175, 2176, 2142, 1892, 2177, 1893, 2179, 2181, 2182, + /* 730 */ 2184, 2196, 2185, 2221, 2187, 2178, 2189, 2223, 2190, 2194, + /* 740 */ 2191, 2224, 2198, 2195, 2205, 2229, 2211, 2201, 2212, 2250, + /* 750 */ 2217, 2218, 2254, 2233, 2236, 2237, 2238, 2241, 2244, }; #define YY_REDUCE_COUNT (307) -#define YY_REDUCE_MIN (-442) -#define YY_REDUCE_MAX (2408) +#define YY_REDUCE_MIN (-396) +#define YY_REDUCE_MAX (2416) static const short yy_reduce_ofst[] = { - /* 0 */ -20, -328, 248, 809, 840, 907, 967, 987, 1096, 655, - /* 10 */ 1116, 1190, 1214, 1281, 1341, 46, -305, 325, 467, 890, - /* 20 */ 1264, 1361, 1424, 1482, 1507, 1580, 1601, 1630, 1651, 1701, - /* 30 */ 1726, 1761, 1784, 1842, 1861, 1922, 1980, 1996, 2059, 2075, - /* 40 */ 2094, 2158, 2175, 2235, 2255, 2329, 2346, 2408, -317, -303, - /* 50 */ 120, 282, 313, 453, 483, 584, 361, 683, -367, -348, - /* 60 */ -272, 461, 293, 523, -442, -384, 72, -364, -286, -163, - /* 70 */ -378, -330, -130, 207, -241, 155, 171, 324, 384, 413, - /* 80 */ 475, 479, 637, 686, -287, 698, 708, 22, 330, 776, - /* 90 */ 788, -358, 791, 465, 802, 6, 815, 70, -17, 817, - /* 100 */ 859, 713, 861, 60, 717, 255, 868, 230, -297, -284, - /* 110 */ -284, -344, -259, 201, 241, 252, 401, 456, 471, 501, - /* 120 */ 521, 524, 565, 665, 675, 761, 765, 813, 838, 870, - /* 130 */ 874, 878, -188, -387, 327, 503, 273, -387, 566, 580, - /* 140 */ 549, 464, 583, 562, -71, 65, 187, 288, -327, -302, - /* 150 */ 545, 380, 568, 666, 755, 790, 395, 265, 529, 541, - /* 160 */ 726, 768, 784, 787, 768, 643, 962, 729, 741, 849, - /* 170 */ 875, 988, 887, 994, 994, 1029, 1002, 1055, 1018, 1011, - /* 180 */ 955, 955, 948, 955, 973, 971, 994, 1012, 1019, 1033, - /* 190 */ 1052, 1053, 1057, 1060, 1104, 1106, 1062, 1066, 1068, 1112, - /* 200 */ 1114, 1115, 1117, 1126, 1127, 1130, 1138, 1143, 1070, 1132, - /* 210 */ 1100, 1137, 1144, 1088, 1142, 1149, 1145, 1151, 1152, 1153, - /* 220 */ 1154, 1156, 1159, 1169, 1140, 1158, 1164, 1176, 1178, 1183, - /* 230 */ 1185, 1188, 1189, 1192, 1194, 1167, 1187, 1131, 1134, 1146, - /* 240 */ 1119, 1155, 1160, 1200, 1157, 1161, 1180, 1222, 1218, 1181, - /* 250 */ 1186, 1197, 1120, 1196, 1203, 1129, 1198, 1205, 1206, 994, - /* 260 */ 1150, 1135, 1133, 1165, 1148, 1166, 1208, 1168, 1173, 1162, - /* 270 */ 955, 1232, 1207, 1278, 1289, 1297, 1299, 1256, 1258, 1270, - /* 280 */ 1274, 1277, 1282, 1284, 1260, 1285, 1267, 1314, 1303, 1323, - /* 290 */ 1292, 1234, 1301, 1293, 1334, 1336, 1333, 1345, 1353, 1290, - /* 300 */ 1273, 1298, 1300, 1337, 1349, 1350, 1330, 1367, + /* 0 */ -315, -280, -120, 138, 276, 353, 429, 548, 620, -18, + /* 10 */ 167, 771, 1025, 1105, 1125, 403, 994, 1202, 1219, 1279, + /* 20 */ 1303, 1374, 1396, 1446, 1469, 1527, 1594, 1623, 1654, 1685, + /* 30 */ 1749, 1766, 1816, 1866, 1882, 1943, 1961, 2019, 2036, 2100, + /* 40 */ 2116, 2183, 2200, 2262, 2323, 2341, 2399, 2416, 801, -289, + /* 50 */ -396, -177, -394, 513, 827, 915, -91, 280, 372, 540, + /* 60 */ 1073, -279, -368, -90, -388, 564, -89, -235, -181, -84, + /* 70 */ -380, -332, -278, -81, -354, 123, 149, 352, 424, 460, + /* 80 */ 498, 505, 576, 679, 160, 680, 706, -265, -363, 729, + /* 90 */ 798, 102, 799, -175, 826, 175, 828, 179, 285, 840, + /* 100 */ 887, -129, 906, 502, 106, 621, 910, 232, -320, -355, + /* 110 */ -355, -51, -58, -141, 269, 273, 426, 433, 459, 541, + /* 120 */ 542, 676, 692, 756, 767, 768, 769, 797, 838, 847, + /* 130 */ 871, 877, 143, 49, -106, -285, -6, 49, 376, 529, + /* 140 */ 589, -16, 304, 150, 495, 649, 708, 628, -232, 507, + /* 150 */ -357, 197, 640, 672, 682, 747, 477, 292, 380, 446, + /* 160 */ 486, 511, 551, 711, 511, 161, 347, 419, 694, 712, + /* 170 */ 727, 800, 772, 937, 937, 1013, 980, 1030, 1009, 1005, + /* 180 */ 955, 955, 933, 955, 964, 954, 937, 998, 1020, 1033, + /* 190 */ 1056, 1066, 1083, 1072, 1132, 1135, 1088, 1093, 1094, 1129, + /* 200 */ 1140, 1141, 1136, 1151, 1153, 1155, 1160, 1162, 1095, 1156, + /* 210 */ 1124, 1161, 1167, 1112, 1165, 1171, 1168, 1172, 1174, 1173, + /* 220 */ 1182, 1178, 1187, 1197, 1183, 1185, 1188, 1189, 1190, 1193, + /* 230 */ 1194, 1198, 1200, 1201, 1203, 1212, 1204, 1159, 1179, 1184, + /* 240 */ 1163, 1157, 1166, 1225, 1169, 1176, 1196, 1233, 1238, 1205, + /* 250 */ 1206, 1207, 1130, 1208, 1209, 1138, 1210, 1211, 1218, 937, + /* 260 */ 1139, 1143, 1147, 1158, 1177, 1180, 1213, 1142, 1149, 1148, + /* 270 */ 955, 1244, 1215, 1287, 1293, 1298, 1301, 1255, 1254, 1270, + /* 280 */ 1273, 1276, 1278, 1283, 1260, 1286, 1277, 1316, 1302, 1318, + /* 290 */ 1296, 1231, 1304, 1297, 1315, 1334, 1340, 1343, 1345, 1290, + /* 300 */ 1274, 1294, 1300, 1326, 1327, 1346, 1342, 1352, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 10 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 20 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 30 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 40 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 50 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 60 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 70 */ 1707, 1707, 1707, 1978, 1707, 1707, 1707, 1707, 1707, 1707, - /* 80 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1786, 1707, 1707, - /* 90 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 100 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1784, 1971, 2189, - /* 110 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 120 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 130 */ 1707, 1707, 1707, 2201, 1707, 1707, 1707, 2201, 2201, 2201, - /* 140 */ 1784, 2161, 2161, 1707, 1707, 1707, 1707, 1786, 2034, 1707, - /* 150 */ 1707, 1707, 1707, 1707, 1707, 1906, 1707, 1707, 1707, 1707, - /* 160 */ 1707, 1930, 1707, 1707, 1707, 2024, 1707, 1707, 2226, 2282, - /* 170 */ 1707, 1707, 2229, 1707, 1707, 1707, 1983, 1707, 1859, 2216, - /* 180 */ 2193, 2207, 2266, 2194, 2191, 2210, 1707, 2220, 1707, 2017, - /* 190 */ 1976, 1707, 1976, 1973, 1707, 1707, 1976, 1973, 1973, 1848, - /* 200 */ 1844, 1707, 1842, 1707, 1707, 1707, 1707, 1707, 1707, 1786, - /* 210 */ 1707, 1786, 1707, 1707, 1786, 1707, 1786, 1786, 1786, 1707, - /* 220 */ 1786, 1764, 1764, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 230 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 240 */ 2046, 2032, 1707, 1784, 2028, 2026, 1707, 1784, 1707, 1707, - /* 250 */ 1707, 1707, 2237, 2235, 1707, 2237, 2235, 1707, 1707, 1707, - /* 260 */ 2251, 2247, 2237, 2255, 2253, 2222, 2220, 2285, 2272, 2268, - /* 270 */ 2207, 1707, 1707, 1707, 1707, 1784, 1784, 1707, 2235, 1707, - /* 280 */ 1707, 1707, 1707, 1707, 2235, 1707, 1707, 1784, 1707, 1784, - /* 290 */ 1707, 1707, 1875, 1707, 1707, 1707, 1784, 1739, 1707, 2019, - /* 300 */ 2037, 2001, 2001, 1909, 1909, 1909, 1787, 1712, 1707, 1707, - /* 310 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 320 */ 2250, 2249, 2116, 1707, 2165, 2164, 2163, 2154, 2115, 1871, - /* 330 */ 1707, 2114, 2113, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 340 */ 1707, 1992, 1991, 2107, 1707, 1707, 2108, 2106, 2105, 1707, - /* 350 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 360 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 370 */ 1707, 1707, 2269, 2273, 1707, 1707, 1707, 1707, 1707, 1707, - /* 380 */ 1707, 2190, 1707, 1707, 1707, 1707, 1707, 2089, 1707, 1707, - /* 390 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 400 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 410 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 420 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 430 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 440 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 450 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 460 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 470 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 480 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 490 */ 1707, 1707, 1707, 1707, 1744, 2094, 1707, 1707, 1707, 1707, - /* 500 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 510 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 520 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 530 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 540 */ 1707, 1707, 1707, 1707, 1707, 1825, 1824, 1707, 1707, 1707, - /* 550 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 560 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 2098, - /* 570 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 580 */ 1707, 1707, 1707, 1707, 1707, 2265, 2223, 1707, 1707, 1707, - /* 590 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 600 */ 1707, 1707, 1707, 1707, 1707, 2089, 1707, 2248, 1707, 1707, - /* 610 */ 2263, 1707, 2267, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 620 */ 2200, 2196, 1707, 1707, 2192, 1707, 1707, 1707, 1707, 1707, - /* 630 */ 1707, 1707, 2097, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 640 */ 1707, 1707, 1707, 1707, 1707, 1707, 2088, 1707, 2151, 1707, - /* 650 */ 1707, 1707, 2185, 1707, 1707, 2136, 1707, 1707, 1707, 1707, - /* 660 */ 1707, 1707, 1707, 1707, 1707, 2098, 1707, 2101, 1707, 1707, - /* 670 */ 1707, 1707, 1707, 1903, 1707, 1707, 1707, 1707, 1707, 1707, - /* 680 */ 1707, 1707, 1707, 1707, 1707, 1707, 1888, 1886, 1885, 1884, - /* 690 */ 1707, 1881, 1707, 1916, 1707, 1707, 1707, 1912, 1911, 1707, - /* 700 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 710 */ 1707, 1707, 1707, 1707, 1805, 1707, 1707, 1707, 1707, 1707, - /* 720 */ 1707, 1707, 1707, 1797, 1707, 1796, 1707, 1707, 1707, 1707, - /* 730 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 740 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, - /* 750 */ 1707, 1707, 1707, 1707, 1707, 1707, 1707, 1707, + /* 0 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 10 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 20 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 30 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 40 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 50 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 60 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 70 */ 1709, 1709, 1709, 1980, 1709, 1709, 1709, 1709, 1709, 1709, + /* 80 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1788, 1709, 1709, + /* 90 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 100 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1786, 1973, 2192, + /* 110 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 120 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 130 */ 1709, 1709, 1709, 2204, 1709, 1709, 1709, 2204, 2204, 2204, + /* 140 */ 1786, 2164, 2164, 1709, 1709, 1709, 1709, 1788, 2036, 1709, + /* 150 */ 1709, 1709, 1709, 1709, 1709, 1908, 1709, 1709, 1709, 1709, + /* 160 */ 1709, 1932, 1709, 1709, 1709, 2026, 1709, 1709, 2229, 2285, + /* 170 */ 1709, 1709, 2232, 1709, 1709, 1709, 1985, 1709, 1861, 2219, + /* 180 */ 2196, 2210, 2269, 2197, 2194, 2213, 1709, 2223, 1709, 2019, + /* 190 */ 1978, 1709, 1978, 1975, 1709, 1709, 1978, 1975, 1975, 1850, + /* 200 */ 1846, 1709, 1844, 1709, 1709, 1709, 1709, 1709, 1709, 1788, + /* 210 */ 1709, 1788, 1709, 1709, 1788, 1709, 1788, 1788, 1788, 1709, + /* 220 */ 1788, 1766, 1766, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 230 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 240 */ 2048, 2034, 1709, 1786, 2030, 2028, 1709, 1786, 1709, 1709, + /* 250 */ 1709, 1709, 2240, 2238, 1709, 2240, 2238, 1709, 1709, 1709, + /* 260 */ 2254, 2250, 2240, 2258, 2256, 2225, 2223, 2288, 2275, 2271, + /* 270 */ 2210, 1709, 1709, 1709, 1709, 1786, 1786, 1709, 2238, 1709, + /* 280 */ 1709, 1709, 1709, 1709, 2238, 1709, 1709, 1786, 1709, 1786, + /* 290 */ 1709, 1709, 1877, 1709, 1709, 1709, 1786, 1741, 1709, 2021, + /* 300 */ 2039, 2003, 2003, 1911, 1911, 1911, 1789, 1714, 1709, 1709, + /* 310 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 320 */ 2253, 2252, 2119, 1709, 2168, 2167, 2166, 2157, 2118, 1873, + /* 330 */ 1709, 2117, 2116, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 340 */ 1709, 1994, 1993, 2110, 1709, 1709, 2111, 2109, 2108, 1709, + /* 350 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 360 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 370 */ 1709, 1709, 1709, 2272, 2276, 1709, 1709, 1709, 1709, 1709, + /* 380 */ 1709, 1709, 2193, 1709, 1709, 1709, 1709, 1709, 2092, 1709, + /* 390 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 400 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 410 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 420 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 430 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 440 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 450 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 460 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 470 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 480 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 490 */ 1709, 1709, 1709, 1709, 1709, 1746, 2097, 1709, 1709, 1709, + /* 500 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 510 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 520 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 530 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 540 */ 1709, 1709, 1709, 1709, 1709, 1709, 1827, 1826, 1709, 1709, + /* 550 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 560 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 570 */ 2101, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 580 */ 1709, 1709, 1709, 1709, 1709, 1709, 2268, 2226, 1709, 1709, + /* 590 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 600 */ 1709, 1709, 1709, 1709, 1709, 1709, 2092, 1709, 2251, 1709, + /* 610 */ 1709, 2266, 1709, 2270, 1709, 1709, 1709, 1709, 1709, 1709, + /* 620 */ 1709, 2203, 2199, 1709, 1709, 2195, 1709, 1709, 1709, 1709, + /* 630 */ 1709, 1709, 1709, 2100, 1709, 1709, 1709, 1709, 1709, 1709, + /* 640 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2091, 1709, 2154, + /* 650 */ 1709, 1709, 1709, 2188, 1709, 1709, 2139, 1709, 1709, 1709, + /* 660 */ 1709, 1709, 1709, 1709, 1709, 1709, 2101, 1709, 2104, 1709, + /* 670 */ 1709, 1709, 1709, 1709, 1905, 1709, 1709, 1709, 1709, 1709, + /* 680 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1890, 1888, 1887, + /* 690 */ 1886, 1709, 1883, 1709, 1918, 1709, 1709, 1709, 1914, 1913, + /* 700 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 710 */ 1709, 1709, 1709, 1709, 1709, 1807, 1709, 1709, 1709, 1709, + /* 720 */ 1709, 1709, 1709, 1709, 1799, 1709, 1798, 1709, 1709, 1709, + /* 730 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 740 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 750 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1100,7 +1102,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* START => nothing */ 0, /* WITH => nothing */ 0, /* TIMESTAMP => nothing */ - 277, /* END => ABORT */ + 278, /* END => ABORT */ 0, /* TABLE => nothing */ 0, /* NK_LP => nothing */ 0, /* NK_RP => nothing */ @@ -1210,6 +1212,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* TRANSACTION => nothing */ 0, /* BALANCE => nothing */ 0, /* VGROUP => nothing */ + 0, /* LEADER => nothing */ 0, /* MERGE => nothing */ 0, /* REDISTRIBUTE => nothing */ 0, /* SPLIT => nothing */ @@ -1280,57 +1283,57 @@ static const YYCODETYPE yyFallback[] = { 0, /* ASC => nothing */ 0, /* NULLS => nothing */ 0, /* ABORT => nothing */ - 277, /* AFTER => ABORT */ - 277, /* ATTACH => ABORT */ - 277, /* BEFORE => ABORT */ - 277, /* BEGIN => ABORT */ - 277, /* BITAND => ABORT */ - 277, /* BITNOT => ABORT */ - 277, /* BITOR => ABORT */ - 277, /* BLOCKS => ABORT */ - 277, /* CHANGE => ABORT */ - 277, /* COMMA => ABORT */ - 277, /* CONCAT => ABORT */ - 277, /* CONFLICT => ABORT */ - 277, /* COPY => ABORT */ - 277, /* DEFERRED => ABORT */ - 277, /* DELIMITERS => ABORT */ - 277, /* DETACH => ABORT */ - 277, /* DIVIDE => ABORT */ - 277, /* DOT => ABORT */ - 277, /* EACH => ABORT */ - 277, /* FAIL => ABORT */ - 277, /* FILE => ABORT */ - 277, /* FOR => ABORT */ - 277, /* GLOB => ABORT */ - 277, /* ID => ABORT */ - 277, /* IMMEDIATE => ABORT */ - 277, /* IMPORT => ABORT */ - 277, /* INITIALLY => ABORT */ - 277, /* INSTEAD => ABORT */ - 277, /* ISNULL => ABORT */ - 277, /* KEY => ABORT */ - 277, /* MODULES => ABORT */ - 277, /* NK_BITNOT => ABORT */ - 277, /* NK_SEMI => ABORT */ - 277, /* NOTNULL => ABORT */ - 277, /* OF => ABORT */ - 277, /* PLUS => ABORT */ - 277, /* PRIVILEGE => ABORT */ - 277, /* RAISE => ABORT */ - 277, /* REPLACE => ABORT */ - 277, /* RESTRICT => ABORT */ - 277, /* ROW => ABORT */ - 277, /* SEMI => ABORT */ - 277, /* STAR => ABORT */ - 277, /* STATEMENT => ABORT */ - 277, /* STRICT => ABORT */ - 277, /* STRING => ABORT */ - 277, /* TIMES => ABORT */ - 277, /* VALUES => ABORT */ - 277, /* VARIABLE => ABORT */ - 277, /* VIEW => ABORT */ - 277, /* WAL => ABORT */ + 278, /* AFTER => ABORT */ + 278, /* ATTACH => ABORT */ + 278, /* BEFORE => ABORT */ + 278, /* BEGIN => ABORT */ + 278, /* BITAND => ABORT */ + 278, /* BITNOT => ABORT */ + 278, /* BITOR => ABORT */ + 278, /* BLOCKS => ABORT */ + 278, /* CHANGE => ABORT */ + 278, /* COMMA => ABORT */ + 278, /* CONCAT => ABORT */ + 278, /* CONFLICT => ABORT */ + 278, /* COPY => ABORT */ + 278, /* DEFERRED => ABORT */ + 278, /* DELIMITERS => ABORT */ + 278, /* DETACH => ABORT */ + 278, /* DIVIDE => ABORT */ + 278, /* DOT => ABORT */ + 278, /* EACH => ABORT */ + 278, /* FAIL => ABORT */ + 278, /* FILE => ABORT */ + 278, /* FOR => ABORT */ + 278, /* GLOB => ABORT */ + 278, /* ID => ABORT */ + 278, /* IMMEDIATE => ABORT */ + 278, /* IMPORT => ABORT */ + 278, /* INITIALLY => ABORT */ + 278, /* INSTEAD => ABORT */ + 278, /* ISNULL => ABORT */ + 278, /* KEY => ABORT */ + 278, /* MODULES => ABORT */ + 278, /* NK_BITNOT => ABORT */ + 278, /* NK_SEMI => ABORT */ + 278, /* NOTNULL => ABORT */ + 278, /* OF => ABORT */ + 278, /* PLUS => ABORT */ + 278, /* PRIVILEGE => ABORT */ + 278, /* RAISE => ABORT */ + 278, /* REPLACE => ABORT */ + 278, /* RESTRICT => ABORT */ + 278, /* ROW => ABORT */ + 278, /* SEMI => ABORT */ + 278, /* STAR => ABORT */ + 278, /* STATEMENT => ABORT */ + 278, /* STRICT => ABORT */ + 278, /* STRING => ABORT */ + 278, /* TIMES => ABORT */ + 278, /* VALUES => ABORT */ + 278, /* VARIABLE => ABORT */ + 278, /* VIEW => ABORT */ + 278, /* WAL => ABORT */ }; #endif /* YYFALLBACK */ @@ -1626,271 +1629,272 @@ static const char *const yyTokenName[] = { /* 205 */ "TRANSACTION", /* 206 */ "BALANCE", /* 207 */ "VGROUP", - /* 208 */ "MERGE", - /* 209 */ "REDISTRIBUTE", - /* 210 */ "SPLIT", - /* 211 */ "DELETE", - /* 212 */ "INSERT", - /* 213 */ "NULL", - /* 214 */ "NK_QUESTION", - /* 215 */ "NK_ARROW", - /* 216 */ "ROWTS", - /* 217 */ "QSTART", - /* 218 */ "QEND", - /* 219 */ "QDURATION", - /* 220 */ "WSTART", - /* 221 */ "WEND", - /* 222 */ "WDURATION", - /* 223 */ "IROWTS", - /* 224 */ "ISFILLED", - /* 225 */ "CAST", - /* 226 */ "NOW", - /* 227 */ "TODAY", - /* 228 */ "TIMEZONE", - /* 229 */ "CLIENT_VERSION", - /* 230 */ "SERVER_VERSION", - /* 231 */ "SERVER_STATUS", - /* 232 */ "CURRENT_USER", - /* 233 */ "CASE", - /* 234 */ "WHEN", - /* 235 */ "THEN", - /* 236 */ "ELSE", - /* 237 */ "BETWEEN", - /* 238 */ "IS", - /* 239 */ "NK_LT", - /* 240 */ "NK_GT", - /* 241 */ "NK_LE", - /* 242 */ "NK_GE", - /* 243 */ "NK_NE", - /* 244 */ "MATCH", - /* 245 */ "NMATCH", - /* 246 */ "CONTAINS", - /* 247 */ "IN", - /* 248 */ "JOIN", - /* 249 */ "INNER", - /* 250 */ "SELECT", - /* 251 */ "DISTINCT", - /* 252 */ "WHERE", - /* 253 */ "PARTITION", - /* 254 */ "BY", - /* 255 */ "SESSION", - /* 256 */ "STATE_WINDOW", - /* 257 */ "EVENT_WINDOW", - /* 258 */ "SLIDING", - /* 259 */ "FILL", - /* 260 */ "VALUE", - /* 261 */ "VALUE_F", - /* 262 */ "NONE", - /* 263 */ "PREV", - /* 264 */ "NULL_F", - /* 265 */ "LINEAR", - /* 266 */ "NEXT", - /* 267 */ "HAVING", - /* 268 */ "RANGE", - /* 269 */ "EVERY", - /* 270 */ "ORDER", - /* 271 */ "SLIMIT", - /* 272 */ "SOFFSET", - /* 273 */ "LIMIT", - /* 274 */ "OFFSET", - /* 275 */ "ASC", - /* 276 */ "NULLS", - /* 277 */ "ABORT", - /* 278 */ "AFTER", - /* 279 */ "ATTACH", - /* 280 */ "BEFORE", - /* 281 */ "BEGIN", - /* 282 */ "BITAND", - /* 283 */ "BITNOT", - /* 284 */ "BITOR", - /* 285 */ "BLOCKS", - /* 286 */ "CHANGE", - /* 287 */ "COMMA", - /* 288 */ "CONCAT", - /* 289 */ "CONFLICT", - /* 290 */ "COPY", - /* 291 */ "DEFERRED", - /* 292 */ "DELIMITERS", - /* 293 */ "DETACH", - /* 294 */ "DIVIDE", - /* 295 */ "DOT", - /* 296 */ "EACH", - /* 297 */ "FAIL", - /* 298 */ "FILE", - /* 299 */ "FOR", - /* 300 */ "GLOB", - /* 301 */ "ID", - /* 302 */ "IMMEDIATE", - /* 303 */ "IMPORT", - /* 304 */ "INITIALLY", - /* 305 */ "INSTEAD", - /* 306 */ "ISNULL", - /* 307 */ "KEY", - /* 308 */ "MODULES", - /* 309 */ "NK_BITNOT", - /* 310 */ "NK_SEMI", - /* 311 */ "NOTNULL", - /* 312 */ "OF", - /* 313 */ "PLUS", - /* 314 */ "PRIVILEGE", - /* 315 */ "RAISE", - /* 316 */ "REPLACE", - /* 317 */ "RESTRICT", - /* 318 */ "ROW", - /* 319 */ "SEMI", - /* 320 */ "STAR", - /* 321 */ "STATEMENT", - /* 322 */ "STRICT", - /* 323 */ "STRING", - /* 324 */ "TIMES", - /* 325 */ "VALUES", - /* 326 */ "VARIABLE", - /* 327 */ "VIEW", - /* 328 */ "WAL", - /* 329 */ "cmd", - /* 330 */ "account_options", - /* 331 */ "alter_account_options", - /* 332 */ "literal", - /* 333 */ "alter_account_option", - /* 334 */ "user_name", - /* 335 */ "sysinfo_opt", - /* 336 */ "privileges", - /* 337 */ "priv_level", - /* 338 */ "priv_type_list", - /* 339 */ "priv_type", - /* 340 */ "db_name", - /* 341 */ "topic_name", - /* 342 */ "dnode_endpoint", - /* 343 */ "force_opt", - /* 344 */ "not_exists_opt", - /* 345 */ "db_options", - /* 346 */ "exists_opt", - /* 347 */ "alter_db_options", - /* 348 */ "speed_opt", - /* 349 */ "start_opt", - /* 350 */ "end_opt", - /* 351 */ "integer_list", - /* 352 */ "variable_list", - /* 353 */ "retention_list", - /* 354 */ "alter_db_option", - /* 355 */ "retention", - /* 356 */ "full_table_name", - /* 357 */ "column_def_list", - /* 358 */ "tags_def_opt", - /* 359 */ "table_options", - /* 360 */ "multi_create_clause", - /* 361 */ "tags_def", - /* 362 */ "multi_drop_clause", - /* 363 */ "alter_table_clause", - /* 364 */ "alter_table_options", - /* 365 */ "column_name", - /* 366 */ "type_name", - /* 367 */ "signed_literal", - /* 368 */ "create_subtable_clause", - /* 369 */ "specific_cols_opt", - /* 370 */ "expression_list", - /* 371 */ "drop_table_clause", - /* 372 */ "col_name_list", - /* 373 */ "table_name", - /* 374 */ "column_def", - /* 375 */ "duration_list", - /* 376 */ "rollup_func_list", - /* 377 */ "alter_table_option", - /* 378 */ "duration_literal", - /* 379 */ "rollup_func_name", - /* 380 */ "function_name", - /* 381 */ "col_name", - /* 382 */ "db_name_cond_opt", - /* 383 */ "like_pattern_opt", - /* 384 */ "table_name_cond", - /* 385 */ "from_db_opt", - /* 386 */ "tag_list_opt", - /* 387 */ "tag_item", - /* 388 */ "column_alias", - /* 389 */ "full_index_name", - /* 390 */ "index_options", - /* 391 */ "index_name", - /* 392 */ "func_list", - /* 393 */ "sliding_opt", - /* 394 */ "sma_stream_opt", - /* 395 */ "func", - /* 396 */ "sma_func_name", - /* 397 */ "query_or_subquery", - /* 398 */ "cgroup_name", - /* 399 */ "analyze_opt", - /* 400 */ "explain_options", - /* 401 */ "insert_query", - /* 402 */ "agg_func_opt", - /* 403 */ "bufsize_opt", - /* 404 */ "language_opt", - /* 405 */ "stream_name", - /* 406 */ "stream_options", - /* 407 */ "col_list_opt", - /* 408 */ "tag_def_or_ref_opt", - /* 409 */ "subtable_opt", - /* 410 */ "expression", - /* 411 */ "dnode_list", - /* 412 */ "where_clause_opt", - /* 413 */ "signed", - /* 414 */ "literal_func", - /* 415 */ "literal_list", - /* 416 */ "table_alias", - /* 417 */ "expr_or_subquery", - /* 418 */ "pseudo_column", - /* 419 */ "column_reference", - /* 420 */ "function_expression", - /* 421 */ "case_when_expression", - /* 422 */ "star_func", - /* 423 */ "star_func_para_list", - /* 424 */ "noarg_func", - /* 425 */ "other_para_list", - /* 426 */ "star_func_para", - /* 427 */ "when_then_list", - /* 428 */ "case_when_else_opt", - /* 429 */ "common_expression", - /* 430 */ "when_then_expr", - /* 431 */ "predicate", - /* 432 */ "compare_op", - /* 433 */ "in_op", - /* 434 */ "in_predicate_value", - /* 435 */ "boolean_value_expression", - /* 436 */ "boolean_primary", - /* 437 */ "from_clause_opt", - /* 438 */ "table_reference_list", - /* 439 */ "table_reference", - /* 440 */ "table_primary", - /* 441 */ "joined_table", - /* 442 */ "alias_opt", - /* 443 */ "subquery", - /* 444 */ "parenthesized_joined_table", - /* 445 */ "join_type", - /* 446 */ "search_condition", - /* 447 */ "query_specification", - /* 448 */ "set_quantifier_opt", - /* 449 */ "select_list", - /* 450 */ "partition_by_clause_opt", - /* 451 */ "range_opt", - /* 452 */ "every_opt", - /* 453 */ "fill_opt", - /* 454 */ "twindow_clause_opt", - /* 455 */ "group_by_clause_opt", - /* 456 */ "having_clause_opt", - /* 457 */ "select_item", - /* 458 */ "partition_list", - /* 459 */ "partition_item", - /* 460 */ "fill_mode", - /* 461 */ "group_by_list", - /* 462 */ "query_expression", - /* 463 */ "query_simple", - /* 464 */ "order_by_clause_opt", - /* 465 */ "slimit_clause_opt", - /* 466 */ "limit_clause_opt", - /* 467 */ "union_query_expression", - /* 468 */ "query_simple_or_subquery", - /* 469 */ "sort_specification_list", - /* 470 */ "sort_specification", - /* 471 */ "ordering_specification_opt", - /* 472 */ "null_ordering_opt", + /* 208 */ "LEADER", + /* 209 */ "MERGE", + /* 210 */ "REDISTRIBUTE", + /* 211 */ "SPLIT", + /* 212 */ "DELETE", + /* 213 */ "INSERT", + /* 214 */ "NULL", + /* 215 */ "NK_QUESTION", + /* 216 */ "NK_ARROW", + /* 217 */ "ROWTS", + /* 218 */ "QSTART", + /* 219 */ "QEND", + /* 220 */ "QDURATION", + /* 221 */ "WSTART", + /* 222 */ "WEND", + /* 223 */ "WDURATION", + /* 224 */ "IROWTS", + /* 225 */ "ISFILLED", + /* 226 */ "CAST", + /* 227 */ "NOW", + /* 228 */ "TODAY", + /* 229 */ "TIMEZONE", + /* 230 */ "CLIENT_VERSION", + /* 231 */ "SERVER_VERSION", + /* 232 */ "SERVER_STATUS", + /* 233 */ "CURRENT_USER", + /* 234 */ "CASE", + /* 235 */ "WHEN", + /* 236 */ "THEN", + /* 237 */ "ELSE", + /* 238 */ "BETWEEN", + /* 239 */ "IS", + /* 240 */ "NK_LT", + /* 241 */ "NK_GT", + /* 242 */ "NK_LE", + /* 243 */ "NK_GE", + /* 244 */ "NK_NE", + /* 245 */ "MATCH", + /* 246 */ "NMATCH", + /* 247 */ "CONTAINS", + /* 248 */ "IN", + /* 249 */ "JOIN", + /* 250 */ "INNER", + /* 251 */ "SELECT", + /* 252 */ "DISTINCT", + /* 253 */ "WHERE", + /* 254 */ "PARTITION", + /* 255 */ "BY", + /* 256 */ "SESSION", + /* 257 */ "STATE_WINDOW", + /* 258 */ "EVENT_WINDOW", + /* 259 */ "SLIDING", + /* 260 */ "FILL", + /* 261 */ "VALUE", + /* 262 */ "VALUE_F", + /* 263 */ "NONE", + /* 264 */ "PREV", + /* 265 */ "NULL_F", + /* 266 */ "LINEAR", + /* 267 */ "NEXT", + /* 268 */ "HAVING", + /* 269 */ "RANGE", + /* 270 */ "EVERY", + /* 271 */ "ORDER", + /* 272 */ "SLIMIT", + /* 273 */ "SOFFSET", + /* 274 */ "LIMIT", + /* 275 */ "OFFSET", + /* 276 */ "ASC", + /* 277 */ "NULLS", + /* 278 */ "ABORT", + /* 279 */ "AFTER", + /* 280 */ "ATTACH", + /* 281 */ "BEFORE", + /* 282 */ "BEGIN", + /* 283 */ "BITAND", + /* 284 */ "BITNOT", + /* 285 */ "BITOR", + /* 286 */ "BLOCKS", + /* 287 */ "CHANGE", + /* 288 */ "COMMA", + /* 289 */ "CONCAT", + /* 290 */ "CONFLICT", + /* 291 */ "COPY", + /* 292 */ "DEFERRED", + /* 293 */ "DELIMITERS", + /* 294 */ "DETACH", + /* 295 */ "DIVIDE", + /* 296 */ "DOT", + /* 297 */ "EACH", + /* 298 */ "FAIL", + /* 299 */ "FILE", + /* 300 */ "FOR", + /* 301 */ "GLOB", + /* 302 */ "ID", + /* 303 */ "IMMEDIATE", + /* 304 */ "IMPORT", + /* 305 */ "INITIALLY", + /* 306 */ "INSTEAD", + /* 307 */ "ISNULL", + /* 308 */ "KEY", + /* 309 */ "MODULES", + /* 310 */ "NK_BITNOT", + /* 311 */ "NK_SEMI", + /* 312 */ "NOTNULL", + /* 313 */ "OF", + /* 314 */ "PLUS", + /* 315 */ "PRIVILEGE", + /* 316 */ "RAISE", + /* 317 */ "REPLACE", + /* 318 */ "RESTRICT", + /* 319 */ "ROW", + /* 320 */ "SEMI", + /* 321 */ "STAR", + /* 322 */ "STATEMENT", + /* 323 */ "STRICT", + /* 324 */ "STRING", + /* 325 */ "TIMES", + /* 326 */ "VALUES", + /* 327 */ "VARIABLE", + /* 328 */ "VIEW", + /* 329 */ "WAL", + /* 330 */ "cmd", + /* 331 */ "account_options", + /* 332 */ "alter_account_options", + /* 333 */ "literal", + /* 334 */ "alter_account_option", + /* 335 */ "user_name", + /* 336 */ "sysinfo_opt", + /* 337 */ "privileges", + /* 338 */ "priv_level", + /* 339 */ "priv_type_list", + /* 340 */ "priv_type", + /* 341 */ "db_name", + /* 342 */ "topic_name", + /* 343 */ "dnode_endpoint", + /* 344 */ "force_opt", + /* 345 */ "not_exists_opt", + /* 346 */ "db_options", + /* 347 */ "exists_opt", + /* 348 */ "alter_db_options", + /* 349 */ "speed_opt", + /* 350 */ "start_opt", + /* 351 */ "end_opt", + /* 352 */ "integer_list", + /* 353 */ "variable_list", + /* 354 */ "retention_list", + /* 355 */ "alter_db_option", + /* 356 */ "retention", + /* 357 */ "full_table_name", + /* 358 */ "column_def_list", + /* 359 */ "tags_def_opt", + /* 360 */ "table_options", + /* 361 */ "multi_create_clause", + /* 362 */ "tags_def", + /* 363 */ "multi_drop_clause", + /* 364 */ "alter_table_clause", + /* 365 */ "alter_table_options", + /* 366 */ "column_name", + /* 367 */ "type_name", + /* 368 */ "signed_literal", + /* 369 */ "create_subtable_clause", + /* 370 */ "specific_cols_opt", + /* 371 */ "expression_list", + /* 372 */ "drop_table_clause", + /* 373 */ "col_name_list", + /* 374 */ "table_name", + /* 375 */ "column_def", + /* 376 */ "duration_list", + /* 377 */ "rollup_func_list", + /* 378 */ "alter_table_option", + /* 379 */ "duration_literal", + /* 380 */ "rollup_func_name", + /* 381 */ "function_name", + /* 382 */ "col_name", + /* 383 */ "db_name_cond_opt", + /* 384 */ "like_pattern_opt", + /* 385 */ "table_name_cond", + /* 386 */ "from_db_opt", + /* 387 */ "tag_list_opt", + /* 388 */ "tag_item", + /* 389 */ "column_alias", + /* 390 */ "full_index_name", + /* 391 */ "index_options", + /* 392 */ "index_name", + /* 393 */ "func_list", + /* 394 */ "sliding_opt", + /* 395 */ "sma_stream_opt", + /* 396 */ "func", + /* 397 */ "sma_func_name", + /* 398 */ "query_or_subquery", + /* 399 */ "cgroup_name", + /* 400 */ "analyze_opt", + /* 401 */ "explain_options", + /* 402 */ "insert_query", + /* 403 */ "agg_func_opt", + /* 404 */ "bufsize_opt", + /* 405 */ "language_opt", + /* 406 */ "stream_name", + /* 407 */ "stream_options", + /* 408 */ "col_list_opt", + /* 409 */ "tag_def_or_ref_opt", + /* 410 */ "subtable_opt", + /* 411 */ "expression", + /* 412 */ "dnode_list", + /* 413 */ "where_clause_opt", + /* 414 */ "signed", + /* 415 */ "literal_func", + /* 416 */ "literal_list", + /* 417 */ "table_alias", + /* 418 */ "expr_or_subquery", + /* 419 */ "pseudo_column", + /* 420 */ "column_reference", + /* 421 */ "function_expression", + /* 422 */ "case_when_expression", + /* 423 */ "star_func", + /* 424 */ "star_func_para_list", + /* 425 */ "noarg_func", + /* 426 */ "other_para_list", + /* 427 */ "star_func_para", + /* 428 */ "when_then_list", + /* 429 */ "case_when_else_opt", + /* 430 */ "common_expression", + /* 431 */ "when_then_expr", + /* 432 */ "predicate", + /* 433 */ "compare_op", + /* 434 */ "in_op", + /* 435 */ "in_predicate_value", + /* 436 */ "boolean_value_expression", + /* 437 */ "boolean_primary", + /* 438 */ "from_clause_opt", + /* 439 */ "table_reference_list", + /* 440 */ "table_reference", + /* 441 */ "table_primary", + /* 442 */ "joined_table", + /* 443 */ "alias_opt", + /* 444 */ "subquery", + /* 445 */ "parenthesized_joined_table", + /* 446 */ "join_type", + /* 447 */ "search_condition", + /* 448 */ "query_specification", + /* 449 */ "set_quantifier_opt", + /* 450 */ "select_list", + /* 451 */ "partition_by_clause_opt", + /* 452 */ "range_opt", + /* 453 */ "every_opt", + /* 454 */ "fill_opt", + /* 455 */ "twindow_clause_opt", + /* 456 */ "group_by_clause_opt", + /* 457 */ "having_clause_opt", + /* 458 */ "select_item", + /* 459 */ "partition_list", + /* 460 */ "partition_item", + /* 461 */ "fill_mode", + /* 462 */ "group_by_list", + /* 463 */ "query_expression", + /* 464 */ "query_simple", + /* 465 */ "order_by_clause_opt", + /* 466 */ "slimit_clause_opt", + /* 467 */ "limit_clause_opt", + /* 468 */ "union_query_expression", + /* 469 */ "query_simple_or_subquery", + /* 470 */ "sort_specification_list", + /* 471 */ "sort_specification", + /* 472 */ "ordering_specification_opt", + /* 473 */ "null_ordering_opt", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -2240,242 +2244,243 @@ static const char *const yyRuleName[] = { /* 339 */ "cmd ::= KILL QUERY NK_STRING", /* 340 */ "cmd ::= KILL TRANSACTION NK_INTEGER", /* 341 */ "cmd ::= BALANCE VGROUP", - /* 342 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 343 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 344 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 345 */ "dnode_list ::= DNODE NK_INTEGER", - /* 346 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 347 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 348 */ "cmd ::= query_or_subquery", - /* 349 */ "cmd ::= insert_query", - /* 350 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 351 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", - /* 352 */ "literal ::= NK_INTEGER", - /* 353 */ "literal ::= NK_FLOAT", - /* 354 */ "literal ::= NK_STRING", - /* 355 */ "literal ::= NK_BOOL", - /* 356 */ "literal ::= TIMESTAMP NK_STRING", - /* 357 */ "literal ::= duration_literal", - /* 358 */ "literal ::= NULL", - /* 359 */ "literal ::= NK_QUESTION", - /* 360 */ "duration_literal ::= NK_VARIABLE", - /* 361 */ "signed ::= NK_INTEGER", - /* 362 */ "signed ::= NK_PLUS NK_INTEGER", - /* 363 */ "signed ::= NK_MINUS NK_INTEGER", - /* 364 */ "signed ::= NK_FLOAT", - /* 365 */ "signed ::= NK_PLUS NK_FLOAT", - /* 366 */ "signed ::= NK_MINUS NK_FLOAT", - /* 367 */ "signed_literal ::= signed", - /* 368 */ "signed_literal ::= NK_STRING", - /* 369 */ "signed_literal ::= NK_BOOL", - /* 370 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 371 */ "signed_literal ::= duration_literal", - /* 372 */ "signed_literal ::= NULL", - /* 373 */ "signed_literal ::= literal_func", - /* 374 */ "signed_literal ::= NK_QUESTION", - /* 375 */ "literal_list ::= signed_literal", - /* 376 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 377 */ "db_name ::= NK_ID", - /* 378 */ "table_name ::= NK_ID", - /* 379 */ "column_name ::= NK_ID", - /* 380 */ "function_name ::= NK_ID", - /* 381 */ "table_alias ::= NK_ID", - /* 382 */ "column_alias ::= NK_ID", - /* 383 */ "user_name ::= NK_ID", - /* 384 */ "topic_name ::= NK_ID", - /* 385 */ "stream_name ::= NK_ID", - /* 386 */ "cgroup_name ::= NK_ID", - /* 387 */ "index_name ::= NK_ID", - /* 388 */ "expr_or_subquery ::= expression", - /* 389 */ "expression ::= literal", - /* 390 */ "expression ::= pseudo_column", - /* 391 */ "expression ::= column_reference", - /* 392 */ "expression ::= function_expression", - /* 393 */ "expression ::= case_when_expression", - /* 394 */ "expression ::= NK_LP expression NK_RP", - /* 395 */ "expression ::= NK_PLUS expr_or_subquery", - /* 396 */ "expression ::= NK_MINUS expr_or_subquery", - /* 397 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 398 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 399 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 400 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 401 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 402 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 403 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 404 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 405 */ "expression_list ::= expr_or_subquery", - /* 406 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 407 */ "column_reference ::= column_name", - /* 408 */ "column_reference ::= table_name NK_DOT column_name", - /* 409 */ "pseudo_column ::= ROWTS", - /* 410 */ "pseudo_column ::= TBNAME", - /* 411 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 412 */ "pseudo_column ::= QSTART", - /* 413 */ "pseudo_column ::= QEND", - /* 414 */ "pseudo_column ::= QDURATION", - /* 415 */ "pseudo_column ::= WSTART", - /* 416 */ "pseudo_column ::= WEND", - /* 417 */ "pseudo_column ::= WDURATION", - /* 418 */ "pseudo_column ::= IROWTS", - /* 419 */ "pseudo_column ::= ISFILLED", - /* 420 */ "pseudo_column ::= QTAGS", - /* 421 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 422 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 423 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 424 */ "function_expression ::= literal_func", - /* 425 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 426 */ "literal_func ::= NOW", - /* 427 */ "noarg_func ::= NOW", - /* 428 */ "noarg_func ::= TODAY", - /* 429 */ "noarg_func ::= TIMEZONE", - /* 430 */ "noarg_func ::= DATABASE", - /* 431 */ "noarg_func ::= CLIENT_VERSION", - /* 432 */ "noarg_func ::= SERVER_VERSION", - /* 433 */ "noarg_func ::= SERVER_STATUS", - /* 434 */ "noarg_func ::= CURRENT_USER", - /* 435 */ "noarg_func ::= USER", - /* 436 */ "star_func ::= COUNT", - /* 437 */ "star_func ::= FIRST", - /* 438 */ "star_func ::= LAST", - /* 439 */ "star_func ::= LAST_ROW", - /* 440 */ "star_func_para_list ::= NK_STAR", - /* 441 */ "star_func_para_list ::= other_para_list", - /* 442 */ "other_para_list ::= star_func_para", - /* 443 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 444 */ "star_func_para ::= expr_or_subquery", - /* 445 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 446 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 447 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 448 */ "when_then_list ::= when_then_expr", - /* 449 */ "when_then_list ::= when_then_list when_then_expr", - /* 450 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 451 */ "case_when_else_opt ::=", - /* 452 */ "case_when_else_opt ::= ELSE common_expression", - /* 453 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 454 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 455 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 456 */ "predicate ::= expr_or_subquery IS NULL", - /* 457 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 458 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 459 */ "compare_op ::= NK_LT", - /* 460 */ "compare_op ::= NK_GT", - /* 461 */ "compare_op ::= NK_LE", - /* 462 */ "compare_op ::= NK_GE", - /* 463 */ "compare_op ::= NK_NE", - /* 464 */ "compare_op ::= NK_EQ", - /* 465 */ "compare_op ::= LIKE", - /* 466 */ "compare_op ::= NOT LIKE", - /* 467 */ "compare_op ::= MATCH", - /* 468 */ "compare_op ::= NMATCH", - /* 469 */ "compare_op ::= CONTAINS", - /* 470 */ "in_op ::= IN", - /* 471 */ "in_op ::= NOT IN", - /* 472 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 473 */ "boolean_value_expression ::= boolean_primary", - /* 474 */ "boolean_value_expression ::= NOT boolean_primary", - /* 475 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 476 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 477 */ "boolean_primary ::= predicate", - /* 478 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 479 */ "common_expression ::= expr_or_subquery", - /* 480 */ "common_expression ::= boolean_value_expression", - /* 481 */ "from_clause_opt ::=", - /* 482 */ "from_clause_opt ::= FROM table_reference_list", - /* 483 */ "table_reference_list ::= table_reference", - /* 484 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 485 */ "table_reference ::= table_primary", - /* 486 */ "table_reference ::= joined_table", - /* 487 */ "table_primary ::= table_name alias_opt", - /* 488 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 489 */ "table_primary ::= subquery alias_opt", - /* 490 */ "table_primary ::= parenthesized_joined_table", - /* 491 */ "alias_opt ::=", - /* 492 */ "alias_opt ::= table_alias", - /* 493 */ "alias_opt ::= AS table_alias", - /* 494 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 495 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 496 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 497 */ "join_type ::=", - /* 498 */ "join_type ::= INNER", - /* 499 */ "query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", - /* 500 */ "set_quantifier_opt ::=", - /* 501 */ "set_quantifier_opt ::= DISTINCT", - /* 502 */ "set_quantifier_opt ::= ALL", - /* 503 */ "select_list ::= select_item", - /* 504 */ "select_list ::= select_list NK_COMMA select_item", - /* 505 */ "select_item ::= NK_STAR", - /* 506 */ "select_item ::= common_expression", - /* 507 */ "select_item ::= common_expression column_alias", - /* 508 */ "select_item ::= common_expression AS column_alias", - /* 509 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 510 */ "where_clause_opt ::=", - /* 511 */ "where_clause_opt ::= WHERE search_condition", - /* 512 */ "partition_by_clause_opt ::=", - /* 513 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 514 */ "partition_list ::= partition_item", - /* 515 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 516 */ "partition_item ::= expr_or_subquery", - /* 517 */ "partition_item ::= expr_or_subquery column_alias", - /* 518 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 519 */ "twindow_clause_opt ::=", - /* 520 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 521 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 522 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 523 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 524 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 525 */ "sliding_opt ::=", - /* 526 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 527 */ "fill_opt ::=", - /* 528 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 529 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", - /* 530 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP", - /* 531 */ "fill_mode ::= NONE", - /* 532 */ "fill_mode ::= PREV", - /* 533 */ "fill_mode ::= NULL", - /* 534 */ "fill_mode ::= NULL_F", - /* 535 */ "fill_mode ::= LINEAR", - /* 536 */ "fill_mode ::= NEXT", - /* 537 */ "group_by_clause_opt ::=", - /* 538 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 539 */ "group_by_list ::= expr_or_subquery", - /* 540 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 541 */ "having_clause_opt ::=", - /* 542 */ "having_clause_opt ::= HAVING search_condition", - /* 543 */ "range_opt ::=", - /* 544 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 545 */ "every_opt ::=", - /* 546 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 547 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 548 */ "query_simple ::= query_specification", - /* 549 */ "query_simple ::= union_query_expression", - /* 550 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 551 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 552 */ "query_simple_or_subquery ::= query_simple", - /* 553 */ "query_simple_or_subquery ::= subquery", - /* 554 */ "query_or_subquery ::= query_expression", - /* 555 */ "query_or_subquery ::= subquery", - /* 556 */ "order_by_clause_opt ::=", - /* 557 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 558 */ "slimit_clause_opt ::=", - /* 559 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 560 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 561 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 562 */ "limit_clause_opt ::=", - /* 563 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 564 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 565 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 566 */ "subquery ::= NK_LP query_expression NK_RP", - /* 567 */ "subquery ::= NK_LP subquery NK_RP", - /* 568 */ "search_condition ::= common_expression", - /* 569 */ "sort_specification_list ::= sort_specification", - /* 570 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 571 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 572 */ "ordering_specification_opt ::=", - /* 573 */ "ordering_specification_opt ::= ASC", - /* 574 */ "ordering_specification_opt ::= DESC", - /* 575 */ "null_ordering_opt ::=", - /* 576 */ "null_ordering_opt ::= NULLS FIRST", - /* 577 */ "null_ordering_opt ::= NULLS LAST", + /* 342 */ "cmd ::= BALANCE VGROUP LEADER", + /* 343 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 344 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 345 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 346 */ "dnode_list ::= DNODE NK_INTEGER", + /* 347 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 348 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 349 */ "cmd ::= query_or_subquery", + /* 350 */ "cmd ::= insert_query", + /* 351 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 352 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", + /* 353 */ "literal ::= NK_INTEGER", + /* 354 */ "literal ::= NK_FLOAT", + /* 355 */ "literal ::= NK_STRING", + /* 356 */ "literal ::= NK_BOOL", + /* 357 */ "literal ::= TIMESTAMP NK_STRING", + /* 358 */ "literal ::= duration_literal", + /* 359 */ "literal ::= NULL", + /* 360 */ "literal ::= NK_QUESTION", + /* 361 */ "duration_literal ::= NK_VARIABLE", + /* 362 */ "signed ::= NK_INTEGER", + /* 363 */ "signed ::= NK_PLUS NK_INTEGER", + /* 364 */ "signed ::= NK_MINUS NK_INTEGER", + /* 365 */ "signed ::= NK_FLOAT", + /* 366 */ "signed ::= NK_PLUS NK_FLOAT", + /* 367 */ "signed ::= NK_MINUS NK_FLOAT", + /* 368 */ "signed_literal ::= signed", + /* 369 */ "signed_literal ::= NK_STRING", + /* 370 */ "signed_literal ::= NK_BOOL", + /* 371 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 372 */ "signed_literal ::= duration_literal", + /* 373 */ "signed_literal ::= NULL", + /* 374 */ "signed_literal ::= literal_func", + /* 375 */ "signed_literal ::= NK_QUESTION", + /* 376 */ "literal_list ::= signed_literal", + /* 377 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 378 */ "db_name ::= NK_ID", + /* 379 */ "table_name ::= NK_ID", + /* 380 */ "column_name ::= NK_ID", + /* 381 */ "function_name ::= NK_ID", + /* 382 */ "table_alias ::= NK_ID", + /* 383 */ "column_alias ::= NK_ID", + /* 384 */ "user_name ::= NK_ID", + /* 385 */ "topic_name ::= NK_ID", + /* 386 */ "stream_name ::= NK_ID", + /* 387 */ "cgroup_name ::= NK_ID", + /* 388 */ "index_name ::= NK_ID", + /* 389 */ "expr_or_subquery ::= expression", + /* 390 */ "expression ::= literal", + /* 391 */ "expression ::= pseudo_column", + /* 392 */ "expression ::= column_reference", + /* 393 */ "expression ::= function_expression", + /* 394 */ "expression ::= case_when_expression", + /* 395 */ "expression ::= NK_LP expression NK_RP", + /* 396 */ "expression ::= NK_PLUS expr_or_subquery", + /* 397 */ "expression ::= NK_MINUS expr_or_subquery", + /* 398 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 399 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 400 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 401 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 402 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 403 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 404 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 405 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 406 */ "expression_list ::= expr_or_subquery", + /* 407 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 408 */ "column_reference ::= column_name", + /* 409 */ "column_reference ::= table_name NK_DOT column_name", + /* 410 */ "pseudo_column ::= ROWTS", + /* 411 */ "pseudo_column ::= TBNAME", + /* 412 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 413 */ "pseudo_column ::= QSTART", + /* 414 */ "pseudo_column ::= QEND", + /* 415 */ "pseudo_column ::= QDURATION", + /* 416 */ "pseudo_column ::= WSTART", + /* 417 */ "pseudo_column ::= WEND", + /* 418 */ "pseudo_column ::= WDURATION", + /* 419 */ "pseudo_column ::= IROWTS", + /* 420 */ "pseudo_column ::= ISFILLED", + /* 421 */ "pseudo_column ::= QTAGS", + /* 422 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 423 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 424 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 425 */ "function_expression ::= literal_func", + /* 426 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 427 */ "literal_func ::= NOW", + /* 428 */ "noarg_func ::= NOW", + /* 429 */ "noarg_func ::= TODAY", + /* 430 */ "noarg_func ::= TIMEZONE", + /* 431 */ "noarg_func ::= DATABASE", + /* 432 */ "noarg_func ::= CLIENT_VERSION", + /* 433 */ "noarg_func ::= SERVER_VERSION", + /* 434 */ "noarg_func ::= SERVER_STATUS", + /* 435 */ "noarg_func ::= CURRENT_USER", + /* 436 */ "noarg_func ::= USER", + /* 437 */ "star_func ::= COUNT", + /* 438 */ "star_func ::= FIRST", + /* 439 */ "star_func ::= LAST", + /* 440 */ "star_func ::= LAST_ROW", + /* 441 */ "star_func_para_list ::= NK_STAR", + /* 442 */ "star_func_para_list ::= other_para_list", + /* 443 */ "other_para_list ::= star_func_para", + /* 444 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 445 */ "star_func_para ::= expr_or_subquery", + /* 446 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 447 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 448 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 449 */ "when_then_list ::= when_then_expr", + /* 450 */ "when_then_list ::= when_then_list when_then_expr", + /* 451 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 452 */ "case_when_else_opt ::=", + /* 453 */ "case_when_else_opt ::= ELSE common_expression", + /* 454 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 455 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 456 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 457 */ "predicate ::= expr_or_subquery IS NULL", + /* 458 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 459 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 460 */ "compare_op ::= NK_LT", + /* 461 */ "compare_op ::= NK_GT", + /* 462 */ "compare_op ::= NK_LE", + /* 463 */ "compare_op ::= NK_GE", + /* 464 */ "compare_op ::= NK_NE", + /* 465 */ "compare_op ::= NK_EQ", + /* 466 */ "compare_op ::= LIKE", + /* 467 */ "compare_op ::= NOT LIKE", + /* 468 */ "compare_op ::= MATCH", + /* 469 */ "compare_op ::= NMATCH", + /* 470 */ "compare_op ::= CONTAINS", + /* 471 */ "in_op ::= IN", + /* 472 */ "in_op ::= NOT IN", + /* 473 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 474 */ "boolean_value_expression ::= boolean_primary", + /* 475 */ "boolean_value_expression ::= NOT boolean_primary", + /* 476 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 477 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 478 */ "boolean_primary ::= predicate", + /* 479 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 480 */ "common_expression ::= expr_or_subquery", + /* 481 */ "common_expression ::= boolean_value_expression", + /* 482 */ "from_clause_opt ::=", + /* 483 */ "from_clause_opt ::= FROM table_reference_list", + /* 484 */ "table_reference_list ::= table_reference", + /* 485 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 486 */ "table_reference ::= table_primary", + /* 487 */ "table_reference ::= joined_table", + /* 488 */ "table_primary ::= table_name alias_opt", + /* 489 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 490 */ "table_primary ::= subquery alias_opt", + /* 491 */ "table_primary ::= parenthesized_joined_table", + /* 492 */ "alias_opt ::=", + /* 493 */ "alias_opt ::= table_alias", + /* 494 */ "alias_opt ::= AS table_alias", + /* 495 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 496 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 497 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 498 */ "join_type ::=", + /* 499 */ "join_type ::= INNER", + /* 500 */ "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", + /* 501 */ "set_quantifier_opt ::=", + /* 502 */ "set_quantifier_opt ::= DISTINCT", + /* 503 */ "set_quantifier_opt ::= ALL", + /* 504 */ "select_list ::= select_item", + /* 505 */ "select_list ::= select_list NK_COMMA select_item", + /* 506 */ "select_item ::= NK_STAR", + /* 507 */ "select_item ::= common_expression", + /* 508 */ "select_item ::= common_expression column_alias", + /* 509 */ "select_item ::= common_expression AS column_alias", + /* 510 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 511 */ "where_clause_opt ::=", + /* 512 */ "where_clause_opt ::= WHERE search_condition", + /* 513 */ "partition_by_clause_opt ::=", + /* 514 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 515 */ "partition_list ::= partition_item", + /* 516 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 517 */ "partition_item ::= expr_or_subquery", + /* 518 */ "partition_item ::= expr_or_subquery column_alias", + /* 519 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 520 */ "twindow_clause_opt ::=", + /* 521 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 522 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 523 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 524 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 525 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 526 */ "sliding_opt ::=", + /* 527 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 528 */ "fill_opt ::=", + /* 529 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 530 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", + /* 531 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP", + /* 532 */ "fill_mode ::= NONE", + /* 533 */ "fill_mode ::= PREV", + /* 534 */ "fill_mode ::= NULL", + /* 535 */ "fill_mode ::= NULL_F", + /* 536 */ "fill_mode ::= LINEAR", + /* 537 */ "fill_mode ::= NEXT", + /* 538 */ "group_by_clause_opt ::=", + /* 539 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 540 */ "group_by_list ::= expr_or_subquery", + /* 541 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 542 */ "having_clause_opt ::=", + /* 543 */ "having_clause_opt ::= HAVING search_condition", + /* 544 */ "range_opt ::=", + /* 545 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 546 */ "every_opt ::=", + /* 547 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 548 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 549 */ "query_simple ::= query_specification", + /* 550 */ "query_simple ::= union_query_expression", + /* 551 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 552 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 553 */ "query_simple_or_subquery ::= query_simple", + /* 554 */ "query_simple_or_subquery ::= subquery", + /* 555 */ "query_or_subquery ::= query_expression", + /* 556 */ "query_or_subquery ::= subquery", + /* 557 */ "order_by_clause_opt ::=", + /* 558 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 559 */ "slimit_clause_opt ::=", + /* 560 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 561 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 562 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 563 */ "limit_clause_opt ::=", + /* 564 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 565 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 566 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 567 */ "subquery ::= NK_LP query_expression NK_RP", + /* 568 */ "subquery ::= NK_LP subquery NK_RP", + /* 569 */ "search_condition ::= common_expression", + /* 570 */ "sort_specification_list ::= sort_specification", + /* 571 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 572 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 573 */ "ordering_specification_opt ::=", + /* 574 */ "ordering_specification_opt ::= ASC", + /* 575 */ "ordering_specification_opt ::= DESC", + /* 576 */ "null_ordering_opt ::=", + /* 577 */ "null_ordering_opt ::= NULLS FIRST", + /* 578 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -2602,202 +2607,202 @@ static void yy_destructor( */ /********* Begin destructor definitions ***************************************/ /* Default NON-TERMINAL Destructor */ - case 329: /* cmd */ - case 332: /* literal */ - case 345: /* db_options */ - case 347: /* alter_db_options */ - case 349: /* start_opt */ - case 350: /* end_opt */ - case 355: /* retention */ - case 356: /* full_table_name */ - case 359: /* table_options */ - case 363: /* alter_table_clause */ - case 364: /* alter_table_options */ - case 367: /* signed_literal */ - case 368: /* create_subtable_clause */ - case 371: /* drop_table_clause */ - case 374: /* column_def */ - case 378: /* duration_literal */ - case 379: /* rollup_func_name */ - case 381: /* col_name */ - case 382: /* db_name_cond_opt */ - case 383: /* like_pattern_opt */ - case 384: /* table_name_cond */ - case 385: /* from_db_opt */ - case 387: /* tag_item */ - case 389: /* full_index_name */ - case 390: /* index_options */ - case 393: /* sliding_opt */ - case 394: /* sma_stream_opt */ - case 395: /* func */ - case 397: /* query_or_subquery */ - case 400: /* explain_options */ - case 401: /* insert_query */ - case 406: /* stream_options */ - case 409: /* subtable_opt */ - case 410: /* expression */ - case 412: /* where_clause_opt */ - case 413: /* signed */ - case 414: /* literal_func */ - case 417: /* expr_or_subquery */ - case 418: /* pseudo_column */ - case 419: /* column_reference */ - case 420: /* function_expression */ - case 421: /* case_when_expression */ - case 426: /* star_func_para */ - case 428: /* case_when_else_opt */ - case 429: /* common_expression */ - case 430: /* when_then_expr */ - case 431: /* predicate */ - case 434: /* in_predicate_value */ - case 435: /* boolean_value_expression */ - case 436: /* boolean_primary */ - case 437: /* from_clause_opt */ - case 438: /* table_reference_list */ - case 439: /* table_reference */ - case 440: /* table_primary */ - case 441: /* joined_table */ - case 443: /* subquery */ - case 444: /* parenthesized_joined_table */ - case 446: /* search_condition */ - case 447: /* query_specification */ - case 451: /* range_opt */ - case 452: /* every_opt */ - case 453: /* fill_opt */ - case 454: /* twindow_clause_opt */ - case 456: /* having_clause_opt */ - case 457: /* select_item */ - case 459: /* partition_item */ - case 462: /* query_expression */ - case 463: /* query_simple */ - case 465: /* slimit_clause_opt */ - case 466: /* limit_clause_opt */ - case 467: /* union_query_expression */ - case 468: /* query_simple_or_subquery */ - case 470: /* sort_specification */ + case 330: /* cmd */ + case 333: /* literal */ + case 346: /* db_options */ + case 348: /* alter_db_options */ + case 350: /* start_opt */ + case 351: /* end_opt */ + case 356: /* retention */ + case 357: /* full_table_name */ + case 360: /* table_options */ + case 364: /* alter_table_clause */ + case 365: /* alter_table_options */ + case 368: /* signed_literal */ + case 369: /* create_subtable_clause */ + case 372: /* drop_table_clause */ + case 375: /* column_def */ + case 379: /* duration_literal */ + case 380: /* rollup_func_name */ + case 382: /* col_name */ + case 383: /* db_name_cond_opt */ + case 384: /* like_pattern_opt */ + case 385: /* table_name_cond */ + case 386: /* from_db_opt */ + case 388: /* tag_item */ + case 390: /* full_index_name */ + case 391: /* index_options */ + case 394: /* sliding_opt */ + case 395: /* sma_stream_opt */ + case 396: /* func */ + case 398: /* query_or_subquery */ + case 401: /* explain_options */ + case 402: /* insert_query */ + case 407: /* stream_options */ + case 410: /* subtable_opt */ + case 411: /* expression */ + case 413: /* where_clause_opt */ + case 414: /* signed */ + case 415: /* literal_func */ + case 418: /* expr_or_subquery */ + case 419: /* pseudo_column */ + case 420: /* column_reference */ + case 421: /* function_expression */ + case 422: /* case_when_expression */ + case 427: /* star_func_para */ + case 429: /* case_when_else_opt */ + case 430: /* common_expression */ + case 431: /* when_then_expr */ + case 432: /* predicate */ + case 435: /* in_predicate_value */ + case 436: /* boolean_value_expression */ + case 437: /* boolean_primary */ + case 438: /* from_clause_opt */ + case 439: /* table_reference_list */ + case 440: /* table_reference */ + case 441: /* table_primary */ + case 442: /* joined_table */ + case 444: /* subquery */ + case 445: /* parenthesized_joined_table */ + case 447: /* search_condition */ + case 448: /* query_specification */ + case 452: /* range_opt */ + case 453: /* every_opt */ + case 454: /* fill_opt */ + case 455: /* twindow_clause_opt */ + case 457: /* having_clause_opt */ + case 458: /* select_item */ + case 460: /* partition_item */ + case 463: /* query_expression */ + case 464: /* query_simple */ + case 466: /* slimit_clause_opt */ + case 467: /* limit_clause_opt */ + case 468: /* union_query_expression */ + case 469: /* query_simple_or_subquery */ + case 471: /* sort_specification */ { - nodesDestroyNode((yypminor->yy828)); + nodesDestroyNode((yypminor->yy188)); } break; - case 330: /* account_options */ - case 331: /* alter_account_options */ - case 333: /* alter_account_option */ - case 348: /* speed_opt */ - case 403: /* bufsize_opt */ + case 331: /* account_options */ + case 332: /* alter_account_options */ + case 334: /* alter_account_option */ + case 349: /* speed_opt */ + case 404: /* bufsize_opt */ { } break; - case 334: /* user_name */ - case 337: /* priv_level */ - case 340: /* db_name */ - case 341: /* topic_name */ - case 342: /* dnode_endpoint */ - case 365: /* column_name */ - case 373: /* table_name */ - case 380: /* function_name */ - case 388: /* column_alias */ - case 391: /* index_name */ - case 396: /* sma_func_name */ - case 398: /* cgroup_name */ - case 404: /* language_opt */ - case 405: /* stream_name */ - case 416: /* table_alias */ - case 422: /* star_func */ - case 424: /* noarg_func */ - case 442: /* alias_opt */ + case 335: /* user_name */ + case 338: /* priv_level */ + case 341: /* db_name */ + case 342: /* topic_name */ + case 343: /* dnode_endpoint */ + case 366: /* column_name */ + case 374: /* table_name */ + case 381: /* function_name */ + case 389: /* column_alias */ + case 392: /* index_name */ + case 397: /* sma_func_name */ + case 399: /* cgroup_name */ + case 405: /* language_opt */ + case 406: /* stream_name */ + case 417: /* table_alias */ + case 423: /* star_func */ + case 425: /* noarg_func */ + case 443: /* alias_opt */ { } break; - case 335: /* sysinfo_opt */ + case 336: /* sysinfo_opt */ { } break; - case 336: /* privileges */ - case 338: /* priv_type_list */ - case 339: /* priv_type */ + case 337: /* privileges */ + case 339: /* priv_type_list */ + case 340: /* priv_type */ { } break; - case 343: /* force_opt */ - case 344: /* not_exists_opt */ - case 346: /* exists_opt */ - case 399: /* analyze_opt */ - case 402: /* agg_func_opt */ - case 448: /* set_quantifier_opt */ + case 344: /* force_opt */ + case 345: /* not_exists_opt */ + case 347: /* exists_opt */ + case 400: /* analyze_opt */ + case 403: /* agg_func_opt */ + case 449: /* set_quantifier_opt */ { } break; - case 351: /* integer_list */ - case 352: /* variable_list */ - case 353: /* retention_list */ - case 357: /* column_def_list */ - case 358: /* tags_def_opt */ - case 360: /* multi_create_clause */ - case 361: /* tags_def */ - case 362: /* multi_drop_clause */ - case 369: /* specific_cols_opt */ - case 370: /* expression_list */ - case 372: /* col_name_list */ - case 375: /* duration_list */ - case 376: /* rollup_func_list */ - case 386: /* tag_list_opt */ - case 392: /* func_list */ - case 407: /* col_list_opt */ - case 408: /* tag_def_or_ref_opt */ - case 411: /* dnode_list */ - case 415: /* literal_list */ - case 423: /* star_func_para_list */ - case 425: /* other_para_list */ - case 427: /* when_then_list */ - case 449: /* select_list */ - case 450: /* partition_by_clause_opt */ - case 455: /* group_by_clause_opt */ - case 458: /* partition_list */ - case 461: /* group_by_list */ - case 464: /* order_by_clause_opt */ - case 469: /* sort_specification_list */ + case 352: /* integer_list */ + case 353: /* variable_list */ + case 354: /* retention_list */ + case 358: /* column_def_list */ + case 359: /* tags_def_opt */ + case 361: /* multi_create_clause */ + case 362: /* tags_def */ + case 363: /* multi_drop_clause */ + case 370: /* specific_cols_opt */ + case 371: /* expression_list */ + case 373: /* col_name_list */ + case 376: /* duration_list */ + case 377: /* rollup_func_list */ + case 387: /* tag_list_opt */ + case 393: /* func_list */ + case 408: /* col_list_opt */ + case 409: /* tag_def_or_ref_opt */ + case 412: /* dnode_list */ + case 416: /* literal_list */ + case 424: /* star_func_para_list */ + case 426: /* other_para_list */ + case 428: /* when_then_list */ + case 450: /* select_list */ + case 451: /* partition_by_clause_opt */ + case 456: /* group_by_clause_opt */ + case 459: /* partition_list */ + case 462: /* group_by_list */ + case 465: /* order_by_clause_opt */ + case 470: /* sort_specification_list */ { - nodesDestroyList((yypminor->yy222)); + nodesDestroyList((yypminor->yy172)); } break; - case 354: /* alter_db_option */ - case 377: /* alter_table_option */ + case 355: /* alter_db_option */ + case 378: /* alter_table_option */ { } break; - case 366: /* type_name */ + case 367: /* type_name */ { } break; - case 432: /* compare_op */ - case 433: /* in_op */ + case 433: /* compare_op */ + case 434: /* in_op */ { } break; - case 445: /* join_type */ + case 446: /* join_type */ { } break; - case 460: /* fill_mode */ + case 461: /* fill_mode */ { } break; - case 471: /* ordering_specification_opt */ + case 472: /* ordering_specification_opt */ { } break; - case 472: /* null_ordering_opt */ + case 473: /* null_ordering_opt */ { } @@ -3096,584 +3101,585 @@ static const struct { YYCODETYPE lhs; /* Symbol on the left-hand side of the rule */ signed char nrhs; /* Negative of the number of RHS symbols in the rule */ } yyRuleInfo[] = { - { 329, -6 }, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ - { 329, -4 }, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ - { 330, 0 }, /* (2) account_options ::= */ - { 330, -3 }, /* (3) account_options ::= account_options PPS literal */ - { 330, -3 }, /* (4) account_options ::= account_options TSERIES literal */ - { 330, -3 }, /* (5) account_options ::= account_options STORAGE literal */ - { 330, -3 }, /* (6) account_options ::= account_options STREAMS literal */ - { 330, -3 }, /* (7) account_options ::= account_options QTIME literal */ - { 330, -3 }, /* (8) account_options ::= account_options DBS literal */ - { 330, -3 }, /* (9) account_options ::= account_options USERS literal */ - { 330, -3 }, /* (10) account_options ::= account_options CONNS literal */ - { 330, -3 }, /* (11) account_options ::= account_options STATE literal */ - { 331, -1 }, /* (12) alter_account_options ::= alter_account_option */ - { 331, -2 }, /* (13) alter_account_options ::= alter_account_options alter_account_option */ - { 333, -2 }, /* (14) alter_account_option ::= PASS literal */ - { 333, -2 }, /* (15) alter_account_option ::= PPS literal */ - { 333, -2 }, /* (16) alter_account_option ::= TSERIES literal */ - { 333, -2 }, /* (17) alter_account_option ::= STORAGE literal */ - { 333, -2 }, /* (18) alter_account_option ::= STREAMS literal */ - { 333, -2 }, /* (19) alter_account_option ::= QTIME literal */ - { 333, -2 }, /* (20) alter_account_option ::= DBS literal */ - { 333, -2 }, /* (21) alter_account_option ::= USERS literal */ - { 333, -2 }, /* (22) alter_account_option ::= CONNS literal */ - { 333, -2 }, /* (23) alter_account_option ::= STATE literal */ - { 329, -6 }, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ - { 329, -5 }, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ - { 329, -5 }, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ - { 329, -5 }, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ - { 329, -3 }, /* (28) cmd ::= DROP USER user_name */ - { 335, 0 }, /* (29) sysinfo_opt ::= */ - { 335, -2 }, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ - { 329, -6 }, /* (31) cmd ::= GRANT privileges ON priv_level TO user_name */ - { 329, -6 }, /* (32) cmd ::= REVOKE privileges ON priv_level FROM user_name */ - { 336, -1 }, /* (33) privileges ::= ALL */ - { 336, -1 }, /* (34) privileges ::= priv_type_list */ - { 336, -1 }, /* (35) privileges ::= SUBSCRIBE */ - { 338, -1 }, /* (36) priv_type_list ::= priv_type */ - { 338, -3 }, /* (37) priv_type_list ::= priv_type_list NK_COMMA priv_type */ - { 339, -1 }, /* (38) priv_type ::= READ */ - { 339, -1 }, /* (39) priv_type ::= WRITE */ - { 337, -3 }, /* (40) priv_level ::= NK_STAR NK_DOT NK_STAR */ - { 337, -3 }, /* (41) priv_level ::= db_name NK_DOT NK_STAR */ - { 337, -1 }, /* (42) priv_level ::= topic_name */ - { 329, -3 }, /* (43) cmd ::= CREATE DNODE dnode_endpoint */ - { 329, -5 }, /* (44) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ - { 329, -4 }, /* (45) cmd ::= DROP DNODE NK_INTEGER force_opt */ - { 329, -4 }, /* (46) cmd ::= DROP DNODE dnode_endpoint force_opt */ - { 329, -4 }, /* (47) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ - { 329, -5 }, /* (48) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ - { 329, -4 }, /* (49) cmd ::= ALTER ALL DNODES NK_STRING */ - { 329, -5 }, /* (50) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ - { 342, -1 }, /* (51) dnode_endpoint ::= NK_STRING */ - { 342, -1 }, /* (52) dnode_endpoint ::= NK_ID */ - { 342, -1 }, /* (53) dnode_endpoint ::= NK_IPTOKEN */ - { 343, 0 }, /* (54) force_opt ::= */ - { 343, -1 }, /* (55) force_opt ::= FORCE */ - { 329, -3 }, /* (56) cmd ::= ALTER LOCAL NK_STRING */ - { 329, -4 }, /* (57) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ - { 329, -5 }, /* (58) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (59) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (60) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (61) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (62) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (63) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (64) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (65) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ - { 329, -5 }, /* (66) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ - { 329, -4 }, /* (67) cmd ::= DROP DATABASE exists_opt db_name */ - { 329, -2 }, /* (68) cmd ::= USE db_name */ - { 329, -4 }, /* (69) cmd ::= ALTER DATABASE db_name alter_db_options */ - { 329, -3 }, /* (70) cmd ::= FLUSH DATABASE db_name */ - { 329, -4 }, /* (71) cmd ::= TRIM DATABASE db_name speed_opt */ - { 329, -5 }, /* (72) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ - { 344, -3 }, /* (73) not_exists_opt ::= IF NOT EXISTS */ - { 344, 0 }, /* (74) not_exists_opt ::= */ - { 346, -2 }, /* (75) exists_opt ::= IF EXISTS */ - { 346, 0 }, /* (76) exists_opt ::= */ - { 345, 0 }, /* (77) db_options ::= */ - { 345, -3 }, /* (78) db_options ::= db_options BUFFER NK_INTEGER */ - { 345, -3 }, /* (79) db_options ::= db_options CACHEMODEL NK_STRING */ - { 345, -3 }, /* (80) db_options ::= db_options CACHESIZE NK_INTEGER */ - { 345, -3 }, /* (81) db_options ::= db_options COMP NK_INTEGER */ - { 345, -3 }, /* (82) db_options ::= db_options DURATION NK_INTEGER */ - { 345, -3 }, /* (83) db_options ::= db_options DURATION NK_VARIABLE */ - { 345, -3 }, /* (84) db_options ::= db_options MAXROWS NK_INTEGER */ - { 345, -3 }, /* (85) db_options ::= db_options MINROWS NK_INTEGER */ - { 345, -3 }, /* (86) db_options ::= db_options KEEP integer_list */ - { 345, -3 }, /* (87) db_options ::= db_options KEEP variable_list */ - { 345, -3 }, /* (88) db_options ::= db_options PAGES NK_INTEGER */ - { 345, -3 }, /* (89) db_options ::= db_options PAGESIZE NK_INTEGER */ - { 345, -3 }, /* (90) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ - { 345, -3 }, /* (91) db_options ::= db_options PRECISION NK_STRING */ - { 345, -3 }, /* (92) db_options ::= db_options REPLICA NK_INTEGER */ - { 345, -3 }, /* (93) db_options ::= db_options VGROUPS NK_INTEGER */ - { 345, -3 }, /* (94) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ - { 345, -3 }, /* (95) db_options ::= db_options RETENTIONS retention_list */ - { 345, -3 }, /* (96) db_options ::= db_options SCHEMALESS NK_INTEGER */ - { 345, -3 }, /* (97) db_options ::= db_options WAL_LEVEL NK_INTEGER */ - { 345, -3 }, /* (98) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ - { 345, -3 }, /* (99) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ - { 345, -4 }, /* (100) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - { 345, -3 }, /* (101) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ - { 345, -4 }, /* (102) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - { 345, -3 }, /* (103) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ - { 345, -3 }, /* (104) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ - { 345, -3 }, /* (105) db_options ::= db_options STT_TRIGGER NK_INTEGER */ - { 345, -3 }, /* (106) db_options ::= db_options TABLE_PREFIX NK_INTEGER */ - { 345, -3 }, /* (107) db_options ::= db_options TABLE_SUFFIX NK_INTEGER */ - { 347, -1 }, /* (108) alter_db_options ::= alter_db_option */ - { 347, -2 }, /* (109) alter_db_options ::= alter_db_options alter_db_option */ - { 354, -2 }, /* (110) alter_db_option ::= BUFFER NK_INTEGER */ - { 354, -2 }, /* (111) alter_db_option ::= CACHEMODEL NK_STRING */ - { 354, -2 }, /* (112) alter_db_option ::= CACHESIZE NK_INTEGER */ - { 354, -2 }, /* (113) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ - { 354, -2 }, /* (114) alter_db_option ::= KEEP integer_list */ - { 354, -2 }, /* (115) alter_db_option ::= KEEP variable_list */ - { 354, -2 }, /* (116) alter_db_option ::= PAGES NK_INTEGER */ - { 354, -2 }, /* (117) alter_db_option ::= REPLICA NK_INTEGER */ - { 354, -2 }, /* (118) alter_db_option ::= WAL_LEVEL NK_INTEGER */ - { 354, -2 }, /* (119) alter_db_option ::= STT_TRIGGER NK_INTEGER */ - { 354, -2 }, /* (120) alter_db_option ::= MINROWS NK_INTEGER */ - { 354, -2 }, /* (121) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ - { 354, -3 }, /* (122) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - { 354, -2 }, /* (123) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ - { 354, -3 }, /* (124) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - { 351, -1 }, /* (125) integer_list ::= NK_INTEGER */ - { 351, -3 }, /* (126) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - { 352, -1 }, /* (127) variable_list ::= NK_VARIABLE */ - { 352, -3 }, /* (128) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - { 353, -1 }, /* (129) retention_list ::= retention */ - { 353, -3 }, /* (130) retention_list ::= retention_list NK_COMMA retention */ - { 355, -3 }, /* (131) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - { 348, 0 }, /* (132) speed_opt ::= */ - { 348, -2 }, /* (133) speed_opt ::= MAX_SPEED NK_INTEGER */ - { 349, 0 }, /* (134) start_opt ::= */ - { 349, -3 }, /* (135) start_opt ::= START WITH NK_INTEGER */ - { 349, -3 }, /* (136) start_opt ::= START WITH NK_STRING */ - { 349, -4 }, /* (137) start_opt ::= START WITH TIMESTAMP NK_STRING */ - { 350, 0 }, /* (138) end_opt ::= */ - { 350, -3 }, /* (139) end_opt ::= END WITH NK_INTEGER */ - { 350, -3 }, /* (140) end_opt ::= END WITH NK_STRING */ - { 350, -4 }, /* (141) end_opt ::= END WITH TIMESTAMP NK_STRING */ - { 329, -9 }, /* (142) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - { 329, -3 }, /* (143) cmd ::= CREATE TABLE multi_create_clause */ - { 329, -9 }, /* (144) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - { 329, -3 }, /* (145) cmd ::= DROP TABLE multi_drop_clause */ - { 329, -4 }, /* (146) cmd ::= DROP STABLE exists_opt full_table_name */ - { 329, -3 }, /* (147) cmd ::= ALTER TABLE alter_table_clause */ - { 329, -3 }, /* (148) cmd ::= ALTER STABLE alter_table_clause */ - { 363, -2 }, /* (149) alter_table_clause ::= full_table_name alter_table_options */ - { 363, -5 }, /* (150) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - { 363, -4 }, /* (151) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - { 363, -5 }, /* (152) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - { 363, -5 }, /* (153) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - { 363, -5 }, /* (154) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - { 363, -4 }, /* (155) alter_table_clause ::= full_table_name DROP TAG column_name */ - { 363, -5 }, /* (156) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - { 363, -5 }, /* (157) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - { 363, -6 }, /* (158) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - { 360, -1 }, /* (159) multi_create_clause ::= create_subtable_clause */ - { 360, -2 }, /* (160) multi_create_clause ::= multi_create_clause create_subtable_clause */ - { 368, -10 }, /* (161) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ - { 362, -1 }, /* (162) multi_drop_clause ::= drop_table_clause */ - { 362, -3 }, /* (163) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ - { 371, -2 }, /* (164) drop_table_clause ::= exists_opt full_table_name */ - { 369, 0 }, /* (165) specific_cols_opt ::= */ - { 369, -3 }, /* (166) specific_cols_opt ::= NK_LP col_name_list NK_RP */ - { 356, -1 }, /* (167) full_table_name ::= table_name */ - { 356, -3 }, /* (168) full_table_name ::= db_name NK_DOT table_name */ - { 357, -1 }, /* (169) column_def_list ::= column_def */ - { 357, -3 }, /* (170) column_def_list ::= column_def_list NK_COMMA column_def */ - { 374, -2 }, /* (171) column_def ::= column_name type_name */ - { 374, -4 }, /* (172) column_def ::= column_name type_name COMMENT NK_STRING */ - { 366, -1 }, /* (173) type_name ::= BOOL */ - { 366, -1 }, /* (174) type_name ::= TINYINT */ - { 366, -1 }, /* (175) type_name ::= SMALLINT */ - { 366, -1 }, /* (176) type_name ::= INT */ - { 366, -1 }, /* (177) type_name ::= INTEGER */ - { 366, -1 }, /* (178) type_name ::= BIGINT */ - { 366, -1 }, /* (179) type_name ::= FLOAT */ - { 366, -1 }, /* (180) type_name ::= DOUBLE */ - { 366, -4 }, /* (181) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - { 366, -1 }, /* (182) type_name ::= TIMESTAMP */ - { 366, -4 }, /* (183) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - { 366, -2 }, /* (184) type_name ::= TINYINT UNSIGNED */ - { 366, -2 }, /* (185) type_name ::= SMALLINT UNSIGNED */ - { 366, -2 }, /* (186) type_name ::= INT UNSIGNED */ - { 366, -2 }, /* (187) type_name ::= BIGINT UNSIGNED */ - { 366, -1 }, /* (188) type_name ::= JSON */ - { 366, -4 }, /* (189) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - { 366, -1 }, /* (190) type_name ::= MEDIUMBLOB */ - { 366, -1 }, /* (191) type_name ::= BLOB */ - { 366, -4 }, /* (192) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - { 366, -1 }, /* (193) type_name ::= DECIMAL */ - { 366, -4 }, /* (194) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - { 366, -6 }, /* (195) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - { 358, 0 }, /* (196) tags_def_opt ::= */ - { 358, -1 }, /* (197) tags_def_opt ::= tags_def */ - { 361, -4 }, /* (198) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - { 359, 0 }, /* (199) table_options ::= */ - { 359, -3 }, /* (200) table_options ::= table_options COMMENT NK_STRING */ - { 359, -3 }, /* (201) table_options ::= table_options MAX_DELAY duration_list */ - { 359, -3 }, /* (202) table_options ::= table_options WATERMARK duration_list */ - { 359, -5 }, /* (203) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - { 359, -3 }, /* (204) table_options ::= table_options TTL NK_INTEGER */ - { 359, -5 }, /* (205) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - { 359, -3 }, /* (206) table_options ::= table_options DELETE_MARK duration_list */ - { 364, -1 }, /* (207) alter_table_options ::= alter_table_option */ - { 364, -2 }, /* (208) alter_table_options ::= alter_table_options alter_table_option */ - { 377, -2 }, /* (209) alter_table_option ::= COMMENT NK_STRING */ - { 377, -2 }, /* (210) alter_table_option ::= TTL NK_INTEGER */ - { 375, -1 }, /* (211) duration_list ::= duration_literal */ - { 375, -3 }, /* (212) duration_list ::= duration_list NK_COMMA duration_literal */ - { 376, -1 }, /* (213) rollup_func_list ::= rollup_func_name */ - { 376, -3 }, /* (214) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - { 379, -1 }, /* (215) rollup_func_name ::= function_name */ - { 379, -1 }, /* (216) rollup_func_name ::= FIRST */ - { 379, -1 }, /* (217) rollup_func_name ::= LAST */ - { 372, -1 }, /* (218) col_name_list ::= col_name */ - { 372, -3 }, /* (219) col_name_list ::= col_name_list NK_COMMA col_name */ - { 381, -1 }, /* (220) col_name ::= column_name */ - { 329, -2 }, /* (221) cmd ::= SHOW DNODES */ - { 329, -2 }, /* (222) cmd ::= SHOW USERS */ - { 329, -3 }, /* (223) cmd ::= SHOW USER PRIVILEGES */ - { 329, -2 }, /* (224) cmd ::= SHOW DATABASES */ - { 329, -4 }, /* (225) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - { 329, -4 }, /* (226) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - { 329, -3 }, /* (227) cmd ::= SHOW db_name_cond_opt VGROUPS */ - { 329, -2 }, /* (228) cmd ::= SHOW MNODES */ - { 329, -2 }, /* (229) cmd ::= SHOW QNODES */ - { 329, -2 }, /* (230) cmd ::= SHOW FUNCTIONS */ - { 329, -5 }, /* (231) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - { 329, -2 }, /* (232) cmd ::= SHOW STREAMS */ - { 329, -2 }, /* (233) cmd ::= SHOW ACCOUNTS */ - { 329, -2 }, /* (234) cmd ::= SHOW APPS */ - { 329, -2 }, /* (235) cmd ::= SHOW CONNECTIONS */ - { 329, -2 }, /* (236) cmd ::= SHOW LICENCES */ - { 329, -2 }, /* (237) cmd ::= SHOW GRANTS */ - { 329, -4 }, /* (238) cmd ::= SHOW CREATE DATABASE db_name */ - { 329, -4 }, /* (239) cmd ::= SHOW CREATE TABLE full_table_name */ - { 329, -4 }, /* (240) cmd ::= SHOW CREATE STABLE full_table_name */ - { 329, -2 }, /* (241) cmd ::= SHOW QUERIES */ - { 329, -2 }, /* (242) cmd ::= SHOW SCORES */ - { 329, -2 }, /* (243) cmd ::= SHOW TOPICS */ - { 329, -2 }, /* (244) cmd ::= SHOW VARIABLES */ - { 329, -3 }, /* (245) cmd ::= SHOW CLUSTER VARIABLES */ - { 329, -3 }, /* (246) cmd ::= SHOW LOCAL VARIABLES */ - { 329, -5 }, /* (247) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - { 329, -2 }, /* (248) cmd ::= SHOW BNODES */ - { 329, -2 }, /* (249) cmd ::= SHOW SNODES */ - { 329, -2 }, /* (250) cmd ::= SHOW CLUSTER */ - { 329, -2 }, /* (251) cmd ::= SHOW TRANSACTIONS */ - { 329, -4 }, /* (252) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - { 329, -2 }, /* (253) cmd ::= SHOW CONSUMERS */ - { 329, -2 }, /* (254) cmd ::= SHOW SUBSCRIPTIONS */ - { 329, -5 }, /* (255) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - { 329, -7 }, /* (256) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - { 329, -3 }, /* (257) cmd ::= SHOW VNODES NK_INTEGER */ - { 329, -3 }, /* (258) cmd ::= SHOW VNODES NK_STRING */ - { 329, -3 }, /* (259) cmd ::= SHOW db_name_cond_opt ALIVE */ - { 329, -3 }, /* (260) cmd ::= SHOW CLUSTER ALIVE */ - { 382, 0 }, /* (261) db_name_cond_opt ::= */ - { 382, -2 }, /* (262) db_name_cond_opt ::= db_name NK_DOT */ - { 383, 0 }, /* (263) like_pattern_opt ::= */ - { 383, -2 }, /* (264) like_pattern_opt ::= LIKE NK_STRING */ - { 384, -1 }, /* (265) table_name_cond ::= table_name */ - { 385, 0 }, /* (266) from_db_opt ::= */ - { 385, -2 }, /* (267) from_db_opt ::= FROM db_name */ - { 386, 0 }, /* (268) tag_list_opt ::= */ - { 386, -1 }, /* (269) tag_list_opt ::= tag_item */ - { 386, -3 }, /* (270) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - { 387, -1 }, /* (271) tag_item ::= TBNAME */ - { 387, -1 }, /* (272) tag_item ::= QTAGS */ - { 387, -1 }, /* (273) tag_item ::= column_name */ - { 387, -2 }, /* (274) tag_item ::= column_name column_alias */ - { 387, -3 }, /* (275) tag_item ::= column_name AS column_alias */ - { 329, -8 }, /* (276) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ - { 329, -9 }, /* (277) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ - { 329, -4 }, /* (278) cmd ::= DROP INDEX exists_opt full_index_name */ - { 389, -1 }, /* (279) full_index_name ::= index_name */ - { 389, -3 }, /* (280) full_index_name ::= db_name NK_DOT index_name */ - { 390, -10 }, /* (281) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - { 390, -12 }, /* (282) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ - { 392, -1 }, /* (283) func_list ::= func */ - { 392, -3 }, /* (284) func_list ::= func_list NK_COMMA func */ - { 395, -4 }, /* (285) func ::= sma_func_name NK_LP expression_list NK_RP */ - { 396, -1 }, /* (286) sma_func_name ::= function_name */ - { 396, -1 }, /* (287) sma_func_name ::= COUNT */ - { 396, -1 }, /* (288) sma_func_name ::= FIRST */ - { 396, -1 }, /* (289) sma_func_name ::= LAST */ - { 396, -1 }, /* (290) sma_func_name ::= LAST_ROW */ - { 394, 0 }, /* (291) sma_stream_opt ::= */ - { 394, -3 }, /* (292) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - { 394, -3 }, /* (293) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - { 394, -3 }, /* (294) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - { 329, -6 }, /* (295) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - { 329, -7 }, /* (296) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ - { 329, -9 }, /* (297) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ - { 329, -7 }, /* (298) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ - { 329, -9 }, /* (299) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ - { 329, -4 }, /* (300) cmd ::= DROP TOPIC exists_opt topic_name */ - { 329, -7 }, /* (301) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - { 329, -2 }, /* (302) cmd ::= DESC full_table_name */ - { 329, -2 }, /* (303) cmd ::= DESCRIBE full_table_name */ - { 329, -3 }, /* (304) cmd ::= RESET QUERY CACHE */ - { 329, -4 }, /* (305) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - { 329, -4 }, /* (306) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - { 399, 0 }, /* (307) analyze_opt ::= */ - { 399, -1 }, /* (308) analyze_opt ::= ANALYZE */ - { 400, 0 }, /* (309) explain_options ::= */ - { 400, -3 }, /* (310) explain_options ::= explain_options VERBOSE NK_BOOL */ - { 400, -3 }, /* (311) explain_options ::= explain_options RATIO NK_FLOAT */ - { 329, -11 }, /* (312) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - { 329, -4 }, /* (313) cmd ::= DROP FUNCTION exists_opt function_name */ - { 402, 0 }, /* (314) agg_func_opt ::= */ - { 402, -1 }, /* (315) agg_func_opt ::= AGGREGATE */ - { 403, 0 }, /* (316) bufsize_opt ::= */ - { 403, -2 }, /* (317) bufsize_opt ::= BUFSIZE NK_INTEGER */ - { 404, 0 }, /* (318) language_opt ::= */ - { 404, -2 }, /* (319) language_opt ::= LANGUAGE NK_STRING */ - { 329, -12 }, /* (320) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - { 329, -4 }, /* (321) cmd ::= DROP STREAM exists_opt stream_name */ - { 407, 0 }, /* (322) col_list_opt ::= */ - { 407, -3 }, /* (323) col_list_opt ::= NK_LP col_name_list NK_RP */ - { 408, 0 }, /* (324) tag_def_or_ref_opt ::= */ - { 408, -1 }, /* (325) tag_def_or_ref_opt ::= tags_def */ - { 408, -4 }, /* (326) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - { 406, 0 }, /* (327) stream_options ::= */ - { 406, -3 }, /* (328) stream_options ::= stream_options TRIGGER AT_ONCE */ - { 406, -3 }, /* (329) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - { 406, -4 }, /* (330) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - { 406, -3 }, /* (331) stream_options ::= stream_options WATERMARK duration_literal */ - { 406, -4 }, /* (332) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - { 406, -3 }, /* (333) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - { 406, -3 }, /* (334) stream_options ::= stream_options DELETE_MARK duration_literal */ - { 406, -4 }, /* (335) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - { 409, 0 }, /* (336) subtable_opt ::= */ - { 409, -4 }, /* (337) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - { 329, -3 }, /* (338) cmd ::= KILL CONNECTION NK_INTEGER */ - { 329, -3 }, /* (339) cmd ::= KILL QUERY NK_STRING */ - { 329, -3 }, /* (340) cmd ::= KILL TRANSACTION NK_INTEGER */ - { 329, -2 }, /* (341) cmd ::= BALANCE VGROUP */ - { 329, -4 }, /* (342) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - { 329, -4 }, /* (343) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - { 329, -3 }, /* (344) cmd ::= SPLIT VGROUP NK_INTEGER */ - { 411, -2 }, /* (345) dnode_list ::= DNODE NK_INTEGER */ - { 411, -3 }, /* (346) dnode_list ::= dnode_list DNODE NK_INTEGER */ - { 329, -4 }, /* (347) cmd ::= DELETE FROM full_table_name where_clause_opt */ - { 329, -1 }, /* (348) cmd ::= query_or_subquery */ - { 329, -1 }, /* (349) cmd ::= insert_query */ - { 401, -7 }, /* (350) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - { 401, -4 }, /* (351) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - { 332, -1 }, /* (352) literal ::= NK_INTEGER */ - { 332, -1 }, /* (353) literal ::= NK_FLOAT */ - { 332, -1 }, /* (354) literal ::= NK_STRING */ - { 332, -1 }, /* (355) literal ::= NK_BOOL */ - { 332, -2 }, /* (356) literal ::= TIMESTAMP NK_STRING */ - { 332, -1 }, /* (357) literal ::= duration_literal */ - { 332, -1 }, /* (358) literal ::= NULL */ - { 332, -1 }, /* (359) literal ::= NK_QUESTION */ - { 378, -1 }, /* (360) duration_literal ::= NK_VARIABLE */ - { 413, -1 }, /* (361) signed ::= NK_INTEGER */ - { 413, -2 }, /* (362) signed ::= NK_PLUS NK_INTEGER */ - { 413, -2 }, /* (363) signed ::= NK_MINUS NK_INTEGER */ - { 413, -1 }, /* (364) signed ::= NK_FLOAT */ - { 413, -2 }, /* (365) signed ::= NK_PLUS NK_FLOAT */ - { 413, -2 }, /* (366) signed ::= NK_MINUS NK_FLOAT */ - { 367, -1 }, /* (367) signed_literal ::= signed */ - { 367, -1 }, /* (368) signed_literal ::= NK_STRING */ - { 367, -1 }, /* (369) signed_literal ::= NK_BOOL */ - { 367, -2 }, /* (370) signed_literal ::= TIMESTAMP NK_STRING */ - { 367, -1 }, /* (371) signed_literal ::= duration_literal */ - { 367, -1 }, /* (372) signed_literal ::= NULL */ - { 367, -1 }, /* (373) signed_literal ::= literal_func */ - { 367, -1 }, /* (374) signed_literal ::= NK_QUESTION */ - { 415, -1 }, /* (375) literal_list ::= signed_literal */ - { 415, -3 }, /* (376) literal_list ::= literal_list NK_COMMA signed_literal */ - { 340, -1 }, /* (377) db_name ::= NK_ID */ - { 373, -1 }, /* (378) table_name ::= NK_ID */ - { 365, -1 }, /* (379) column_name ::= NK_ID */ - { 380, -1 }, /* (380) function_name ::= NK_ID */ - { 416, -1 }, /* (381) table_alias ::= NK_ID */ - { 388, -1 }, /* (382) column_alias ::= NK_ID */ - { 334, -1 }, /* (383) user_name ::= NK_ID */ - { 341, -1 }, /* (384) topic_name ::= NK_ID */ - { 405, -1 }, /* (385) stream_name ::= NK_ID */ - { 398, -1 }, /* (386) cgroup_name ::= NK_ID */ - { 391, -1 }, /* (387) index_name ::= NK_ID */ - { 417, -1 }, /* (388) expr_or_subquery ::= expression */ - { 410, -1 }, /* (389) expression ::= literal */ - { 410, -1 }, /* (390) expression ::= pseudo_column */ - { 410, -1 }, /* (391) expression ::= column_reference */ - { 410, -1 }, /* (392) expression ::= function_expression */ - { 410, -1 }, /* (393) expression ::= case_when_expression */ - { 410, -3 }, /* (394) expression ::= NK_LP expression NK_RP */ - { 410, -2 }, /* (395) expression ::= NK_PLUS expr_or_subquery */ - { 410, -2 }, /* (396) expression ::= NK_MINUS expr_or_subquery */ - { 410, -3 }, /* (397) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - { 410, -3 }, /* (398) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - { 410, -3 }, /* (399) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - { 410, -3 }, /* (400) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - { 410, -3 }, /* (401) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - { 410, -3 }, /* (402) expression ::= column_reference NK_ARROW NK_STRING */ - { 410, -3 }, /* (403) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - { 410, -3 }, /* (404) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - { 370, -1 }, /* (405) expression_list ::= expr_or_subquery */ - { 370, -3 }, /* (406) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - { 419, -1 }, /* (407) column_reference ::= column_name */ - { 419, -3 }, /* (408) column_reference ::= table_name NK_DOT column_name */ - { 418, -1 }, /* (409) pseudo_column ::= ROWTS */ - { 418, -1 }, /* (410) pseudo_column ::= TBNAME */ - { 418, -3 }, /* (411) pseudo_column ::= table_name NK_DOT TBNAME */ - { 418, -1 }, /* (412) pseudo_column ::= QSTART */ - { 418, -1 }, /* (413) pseudo_column ::= QEND */ - { 418, -1 }, /* (414) pseudo_column ::= QDURATION */ - { 418, -1 }, /* (415) pseudo_column ::= WSTART */ - { 418, -1 }, /* (416) pseudo_column ::= WEND */ - { 418, -1 }, /* (417) pseudo_column ::= WDURATION */ - { 418, -1 }, /* (418) pseudo_column ::= IROWTS */ - { 418, -1 }, /* (419) pseudo_column ::= ISFILLED */ - { 418, -1 }, /* (420) pseudo_column ::= QTAGS */ - { 420, -4 }, /* (421) function_expression ::= function_name NK_LP expression_list NK_RP */ - { 420, -4 }, /* (422) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - { 420, -6 }, /* (423) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - { 420, -1 }, /* (424) function_expression ::= literal_func */ - { 414, -3 }, /* (425) literal_func ::= noarg_func NK_LP NK_RP */ - { 414, -1 }, /* (426) literal_func ::= NOW */ - { 424, -1 }, /* (427) noarg_func ::= NOW */ - { 424, -1 }, /* (428) noarg_func ::= TODAY */ - { 424, -1 }, /* (429) noarg_func ::= TIMEZONE */ - { 424, -1 }, /* (430) noarg_func ::= DATABASE */ - { 424, -1 }, /* (431) noarg_func ::= CLIENT_VERSION */ - { 424, -1 }, /* (432) noarg_func ::= SERVER_VERSION */ - { 424, -1 }, /* (433) noarg_func ::= SERVER_STATUS */ - { 424, -1 }, /* (434) noarg_func ::= CURRENT_USER */ - { 424, -1 }, /* (435) noarg_func ::= USER */ - { 422, -1 }, /* (436) star_func ::= COUNT */ - { 422, -1 }, /* (437) star_func ::= FIRST */ - { 422, -1 }, /* (438) star_func ::= LAST */ - { 422, -1 }, /* (439) star_func ::= LAST_ROW */ - { 423, -1 }, /* (440) star_func_para_list ::= NK_STAR */ - { 423, -1 }, /* (441) star_func_para_list ::= other_para_list */ - { 425, -1 }, /* (442) other_para_list ::= star_func_para */ - { 425, -3 }, /* (443) other_para_list ::= other_para_list NK_COMMA star_func_para */ - { 426, -1 }, /* (444) star_func_para ::= expr_or_subquery */ - { 426, -3 }, /* (445) star_func_para ::= table_name NK_DOT NK_STAR */ - { 421, -4 }, /* (446) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - { 421, -5 }, /* (447) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - { 427, -1 }, /* (448) when_then_list ::= when_then_expr */ - { 427, -2 }, /* (449) when_then_list ::= when_then_list when_then_expr */ - { 430, -4 }, /* (450) when_then_expr ::= WHEN common_expression THEN common_expression */ - { 428, 0 }, /* (451) case_when_else_opt ::= */ - { 428, -2 }, /* (452) case_when_else_opt ::= ELSE common_expression */ - { 431, -3 }, /* (453) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - { 431, -5 }, /* (454) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - { 431, -6 }, /* (455) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - { 431, -3 }, /* (456) predicate ::= expr_or_subquery IS NULL */ - { 431, -4 }, /* (457) predicate ::= expr_or_subquery IS NOT NULL */ - { 431, -3 }, /* (458) predicate ::= expr_or_subquery in_op in_predicate_value */ - { 432, -1 }, /* (459) compare_op ::= NK_LT */ - { 432, -1 }, /* (460) compare_op ::= NK_GT */ - { 432, -1 }, /* (461) compare_op ::= NK_LE */ - { 432, -1 }, /* (462) compare_op ::= NK_GE */ - { 432, -1 }, /* (463) compare_op ::= NK_NE */ - { 432, -1 }, /* (464) compare_op ::= NK_EQ */ - { 432, -1 }, /* (465) compare_op ::= LIKE */ - { 432, -2 }, /* (466) compare_op ::= NOT LIKE */ - { 432, -1 }, /* (467) compare_op ::= MATCH */ - { 432, -1 }, /* (468) compare_op ::= NMATCH */ - { 432, -1 }, /* (469) compare_op ::= CONTAINS */ - { 433, -1 }, /* (470) in_op ::= IN */ - { 433, -2 }, /* (471) in_op ::= NOT IN */ - { 434, -3 }, /* (472) in_predicate_value ::= NK_LP literal_list NK_RP */ - { 435, -1 }, /* (473) boolean_value_expression ::= boolean_primary */ - { 435, -2 }, /* (474) boolean_value_expression ::= NOT boolean_primary */ - { 435, -3 }, /* (475) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - { 435, -3 }, /* (476) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - { 436, -1 }, /* (477) boolean_primary ::= predicate */ - { 436, -3 }, /* (478) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - { 429, -1 }, /* (479) common_expression ::= expr_or_subquery */ - { 429, -1 }, /* (480) common_expression ::= boolean_value_expression */ - { 437, 0 }, /* (481) from_clause_opt ::= */ - { 437, -2 }, /* (482) from_clause_opt ::= FROM table_reference_list */ - { 438, -1 }, /* (483) table_reference_list ::= table_reference */ - { 438, -3 }, /* (484) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - { 439, -1 }, /* (485) table_reference ::= table_primary */ - { 439, -1 }, /* (486) table_reference ::= joined_table */ - { 440, -2 }, /* (487) table_primary ::= table_name alias_opt */ - { 440, -4 }, /* (488) table_primary ::= db_name NK_DOT table_name alias_opt */ - { 440, -2 }, /* (489) table_primary ::= subquery alias_opt */ - { 440, -1 }, /* (490) table_primary ::= parenthesized_joined_table */ - { 442, 0 }, /* (491) alias_opt ::= */ - { 442, -1 }, /* (492) alias_opt ::= table_alias */ - { 442, -2 }, /* (493) alias_opt ::= AS table_alias */ - { 444, -3 }, /* (494) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - { 444, -3 }, /* (495) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - { 441, -6 }, /* (496) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - { 445, 0 }, /* (497) join_type ::= */ - { 445, -1 }, /* (498) join_type ::= INNER */ - { 447, -12 }, /* (499) query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ - { 448, 0 }, /* (500) set_quantifier_opt ::= */ - { 448, -1 }, /* (501) set_quantifier_opt ::= DISTINCT */ - { 448, -1 }, /* (502) set_quantifier_opt ::= ALL */ - { 449, -1 }, /* (503) select_list ::= select_item */ - { 449, -3 }, /* (504) select_list ::= select_list NK_COMMA select_item */ - { 457, -1 }, /* (505) select_item ::= NK_STAR */ - { 457, -1 }, /* (506) select_item ::= common_expression */ - { 457, -2 }, /* (507) select_item ::= common_expression column_alias */ - { 457, -3 }, /* (508) select_item ::= common_expression AS column_alias */ - { 457, -3 }, /* (509) select_item ::= table_name NK_DOT NK_STAR */ - { 412, 0 }, /* (510) where_clause_opt ::= */ - { 412, -2 }, /* (511) where_clause_opt ::= WHERE search_condition */ - { 450, 0 }, /* (512) partition_by_clause_opt ::= */ - { 450, -3 }, /* (513) partition_by_clause_opt ::= PARTITION BY partition_list */ - { 458, -1 }, /* (514) partition_list ::= partition_item */ - { 458, -3 }, /* (515) partition_list ::= partition_list NK_COMMA partition_item */ - { 459, -1 }, /* (516) partition_item ::= expr_or_subquery */ - { 459, -2 }, /* (517) partition_item ::= expr_or_subquery column_alias */ - { 459, -3 }, /* (518) partition_item ::= expr_or_subquery AS column_alias */ - { 454, 0 }, /* (519) twindow_clause_opt ::= */ - { 454, -6 }, /* (520) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - { 454, -4 }, /* (521) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - { 454, -6 }, /* (522) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - { 454, -8 }, /* (523) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - { 454, -7 }, /* (524) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - { 393, 0 }, /* (525) sliding_opt ::= */ - { 393, -4 }, /* (526) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - { 453, 0 }, /* (527) fill_opt ::= */ - { 453, -4 }, /* (528) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - { 453, -6 }, /* (529) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ - { 453, -6 }, /* (530) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ - { 460, -1 }, /* (531) fill_mode ::= NONE */ - { 460, -1 }, /* (532) fill_mode ::= PREV */ - { 460, -1 }, /* (533) fill_mode ::= NULL */ - { 460, -1 }, /* (534) fill_mode ::= NULL_F */ - { 460, -1 }, /* (535) fill_mode ::= LINEAR */ - { 460, -1 }, /* (536) fill_mode ::= NEXT */ - { 455, 0 }, /* (537) group_by_clause_opt ::= */ - { 455, -3 }, /* (538) group_by_clause_opt ::= GROUP BY group_by_list */ - { 461, -1 }, /* (539) group_by_list ::= expr_or_subquery */ - { 461, -3 }, /* (540) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - { 456, 0 }, /* (541) having_clause_opt ::= */ - { 456, -2 }, /* (542) having_clause_opt ::= HAVING search_condition */ - { 451, 0 }, /* (543) range_opt ::= */ - { 451, -6 }, /* (544) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - { 452, 0 }, /* (545) every_opt ::= */ - { 452, -4 }, /* (546) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - { 462, -4 }, /* (547) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - { 463, -1 }, /* (548) query_simple ::= query_specification */ - { 463, -1 }, /* (549) query_simple ::= union_query_expression */ - { 467, -4 }, /* (550) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - { 467, -3 }, /* (551) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - { 468, -1 }, /* (552) query_simple_or_subquery ::= query_simple */ - { 468, -1 }, /* (553) query_simple_or_subquery ::= subquery */ - { 397, -1 }, /* (554) query_or_subquery ::= query_expression */ - { 397, -1 }, /* (555) query_or_subquery ::= subquery */ - { 464, 0 }, /* (556) order_by_clause_opt ::= */ - { 464, -3 }, /* (557) order_by_clause_opt ::= ORDER BY sort_specification_list */ - { 465, 0 }, /* (558) slimit_clause_opt ::= */ - { 465, -2 }, /* (559) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - { 465, -4 }, /* (560) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - { 465, -4 }, /* (561) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 466, 0 }, /* (562) limit_clause_opt ::= */ - { 466, -2 }, /* (563) limit_clause_opt ::= LIMIT NK_INTEGER */ - { 466, -4 }, /* (564) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - { 466, -4 }, /* (565) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 443, -3 }, /* (566) subquery ::= NK_LP query_expression NK_RP */ - { 443, -3 }, /* (567) subquery ::= NK_LP subquery NK_RP */ - { 446, -1 }, /* (568) search_condition ::= common_expression */ - { 469, -1 }, /* (569) sort_specification_list ::= sort_specification */ - { 469, -3 }, /* (570) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - { 470, -3 }, /* (571) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - { 471, 0 }, /* (572) ordering_specification_opt ::= */ - { 471, -1 }, /* (573) ordering_specification_opt ::= ASC */ - { 471, -1 }, /* (574) ordering_specification_opt ::= DESC */ - { 472, 0 }, /* (575) null_ordering_opt ::= */ - { 472, -2 }, /* (576) null_ordering_opt ::= NULLS FIRST */ - { 472, -2 }, /* (577) null_ordering_opt ::= NULLS LAST */ + { 330, -6 }, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ + { 330, -4 }, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ + { 331, 0 }, /* (2) account_options ::= */ + { 331, -3 }, /* (3) account_options ::= account_options PPS literal */ + { 331, -3 }, /* (4) account_options ::= account_options TSERIES literal */ + { 331, -3 }, /* (5) account_options ::= account_options STORAGE literal */ + { 331, -3 }, /* (6) account_options ::= account_options STREAMS literal */ + { 331, -3 }, /* (7) account_options ::= account_options QTIME literal */ + { 331, -3 }, /* (8) account_options ::= account_options DBS literal */ + { 331, -3 }, /* (9) account_options ::= account_options USERS literal */ + { 331, -3 }, /* (10) account_options ::= account_options CONNS literal */ + { 331, -3 }, /* (11) account_options ::= account_options STATE literal */ + { 332, -1 }, /* (12) alter_account_options ::= alter_account_option */ + { 332, -2 }, /* (13) alter_account_options ::= alter_account_options alter_account_option */ + { 334, -2 }, /* (14) alter_account_option ::= PASS literal */ + { 334, -2 }, /* (15) alter_account_option ::= PPS literal */ + { 334, -2 }, /* (16) alter_account_option ::= TSERIES literal */ + { 334, -2 }, /* (17) alter_account_option ::= STORAGE literal */ + { 334, -2 }, /* (18) alter_account_option ::= STREAMS literal */ + { 334, -2 }, /* (19) alter_account_option ::= QTIME literal */ + { 334, -2 }, /* (20) alter_account_option ::= DBS literal */ + { 334, -2 }, /* (21) alter_account_option ::= USERS literal */ + { 334, -2 }, /* (22) alter_account_option ::= CONNS literal */ + { 334, -2 }, /* (23) alter_account_option ::= STATE literal */ + { 330, -6 }, /* (24) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ + { 330, -5 }, /* (25) cmd ::= ALTER USER user_name PASS NK_STRING */ + { 330, -5 }, /* (26) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ + { 330, -5 }, /* (27) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ + { 330, -3 }, /* (28) cmd ::= DROP USER user_name */ + { 336, 0 }, /* (29) sysinfo_opt ::= */ + { 336, -2 }, /* (30) sysinfo_opt ::= SYSINFO NK_INTEGER */ + { 330, -6 }, /* (31) cmd ::= GRANT privileges ON priv_level TO user_name */ + { 330, -6 }, /* (32) cmd ::= REVOKE privileges ON priv_level FROM user_name */ + { 337, -1 }, /* (33) privileges ::= ALL */ + { 337, -1 }, /* (34) privileges ::= priv_type_list */ + { 337, -1 }, /* (35) privileges ::= SUBSCRIBE */ + { 339, -1 }, /* (36) priv_type_list ::= priv_type */ + { 339, -3 }, /* (37) priv_type_list ::= priv_type_list NK_COMMA priv_type */ + { 340, -1 }, /* (38) priv_type ::= READ */ + { 340, -1 }, /* (39) priv_type ::= WRITE */ + { 338, -3 }, /* (40) priv_level ::= NK_STAR NK_DOT NK_STAR */ + { 338, -3 }, /* (41) priv_level ::= db_name NK_DOT NK_STAR */ + { 338, -1 }, /* (42) priv_level ::= topic_name */ + { 330, -3 }, /* (43) cmd ::= CREATE DNODE dnode_endpoint */ + { 330, -5 }, /* (44) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ + { 330, -4 }, /* (45) cmd ::= DROP DNODE NK_INTEGER force_opt */ + { 330, -4 }, /* (46) cmd ::= DROP DNODE dnode_endpoint force_opt */ + { 330, -4 }, /* (47) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ + { 330, -5 }, /* (48) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ + { 330, -4 }, /* (49) cmd ::= ALTER ALL DNODES NK_STRING */ + { 330, -5 }, /* (50) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ + { 343, -1 }, /* (51) dnode_endpoint ::= NK_STRING */ + { 343, -1 }, /* (52) dnode_endpoint ::= NK_ID */ + { 343, -1 }, /* (53) dnode_endpoint ::= NK_IPTOKEN */ + { 344, 0 }, /* (54) force_opt ::= */ + { 344, -1 }, /* (55) force_opt ::= FORCE */ + { 330, -3 }, /* (56) cmd ::= ALTER LOCAL NK_STRING */ + { 330, -4 }, /* (57) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ + { 330, -5 }, /* (58) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (59) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (60) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (61) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (62) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (63) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (64) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (65) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ + { 330, -5 }, /* (66) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ + { 330, -4 }, /* (67) cmd ::= DROP DATABASE exists_opt db_name */ + { 330, -2 }, /* (68) cmd ::= USE db_name */ + { 330, -4 }, /* (69) cmd ::= ALTER DATABASE db_name alter_db_options */ + { 330, -3 }, /* (70) cmd ::= FLUSH DATABASE db_name */ + { 330, -4 }, /* (71) cmd ::= TRIM DATABASE db_name speed_opt */ + { 330, -5 }, /* (72) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ + { 345, -3 }, /* (73) not_exists_opt ::= IF NOT EXISTS */ + { 345, 0 }, /* (74) not_exists_opt ::= */ + { 347, -2 }, /* (75) exists_opt ::= IF EXISTS */ + { 347, 0 }, /* (76) exists_opt ::= */ + { 346, 0 }, /* (77) db_options ::= */ + { 346, -3 }, /* (78) db_options ::= db_options BUFFER NK_INTEGER */ + { 346, -3 }, /* (79) db_options ::= db_options CACHEMODEL NK_STRING */ + { 346, -3 }, /* (80) db_options ::= db_options CACHESIZE NK_INTEGER */ + { 346, -3 }, /* (81) db_options ::= db_options COMP NK_INTEGER */ + { 346, -3 }, /* (82) db_options ::= db_options DURATION NK_INTEGER */ + { 346, -3 }, /* (83) db_options ::= db_options DURATION NK_VARIABLE */ + { 346, -3 }, /* (84) db_options ::= db_options MAXROWS NK_INTEGER */ + { 346, -3 }, /* (85) db_options ::= db_options MINROWS NK_INTEGER */ + { 346, -3 }, /* (86) db_options ::= db_options KEEP integer_list */ + { 346, -3 }, /* (87) db_options ::= db_options KEEP variable_list */ + { 346, -3 }, /* (88) db_options ::= db_options PAGES NK_INTEGER */ + { 346, -3 }, /* (89) db_options ::= db_options PAGESIZE NK_INTEGER */ + { 346, -3 }, /* (90) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ + { 346, -3 }, /* (91) db_options ::= db_options PRECISION NK_STRING */ + { 346, -3 }, /* (92) db_options ::= db_options REPLICA NK_INTEGER */ + { 346, -3 }, /* (93) db_options ::= db_options VGROUPS NK_INTEGER */ + { 346, -3 }, /* (94) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ + { 346, -3 }, /* (95) db_options ::= db_options RETENTIONS retention_list */ + { 346, -3 }, /* (96) db_options ::= db_options SCHEMALESS NK_INTEGER */ + { 346, -3 }, /* (97) db_options ::= db_options WAL_LEVEL NK_INTEGER */ + { 346, -3 }, /* (98) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ + { 346, -3 }, /* (99) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ + { 346, -4 }, /* (100) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + { 346, -3 }, /* (101) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ + { 346, -4 }, /* (102) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + { 346, -3 }, /* (103) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ + { 346, -3 }, /* (104) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ + { 346, -3 }, /* (105) db_options ::= db_options STT_TRIGGER NK_INTEGER */ + { 346, -3 }, /* (106) db_options ::= db_options TABLE_PREFIX NK_INTEGER */ + { 346, -3 }, /* (107) db_options ::= db_options TABLE_SUFFIX NK_INTEGER */ + { 348, -1 }, /* (108) alter_db_options ::= alter_db_option */ + { 348, -2 }, /* (109) alter_db_options ::= alter_db_options alter_db_option */ + { 355, -2 }, /* (110) alter_db_option ::= BUFFER NK_INTEGER */ + { 355, -2 }, /* (111) alter_db_option ::= CACHEMODEL NK_STRING */ + { 355, -2 }, /* (112) alter_db_option ::= CACHESIZE NK_INTEGER */ + { 355, -2 }, /* (113) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ + { 355, -2 }, /* (114) alter_db_option ::= KEEP integer_list */ + { 355, -2 }, /* (115) alter_db_option ::= KEEP variable_list */ + { 355, -2 }, /* (116) alter_db_option ::= PAGES NK_INTEGER */ + { 355, -2 }, /* (117) alter_db_option ::= REPLICA NK_INTEGER */ + { 355, -2 }, /* (118) alter_db_option ::= WAL_LEVEL NK_INTEGER */ + { 355, -2 }, /* (119) alter_db_option ::= STT_TRIGGER NK_INTEGER */ + { 355, -2 }, /* (120) alter_db_option ::= MINROWS NK_INTEGER */ + { 355, -2 }, /* (121) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ + { 355, -3 }, /* (122) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + { 355, -2 }, /* (123) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ + { 355, -3 }, /* (124) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + { 352, -1 }, /* (125) integer_list ::= NK_INTEGER */ + { 352, -3 }, /* (126) integer_list ::= integer_list NK_COMMA NK_INTEGER */ + { 353, -1 }, /* (127) variable_list ::= NK_VARIABLE */ + { 353, -3 }, /* (128) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + { 354, -1 }, /* (129) retention_list ::= retention */ + { 354, -3 }, /* (130) retention_list ::= retention_list NK_COMMA retention */ + { 356, -3 }, /* (131) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + { 349, 0 }, /* (132) speed_opt ::= */ + { 349, -2 }, /* (133) speed_opt ::= MAX_SPEED NK_INTEGER */ + { 350, 0 }, /* (134) start_opt ::= */ + { 350, -3 }, /* (135) start_opt ::= START WITH NK_INTEGER */ + { 350, -3 }, /* (136) start_opt ::= START WITH NK_STRING */ + { 350, -4 }, /* (137) start_opt ::= START WITH TIMESTAMP NK_STRING */ + { 351, 0 }, /* (138) end_opt ::= */ + { 351, -3 }, /* (139) end_opt ::= END WITH NK_INTEGER */ + { 351, -3 }, /* (140) end_opt ::= END WITH NK_STRING */ + { 351, -4 }, /* (141) end_opt ::= END WITH TIMESTAMP NK_STRING */ + { 330, -9 }, /* (142) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + { 330, -3 }, /* (143) cmd ::= CREATE TABLE multi_create_clause */ + { 330, -9 }, /* (144) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ + { 330, -3 }, /* (145) cmd ::= DROP TABLE multi_drop_clause */ + { 330, -4 }, /* (146) cmd ::= DROP STABLE exists_opt full_table_name */ + { 330, -3 }, /* (147) cmd ::= ALTER TABLE alter_table_clause */ + { 330, -3 }, /* (148) cmd ::= ALTER STABLE alter_table_clause */ + { 364, -2 }, /* (149) alter_table_clause ::= full_table_name alter_table_options */ + { 364, -5 }, /* (150) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + { 364, -4 }, /* (151) alter_table_clause ::= full_table_name DROP COLUMN column_name */ + { 364, -5 }, /* (152) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + { 364, -5 }, /* (153) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + { 364, -5 }, /* (154) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + { 364, -4 }, /* (155) alter_table_clause ::= full_table_name DROP TAG column_name */ + { 364, -5 }, /* (156) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + { 364, -5 }, /* (157) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + { 364, -6 }, /* (158) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + { 361, -1 }, /* (159) multi_create_clause ::= create_subtable_clause */ + { 361, -2 }, /* (160) multi_create_clause ::= multi_create_clause create_subtable_clause */ + { 369, -10 }, /* (161) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ + { 363, -1 }, /* (162) multi_drop_clause ::= drop_table_clause */ + { 363, -3 }, /* (163) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ + { 372, -2 }, /* (164) drop_table_clause ::= exists_opt full_table_name */ + { 370, 0 }, /* (165) specific_cols_opt ::= */ + { 370, -3 }, /* (166) specific_cols_opt ::= NK_LP col_name_list NK_RP */ + { 357, -1 }, /* (167) full_table_name ::= table_name */ + { 357, -3 }, /* (168) full_table_name ::= db_name NK_DOT table_name */ + { 358, -1 }, /* (169) column_def_list ::= column_def */ + { 358, -3 }, /* (170) column_def_list ::= column_def_list NK_COMMA column_def */ + { 375, -2 }, /* (171) column_def ::= column_name type_name */ + { 375, -4 }, /* (172) column_def ::= column_name type_name COMMENT NK_STRING */ + { 367, -1 }, /* (173) type_name ::= BOOL */ + { 367, -1 }, /* (174) type_name ::= TINYINT */ + { 367, -1 }, /* (175) type_name ::= SMALLINT */ + { 367, -1 }, /* (176) type_name ::= INT */ + { 367, -1 }, /* (177) type_name ::= INTEGER */ + { 367, -1 }, /* (178) type_name ::= BIGINT */ + { 367, -1 }, /* (179) type_name ::= FLOAT */ + { 367, -1 }, /* (180) type_name ::= DOUBLE */ + { 367, -4 }, /* (181) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + { 367, -1 }, /* (182) type_name ::= TIMESTAMP */ + { 367, -4 }, /* (183) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + { 367, -2 }, /* (184) type_name ::= TINYINT UNSIGNED */ + { 367, -2 }, /* (185) type_name ::= SMALLINT UNSIGNED */ + { 367, -2 }, /* (186) type_name ::= INT UNSIGNED */ + { 367, -2 }, /* (187) type_name ::= BIGINT UNSIGNED */ + { 367, -1 }, /* (188) type_name ::= JSON */ + { 367, -4 }, /* (189) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + { 367, -1 }, /* (190) type_name ::= MEDIUMBLOB */ + { 367, -1 }, /* (191) type_name ::= BLOB */ + { 367, -4 }, /* (192) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + { 367, -1 }, /* (193) type_name ::= DECIMAL */ + { 367, -4 }, /* (194) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + { 367, -6 }, /* (195) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + { 359, 0 }, /* (196) tags_def_opt ::= */ + { 359, -1 }, /* (197) tags_def_opt ::= tags_def */ + { 362, -4 }, /* (198) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + { 360, 0 }, /* (199) table_options ::= */ + { 360, -3 }, /* (200) table_options ::= table_options COMMENT NK_STRING */ + { 360, -3 }, /* (201) table_options ::= table_options MAX_DELAY duration_list */ + { 360, -3 }, /* (202) table_options ::= table_options WATERMARK duration_list */ + { 360, -5 }, /* (203) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + { 360, -3 }, /* (204) table_options ::= table_options TTL NK_INTEGER */ + { 360, -5 }, /* (205) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + { 360, -3 }, /* (206) table_options ::= table_options DELETE_MARK duration_list */ + { 365, -1 }, /* (207) alter_table_options ::= alter_table_option */ + { 365, -2 }, /* (208) alter_table_options ::= alter_table_options alter_table_option */ + { 378, -2 }, /* (209) alter_table_option ::= COMMENT NK_STRING */ + { 378, -2 }, /* (210) alter_table_option ::= TTL NK_INTEGER */ + { 376, -1 }, /* (211) duration_list ::= duration_literal */ + { 376, -3 }, /* (212) duration_list ::= duration_list NK_COMMA duration_literal */ + { 377, -1 }, /* (213) rollup_func_list ::= rollup_func_name */ + { 377, -3 }, /* (214) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + { 380, -1 }, /* (215) rollup_func_name ::= function_name */ + { 380, -1 }, /* (216) rollup_func_name ::= FIRST */ + { 380, -1 }, /* (217) rollup_func_name ::= LAST */ + { 373, -1 }, /* (218) col_name_list ::= col_name */ + { 373, -3 }, /* (219) col_name_list ::= col_name_list NK_COMMA col_name */ + { 382, -1 }, /* (220) col_name ::= column_name */ + { 330, -2 }, /* (221) cmd ::= SHOW DNODES */ + { 330, -2 }, /* (222) cmd ::= SHOW USERS */ + { 330, -3 }, /* (223) cmd ::= SHOW USER PRIVILEGES */ + { 330, -2 }, /* (224) cmd ::= SHOW DATABASES */ + { 330, -4 }, /* (225) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + { 330, -4 }, /* (226) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + { 330, -3 }, /* (227) cmd ::= SHOW db_name_cond_opt VGROUPS */ + { 330, -2 }, /* (228) cmd ::= SHOW MNODES */ + { 330, -2 }, /* (229) cmd ::= SHOW QNODES */ + { 330, -2 }, /* (230) cmd ::= SHOW FUNCTIONS */ + { 330, -5 }, /* (231) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + { 330, -2 }, /* (232) cmd ::= SHOW STREAMS */ + { 330, -2 }, /* (233) cmd ::= SHOW ACCOUNTS */ + { 330, -2 }, /* (234) cmd ::= SHOW APPS */ + { 330, -2 }, /* (235) cmd ::= SHOW CONNECTIONS */ + { 330, -2 }, /* (236) cmd ::= SHOW LICENCES */ + { 330, -2 }, /* (237) cmd ::= SHOW GRANTS */ + { 330, -4 }, /* (238) cmd ::= SHOW CREATE DATABASE db_name */ + { 330, -4 }, /* (239) cmd ::= SHOW CREATE TABLE full_table_name */ + { 330, -4 }, /* (240) cmd ::= SHOW CREATE STABLE full_table_name */ + { 330, -2 }, /* (241) cmd ::= SHOW QUERIES */ + { 330, -2 }, /* (242) cmd ::= SHOW SCORES */ + { 330, -2 }, /* (243) cmd ::= SHOW TOPICS */ + { 330, -2 }, /* (244) cmd ::= SHOW VARIABLES */ + { 330, -3 }, /* (245) cmd ::= SHOW CLUSTER VARIABLES */ + { 330, -3 }, /* (246) cmd ::= SHOW LOCAL VARIABLES */ + { 330, -5 }, /* (247) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + { 330, -2 }, /* (248) cmd ::= SHOW BNODES */ + { 330, -2 }, /* (249) cmd ::= SHOW SNODES */ + { 330, -2 }, /* (250) cmd ::= SHOW CLUSTER */ + { 330, -2 }, /* (251) cmd ::= SHOW TRANSACTIONS */ + { 330, -4 }, /* (252) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + { 330, -2 }, /* (253) cmd ::= SHOW CONSUMERS */ + { 330, -2 }, /* (254) cmd ::= SHOW SUBSCRIPTIONS */ + { 330, -5 }, /* (255) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + { 330, -7 }, /* (256) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + { 330, -3 }, /* (257) cmd ::= SHOW VNODES NK_INTEGER */ + { 330, -3 }, /* (258) cmd ::= SHOW VNODES NK_STRING */ + { 330, -3 }, /* (259) cmd ::= SHOW db_name_cond_opt ALIVE */ + { 330, -3 }, /* (260) cmd ::= SHOW CLUSTER ALIVE */ + { 383, 0 }, /* (261) db_name_cond_opt ::= */ + { 383, -2 }, /* (262) db_name_cond_opt ::= db_name NK_DOT */ + { 384, 0 }, /* (263) like_pattern_opt ::= */ + { 384, -2 }, /* (264) like_pattern_opt ::= LIKE NK_STRING */ + { 385, -1 }, /* (265) table_name_cond ::= table_name */ + { 386, 0 }, /* (266) from_db_opt ::= */ + { 386, -2 }, /* (267) from_db_opt ::= FROM db_name */ + { 387, 0 }, /* (268) tag_list_opt ::= */ + { 387, -1 }, /* (269) tag_list_opt ::= tag_item */ + { 387, -3 }, /* (270) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + { 388, -1 }, /* (271) tag_item ::= TBNAME */ + { 388, -1 }, /* (272) tag_item ::= QTAGS */ + { 388, -1 }, /* (273) tag_item ::= column_name */ + { 388, -2 }, /* (274) tag_item ::= column_name column_alias */ + { 388, -3 }, /* (275) tag_item ::= column_name AS column_alias */ + { 330, -8 }, /* (276) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + { 330, -9 }, /* (277) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + { 330, -4 }, /* (278) cmd ::= DROP INDEX exists_opt full_index_name */ + { 390, -1 }, /* (279) full_index_name ::= index_name */ + { 390, -3 }, /* (280) full_index_name ::= db_name NK_DOT index_name */ + { 391, -10 }, /* (281) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + { 391, -12 }, /* (282) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ + { 393, -1 }, /* (283) func_list ::= func */ + { 393, -3 }, /* (284) func_list ::= func_list NK_COMMA func */ + { 396, -4 }, /* (285) func ::= sma_func_name NK_LP expression_list NK_RP */ + { 397, -1 }, /* (286) sma_func_name ::= function_name */ + { 397, -1 }, /* (287) sma_func_name ::= COUNT */ + { 397, -1 }, /* (288) sma_func_name ::= FIRST */ + { 397, -1 }, /* (289) sma_func_name ::= LAST */ + { 397, -1 }, /* (290) sma_func_name ::= LAST_ROW */ + { 395, 0 }, /* (291) sma_stream_opt ::= */ + { 395, -3 }, /* (292) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + { 395, -3 }, /* (293) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + { 395, -3 }, /* (294) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + { 330, -6 }, /* (295) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + { 330, -7 }, /* (296) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ + { 330, -9 }, /* (297) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ + { 330, -7 }, /* (298) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ + { 330, -9 }, /* (299) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ + { 330, -4 }, /* (300) cmd ::= DROP TOPIC exists_opt topic_name */ + { 330, -7 }, /* (301) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + { 330, -2 }, /* (302) cmd ::= DESC full_table_name */ + { 330, -2 }, /* (303) cmd ::= DESCRIBE full_table_name */ + { 330, -3 }, /* (304) cmd ::= RESET QUERY CACHE */ + { 330, -4 }, /* (305) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + { 330, -4 }, /* (306) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + { 400, 0 }, /* (307) analyze_opt ::= */ + { 400, -1 }, /* (308) analyze_opt ::= ANALYZE */ + { 401, 0 }, /* (309) explain_options ::= */ + { 401, -3 }, /* (310) explain_options ::= explain_options VERBOSE NK_BOOL */ + { 401, -3 }, /* (311) explain_options ::= explain_options RATIO NK_FLOAT */ + { 330, -11 }, /* (312) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + { 330, -4 }, /* (313) cmd ::= DROP FUNCTION exists_opt function_name */ + { 403, 0 }, /* (314) agg_func_opt ::= */ + { 403, -1 }, /* (315) agg_func_opt ::= AGGREGATE */ + { 404, 0 }, /* (316) bufsize_opt ::= */ + { 404, -2 }, /* (317) bufsize_opt ::= BUFSIZE NK_INTEGER */ + { 405, 0 }, /* (318) language_opt ::= */ + { 405, -2 }, /* (319) language_opt ::= LANGUAGE NK_STRING */ + { 330, -12 }, /* (320) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + { 330, -4 }, /* (321) cmd ::= DROP STREAM exists_opt stream_name */ + { 408, 0 }, /* (322) col_list_opt ::= */ + { 408, -3 }, /* (323) col_list_opt ::= NK_LP col_name_list NK_RP */ + { 409, 0 }, /* (324) tag_def_or_ref_opt ::= */ + { 409, -1 }, /* (325) tag_def_or_ref_opt ::= tags_def */ + { 409, -4 }, /* (326) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + { 407, 0 }, /* (327) stream_options ::= */ + { 407, -3 }, /* (328) stream_options ::= stream_options TRIGGER AT_ONCE */ + { 407, -3 }, /* (329) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + { 407, -4 }, /* (330) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + { 407, -3 }, /* (331) stream_options ::= stream_options WATERMARK duration_literal */ + { 407, -4 }, /* (332) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + { 407, -3 }, /* (333) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + { 407, -3 }, /* (334) stream_options ::= stream_options DELETE_MARK duration_literal */ + { 407, -4 }, /* (335) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + { 410, 0 }, /* (336) subtable_opt ::= */ + { 410, -4 }, /* (337) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + { 330, -3 }, /* (338) cmd ::= KILL CONNECTION NK_INTEGER */ + { 330, -3 }, /* (339) cmd ::= KILL QUERY NK_STRING */ + { 330, -3 }, /* (340) cmd ::= KILL TRANSACTION NK_INTEGER */ + { 330, -2 }, /* (341) cmd ::= BALANCE VGROUP */ + { 330, -3 }, /* (342) cmd ::= BALANCE VGROUP LEADER */ + { 330, -4 }, /* (343) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + { 330, -4 }, /* (344) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + { 330, -3 }, /* (345) cmd ::= SPLIT VGROUP NK_INTEGER */ + { 412, -2 }, /* (346) dnode_list ::= DNODE NK_INTEGER */ + { 412, -3 }, /* (347) dnode_list ::= dnode_list DNODE NK_INTEGER */ + { 330, -4 }, /* (348) cmd ::= DELETE FROM full_table_name where_clause_opt */ + { 330, -1 }, /* (349) cmd ::= query_or_subquery */ + { 330, -1 }, /* (350) cmd ::= insert_query */ + { 402, -7 }, /* (351) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + { 402, -4 }, /* (352) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + { 333, -1 }, /* (353) literal ::= NK_INTEGER */ + { 333, -1 }, /* (354) literal ::= NK_FLOAT */ + { 333, -1 }, /* (355) literal ::= NK_STRING */ + { 333, -1 }, /* (356) literal ::= NK_BOOL */ + { 333, -2 }, /* (357) literal ::= TIMESTAMP NK_STRING */ + { 333, -1 }, /* (358) literal ::= duration_literal */ + { 333, -1 }, /* (359) literal ::= NULL */ + { 333, -1 }, /* (360) literal ::= NK_QUESTION */ + { 379, -1 }, /* (361) duration_literal ::= NK_VARIABLE */ + { 414, -1 }, /* (362) signed ::= NK_INTEGER */ + { 414, -2 }, /* (363) signed ::= NK_PLUS NK_INTEGER */ + { 414, -2 }, /* (364) signed ::= NK_MINUS NK_INTEGER */ + { 414, -1 }, /* (365) signed ::= NK_FLOAT */ + { 414, -2 }, /* (366) signed ::= NK_PLUS NK_FLOAT */ + { 414, -2 }, /* (367) signed ::= NK_MINUS NK_FLOAT */ + { 368, -1 }, /* (368) signed_literal ::= signed */ + { 368, -1 }, /* (369) signed_literal ::= NK_STRING */ + { 368, -1 }, /* (370) signed_literal ::= NK_BOOL */ + { 368, -2 }, /* (371) signed_literal ::= TIMESTAMP NK_STRING */ + { 368, -1 }, /* (372) signed_literal ::= duration_literal */ + { 368, -1 }, /* (373) signed_literal ::= NULL */ + { 368, -1 }, /* (374) signed_literal ::= literal_func */ + { 368, -1 }, /* (375) signed_literal ::= NK_QUESTION */ + { 416, -1 }, /* (376) literal_list ::= signed_literal */ + { 416, -3 }, /* (377) literal_list ::= literal_list NK_COMMA signed_literal */ + { 341, -1 }, /* (378) db_name ::= NK_ID */ + { 374, -1 }, /* (379) table_name ::= NK_ID */ + { 366, -1 }, /* (380) column_name ::= NK_ID */ + { 381, -1 }, /* (381) function_name ::= NK_ID */ + { 417, -1 }, /* (382) table_alias ::= NK_ID */ + { 389, -1 }, /* (383) column_alias ::= NK_ID */ + { 335, -1 }, /* (384) user_name ::= NK_ID */ + { 342, -1 }, /* (385) topic_name ::= NK_ID */ + { 406, -1 }, /* (386) stream_name ::= NK_ID */ + { 399, -1 }, /* (387) cgroup_name ::= NK_ID */ + { 392, -1 }, /* (388) index_name ::= NK_ID */ + { 418, -1 }, /* (389) expr_or_subquery ::= expression */ + { 411, -1 }, /* (390) expression ::= literal */ + { 411, -1 }, /* (391) expression ::= pseudo_column */ + { 411, -1 }, /* (392) expression ::= column_reference */ + { 411, -1 }, /* (393) expression ::= function_expression */ + { 411, -1 }, /* (394) expression ::= case_when_expression */ + { 411, -3 }, /* (395) expression ::= NK_LP expression NK_RP */ + { 411, -2 }, /* (396) expression ::= NK_PLUS expr_or_subquery */ + { 411, -2 }, /* (397) expression ::= NK_MINUS expr_or_subquery */ + { 411, -3 }, /* (398) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + { 411, -3 }, /* (399) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + { 411, -3 }, /* (400) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + { 411, -3 }, /* (401) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + { 411, -3 }, /* (402) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + { 411, -3 }, /* (403) expression ::= column_reference NK_ARROW NK_STRING */ + { 411, -3 }, /* (404) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + { 411, -3 }, /* (405) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + { 371, -1 }, /* (406) expression_list ::= expr_or_subquery */ + { 371, -3 }, /* (407) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + { 420, -1 }, /* (408) column_reference ::= column_name */ + { 420, -3 }, /* (409) column_reference ::= table_name NK_DOT column_name */ + { 419, -1 }, /* (410) pseudo_column ::= ROWTS */ + { 419, -1 }, /* (411) pseudo_column ::= TBNAME */ + { 419, -3 }, /* (412) pseudo_column ::= table_name NK_DOT TBNAME */ + { 419, -1 }, /* (413) pseudo_column ::= QSTART */ + { 419, -1 }, /* (414) pseudo_column ::= QEND */ + { 419, -1 }, /* (415) pseudo_column ::= QDURATION */ + { 419, -1 }, /* (416) pseudo_column ::= WSTART */ + { 419, -1 }, /* (417) pseudo_column ::= WEND */ + { 419, -1 }, /* (418) pseudo_column ::= WDURATION */ + { 419, -1 }, /* (419) pseudo_column ::= IROWTS */ + { 419, -1 }, /* (420) pseudo_column ::= ISFILLED */ + { 419, -1 }, /* (421) pseudo_column ::= QTAGS */ + { 421, -4 }, /* (422) function_expression ::= function_name NK_LP expression_list NK_RP */ + { 421, -4 }, /* (423) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + { 421, -6 }, /* (424) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + { 421, -1 }, /* (425) function_expression ::= literal_func */ + { 415, -3 }, /* (426) literal_func ::= noarg_func NK_LP NK_RP */ + { 415, -1 }, /* (427) literal_func ::= NOW */ + { 425, -1 }, /* (428) noarg_func ::= NOW */ + { 425, -1 }, /* (429) noarg_func ::= TODAY */ + { 425, -1 }, /* (430) noarg_func ::= TIMEZONE */ + { 425, -1 }, /* (431) noarg_func ::= DATABASE */ + { 425, -1 }, /* (432) noarg_func ::= CLIENT_VERSION */ + { 425, -1 }, /* (433) noarg_func ::= SERVER_VERSION */ + { 425, -1 }, /* (434) noarg_func ::= SERVER_STATUS */ + { 425, -1 }, /* (435) noarg_func ::= CURRENT_USER */ + { 425, -1 }, /* (436) noarg_func ::= USER */ + { 423, -1 }, /* (437) star_func ::= COUNT */ + { 423, -1 }, /* (438) star_func ::= FIRST */ + { 423, -1 }, /* (439) star_func ::= LAST */ + { 423, -1 }, /* (440) star_func ::= LAST_ROW */ + { 424, -1 }, /* (441) star_func_para_list ::= NK_STAR */ + { 424, -1 }, /* (442) star_func_para_list ::= other_para_list */ + { 426, -1 }, /* (443) other_para_list ::= star_func_para */ + { 426, -3 }, /* (444) other_para_list ::= other_para_list NK_COMMA star_func_para */ + { 427, -1 }, /* (445) star_func_para ::= expr_or_subquery */ + { 427, -3 }, /* (446) star_func_para ::= table_name NK_DOT NK_STAR */ + { 422, -4 }, /* (447) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + { 422, -5 }, /* (448) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + { 428, -1 }, /* (449) when_then_list ::= when_then_expr */ + { 428, -2 }, /* (450) when_then_list ::= when_then_list when_then_expr */ + { 431, -4 }, /* (451) when_then_expr ::= WHEN common_expression THEN common_expression */ + { 429, 0 }, /* (452) case_when_else_opt ::= */ + { 429, -2 }, /* (453) case_when_else_opt ::= ELSE common_expression */ + { 432, -3 }, /* (454) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + { 432, -5 }, /* (455) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + { 432, -6 }, /* (456) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + { 432, -3 }, /* (457) predicate ::= expr_or_subquery IS NULL */ + { 432, -4 }, /* (458) predicate ::= expr_or_subquery IS NOT NULL */ + { 432, -3 }, /* (459) predicate ::= expr_or_subquery in_op in_predicate_value */ + { 433, -1 }, /* (460) compare_op ::= NK_LT */ + { 433, -1 }, /* (461) compare_op ::= NK_GT */ + { 433, -1 }, /* (462) compare_op ::= NK_LE */ + { 433, -1 }, /* (463) compare_op ::= NK_GE */ + { 433, -1 }, /* (464) compare_op ::= NK_NE */ + { 433, -1 }, /* (465) compare_op ::= NK_EQ */ + { 433, -1 }, /* (466) compare_op ::= LIKE */ + { 433, -2 }, /* (467) compare_op ::= NOT LIKE */ + { 433, -1 }, /* (468) compare_op ::= MATCH */ + { 433, -1 }, /* (469) compare_op ::= NMATCH */ + { 433, -1 }, /* (470) compare_op ::= CONTAINS */ + { 434, -1 }, /* (471) in_op ::= IN */ + { 434, -2 }, /* (472) in_op ::= NOT IN */ + { 435, -3 }, /* (473) in_predicate_value ::= NK_LP literal_list NK_RP */ + { 436, -1 }, /* (474) boolean_value_expression ::= boolean_primary */ + { 436, -2 }, /* (475) boolean_value_expression ::= NOT boolean_primary */ + { 436, -3 }, /* (476) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + { 436, -3 }, /* (477) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + { 437, -1 }, /* (478) boolean_primary ::= predicate */ + { 437, -3 }, /* (479) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + { 430, -1 }, /* (480) common_expression ::= expr_or_subquery */ + { 430, -1 }, /* (481) common_expression ::= boolean_value_expression */ + { 438, 0 }, /* (482) from_clause_opt ::= */ + { 438, -2 }, /* (483) from_clause_opt ::= FROM table_reference_list */ + { 439, -1 }, /* (484) table_reference_list ::= table_reference */ + { 439, -3 }, /* (485) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + { 440, -1 }, /* (486) table_reference ::= table_primary */ + { 440, -1 }, /* (487) table_reference ::= joined_table */ + { 441, -2 }, /* (488) table_primary ::= table_name alias_opt */ + { 441, -4 }, /* (489) table_primary ::= db_name NK_DOT table_name alias_opt */ + { 441, -2 }, /* (490) table_primary ::= subquery alias_opt */ + { 441, -1 }, /* (491) table_primary ::= parenthesized_joined_table */ + { 443, 0 }, /* (492) alias_opt ::= */ + { 443, -1 }, /* (493) alias_opt ::= table_alias */ + { 443, -2 }, /* (494) alias_opt ::= AS table_alias */ + { 445, -3 }, /* (495) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + { 445, -3 }, /* (496) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + { 442, -6 }, /* (497) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + { 446, 0 }, /* (498) join_type ::= */ + { 446, -1 }, /* (499) join_type ::= INNER */ + { 448, -12 }, /* (500) 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 */ + { 449, 0 }, /* (501) set_quantifier_opt ::= */ + { 449, -1 }, /* (502) set_quantifier_opt ::= DISTINCT */ + { 449, -1 }, /* (503) set_quantifier_opt ::= ALL */ + { 450, -1 }, /* (504) select_list ::= select_item */ + { 450, -3 }, /* (505) select_list ::= select_list NK_COMMA select_item */ + { 458, -1 }, /* (506) select_item ::= NK_STAR */ + { 458, -1 }, /* (507) select_item ::= common_expression */ + { 458, -2 }, /* (508) select_item ::= common_expression column_alias */ + { 458, -3 }, /* (509) select_item ::= common_expression AS column_alias */ + { 458, -3 }, /* (510) select_item ::= table_name NK_DOT NK_STAR */ + { 413, 0 }, /* (511) where_clause_opt ::= */ + { 413, -2 }, /* (512) where_clause_opt ::= WHERE search_condition */ + { 451, 0 }, /* (513) partition_by_clause_opt ::= */ + { 451, -3 }, /* (514) partition_by_clause_opt ::= PARTITION BY partition_list */ + { 459, -1 }, /* (515) partition_list ::= partition_item */ + { 459, -3 }, /* (516) partition_list ::= partition_list NK_COMMA partition_item */ + { 460, -1 }, /* (517) partition_item ::= expr_or_subquery */ + { 460, -2 }, /* (518) partition_item ::= expr_or_subquery column_alias */ + { 460, -3 }, /* (519) partition_item ::= expr_or_subquery AS column_alias */ + { 455, 0 }, /* (520) twindow_clause_opt ::= */ + { 455, -6 }, /* (521) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + { 455, -4 }, /* (522) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + { 455, -6 }, /* (523) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + { 455, -8 }, /* (524) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + { 455, -7 }, /* (525) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + { 394, 0 }, /* (526) sliding_opt ::= */ + { 394, -4 }, /* (527) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + { 454, 0 }, /* (528) fill_opt ::= */ + { 454, -4 }, /* (529) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + { 454, -6 }, /* (530) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + { 454, -6 }, /* (531) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ + { 461, -1 }, /* (532) fill_mode ::= NONE */ + { 461, -1 }, /* (533) fill_mode ::= PREV */ + { 461, -1 }, /* (534) fill_mode ::= NULL */ + { 461, -1 }, /* (535) fill_mode ::= NULL_F */ + { 461, -1 }, /* (536) fill_mode ::= LINEAR */ + { 461, -1 }, /* (537) fill_mode ::= NEXT */ + { 456, 0 }, /* (538) group_by_clause_opt ::= */ + { 456, -3 }, /* (539) group_by_clause_opt ::= GROUP BY group_by_list */ + { 462, -1 }, /* (540) group_by_list ::= expr_or_subquery */ + { 462, -3 }, /* (541) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + { 457, 0 }, /* (542) having_clause_opt ::= */ + { 457, -2 }, /* (543) having_clause_opt ::= HAVING search_condition */ + { 452, 0 }, /* (544) range_opt ::= */ + { 452, -6 }, /* (545) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + { 453, 0 }, /* (546) every_opt ::= */ + { 453, -4 }, /* (547) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + { 463, -4 }, /* (548) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + { 464, -1 }, /* (549) query_simple ::= query_specification */ + { 464, -1 }, /* (550) query_simple ::= union_query_expression */ + { 468, -4 }, /* (551) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + { 468, -3 }, /* (552) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + { 469, -1 }, /* (553) query_simple_or_subquery ::= query_simple */ + { 469, -1 }, /* (554) query_simple_or_subquery ::= subquery */ + { 398, -1 }, /* (555) query_or_subquery ::= query_expression */ + { 398, -1 }, /* (556) query_or_subquery ::= subquery */ + { 465, 0 }, /* (557) order_by_clause_opt ::= */ + { 465, -3 }, /* (558) order_by_clause_opt ::= ORDER BY sort_specification_list */ + { 466, 0 }, /* (559) slimit_clause_opt ::= */ + { 466, -2 }, /* (560) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + { 466, -4 }, /* (561) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + { 466, -4 }, /* (562) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 467, 0 }, /* (563) limit_clause_opt ::= */ + { 467, -2 }, /* (564) limit_clause_opt ::= LIMIT NK_INTEGER */ + { 467, -4 }, /* (565) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + { 467, -4 }, /* (566) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 444, -3 }, /* (567) subquery ::= NK_LP query_expression NK_RP */ + { 444, -3 }, /* (568) subquery ::= NK_LP subquery NK_RP */ + { 447, -1 }, /* (569) search_condition ::= common_expression */ + { 470, -1 }, /* (570) sort_specification_list ::= sort_specification */ + { 470, -3 }, /* (571) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + { 471, -3 }, /* (572) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + { 472, 0 }, /* (573) ordering_specification_opt ::= */ + { 472, -1 }, /* (574) ordering_specification_opt ::= ASC */ + { 472, -1 }, /* (575) ordering_specification_opt ::= DESC */ + { 473, 0 }, /* (576) null_ordering_opt ::= */ + { 473, -2 }, /* (577) null_ordering_opt ::= NULLS FIRST */ + { 473, -2 }, /* (578) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -3762,11 +3768,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,330,&yymsp[0].minor); + yy_destructor(yypParser,331,&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,331,&yymsp[0].minor); + yy_destructor(yypParser,332,&yymsp[0].minor); break; case 2: /* account_options ::= */ { } @@ -3780,20 +3786,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,330,&yymsp[-2].minor); +{ yy_destructor(yypParser,331,&yymsp[-2].minor); { } - yy_destructor(yypParser,332,&yymsp[0].minor); + yy_destructor(yypParser,333,&yymsp[0].minor); } break; case 12: /* alter_account_options ::= alter_account_option */ -{ yy_destructor(yypParser,333,&yymsp[0].minor); +{ yy_destructor(yypParser,334,&yymsp[0].minor); { } } break; case 13: /* alter_account_options ::= alter_account_options alter_account_option */ -{ yy_destructor(yypParser,331,&yymsp[-1].minor); +{ yy_destructor(yypParser,332,&yymsp[-1].minor); { } - yy_destructor(yypParser,333,&yymsp[0].minor); + yy_destructor(yypParser,334,&yymsp[0].minor); } break; case 14: /* alter_account_option ::= PASS literal */ @@ -3807,81 +3813,81 @@ 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,332,&yymsp[0].minor); + yy_destructor(yypParser,333,&yymsp[0].minor); break; case 24: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt */ -{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy63, &yymsp[-1].minor.yy0, yymsp[0].minor.yy707); } +{ pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-3].minor.yy725, &yymsp[-1].minor.yy0, yymsp[0].minor.yy371); } break; case 25: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy63, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy725, 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.yy63, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy725, 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.yy63, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy725, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } break; case 28: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy725); } break; case 29: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy707 = 1; } +{ yymsp[1].minor.yy371 = 1; } break; case 30: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy707 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy371 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } break; case 31: /* cmd ::= GRANT privileges ON priv_level TO user_name */ -{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy393, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-4].minor.yy189, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } break; case 32: /* cmd ::= REVOKE privileges ON priv_level FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy393, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-4].minor.yy189, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } break; case 33: /* privileges ::= ALL */ -{ yymsp[0].minor.yy393 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy189 = PRIVILEGE_TYPE_ALL; } break; case 34: /* privileges ::= priv_type_list */ case 36: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==36); -{ yylhsminor.yy393 = yymsp[0].minor.yy393; } - yymsp[0].minor.yy393 = yylhsminor.yy393; +{ yylhsminor.yy189 = yymsp[0].minor.yy189; } + yymsp[0].minor.yy189 = yylhsminor.yy189; break; case 35: /* privileges ::= SUBSCRIBE */ -{ yymsp[0].minor.yy393 = PRIVILEGE_TYPE_SUBSCRIBE; } +{ yymsp[0].minor.yy189 = PRIVILEGE_TYPE_SUBSCRIBE; } break; case 37: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy393 = yymsp[-2].minor.yy393 | yymsp[0].minor.yy393; } - yymsp[-2].minor.yy393 = yylhsminor.yy393; +{ yylhsminor.yy189 = yymsp[-2].minor.yy189 | yymsp[0].minor.yy189; } + yymsp[-2].minor.yy189 = yylhsminor.yy189; break; case 38: /* priv_type ::= READ */ -{ yymsp[0].minor.yy393 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy189 = PRIVILEGE_TYPE_READ; } break; case 39: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy393 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy189 = PRIVILEGE_TYPE_WRITE; } break; case 40: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy63 = yymsp[-2].minor.yy0; } - yymsp[-2].minor.yy63 = yylhsminor.yy63; +{ yylhsminor.yy725 = yymsp[-2].minor.yy0; } + yymsp[-2].minor.yy725 = yylhsminor.yy725; break; case 41: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy63 = yymsp[-2].minor.yy63; } - yymsp[-2].minor.yy63 = yylhsminor.yy63; +{ yylhsminor.yy725 = yymsp[-2].minor.yy725; } + yymsp[-2].minor.yy725 = yylhsminor.yy725; break; case 42: /* priv_level ::= topic_name */ case 286: /* sma_func_name ::= function_name */ yytestcase(yyruleno==286); - case 492: /* alias_opt ::= table_alias */ yytestcase(yyruleno==492); -{ yylhsminor.yy63 = yymsp[0].minor.yy63; } - yymsp[0].minor.yy63 = yylhsminor.yy63; + case 493: /* alias_opt ::= table_alias */ yytestcase(yyruleno==493); +{ yylhsminor.yy725 = yymsp[0].minor.yy725; } + yymsp[0].minor.yy725 = yylhsminor.yy725; break; case 43: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy63, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy725, NULL); } break; case 44: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0); } break; case 45: /* cmd ::= DROP DNODE NK_INTEGER force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy669); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy437); } break; case 46: /* cmd ::= DROP DNODE dnode_endpoint force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy63, yymsp[0].minor.yy669); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy725, yymsp[0].minor.yy437); } break; case 47: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -3902,46 +3908,46 @@ static YYACTIONTYPE yy_reduce( case 288: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==288); case 289: /* sma_func_name ::= LAST */ yytestcase(yyruleno==289); case 290: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==290); - case 377: /* db_name ::= NK_ID */ yytestcase(yyruleno==377); - case 378: /* table_name ::= NK_ID */ yytestcase(yyruleno==378); - case 379: /* column_name ::= NK_ID */ yytestcase(yyruleno==379); - case 380: /* function_name ::= NK_ID */ yytestcase(yyruleno==380); - case 381: /* table_alias ::= NK_ID */ yytestcase(yyruleno==381); - case 382: /* column_alias ::= NK_ID */ yytestcase(yyruleno==382); - case 383: /* user_name ::= NK_ID */ yytestcase(yyruleno==383); - case 384: /* topic_name ::= NK_ID */ yytestcase(yyruleno==384); - case 385: /* stream_name ::= NK_ID */ yytestcase(yyruleno==385); - case 386: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==386); - case 387: /* index_name ::= NK_ID */ yytestcase(yyruleno==387); - case 427: /* noarg_func ::= NOW */ yytestcase(yyruleno==427); - case 428: /* noarg_func ::= TODAY */ yytestcase(yyruleno==428); - case 429: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==429); - case 430: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==430); - case 431: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==431); - case 432: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==432); - case 433: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==433); - case 434: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==434); - case 435: /* noarg_func ::= USER */ yytestcase(yyruleno==435); - case 436: /* star_func ::= COUNT */ yytestcase(yyruleno==436); - case 437: /* star_func ::= FIRST */ yytestcase(yyruleno==437); - case 438: /* star_func ::= LAST */ yytestcase(yyruleno==438); - case 439: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==439); -{ yylhsminor.yy63 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy63 = yylhsminor.yy63; + case 378: /* db_name ::= NK_ID */ yytestcase(yyruleno==378); + case 379: /* table_name ::= NK_ID */ yytestcase(yyruleno==379); + case 380: /* column_name ::= NK_ID */ yytestcase(yyruleno==380); + case 381: /* function_name ::= NK_ID */ yytestcase(yyruleno==381); + case 382: /* table_alias ::= NK_ID */ yytestcase(yyruleno==382); + case 383: /* column_alias ::= NK_ID */ yytestcase(yyruleno==383); + case 384: /* user_name ::= NK_ID */ yytestcase(yyruleno==384); + case 385: /* topic_name ::= NK_ID */ yytestcase(yyruleno==385); + case 386: /* stream_name ::= NK_ID */ yytestcase(yyruleno==386); + case 387: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==387); + case 388: /* index_name ::= NK_ID */ yytestcase(yyruleno==388); + case 428: /* noarg_func ::= NOW */ yytestcase(yyruleno==428); + case 429: /* noarg_func ::= TODAY */ yytestcase(yyruleno==429); + case 430: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==430); + case 431: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==431); + case 432: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==432); + case 433: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==433); + case 434: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==434); + case 435: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==435); + case 436: /* noarg_func ::= USER */ yytestcase(yyruleno==436); + case 437: /* star_func ::= COUNT */ yytestcase(yyruleno==437); + case 438: /* star_func ::= FIRST */ yytestcase(yyruleno==438); + case 439: /* star_func ::= LAST */ yytestcase(yyruleno==439); + case 440: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==440); +{ yylhsminor.yy725 = yymsp[0].minor.yy0; } + yymsp[0].minor.yy725 = yylhsminor.yy725; break; case 54: /* force_opt ::= */ case 74: /* not_exists_opt ::= */ yytestcase(yyruleno==74); case 76: /* exists_opt ::= */ yytestcase(yyruleno==76); case 307: /* analyze_opt ::= */ yytestcase(yyruleno==307); case 314: /* agg_func_opt ::= */ yytestcase(yyruleno==314); - case 500: /* set_quantifier_opt ::= */ yytestcase(yyruleno==500); -{ yymsp[1].minor.yy669 = false; } + case 501: /* set_quantifier_opt ::= */ yytestcase(yyruleno==501); +{ yymsp[1].minor.yy437 = false; } break; case 55: /* force_opt ::= FORCE */ case 308: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==308); case 315: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==315); - case 501: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==501); -{ yymsp[0].minor.yy669 = true; } + case 502: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==502); +{ yymsp[0].minor.yy437 = true; } break; case 56: /* cmd ::= ALTER LOCAL NK_STRING */ { pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -3974,232 +3980,232 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createDropComponentNodeStmt(pCxt, QUERY_NODE_DROP_MNODE_STMT, &yymsp[0].minor.yy0); } break; case 66: /* cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ -{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy669, &yymsp[-1].minor.yy63, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy437, &yymsp[-1].minor.yy725, yymsp[0].minor.yy188); } break; case 67: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; case 68: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy725); } break; case 69: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy63, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy725, yymsp[0].minor.yy188); } break; case 70: /* cmd ::= FLUSH DATABASE db_name */ -{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy725); } break; case 71: /* cmd ::= TRIM DATABASE db_name speed_opt */ -{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy63, yymsp[0].minor.yy332); } +{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy725, yymsp[0].minor.yy136); } break; case 72: /* cmd ::= COMPACT DATABASE db_name start_opt end_opt */ -{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy63, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy725, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; case 73: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy669 = true; } +{ yymsp[-2].minor.yy437 = true; } break; case 75: /* exists_opt ::= IF EXISTS */ -{ yymsp[-1].minor.yy669 = true; } +{ yymsp[-1].minor.yy437 = true; } break; case 77: /* db_options ::= */ -{ yymsp[1].minor.yy828 = createDefaultDatabaseOptions(pCxt); } +{ yymsp[1].minor.yy188 = createDefaultDatabaseOptions(pCxt); } break; case 78: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 79: /* db_options ::= db_options CACHEMODEL NK_STRING */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 80: /* db_options ::= db_options CACHESIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 81: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 82: /* db_options ::= db_options DURATION NK_INTEGER */ case 83: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==83); -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 84: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 85: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 86: /* db_options ::= db_options KEEP integer_list */ case 87: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==87); -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_KEEP, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_KEEP, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 88: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 89: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 90: /* db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 91: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 92: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 93: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 94: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 95: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_RETENTIONS, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_RETENTIONS, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 96: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 97: /* db_options ::= db_options WAL_LEVEL NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 98: /* db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 99: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 100: /* 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.yy828 = setDatabaseOption(pCxt, yymsp[-3].minor.yy828, DB_OPTION_WAL_RETENTION_PERIOD, &t); + yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-3].minor.yy188, DB_OPTION_WAL_RETENTION_PERIOD, &t); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 101: /* db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 102: /* 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.yy828 = setDatabaseOption(pCxt, yymsp[-3].minor.yy828, DB_OPTION_WAL_RETENTION_SIZE, &t); + yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-3].minor.yy188, DB_OPTION_WAL_RETENTION_SIZE, &t); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 103: /* db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 104: /* db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 105: /* db_options ::= db_options STT_TRIGGER NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 106: /* db_options ::= db_options TABLE_PREFIX NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_TABLE_PREFIX, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_TABLE_PREFIX, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 107: /* db_options ::= db_options TABLE_SUFFIX NK_INTEGER */ -{ yylhsminor.yy828 = setDatabaseOption(pCxt, yymsp[-2].minor.yy828, DB_OPTION_TABLE_SUFFIX, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setDatabaseOption(pCxt, yymsp[-2].minor.yy188, DB_OPTION_TABLE_SUFFIX, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 108: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy828 = createAlterDatabaseOptions(pCxt); yylhsminor.yy828 = setAlterDatabaseOption(pCxt, yylhsminor.yy828, &yymsp[0].minor.yy233); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterDatabaseOptions(pCxt); yylhsminor.yy188 = setAlterDatabaseOption(pCxt, yylhsminor.yy188, &yymsp[0].minor.yy653); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 109: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy828 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy828, &yymsp[0].minor.yy233); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy188, &yymsp[0].minor.yy653); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 110: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 111: /* alter_db_option ::= CACHEMODEL NK_STRING */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 112: /* alter_db_option ::= CACHESIZE NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 113: /* alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 114: /* alter_db_option ::= KEEP integer_list */ case 115: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==115); -{ yymsp[-1].minor.yy233.type = DB_OPTION_KEEP; yymsp[-1].minor.yy233.pList = yymsp[0].minor.yy222; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_KEEP; yymsp[-1].minor.yy653.pList = yymsp[0].minor.yy172; } break; case 116: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_PAGES; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_PAGES; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 117: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 118: /* alter_db_option ::= WAL_LEVEL NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_WAL; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_WAL; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 119: /* alter_db_option ::= STT_TRIGGER NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 120: /* alter_db_option ::= MINROWS NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 121: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 122: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yymsp[-2].minor.yy233.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy233.val = t; + yymsp[-2].minor.yy653.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy653.val = t; } break; case 123: /* alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 124: /* alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; - yymsp[-2].minor.yy233.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy233.val = t; + yymsp[-2].minor.yy653.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy653.val = t; } break; case 125: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy222 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy222 = yylhsminor.yy222; +{ yylhsminor.yy172 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 126: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 346: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==346); -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; + case 347: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==347); +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; case 127: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy222 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy222 = yylhsminor.yy222; +{ yylhsminor.yy172 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 128: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; case 129: /* retention_list ::= retention */ case 159: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==159); @@ -4209,14 +4215,14 @@ static YYACTIONTYPE yy_reduce( case 218: /* col_name_list ::= col_name */ yytestcase(yyruleno==218); case 269: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==269); case 283: /* func_list ::= func */ yytestcase(yyruleno==283); - case 375: /* literal_list ::= signed_literal */ yytestcase(yyruleno==375); - case 442: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==442); - case 448: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==448); - case 503: /* select_list ::= select_item */ yytestcase(yyruleno==503); - case 514: /* partition_list ::= partition_item */ yytestcase(yyruleno==514); - case 569: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==569); -{ yylhsminor.yy222 = createNodeList(pCxt, yymsp[0].minor.yy828); } - yymsp[0].minor.yy222 = yylhsminor.yy222; + case 376: /* literal_list ::= signed_literal */ yytestcase(yyruleno==376); + case 443: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==443); + case 449: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==449); + case 504: /* select_list ::= select_item */ yytestcase(yyruleno==504); + case 515: /* partition_list ::= partition_item */ yytestcase(yyruleno==515); + case 570: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==570); +{ yylhsminor.yy172 = createNodeList(pCxt, yymsp[0].minor.yy188); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 130: /* retention_list ::= retention_list NK_COMMA retention */ case 163: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==163); @@ -4225,305 +4231,305 @@ static YYACTIONTYPE yy_reduce( case 219: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==219); case 270: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==270); case 284: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==284); - case 376: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==376); - case 443: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==443); - case 504: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==504); - case 515: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==515); - case 570: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==570); -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, yymsp[0].minor.yy828); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; + case 377: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==377); + case 444: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==444); + case 505: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==505); + case 516: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==516); + case 571: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==571); +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, yymsp[0].minor.yy188); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; case 131: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ -{ yylhsminor.yy828 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 132: /* speed_opt ::= */ case 316: /* bufsize_opt ::= */ yytestcase(yyruleno==316); -{ yymsp[1].minor.yy332 = 0; } +{ yymsp[1].minor.yy136 = 0; } break; case 133: /* speed_opt ::= MAX_SPEED NK_INTEGER */ case 317: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==317); -{ yymsp[-1].minor.yy332 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy136 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 134: /* start_opt ::= */ case 138: /* end_opt ::= */ yytestcase(yyruleno==138); case 263: /* like_pattern_opt ::= */ yytestcase(yyruleno==263); case 336: /* subtable_opt ::= */ yytestcase(yyruleno==336); - case 451: /* case_when_else_opt ::= */ yytestcase(yyruleno==451); - case 481: /* from_clause_opt ::= */ yytestcase(yyruleno==481); - case 510: /* where_clause_opt ::= */ yytestcase(yyruleno==510); - case 519: /* twindow_clause_opt ::= */ yytestcase(yyruleno==519); - case 525: /* sliding_opt ::= */ yytestcase(yyruleno==525); - case 527: /* fill_opt ::= */ yytestcase(yyruleno==527); - case 541: /* having_clause_opt ::= */ yytestcase(yyruleno==541); - case 543: /* range_opt ::= */ yytestcase(yyruleno==543); - case 545: /* every_opt ::= */ yytestcase(yyruleno==545); - case 558: /* slimit_clause_opt ::= */ yytestcase(yyruleno==558); - case 562: /* limit_clause_opt ::= */ yytestcase(yyruleno==562); -{ yymsp[1].minor.yy828 = NULL; } + case 452: /* case_when_else_opt ::= */ yytestcase(yyruleno==452); + case 482: /* from_clause_opt ::= */ yytestcase(yyruleno==482); + case 511: /* where_clause_opt ::= */ yytestcase(yyruleno==511); + case 520: /* twindow_clause_opt ::= */ yytestcase(yyruleno==520); + case 526: /* sliding_opt ::= */ yytestcase(yyruleno==526); + case 528: /* fill_opt ::= */ yytestcase(yyruleno==528); + case 542: /* having_clause_opt ::= */ yytestcase(yyruleno==542); + case 544: /* range_opt ::= */ yytestcase(yyruleno==544); + case 546: /* every_opt ::= */ yytestcase(yyruleno==546); + case 559: /* slimit_clause_opt ::= */ yytestcase(yyruleno==559); + case 563: /* limit_clause_opt ::= */ yytestcase(yyruleno==563); +{ yymsp[1].minor.yy188 = NULL; } break; case 135: /* start_opt ::= START WITH NK_INTEGER */ case 139: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==139); -{ yymsp[-2].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } break; case 136: /* start_opt ::= START WITH NK_STRING */ case 140: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==140); -{ yymsp[-2].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 137: /* start_opt ::= START WITH TIMESTAMP NK_STRING */ case 141: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==141); -{ yymsp[-3].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-3].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 142: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ case 144: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==144); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy669, yymsp[-5].minor.yy828, yymsp[-3].minor.yy222, yymsp[-1].minor.yy222, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy437, yymsp[-5].minor.yy188, yymsp[-3].minor.yy172, yymsp[-1].minor.yy172, yymsp[0].minor.yy188); } break; case 143: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy222); } +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy172); } break; case 145: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy222); } +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy172); } break; case 146: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy669, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy188); } break; case 147: /* cmd ::= ALTER TABLE alter_table_clause */ - case 348: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==348); - case 349: /* cmd ::= insert_query */ yytestcase(yyruleno==349); -{ pCxt->pRootNode = yymsp[0].minor.yy828; } + case 349: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==349); + case 350: /* cmd ::= insert_query */ yytestcase(yyruleno==350); +{ pCxt->pRootNode = yymsp[0].minor.yy188; } break; case 148: /* cmd ::= ALTER STABLE alter_table_clause */ -{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy828); } +{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy188); } break; case 149: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy828 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 150: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 151: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy828 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy828, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy63); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy188, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy725); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 152: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 153: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy828 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 154: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 155: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy828 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy828, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy63); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy188, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy725); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 156: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy828 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 157: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy828 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy828, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 158: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy828 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy828, &yymsp[-2].minor.yy63, yymsp[0].minor.yy828); } - yymsp[-5].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy188, &yymsp[-2].minor.yy725, yymsp[0].minor.yy188); } + yymsp[-5].minor.yy188 = yylhsminor.yy188; break; case 160: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 449: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==449); -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-1].minor.yy222, yymsp[0].minor.yy828); } - yymsp[-1].minor.yy222 = yylhsminor.yy222; + case 450: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==450); +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-1].minor.yy172, yymsp[0].minor.yy188); } + yymsp[-1].minor.yy172 = yylhsminor.yy172; break; case 161: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ -{ yylhsminor.yy828 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy669, yymsp[-8].minor.yy828, yymsp[-6].minor.yy828, yymsp[-5].minor.yy222, yymsp[-2].minor.yy222, yymsp[0].minor.yy828); } - yymsp[-9].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy437, yymsp[-8].minor.yy188, yymsp[-6].minor.yy188, yymsp[-5].minor.yy172, yymsp[-2].minor.yy172, yymsp[0].minor.yy188); } + yymsp[-9].minor.yy188 = yylhsminor.yy188; break; case 164: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy828 = createDropTableClause(pCxt, yymsp[-1].minor.yy669, yymsp[0].minor.yy828); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createDropTableClause(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy188); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 165: /* specific_cols_opt ::= */ case 196: /* tags_def_opt ::= */ yytestcase(yyruleno==196); case 268: /* tag_list_opt ::= */ yytestcase(yyruleno==268); case 322: /* col_list_opt ::= */ yytestcase(yyruleno==322); case 324: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==324); - case 512: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==512); - case 537: /* group_by_clause_opt ::= */ yytestcase(yyruleno==537); - case 556: /* order_by_clause_opt ::= */ yytestcase(yyruleno==556); -{ yymsp[1].minor.yy222 = NULL; } + case 513: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==513); + case 538: /* group_by_clause_opt ::= */ yytestcase(yyruleno==538); + case 557: /* order_by_clause_opt ::= */ yytestcase(yyruleno==557); +{ yymsp[1].minor.yy172 = NULL; } break; case 166: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ case 323: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==323); -{ yymsp[-2].minor.yy222 = yymsp[-1].minor.yy222; } +{ yymsp[-2].minor.yy172 = yymsp[-1].minor.yy172; } break; case 167: /* full_table_name ::= table_name */ -{ yylhsminor.yy828 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy63, NULL); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy725, NULL); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 168: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy828 = createRealTableNode(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63, NULL); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createRealTableNode(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725, NULL); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 171: /* column_def ::= column_name type_name */ -{ yylhsminor.yy828 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy63, yymsp[0].minor.yy686, NULL); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160, NULL); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 172: /* column_def ::= column_name type_name COMMENT NK_STRING */ -{ yylhsminor.yy828 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy63, yymsp[-2].minor.yy686, &yymsp[0].minor.yy0); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy725, yymsp[-2].minor.yy160, &yymsp[0].minor.yy0); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 173: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_BOOL); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_BOOL); } break; case 174: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_TINYINT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; case 175: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_SMALLINT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; case 176: /* type_name ::= INT */ case 177: /* type_name ::= INTEGER */ yytestcase(yyruleno==177); -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_INT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_INT); } break; case 178: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_BIGINT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; case 179: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_FLOAT); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; case 180: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_DOUBLE); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; case 181: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; case 182: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; case 183: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; case 184: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_UTINYINT); } +{ yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; case 185: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_USMALLINT); } +{ yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; case 186: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_UINT); } +{ yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_UINT); } break; case 187: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy686 = createDataType(TSDB_DATA_TYPE_UBIGINT); } +{ yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; case 188: /* type_name ::= JSON */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_JSON); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_JSON); } break; case 189: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; case 190: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; case 191: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_BLOB); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_BLOB); } break; case 192: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; case 193: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy686 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 194: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy686 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-3].minor.yy160 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 195: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy686 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-5].minor.yy160 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 197: /* tags_def_opt ::= tags_def */ case 325: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==325); - case 441: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==441); -{ yylhsminor.yy222 = yymsp[0].minor.yy222; } - yymsp[0].minor.yy222 = yylhsminor.yy222; + case 442: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==442); +{ yylhsminor.yy172 = yymsp[0].minor.yy172; } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 198: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ case 326: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==326); -{ yymsp[-3].minor.yy222 = yymsp[-1].minor.yy222; } +{ yymsp[-3].minor.yy172 = yymsp[-1].minor.yy172; } break; case 199: /* table_options ::= */ -{ yymsp[1].minor.yy828 = createDefaultTableOptions(pCxt); } +{ yymsp[1].minor.yy188 = createDefaultTableOptions(pCxt); } break; case 200: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 201: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 202: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 203: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-4].minor.yy828, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy222); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-4].minor.yy188, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy172); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 204: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 205: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-4].minor.yy828, TABLE_OPTION_SMA, yymsp[-1].minor.yy222); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-4].minor.yy188, TABLE_OPTION_SMA, yymsp[-1].minor.yy172); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; case 206: /* table_options ::= table_options DELETE_MARK duration_list */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-2].minor.yy828, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy222); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy172); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 207: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy828 = createAlterTableOptions(pCxt); yylhsminor.yy828 = setTableOption(pCxt, yylhsminor.yy828, yymsp[0].minor.yy233.type, &yymsp[0].minor.yy233.val); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createAlterTableOptions(pCxt); yylhsminor.yy188 = setTableOption(pCxt, yylhsminor.yy188, yymsp[0].minor.yy653.type, &yymsp[0].minor.yy653.val); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 208: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy828 = setTableOption(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy233.type, &yymsp[0].minor.yy233.val); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setTableOption(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy653.type, &yymsp[0].minor.yy653.val); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 209: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy233.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 210: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy233.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy233.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy653.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; case 211: /* duration_list ::= duration_literal */ - case 405: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==405); -{ yylhsminor.yy222 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[0].minor.yy222 = yylhsminor.yy222; + case 406: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==406); +{ yylhsminor.yy172 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; case 212: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 406: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==406); -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; + case 407: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==407); +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; case 215: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy828 = createFunctionNode(pCxt, &yymsp[0].minor.yy63, NULL); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createFunctionNode(pCxt, &yymsp[0].minor.yy725, NULL); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 216: /* rollup_func_name ::= FIRST */ case 217: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==217); case 272: /* tag_item ::= QTAGS */ yytestcase(yyruleno==272); -{ yylhsminor.yy828 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 220: /* col_name ::= column_name */ case 273: /* tag_item ::= column_name */ yytestcase(yyruleno==273); -{ yylhsminor.yy828 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy63); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy725); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 221: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } @@ -4538,13 +4544,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; case 225: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, OP_TYPE_LIKE); } break; case 226: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, OP_TYPE_LIKE); } break; case 227: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy828, NULL, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy188, NULL, OP_TYPE_LIKE); } break; case 228: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } @@ -4556,7 +4562,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; case 231: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy828, yymsp[-1].minor.yy828, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy188, yymsp[-1].minor.yy188, OP_TYPE_EQUAL); } break; case 232: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } @@ -4575,13 +4581,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; case 238: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy725); } break; case 239: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy188); } break; case 240: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy188); } break; case 241: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } @@ -4600,7 +4606,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; case 247: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy188); } break; case 248: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } @@ -4615,7 +4621,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; case 252: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy188); } break; case 253: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } @@ -4624,10 +4630,10 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; case 255: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy828, yymsp[-1].minor.yy828, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy188, yymsp[-1].minor.yy188, OP_TYPE_EQUAL); } break; case 256: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy828, yymsp[-3].minor.yy222); } +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy188, yymsp[-3].minor.yy172); } break; case 257: /* cmd ::= SHOW VNODES NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } @@ -4636,178 +4642,178 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, createValueNode(pCxt, TSDB_DATA_TYPE_VARCHAR, &yymsp[0].minor.yy0)); } break; case 259: /* cmd ::= SHOW db_name_cond_opt ALIVE */ -{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy828, QUERY_NODE_SHOW_DB_ALIVE_STMT); } +{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy188, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; case 260: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; case 261: /* db_name_cond_opt ::= */ case 266: /* from_db_opt ::= */ yytestcase(yyruleno==266); -{ yymsp[1].minor.yy828 = createDefaultDatabaseCondValue(pCxt); } +{ yymsp[1].minor.yy188 = createDefaultDatabaseCondValue(pCxt); } break; case 262: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy828 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 264: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } +{ yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; case 265: /* table_name_cond ::= table_name */ -{ yylhsminor.yy828 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy63); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy725); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 267: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy828 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy63); } +{ yymsp[-1].minor.yy188 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy725); } break; case 271: /* tag_item ::= TBNAME */ -{ yylhsminor.yy828 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 274: /* tag_item ::= column_name column_alias */ -{ yylhsminor.yy828 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy63), &yymsp[0].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy725), &yymsp[0].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; case 275: /* tag_item ::= column_name AS column_alias */ -{ yylhsminor.yy828 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy63), &yymsp[0].minor.yy63); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy725), &yymsp[0].minor.yy725); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 276: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy669, yymsp[-3].minor.yy828, yymsp[-1].minor.yy828, NULL, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy437, yymsp[-3].minor.yy188, yymsp[-1].minor.yy188, NULL, yymsp[0].minor.yy188); } break; case 277: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy669, yymsp[-5].minor.yy828, yymsp[-3].minor.yy828, yymsp[-1].minor.yy222, NULL); } +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy437, yymsp[-5].minor.yy188, yymsp[-3].minor.yy188, yymsp[-1].minor.yy172, NULL); } break; case 278: /* cmd ::= DROP INDEX exists_opt full_index_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy669, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy188); } break; case 279: /* full_index_name ::= index_name */ -{ yylhsminor.yy828 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy63); } - yymsp[0].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy725); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; case 280: /* full_index_name ::= db_name NK_DOT index_name */ -{ yylhsminor.yy828 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 281: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy828 = createIndexOption(pCxt, yymsp[-7].minor.yy222, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), NULL, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } +{ yymsp[-9].minor.yy188 = createIndexOption(pCxt, yymsp[-7].minor.yy172, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), NULL, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; case 282: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-11].minor.yy828 = createIndexOption(pCxt, yymsp[-9].minor.yy222, releaseRawExprNode(pCxt, yymsp[-5].minor.yy828), releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } +{ yymsp[-11].minor.yy188 = createIndexOption(pCxt, yymsp[-9].minor.yy172, releaseRawExprNode(pCxt, yymsp[-5].minor.yy188), releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; case 285: /* func ::= sma_func_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy828 = createFunctionNode(pCxt, &yymsp[-3].minor.yy63, yymsp[-1].minor.yy222); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = createFunctionNode(pCxt, &yymsp[-3].minor.yy725, yymsp[-1].minor.yy172); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 291: /* sma_stream_opt ::= */ case 327: /* stream_options ::= */ yytestcase(yyruleno==327); -{ yymsp[1].minor.yy828 = createStreamOptions(pCxt); } +{ yymsp[1].minor.yy188 = createStreamOptions(pCxt); } break; case 292: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy828)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = yymsp[-2].minor.yy828; } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ ((SStreamOptions*)yymsp[-2].minor.yy188)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = yymsp[-2].minor.yy188; } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 293: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy828)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = yymsp[-2].minor.yy828; } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ ((SStreamOptions*)yymsp[-2].minor.yy188)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = yymsp[-2].minor.yy188; } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 294: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy828)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); yylhsminor.yy828 = yymsp[-2].minor.yy828; } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ ((SStreamOptions*)yymsp[-2].minor.yy188)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = yymsp[-2].minor.yy188; } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 295: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy669, &yymsp[-2].minor.yy63, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy437, &yymsp[-2].minor.yy725, yymsp[0].minor.yy188); } break; case 296: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy669, &yymsp[-3].minor.yy63, &yymsp[0].minor.yy63, false); } +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy437, &yymsp[-3].minor.yy725, &yymsp[0].minor.yy725, false); } break; case 297: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy669, &yymsp[-5].minor.yy63, &yymsp[0].minor.yy63, true); } +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy437, &yymsp[-5].minor.yy725, &yymsp[0].minor.yy725, true); } break; case 298: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy669, &yymsp[-3].minor.yy63, yymsp[0].minor.yy828, false); } +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy437, &yymsp[-3].minor.yy725, yymsp[0].minor.yy188, false); } break; case 299: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy669, &yymsp[-5].minor.yy63, yymsp[0].minor.yy828, true); } +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy437, &yymsp[-5].minor.yy725, yymsp[0].minor.yy188, true); } break; case 300: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; case 301: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy669, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy437, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } break; case 302: /* cmd ::= DESC full_table_name */ case 303: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==303); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy188); } break; case 304: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; case 305: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ case 306: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==306); -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy669, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } +{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy437, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; case 309: /* explain_options ::= */ -{ yymsp[1].minor.yy828 = createDefaultExplainOptions(pCxt); } +{ yymsp[1].minor.yy188 = createDefaultExplainOptions(pCxt); } break; case 310: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy828 = setExplainVerbose(pCxt, yymsp[-2].minor.yy828, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setExplainVerbose(pCxt, yymsp[-2].minor.yy188, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 311: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy828 = setExplainRatio(pCxt, yymsp[-2].minor.yy828, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setExplainRatio(pCxt, yymsp[-2].minor.yy188, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 312: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ -{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy669, yymsp[-9].minor.yy669, &yymsp[-6].minor.yy63, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy686, yymsp[-1].minor.yy332, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy437, yymsp[-9].minor.yy437, &yymsp[-6].minor.yy725, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy160, yymsp[-1].minor.yy136, &yymsp[0].minor.yy725); } break; case 313: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; case 318: /* language_opt ::= */ -{ yymsp[1].minor.yy63 = nil_token; } +{ yymsp[1].minor.yy725 = nil_token; } break; case 319: /* language_opt ::= LANGUAGE NK_STRING */ -{ yymsp[-1].minor.yy63 = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy725 = yymsp[0].minor.yy0; } break; case 320: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ -{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy669, &yymsp[-8].minor.yy63, yymsp[-5].minor.yy828, yymsp[-7].minor.yy828, yymsp[-3].minor.yy222, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, yymsp[-4].minor.yy222); } +{ pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy437, &yymsp[-8].minor.yy725, yymsp[-5].minor.yy188, yymsp[-7].minor.yy188, yymsp[-3].minor.yy172, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, yymsp[-4].minor.yy172); } break; case 321: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy669, &yymsp[0].minor.yy63); } +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; case 328: /* stream_options ::= stream_options TRIGGER AT_ONCE */ case 329: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==329); -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 330: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-3].minor.yy828, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-3].minor.yy188, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 331: /* stream_options ::= stream_options WATERMARK duration_literal */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 332: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-3].minor.yy828, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-3].minor.yy188, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 333: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 334: /* stream_options ::= stream_options DELETE_MARK duration_literal */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-2].minor.yy828, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; case 335: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ -{ yylhsminor.yy828 = setStreamOptions(pCxt, yymsp[-3].minor.yy828, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; +{ yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-3].minor.yy188, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; case 337: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 526: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==526); - case 546: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==546); -{ yymsp[-3].minor.yy828 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy828); } + case 527: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==527); + case 547: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==547); +{ yymsp[-3].minor.yy188 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy188); } break; case 338: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } @@ -4821,576 +4827,579 @@ static YYACTIONTYPE yy_reduce( case 341: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 342: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 342: /* cmd ::= BALANCE VGROUP LEADER */ +{ pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt); } + break; + case 343: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 343: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy222); } + case 344: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy172); } break; - case 344: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 345: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 345: /* dnode_list ::= DNODE NK_INTEGER */ -{ yymsp[-1].minor.yy222 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + case 346: /* dnode_list ::= DNODE NK_INTEGER */ +{ yymsp[-1].minor.yy172 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 347: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } + case 348: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 350: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ -{ yymsp[-6].minor.yy828 = createInsertStmt(pCxt, yymsp[-4].minor.yy828, yymsp[-2].minor.yy222, yymsp[0].minor.yy828); } + case 351: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ +{ yymsp[-6].minor.yy188 = createInsertStmt(pCxt, yymsp[-4].minor.yy188, yymsp[-2].minor.yy172, yymsp[0].minor.yy188); } break; - case 351: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ -{ yymsp[-3].minor.yy828 = createInsertStmt(pCxt, yymsp[-1].minor.yy828, NULL, yymsp[0].minor.yy828); } + case 352: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ +{ yymsp[-3].minor.yy188 = createInsertStmt(pCxt, yymsp[-1].minor.yy188, NULL, yymsp[0].minor.yy188); } break; - case 352: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 353: /* literal ::= NK_INTEGER */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 353: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 354: /* literal ::= NK_FLOAT */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 354: /* literal ::= NK_STRING */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 355: /* literal ::= NK_STRING */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 355: /* literal ::= NK_BOOL */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 356: /* literal ::= NK_BOOL */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 356: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + case 357: /* literal ::= TIMESTAMP NK_STRING */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 357: /* literal ::= duration_literal */ - case 367: /* signed_literal ::= signed */ yytestcase(yyruleno==367); - case 388: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==388); - case 389: /* expression ::= literal */ yytestcase(yyruleno==389); - case 390: /* expression ::= pseudo_column */ yytestcase(yyruleno==390); - case 391: /* expression ::= column_reference */ yytestcase(yyruleno==391); - case 392: /* expression ::= function_expression */ yytestcase(yyruleno==392); - case 393: /* expression ::= case_when_expression */ yytestcase(yyruleno==393); - case 424: /* function_expression ::= literal_func */ yytestcase(yyruleno==424); - case 473: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==473); - case 477: /* boolean_primary ::= predicate */ yytestcase(yyruleno==477); - case 479: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==479); - case 480: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==480); - case 483: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==483); - case 485: /* table_reference ::= table_primary */ yytestcase(yyruleno==485); - case 486: /* table_reference ::= joined_table */ yytestcase(yyruleno==486); - case 490: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==490); - case 548: /* query_simple ::= query_specification */ yytestcase(yyruleno==548); - case 549: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==549); - case 552: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==552); - case 554: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==554); -{ yylhsminor.yy828 = yymsp[0].minor.yy828; } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 358: /* literal ::= duration_literal */ + case 368: /* signed_literal ::= signed */ yytestcase(yyruleno==368); + case 389: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==389); + case 390: /* expression ::= literal */ yytestcase(yyruleno==390); + case 391: /* expression ::= pseudo_column */ yytestcase(yyruleno==391); + case 392: /* expression ::= column_reference */ yytestcase(yyruleno==392); + case 393: /* expression ::= function_expression */ yytestcase(yyruleno==393); + case 394: /* expression ::= case_when_expression */ yytestcase(yyruleno==394); + case 425: /* function_expression ::= literal_func */ yytestcase(yyruleno==425); + case 474: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==474); + case 478: /* boolean_primary ::= predicate */ yytestcase(yyruleno==478); + case 480: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==480); + case 481: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==481); + case 484: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==484); + case 486: /* table_reference ::= table_primary */ yytestcase(yyruleno==486); + case 487: /* table_reference ::= joined_table */ yytestcase(yyruleno==487); + case 491: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==491); + case 549: /* query_simple ::= query_specification */ yytestcase(yyruleno==549); + case 550: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==550); + case 553: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==553); + case 555: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==555); +{ yylhsminor.yy188 = yymsp[0].minor.yy188; } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 358: /* literal ::= NULL */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 359: /* literal ::= NULL */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 359: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 360: /* literal ::= NK_QUESTION */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 360: /* duration_literal ::= NK_VARIABLE */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 361: /* duration_literal ::= NK_VARIABLE */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 361: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 362: /* signed ::= NK_INTEGER */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 362: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + case 363: /* signed ::= NK_PLUS NK_INTEGER */ +{ yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } break; - case 363: /* signed ::= NK_MINUS NK_INTEGER */ + case 364: /* 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.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 364: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 365: /* signed ::= NK_FLOAT */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 365: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + case 366: /* signed ::= NK_PLUS NK_FLOAT */ +{ yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 366: /* signed ::= NK_MINUS NK_FLOAT */ + case 367: /* 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.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 368: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 369: /* signed_literal ::= NK_STRING */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 369: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 370: /* signed_literal ::= NK_BOOL */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 370: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + case 371: /* signed_literal ::= TIMESTAMP NK_STRING */ +{ yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 371: /* signed_literal ::= duration_literal */ - case 373: /* signed_literal ::= literal_func */ yytestcase(yyruleno==373); - case 444: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==444); - case 506: /* select_item ::= common_expression */ yytestcase(yyruleno==506); - case 516: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==516); - case 553: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==553); - case 555: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==555); - case 568: /* search_condition ::= common_expression */ yytestcase(yyruleno==568); -{ yylhsminor.yy828 = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 372: /* signed_literal ::= duration_literal */ + case 374: /* signed_literal ::= literal_func */ yytestcase(yyruleno==374); + case 445: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==445); + case 507: /* select_item ::= common_expression */ yytestcase(yyruleno==507); + case 517: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==517); + case 554: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==554); + case 556: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==556); + case 569: /* search_condition ::= common_expression */ yytestcase(yyruleno==569); +{ yylhsminor.yy188 = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 372: /* signed_literal ::= NULL */ -{ yylhsminor.yy828 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 373: /* signed_literal ::= NULL */ +{ yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 374: /* signed_literal ::= NK_QUESTION */ -{ yylhsminor.yy828 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 375: /* signed_literal ::= NK_QUESTION */ +{ yylhsminor.yy188 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 394: /* expression ::= NK_LP expression NK_RP */ - case 478: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==478); - case 567: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==567); -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 395: /* expression ::= NK_LP expression NK_RP */ + case 479: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==479); + case 568: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==568); +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 395: /* expression ::= NK_PLUS expr_or_subquery */ + case 396: /* expression ::= NK_PLUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 396: /* expression ::= NK_MINUS expr_or_subquery */ + case 397: /* expression ::= NK_MINUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy828), NULL)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy188), NULL)); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 397: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 398: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 398: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 399: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 399: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 400: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 400: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 401: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 401: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 402: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 402: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 403: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 403: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 404: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 404: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 405: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 407: /* column_reference ::= column_name */ -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy63, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy63)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 408: /* column_reference ::= column_name */ +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy725, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy725)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 408: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63, createColumnNode(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy63)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 409: /* column_reference ::= table_name NK_DOT column_name */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725, createColumnNode(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 409: /* pseudo_column ::= ROWTS */ - case 410: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==410); - case 412: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==412); - case 413: /* pseudo_column ::= QEND */ yytestcase(yyruleno==413); - case 414: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==414); - case 415: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==415); - case 416: /* pseudo_column ::= WEND */ yytestcase(yyruleno==416); - case 417: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==417); - case 418: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==418); - case 419: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==419); - case 420: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==420); - case 426: /* literal_func ::= NOW */ yytestcase(yyruleno==426); -{ yylhsminor.yy828 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 410: /* pseudo_column ::= ROWTS */ + case 411: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==411); + case 413: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==413); + case 414: /* pseudo_column ::= QEND */ yytestcase(yyruleno==414); + case 415: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==415); + case 416: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==416); + case 417: /* pseudo_column ::= WEND */ yytestcase(yyruleno==417); + case 418: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==418); + case 419: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==419); + case 420: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==420); + case 421: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==421); + case 427: /* literal_func ::= NOW */ yytestcase(yyruleno==427); +{ yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 411: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy63)))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 412: /* pseudo_column ::= table_name NK_DOT TBNAME */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy725)))); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 421: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 422: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==422); -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy63, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy63, yymsp[-1].minor.yy222)); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + case 422: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 423: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==423); +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy725, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy725, yymsp[-1].minor.yy172)); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 423: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-1].minor.yy686)); } - yymsp[-5].minor.yy828 = yylhsminor.yy828; + case 424: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-1].minor.yy160)); } + yymsp[-5].minor.yy188 = yylhsminor.yy188; break; - case 425: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy63, NULL)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 426: /* literal_func ::= noarg_func NK_LP NK_RP */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy725, NULL)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 440: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy222 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy222 = yylhsminor.yy222; + case 441: /* star_func_para_list ::= NK_STAR */ +{ yylhsminor.yy172 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 445: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 509: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==509); -{ yylhsminor.yy828 = createColumnNode(pCxt, &yymsp[-2].minor.yy63, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 446: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 510: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==510); +{ yylhsminor.yy188 = createColumnNode(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 446: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy222, yymsp[-1].minor.yy828)); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + case 447: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy172, yymsp[-1].minor.yy188)); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 447: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-2].minor.yy222, yymsp[-1].minor.yy828)); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; + case 448: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-2].minor.yy172, yymsp[-1].minor.yy188)); } + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 450: /* when_then_expr ::= WHEN common_expression THEN common_expression */ -{ yymsp[-3].minor.yy828 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828)); } + case 451: /* when_then_expr ::= WHEN common_expression THEN common_expression */ +{ yymsp[-3].minor.yy188 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } break; - case 452: /* case_when_else_opt ::= ELSE common_expression */ -{ yymsp[-1].minor.yy828 = releaseRawExprNode(pCxt, yymsp[0].minor.yy828); } + case 453: /* case_when_else_opt ::= ELSE common_expression */ +{ yymsp[-1].minor.yy188 = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); } break; - case 453: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 458: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==458); + case 454: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 459: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==459); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy62, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy716, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 454: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 455: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy828), releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy188), releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-4].minor.yy828 = yylhsminor.yy828; + yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 455: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 456: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy828), releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy188), releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-5].minor.yy828 = yylhsminor.yy828; + yymsp[-5].minor.yy188 = yylhsminor.yy188; break; - case 456: /* predicate ::= expr_or_subquery IS NULL */ + case 457: /* predicate ::= expr_or_subquery IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), NULL)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 457: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 458: /* predicate ::= expr_or_subquery IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), NULL)); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 459: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy62 = OP_TYPE_LOWER_THAN; } + case 460: /* compare_op ::= NK_LT */ +{ yymsp[0].minor.yy716 = OP_TYPE_LOWER_THAN; } break; - case 460: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy62 = OP_TYPE_GREATER_THAN; } + case 461: /* compare_op ::= NK_GT */ +{ yymsp[0].minor.yy716 = OP_TYPE_GREATER_THAN; } break; - case 461: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy62 = OP_TYPE_LOWER_EQUAL; } + case 462: /* compare_op ::= NK_LE */ +{ yymsp[0].minor.yy716 = OP_TYPE_LOWER_EQUAL; } break; - case 462: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy62 = OP_TYPE_GREATER_EQUAL; } + case 463: /* compare_op ::= NK_GE */ +{ yymsp[0].minor.yy716 = OP_TYPE_GREATER_EQUAL; } break; - case 463: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy62 = OP_TYPE_NOT_EQUAL; } + case 464: /* compare_op ::= NK_NE */ +{ yymsp[0].minor.yy716 = OP_TYPE_NOT_EQUAL; } break; - case 464: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy62 = OP_TYPE_EQUAL; } + case 465: /* compare_op ::= NK_EQ */ +{ yymsp[0].minor.yy716 = OP_TYPE_EQUAL; } break; - case 465: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy62 = OP_TYPE_LIKE; } + case 466: /* compare_op ::= LIKE */ +{ yymsp[0].minor.yy716 = OP_TYPE_LIKE; } break; - case 466: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy62 = OP_TYPE_NOT_LIKE; } + case 467: /* compare_op ::= NOT LIKE */ +{ yymsp[-1].minor.yy716 = OP_TYPE_NOT_LIKE; } break; - case 467: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy62 = OP_TYPE_MATCH; } + case 468: /* compare_op ::= MATCH */ +{ yymsp[0].minor.yy716 = OP_TYPE_MATCH; } break; - case 468: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy62 = OP_TYPE_NMATCH; } + case 469: /* compare_op ::= NMATCH */ +{ yymsp[0].minor.yy716 = OP_TYPE_NMATCH; } break; - case 469: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy62 = OP_TYPE_JSON_CONTAINS; } + case 470: /* compare_op ::= CONTAINS */ +{ yymsp[0].minor.yy716 = OP_TYPE_JSON_CONTAINS; } break; - case 470: /* in_op ::= IN */ -{ yymsp[0].minor.yy62 = OP_TYPE_IN; } + case 471: /* in_op ::= IN */ +{ yymsp[0].minor.yy716 = OP_TYPE_IN; } break; - case 471: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy62 = OP_TYPE_NOT_IN; } + case 472: /* in_op ::= NOT IN */ +{ yymsp[-1].minor.yy716 = OP_TYPE_NOT_IN; } break; - case 472: /* in_predicate_value ::= NK_LP literal_list NK_RP */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy222)); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 473: /* in_predicate_value ::= NK_LP literal_list NK_RP */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy172)); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 474: /* boolean_value_expression ::= NOT boolean_primary */ + case 475: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy828), NULL)); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy188), NULL)); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 475: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 476: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 476: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 477: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy828); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy828); - yylhsminor.yy828 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); + yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 482: /* from_clause_opt ::= FROM table_reference_list */ - case 511: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==511); - case 542: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==542); -{ yymsp[-1].minor.yy828 = yymsp[0].minor.yy828; } + case 483: /* from_clause_opt ::= FROM table_reference_list */ + case 512: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==512); + case 543: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==543); +{ yymsp[-1].minor.yy188 = yymsp[0].minor.yy188; } break; - case 484: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy828 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy828, yymsp[0].minor.yy828, NULL); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 485: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ +{ yylhsminor.yy188 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, NULL); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 487: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy828 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + case 488: /* table_primary ::= table_name alias_opt */ +{ yylhsminor.yy188 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 488: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy828 = createRealTableNode(pCxt, &yymsp[-3].minor.yy63, &yymsp[-1].minor.yy63, &yymsp[0].minor.yy63); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + case 489: /* table_primary ::= db_name NK_DOT table_name alias_opt */ +{ yylhsminor.yy188 = createRealTableNode(pCxt, &yymsp[-3].minor.yy725, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 489: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy828 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828), &yymsp[0].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + case 490: /* table_primary ::= subquery alias_opt */ +{ yylhsminor.yy188 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188), &yymsp[0].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 491: /* alias_opt ::= */ -{ yymsp[1].minor.yy63 = nil_token; } + case 492: /* alias_opt ::= */ +{ yymsp[1].minor.yy725 = nil_token; } break; - case 493: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy63 = yymsp[0].minor.yy63; } + case 494: /* alias_opt ::= AS table_alias */ +{ yymsp[-1].minor.yy725 = yymsp[0].minor.yy725; } break; - case 494: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 495: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==495); -{ yymsp[-2].minor.yy828 = yymsp[-1].minor.yy828; } + case 495: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 496: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==496); +{ yymsp[-2].minor.yy188 = yymsp[-1].minor.yy188; } break; - case 496: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy828 = createJoinTableNode(pCxt, yymsp[-4].minor.yy574, yymsp[-5].minor.yy828, yymsp[-2].minor.yy828, yymsp[0].minor.yy828); } - yymsp[-5].minor.yy828 = yylhsminor.yy828; + case 497: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ +{ yylhsminor.yy188 = createJoinTableNode(pCxt, yymsp[-4].minor.yy240, yymsp[-5].minor.yy188, yymsp[-2].minor.yy188, yymsp[0].minor.yy188); } + yymsp[-5].minor.yy188 = yylhsminor.yy188; break; - case 497: /* join_type ::= */ -{ yymsp[1].minor.yy574 = JOIN_TYPE_INNER; } + case 498: /* join_type ::= */ +{ yymsp[1].minor.yy240 = JOIN_TYPE_INNER; } break; - case 498: /* join_type ::= INNER */ -{ yymsp[0].minor.yy574 = JOIN_TYPE_INNER; } + case 499: /* join_type ::= INNER */ +{ yymsp[0].minor.yy240 = JOIN_TYPE_INNER; } break; - case 499: /* query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + case 500: /* query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ { - yymsp[-11].minor.yy828 = createSelectStmt(pCxt, yymsp[-10].minor.yy669, yymsp[-9].minor.yy222, yymsp[-8].minor.yy828); - yymsp[-11].minor.yy828 = addWhereClause(pCxt, yymsp[-11].minor.yy828, yymsp[-7].minor.yy828); - yymsp[-11].minor.yy828 = addPartitionByClause(pCxt, yymsp[-11].minor.yy828, yymsp[-6].minor.yy222); - yymsp[-11].minor.yy828 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy828, yymsp[-2].minor.yy828); - yymsp[-11].minor.yy828 = addGroupByClause(pCxt, yymsp[-11].minor.yy828, yymsp[-1].minor.yy222); - yymsp[-11].minor.yy828 = addHavingClause(pCxt, yymsp[-11].minor.yy828, yymsp[0].minor.yy828); - yymsp[-11].minor.yy828 = addRangeClause(pCxt, yymsp[-11].minor.yy828, yymsp[-5].minor.yy828); - yymsp[-11].minor.yy828 = addEveryClause(pCxt, yymsp[-11].minor.yy828, yymsp[-4].minor.yy828); - yymsp[-11].minor.yy828 = addFillClause(pCxt, yymsp[-11].minor.yy828, yymsp[-3].minor.yy828); + yymsp[-11].minor.yy188 = createSelectStmt(pCxt, yymsp[-10].minor.yy437, yymsp[-9].minor.yy172, yymsp[-8].minor.yy188); + yymsp[-11].minor.yy188 = addWhereClause(pCxt, yymsp[-11].minor.yy188, yymsp[-7].minor.yy188); + yymsp[-11].minor.yy188 = addPartitionByClause(pCxt, yymsp[-11].minor.yy188, yymsp[-6].minor.yy172); + yymsp[-11].minor.yy188 = addWindowClauseClause(pCxt, yymsp[-11].minor.yy188, yymsp[-2].minor.yy188); + yymsp[-11].minor.yy188 = addGroupByClause(pCxt, yymsp[-11].minor.yy188, yymsp[-1].minor.yy172); + yymsp[-11].minor.yy188 = addHavingClause(pCxt, yymsp[-11].minor.yy188, yymsp[0].minor.yy188); + yymsp[-11].minor.yy188 = addRangeClause(pCxt, yymsp[-11].minor.yy188, yymsp[-5].minor.yy188); + yymsp[-11].minor.yy188 = addEveryClause(pCxt, yymsp[-11].minor.yy188, yymsp[-4].minor.yy188); + yymsp[-11].minor.yy188 = addFillClause(pCxt, yymsp[-11].minor.yy188, yymsp[-3].minor.yy188); } break; - case 502: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy669 = false; } + case 503: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy437 = false; } break; - case 505: /* select_item ::= NK_STAR */ -{ yylhsminor.yy828 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy828 = yylhsminor.yy828; + case 506: /* select_item ::= NK_STAR */ +{ yylhsminor.yy188 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 507: /* select_item ::= common_expression column_alias */ - case 517: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==517); -{ yylhsminor.yy828 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828), &yymsp[0].minor.yy63); } - yymsp[-1].minor.yy828 = yylhsminor.yy828; + case 508: /* select_item ::= common_expression column_alias */ + case 518: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==518); +{ yylhsminor.yy188 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188), &yymsp[0].minor.yy725); } + yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 508: /* select_item ::= common_expression AS column_alias */ - case 518: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==518); -{ yylhsminor.yy828 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), &yymsp[0].minor.yy63); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 509: /* select_item ::= common_expression AS column_alias */ + case 519: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==519); +{ yylhsminor.yy188 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), &yymsp[0].minor.yy725); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 513: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 538: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==538); - case 557: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==557); -{ yymsp[-2].minor.yy222 = yymsp[0].minor.yy222; } + case 514: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 539: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==539); + case 558: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==558); +{ yymsp[-2].minor.yy172 = yymsp[0].minor.yy172; } break; - case 520: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ -{ yymsp[-5].minor.yy828 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } + case 521: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ +{ yymsp[-5].minor.yy188 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } break; - case 521: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy828 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } + case 522: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy188 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } break; - case 522: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy828 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), NULL, yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } + case 523: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-5].minor.yy188 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), NULL, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 523: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy828 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy828), releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), yymsp[-1].minor.yy828, yymsp[0].minor.yy828); } + case 524: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-7].minor.yy188 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy188), releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 524: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ -{ yymsp[-6].minor.yy828 = createEventWindowNode(pCxt, yymsp[-3].minor.yy828, yymsp[0].minor.yy828); } + case 525: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ +{ yymsp[-6].minor.yy188 = createEventWindowNode(pCxt, yymsp[-3].minor.yy188, yymsp[0].minor.yy188); } break; - case 528: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy828 = createFillNode(pCxt, yymsp[-1].minor.yy822, NULL); } + case 529: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy188 = createFillNode(pCxt, yymsp[-1].minor.yy654, NULL); } break; - case 529: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ -{ yymsp[-5].minor.yy828 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy222)); } + case 530: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ +{ yymsp[-5].minor.yy188 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy172)); } break; - case 530: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ -{ yymsp[-5].minor.yy828 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy222)); } + case 531: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ +{ yymsp[-5].minor.yy188 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy172)); } break; - case 531: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy822 = FILL_MODE_NONE; } + case 532: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy654 = FILL_MODE_NONE; } break; - case 532: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy822 = FILL_MODE_PREV; } + case 533: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy654 = FILL_MODE_PREV; } break; - case 533: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy822 = FILL_MODE_NULL; } + case 534: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy654 = FILL_MODE_NULL; } break; - case 534: /* fill_mode ::= NULL_F */ -{ yymsp[0].minor.yy822 = FILL_MODE_NULL_F; } + case 535: /* fill_mode ::= NULL_F */ +{ yymsp[0].minor.yy654 = FILL_MODE_NULL_F; } break; - case 535: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy822 = FILL_MODE_LINEAR; } + case 536: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy654 = FILL_MODE_LINEAR; } break; - case 536: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy822 = FILL_MODE_NEXT; } + case 537: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy654 = FILL_MODE_NEXT; } break; - case 539: /* group_by_list ::= expr_or_subquery */ -{ yylhsminor.yy222 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); } - yymsp[0].minor.yy222 = yylhsminor.yy222; + case 540: /* group_by_list ::= expr_or_subquery */ +{ yylhsminor.yy172 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } + yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 540: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ -{ yylhsminor.yy222 = addNodeToList(pCxt, yymsp[-2].minor.yy222, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy828))); } - yymsp[-2].minor.yy222 = yylhsminor.yy222; + case 541: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ +{ yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } + yymsp[-2].minor.yy172 = yylhsminor.yy172; break; - case 544: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ -{ yymsp[-5].minor.yy828 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy828), releaseRawExprNode(pCxt, yymsp[-1].minor.yy828)); } + case 545: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ +{ yymsp[-5].minor.yy188 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } break; - case 547: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 548: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy828 = addOrderByClause(pCxt, yymsp[-3].minor.yy828, yymsp[-2].minor.yy222); - yylhsminor.yy828 = addSlimitClause(pCxt, yylhsminor.yy828, yymsp[-1].minor.yy828); - yylhsminor.yy828 = addLimitClause(pCxt, yylhsminor.yy828, yymsp[0].minor.yy828); + yylhsminor.yy188 = addOrderByClause(pCxt, yymsp[-3].minor.yy188, yymsp[-2].minor.yy172); + yylhsminor.yy188 = addSlimitClause(pCxt, yylhsminor.yy188, yymsp[-1].minor.yy188); + yylhsminor.yy188 = addLimitClause(pCxt, yylhsminor.yy188, yymsp[0].minor.yy188); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 550: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ -{ yylhsminor.yy828 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy828, yymsp[0].minor.yy828); } - yymsp[-3].minor.yy828 = yylhsminor.yy828; + case 551: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ +{ yylhsminor.yy188 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy188, yymsp[0].minor.yy188); } + yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 551: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ -{ yylhsminor.yy828 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy828, yymsp[0].minor.yy828); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 552: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ +{ yylhsminor.yy188 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy188, yymsp[0].minor.yy188); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 559: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 563: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==563); -{ yymsp[-1].minor.yy828 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + case 560: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 564: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==564); +{ yymsp[-1].minor.yy188 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 560: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 564: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==564); -{ yymsp[-3].minor.yy828 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + case 561: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 565: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==565); +{ yymsp[-3].minor.yy188 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 561: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 565: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==565); -{ yymsp[-3].minor.yy828 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + case 562: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 566: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==566); +{ yymsp[-3].minor.yy188 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 566: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy828 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy828); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 567: /* subquery ::= NK_LP query_expression NK_RP */ +{ yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy188); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 571: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy828 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy828), yymsp[-1].minor.yy158, yymsp[0].minor.yy675); } - yymsp[-2].minor.yy828 = yylhsminor.yy828; + case 572: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ +{ yylhsminor.yy188 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), yymsp[-1].minor.yy206, yymsp[0].minor.yy913); } + yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 572: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy158 = ORDER_ASC; } + case 573: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy206 = ORDER_ASC; } break; - case 573: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy158 = ORDER_ASC; } + case 574: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy206 = ORDER_ASC; } break; - case 574: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy158 = ORDER_DESC; } + case 575: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy206 = ORDER_DESC; } break; - case 575: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy675 = NULL_ORDER_DEFAULT; } + case 576: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy913 = NULL_ORDER_DEFAULT; } break; - case 576: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy675 = NULL_ORDER_FIRST; } + case 577: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy913 = NULL_ORDER_FIRST; } break; - case 577: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy675 = NULL_ORDER_LAST; } + case 578: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy913 = NULL_ORDER_LAST; } break; default: break; diff --git a/source/libs/parser/test/parAlterToBalanceTest.cpp b/source/libs/parser/test/parAlterToBalanceTest.cpp index 2e1da15892..db74e66d2b 100644 --- a/source/libs/parser/test/parAlterToBalanceTest.cpp +++ b/source/libs/parser/test/parAlterToBalanceTest.cpp @@ -858,4 +858,21 @@ TEST_F(ParserInitialATest, balanceVgroup) { run("BALANCE VGROUP"); } +/* + * BALANCE VGROUP LEADER + */ +TEST_F(ParserInitialATest, balanceVgroupLeader) { + useDb("root", "test"); + + setCheckDdlFunc([&](const SQuery* pQuery, ParserStage stage) { + ASSERT_EQ(nodeType(pQuery->pRoot), QUERY_NODE_BALANCE_VGROUP_LEADER_STMT); + ASSERT_EQ(pQuery->pCmdMsg->msgType, TDMT_MND_BALANCE_VGROUP_LEADER); + SBalanceVgroupLeaderReq req = {0}; + ASSERT_EQ(tDeserializeSBalanceVgroupLeaderReq(pQuery->pCmdMsg->pMsg, pQuery->pCmdMsg->msgLen, &req), + TSDB_CODE_SUCCESS); + }); + + run("BALANCE VGROUP LEADER"); +} + } // namespace ParserTest \ No newline at end of file diff --git a/source/libs/sync/src/syncMain.c b/source/libs/sync/src/syncMain.c index 90f79fd93c..c3b1046bdf 100644 --- a/source/libs/sync/src/syncMain.c +++ b/source/libs/sync/src/syncMain.c @@ -228,6 +228,15 @@ int32_t syncLeaderTransfer(int64_t rid) { return ret; } +int32_t syncLeaderForceElection(int64_t rid) { + SSyncNode* pSyncNode = syncNodeAcquire(rid); + if (pSyncNode == NULL) return -1; + + int32_t ret = syncNodeElect(pSyncNode); + syncNodeRelease(pSyncNode); + return ret; +} + int32_t syncSendTimeoutRsp(int64_t rid, int64_t seq) { SSyncNode* pNode = syncNodeAcquire(rid); if (pNode == NULL) return -1;