From 1daa2246511bced1e46de78117e0e9ad6700318b Mon Sep 17 00:00:00 2001 From: kailixu Date: Thu, 18 Jan 2024 17:49:11 +0800 Subject: [PATCH] feat: support uniq grant --- include/common/systable.h | 1 + include/common/tmsg.h | 4 +- include/common/ttokendef.h | 377 +- include/libs/nodes/cmdnodes.h | 2 +- include/util/tdef.h | 2 + source/common/src/systable.c | 6 + source/dnode/mnode/impl/inc/mndDef.h | 3 +- source/dnode/mnode/impl/inc/mndGrant.h | 8 +- source/dnode/mnode/impl/src/mndCluster.c | 92 +- source/dnode/mnode/impl/src/mndGrant.c | 2 + source/dnode/mnode/impl/src/mndShow.c | 2 + source/libs/nodes/src/nodesCodeFuncs.c | 10 + source/libs/nodes/src/nodesUtilFuncs.c | 4 +- source/libs/parser/inc/sql.y | 1 + source/libs/parser/src/parAstParser.c | 7 + source/libs/parser/src/parAuthenticator.c | 1 + source/libs/parser/src/parTokenizer.c | 1 + source/libs/parser/src/parTranslater.c | 9 +- source/libs/parser/src/sql.c | 7706 ++++++++++----------- 19 files changed, 4096 insertions(+), 4142 deletions(-) diff --git a/include/common/systable.h b/include/common/systable.h index 49002b0689..9a07090c93 100644 --- a/include/common/systable.h +++ b/include/common/systable.h @@ -54,6 +54,7 @@ extern "C" { #define TSDB_INS_TABLE_COMPACT_DETAILS "ins_compact_details" #define TSDB_INS_TABLE_GRANTS_FULL "ins_grants_full" #define TSDB_INS_TABLE_GRANTS_LOG "ins_grants_log" +#define TSDB_INS_TABLE_MACHINES "ins_machines" #define TSDB_PERFORMANCE_SCHEMA_DB "performance_schema" #define TSDB_PERFS_TABLE_SMAS "perf_smas" diff --git a/include/common/tmsg.h b/include/common/tmsg.h index 8f1dc6fcba..084a445423 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -149,6 +149,7 @@ typedef enum _mgmt_table { TSDB_MGMT_TABLE_COMPACT_DETAIL, TSDB_MGMT_TABLE_GRANTS_FULL, TSDB_MGMT_TABLE_GRANTS_LOG, + TSDB_MGMT_TABLE_MACHINES, TSDB_MGMT_TABLE_MAX, } EShowType; @@ -364,6 +365,7 @@ typedef enum ENodeType { QUERY_NODE_SHOW_COMPACT_DETAILS_STMT, QUERY_NODE_SHOW_GRANTS_FULL_STMT, QUERY_NODE_SHOW_GRANTS_LOG_STMT, + QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT, // logic plan node QUERY_NODE_LOGIC_PLAN_SCAN = 1000, @@ -2031,7 +2033,7 @@ void tFreeSExplainRsp(SExplainRsp* pRsp); typedef struct { char config[TSDB_DNODE_CONFIG_LEN]; - char value[TSDB_DNODE_VALUE_LEN]; + char value[TSDB_CLUSTER_VALUE_LEN]; int32_t sqlLen; char* sql; } SMCfgClusterReq; diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index 7c04d77a7b..52d4cf10a4 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -177,194 +177,195 @@ #define TK_GRANTS 158 #define TK_FULL 159 #define TK_LOG 160 -#define TK_QUERIES 161 -#define TK_SCORES 162 -#define TK_TOPICS 163 -#define TK_VARIABLES 164 -#define TK_BNODES 165 -#define TK_SNODES 166 -#define TK_TRANSACTIONS 167 -#define TK_DISTRIBUTED 168 -#define TK_CONSUMERS 169 -#define TK_SUBSCRIPTIONS 170 -#define TK_VNODES 171 -#define TK_ALIVE 172 -#define TK_VIEWS 173 -#define TK_VIEW 174 -#define TK_COMPACTS 175 -#define TK_NORMAL 176 -#define TK_CHILD 177 -#define TK_LIKE 178 -#define TK_TBNAME 179 -#define TK_QTAGS 180 -#define TK_AS 181 -#define TK_SYSTEM 182 -#define TK_INDEX 183 -#define TK_FUNCTION 184 -#define TK_INTERVAL 185 -#define TK_COUNT 186 -#define TK_LAST_ROW 187 -#define TK_META 188 -#define TK_ONLY 189 -#define TK_TOPIC 190 -#define TK_CONSUMER 191 -#define TK_GROUP 192 -#define TK_DESC 193 -#define TK_DESCRIBE 194 -#define TK_RESET 195 -#define TK_QUERY 196 -#define TK_CACHE 197 -#define TK_EXPLAIN 198 -#define TK_ANALYZE 199 -#define TK_VERBOSE 200 -#define TK_NK_BOOL 201 -#define TK_RATIO 202 -#define TK_NK_FLOAT 203 -#define TK_OUTPUTTYPE 204 -#define TK_AGGREGATE 205 -#define TK_BUFSIZE 206 -#define TK_LANGUAGE 207 -#define TK_REPLACE 208 -#define TK_STREAM 209 -#define TK_INTO 210 -#define TK_PAUSE 211 -#define TK_RESUME 212 -#define TK_TRIGGER 213 -#define TK_AT_ONCE 214 -#define TK_WINDOW_CLOSE 215 -#define TK_IGNORE 216 -#define TK_EXPIRED 217 -#define TK_FILL_HISTORY 218 -#define TK_UPDATE 219 -#define TK_SUBTABLE 220 -#define TK_UNTREATED 221 -#define TK_KILL 222 -#define TK_CONNECTION 223 -#define TK_TRANSACTION 224 -#define TK_BALANCE 225 -#define TK_VGROUP 226 -#define TK_LEADER 227 -#define TK_MERGE 228 -#define TK_REDISTRIBUTE 229 -#define TK_SPLIT 230 -#define TK_DELETE 231 -#define TK_INSERT 232 -#define TK_NULL 233 -#define TK_NK_QUESTION 234 -#define TK_NK_ALIAS 235 -#define TK_NK_ARROW 236 -#define TK_ROWTS 237 -#define TK_QSTART 238 -#define TK_QEND 239 -#define TK_QDURATION 240 -#define TK_WSTART 241 -#define TK_WEND 242 -#define TK_WDURATION 243 -#define TK_IROWTS 244 -#define TK_ISFILLED 245 -#define TK_CAST 246 -#define TK_NOW 247 -#define TK_TODAY 248 -#define TK_TIMEZONE 249 -#define TK_CLIENT_VERSION 250 -#define TK_SERVER_VERSION 251 -#define TK_SERVER_STATUS 252 -#define TK_CURRENT_USER 253 -#define TK_CASE 254 -#define TK_WHEN 255 -#define TK_THEN 256 -#define TK_ELSE 257 -#define TK_BETWEEN 258 -#define TK_IS 259 -#define TK_NK_LT 260 -#define TK_NK_GT 261 -#define TK_NK_LE 262 -#define TK_NK_GE 263 -#define TK_NK_NE 264 -#define TK_MATCH 265 -#define TK_NMATCH 266 -#define TK_CONTAINS 267 -#define TK_IN 268 -#define TK_JOIN 269 -#define TK_INNER 270 -#define TK_SELECT 271 -#define TK_NK_HINT 272 -#define TK_DISTINCT 273 -#define TK_WHERE 274 -#define TK_PARTITION 275 -#define TK_BY 276 -#define TK_SESSION 277 -#define TK_STATE_WINDOW 278 -#define TK_EVENT_WINDOW 279 -#define TK_SLIDING 280 -#define TK_FILL 281 -#define TK_VALUE 282 -#define TK_VALUE_F 283 -#define TK_NONE 284 -#define TK_PREV 285 -#define TK_NULL_F 286 -#define TK_LINEAR 287 -#define TK_NEXT 288 -#define TK_HAVING 289 -#define TK_RANGE 290 -#define TK_EVERY 291 -#define TK_ORDER 292 -#define TK_SLIMIT 293 -#define TK_SOFFSET 294 -#define TK_LIMIT 295 -#define TK_OFFSET 296 -#define TK_ASC 297 -#define TK_NULLS 298 -#define TK_ABORT 299 -#define TK_AFTER 300 -#define TK_ATTACH 301 -#define TK_BEFORE 302 -#define TK_BEGIN 303 -#define TK_BITAND 304 -#define TK_BITNOT 305 -#define TK_BITOR 306 -#define TK_BLOCKS 307 -#define TK_CHANGE 308 -#define TK_COMMA 309 -#define TK_CONCAT 310 -#define TK_CONFLICT 311 -#define TK_COPY 312 -#define TK_DEFERRED 313 -#define TK_DELIMITERS 314 -#define TK_DETACH 315 -#define TK_DIVIDE 316 -#define TK_DOT 317 -#define TK_EACH 318 -#define TK_FAIL 319 -#define TK_FILE 320 -#define TK_FOR 321 -#define TK_GLOB 322 -#define TK_ID 323 -#define TK_IMMEDIATE 324 -#define TK_IMPORT 325 -#define TK_INITIALLY 326 -#define TK_INSTEAD 327 -#define TK_ISNULL 328 -#define TK_KEY 329 -#define TK_MODULES 330 -#define TK_NK_BITNOT 331 -#define TK_NK_SEMI 332 -#define TK_NOTNULL 333 -#define TK_OF 334 -#define TK_PLUS 335 -#define TK_PRIVILEGE 336 -#define TK_RAISE 337 -#define TK_RESTRICT 338 -#define TK_ROW 339 -#define TK_SEMI 340 -#define TK_STAR 341 -#define TK_STATEMENT 342 -#define TK_STRICT 343 -#define TK_STRING 344 -#define TK_TIMES 345 -#define TK_VALUES 346 -#define TK_VARIABLE 347 -#define TK_WAL 348 +#define TK_MACHINES 161 +#define TK_QUERIES 162 +#define TK_SCORES 163 +#define TK_TOPICS 164 +#define TK_VARIABLES 165 +#define TK_BNODES 166 +#define TK_SNODES 167 +#define TK_TRANSACTIONS 168 +#define TK_DISTRIBUTED 169 +#define TK_CONSUMERS 170 +#define TK_SUBSCRIPTIONS 171 +#define TK_VNODES 172 +#define TK_ALIVE 173 +#define TK_VIEWS 174 +#define TK_VIEW 175 +#define TK_COMPACTS 176 +#define TK_NORMAL 177 +#define TK_CHILD 178 +#define TK_LIKE 179 +#define TK_TBNAME 180 +#define TK_QTAGS 181 +#define TK_AS 182 +#define TK_SYSTEM 183 +#define TK_INDEX 184 +#define TK_FUNCTION 185 +#define TK_INTERVAL 186 +#define TK_COUNT 187 +#define TK_LAST_ROW 188 +#define TK_META 189 +#define TK_ONLY 190 +#define TK_TOPIC 191 +#define TK_CONSUMER 192 +#define TK_GROUP 193 +#define TK_DESC 194 +#define TK_DESCRIBE 195 +#define TK_RESET 196 +#define TK_QUERY 197 +#define TK_CACHE 198 +#define TK_EXPLAIN 199 +#define TK_ANALYZE 200 +#define TK_VERBOSE 201 +#define TK_NK_BOOL 202 +#define TK_RATIO 203 +#define TK_NK_FLOAT 204 +#define TK_OUTPUTTYPE 205 +#define TK_AGGREGATE 206 +#define TK_BUFSIZE 207 +#define TK_LANGUAGE 208 +#define TK_REPLACE 209 +#define TK_STREAM 210 +#define TK_INTO 211 +#define TK_PAUSE 212 +#define TK_RESUME 213 +#define TK_TRIGGER 214 +#define TK_AT_ONCE 215 +#define TK_WINDOW_CLOSE 216 +#define TK_IGNORE 217 +#define TK_EXPIRED 218 +#define TK_FILL_HISTORY 219 +#define TK_UPDATE 220 +#define TK_SUBTABLE 221 +#define TK_UNTREATED 222 +#define TK_KILL 223 +#define TK_CONNECTION 224 +#define TK_TRANSACTION 225 +#define TK_BALANCE 226 +#define TK_VGROUP 227 +#define TK_LEADER 228 +#define TK_MERGE 229 +#define TK_REDISTRIBUTE 230 +#define TK_SPLIT 231 +#define TK_DELETE 232 +#define TK_INSERT 233 +#define TK_NULL 234 +#define TK_NK_QUESTION 235 +#define TK_NK_ALIAS 236 +#define TK_NK_ARROW 237 +#define TK_ROWTS 238 +#define TK_QSTART 239 +#define TK_QEND 240 +#define TK_QDURATION 241 +#define TK_WSTART 242 +#define TK_WEND 243 +#define TK_WDURATION 244 +#define TK_IROWTS 245 +#define TK_ISFILLED 246 +#define TK_CAST 247 +#define TK_NOW 248 +#define TK_TODAY 249 +#define TK_TIMEZONE 250 +#define TK_CLIENT_VERSION 251 +#define TK_SERVER_VERSION 252 +#define TK_SERVER_STATUS 253 +#define TK_CURRENT_USER 254 +#define TK_CASE 255 +#define TK_WHEN 256 +#define TK_THEN 257 +#define TK_ELSE 258 +#define TK_BETWEEN 259 +#define TK_IS 260 +#define TK_NK_LT 261 +#define TK_NK_GT 262 +#define TK_NK_LE 263 +#define TK_NK_GE 264 +#define TK_NK_NE 265 +#define TK_MATCH 266 +#define TK_NMATCH 267 +#define TK_CONTAINS 268 +#define TK_IN 269 +#define TK_JOIN 270 +#define TK_INNER 271 +#define TK_SELECT 272 +#define TK_NK_HINT 273 +#define TK_DISTINCT 274 +#define TK_WHERE 275 +#define TK_PARTITION 276 +#define TK_BY 277 +#define TK_SESSION 278 +#define TK_STATE_WINDOW 279 +#define TK_EVENT_WINDOW 280 +#define TK_SLIDING 281 +#define TK_FILL 282 +#define TK_VALUE 283 +#define TK_VALUE_F 284 +#define TK_NONE 285 +#define TK_PREV 286 +#define TK_NULL_F 287 +#define TK_LINEAR 288 +#define TK_NEXT 289 +#define TK_HAVING 290 +#define TK_RANGE 291 +#define TK_EVERY 292 +#define TK_ORDER 293 +#define TK_SLIMIT 294 +#define TK_SOFFSET 295 +#define TK_LIMIT 296 +#define TK_OFFSET 297 +#define TK_ASC 298 +#define TK_NULLS 299 +#define TK_ABORT 300 +#define TK_AFTER 301 +#define TK_ATTACH 302 +#define TK_BEFORE 303 +#define TK_BEGIN 304 +#define TK_BITAND 305 +#define TK_BITNOT 306 +#define TK_BITOR 307 +#define TK_BLOCKS 308 +#define TK_CHANGE 309 +#define TK_COMMA 310 +#define TK_CONCAT 311 +#define TK_CONFLICT 312 +#define TK_COPY 313 +#define TK_DEFERRED 314 +#define TK_DELIMITERS 315 +#define TK_DETACH 316 +#define TK_DIVIDE 317 +#define TK_DOT 318 +#define TK_EACH 319 +#define TK_FAIL 320 +#define TK_FILE 321 +#define TK_FOR 322 +#define TK_GLOB 323 +#define TK_ID 324 +#define TK_IMMEDIATE 325 +#define TK_IMPORT 326 +#define TK_INITIALLY 327 +#define TK_INSTEAD 328 +#define TK_ISNULL 329 +#define TK_KEY 330 +#define TK_MODULES 331 +#define TK_NK_BITNOT 332 +#define TK_NK_SEMI 333 +#define TK_NOTNULL 334 +#define TK_OF 335 +#define TK_PLUS 336 +#define TK_PRIVILEGE 337 +#define TK_RAISE 338 +#define TK_RESTRICT 339 +#define TK_ROW 340 +#define TK_SEMI 341 +#define TK_STAR 342 +#define TK_STATEMENT 343 +#define TK_STRICT 344 +#define TK_STRING 345 +#define TK_TIMES 346 +#define TK_VALUES 347 +#define TK_VARIABLE 348 +#define TK_WAL 349 #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 9063f6ac0b..9a12d7b98f 100644 --- a/include/libs/nodes/cmdnodes.h +++ b/include/libs/nodes/cmdnodes.h @@ -423,7 +423,7 @@ typedef struct SDropCGroupStmt { typedef struct SAlterClusterStmt { ENodeType type; char config[TSDB_DNODE_CONFIG_LEN]; - char value[TSDB_DNODE_VALUE_LEN]; + char value[TSDB_CLUSTER_VALUE_LEN]; } SAlterClusterStmt; typedef struct SAlterLocalStmt { diff --git a/include/util/tdef.h b/include/util/tdef.h index b51eb75607..8bddc15e9c 100644 --- a/include/util/tdef.h +++ b/include/util/tdef.h @@ -286,6 +286,8 @@ typedef enum ELogicConditionType { #define TSDB_DNODE_CONFIG_LEN 128 #define TSDB_DNODE_VALUE_LEN 256 +#define TSDB_CLUSTER_VALUE_LEN 1024 + #define TSDB_ACTIVE_KEY_LEN 109 #define TSDB_CONN_ACTIVE_KEY_LEN 255 #define TSDB_UNIQ_ACTIVE_KEY_LEN 249 diff --git a/source/common/src/systable.c b/source/common/src/systable.c index 27234e7222..fbcb59524e 100644 --- a/source/common/src/systable.c +++ b/source/common/src/systable.c @@ -365,6 +365,11 @@ static const SSysDbTableSchema useGrantsLogSchema[] = { {.name = "machine", .bytes = 6016 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = true}, }; +static const SSysDbTableSchema useMachinesSchema[] = { + {.name = "id", .type = TSDB_DATA_TYPE_BIGINT, .sysInfo = false}, + {.name = "machine", .bytes = 6016 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, +}; + static const SSysTableMeta infosMeta[] = { {TSDB_INS_TABLE_DNODES, dnodesSchema, tListLen(dnodesSchema), true}, {TSDB_INS_TABLE_MNODES, mnodesSchema, tListLen(mnodesSchema), true}, @@ -396,6 +401,7 @@ static const SSysTableMeta infosMeta[] = { {TSDB_INS_TABLE_COMPACT_DETAILS, userCompactsDetailSchema, tListLen(userCompactsDetailSchema), false}, {TSDB_INS_TABLE_GRANTS_FULL, useGrantsFullSchema, tListLen(useGrantsFullSchema), false}, {TSDB_INS_TABLE_GRANTS_LOG, useGrantsLogSchema, tListLen(useGrantsLogSchema), false}, + {TSDB_INS_TABLE_MACHINES, useMachinesSchema, tListLen(useMachinesSchema), false}, }; static const SSysDbTableSchema connectionsSchema[] = { diff --git a/source/dnode/mnode/impl/inc/mndDef.h b/source/dnode/mnode/impl/inc/mndDef.h index 14e18bb5d9..9635e00ac8 100644 --- a/source/dnode/mnode/impl/inc/mndDef.h +++ b/source/dnode/mnode/impl/inc/mndDef.h @@ -830,7 +830,8 @@ typedef struct { int64_t updateTime; SGrantState state[GRANT_STATE_NUM]; SGrantActive active[GRANT_ACTIVE_NUM]; - SArray *pMachines; // SGrantMachines + char* pActive; + SArray* pMachines; // SGrantMachines SRWLatch lock; } SGrantObj; diff --git a/source/dnode/mnode/impl/inc/mndGrant.h b/source/dnode/mnode/impl/inc/mndGrant.h index 18d2c36a94..aea680ad5f 100644 --- a/source/dnode/mnode/impl/inc/mndGrant.h +++ b/source/dnode/mnode/impl/inc/mndGrant.h @@ -29,13 +29,10 @@ void grantAdd(EGrantType grant, uint64_t value); void grantRestore(EGrantType grant, uint64_t value); - #ifdef TD_ENTERPRISE - // void initDynGrantVersion(void); - SGrantObj *mndAcquireGrant(SMnode * pMnode, int32_t id); - void mndReleaseGrant(SMnode * pMnode, SGrantObj *pGrant); + void mndReleaseGrant(SMnode * pMnode, SGrantObj * pGrant); SSdbRaw *mndGrantActionEncode(SGrantObj * pGrant); SSdbRow *mndGrantActionDecode(SSdbRaw * pRaw); @@ -48,6 +45,9 @@ int32_t mndProcessUpdActiveReqImpl(void *pActive, SRpcMsg *pReq); int32_t mndRetrieveGrantImpl(SRpcMsg * pReq, SShowObj * pShow, SSDataBlock * pBlock, int32_t rows); + int32_t mndProcessConfigClusterReq(SRpcMsg * pReq); + int32_t mndProcessConfigClusterRsp(SRpcMsg * pReq); + #endif #ifdef __cplusplus diff --git a/source/dnode/mnode/impl/src/mndCluster.c b/source/dnode/mnode/impl/src/mndCluster.c index f9a22a45b6..a583b0e7bb 100644 --- a/source/dnode/mnode/impl/src/mndCluster.c +++ b/source/dnode/mnode/impl/src/mndCluster.c @@ -33,8 +33,6 @@ static int32_t mndCreateDefaultCluster(SMnode *pMnode); static int32_t mndRetrieveClusters(SRpcMsg *pMsg, SShowObj *pShow, SSDataBlock *pBlock, int32_t rows); static void mndCancelGetNextCluster(SMnode *pMnode, void *pIter); static int32_t mndProcessUptimeTimer(SRpcMsg *pReq); -static int32_t mndProcessConfigClusterReq(SRpcMsg *pReq); -static int32_t mndProcessConfigClusterRsp(SRpcMsg *pReq); int32_t mndInitCluster(SMnode *pMnode) { SSdbTable table = { @@ -49,8 +47,6 @@ int32_t mndInitCluster(SMnode *pMnode) { }; mndSetMsgHandle(pMnode, TDMT_MND_UPTIME_TIMER, mndProcessUptimeTimer); - mndSetMsgHandle(pMnode, TDMT_MND_CONFIG_CLUSTER, mndProcessConfigClusterReq); - mndSetMsgHandle(pMnode, TDMT_MND_CONFIG_CLUSTER_RSP, mndProcessConfigClusterRsp); mndAddShowRetrieveHandle(pMnode, TSDB_MGMT_TABLE_CLUSTER, mndRetrieveClusters); mndAddShowFreeIterHandle(pMnode, TSDB_MGMT_TABLE_CLUSTER, mndCancelGetNextCluster); @@ -406,90 +402,4 @@ static int32_t mndProcessUptimeTimer(SRpcMsg *pReq) { mndTransDrop(pTrans); return 0; -} - -static int32_t mndProcessConfigClusterReq(SRpcMsg *pReq) { - SMnode *pMnode = pReq->info.node; - SMCfgClusterReq cfgReq = {0}; - if (tDeserializeSMCfgClusterReq(pReq->pCont, pReq->contLen, &cfgReq) != 0) { - terrno = TSDB_CODE_INVALID_MSG; - return -1; - } - - int32_t code = 0; - mInfo("cluster: start to config, option:%s, value:%s", cfgReq.config, cfgReq.value); - if (mndCheckOperPrivilege(pMnode, pReq->info.conn.user, MND_OPER_CONFIG_CLUSTER) != 0) { - code = terrno != 0 ? terrno : TSDB_CODE_MND_NO_RIGHTS; - goto _exit; - } - - SClusterObj clusterObj = {0}; - void *pIter = NULL; - SClusterObj *pCluster = mndAcquireCluster(pMnode, &pIter); - if (!pCluster || pCluster->id <= 0) { - code = TSDB_CODE_APP_IS_STARTING; - if (pCluster) mndReleaseCluster(pMnode, pCluster, pIter); - goto _exit; - } - memcpy(&clusterObj, pCluster, sizeof(SClusterObj)); - mndReleaseCluster(pMnode, pCluster, pIter); - - if (strncmp(cfgReq.config, GRANT_ACTIVE_CODE, 11) == 0) { -#ifdef TD_ENTERPRISE - if (strlen(cfgReq.config) >= TSDB_DNODE_CONFIG_LEN) { - code = TSDB_CODE_INVALID_CFG; - goto _exit; - } - if (strlen(cfgReq.value) >= TSDB_DNODE_VALUE_LEN) { - code = TSDB_CODE_INVALID_CFG_VALUE; - goto _exit; - } - char *newActive = NULL; - if ((code = grantAlterActiveCode(cfgReq.value, &newActive)) != 0) { - goto _exit; - } -#else - code = TSDB_CODE_OPS_NOT_SUPPORT; - goto _exit; -#endif - } - - STrans *pTrans = mndTransCreate(pMnode, TRN_POLICY_ROLLBACK, TRN_CONFLICT_NOTHING, pReq, "update-cluster"); - if (pTrans == NULL) return -1; - - SSdbRaw *pCommitRaw = mndClusterActionEncode(&clusterObj); - if (pCommitRaw == NULL || mndTransAppendCommitlog(pTrans, pCommitRaw) != 0) { - mError("trans:%d, failed to append commit log since %s", pTrans->id, terrstr()); - mndTransDrop(pTrans); - code = terrno; - goto _exit; - } - (void)sdbSetRawStatus(pCommitRaw, SDB_STATUS_READY); - - if (mndTransPrepare(pMnode, pTrans) != 0) { - mError("trans:%d, failed to prepare since %s", pTrans->id, terrstr()); - mndTransDrop(pTrans); - code = terrno; - goto _exit; - } - - mndTransDrop(pTrans); - - { // audit - auditRecord(pReq, pMnode->clusterId, "alterCluster", "", "", cfgReq.sql, cfgReq.sqlLen); - } -_exit: - tFreeSMCfgClusterReq(&cfgReq); - if (code != 0) { - terrno = code; - mError("cluster: failed to config:%s %s since %s", cfgReq.config, cfgReq.value, terrstr()); - } else { - mInfo("cluster: success to config:%s %s", cfgReq.config, cfgReq.value); - } - return code; -} - -static int32_t mndProcessConfigClusterRsp(SRpcMsg *pRsp) { - mInfo("config rsp from cluster"); - return 0; -} +} \ No newline at end of file diff --git a/source/dnode/mnode/impl/src/mndGrant.c b/source/dnode/mnode/impl/src/mndGrant.c index 517f0cc963..75314f6772 100644 --- a/source/dnode/mnode/impl/src/mndGrant.c +++ b/source/dnode/mnode/impl/src/mndGrant.c @@ -57,6 +57,7 @@ static int32_t mndRetrieveGrant(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pBl static int32_t mndRetrieveGrantFull(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pBlock, int32_t rows) { return 0; } static int32_t mndRetrieveGrantLog(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pBlock, int32_t rows) { return 0; } +static int32_t mndRetrieveMachines(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pBlock, int32_t rows) { return 0; } static int32_t mndProcessGrantHB(SRpcMsg *pReq) { return TSDB_CODE_SUCCESS; } @@ -64,6 +65,7 @@ int32_t mndInitGrant(SMnode *pMnode) { mndAddShowRetrieveHandle(pMnode, TSDB_MGMT_TABLE_GRANTS, mndRetrieveGrant); mndAddShowRetrieveHandle(pMnode, TSDB_MGMT_TABLE_GRANTS_FULL, mndRetrieveGrantFull); mndAddShowRetrieveHandle(pMnode, TSDB_MGMT_TABLE_GRANTS_LOG, mndRetrieveGrantLog); + mndAddShowRetrieveHandle(pMnode, TSDB_MGMT_TABLE_MACHINES, mndRetrieveMachines); mndSetMsgHandle(pMnode, TDMT_MND_GRANT_HB_TIMER, mndProcessGrantHB); return 0; } diff --git a/source/dnode/mnode/impl/src/mndShow.c b/source/dnode/mnode/impl/src/mndShow.c index f770f50b64..687b5d0299 100644 --- a/source/dnode/mnode/impl/src/mndShow.c +++ b/source/dnode/mnode/impl/src/mndShow.c @@ -127,6 +127,8 @@ static int32_t convertToRetrieveType(char *name, int32_t len) { type = TSDB_MGMT_TABLE_GRANTS_FULL; } else if (strncasecmp(name, TSDB_INS_TABLE_GRANTS_LOG, len) == 0) { type = TSDB_MGMT_TABLE_GRANTS_LOG; + } else if (strncasecmp(name, TSDB_INS_TABLE_MACHINES, len) == 0) { + type = TSDB_MGMT_TABLE_MACHINES; } else { mError("invalid show name:%s len:%d", name, len); } diff --git a/source/libs/nodes/src/nodesCodeFuncs.c b/source/libs/nodes/src/nodesCodeFuncs.c index 793f14596d..254a892546 100644 --- a/source/libs/nodes/src/nodesCodeFuncs.c +++ b/source/libs/nodes/src/nodesCodeFuncs.c @@ -269,6 +269,8 @@ const char* nodesNodeName(ENodeType type) { return "ShowGrantsFullStmt"; case QUERY_NODE_SHOW_GRANTS_LOG_STMT: return "ShowGrantsLogStmt"; + case QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT: + return "ShowClusterMachinesStmt"; case QUERY_NODE_DELETE_STMT: return "DeleteStmt"; case QUERY_NODE_INSERT_STMT: @@ -6585,8 +6587,12 @@ static int32_t jsonToShowGrantsFullStmt(const SJson* pJson, void* pObj) { return static int32_t showGrantsLogStmtToJson(const void* pObj, SJson* pJson) { return showStmtToJson(pObj, pJson); } +static int32_t showClusterMachinesStmtToJson(const void* pObj, SJson* pJson) { return showStmtToJson(pObj, pJson); } + static int32_t jsonToShowGrantsLogStmt(const SJson* pJson, void* pObj) { return jsonToShowStmt(pJson, pObj); } +static int32_t jsonToShowClusterMachinesStmt(const SJson* pJson, void* pObj) { return jsonToShowStmt(pJson, pObj); } + static const char* jkShowDnodeVariablesStmtDnodeId = "DnodeId"; static const char* jkShowDnodeVariablesStmtLikePattern = "LikePattern"; @@ -7078,6 +7084,8 @@ static int32_t specificNodeToJson(const void* pObj, SJson* pJson) { return showGrantsFullStmtToJson(pObj, pJson); case QUERY_NODE_SHOW_GRANTS_LOG_STMT: return showGrantsLogStmtToJson(pObj, pJson); + case QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT: + return showClusterMachinesStmtToJson(pObj, pJson); case QUERY_NODE_SHOW_DNODE_VARIABLES_STMT: return showDnodeVariablesStmtToJson(pObj, pJson); case QUERY_NODE_SHOW_TRANSACTIONS_STMT: @@ -7407,6 +7415,8 @@ static int32_t jsonToSpecificNode(const SJson* pJson, void* pObj) { return jsonToShowGrantsFullStmt(pJson, pObj); case QUERY_NODE_SHOW_GRANTS_LOG_STMT: return jsonToShowGrantsLogStmt(pJson, pObj); + case QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT: + return jsonToShowClusterMachinesStmt(pJson, pObj); case QUERY_NODE_SHOW_DNODE_VARIABLES_STMT: return jsonToShowDnodeVariablesStmt(pJson, pObj); case QUERY_NODE_SHOW_TRANSACTIONS_STMT: diff --git a/source/libs/nodes/src/nodesUtilFuncs.c b/source/libs/nodes/src/nodesUtilFuncs.c index af50cdd74e..696971d47d 100644 --- a/source/libs/nodes/src/nodesUtilFuncs.c +++ b/source/libs/nodes/src/nodesUtilFuncs.c @@ -443,6 +443,7 @@ SNode* nodesMakeNode(ENodeType type) { case QUERY_NODE_SHOW_VIEWS_STMT: case QUERY_NODE_SHOW_GRANTS_FULL_STMT: case QUERY_NODE_SHOW_GRANTS_LOG_STMT: + case QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT: return makeNode(type, sizeof(SShowStmt)); case QUERY_NODE_SHOW_TABLE_TAGS_STMT: return makeNode(type, sizeof(SShowTableTagsStmt)); @@ -1083,7 +1084,8 @@ void nodesDestroyNode(SNode* pNode) { case QUERY_NODE_SHOW_USER_PRIVILEGES_STMT: case QUERY_NODE_SHOW_VIEWS_STMT: case QUERY_NODE_SHOW_GRANTS_FULL_STMT: - case QUERY_NODE_SHOW_GRANTS_LOG_STMT: { + case QUERY_NODE_SHOW_GRANTS_LOG_STMT: + case QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT: { SShowStmt* pStmt = (SShowStmt*)pNode; nodesDestroyNode(pStmt->pDbName); nodesDestroyNode(pStmt->pTbName); diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index 693a760627..875fe05b11 100755 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -489,6 +489,7 @@ cmd ::= SHOW LICENCES. cmd ::= SHOW GRANTS. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } cmd ::= SHOW GRANTS FULL. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_GRANTS_FULL_STMT); } cmd ::= SHOW GRANTS LOG. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_GRANTS_LOG_STMT); } +cmd ::= SHOW CLUSTER MACHINES. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT); } cmd ::= SHOW CREATE DATABASE db_name(A). { pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &A); } cmd ::= SHOW CREATE TABLE full_table_name(A). { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, A); } cmd ::= SHOW CREATE STABLE full_table_name(A). { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, A); } diff --git a/source/libs/parser/src/parAstParser.c b/source/libs/parser/src/parAstParser.c index 18c809734f..4910ba3549 100644 --- a/source/libs/parser/src/parAstParser.c +++ b/source/libs/parser/src/parAstParser.c @@ -629,6 +629,11 @@ static int32_t collectMetaKeyFromShowGrantsLog(SCollectMetaKeyCxt* pCxt, SShowSt pCxt->pMetaCache); } +static int32_t collectMetaKeyFromShowClusterMachines(SCollectMetaKeyCxt* pCxt, SShowStmt* pStmt) { + return reserveTableMetaInCache(pCxt->pParseCxt->acctId, TSDB_INFORMATION_SCHEMA_DB, TSDB_INS_TABLE_MACHINES, + pCxt->pMetaCache); +} + static int32_t collectMetaKeyFromShowCreateDatabase(SCollectMetaKeyCxt* pCxt, SShowCreateDatabaseStmt* pStmt) { return reserveDbCfgInCache(pCxt->pParseCxt->acctId, pStmt->dbName, pCxt->pMetaCache); } @@ -853,6 +858,8 @@ static int32_t collectMetaKeyFromQuery(SCollectMetaKeyCxt* pCxt, SNode* pStmt) { return collectMetaKeyFromShowGrantsFull(pCxt, (SShowStmt*)pStmt); case QUERY_NODE_SHOW_GRANTS_LOG_STMT: return collectMetaKeyFromShowGrantsLog(pCxt, (SShowStmt*)pStmt); + case QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT: + return collectMetaKeyFromShowClusterMachines(pCxt, (SShowStmt*)pStmt); case QUERY_NODE_SHOW_CREATE_DATABASE_STMT: return collectMetaKeyFromShowCreateDatabase(pCxt, (SShowCreateDatabaseStmt*)pStmt); case QUERY_NODE_SHOW_CREATE_TABLE_STMT: diff --git a/source/libs/parser/src/parAuthenticator.c b/source/libs/parser/src/parAuthenticator.c index f1e050e728..dcb452311b 100644 --- a/source/libs/parser/src/parAuthenticator.c +++ b/source/libs/parser/src/parAuthenticator.c @@ -351,6 +351,7 @@ static int32_t authQuery(SAuthCxt* pCxt, SNode* pStmt) { case QUERY_NODE_SHOW_SCORES_STMT: case QUERY_NODE_SHOW_GRANTS_FULL_STMT: case QUERY_NODE_SHOW_GRANTS_LOG_STMT: + case QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT: return !pCxt->pParseCxt->enableSysInfo ? TSDB_CODE_PAR_PERMISSION_DENIED : TSDB_CODE_SUCCESS; case QUERY_NODE_SHOW_TABLES_STMT: case QUERY_NODE_SHOW_STABLES_STMT: diff --git a/source/libs/parser/src/parTokenizer.c b/source/libs/parser/src/parTokenizer.c index ee4ae24872..7f486dfc7b 100644 --- a/source/libs/parser/src/parTokenizer.c +++ b/source/libs/parser/src/parTokenizer.c @@ -111,6 +111,7 @@ static SKeyword keywordTable[] = { {"GRANTS", TK_GRANTS}, {"FULL", TK_FULL}, {"LOG", TK_LOG}, + {"MACHINES", TK_MACHINES}, {"GROUP", TK_GROUP}, {"HAVING", TK_HAVING}, {"HOST", TK_HOST}, diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index 536eb568b1..c5efdab533 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -275,12 +275,18 @@ static const SSysTableShowAdapter sysTableShowAdapter[] = { .numOfShowCols = 1, .pShowCols = {"*"} }, - { .showType = QUERY_NODE_SHOW_GRANTS_FULL_STMT, + { .showType = QUERY_NODE_SHOW_GRANTS_LOG_STMT, .pDbName = TSDB_INFORMATION_SCHEMA_DB, .pTableName = TSDB_INS_TABLE_GRANTS_LOG, .numOfShowCols = 1, .pShowCols = {"*"} }, + { .showType = QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT, + .pDbName = TSDB_INFORMATION_SCHEMA_DB, + .pTableName = TSDB_INS_TABLE_MACHINES, + .numOfShowCols = 1, + .pShowCols = {"*"} + }, }; // clang-format on @@ -10650,6 +10656,7 @@ static int32_t rewriteQuery(STranslateContext* pCxt, SQuery* pQuery) { case QUERY_NODE_SHOW_VIEWS_STMT: case QUERY_NODE_SHOW_GRANTS_FULL_STMT: case QUERY_NODE_SHOW_GRANTS_LOG_STMT: + case QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT: code = rewriteShow(pCxt, pQuery); break; case QUERY_NODE_SHOW_VGROUPS_STMT: diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index de2a94eb20..0b0dc657b1 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -104,29 +104,29 @@ #endif /************* Begin control #defines *****************************************/ #define YYCODETYPE unsigned short int -#define YYNOCODE 510 +#define YYNOCODE 511 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; - EOperatorType yy20; - int32_t yy40; - EFillMode yy114; - int8_t yy143; - SDataType yy184; - SShowTablesOption yy277; - SNodeList* yy364; - int64_t yy429; - EShowKind yy430; - bool yy437; - ENullOrder yy517; - SAlterOption yy665; - EJoinType yy732; - STokenPair yy777; - SToken yy929; - EOrder yy938; - SNode* yy992; + EOperatorType yy30; + EJoinType yy246; + int64_t yy277; + ENullOrder yy361; + STokenPair yy483; + SNode* yy490; + SNodeList* yy502; + SAlterOption yy529; + SToken yy561; + EShowKind yy579; + EFillMode yy718; + int32_t yy774; + SDataType yy826; + bool yy845; + EOrder yy876; + SShowTablesOption yy961; + int8_t yy1013; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -142,18 +142,18 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 845 -#define YYNRULE 646 -#define YYNRULE_WITH_ACTION 646 -#define YYNTOKEN 349 -#define YY_MAX_SHIFT 844 -#define YY_MIN_SHIFTREDUCE 1247 -#define YY_MAX_SHIFTREDUCE 1892 -#define YY_ERROR_ACTION 1893 -#define YY_ACCEPT_ACTION 1894 -#define YY_NO_ACTION 1895 -#define YY_MIN_REDUCE 1896 -#define YY_MAX_REDUCE 2541 +#define YYNSTATE 846 +#define YYNRULE 647 +#define YYNRULE_WITH_ACTION 647 +#define YYNTOKEN 350 +#define YY_MAX_SHIFT 845 +#define YY_MIN_SHIFTREDUCE 1248 +#define YY_MAX_SHIFTREDUCE 1894 +#define YY_ERROR_ACTION 1895 +#define YY_ACCEPT_ACTION 1896 +#define YY_NO_ACTION 1897 +#define YY_MIN_REDUCE 1898 +#define YY_MAX_REDUCE 2544 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -220,889 +220,879 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (3138) +#define YY_ACTTAB_COUNT (3083) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 482, 2199, 174, 466, 1908, 2302, 422, 2448, 465, 2132, - /* 10 */ 2134, 420, 48, 46, 1816, 1896, 732, 237, 2405, 168, - /* 20 */ 417, 567, 1657, 1947, 41, 40, 399, 2088, 47, 45, - /* 30 */ 44, 43, 42, 2445, 2137, 1742, 1982, 1655, 196, 136, - /* 40 */ 135, 134, 133, 132, 131, 130, 129, 128, 2343, 219, - /* 50 */ 2126, 68, 2139, 672, 2223, 672, 2512, 691, 2512, 382, - /* 60 */ 564, 712, 184, 565, 1939, 1737, 1897, 2137, 692, 410, - /* 70 */ 9, 19, 2220, 717, 2518, 203, 2518, 203, 1663, 2513, - /* 80 */ 698, 2513, 698, 1683, 384, 2361, 2203, 127, 95, 2361, - /* 90 */ 126, 125, 124, 123, 122, 121, 120, 119, 118, 1682, - /* 100 */ 796, 2309, 1985, 746, 841, 386, 1313, 15, 1312, 816, - /* 110 */ 815, 814, 813, 429, 2081, 812, 811, 151, 806, 805, - /* 120 */ 804, 803, 802, 801, 800, 150, 794, 793, 792, 428, - /* 130 */ 427, 789, 788, 787, 183, 182, 786, 697, 2223, 173, - /* 140 */ 2512, 1314, 2342, 1744, 1745, 2380, 690, 2025, 114, 2344, - /* 150 */ 750, 2346, 2347, 745, 63, 740, 2221, 717, 696, 203, - /* 160 */ 186, 184, 2433, 2513, 698, 798, 413, 2429, 783, 161, - /* 170 */ 160, 780, 779, 778, 158, 626, 625, 624, 2448, 1717, - /* 180 */ 1727, 205, 616, 143, 620, 2204, 1743, 1746, 619, 2463, - /* 190 */ 2139, 2517, 729, 618, 623, 392, 391, 398, 2319, 617, - /* 200 */ 656, 1658, 613, 1656, 2444, 2137, 1486, 1487, 1685, 1889, - /* 210 */ 41, 40, 2327, 63, 47, 45, 44, 43, 42, 272, - /* 220 */ 584, 127, 2323, 271, 126, 125, 124, 123, 122, 121, - /* 230 */ 120, 119, 118, 1661, 1662, 1714, 1682, 1716, 1719, 1720, - /* 240 */ 1721, 1722, 1723, 1724, 1725, 1726, 742, 738, 1735, 1736, - /* 250 */ 1738, 1739, 1740, 1741, 2, 48, 46, 473, 1556, 1557, - /* 260 */ 364, 1683, 1680, 417, 239, 1657, 2325, 414, 567, 515, - /* 270 */ 1947, 2343, 534, 376, 574, 2262, 740, 533, 1742, 51, - /* 280 */ 1655, 41, 40, 1714, 747, 47, 45, 44, 43, 42, - /* 290 */ 1313, 98, 1312, 496, 371, 535, 1882, 397, 1805, 646, - /* 300 */ 367, 498, 531, 529, 2271, 365, 30, 142, 1737, 217, - /* 310 */ 1820, 476, 2361, 1888, 19, 1451, 1682, 1771, 304, 730, - /* 320 */ 2086, 1663, 709, 146, 2309, 1314, 746, 38, 320, 1442, - /* 330 */ 775, 774, 773, 1446, 772, 1448, 1449, 771, 768, 208, - /* 340 */ 1457, 765, 1459, 1460, 762, 759, 756, 841, 385, 687, - /* 350 */ 15, 47, 45, 44, 43, 42, 41, 40, 274, 484, - /* 360 */ 47, 45, 44, 43, 42, 2342, 2133, 2134, 2380, 302, - /* 370 */ 729, 176, 2344, 750, 2346, 2347, 745, 304, 740, 2063, - /* 380 */ 1772, 1859, 730, 2086, 1576, 1577, 1744, 1745, 2517, 2210, - /* 390 */ 2189, 2512, 522, 521, 520, 519, 514, 513, 512, 511, - /* 400 */ 368, 1847, 56, 504, 503, 502, 501, 493, 492, 491, - /* 410 */ 2516, 486, 485, 383, 2513, 2515, 581, 477, 1544, 1545, - /* 420 */ 730, 2086, 1717, 1727, 1563, 699, 2533, 1575, 1578, 1743, - /* 430 */ 1746, 711, 201, 2441, 2442, 2319, 144, 2446, 730, 2086, - /* 440 */ 137, 693, 688, 681, 1658, 63, 1656, 607, 2448, 2077, - /* 450 */ 684, 683, 1845, 1846, 1848, 1849, 1850, 729, 470, 2323, - /* 460 */ 37, 415, 1766, 1767, 1768, 1769, 1770, 1774, 1775, 1776, - /* 470 */ 1777, 2062, 582, 2216, 2443, 1718, 1661, 1662, 1714, 106, - /* 480 */ 1716, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 742, - /* 490 */ 738, 1735, 1736, 1738, 1739, 1740, 1741, 2, 12, 48, - /* 500 */ 46, 2343, 569, 2325, 2079, 1682, 1287, 417, 566, 1657, - /* 510 */ 1394, 14, 13, 740, 747, 783, 161, 160, 780, 779, - /* 520 */ 778, 158, 1742, 34, 1655, 1294, 450, 488, 2199, 41, - /* 530 */ 40, 1715, 2343, 47, 45, 44, 43, 42, 464, 655, - /* 540 */ 463, 785, 2361, 95, 51, 747, 580, 1949, 1289, 1292, - /* 550 */ 1293, 1396, 1737, 12, 2309, 10, 746, 1294, 19, 626, - /* 560 */ 625, 624, 99, 426, 425, 1663, 616, 143, 620, 2082, - /* 570 */ 462, 2303, 619, 2361, 1919, 111, 221, 618, 623, 392, - /* 580 */ 391, 1292, 1293, 617, 108, 2309, 613, 746, 1664, 517, - /* 590 */ 2199, 841, 63, 1604, 15, 2342, 730, 2086, 2380, 2343, - /* 600 */ 1685, 114, 2344, 750, 2346, 2347, 745, 2139, 740, 304, - /* 610 */ 2139, 149, 747, 156, 2404, 2433, 137, 407, 1785, 413, - /* 620 */ 2429, 672, 716, 612, 2512, 2137, 2342, 2309, 1894, 2380, - /* 630 */ 1744, 1745, 114, 2344, 750, 2346, 2347, 745, 226, 740, - /* 640 */ 2361, 411, 2518, 203, 2532, 785, 2433, 2513, 698, 171, - /* 650 */ 413, 2429, 2309, 454, 746, 41, 40, 2088, 2330, 47, - /* 660 */ 45, 44, 43, 42, 41, 40, 1717, 1727, 47, 45, - /* 670 */ 44, 43, 42, 1743, 1746, 799, 390, 389, 2047, 1752, - /* 680 */ 456, 452, 709, 146, 653, 1682, 1316, 1317, 1658, 148, - /* 690 */ 1656, 2319, 2404, 2342, 572, 2293, 2380, 565, 1939, 114, - /* 700 */ 2344, 750, 2346, 2347, 745, 2328, 740, 432, 304, 311, - /* 710 */ 312, 2408, 431, 2433, 310, 2323, 2332, 413, 2429, 525, - /* 720 */ 1661, 1662, 1714, 1663, 1716, 1719, 1720, 1721, 1722, 1723, - /* 730 */ 1724, 1725, 1726, 742, 738, 1735, 1736, 1738, 1739, 1740, - /* 740 */ 1741, 2, 48, 46, 1747, 2343, 439, 1657, 388, 387, - /* 750 */ 417, 609, 1657, 644, 1667, 1858, 304, 672, 712, 2325, - /* 760 */ 2512, 302, 1655, 12, 1832, 1742, 420, 1655, 642, 740, - /* 770 */ 640, 269, 268, 611, 171, 2343, 1839, 610, 2518, 203, - /* 780 */ 776, 227, 2088, 2513, 698, 52, 2361, 734, 747, 2405, - /* 790 */ 2471, 1840, 300, 2441, 708, 1737, 138, 707, 2309, 2512, - /* 800 */ 746, 325, 561, 1663, 524, 523, 730, 2086, 1663, 2517, - /* 810 */ 223, 559, 2512, 159, 555, 551, 2361, 696, 203, 171, - /* 820 */ 730, 2086, 2513, 698, 2172, 423, 471, 2089, 2309, 841, - /* 830 */ 746, 2516, 1838, 171, 841, 2513, 2514, 49, 2157, 2342, - /* 840 */ 490, 2088, 2380, 2343, 1718, 114, 2344, 750, 2346, 2347, - /* 850 */ 745, 90, 740, 651, 89, 1686, 747, 186, 2484, 2433, - /* 860 */ 656, 730, 2086, 413, 2429, 730, 2086, 1918, 2139, 2342, - /* 870 */ 730, 2086, 2380, 1744, 1745, 114, 2344, 750, 2346, 2347, - /* 880 */ 745, 505, 740, 725, 2361, 506, 2464, 2532, 55, 2433, - /* 890 */ 507, 603, 602, 413, 2429, 197, 2309, 2075, 746, 334, - /* 900 */ 1715, 36, 2116, 672, 605, 604, 2512, 41, 40, 1717, - /* 910 */ 1727, 47, 45, 44, 43, 42, 1743, 1746, 614, 88, - /* 920 */ 2309, 730, 2086, 2139, 2518, 203, 1658, 1682, 1656, 2513, - /* 930 */ 698, 1658, 671, 1656, 658, 2262, 1686, 2342, 2138, 1917, - /* 940 */ 2380, 583, 1391, 114, 2344, 750, 2346, 2347, 745, 304, - /* 950 */ 740, 44, 43, 42, 1296, 2532, 2071, 2433, 1661, 1662, - /* 960 */ 1681, 413, 2429, 1661, 1662, 1714, 2026, 1716, 1719, 1720, - /* 970 */ 1721, 1722, 1723, 1724, 1725, 1726, 742, 738, 1735, 1736, - /* 980 */ 1738, 1739, 1740, 1741, 2, 48, 46, 2343, 500, 730, - /* 990 */ 2086, 255, 2309, 417, 2073, 1657, 499, 510, 509, 2139, - /* 1000 */ 747, 273, 679, 730, 2086, 633, 412, 178, 1742, 2083, - /* 1010 */ 1655, 622, 621, 2516, 2137, 3, 601, 597, 593, 589, - /* 1020 */ 645, 254, 1813, 275, 2064, 41, 40, 54, 2361, 47, - /* 1030 */ 45, 44, 43, 42, 730, 2086, 270, 1686, 1737, 1773, - /* 1040 */ 2309, 1406, 746, 1410, 730, 2086, 2139, 730, 2086, 1916, - /* 1050 */ 657, 1663, 636, 421, 283, 2069, 1405, 152, 1409, 630, - /* 1060 */ 628, 2137, 96, 61, 715, 252, 267, 315, 41, 40, - /* 1070 */ 1687, 669, 47, 45, 44, 43, 42, 841, 1625, 1626, - /* 1080 */ 49, 2342, 1682, 2343, 2380, 1686, 1718, 114, 2344, 750, - /* 1090 */ 2346, 2347, 745, 2182, 740, 713, 747, 194, 2505, 2532, - /* 1100 */ 672, 2433, 2309, 2512, 1915, 413, 2429, 72, 730, 2086, - /* 1110 */ 71, 1914, 730, 2086, 730, 2086, 1744, 1745, 2061, 35, - /* 1120 */ 1913, 2518, 203, 536, 2361, 538, 2513, 698, 727, 1778, - /* 1130 */ 242, 2290, 728, 611, 321, 480, 2309, 610, 746, 251, - /* 1140 */ 244, 1912, 1715, 810, 808, 672, 249, 578, 2512, 730, - /* 1150 */ 2086, 1687, 1717, 1727, 701, 709, 146, 2309, 777, 1743, - /* 1160 */ 1746, 2130, 709, 146, 2309, 241, 2518, 203, 648, 424, - /* 1170 */ 647, 2513, 698, 2309, 1658, 2090, 1656, 2342, 697, 1911, - /* 1180 */ 2380, 2512, 1910, 114, 2344, 750, 2346, 2347, 745, 1907, - /* 1190 */ 740, 1906, 2453, 1805, 2309, 2532, 1905, 2433, 199, 696, - /* 1200 */ 203, 413, 2429, 737, 2513, 698, 1661, 1662, 1714, 1904, - /* 1210 */ 1716, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 742, - /* 1220 */ 738, 1735, 1736, 1738, 1739, 1740, 1741, 2, 48, 46, - /* 1230 */ 2343, 1903, 2309, 159, 159, 2309, 417, 1902, 1657, 1901, - /* 1240 */ 1900, 170, 2309, 747, 2309, 2452, 198, 781, 704, 2309, - /* 1250 */ 2130, 1742, 1687, 1655, 783, 161, 160, 780, 779, 778, - /* 1260 */ 158, 112, 2309, 1899, 76, 202, 2441, 2442, 284, 144, - /* 1270 */ 2446, 2361, 204, 2441, 2442, 1666, 144, 2446, 147, 782, - /* 1280 */ 280, 1737, 2130, 2309, 2309, 746, 2078, 1924, 836, 139, - /* 1290 */ 2309, 1812, 2309, 2309, 1663, 260, 262, 1715, 258, 261, - /* 1300 */ 1687, 86, 700, 264, 266, 615, 263, 265, 1620, 1623, - /* 1310 */ 50, 50, 100, 187, 741, 87, 2309, 1891, 1892, 159, - /* 1320 */ 841, 1969, 50, 15, 2342, 1665, 2343, 2380, 1967, 1389, - /* 1330 */ 114, 2344, 750, 2346, 2347, 745, 1909, 740, 309, 747, - /* 1340 */ 1958, 1956, 2532, 627, 2433, 426, 425, 75, 413, 2429, - /* 1350 */ 629, 14, 13, 2477, 297, 1671, 790, 157, 210, 1744, - /* 1360 */ 1745, 141, 631, 634, 159, 1763, 791, 2361, 1742, 1349, - /* 1370 */ 1664, 66, 50, 685, 291, 2023, 2022, 50, 2362, 2309, - /* 1380 */ 1368, 746, 2208, 1940, 2467, 1844, 1843, 682, 289, 403, - /* 1390 */ 1366, 1950, 689, 719, 714, 1717, 1727, 1573, 1737, 754, - /* 1400 */ 430, 157, 1743, 1746, 159, 140, 157, 400, 2209, 1946, - /* 1410 */ 1350, 1663, 2127, 313, 665, 702, 2468, 1658, 2478, 1656, - /* 1420 */ 2342, 710, 722, 2380, 296, 299, 114, 2344, 750, 2346, - /* 1430 */ 2347, 745, 317, 740, 2048, 5, 303, 736, 2406, 1436, - /* 1440 */ 2433, 1669, 433, 834, 413, 2429, 1779, 1728, 438, 1661, - /* 1450 */ 1662, 1714, 333, 1716, 1719, 1720, 1721, 1722, 1723, 1724, - /* 1460 */ 1725, 1726, 742, 738, 1735, 1736, 1738, 1739, 1740, 1741, - /* 1470 */ 2, 380, 172, 446, 1464, 447, 1468, 340, 1690, 1475, - /* 1480 */ 1473, 162, 458, 457, 211, 212, 460, 214, 328, 1597, - /* 1490 */ 1680, 1668, 474, 1681, 338, 74, 483, 225, 73, 481, - /* 1500 */ 2343, 487, 489, 494, 527, 508, 526, 516, 366, 2201, - /* 1510 */ 518, 705, 528, 747, 539, 540, 537, 230, 2343, 229, - /* 1520 */ 235, 546, 544, 541, 542, 543, 232, 545, 547, 1688, - /* 1530 */ 562, 747, 4, 563, 1672, 570, 1667, 571, 573, 1683, - /* 1540 */ 240, 2361, 92, 243, 575, 1689, 576, 1691, 246, 577, - /* 1550 */ 579, 1692, 248, 2309, 2217, 746, 93, 2280, 608, 2361, - /* 1560 */ 94, 63, 585, 253, 606, 637, 1675, 1677, 116, 638, - /* 1570 */ 2076, 2309, 650, 746, 257, 2072, 360, 276, 97, 652, - /* 1580 */ 738, 1735, 1736, 1738, 1739, 1740, 1741, 1684, 259, 164, - /* 1590 */ 165, 153, 2074, 2277, 649, 2070, 2276, 2380, 2343, 64, - /* 1600 */ 352, 2344, 750, 2346, 2347, 745, 166, 740, 329, 660, - /* 1610 */ 167, 747, 2342, 659, 281, 2380, 664, 667, 342, 2344, - /* 1620 */ 750, 2346, 2347, 745, 8, 740, 676, 686, 2263, 661, - /* 1630 */ 695, 720, 2455, 2483, 286, 2482, 677, 666, 675, 2361, - /* 1640 */ 674, 279, 290, 288, 179, 292, 293, 84, 83, 469, - /* 1650 */ 706, 2309, 216, 746, 295, 404, 703, 294, 1805, 2511, - /* 1660 */ 298, 145, 1685, 2535, 1810, 461, 459, 1808, 190, 2449, - /* 1670 */ 305, 154, 330, 718, 2231, 2230, 363, 2343, 2229, 448, - /* 1680 */ 331, 409, 445, 441, 437, 434, 462, 723, 155, 105, - /* 1690 */ 747, 724, 2342, 332, 2087, 2380, 1, 62, 114, 2344, - /* 1700 */ 750, 2346, 2347, 745, 206, 740, 2414, 107, 2343, 752, - /* 1710 */ 733, 2131, 2433, 335, 1271, 838, 413, 2429, 2361, 835, - /* 1720 */ 163, 747, 359, 53, 840, 304, 339, 372, 2301, 323, - /* 1730 */ 2309, 373, 746, 2300, 2343, 2299, 81, 2294, 435, 436, - /* 1740 */ 1648, 344, 337, 1649, 209, 2292, 358, 747, 440, 2361, - /* 1750 */ 442, 348, 443, 1647, 444, 2291, 381, 2289, 449, 2288, - /* 1760 */ 451, 2309, 2287, 746, 453, 2286, 455, 1636, 2267, 213, - /* 1770 */ 2266, 2342, 215, 1600, 2380, 2361, 82, 115, 2344, 750, - /* 1780 */ 2346, 2347, 745, 1599, 740, 2244, 2243, 2309, 2242, 746, - /* 1790 */ 467, 2433, 468, 2241, 2240, 2432, 2429, 2191, 472, 1543, - /* 1800 */ 2188, 475, 2342, 2343, 2187, 2380, 2181, 479, 115, 2344, - /* 1810 */ 750, 2346, 2347, 745, 478, 740, 744, 2178, 218, 2343, - /* 1820 */ 2177, 2176, 2433, 85, 2175, 2180, 735, 2429, 748, 220, - /* 1830 */ 2179, 2380, 747, 2174, 115, 2344, 750, 2346, 2347, 745, - /* 1840 */ 2173, 740, 2171, 2170, 2361, 2169, 222, 495, 2433, 2168, - /* 1850 */ 497, 2184, 375, 2429, 2167, 2166, 2309, 2165, 746, 91, - /* 1860 */ 2361, 2164, 2163, 2186, 2162, 2161, 2160, 2159, 2158, 2156, - /* 1870 */ 2155, 2154, 2309, 2153, 746, 224, 2343, 2152, 2151, 2150, - /* 1880 */ 2149, 2148, 2147, 2185, 2183, 2146, 2145, 2144, 228, 747, - /* 1890 */ 2143, 530, 2142, 532, 1549, 2141, 2140, 2342, 1407, 1988, - /* 1900 */ 2380, 231, 369, 356, 2344, 750, 2346, 2347, 745, 743, - /* 1910 */ 740, 731, 2398, 2342, 2343, 1411, 2380, 2361, 1987, 175, - /* 1920 */ 2344, 750, 2346, 2347, 745, 233, 740, 747, 1403, 2309, - /* 1930 */ 1986, 746, 1984, 2343, 1981, 548, 550, 1980, 370, 234, - /* 1940 */ 549, 552, 554, 1973, 556, 558, 747, 1960, 553, 560, - /* 1950 */ 1935, 2343, 557, 236, 185, 2361, 78, 1934, 2329, 195, - /* 1960 */ 1295, 673, 2474, 238, 747, 568, 79, 2309, 245, 746, - /* 1970 */ 2342, 2265, 2261, 2380, 2361, 2251, 115, 2344, 750, 2346, - /* 1980 */ 2347, 745, 2239, 740, 2238, 250, 2309, 247, 746, 2215, - /* 1990 */ 2433, 2065, 2361, 1983, 1342, 2430, 1979, 401, 586, 587, - /* 2000 */ 588, 1977, 590, 591, 2309, 592, 746, 1975, 2342, 596, - /* 2010 */ 594, 2380, 1972, 595, 175, 2344, 750, 2346, 2347, 745, - /* 2020 */ 598, 740, 600, 1955, 1953, 599, 1954, 2342, 1952, 2343, - /* 2030 */ 2380, 1931, 2067, 350, 2344, 750, 2346, 2347, 745, 1480, - /* 2040 */ 740, 1479, 747, 65, 256, 2342, 2066, 1393, 2380, 807, - /* 2050 */ 1392, 357, 2344, 750, 2346, 2347, 745, 2475, 740, 1390, - /* 2060 */ 1379, 2343, 1388, 1970, 1387, 393, 1386, 1385, 809, 1968, - /* 2070 */ 2361, 1384, 394, 1381, 747, 402, 1380, 1378, 1959, 694, - /* 2080 */ 395, 1957, 2309, 396, 746, 635, 632, 1930, 1929, 1928, - /* 2090 */ 639, 1927, 641, 1926, 643, 117, 1630, 1632, 1634, 1629, - /* 2100 */ 2264, 29, 2361, 278, 57, 69, 2260, 1606, 58, 2250, - /* 2110 */ 1610, 2237, 1608, 282, 2309, 169, 746, 662, 2236, 663, - /* 2120 */ 1585, 668, 1584, 2342, 2517, 20, 2380, 31, 2343, 357, - /* 2130 */ 2344, 750, 2346, 2347, 745, 6, 740, 670, 21, 67, - /* 2140 */ 22, 747, 2235, 189, 2343, 1861, 7, 678, 285, 33, - /* 2150 */ 680, 200, 287, 1842, 1876, 2342, 177, 744, 2380, 188, - /* 2160 */ 24, 176, 2344, 750, 2346, 2347, 745, 1875, 740, 2361, - /* 2170 */ 405, 32, 2330, 1831, 408, 80, 1880, 1879, 406, 1881, - /* 2180 */ 301, 2309, 17, 746, 1882, 2361, 59, 1802, 1801, 23, - /* 2190 */ 60, 18, 2214, 180, 102, 2213, 721, 2309, 103, 746, - /* 2200 */ 316, 101, 108, 319, 25, 26, 308, 1837, 191, 1754, - /* 2210 */ 11, 2343, 13, 1673, 1764, 314, 2534, 181, 192, 70, - /* 2220 */ 104, 2383, 2342, 1732, 747, 2380, 739, 2343, 357, 2344, - /* 2230 */ 750, 2346, 2347, 745, 1753, 740, 1730, 654, 2342, 39, - /* 2240 */ 747, 2380, 1729, 1699, 356, 2344, 750, 2346, 2347, 745, - /* 2250 */ 16, 740, 2361, 2399, 27, 844, 1707, 416, 28, 753, - /* 2260 */ 419, 1465, 751, 1462, 2309, 755, 746, 757, 2361, 758, - /* 2270 */ 760, 327, 1461, 418, 761, 763, 766, 769, 1458, 1452, - /* 2280 */ 2309, 764, 746, 767, 322, 1450, 770, 193, 1456, 1455, - /* 2290 */ 109, 1454, 749, 1453, 110, 1474, 832, 828, 824, 820, - /* 2300 */ 77, 324, 1470, 1340, 1375, 2342, 784, 1372, 2380, 1371, - /* 2310 */ 1370, 357, 2344, 750, 2346, 2347, 745, 795, 740, 1369, - /* 2320 */ 2343, 2342, 1367, 1365, 2380, 1364, 1363, 357, 2344, 750, - /* 2330 */ 2346, 2347, 745, 747, 740, 1401, 207, 1400, 797, 2343, - /* 2340 */ 1358, 1361, 113, 1360, 1359, 318, 1357, 1356, 1355, 1397, - /* 2350 */ 1395, 1352, 747, 1351, 1348, 1346, 1347, 2343, 1345, 1978, - /* 2360 */ 817, 2361, 819, 1976, 821, 1974, 818, 825, 823, 1971, - /* 2370 */ 747, 827, 829, 2309, 1951, 746, 822, 726, 831, 833, - /* 2380 */ 2361, 1284, 826, 830, 1925, 837, 1272, 843, 326, 839, - /* 2390 */ 1895, 842, 2309, 1659, 746, 336, 1895, 1895, 2361, 1895, - /* 2400 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2410 */ 2309, 1895, 746, 1895, 2342, 1895, 1895, 2380, 1895, 307, - /* 2420 */ 341, 2344, 750, 2346, 2347, 745, 306, 740, 1895, 1895, - /* 2430 */ 1895, 1895, 1895, 2342, 1895, 2343, 2380, 1895, 1895, 343, - /* 2440 */ 2344, 750, 2346, 2347, 745, 277, 740, 1895, 747, 1895, - /* 2450 */ 1895, 2342, 1895, 1895, 2380, 2343, 1895, 349, 2344, 750, - /* 2460 */ 2346, 2347, 745, 1895, 740, 1895, 1895, 1895, 747, 1895, - /* 2470 */ 1895, 1895, 1895, 1895, 1895, 1895, 2361, 1895, 1895, 1895, - /* 2480 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2309, 1895, - /* 2490 */ 746, 1895, 1895, 1895, 1895, 1895, 2361, 1895, 1895, 1895, - /* 2500 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2309, 1895, - /* 2510 */ 746, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2520 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2342, - /* 2530 */ 1895, 1895, 2380, 1895, 2343, 353, 2344, 750, 2346, 2347, - /* 2540 */ 745, 1895, 740, 1895, 1895, 1895, 1895, 747, 1895, 2342, - /* 2550 */ 2343, 1895, 2380, 1895, 1895, 345, 2344, 750, 2346, 2347, - /* 2560 */ 745, 1895, 740, 747, 1895, 1895, 1895, 1895, 1895, 2343, - /* 2570 */ 1895, 1895, 1895, 1895, 1895, 2361, 1895, 1895, 1895, 1895, - /* 2580 */ 1895, 1895, 747, 1895, 1895, 1895, 1895, 2309, 1895, 746, - /* 2590 */ 1895, 2361, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2600 */ 1895, 1895, 1895, 2309, 1895, 746, 1895, 1895, 1895, 1895, - /* 2610 */ 2361, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2620 */ 1895, 1895, 2309, 1895, 746, 1895, 1895, 1895, 2342, 1895, - /* 2630 */ 1895, 2380, 1895, 1895, 354, 2344, 750, 2346, 2347, 745, - /* 2640 */ 1895, 740, 1895, 1895, 2342, 1895, 1895, 2380, 1895, 2343, - /* 2650 */ 346, 2344, 750, 2346, 2347, 745, 1895, 740, 1895, 1895, - /* 2660 */ 1895, 1895, 747, 2342, 2343, 1895, 2380, 1895, 1895, 355, - /* 2670 */ 2344, 750, 2346, 2347, 745, 1895, 740, 747, 1895, 1895, - /* 2680 */ 2343, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2690 */ 2361, 1895, 1895, 747, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2700 */ 1895, 1895, 2309, 1895, 746, 2361, 1895, 1895, 1895, 1895, - /* 2710 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2309, 1895, 746, - /* 2720 */ 1895, 2361, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2730 */ 1895, 1895, 1895, 2309, 1895, 746, 1895, 1895, 1895, 1895, - /* 2740 */ 1895, 1895, 1895, 2342, 1895, 1895, 2380, 2343, 1895, 347, - /* 2750 */ 2344, 750, 2346, 2347, 745, 1895, 740, 1895, 2342, 1895, - /* 2760 */ 747, 2380, 1895, 2343, 361, 2344, 750, 2346, 2347, 745, - /* 2770 */ 1895, 740, 1895, 1895, 2342, 1895, 747, 2380, 2343, 1895, - /* 2780 */ 362, 2344, 750, 2346, 2347, 745, 1895, 740, 2361, 1895, - /* 2790 */ 1895, 747, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2800 */ 2309, 1895, 746, 1895, 2361, 1895, 1895, 1895, 1895, 1895, - /* 2810 */ 1895, 1895, 1895, 1895, 1895, 1895, 2309, 1895, 746, 2361, - /* 2820 */ 1895, 2343, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2830 */ 1895, 2309, 1895, 746, 747, 1895, 1895, 1895, 1895, 1895, - /* 2840 */ 1895, 2342, 1895, 2343, 2380, 1895, 1895, 2355, 2344, 750, - /* 2850 */ 2346, 2347, 745, 1895, 740, 1895, 747, 2342, 1895, 1895, - /* 2860 */ 2380, 1895, 2361, 2354, 2344, 750, 2346, 2347, 745, 1895, - /* 2870 */ 740, 1895, 2342, 1895, 2309, 2380, 746, 1895, 2353, 2344, - /* 2880 */ 750, 2346, 2347, 745, 2361, 740, 1895, 1895, 1895, 1895, - /* 2890 */ 1895, 1895, 1895, 1895, 1895, 1895, 2309, 1895, 746, 1895, - /* 2900 */ 2343, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2910 */ 1895, 1895, 1895, 747, 1895, 2342, 2343, 1895, 2380, 1895, - /* 2920 */ 1895, 377, 2344, 750, 2346, 2347, 745, 1895, 740, 747, - /* 2930 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2342, 1895, 1895, - /* 2940 */ 2380, 2361, 1895, 378, 2344, 750, 2346, 2347, 745, 1895, - /* 2950 */ 740, 1895, 1895, 2309, 1895, 746, 1895, 2361, 1895, 1895, - /* 2960 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2309, - /* 2970 */ 1895, 746, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2980 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 2990 */ 1895, 1895, 1895, 1895, 2342, 1895, 1895, 2380, 1895, 1895, - /* 3000 */ 374, 2344, 750, 2346, 2347, 745, 1895, 740, 1895, 1895, - /* 3010 */ 2342, 1895, 1895, 2380, 1895, 2343, 379, 2344, 750, 2346, - /* 3020 */ 2347, 745, 1895, 740, 1895, 1895, 1895, 1895, 747, 1895, - /* 3030 */ 2343, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 3040 */ 1895, 1895, 1895, 747, 1895, 1895, 1895, 1895, 1895, 1895, - /* 3050 */ 1895, 1895, 1895, 1895, 1895, 1895, 2361, 1895, 1895, 1895, - /* 3060 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2309, 1895, - /* 3070 */ 746, 2361, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 3080 */ 1895, 1895, 1895, 2309, 1895, 746, 1895, 1895, 1895, 1895, - /* 3090 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, - /* 3100 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 748, - /* 3110 */ 1895, 1895, 2380, 1895, 1895, 352, 2344, 750, 2346, 2347, - /* 3120 */ 745, 1895, 740, 1895, 2342, 1895, 1895, 2380, 1895, 1895, - /* 3130 */ 351, 2344, 750, 2346, 2347, 745, 1895, 740, + /* 0 */ 1921, 2322, 565, 2077, 466, 566, 1941, 14, 13, 465, + /* 10 */ 2175, 2305, 48, 46, 1818, 2330, 2520, 34, 411, 2515, + /* 20 */ 417, 1684, 1659, 41, 40, 2326, 171, 47, 45, 44, + /* 30 */ 43, 42, 2073, 645, 2090, 1744, 1984, 1657, 2519, 731, + /* 40 */ 2088, 698, 2516, 2518, 2515, 2346, 38, 320, 643, 582, + /* 50 */ 641, 269, 268, 2312, 673, 710, 146, 2515, 713, 137, + /* 60 */ 112, 673, 697, 203, 2515, 1739, 608, 2516, 699, 2328, + /* 70 */ 414, 19, 174, 2226, 1910, 2521, 203, 147, 1665, 741, + /* 80 */ 2516, 699, 2521, 203, 2226, 2080, 2364, 2516, 699, 41, + /* 90 */ 40, 2224, 718, 47, 45, 44, 43, 42, 2312, 410, + /* 100 */ 747, 585, 2223, 718, 842, 583, 2219, 15, 473, 817, + /* 110 */ 816, 815, 814, 429, 1787, 813, 812, 151, 807, 806, + /* 120 */ 805, 804, 803, 802, 801, 150, 795, 794, 793, 428, + /* 130 */ 427, 790, 789, 788, 183, 182, 787, 2064, 1314, 2345, + /* 140 */ 1313, 63, 2383, 1746, 1747, 114, 2347, 751, 2349, 2350, + /* 150 */ 746, 730, 741, 532, 530, 142, 366, 186, 573, 2436, + /* 160 */ 217, 566, 1941, 413, 2432, 300, 2444, 709, 570, 138, + /* 170 */ 708, 509, 2515, 1315, 567, 508, 184, 2141, 205, 2520, + /* 180 */ 1719, 1729, 2515, 507, 382, 656, 2466, 1745, 1748, 1860, + /* 190 */ 697, 203, 2139, 710, 146, 2516, 699, 1898, 384, 688, + /* 200 */ 2206, 2519, 1660, 63, 1658, 2516, 2517, 786, 196, 710, + /* 210 */ 146, 41, 40, 731, 2088, 47, 45, 44, 43, 42, + /* 220 */ 2128, 136, 135, 134, 133, 132, 131, 130, 129, 128, + /* 230 */ 730, 482, 2202, 208, 1663, 1664, 1716, 52, 1718, 1721, + /* 240 */ 1722, 1723, 1724, 1725, 1726, 1727, 1728, 743, 739, 1737, + /* 250 */ 1738, 1740, 1741, 1742, 1743, 2, 48, 46, 581, 2520, + /* 260 */ 1685, 364, 698, 1682, 417, 2515, 1659, 731, 2088, 99, + /* 270 */ 516, 237, 2346, 535, 376, 568, 1687, 1949, 534, 1744, + /* 280 */ 219, 1657, 692, 697, 203, 745, 272, 56, 2516, 699, + /* 290 */ 271, 694, 689, 682, 496, 450, 536, 464, 1687, 463, + /* 300 */ 1606, 365, 498, 202, 2444, 2445, 304, 144, 2449, 1739, + /* 310 */ 2364, 657, 476, 2364, 1684, 19, 1452, 51, 1773, 204, + /* 320 */ 2444, 2445, 1665, 144, 2449, 2312, 68, 747, 3, 462, + /* 330 */ 1443, 776, 775, 774, 1447, 773, 1449, 1450, 772, 769, + /* 340 */ 54, 1458, 766, 1460, 1461, 763, 760, 757, 842, 385, + /* 350 */ 1684, 15, 784, 161, 160, 781, 780, 779, 158, 98, + /* 360 */ 484, 1987, 371, 2451, 1884, 397, 2345, 647, 304, 2383, + /* 370 */ 2185, 691, 356, 2347, 751, 2349, 2350, 746, 744, 741, + /* 380 */ 732, 2401, 1774, 1578, 1579, 575, 2265, 1746, 1747, 2448, + /* 390 */ 2213, 2192, 1920, 523, 522, 521, 520, 515, 514, 513, + /* 400 */ 512, 368, 304, 710, 146, 502, 501, 500, 499, 493, + /* 410 */ 492, 491, 480, 486, 485, 383, 797, 731, 2088, 477, + /* 420 */ 1546, 1547, 173, 454, 1719, 1729, 1565, 1577, 1580, 63, + /* 430 */ 2027, 1745, 1748, 1297, 627, 626, 625, 137, 302, 1683, + /* 440 */ 730, 617, 143, 621, 613, 2312, 1660, 620, 1658, 184, + /* 450 */ 456, 452, 619, 624, 392, 391, 488, 2202, 618, 1684, + /* 460 */ 302, 614, 37, 415, 1768, 1769, 1770, 1771, 1772, 1776, + /* 470 */ 1777, 1778, 1779, 2207, 1558, 1559, 390, 389, 1663, 1664, + /* 480 */ 1716, 799, 1718, 1721, 1722, 1723, 1724, 1725, 1726, 1727, + /* 490 */ 1728, 743, 739, 1737, 1738, 1740, 1741, 1742, 1743, 2, + /* 500 */ 12, 48, 46, 2346, 738, 221, 2135, 2136, 2322, 417, + /* 510 */ 1720, 1659, 712, 201, 2444, 2445, 748, 144, 2449, 239, + /* 520 */ 159, 1685, 2079, 568, 1744, 1949, 1657, 51, 12, 36, + /* 530 */ 10, 2322, 2326, 95, 2346, 41, 40, 731, 2088, 47, + /* 540 */ 45, 44, 43, 42, 2364, 2331, 63, 713, 388, 387, + /* 550 */ 386, 610, 731, 2088, 1739, 2326, 2312, 470, 747, 2083, + /* 560 */ 19, 627, 626, 625, 731, 2088, 1717, 1665, 617, 143, + /* 570 */ 621, 693, 471, 612, 620, 2364, 2328, 611, 2519, 619, + /* 580 */ 624, 392, 391, 2141, 490, 618, 741, 2312, 614, 747, + /* 590 */ 398, 604, 603, 842, 304, 55, 15, 2345, 2139, 2328, + /* 600 */ 2383, 2346, 786, 114, 2347, 751, 2349, 2350, 746, 741, + /* 610 */ 741, 1317, 1318, 149, 748, 156, 2407, 2436, 9, 41, + /* 620 */ 40, 413, 2432, 47, 45, 44, 43, 42, 2345, 654, + /* 630 */ 1896, 2383, 1746, 1747, 114, 2347, 751, 2349, 2350, 746, + /* 640 */ 2274, 741, 2364, 1822, 1487, 1488, 186, 657, 2436, 1684, + /* 650 */ 518, 2202, 413, 2432, 2312, 127, 747, 1899, 126, 125, + /* 660 */ 124, 123, 122, 121, 120, 119, 118, 1765, 422, 1719, + /* 670 */ 1729, 2134, 2136, 1754, 2451, 2467, 1745, 1748, 127, 1684, + /* 680 */ 12, 126, 125, 124, 123, 122, 121, 120, 119, 118, + /* 690 */ 672, 1660, 304, 1658, 274, 2345, 731, 2088, 2383, 226, + /* 700 */ 2447, 114, 2347, 751, 2349, 2350, 746, 1919, 741, 432, + /* 710 */ 420, 304, 777, 2411, 431, 2436, 503, 159, 171, 413, + /* 720 */ 2432, 659, 2265, 1663, 1664, 1716, 2090, 1718, 1721, 1722, + /* 730 */ 1723, 1724, 1725, 1726, 1727, 1728, 743, 739, 1737, 1738, + /* 740 */ 1740, 1741, 1742, 1743, 2, 48, 46, 1749, 2346, 420, + /* 750 */ 426, 425, 634, 417, 1407, 1659, 1841, 168, 423, 673, + /* 760 */ 2312, 748, 2515, 1951, 399, 2090, 171, 646, 1744, 1406, + /* 770 */ 1657, 1842, 2139, 2159, 2090, 1666, 731, 2088, 2346, 106, + /* 780 */ 2521, 203, 95, 270, 1775, 2516, 699, 1716, 1314, 2364, + /* 790 */ 1313, 748, 1622, 2474, 223, 2141, 504, 1688, 1739, 637, + /* 800 */ 1395, 2312, 407, 747, 2081, 1891, 631, 629, 2084, 1720, + /* 810 */ 2139, 1665, 1840, 267, 47, 45, 44, 43, 42, 2364, + /* 820 */ 41, 40, 61, 1315, 47, 45, 44, 43, 42, 526, + /* 830 */ 670, 2312, 1688, 747, 1688, 90, 537, 842, 89, 1720, + /* 840 */ 49, 1397, 2345, 731, 2088, 2383, 2346, 1807, 114, 2347, + /* 850 */ 751, 2349, 2350, 746, 72, 741, 1659, 71, 1665, 748, + /* 860 */ 2535, 2487, 2436, 505, 35, 1717, 413, 2432, 701, 731, + /* 870 */ 2088, 1657, 2345, 1849, 1780, 2383, 1746, 1747, 114, 2347, + /* 880 */ 751, 2349, 2350, 746, 273, 741, 1918, 2364, 2065, 584, + /* 890 */ 2535, 227, 2436, 2141, 562, 1717, 413, 2432, 1815, 2312, + /* 900 */ 412, 747, 334, 560, 88, 2118, 556, 552, 2139, 1890, + /* 910 */ 731, 2088, 1665, 1719, 1729, 525, 524, 1917, 325, 1411, + /* 920 */ 1745, 1748, 685, 684, 1847, 1848, 1850, 1851, 1852, 2141, + /* 930 */ 2085, 1295, 511, 510, 1410, 1660, 421, 1658, 842, 2312, + /* 940 */ 2345, 612, 1669, 2383, 2139, 611, 114, 2347, 751, 2349, + /* 950 */ 2350, 746, 1916, 741, 1915, 1293, 1294, 1914, 2535, 194, + /* 960 */ 2436, 2075, 1627, 1628, 413, 2432, 2071, 1663, 1664, 1716, + /* 970 */ 2312, 1718, 1721, 1722, 1723, 1724, 1725, 1726, 1727, 1728, + /* 980 */ 743, 739, 1737, 1738, 1740, 1741, 1742, 1743, 2, 48, + /* 990 */ 46, 2346, 606, 605, 199, 2063, 198, 417, 733, 1659, + /* 1000 */ 2408, 539, 623, 622, 748, 2312, 680, 2312, 800, 2092, + /* 1010 */ 2312, 2049, 1744, 1689, 1657, 41, 40, 731, 2088, 47, + /* 1020 */ 45, 44, 43, 42, 784, 161, 160, 781, 780, 779, + /* 1030 */ 158, 171, 2364, 44, 43, 42, 1660, 275, 1658, 2091, + /* 1040 */ 30, 2451, 1739, 280, 2312, 1688, 747, 1913, 1689, 1684, + /* 1050 */ 1689, 311, 312, 41, 40, 1665, 310, 47, 45, 44, + /* 1060 */ 43, 42, 731, 2088, 1288, 1912, 2293, 2446, 1663, 1664, + /* 1070 */ 41, 40, 1909, 2346, 47, 45, 44, 43, 42, 731, + /* 1080 */ 2088, 842, 283, 1295, 49, 2345, 748, 148, 2383, 2346, + /* 1090 */ 2407, 114, 2347, 751, 2349, 2350, 746, 2141, 741, 716, + /* 1100 */ 2312, 702, 748, 2535, 2508, 2436, 1290, 1293, 1294, 413, + /* 1110 */ 2432, 735, 717, 2408, 2364, 1861, 811, 809, 2312, 401, + /* 1120 */ 1746, 1747, 2066, 731, 2088, 2312, 2312, 197, 747, 1908, + /* 1130 */ 2364, 784, 161, 160, 781, 780, 779, 158, 742, 2141, + /* 1140 */ 731, 2088, 2312, 315, 747, 76, 731, 2088, 2141, 731, + /* 1150 */ 2088, 731, 2088, 1834, 726, 152, 1907, 1719, 1729, 778, + /* 1160 */ 424, 1906, 2132, 2140, 1745, 1748, 728, 2345, 1814, 729, + /* 1170 */ 2383, 321, 2028, 357, 2347, 751, 2349, 2350, 746, 1660, + /* 1180 */ 741, 1658, 2312, 2345, 1905, 1904, 2383, 2456, 1807, 114, + /* 1190 */ 2347, 751, 2349, 2350, 746, 1911, 741, 87, 2306, 1903, + /* 1200 */ 652, 2535, 782, 2436, 1902, 2132, 1901, 413, 2432, 2312, + /* 1210 */ 284, 1663, 1664, 1716, 2312, 1718, 1721, 1722, 1723, 1724, + /* 1220 */ 1725, 1726, 1727, 1728, 743, 739, 1737, 1738, 1740, 1741, + /* 1230 */ 1742, 1743, 2, 48, 46, 139, 783, 2312, 2312, 2132, + /* 1240 */ 1971, 417, 615, 1659, 170, 1926, 837, 86, 673, 2296, + /* 1250 */ 673, 2515, 2312, 2515, 100, 2346, 1744, 2312, 1657, 2312, + /* 1260 */ 616, 1689, 628, 255, 260, 1717, 1392, 258, 748, 2521, + /* 1270 */ 203, 2521, 203, 1969, 2516, 699, 2516, 699, 262, 178, + /* 1280 */ 264, 261, 266, 263, 1390, 265, 1739, 1960, 602, 598, + /* 1290 */ 594, 590, 1958, 254, 210, 630, 2364, 41, 40, 1665, + /* 1300 */ 439, 47, 45, 44, 43, 42, 2480, 159, 2312, 632, + /* 1310 */ 747, 649, 705, 648, 635, 50, 50, 2333, 172, 187, + /* 1320 */ 1893, 1894, 1668, 340, 159, 842, 14, 13, 15, 50, + /* 1330 */ 309, 75, 2346, 297, 96, 686, 1667, 252, 1350, 658, + /* 1340 */ 338, 74, 157, 159, 73, 748, 66, 2455, 791, 2345, + /* 1350 */ 792, 141, 2383, 50, 367, 175, 2347, 751, 2349, 2350, + /* 1360 */ 746, 111, 741, 703, 1746, 1747, 235, 547, 545, 542, + /* 1370 */ 108, 291, 1369, 2364, 1367, 2335, 2025, 714, 2365, 1351, + /* 1380 */ 2024, 2211, 1625, 50, 1942, 2312, 2470, 747, 683, 673, + /* 1390 */ 1846, 1845, 2515, 403, 289, 690, 400, 674, 2477, 715, + /* 1400 */ 720, 1719, 1729, 242, 1575, 313, 723, 63, 1745, 1748, + /* 1410 */ 2521, 203, 251, 244, 1948, 2516, 699, 317, 1437, 249, + /* 1420 */ 579, 1781, 430, 1660, 2212, 1658, 2345, 673, 1730, 2383, + /* 1430 */ 2515, 1952, 114, 2347, 751, 2349, 2350, 746, 241, 741, + /* 1440 */ 755, 157, 2129, 159, 2535, 64, 2436, 140, 2521, 203, + /* 1450 */ 413, 2432, 157, 2516, 699, 1663, 1664, 1716, 333, 1718, + /* 1460 */ 1721, 1722, 1723, 1724, 1725, 1726, 1727, 1728, 743, 739, + /* 1470 */ 1737, 1738, 1740, 1741, 1742, 1743, 2, 666, 2471, 296, + /* 1480 */ 2481, 426, 425, 835, 2346, 711, 303, 299, 2050, 1671, + /* 1490 */ 5, 1673, 438, 433, 84, 83, 469, 748, 380, 216, + /* 1500 */ 446, 1692, 447, 1670, 1744, 458, 1666, 457, 212, 214, + /* 1510 */ 460, 2346, 461, 459, 1599, 1465, 1469, 211, 1476, 328, + /* 1520 */ 1682, 474, 1474, 363, 748, 2364, 448, 162, 1683, 445, + /* 1530 */ 441, 437, 434, 462, 1739, 481, 225, 2312, 483, 747, + /* 1540 */ 487, 489, 528, 506, 494, 517, 2204, 1665, 519, 527, + /* 1550 */ 529, 540, 2364, 541, 538, 230, 543, 229, 544, 232, + /* 1560 */ 546, 548, 1690, 563, 2312, 4, 747, 571, 564, 572, + /* 1570 */ 574, 240, 304, 737, 92, 1685, 706, 243, 2345, 576, + /* 1580 */ 2346, 2383, 1691, 577, 114, 2347, 751, 2349, 2350, 746, + /* 1590 */ 1693, 741, 578, 748, 246, 1694, 2409, 580, 2436, 248, + /* 1600 */ 93, 586, 413, 2432, 607, 2345, 2220, 94, 2383, 253, + /* 1610 */ 360, 114, 2347, 751, 2349, 2350, 746, 609, 741, 638, + /* 1620 */ 116, 2364, 639, 734, 2283, 2436, 2078, 651, 257, 413, + /* 1630 */ 2432, 2074, 259, 2312, 653, 747, 164, 165, 2076, 2072, + /* 1640 */ 97, 153, 166, 276, 167, 2280, 1686, 2279, 661, 329, + /* 1650 */ 2266, 662, 660, 281, 279, 687, 2486, 721, 668, 665, + /* 1660 */ 8, 667, 677, 2485, 696, 675, 404, 678, 676, 2458, + /* 1670 */ 2538, 1674, 294, 1669, 2345, 290, 179, 2383, 707, 293, + /* 1680 */ 115, 2347, 751, 2349, 2350, 746, 286, 741, 288, 295, + /* 1690 */ 292, 2514, 704, 1807, 2436, 2346, 655, 145, 2435, 2432, + /* 1700 */ 1687, 1812, 298, 1677, 1679, 2452, 1810, 1, 748, 719, + /* 1710 */ 190, 305, 154, 2234, 845, 724, 155, 739, 1737, 1738, + /* 1720 */ 1740, 1741, 1742, 1743, 2233, 2232, 330, 2346, 331, 409, + /* 1730 */ 327, 725, 105, 2133, 2089, 332, 2364, 62, 107, 2417, + /* 1740 */ 748, 206, 1272, 335, 753, 839, 193, 836, 2312, 841, + /* 1750 */ 747, 323, 163, 372, 53, 833, 829, 825, 821, 359, + /* 1760 */ 324, 373, 2346, 339, 2304, 337, 2303, 2302, 2364, 344, + /* 1770 */ 81, 358, 348, 2297, 435, 748, 436, 1650, 1651, 209, + /* 1780 */ 2312, 440, 747, 2295, 442, 443, 444, 1649, 2294, 2345, + /* 1790 */ 381, 2292, 2383, 449, 2291, 115, 2347, 751, 2349, 2350, + /* 1800 */ 746, 113, 741, 2364, 318, 451, 2290, 453, 2289, 2436, + /* 1810 */ 1638, 455, 2270, 736, 2432, 2312, 213, 747, 2269, 215, + /* 1820 */ 1602, 749, 82, 1601, 2383, 2247, 2246, 115, 2347, 751, + /* 1830 */ 2349, 2350, 746, 2245, 741, 2346, 727, 467, 468, 2244, + /* 1840 */ 2243, 2436, 2194, 2191, 472, 375, 2432, 1545, 748, 2190, + /* 1850 */ 475, 2184, 479, 478, 2181, 2180, 2345, 2179, 2346, 2383, + /* 1860 */ 218, 2178, 176, 2347, 751, 2349, 2350, 746, 85, 741, + /* 1870 */ 2183, 748, 2182, 220, 2177, 2176, 2364, 2174, 2346, 307, + /* 1880 */ 222, 495, 2171, 497, 2169, 2168, 306, 2173, 2312, 2172, + /* 1890 */ 747, 748, 2167, 2346, 2166, 2189, 2165, 2164, 2163, 2364, + /* 1900 */ 2187, 2170, 2162, 2161, 2160, 277, 748, 2158, 2157, 2156, + /* 1910 */ 2155, 2312, 2154, 747, 224, 2152, 700, 2536, 2153, 2364, + /* 1920 */ 2151, 91, 2150, 2149, 402, 2188, 2186, 2148, 2147, 2345, + /* 1930 */ 2146, 2312, 2383, 747, 2364, 115, 2347, 751, 2349, 2350, + /* 1940 */ 746, 1551, 741, 2145, 228, 2144, 2312, 531, 747, 2436, + /* 1950 */ 533, 2143, 2345, 2142, 2433, 2383, 1408, 1412, 175, 2347, + /* 1960 */ 751, 2349, 2350, 746, 1990, 741, 369, 370, 1404, 1989, + /* 1970 */ 231, 233, 2345, 1988, 1986, 2383, 234, 1983, 357, 2347, + /* 1980 */ 751, 2349, 2350, 746, 549, 741, 551, 2345, 1982, 2346, + /* 1990 */ 2383, 550, 553, 350, 2347, 751, 2349, 2350, 746, 554, + /* 2000 */ 741, 2478, 748, 555, 1975, 557, 1962, 558, 559, 561, + /* 2010 */ 1937, 185, 236, 78, 2332, 1296, 1936, 2268, 79, 195, + /* 2020 */ 2264, 2254, 238, 2242, 569, 2346, 245, 247, 2241, 250, + /* 2030 */ 2364, 2218, 2067, 1985, 1343, 1981, 587, 588, 748, 695, + /* 2040 */ 589, 1979, 2312, 592, 747, 591, 1977, 593, 595, 597, + /* 2050 */ 1974, 596, 599, 600, 601, 1957, 1955, 2346, 1956, 1954, + /* 2060 */ 1933, 2069, 1481, 256, 65, 1480, 2364, 1394, 1972, 1380, + /* 2070 */ 745, 408, 2068, 1393, 1391, 1389, 1388, 1387, 2312, 1386, + /* 2080 */ 747, 1385, 808, 2345, 810, 1382, 2383, 393, 1970, 176, + /* 2090 */ 2347, 751, 2349, 2350, 746, 394, 741, 1961, 2364, 1381, + /* 2100 */ 1379, 395, 1959, 396, 1932, 633, 636, 1931, 1930, 1929, + /* 2110 */ 2312, 640, 747, 642, 1928, 644, 117, 1632, 2267, 2345, + /* 2120 */ 1634, 1631, 2383, 57, 278, 357, 2347, 751, 2349, 2350, + /* 2130 */ 746, 29, 741, 69, 2346, 1636, 2263, 1608, 1612, 58, + /* 2140 */ 2253, 1610, 663, 169, 2537, 664, 2240, 748, 2239, 669, + /* 2150 */ 2346, 2345, 2520, 1863, 2383, 20, 17, 356, 2347, 751, + /* 2160 */ 2349, 2350, 746, 748, 741, 1587, 2402, 282, 2346, 1586, + /* 2170 */ 671, 31, 21, 285, 6, 2364, 679, 7, 287, 200, + /* 2180 */ 416, 748, 2333, 22, 177, 681, 1844, 2312, 189, 747, + /* 2190 */ 33, 2364, 188, 32, 67, 24, 418, 1833, 80, 2238, + /* 2200 */ 1883, 23, 1884, 2312, 1878, 747, 1877, 405, 1882, 2364, + /* 2210 */ 18, 1881, 406, 1804, 1803, 301, 59, 60, 2217, 101, + /* 2220 */ 102, 2312, 180, 747, 25, 2216, 108, 103, 2345, 308, + /* 2230 */ 191, 2383, 314, 2346, 357, 2347, 751, 2349, 2350, 746, + /* 2240 */ 1839, 741, 70, 722, 2345, 104, 748, 2383, 26, 319, + /* 2250 */ 357, 2347, 751, 2349, 2350, 746, 1756, 741, 1755, 13, + /* 2260 */ 11, 1675, 650, 1766, 1734, 2383, 2386, 2346, 352, 2347, + /* 2270 */ 751, 2349, 2350, 746, 2364, 741, 1732, 181, 192, 316, + /* 2280 */ 748, 1709, 752, 740, 39, 754, 2312, 1731, 747, 1701, + /* 2290 */ 2346, 750, 1457, 16, 27, 28, 1341, 1466, 419, 756, + /* 2300 */ 758, 1463, 759, 748, 1462, 761, 1459, 764, 2364, 762, + /* 2310 */ 765, 767, 1453, 768, 770, 1451, 771, 109, 1456, 322, + /* 2320 */ 2312, 110, 747, 77, 1475, 1455, 1471, 2345, 1376, 1454, + /* 2330 */ 2383, 2364, 1373, 342, 2347, 751, 2349, 2350, 746, 1372, + /* 2340 */ 741, 207, 785, 2312, 1371, 747, 1370, 2346, 1368, 1366, + /* 2350 */ 1365, 1364, 796, 798, 1402, 1362, 1401, 1361, 1360, 1359, + /* 2360 */ 748, 2345, 1358, 1357, 2383, 1356, 1398, 341, 2347, 751, + /* 2370 */ 2349, 2350, 746, 1396, 741, 1353, 1352, 1349, 1348, 1347, + /* 2380 */ 1346, 1980, 818, 819, 2345, 823, 820, 2383, 2364, 1978, + /* 2390 */ 343, 2347, 751, 2349, 2350, 746, 822, 741, 824, 1976, + /* 2400 */ 2312, 826, 747, 827, 828, 1973, 830, 832, 1953, 831, + /* 2410 */ 834, 1285, 1927, 1273, 326, 838, 840, 1897, 1661, 336, + /* 2420 */ 2346, 843, 844, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2430 */ 1897, 1897, 1897, 748, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2440 */ 2346, 2345, 1897, 1897, 2383, 1897, 1897, 349, 2347, 751, + /* 2450 */ 2349, 2350, 746, 748, 741, 1897, 1897, 1897, 1897, 1897, + /* 2460 */ 1897, 2364, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2470 */ 1897, 1897, 1897, 2312, 1897, 747, 1897, 1897, 1897, 1897, + /* 2480 */ 1897, 2364, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2490 */ 1897, 1897, 1897, 2312, 1897, 747, 1897, 1897, 2346, 1897, + /* 2500 */ 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2510 */ 1897, 748, 1897, 2346, 2345, 1897, 1897, 2383, 1897, 1897, + /* 2520 */ 353, 2347, 751, 2349, 2350, 746, 748, 741, 1897, 1897, + /* 2530 */ 1897, 1897, 1897, 1897, 2345, 2346, 1897, 2383, 1897, 2364, + /* 2540 */ 345, 2347, 751, 2349, 2350, 746, 1897, 741, 748, 1897, + /* 2550 */ 1897, 2312, 1897, 747, 2364, 1897, 1897, 1897, 1897, 1897, + /* 2560 */ 1897, 1897, 1897, 1897, 1897, 1897, 2312, 1897, 747, 1897, + /* 2570 */ 1897, 1897, 1897, 1897, 1897, 1897, 2364, 1897, 1897, 1897, + /* 2580 */ 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 2312, 1897, + /* 2590 */ 747, 1897, 2345, 2346, 1897, 2383, 1897, 1897, 354, 2347, + /* 2600 */ 751, 2349, 2350, 746, 1897, 741, 748, 2345, 2346, 1897, + /* 2610 */ 2383, 1897, 1897, 346, 2347, 751, 2349, 2350, 746, 1897, + /* 2620 */ 741, 748, 1897, 1897, 1897, 1897, 1897, 1897, 2346, 2345, + /* 2630 */ 1897, 1897, 2383, 1897, 2364, 355, 2347, 751, 2349, 2350, + /* 2640 */ 746, 748, 741, 1897, 1897, 1897, 2312, 1897, 747, 2364, + /* 2650 */ 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2660 */ 1897, 2312, 1897, 747, 1897, 1897, 1897, 1897, 1897, 2364, + /* 2670 */ 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2680 */ 1897, 2312, 1897, 747, 1897, 1897, 1897, 2345, 1897, 1897, + /* 2690 */ 2383, 1897, 1897, 347, 2347, 751, 2349, 2350, 746, 1897, + /* 2700 */ 741, 2346, 2345, 1897, 1897, 2383, 1897, 1897, 361, 2347, + /* 2710 */ 751, 2349, 2350, 746, 748, 741, 1897, 1897, 1897, 1897, + /* 2720 */ 1897, 2346, 2345, 1897, 1897, 2383, 1897, 1897, 362, 2347, + /* 2730 */ 751, 2349, 2350, 746, 748, 741, 1897, 1897, 2346, 1897, + /* 2740 */ 1897, 1897, 2364, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2750 */ 1897, 748, 1897, 1897, 2312, 1897, 747, 1897, 1897, 1897, + /* 2760 */ 1897, 1897, 2364, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2770 */ 1897, 1897, 1897, 1897, 2312, 1897, 747, 1897, 1897, 2364, + /* 2780 */ 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2790 */ 1897, 2312, 1897, 747, 1897, 2345, 1897, 1897, 2383, 1897, + /* 2800 */ 1897, 2358, 2347, 751, 2349, 2350, 746, 2346, 741, 1897, + /* 2810 */ 1897, 1897, 1897, 1897, 1897, 2345, 1897, 1897, 2383, 1897, + /* 2820 */ 748, 2357, 2347, 751, 2349, 2350, 746, 1897, 741, 1897, + /* 2830 */ 1897, 1897, 2345, 1897, 1897, 2383, 1897, 1897, 2356, 2347, + /* 2840 */ 751, 2349, 2350, 746, 1897, 741, 1897, 1897, 2364, 1897, + /* 2850 */ 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2860 */ 2312, 1897, 747, 1897, 1897, 2346, 1897, 1897, 1897, 1897, + /* 2870 */ 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 748, 1897, + /* 2880 */ 2346, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2890 */ 1897, 1897, 1897, 748, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2900 */ 1897, 2345, 2346, 1897, 2383, 1897, 2364, 377, 2347, 751, + /* 2910 */ 2349, 2350, 746, 1897, 741, 748, 1897, 1897, 2312, 1897, + /* 2920 */ 747, 2364, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2930 */ 1897, 1897, 1897, 2312, 1897, 747, 1897, 1897, 1897, 1897, + /* 2940 */ 1897, 1897, 1897, 2364, 1897, 1897, 1897, 1897, 1897, 1897, + /* 2950 */ 1897, 1897, 1897, 1897, 1897, 2312, 1897, 747, 1897, 2345, + /* 2960 */ 2346, 1897, 2383, 1897, 1897, 378, 2347, 751, 2349, 2350, + /* 2970 */ 746, 1897, 741, 748, 2345, 2346, 1897, 2383, 1897, 1897, + /* 2980 */ 374, 2347, 751, 2349, 2350, 746, 1897, 741, 748, 1897, + /* 2990 */ 1897, 1897, 1897, 1897, 1897, 1897, 2345, 1897, 1897, 2383, + /* 3000 */ 1897, 2364, 379, 2347, 751, 2349, 2350, 746, 1897, 741, + /* 3010 */ 1897, 1897, 1897, 2312, 1897, 747, 2364, 1897, 1897, 1897, + /* 3020 */ 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 2312, 1897, + /* 3030 */ 747, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 3040 */ 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, 1897, + /* 3050 */ 1897, 1897, 1897, 1897, 749, 1897, 1897, 2383, 1897, 1897, + /* 3060 */ 352, 2347, 751, 2349, 2350, 746, 1897, 741, 1897, 2345, + /* 3070 */ 1897, 1897, 2383, 1897, 1897, 351, 2347, 751, 2349, 2350, + /* 3080 */ 746, 1897, 741, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 364, 365, 351, 428, 353, 428, 403, 451, 433, 406, - /* 10 */ 407, 385, 12, 13, 14, 0, 463, 360, 465, 393, - /* 20 */ 20, 364, 22, 366, 8, 9, 400, 401, 12, 13, - /* 30 */ 14, 15, 16, 477, 408, 35, 0, 37, 392, 24, - /* 40 */ 25, 26, 27, 28, 29, 30, 31, 32, 352, 413, - /* 50 */ 404, 4, 393, 478, 407, 478, 481, 365, 481, 400, - /* 60 */ 359, 365, 393, 362, 363, 65, 0, 408, 20, 422, - /* 70 */ 42, 71, 425, 426, 499, 500, 499, 500, 78, 504, - /* 80 */ 505, 504, 505, 20, 415, 393, 417, 21, 373, 393, - /* 90 */ 24, 25, 26, 27, 28, 29, 30, 31, 32, 20, - /* 100 */ 13, 405, 0, 407, 104, 390, 20, 107, 22, 73, - /* 110 */ 74, 75, 76, 77, 399, 79, 80, 81, 82, 83, + /* 0 */ 353, 382, 360, 395, 429, 363, 364, 1, 2, 434, + /* 10 */ 0, 429, 12, 13, 14, 396, 479, 2, 386, 482, + /* 20 */ 20, 20, 22, 8, 9, 406, 394, 12, 13, 14, + /* 30 */ 15, 16, 395, 21, 402, 35, 0, 37, 501, 365, + /* 40 */ 366, 479, 505, 506, 482, 353, 468, 469, 36, 365, + /* 50 */ 38, 39, 40, 406, 479, 365, 366, 482, 366, 385, + /* 60 */ 372, 479, 500, 501, 482, 65, 392, 505, 506, 450, + /* 70 */ 451, 71, 352, 408, 354, 500, 501, 389, 78, 460, + /* 80 */ 505, 506, 500, 501, 408, 397, 394, 505, 506, 8, + /* 90 */ 9, 426, 427, 12, 13, 14, 15, 16, 406, 423, + /* 100 */ 408, 70, 426, 427, 104, 421, 422, 107, 365, 73, + /* 110 */ 74, 75, 76, 77, 108, 79, 80, 81, 82, 83, /* 120 */ 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - /* 130 */ 94, 95, 96, 97, 98, 99, 100, 478, 407, 374, - /* 140 */ 481, 55, 446, 143, 144, 449, 454, 382, 452, 453, - /* 150 */ 454, 455, 456, 457, 107, 459, 425, 426, 499, 500, - /* 160 */ 464, 393, 466, 504, 505, 78, 470, 471, 136, 137, - /* 170 */ 138, 139, 140, 141, 142, 73, 74, 75, 451, 179, - /* 180 */ 180, 485, 80, 81, 82, 417, 186, 187, 86, 493, - /* 190 */ 393, 3, 20, 91, 92, 93, 94, 400, 381, 97, - /* 200 */ 364, 201, 100, 203, 477, 408, 143, 144, 20, 193, - /* 210 */ 8, 9, 395, 107, 12, 13, 14, 15, 16, 138, - /* 220 */ 70, 21, 405, 142, 24, 25, 26, 27, 28, 29, - /* 230 */ 30, 31, 32, 233, 234, 235, 20, 237, 238, 239, + /* 130 */ 94, 95, 96, 97, 98, 99, 100, 0, 20, 447, + /* 140 */ 22, 107, 450, 143, 144, 453, 454, 455, 456, 457, + /* 150 */ 458, 20, 460, 410, 411, 37, 413, 465, 360, 467, + /* 160 */ 417, 363, 364, 471, 472, 475, 476, 477, 14, 479, + /* 170 */ 480, 161, 482, 55, 20, 165, 394, 394, 486, 479, + /* 180 */ 180, 181, 482, 173, 401, 20, 494, 187, 188, 108, + /* 190 */ 500, 501, 409, 365, 366, 505, 506, 0, 416, 186, + /* 200 */ 418, 501, 202, 107, 204, 505, 506, 70, 393, 365, + /* 210 */ 366, 8, 9, 365, 366, 12, 13, 14, 15, 16, + /* 220 */ 405, 24, 25, 26, 27, 28, 29, 30, 31, 32, + /* 230 */ 20, 365, 366, 385, 234, 235, 236, 107, 238, 239, /* 240 */ 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, - /* 250 */ 250, 251, 252, 253, 254, 12, 13, 364, 179, 180, - /* 260 */ 18, 20, 20, 20, 360, 22, 449, 450, 364, 27, - /* 270 */ 366, 352, 30, 71, 438, 439, 459, 35, 35, 107, - /* 280 */ 37, 8, 9, 235, 365, 12, 13, 14, 15, 16, - /* 290 */ 20, 210, 22, 51, 213, 53, 108, 216, 270, 218, - /* 300 */ 58, 59, 409, 410, 389, 412, 33, 37, 65, 416, - /* 310 */ 14, 69, 393, 297, 71, 104, 20, 115, 271, 364, - /* 320 */ 365, 78, 364, 365, 405, 55, 407, 467, 468, 118, - /* 330 */ 119, 120, 121, 122, 123, 124, 125, 126, 127, 384, - /* 340 */ 129, 130, 131, 132, 133, 134, 135, 104, 106, 185, - /* 350 */ 107, 12, 13, 14, 15, 16, 8, 9, 443, 117, - /* 360 */ 12, 13, 14, 15, 16, 446, 406, 407, 449, 181, - /* 370 */ 20, 452, 453, 454, 455, 456, 457, 271, 459, 0, - /* 380 */ 178, 108, 364, 365, 143, 144, 143, 144, 478, 147, - /* 390 */ 148, 481, 150, 151, 152, 153, 154, 155, 156, 157, - /* 400 */ 158, 233, 384, 161, 162, 163, 164, 165, 166, 167, - /* 410 */ 500, 169, 170, 171, 504, 505, 364, 175, 176, 177, - /* 420 */ 364, 365, 179, 180, 182, 506, 507, 186, 187, 186, - /* 430 */ 187, 473, 474, 475, 476, 381, 478, 479, 364, 365, - /* 440 */ 384, 277, 278, 279, 201, 107, 203, 391, 451, 395, - /* 450 */ 282, 283, 284, 285, 286, 287, 288, 20, 384, 405, - /* 460 */ 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, - /* 470 */ 268, 0, 420, 421, 477, 179, 233, 234, 235, 371, - /* 480 */ 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - /* 490 */ 247, 248, 249, 250, 251, 252, 253, 254, 255, 12, - /* 500 */ 13, 352, 14, 449, 396, 20, 4, 20, 20, 22, - /* 510 */ 37, 1, 2, 459, 365, 136, 137, 138, 139, 140, - /* 520 */ 141, 142, 35, 2, 37, 23, 69, 364, 365, 8, - /* 530 */ 9, 235, 352, 12, 13, 14, 15, 16, 200, 20, - /* 540 */ 202, 70, 393, 373, 107, 365, 20, 367, 46, 47, - /* 550 */ 48, 78, 65, 255, 405, 257, 407, 23, 71, 73, - /* 560 */ 74, 75, 174, 12, 13, 78, 80, 81, 82, 399, - /* 570 */ 232, 428, 86, 393, 352, 107, 413, 91, 92, 93, - /* 580 */ 94, 47, 48, 97, 116, 405, 100, 407, 37, 364, - /* 590 */ 365, 104, 107, 205, 107, 446, 364, 365, 449, 352, - /* 600 */ 20, 452, 453, 454, 455, 456, 457, 393, 459, 271, - /* 610 */ 393, 462, 365, 464, 465, 466, 384, 400, 108, 470, - /* 620 */ 471, 478, 408, 391, 481, 408, 446, 405, 349, 449, - /* 630 */ 143, 144, 452, 453, 454, 455, 456, 457, 413, 459, - /* 640 */ 393, 385, 499, 500, 464, 70, 466, 504, 505, 393, - /* 650 */ 470, 471, 405, 196, 407, 8, 9, 401, 49, 12, - /* 660 */ 13, 14, 15, 16, 8, 9, 179, 180, 12, 13, - /* 670 */ 14, 15, 16, 186, 187, 380, 39, 40, 383, 14, - /* 680 */ 223, 224, 364, 365, 117, 20, 56, 57, 201, 462, - /* 690 */ 203, 381, 465, 446, 359, 0, 449, 362, 363, 452, - /* 700 */ 453, 454, 455, 456, 457, 395, 459, 428, 271, 137, - /* 710 */ 138, 464, 433, 466, 142, 405, 107, 470, 471, 87, - /* 720 */ 233, 234, 235, 78, 237, 238, 239, 240, 241, 242, - /* 730 */ 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, - /* 740 */ 253, 254, 12, 13, 14, 352, 51, 22, 111, 112, - /* 750 */ 20, 114, 22, 21, 203, 108, 271, 478, 365, 449, - /* 760 */ 481, 181, 37, 255, 108, 35, 385, 37, 36, 459, - /* 770 */ 38, 39, 40, 136, 393, 352, 22, 140, 499, 500, - /* 780 */ 117, 149, 401, 504, 505, 107, 393, 463, 365, 465, - /* 790 */ 367, 37, 474, 475, 476, 65, 478, 479, 405, 481, - /* 800 */ 407, 34, 51, 78, 172, 173, 364, 365, 78, 478, - /* 810 */ 65, 60, 481, 33, 63, 64, 393, 499, 500, 393, - /* 820 */ 364, 365, 504, 505, 0, 385, 384, 401, 405, 104, - /* 830 */ 407, 500, 78, 393, 104, 504, 505, 107, 0, 446, - /* 840 */ 384, 401, 449, 352, 179, 452, 453, 454, 455, 456, - /* 850 */ 457, 106, 459, 428, 109, 20, 365, 464, 367, 466, - /* 860 */ 364, 364, 365, 470, 471, 364, 365, 352, 393, 446, - /* 870 */ 364, 365, 449, 143, 144, 452, 453, 454, 455, 456, - /* 880 */ 457, 384, 459, 408, 393, 384, 493, 464, 108, 466, - /* 890 */ 384, 369, 370, 470, 471, 434, 405, 394, 407, 386, - /* 900 */ 235, 2, 389, 478, 369, 370, 481, 8, 9, 179, - /* 910 */ 180, 12, 13, 14, 15, 16, 186, 187, 13, 174, - /* 920 */ 405, 364, 365, 393, 499, 500, 201, 20, 203, 504, - /* 930 */ 505, 201, 50, 203, 438, 439, 20, 446, 408, 352, - /* 940 */ 449, 384, 37, 452, 453, 454, 455, 456, 457, 271, - /* 950 */ 459, 14, 15, 16, 14, 464, 394, 466, 233, 234, - /* 960 */ 20, 470, 471, 233, 234, 235, 382, 237, 238, 239, - /* 970 */ 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, - /* 980 */ 250, 251, 252, 253, 254, 12, 13, 352, 164, 364, - /* 990 */ 365, 35, 405, 20, 394, 22, 172, 159, 160, 393, - /* 1000 */ 365, 137, 367, 364, 365, 4, 400, 51, 35, 384, - /* 1010 */ 37, 378, 379, 3, 408, 33, 60, 61, 62, 63, - /* 1020 */ 19, 65, 4, 384, 0, 8, 9, 45, 393, 12, - /* 1030 */ 13, 14, 15, 16, 364, 365, 35, 20, 65, 178, - /* 1040 */ 405, 22, 407, 22, 364, 365, 393, 364, 365, 352, - /* 1050 */ 428, 78, 51, 400, 384, 394, 37, 33, 37, 58, - /* 1060 */ 59, 408, 106, 181, 384, 109, 65, 384, 8, 9, - /* 1070 */ 235, 189, 12, 13, 14, 15, 16, 104, 214, 215, - /* 1080 */ 107, 446, 20, 352, 449, 20, 179, 452, 453, 454, - /* 1090 */ 455, 456, 457, 0, 459, 428, 365, 181, 367, 464, - /* 1100 */ 478, 466, 405, 481, 352, 470, 471, 106, 364, 365, - /* 1110 */ 109, 352, 364, 365, 364, 365, 143, 144, 0, 258, - /* 1120 */ 352, 499, 500, 104, 393, 104, 504, 505, 384, 268, - /* 1130 */ 174, 0, 384, 136, 384, 42, 405, 140, 407, 183, - /* 1140 */ 184, 352, 235, 378, 379, 478, 190, 191, 481, 364, - /* 1150 */ 365, 235, 179, 180, 33, 364, 365, 405, 402, 186, - /* 1160 */ 187, 405, 364, 365, 405, 209, 499, 500, 217, 384, - /* 1170 */ 219, 504, 505, 405, 201, 394, 203, 446, 478, 352, - /* 1180 */ 449, 481, 352, 452, 453, 454, 455, 456, 457, 352, - /* 1190 */ 459, 352, 269, 270, 405, 464, 352, 466, 181, 499, - /* 1200 */ 500, 470, 471, 71, 504, 505, 233, 234, 235, 352, - /* 1210 */ 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - /* 1220 */ 247, 248, 249, 250, 251, 252, 253, 254, 12, 13, - /* 1230 */ 352, 352, 405, 33, 33, 405, 20, 352, 22, 352, - /* 1240 */ 352, 181, 405, 365, 405, 367, 181, 402, 33, 405, - /* 1250 */ 405, 35, 235, 37, 136, 137, 138, 139, 140, 141, - /* 1260 */ 142, 371, 405, 352, 117, 474, 475, 476, 65, 478, - /* 1270 */ 479, 393, 474, 475, 476, 37, 478, 479, 388, 402, - /* 1280 */ 394, 65, 405, 405, 405, 407, 396, 355, 356, 33, - /* 1290 */ 405, 273, 405, 405, 78, 110, 110, 235, 113, 113, - /* 1300 */ 235, 45, 292, 110, 110, 13, 113, 113, 108, 108, - /* 1310 */ 33, 33, 109, 33, 394, 168, 405, 143, 144, 33, - /* 1320 */ 104, 0, 33, 107, 446, 37, 352, 449, 0, 37, - /* 1330 */ 452, 453, 454, 455, 456, 457, 353, 459, 33, 365, - /* 1340 */ 0, 0, 464, 22, 466, 12, 13, 33, 470, 471, - /* 1350 */ 22, 1, 2, 418, 508, 22, 13, 33, 227, 143, - /* 1360 */ 144, 368, 22, 22, 33, 233, 13, 393, 35, 37, - /* 1370 */ 37, 33, 33, 497, 490, 381, 381, 33, 393, 405, - /* 1380 */ 37, 407, 418, 363, 418, 108, 108, 496, 108, 496, - /* 1390 */ 37, 0, 496, 496, 108, 179, 180, 108, 65, 33, - /* 1400 */ 368, 33, 186, 187, 33, 33, 33, 427, 418, 365, - /* 1410 */ 78, 78, 404, 108, 435, 294, 418, 201, 418, 203, - /* 1420 */ 446, 480, 108, 449, 472, 501, 452, 453, 454, 455, - /* 1430 */ 456, 457, 108, 459, 383, 274, 483, 104, 464, 108, - /* 1440 */ 466, 203, 429, 52, 470, 471, 108, 108, 51, 233, - /* 1450 */ 234, 235, 108, 237, 238, 239, 240, 241, 242, 243, - /* 1460 */ 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, - /* 1470 */ 254, 448, 18, 42, 108, 447, 108, 23, 20, 108, - /* 1480 */ 108, 108, 440, 216, 445, 373, 440, 373, 431, 199, - /* 1490 */ 20, 203, 364, 20, 40, 41, 414, 45, 44, 365, - /* 1500 */ 352, 365, 414, 411, 178, 364, 411, 365, 54, 364, - /* 1510 */ 414, 296, 411, 365, 105, 377, 103, 364, 352, 376, - /* 1520 */ 66, 67, 68, 69, 102, 375, 364, 364, 364, 20, - /* 1530 */ 357, 365, 50, 361, 201, 357, 203, 361, 440, 20, - /* 1540 */ 373, 393, 373, 373, 407, 20, 366, 20, 373, 430, - /* 1550 */ 366, 20, 373, 405, 421, 407, 373, 405, 393, 393, - /* 1560 */ 373, 107, 364, 373, 357, 355, 233, 234, 364, 355, - /* 1570 */ 393, 405, 220, 407, 393, 393, 357, 371, 107, 444, - /* 1580 */ 247, 248, 249, 250, 251, 252, 253, 20, 393, 393, - /* 1590 */ 393, 442, 393, 405, 446, 393, 405, 449, 352, 145, - /* 1600 */ 452, 453, 454, 455, 456, 457, 393, 459, 440, 207, - /* 1610 */ 393, 365, 446, 206, 371, 449, 407, 364, 452, 453, - /* 1620 */ 454, 455, 456, 457, 289, 459, 405, 281, 439, 437, - /* 1630 */ 192, 280, 492, 489, 423, 489, 291, 429, 290, 393, - /* 1640 */ 275, 436, 491, 423, 489, 488, 487, 193, 194, 195, - /* 1650 */ 295, 405, 198, 407, 429, 298, 293, 486, 270, 503, - /* 1660 */ 502, 365, 20, 509, 117, 211, 212, 272, 366, 451, - /* 1670 */ 371, 371, 423, 405, 405, 405, 222, 352, 405, 225, - /* 1680 */ 423, 405, 228, 229, 230, 231, 232, 184, 371, 371, - /* 1690 */ 365, 419, 446, 389, 365, 449, 484, 107, 452, 453, - /* 1700 */ 454, 455, 456, 457, 482, 459, 469, 107, 352, 397, - /* 1710 */ 464, 405, 466, 364, 22, 354, 470, 471, 393, 38, - /* 1720 */ 358, 365, 441, 432, 357, 271, 350, 424, 0, 371, - /* 1730 */ 405, 424, 407, 0, 352, 0, 45, 0, 37, 226, - /* 1740 */ 37, 387, 372, 37, 37, 0, 387, 365, 226, 393, - /* 1750 */ 37, 387, 37, 37, 226, 0, 226, 0, 37, 0, - /* 1760 */ 37, 405, 0, 407, 22, 0, 37, 221, 0, 209, - /* 1770 */ 0, 446, 209, 203, 449, 393, 210, 452, 453, 454, - /* 1780 */ 455, 456, 457, 201, 459, 0, 0, 405, 0, 407, - /* 1790 */ 197, 466, 196, 0, 0, 470, 471, 148, 49, 49, - /* 1800 */ 0, 37, 446, 352, 0, 449, 0, 51, 452, 453, - /* 1810 */ 454, 455, 456, 457, 37, 459, 365, 0, 49, 352, - /* 1820 */ 0, 0, 466, 45, 0, 0, 470, 471, 446, 49, - /* 1830 */ 0, 449, 365, 0, 452, 453, 454, 455, 456, 457, - /* 1840 */ 0, 459, 0, 0, 393, 0, 164, 37, 466, 0, - /* 1850 */ 164, 0, 470, 471, 0, 0, 405, 0, 407, 45, - /* 1860 */ 393, 0, 0, 0, 0, 0, 0, 0, 0, 0, - /* 1870 */ 0, 0, 405, 0, 407, 49, 352, 0, 0, 0, - /* 1880 */ 0, 0, 0, 0, 0, 0, 0, 0, 148, 365, - /* 1890 */ 0, 147, 0, 146, 22, 0, 0, 446, 22, 0, - /* 1900 */ 449, 65, 50, 452, 453, 454, 455, 456, 457, 458, - /* 1910 */ 459, 460, 461, 446, 352, 22, 449, 393, 0, 452, - /* 1920 */ 453, 454, 455, 456, 457, 65, 459, 365, 37, 405, - /* 1930 */ 0, 407, 0, 352, 0, 37, 42, 0, 50, 65, - /* 1940 */ 51, 37, 42, 0, 37, 42, 365, 0, 51, 37, - /* 1950 */ 0, 352, 51, 45, 33, 393, 42, 0, 49, 49, - /* 1960 */ 14, 494, 495, 43, 365, 49, 42, 405, 42, 407, - /* 1970 */ 446, 0, 0, 449, 393, 0, 452, 453, 454, 455, - /* 1980 */ 456, 457, 0, 459, 0, 49, 405, 192, 407, 0, - /* 1990 */ 466, 0, 393, 0, 72, 471, 0, 398, 37, 51, - /* 2000 */ 42, 0, 37, 51, 405, 42, 407, 0, 446, 42, - /* 2010 */ 37, 449, 0, 51, 452, 453, 454, 455, 456, 457, - /* 2020 */ 37, 459, 42, 0, 0, 51, 0, 446, 0, 352, - /* 2030 */ 449, 0, 0, 452, 453, 454, 455, 456, 457, 37, - /* 2040 */ 459, 22, 365, 115, 113, 446, 0, 37, 449, 33, - /* 2050 */ 37, 452, 453, 454, 455, 456, 457, 495, 459, 37, - /* 2060 */ 22, 352, 37, 0, 37, 22, 37, 37, 33, 0, - /* 2070 */ 393, 37, 22, 37, 365, 398, 37, 37, 0, 498, - /* 2080 */ 22, 0, 405, 22, 407, 37, 53, 0, 0, 0, - /* 2090 */ 37, 0, 37, 0, 22, 20, 37, 37, 108, 37, - /* 2100 */ 0, 107, 393, 49, 181, 107, 0, 37, 181, 0, - /* 2110 */ 208, 0, 22, 184, 405, 204, 407, 22, 0, 181, - /* 2120 */ 181, 188, 181, 446, 3, 33, 449, 107, 352, 452, - /* 2130 */ 453, 454, 455, 456, 457, 50, 459, 188, 33, 3, - /* 2140 */ 33, 365, 0, 33, 352, 108, 50, 105, 107, 33, - /* 2150 */ 103, 49, 108, 108, 37, 446, 107, 365, 449, 107, - /* 2160 */ 33, 452, 453, 454, 455, 456, 457, 37, 459, 393, - /* 2170 */ 37, 107, 49, 108, 398, 107, 37, 37, 37, 108, - /* 2180 */ 49, 405, 276, 407, 108, 393, 269, 108, 108, 276, - /* 2190 */ 33, 276, 0, 49, 42, 0, 185, 405, 42, 407, - /* 2200 */ 183, 107, 116, 49, 107, 33, 108, 108, 107, 105, - /* 2210 */ 256, 352, 2, 22, 233, 107, 507, 49, 49, 107, - /* 2220 */ 107, 107, 446, 108, 365, 449, 107, 352, 452, 453, - /* 2230 */ 454, 455, 456, 457, 105, 459, 108, 1, 446, 107, - /* 2240 */ 365, 449, 108, 108, 452, 453, 454, 455, 456, 457, - /* 2250 */ 107, 459, 393, 461, 107, 19, 22, 398, 107, 37, - /* 2260 */ 37, 108, 117, 108, 405, 107, 407, 37, 393, 107, - /* 2270 */ 37, 35, 108, 398, 107, 37, 37, 37, 108, 108, - /* 2280 */ 405, 107, 407, 107, 33, 108, 107, 51, 128, 128, - /* 2290 */ 107, 128, 236, 128, 107, 37, 60, 61, 62, 63, - /* 2300 */ 107, 65, 22, 72, 37, 446, 71, 37, 449, 37, - /* 2310 */ 37, 452, 453, 454, 455, 456, 457, 101, 459, 37, - /* 2320 */ 352, 446, 37, 37, 449, 37, 37, 452, 453, 454, - /* 2330 */ 455, 456, 457, 365, 459, 78, 33, 78, 101, 352, - /* 2340 */ 22, 37, 106, 37, 37, 109, 37, 37, 37, 78, - /* 2350 */ 37, 37, 365, 37, 37, 22, 37, 352, 37, 0, - /* 2360 */ 37, 393, 42, 0, 37, 0, 51, 37, 42, 0, - /* 2370 */ 365, 42, 37, 405, 0, 407, 51, 141, 42, 37, - /* 2380 */ 393, 37, 51, 51, 0, 33, 22, 20, 22, 21, - /* 2390 */ 510, 21, 405, 22, 407, 22, 510, 510, 393, 510, - /* 2400 */ 510, 510, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2410 */ 405, 510, 407, 510, 446, 510, 510, 449, 510, 183, - /* 2420 */ 452, 453, 454, 455, 456, 457, 190, 459, 510, 510, - /* 2430 */ 510, 510, 510, 446, 510, 352, 449, 510, 510, 452, - /* 2440 */ 453, 454, 455, 456, 457, 209, 459, 510, 365, 510, - /* 2450 */ 510, 446, 510, 510, 449, 352, 510, 452, 453, 454, - /* 2460 */ 455, 456, 457, 510, 459, 510, 510, 510, 365, 510, - /* 2470 */ 510, 510, 510, 510, 510, 510, 393, 510, 510, 510, - /* 2480 */ 510, 510, 510, 510, 510, 510, 510, 510, 405, 510, - /* 2490 */ 407, 510, 510, 510, 510, 510, 393, 510, 510, 510, - /* 2500 */ 510, 510, 510, 510, 510, 510, 510, 510, 405, 510, - /* 2510 */ 407, 510, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2520 */ 510, 510, 510, 510, 510, 510, 510, 510, 510, 446, - /* 2530 */ 510, 510, 449, 510, 352, 452, 453, 454, 455, 456, - /* 2540 */ 457, 510, 459, 510, 510, 510, 510, 365, 510, 446, - /* 2550 */ 352, 510, 449, 510, 510, 452, 453, 454, 455, 456, - /* 2560 */ 457, 510, 459, 365, 510, 510, 510, 510, 510, 352, - /* 2570 */ 510, 510, 510, 510, 510, 393, 510, 510, 510, 510, - /* 2580 */ 510, 510, 365, 510, 510, 510, 510, 405, 510, 407, - /* 2590 */ 510, 393, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2600 */ 510, 510, 510, 405, 510, 407, 510, 510, 510, 510, - /* 2610 */ 393, 510, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2620 */ 510, 510, 405, 510, 407, 510, 510, 510, 446, 510, - /* 2630 */ 510, 449, 510, 510, 452, 453, 454, 455, 456, 457, - /* 2640 */ 510, 459, 510, 510, 446, 510, 510, 449, 510, 352, - /* 2650 */ 452, 453, 454, 455, 456, 457, 510, 459, 510, 510, - /* 2660 */ 510, 510, 365, 446, 352, 510, 449, 510, 510, 452, - /* 2670 */ 453, 454, 455, 456, 457, 510, 459, 365, 510, 510, - /* 2680 */ 352, 510, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2690 */ 393, 510, 510, 365, 510, 510, 510, 510, 510, 510, - /* 2700 */ 510, 510, 405, 510, 407, 393, 510, 510, 510, 510, - /* 2710 */ 510, 510, 510, 510, 510, 510, 510, 405, 510, 407, - /* 2720 */ 510, 393, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2730 */ 510, 510, 510, 405, 510, 407, 510, 510, 510, 510, - /* 2740 */ 510, 510, 510, 446, 510, 510, 449, 352, 510, 452, - /* 2750 */ 453, 454, 455, 456, 457, 510, 459, 510, 446, 510, - /* 2760 */ 365, 449, 510, 352, 452, 453, 454, 455, 456, 457, - /* 2770 */ 510, 459, 510, 510, 446, 510, 365, 449, 352, 510, - /* 2780 */ 452, 453, 454, 455, 456, 457, 510, 459, 393, 510, - /* 2790 */ 510, 365, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2800 */ 405, 510, 407, 510, 393, 510, 510, 510, 510, 510, - /* 2810 */ 510, 510, 510, 510, 510, 510, 405, 510, 407, 393, - /* 2820 */ 510, 352, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2830 */ 510, 405, 510, 407, 365, 510, 510, 510, 510, 510, - /* 2840 */ 510, 446, 510, 352, 449, 510, 510, 452, 453, 454, - /* 2850 */ 455, 456, 457, 510, 459, 510, 365, 446, 510, 510, - /* 2860 */ 449, 510, 393, 452, 453, 454, 455, 456, 457, 510, - /* 2870 */ 459, 510, 446, 510, 405, 449, 407, 510, 452, 453, - /* 2880 */ 454, 455, 456, 457, 393, 459, 510, 510, 510, 510, - /* 2890 */ 510, 510, 510, 510, 510, 510, 405, 510, 407, 510, - /* 2900 */ 352, 510, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2910 */ 510, 510, 510, 365, 510, 446, 352, 510, 449, 510, - /* 2920 */ 510, 452, 453, 454, 455, 456, 457, 510, 459, 365, - /* 2930 */ 510, 510, 510, 510, 510, 510, 510, 446, 510, 510, - /* 2940 */ 449, 393, 510, 452, 453, 454, 455, 456, 457, 510, - /* 2950 */ 459, 510, 510, 405, 510, 407, 510, 393, 510, 510, - /* 2960 */ 510, 510, 510, 510, 510, 510, 510, 510, 510, 405, - /* 2970 */ 510, 407, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2980 */ 510, 510, 510, 510, 510, 510, 510, 510, 510, 510, - /* 2990 */ 510, 510, 510, 510, 446, 510, 510, 449, 510, 510, - /* 3000 */ 452, 453, 454, 455, 456, 457, 510, 459, 510, 510, - /* 3010 */ 446, 510, 510, 449, 510, 352, 452, 453, 454, 455, - /* 3020 */ 456, 457, 510, 459, 510, 510, 510, 510, 365, 510, - /* 3030 */ 352, 510, 510, 510, 510, 510, 510, 510, 510, 510, - /* 3040 */ 510, 510, 510, 365, 510, 510, 510, 510, 510, 510, - /* 3050 */ 510, 510, 510, 510, 510, 510, 393, 510, 510, 510, - /* 3060 */ 510, 510, 510, 510, 510, 510, 510, 510, 405, 510, - /* 3070 */ 407, 393, 510, 510, 510, 510, 510, 510, 510, 510, - /* 3080 */ 510, 510, 510, 405, 510, 407, 510, 510, 510, 510, - /* 3090 */ 510, 510, 510, 510, 510, 510, 510, 510, 510, 510, - /* 3100 */ 510, 510, 510, 510, 510, 510, 510, 510, 510, 446, - /* 3110 */ 510, 510, 449, 510, 510, 452, 453, 454, 455, 456, - /* 3120 */ 457, 510, 459, 510, 446, 510, 510, 449, 510, 510, - /* 3130 */ 452, 453, 454, 455, 456, 457, 510, 459, 349, 349, - /* 3140 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3150 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3160 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3170 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3180 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3190 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3200 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3210 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3220 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3230 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3240 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3250 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3260 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3270 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3280 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3290 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3300 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3310 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3320 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3330 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3340 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3350 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3360 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3370 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3380 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3390 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3400 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3410 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3420 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3430 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3440 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3450 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3460 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3470 */ 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, - /* 3480 */ 349, 349, 349, 349, 349, 349, 349, + /* 250 */ 250, 251, 252, 253, 254, 255, 12, 13, 20, 3, + /* 260 */ 20, 18, 479, 20, 20, 482, 22, 365, 366, 175, + /* 270 */ 27, 361, 353, 30, 71, 365, 20, 367, 35, 35, + /* 280 */ 414, 37, 366, 500, 501, 366, 138, 385, 505, 506, + /* 290 */ 142, 278, 279, 280, 51, 69, 53, 201, 20, 203, + /* 300 */ 206, 58, 59, 475, 476, 477, 272, 479, 480, 65, + /* 310 */ 394, 365, 69, 394, 20, 71, 104, 107, 115, 475, + /* 320 */ 476, 477, 78, 479, 480, 406, 4, 408, 33, 233, + /* 330 */ 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, + /* 340 */ 45, 129, 130, 131, 132, 133, 134, 135, 104, 106, + /* 350 */ 20, 107, 136, 137, 138, 139, 140, 141, 142, 211, + /* 360 */ 117, 0, 214, 452, 108, 217, 447, 219, 272, 450, + /* 370 */ 0, 455, 453, 454, 455, 456, 457, 458, 459, 460, + /* 380 */ 461, 462, 179, 143, 144, 439, 440, 143, 144, 478, + /* 390 */ 147, 148, 353, 150, 151, 152, 153, 154, 155, 156, + /* 400 */ 157, 158, 272, 365, 366, 162, 163, 164, 165, 166, + /* 410 */ 167, 168, 42, 170, 171, 172, 13, 365, 366, 176, + /* 420 */ 177, 178, 375, 197, 180, 181, 183, 187, 188, 107, + /* 430 */ 383, 187, 188, 14, 73, 74, 75, 385, 182, 20, + /* 440 */ 20, 80, 81, 82, 392, 406, 202, 86, 204, 394, + /* 450 */ 224, 225, 91, 92, 93, 94, 365, 366, 97, 20, + /* 460 */ 182, 100, 259, 260, 261, 262, 263, 264, 265, 266, + /* 470 */ 267, 268, 269, 418, 180, 181, 39, 40, 234, 235, + /* 480 */ 236, 78, 238, 239, 240, 241, 242, 243, 244, 245, + /* 490 */ 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, + /* 500 */ 256, 12, 13, 353, 71, 414, 407, 408, 382, 20, + /* 510 */ 180, 22, 474, 475, 476, 477, 366, 479, 480, 361, + /* 520 */ 33, 20, 396, 365, 35, 367, 37, 107, 256, 2, + /* 530 */ 258, 382, 406, 374, 353, 8, 9, 365, 366, 12, + /* 540 */ 13, 14, 15, 16, 394, 396, 107, 366, 111, 112, + /* 550 */ 391, 114, 365, 366, 65, 406, 406, 385, 408, 400, + /* 560 */ 71, 73, 74, 75, 365, 366, 236, 78, 80, 81, + /* 570 */ 82, 20, 385, 136, 86, 394, 450, 140, 3, 91, + /* 580 */ 92, 93, 94, 394, 385, 97, 460, 406, 100, 408, + /* 590 */ 401, 370, 371, 104, 272, 108, 107, 447, 409, 450, + /* 600 */ 450, 353, 70, 453, 454, 455, 456, 457, 458, 460, + /* 610 */ 460, 56, 57, 463, 366, 465, 466, 467, 42, 8, + /* 620 */ 9, 471, 472, 12, 13, 14, 15, 16, 447, 117, + /* 630 */ 350, 450, 143, 144, 453, 454, 455, 456, 457, 458, + /* 640 */ 390, 460, 394, 14, 143, 144, 465, 365, 467, 20, + /* 650 */ 365, 366, 471, 472, 406, 21, 408, 0, 24, 25, + /* 660 */ 26, 27, 28, 29, 30, 31, 32, 234, 404, 180, + /* 670 */ 181, 407, 408, 14, 452, 494, 187, 188, 21, 20, + /* 680 */ 256, 24, 25, 26, 27, 28, 29, 30, 31, 32, + /* 690 */ 50, 202, 272, 204, 444, 447, 365, 366, 450, 414, + /* 700 */ 478, 453, 454, 455, 456, 457, 458, 353, 460, 429, + /* 710 */ 386, 272, 117, 465, 434, 467, 385, 33, 394, 471, + /* 720 */ 472, 439, 440, 234, 235, 236, 402, 238, 239, 240, + /* 730 */ 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, + /* 740 */ 251, 252, 253, 254, 255, 12, 13, 14, 353, 386, + /* 750 */ 12, 13, 4, 20, 22, 22, 22, 394, 386, 479, + /* 760 */ 406, 366, 482, 368, 401, 402, 394, 19, 35, 37, + /* 770 */ 37, 37, 409, 0, 402, 37, 365, 366, 353, 372, + /* 780 */ 500, 501, 374, 35, 179, 505, 506, 236, 20, 394, + /* 790 */ 22, 366, 108, 368, 65, 394, 385, 20, 65, 51, + /* 800 */ 37, 406, 401, 408, 397, 194, 58, 59, 400, 180, + /* 810 */ 409, 78, 78, 65, 12, 13, 14, 15, 16, 394, + /* 820 */ 8, 9, 182, 55, 12, 13, 14, 15, 16, 87, + /* 830 */ 190, 406, 20, 408, 20, 106, 104, 104, 109, 180, + /* 840 */ 107, 78, 447, 365, 366, 450, 353, 271, 453, 454, + /* 850 */ 455, 456, 457, 458, 106, 460, 22, 109, 78, 366, + /* 860 */ 465, 368, 467, 385, 259, 236, 471, 472, 293, 365, + /* 870 */ 366, 37, 447, 234, 269, 450, 143, 144, 453, 454, + /* 880 */ 455, 456, 457, 458, 137, 460, 353, 394, 0, 385, + /* 890 */ 465, 149, 467, 394, 51, 236, 471, 472, 4, 406, + /* 900 */ 401, 408, 387, 60, 175, 390, 63, 64, 409, 298, + /* 910 */ 365, 366, 78, 180, 181, 173, 174, 353, 34, 22, + /* 920 */ 187, 188, 283, 284, 285, 286, 287, 288, 289, 394, + /* 930 */ 385, 23, 159, 160, 37, 202, 401, 204, 104, 406, + /* 940 */ 447, 136, 204, 450, 409, 140, 453, 454, 455, 456, + /* 950 */ 457, 458, 353, 460, 353, 47, 48, 353, 465, 182, + /* 960 */ 467, 395, 215, 216, 471, 472, 395, 234, 235, 236, + /* 970 */ 406, 238, 239, 240, 241, 242, 243, 244, 245, 246, + /* 980 */ 247, 248, 249, 250, 251, 252, 253, 254, 255, 12, + /* 990 */ 13, 353, 370, 371, 182, 0, 182, 20, 464, 22, + /* 1000 */ 466, 104, 379, 380, 366, 406, 368, 406, 381, 395, + /* 1010 */ 406, 384, 35, 236, 37, 8, 9, 365, 366, 12, + /* 1020 */ 13, 14, 15, 16, 136, 137, 138, 139, 140, 141, + /* 1030 */ 142, 394, 394, 14, 15, 16, 202, 385, 204, 402, + /* 1040 */ 33, 452, 65, 395, 406, 20, 408, 353, 236, 20, + /* 1050 */ 236, 137, 138, 8, 9, 78, 142, 12, 13, 14, + /* 1060 */ 15, 16, 365, 366, 4, 353, 0, 478, 234, 235, + /* 1070 */ 8, 9, 353, 353, 12, 13, 14, 15, 16, 365, + /* 1080 */ 366, 104, 385, 23, 107, 447, 366, 463, 450, 353, + /* 1090 */ 466, 453, 454, 455, 456, 457, 458, 394, 460, 385, + /* 1100 */ 406, 33, 366, 465, 368, 467, 46, 47, 48, 471, + /* 1110 */ 472, 464, 409, 466, 394, 108, 379, 380, 406, 399, + /* 1120 */ 143, 144, 0, 365, 366, 406, 406, 435, 408, 353, + /* 1130 */ 394, 136, 137, 138, 139, 140, 141, 142, 395, 394, + /* 1140 */ 365, 366, 406, 385, 408, 117, 365, 366, 394, 365, + /* 1150 */ 366, 365, 366, 108, 409, 33, 353, 180, 181, 403, + /* 1160 */ 385, 353, 406, 409, 187, 188, 385, 447, 274, 385, + /* 1170 */ 450, 385, 383, 453, 454, 455, 456, 457, 458, 202, + /* 1180 */ 460, 204, 406, 447, 353, 353, 450, 270, 271, 453, + /* 1190 */ 454, 455, 456, 457, 458, 354, 460, 169, 429, 353, + /* 1200 */ 429, 465, 403, 467, 353, 406, 353, 471, 472, 406, + /* 1210 */ 65, 234, 235, 236, 406, 238, 239, 240, 241, 242, + /* 1220 */ 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, + /* 1230 */ 253, 254, 255, 12, 13, 33, 403, 406, 406, 406, + /* 1240 */ 0, 20, 13, 22, 182, 356, 357, 45, 479, 0, + /* 1250 */ 479, 482, 406, 482, 109, 353, 35, 406, 37, 406, + /* 1260 */ 13, 236, 22, 35, 110, 236, 37, 113, 366, 500, + /* 1270 */ 501, 500, 501, 0, 505, 506, 505, 506, 110, 51, + /* 1280 */ 110, 113, 110, 113, 37, 113, 65, 0, 60, 61, + /* 1290 */ 62, 63, 0, 65, 228, 22, 394, 8, 9, 78, + /* 1300 */ 51, 12, 13, 14, 15, 16, 419, 33, 406, 22, + /* 1310 */ 408, 218, 33, 220, 22, 33, 33, 49, 18, 33, + /* 1320 */ 143, 144, 37, 23, 33, 104, 1, 2, 107, 33, + /* 1330 */ 33, 33, 353, 509, 106, 498, 37, 109, 37, 429, + /* 1340 */ 40, 41, 33, 33, 44, 366, 33, 368, 13, 447, + /* 1350 */ 13, 369, 450, 33, 54, 453, 454, 455, 456, 457, + /* 1360 */ 458, 107, 460, 295, 143, 144, 66, 67, 68, 69, + /* 1370 */ 116, 491, 37, 394, 37, 107, 382, 429, 394, 78, + /* 1380 */ 382, 419, 108, 33, 364, 406, 419, 408, 497, 479, + /* 1390 */ 108, 108, 482, 497, 108, 497, 428, 495, 496, 108, + /* 1400 */ 497, 180, 181, 175, 108, 108, 108, 107, 187, 188, + /* 1410 */ 500, 501, 184, 185, 366, 505, 506, 108, 108, 191, + /* 1420 */ 192, 108, 369, 202, 419, 204, 447, 479, 108, 450, + /* 1430 */ 482, 0, 453, 454, 455, 456, 457, 458, 210, 460, + /* 1440 */ 33, 33, 405, 33, 465, 145, 467, 33, 500, 501, + /* 1450 */ 471, 472, 33, 505, 506, 234, 235, 236, 108, 238, + /* 1460 */ 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, + /* 1470 */ 249, 250, 251, 252, 253, 254, 255, 436, 419, 473, + /* 1480 */ 419, 12, 13, 52, 353, 481, 484, 502, 384, 204, + /* 1490 */ 275, 22, 51, 430, 194, 195, 196, 366, 449, 199, + /* 1500 */ 42, 20, 448, 204, 35, 441, 37, 217, 374, 374, + /* 1510 */ 441, 353, 212, 213, 200, 108, 108, 446, 108, 432, + /* 1520 */ 20, 365, 108, 223, 366, 394, 226, 108, 20, 229, + /* 1530 */ 230, 231, 232, 233, 65, 366, 45, 406, 415, 408, + /* 1540 */ 366, 415, 179, 365, 412, 366, 365, 78, 415, 412, + /* 1550 */ 412, 105, 394, 378, 103, 365, 102, 377, 376, 365, + /* 1560 */ 365, 365, 20, 358, 406, 50, 408, 358, 362, 362, + /* 1570 */ 441, 374, 272, 104, 374, 20, 297, 374, 447, 408, + /* 1580 */ 353, 450, 20, 367, 453, 454, 455, 456, 457, 458, + /* 1590 */ 20, 460, 431, 366, 374, 20, 465, 367, 467, 374, + /* 1600 */ 374, 365, 471, 472, 358, 447, 422, 374, 450, 374, + /* 1610 */ 358, 453, 454, 455, 456, 457, 458, 394, 460, 356, + /* 1620 */ 365, 394, 356, 465, 406, 467, 394, 221, 394, 471, + /* 1630 */ 472, 394, 394, 406, 445, 408, 394, 394, 394, 394, + /* 1640 */ 107, 443, 394, 372, 394, 406, 20, 406, 208, 441, + /* 1650 */ 440, 438, 207, 372, 437, 282, 490, 281, 365, 408, + /* 1660 */ 290, 430, 406, 490, 193, 276, 299, 292, 291, 493, + /* 1670 */ 510, 202, 487, 204, 447, 492, 490, 450, 296, 488, + /* 1680 */ 453, 454, 455, 456, 457, 458, 424, 460, 424, 430, + /* 1690 */ 489, 504, 294, 271, 467, 353, 1, 366, 471, 472, + /* 1700 */ 20, 117, 503, 234, 235, 452, 273, 485, 366, 406, + /* 1710 */ 367, 372, 372, 406, 19, 185, 372, 248, 249, 250, + /* 1720 */ 251, 252, 253, 254, 406, 406, 424, 353, 424, 406, + /* 1730 */ 35, 420, 372, 406, 366, 390, 394, 107, 107, 470, + /* 1740 */ 366, 483, 22, 365, 398, 355, 51, 38, 406, 358, + /* 1750 */ 408, 372, 359, 425, 433, 60, 61, 62, 63, 442, + /* 1760 */ 65, 425, 353, 351, 0, 373, 0, 0, 394, 388, + /* 1770 */ 45, 388, 388, 0, 37, 366, 227, 37, 37, 37, + /* 1780 */ 406, 227, 408, 0, 37, 37, 227, 37, 0, 447, + /* 1790 */ 227, 0, 450, 37, 0, 453, 454, 455, 456, 457, + /* 1800 */ 458, 106, 460, 394, 109, 37, 0, 22, 0, 467, + /* 1810 */ 222, 37, 0, 471, 472, 406, 210, 408, 0, 210, + /* 1820 */ 204, 447, 211, 202, 450, 0, 0, 453, 454, 455, + /* 1830 */ 456, 457, 458, 0, 460, 353, 141, 198, 197, 0, + /* 1840 */ 0, 467, 148, 0, 49, 471, 472, 49, 366, 0, + /* 1850 */ 37, 0, 51, 37, 0, 0, 447, 0, 353, 450, + /* 1860 */ 49, 0, 453, 454, 455, 456, 457, 458, 45, 460, + /* 1870 */ 0, 366, 0, 49, 0, 0, 394, 0, 353, 184, + /* 1880 */ 165, 37, 0, 165, 0, 0, 191, 0, 406, 0, + /* 1890 */ 408, 366, 0, 353, 0, 0, 0, 0, 0, 394, + /* 1900 */ 0, 0, 0, 0, 0, 210, 366, 0, 0, 0, + /* 1910 */ 0, 406, 0, 408, 49, 0, 507, 508, 0, 394, + /* 1920 */ 0, 45, 0, 0, 399, 0, 0, 0, 0, 447, + /* 1930 */ 0, 406, 450, 408, 394, 453, 454, 455, 456, 457, + /* 1940 */ 458, 22, 460, 0, 148, 0, 406, 147, 408, 467, + /* 1950 */ 146, 0, 447, 0, 472, 450, 22, 22, 453, 454, + /* 1960 */ 455, 456, 457, 458, 0, 460, 50, 50, 37, 0, + /* 1970 */ 65, 65, 447, 0, 0, 450, 65, 0, 453, 454, + /* 1980 */ 455, 456, 457, 458, 37, 460, 42, 447, 0, 353, + /* 1990 */ 450, 51, 37, 453, 454, 455, 456, 457, 458, 51, + /* 2000 */ 460, 496, 366, 42, 0, 37, 0, 51, 42, 37, + /* 2010 */ 0, 33, 45, 42, 49, 14, 0, 0, 42, 49, + /* 2020 */ 0, 0, 43, 0, 49, 353, 42, 193, 0, 49, + /* 2030 */ 394, 0, 0, 0, 72, 0, 37, 51, 366, 499, + /* 2040 */ 42, 0, 406, 51, 408, 37, 0, 42, 37, 42, + /* 2050 */ 0, 51, 37, 51, 42, 0, 0, 353, 0, 0, + /* 2060 */ 0, 0, 37, 113, 115, 22, 394, 37, 0, 22, + /* 2070 */ 366, 399, 0, 37, 37, 37, 37, 37, 406, 37, + /* 2080 */ 408, 37, 33, 447, 33, 37, 450, 22, 0, 453, + /* 2090 */ 454, 455, 456, 457, 458, 22, 460, 0, 394, 37, + /* 2100 */ 37, 22, 0, 22, 0, 53, 37, 0, 0, 0, + /* 2110 */ 406, 37, 408, 37, 0, 22, 20, 37, 0, 447, + /* 2120 */ 37, 37, 450, 182, 49, 453, 454, 455, 456, 457, + /* 2130 */ 458, 107, 460, 107, 353, 108, 0, 37, 209, 182, + /* 2140 */ 0, 22, 22, 205, 508, 182, 0, 366, 0, 189, + /* 2150 */ 353, 447, 3, 108, 450, 33, 277, 453, 454, 455, + /* 2160 */ 456, 457, 458, 366, 460, 182, 462, 185, 353, 182, + /* 2170 */ 189, 107, 33, 107, 50, 394, 105, 50, 108, 49, + /* 2180 */ 399, 366, 49, 33, 107, 103, 108, 406, 33, 408, + /* 2190 */ 33, 394, 107, 107, 3, 33, 399, 108, 107, 0, + /* 2200 */ 108, 277, 108, 406, 37, 408, 37, 37, 37, 394, + /* 2210 */ 277, 37, 37, 108, 108, 49, 270, 33, 0, 107, + /* 2220 */ 42, 406, 49, 408, 107, 0, 116, 42, 447, 108, + /* 2230 */ 107, 450, 107, 353, 453, 454, 455, 456, 457, 458, + /* 2240 */ 108, 460, 107, 186, 447, 107, 366, 450, 33, 49, + /* 2250 */ 453, 454, 455, 456, 457, 458, 105, 460, 105, 2, + /* 2260 */ 257, 22, 447, 234, 108, 450, 107, 353, 453, 454, + /* 2270 */ 455, 456, 457, 458, 394, 460, 108, 49, 49, 184, + /* 2280 */ 366, 22, 117, 107, 107, 37, 406, 108, 408, 108, + /* 2290 */ 353, 237, 128, 107, 107, 107, 72, 108, 37, 107, + /* 2300 */ 37, 108, 107, 366, 108, 37, 108, 37, 394, 107, + /* 2310 */ 107, 37, 108, 107, 37, 108, 107, 107, 128, 33, + /* 2320 */ 406, 107, 408, 107, 37, 128, 22, 447, 37, 128, + /* 2330 */ 450, 394, 37, 453, 454, 455, 456, 457, 458, 37, + /* 2340 */ 460, 33, 71, 406, 37, 408, 37, 353, 37, 37, + /* 2350 */ 37, 37, 101, 101, 78, 37, 78, 37, 37, 22, + /* 2360 */ 366, 447, 37, 37, 450, 37, 78, 453, 454, 455, + /* 2370 */ 456, 457, 458, 37, 460, 37, 37, 37, 37, 22, + /* 2380 */ 37, 0, 37, 51, 447, 51, 42, 450, 394, 0, + /* 2390 */ 453, 454, 455, 456, 457, 458, 37, 460, 42, 0, + /* 2400 */ 406, 37, 408, 51, 42, 0, 37, 42, 0, 51, + /* 2410 */ 37, 37, 0, 22, 22, 33, 21, 511, 22, 22, + /* 2420 */ 353, 21, 20, 511, 511, 511, 511, 511, 511, 511, + /* 2430 */ 511, 511, 511, 366, 511, 511, 511, 511, 511, 511, + /* 2440 */ 353, 447, 511, 511, 450, 511, 511, 453, 454, 455, + /* 2450 */ 456, 457, 458, 366, 460, 511, 511, 511, 511, 511, + /* 2460 */ 511, 394, 511, 511, 511, 511, 511, 511, 511, 511, + /* 2470 */ 511, 511, 511, 406, 511, 408, 511, 511, 511, 511, + /* 2480 */ 511, 394, 511, 511, 511, 511, 511, 511, 511, 511, + /* 2490 */ 511, 511, 511, 406, 511, 408, 511, 511, 353, 511, + /* 2500 */ 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, + /* 2510 */ 511, 366, 511, 353, 447, 511, 511, 450, 511, 511, + /* 2520 */ 453, 454, 455, 456, 457, 458, 366, 460, 511, 511, + /* 2530 */ 511, 511, 511, 511, 447, 353, 511, 450, 511, 394, + /* 2540 */ 453, 454, 455, 456, 457, 458, 511, 460, 366, 511, + /* 2550 */ 511, 406, 511, 408, 394, 511, 511, 511, 511, 511, + /* 2560 */ 511, 511, 511, 511, 511, 511, 406, 511, 408, 511, + /* 2570 */ 511, 511, 511, 511, 511, 511, 394, 511, 511, 511, + /* 2580 */ 511, 511, 511, 511, 511, 511, 511, 511, 406, 511, + /* 2590 */ 408, 511, 447, 353, 511, 450, 511, 511, 453, 454, + /* 2600 */ 455, 456, 457, 458, 511, 460, 366, 447, 353, 511, + /* 2610 */ 450, 511, 511, 453, 454, 455, 456, 457, 458, 511, + /* 2620 */ 460, 366, 511, 511, 511, 511, 511, 511, 353, 447, + /* 2630 */ 511, 511, 450, 511, 394, 453, 454, 455, 456, 457, + /* 2640 */ 458, 366, 460, 511, 511, 511, 406, 511, 408, 394, + /* 2650 */ 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, + /* 2660 */ 511, 406, 511, 408, 511, 511, 511, 511, 511, 394, + /* 2670 */ 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, + /* 2680 */ 511, 406, 511, 408, 511, 511, 511, 447, 511, 511, + /* 2690 */ 450, 511, 511, 453, 454, 455, 456, 457, 458, 511, + /* 2700 */ 460, 353, 447, 511, 511, 450, 511, 511, 453, 454, + /* 2710 */ 455, 456, 457, 458, 366, 460, 511, 511, 511, 511, + /* 2720 */ 511, 353, 447, 511, 511, 450, 511, 511, 453, 454, + /* 2730 */ 455, 456, 457, 458, 366, 460, 511, 511, 353, 511, + /* 2740 */ 511, 511, 394, 511, 511, 511, 511, 511, 511, 511, + /* 2750 */ 511, 366, 511, 511, 406, 511, 408, 511, 511, 511, + /* 2760 */ 511, 511, 394, 511, 511, 511, 511, 511, 511, 511, + /* 2770 */ 511, 511, 511, 511, 406, 511, 408, 511, 511, 394, + /* 2780 */ 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, + /* 2790 */ 511, 406, 511, 408, 511, 447, 511, 511, 450, 511, + /* 2800 */ 511, 453, 454, 455, 456, 457, 458, 353, 460, 511, + /* 2810 */ 511, 511, 511, 511, 511, 447, 511, 511, 450, 511, + /* 2820 */ 366, 453, 454, 455, 456, 457, 458, 511, 460, 511, + /* 2830 */ 511, 511, 447, 511, 511, 450, 511, 511, 453, 454, + /* 2840 */ 455, 456, 457, 458, 511, 460, 511, 511, 394, 511, + /* 2850 */ 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, + /* 2860 */ 406, 511, 408, 511, 511, 353, 511, 511, 511, 511, + /* 2870 */ 511, 511, 511, 511, 511, 511, 511, 511, 366, 511, + /* 2880 */ 353, 511, 511, 511, 511, 511, 511, 511, 511, 511, + /* 2890 */ 511, 511, 511, 366, 511, 511, 511, 511, 511, 511, + /* 2900 */ 511, 447, 353, 511, 450, 511, 394, 453, 454, 455, + /* 2910 */ 456, 457, 458, 511, 460, 366, 511, 511, 406, 511, + /* 2920 */ 408, 394, 511, 511, 511, 511, 511, 511, 511, 511, + /* 2930 */ 511, 511, 511, 406, 511, 408, 511, 511, 511, 511, + /* 2940 */ 511, 511, 511, 394, 511, 511, 511, 511, 511, 511, + /* 2950 */ 511, 511, 511, 511, 511, 406, 511, 408, 511, 447, + /* 2960 */ 353, 511, 450, 511, 511, 453, 454, 455, 456, 457, + /* 2970 */ 458, 511, 460, 366, 447, 353, 511, 450, 511, 511, + /* 2980 */ 453, 454, 455, 456, 457, 458, 511, 460, 366, 511, + /* 2990 */ 511, 511, 511, 511, 511, 511, 447, 511, 511, 450, + /* 3000 */ 511, 394, 453, 454, 455, 456, 457, 458, 511, 460, + /* 3010 */ 511, 511, 511, 406, 511, 408, 394, 511, 511, 511, + /* 3020 */ 511, 511, 511, 511, 511, 511, 511, 511, 406, 511, + /* 3030 */ 408, 511, 511, 511, 511, 511, 511, 511, 511, 511, + /* 3040 */ 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, + /* 3050 */ 511, 511, 511, 511, 447, 511, 511, 450, 511, 511, + /* 3060 */ 453, 454, 455, 456, 457, 458, 511, 460, 511, 447, + /* 3070 */ 511, 511, 450, 511, 511, 453, 454, 455, 456, 457, + /* 3080 */ 458, 511, 460, 350, 350, 350, 350, 350, 350, 350, + /* 3090 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3100 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3110 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3120 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3130 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3140 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3150 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3160 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3170 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3180 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3190 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3200 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3210 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3220 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3230 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3240 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3250 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3260 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3270 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3280 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3290 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3300 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3310 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3320 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3330 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3340 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3350 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3360 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3370 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3380 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3390 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3400 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3410 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3420 */ 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, + /* 3430 */ 350, 350, 350, }; -#define YY_SHIFT_COUNT (844) +#define YY_SHIFT_COUNT (845) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2384) +#define YY_SHIFT_MAX (2412) static const unsigned short int yy_shift_ofst[] = { - /* 0 */ 1454, 0, 243, 0, 487, 487, 487, 487, 487, 487, - /* 10 */ 487, 487, 487, 487, 487, 487, 730, 973, 973, 1216, - /* 20 */ 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, - /* 30 */ 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, - /* 40 */ 973, 973, 973, 973, 973, 973, 973, 973, 973, 973, - /* 50 */ 973, 437, 485, 338, 172, 106, 678, 106, 106, 172, - /* 60 */ 172, 106, 1333, 106, 242, 1333, 1333, 47, 106, 216, - /* 70 */ 241, 350, 350, 502, 502, 241, 79, 63, 488, 488, - /* 80 */ 48, 350, 350, 350, 350, 350, 350, 350, 350, 350, - /* 90 */ 350, 350, 519, 526, 350, 350, 150, 216, 350, 519, - /* 100 */ 350, 216, 350, 350, 216, 350, 350, 216, 350, 216, - /* 110 */ 216, 216, 350, 575, 202, 202, 486, 200, 725, 725, - /* 120 */ 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, - /* 130 */ 725, 725, 725, 725, 725, 725, 725, 637, 188, 79, - /* 140 */ 63, 630, 630, 473, 580, 580, 580, 471, 298, 298, - /* 150 */ 87, 473, 150, 567, 216, 216, 508, 216, 645, 216, - /* 160 */ 645, 645, 663, 767, 211, 211, 211, 211, 211, 211, - /* 170 */ 211, 211, 2236, 102, 66, 1017, 16, 168, 270, 164, - /* 180 */ 296, 665, 551, 551, 916, 534, 1065, 754, 754, 754, - /* 190 */ 882, 754, 907, 86, 835, 940, 997, 388, 835, 835, - /* 200 */ 1062, 923, 28, 1010, 923, 982, 1018, 87, 1161, 1397, - /* 210 */ 1431, 1458, 1267, 150, 1458, 150, 1290, 1470, 1473, 1452, - /* 220 */ 1473, 1452, 1326, 1470, 1473, 1470, 1452, 1326, 1326, 1409, - /* 230 */ 1413, 1470, 1422, 1470, 1470, 1470, 1509, 1482, 1509, 1482, - /* 240 */ 1458, 150, 150, 1519, 150, 1525, 1527, 150, 1525, 150, - /* 250 */ 1531, 150, 150, 1470, 150, 1509, 216, 216, 216, 216, - /* 260 */ 216, 216, 216, 216, 216, 216, 216, 1470, 767, 767, - /* 270 */ 1509, 645, 645, 645, 1352, 1471, 1458, 575, 1567, 1402, - /* 280 */ 1407, 1519, 575, 1161, 1470, 645, 1346, 1351, 1346, 1351, - /* 290 */ 1335, 1438, 1346, 1345, 1348, 1365, 1161, 1357, 1355, 1363, - /* 300 */ 1388, 1473, 1642, 1547, 1395, 1525, 575, 575, 1351, 645, - /* 310 */ 645, 645, 645, 1351, 645, 1503, 575, 663, 575, 1473, - /* 320 */ 1590, 1600, 645, 1470, 575, 1692, 1681, 1509, 3138, 3138, - /* 330 */ 3138, 3138, 3138, 3138, 3138, 3138, 3138, 36, 956, 15, - /* 340 */ 1001, 273, 647, 656, 379, 521, 899, 1060, 1118, 348, - /* 350 */ 348, 348, 348, 348, 348, 348, 348, 348, 32, 81, - /* 360 */ 732, 339, 339, 457, 745, 632, 751, 824, 838, 1019, - /* 370 */ 1021, 864, 572, 572, 937, 510, 861, 937, 937, 937, - /* 380 */ 695, 1131, 780, 1093, 1256, 1147, 1024, 1185, 1186, 1193, - /* 390 */ 1194, 905, 1292, 1321, 1328, 1340, 1341, 951, 1200, 1201, - /* 400 */ 1203, 1277, 1278, 1280, 1174, 1121, 1215, 1286, 1289, 1305, - /* 410 */ 1314, 1324, 1331, 1350, 1338, 1132, 1339, 609, 1344, 1366, - /* 420 */ 1368, 1371, 1372, 1373, 468, 1238, 1288, 1343, 1353, 1332, - /* 430 */ 1391, 1728, 1733, 1735, 1691, 1737, 1701, 1513, 1703, 1706, - /* 440 */ 1707, 1522, 1745, 1713, 1715, 1528, 1716, 1755, 1530, 1757, - /* 450 */ 1721, 1759, 1723, 1762, 1742, 1765, 1729, 1546, 1768, 1560, - /* 460 */ 1770, 1563, 1566, 1570, 1582, 1785, 1786, 1788, 1593, 1596, - /* 470 */ 1793, 1794, 1649, 1749, 1750, 1800, 1764, 1804, 1806, 1777, - /* 480 */ 1756, 1817, 1769, 1820, 1778, 1821, 1824, 1825, 1780, 1830, - /* 490 */ 1833, 1840, 1842, 1843, 1845, 1682, 1810, 1849, 1686, 1851, - /* 500 */ 1854, 1855, 1857, 1861, 1862, 1863, 1864, 1865, 1866, 1867, - /* 510 */ 1868, 1869, 1870, 1871, 1873, 1877, 1878, 1826, 1879, 1814, - /* 520 */ 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1872, 1887, 1740, - /* 530 */ 1890, 1744, 1892, 1747, 1895, 1896, 1876, 1852, 1893, 1888, - /* 540 */ 1899, 1836, 1891, 1918, 1860, 1930, 1874, 1932, 1934, 1898, - /* 550 */ 1889, 1894, 1937, 1904, 1897, 1900, 1943, 1907, 1901, 1903, - /* 560 */ 1947, 1912, 1950, 1908, 1914, 1921, 1909, 1910, 1946, 1916, - /* 570 */ 1957, 1920, 1924, 1971, 1972, 1975, 1982, 1926, 1795, 1984, - /* 580 */ 1909, 1936, 1989, 1991, 1922, 1993, 1996, 1961, 1948, 1958, - /* 590 */ 2001, 1965, 1952, 1963, 2007, 1973, 1962, 1967, 2012, 1983, - /* 600 */ 1974, 1980, 2023, 2024, 2026, 2028, 2031, 2032, 1928, 1931, - /* 610 */ 2002, 2019, 2046, 2010, 2013, 2022, 2025, 2027, 2029, 2030, - /* 620 */ 2034, 2016, 2035, 2036, 2039, 2038, 2040, 2063, 2043, 2069, - /* 630 */ 2050, 2078, 2058, 2033, 2081, 2061, 2048, 2087, 2088, 2089, - /* 640 */ 2053, 2091, 2055, 2093, 2072, 2075, 2059, 2060, 2062, 1990, - /* 650 */ 1994, 2100, 1923, 1998, 1902, 1909, 2054, 2106, 1927, 2070, - /* 660 */ 2090, 2109, 1911, 2095, 1938, 1929, 2111, 2118, 1939, 1933, - /* 670 */ 1941, 1949, 2121, 2092, 1906, 2020, 2037, 2041, 2085, 2042, - /* 680 */ 2096, 2047, 2044, 2105, 2107, 2045, 2049, 2052, 2064, 2065, - /* 690 */ 2110, 2102, 2123, 2068, 2116, 1913, 2071, 2076, 2136, 2127, - /* 700 */ 1915, 2117, 2130, 2133, 2139, 2140, 2141, 2079, 2080, 2131, - /* 710 */ 1917, 2157, 2144, 2142, 2192, 2094, 2152, 2097, 2098, 2099, - /* 720 */ 2101, 2108, 2011, 2112, 2195, 2156, 2017, 2113, 2086, 1909, - /* 730 */ 2154, 2172, 2104, 1954, 2129, 2210, 2191, 1981, 2114, 2115, - /* 740 */ 2119, 2128, 2132, 2134, 2168, 2143, 2147, 2169, 2135, 2234, - /* 750 */ 2056, 2151, 2145, 2153, 2222, 2223, 2158, 2155, 2230, 2162, - /* 760 */ 2164, 2233, 2167, 2170, 2238, 2174, 2171, 2239, 2176, 2177, - /* 770 */ 2240, 2179, 2160, 2161, 2163, 2165, 2183, 2251, 2187, 2258, - /* 780 */ 2193, 2251, 2251, 2280, 2231, 2235, 2267, 2270, 2272, 2273, - /* 790 */ 2282, 2285, 2286, 2288, 2289, 2257, 2216, 2259, 2237, 2303, - /* 800 */ 2304, 2306, 2307, 2318, 2309, 2310, 2311, 2271, 2016, 2313, - /* 810 */ 2035, 2314, 2316, 2317, 2319, 2333, 2321, 2359, 2323, 2315, - /* 820 */ 2320, 2363, 2327, 2325, 2326, 2365, 2330, 2331, 2329, 2369, - /* 830 */ 2335, 2332, 2336, 2374, 2342, 2344, 2384, 2364, 2352, 2366, - /* 840 */ 2368, 2371, 2373, 2370, 2367, + /* 0 */ 1300, 0, 244, 0, 489, 489, 489, 489, 489, 489, + /* 10 */ 489, 489, 489, 489, 489, 489, 733, 977, 977, 1221, + /* 20 */ 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, + /* 30 */ 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, + /* 40 */ 977, 977, 977, 977, 977, 977, 977, 977, 977, 977, + /* 50 */ 977, 420, 439, 96, 210, 34, 130, 34, 34, 210, + /* 60 */ 210, 34, 1469, 34, 243, 1469, 1469, 322, 34, 1, + /* 70 */ 240, 131, 131, 1060, 1060, 240, 294, 501, 154, 154, + /* 80 */ 551, 131, 131, 131, 131, 131, 131, 131, 131, 131, + /* 90 */ 131, 131, 165, 238, 131, 131, 31, 1, 131, 165, + /* 100 */ 131, 1, 131, 131, 1, 131, 131, 1, 131, 1, + /* 110 */ 1, 1, 131, 532, 203, 203, 488, 634, 834, 834, + /* 120 */ 834, 834, 834, 834, 834, 834, 834, 834, 834, 834, + /* 130 */ 834, 834, 834, 834, 834, 834, 834, 437, 256, 294, + /* 140 */ 501, 555, 555, 763, 278, 278, 278, 137, 272, 272, + /* 150 */ 403, 763, 31, 512, 1, 1, 424, 1, 780, 1, + /* 160 */ 780, 780, 595, 884, 212, 212, 212, 212, 212, 212, + /* 170 */ 212, 212, 1695, 361, 657, 812, 611, 639, 118, 13, + /* 180 */ 629, 659, 738, 738, 777, 908, 814, 734, 734, 734, + /* 190 */ 640, 734, 330, 768, 1025, 419, 805, 94, 1025, 1025, + /* 200 */ 1029, 917, 576, 575, 917, 295, 894, 403, 1215, 1441, + /* 210 */ 1458, 1481, 1290, 31, 1481, 31, 1314, 1500, 1508, 1491, + /* 220 */ 1508, 1491, 1363, 1500, 1508, 1500, 1491, 1363, 1363, 1446, + /* 230 */ 1451, 1500, 1454, 1500, 1500, 1500, 1542, 1515, 1542, 1515, + /* 240 */ 1481, 31, 31, 1555, 31, 1562, 1570, 31, 1562, 31, + /* 250 */ 1575, 31, 31, 1500, 31, 1542, 1, 1, 1, 1, + /* 260 */ 1, 1, 1, 1, 1, 1, 1, 1500, 884, 884, + /* 270 */ 1542, 780, 780, 780, 1406, 1533, 1481, 532, 1626, 1440, + /* 280 */ 1445, 1555, 532, 1215, 1500, 780, 1373, 1376, 1373, 1376, + /* 290 */ 1370, 1471, 1373, 1375, 1377, 1389, 1215, 1367, 1382, 1398, + /* 300 */ 1422, 1508, 1680, 1584, 1433, 1562, 532, 532, 1376, 780, + /* 310 */ 780, 780, 780, 1376, 780, 1530, 532, 595, 532, 1508, + /* 320 */ 1630, 1631, 780, 1500, 532, 1720, 1709, 1542, 3083, 3083, + /* 330 */ 3083, 3083, 3083, 3083, 3083, 3083, 3083, 36, 1228, 197, + /* 340 */ 748, 1007, 81, 1045, 888, 15, 527, 1062, 995, 1289, + /* 350 */ 1289, 1289, 1289, 1289, 1289, 1289, 1289, 1289, 216, 148, + /* 360 */ 12, 802, 802, 226, 729, 10, 742, 843, 773, 732, + /* 370 */ 897, 747, 914, 914, 1019, 6, 605, 1019, 1019, 1019, + /* 380 */ 1249, 1066, 487, 370, 1202, 1028, 1122, 1154, 1168, 1170, + /* 390 */ 1172, 1229, 1247, 1240, 1273, 1287, 1292, 1093, 684, 1274, + /* 400 */ 1145, 1282, 1283, 1286, 1177, 1068, 1279, 1291, 1296, 1297, + /* 410 */ 1298, 1309, 1310, 1325, 1313, 433, 1320, 1268, 1350, 1407, + /* 420 */ 1408, 1410, 1414, 1419, 1254, 1285, 1299, 1335, 1337, 1301, + /* 430 */ 1431, 1764, 1766, 1767, 1725, 1773, 1737, 1549, 1740, 1741, + /* 440 */ 1742, 1554, 1783, 1747, 1748, 1559, 1750, 1788, 1563, 1791, + /* 450 */ 1756, 1794, 1768, 1806, 1785, 1808, 1774, 1588, 1812, 1606, + /* 460 */ 1818, 1609, 1611, 1616, 1621, 1825, 1826, 1833, 1639, 1641, + /* 470 */ 1839, 1840, 1694, 1795, 1798, 1843, 1813, 1849, 1851, 1816, + /* 480 */ 1801, 1854, 1811, 1855, 1823, 1857, 1861, 1870, 1824, 1872, + /* 490 */ 1874, 1875, 1877, 1887, 1889, 1715, 1844, 1882, 1718, 1884, + /* 500 */ 1885, 1892, 1894, 1895, 1896, 1897, 1898, 1900, 1901, 1902, + /* 510 */ 1903, 1904, 1907, 1908, 1909, 1910, 1912, 1918, 1865, 1915, + /* 520 */ 1876, 1920, 1922, 1923, 1925, 1926, 1927, 1928, 1919, 1930, + /* 530 */ 1796, 1943, 1800, 1945, 1804, 1951, 1953, 1934, 1916, 1935, + /* 540 */ 1917, 1964, 1905, 1931, 1969, 1906, 1973, 1911, 1974, 1977, + /* 550 */ 1947, 1940, 1944, 1988, 1955, 1948, 1961, 2004, 1968, 1956, + /* 560 */ 1966, 2006, 1972, 2010, 1967, 1971, 1978, 1965, 1970, 2001, + /* 570 */ 1975, 2016, 1979, 1976, 2017, 2020, 2021, 2023, 1984, 1834, + /* 580 */ 2028, 1965, 1980, 2031, 2032, 1962, 2033, 2035, 1999, 1986, + /* 590 */ 1998, 2041, 2008, 1992, 2005, 2046, 2011, 2000, 2007, 2050, + /* 600 */ 2015, 2002, 2012, 2055, 2056, 2058, 2059, 2060, 2061, 1949, + /* 610 */ 1950, 2025, 2043, 2072, 2030, 2036, 2037, 2038, 2039, 2040, + /* 620 */ 2042, 2044, 2049, 2051, 2048, 2062, 2047, 2063, 2068, 2065, + /* 630 */ 2088, 2073, 2097, 2079, 2052, 2102, 2081, 2069, 2104, 2107, + /* 640 */ 2108, 2074, 2109, 2076, 2114, 2093, 2096, 2080, 2083, 2084, + /* 650 */ 2027, 2024, 2118, 1941, 2026, 1929, 1965, 2075, 2136, 1957, + /* 660 */ 2100, 2119, 2140, 1938, 2120, 1963, 1982, 2146, 2148, 1983, + /* 670 */ 1960, 1987, 1981, 2149, 2122, 1879, 2064, 2045, 2066, 2124, + /* 680 */ 2071, 2127, 2082, 2070, 2139, 2150, 2078, 2077, 2085, 2086, + /* 690 */ 2089, 2155, 2130, 2133, 2091, 2157, 1924, 2092, 2094, 2191, + /* 700 */ 2162, 1933, 2167, 2169, 2170, 2171, 2174, 2175, 2105, 2106, + /* 710 */ 2166, 1946, 2184, 2173, 2199, 2218, 2112, 2178, 2117, 2121, + /* 720 */ 2132, 2123, 2125, 2057, 2135, 2225, 2185, 2095, 2138, 2110, + /* 730 */ 1965, 2200, 2215, 2151, 2003, 2153, 2257, 2239, 2029, 2159, + /* 740 */ 2156, 2176, 2168, 2177, 2179, 2228, 2186, 2187, 2229, 2181, + /* 750 */ 2259, 2054, 2188, 2165, 2189, 2248, 2261, 2192, 2193, 2263, + /* 760 */ 2195, 2196, 2268, 2202, 2198, 2270, 2203, 2204, 2274, 2206, + /* 770 */ 2207, 2277, 2209, 2164, 2190, 2197, 2201, 2210, 2286, 2214, + /* 780 */ 2287, 2216, 2286, 2286, 2304, 2224, 2271, 2291, 2295, 2302, + /* 790 */ 2307, 2309, 2311, 2312, 2313, 2314, 2276, 2251, 2278, 2252, + /* 800 */ 2308, 2318, 2320, 2321, 2337, 2325, 2326, 2328, 2288, 2049, + /* 810 */ 2336, 2051, 2338, 2339, 2340, 2341, 2357, 2343, 2381, 2345, + /* 820 */ 2332, 2344, 2389, 2359, 2334, 2356, 2399, 2364, 2352, 2362, + /* 830 */ 2405, 2369, 2358, 2365, 2408, 2373, 2374, 2412, 2391, 2382, + /* 840 */ 2392, 2395, 2396, 2397, 2400, 2402, }; #define YY_REDUCE_COUNT (336) -#define YY_REDUCE_MIN (-447) -#define YY_REDUCE_MAX (2678) +#define YY_REDUCE_MIN (-463) +#define YY_REDUCE_MAX (2622) static const short yy_reduce_ofst[] = { - /* 0 */ 279, -304, 149, 393, 180, 423, 491, 635, 731, 878, - /* 10 */ 247, 974, 1246, 1325, 1356, 1382, 1451, 1467, -81, 1524, - /* 20 */ 1562, 1599, 1677, 1581, 1709, 1776, 1792, 1859, 1875, 1148, - /* 30 */ 1166, 1968, 1987, 2005, 2083, 2103, 2182, 2198, 2217, 2297, - /* 40 */ 2312, 2328, 2395, 2411, 2426, 2469, 2491, 2548, 2564, 2663, - /* 50 */ 2678, 318, -341, -425, -42, -423, 143, 425, 622, 791, - /* 60 */ 798, 667, -183, 700, -107, 54, 310, -90, 331, -374, - /* 70 */ -353, 56, 232, -299, 335, -269, -331, -397, -343, -96, - /* 80 */ -308, -45, 18, 74, 442, -364, 163, 456, 497, 501, - /* 90 */ 506, 225, -164, 52, 557, 625, -285, -203, 639, 496, - /* 100 */ 670, 217, 680, 683, 256, 744, 748, 606, 750, 381, - /* 110 */ 653, 440, 785, 890, -140, -140, -235, -349, 222, 515, - /* 120 */ 587, 697, 752, 759, 768, 789, 827, 830, 837, 839, - /* 130 */ 844, 857, 879, 885, 887, 888, 911, -354, -444, -232, - /* 140 */ -40, 522, 535, 633, -444, -273, -3, 108, -447, 324, - /* 150 */ 295, 765, 170, -85, 214, 475, 227, 426, 756, 530, - /* 160 */ 845, 877, 513, 932, 503, 562, 600, 661, 781, 886, - /* 170 */ 920, 781, 461, 584, 983, 935, 846, 876, 993, 884, - /* 180 */ 985, 985, 994, 995, 964, 1020, 966, 891, 893, 896, - /* 190 */ 980, 897, 985, 1032, 990, 1044, 1008, 979, 998, 1000, - /* 200 */ 985, 941, 941, 924, 941, 952, 953, 1051, 1013, 1023, - /* 210 */ 1028, 1042, 1039, 1112, 1046, 1114, 1057, 1128, 1134, 1082, - /* 220 */ 1136, 1088, 1092, 1141, 1142, 1145, 1096, 1095, 1101, 1138, - /* 230 */ 1143, 1153, 1150, 1162, 1163, 1164, 1173, 1172, 1178, 1176, - /* 240 */ 1098, 1167, 1169, 1137, 1170, 1180, 1119, 1175, 1184, 1179, - /* 250 */ 1133, 1183, 1187, 1198, 1190, 1207, 1165, 1177, 1181, 1182, - /* 260 */ 1195, 1196, 1197, 1199, 1202, 1213, 1217, 1204, 1210, 1214, - /* 270 */ 1219, 1152, 1188, 1191, 1135, 1149, 1168, 1206, 1189, 1192, - /* 280 */ 1205, 1209, 1243, 1208, 1253, 1221, 1144, 1211, 1146, 1220, - /* 290 */ 1140, 1151, 1155, 1157, 1159, 1171, 1225, 1154, 1156, 1158, - /* 300 */ 941, 1296, 1218, 1212, 1222, 1302, 1299, 1300, 1249, 1268, - /* 310 */ 1269, 1270, 1273, 1257, 1276, 1272, 1317, 1304, 1318, 1329, - /* 320 */ 1237, 1312, 1306, 1349, 1358, 1361, 1362, 1367, 1291, 1281, - /* 330 */ 1303, 1307, 1354, 1359, 1364, 1370, 1376, + /* 0 */ 280, -308, 150, 181, 395, 425, 493, 638, 736, 979, + /* 10 */ 248, 1131, 1158, 1227, 1342, 1374, -81, 902, 1409, 1482, + /* 20 */ 1505, 720, 1525, 1540, 1636, 1672, 1704, 1781, 1797, 1815, + /* 30 */ 1880, 1914, 1937, 1994, 2067, 2087, 2145, 2160, 2182, 2240, + /* 40 */ 2255, 2275, 2348, 2368, 2385, 2454, 2512, 2527, 2549, 2607, + /* 50 */ 2622, -310, -217, -425, 38, -418, 769, 771, 910, -172, + /* 60 */ -156, 948, -381, -438, -257, 126, 149, -463, -300, 363, + /* 70 */ -324, -326, 52, -358, -202, -335, -218, 264, -90, 158, + /* 80 */ -84, -152, -98, 172, 187, -134, 91, 199, 331, 411, + /* 90 */ 478, 285, -54, -316, 504, 545, 159, 189, 652, 282, + /* 100 */ 697, 401, 714, 758, -368, 781, 784, 499, 786, 324, + /* 110 */ 535, 372, 775, -312, -422, -422, 47, -280, -353, 39, + /* 120 */ 354, 533, 564, 599, 601, 604, 694, 712, 719, 776, + /* 130 */ 803, 808, 831, 832, 846, 851, 853, -185, -89, 55, + /* 140 */ 99, 221, 622, 623, -89, 222, 589, 407, 534, 647, + /* 150 */ 627, 737, 408, 250, 703, 745, 624, 637, 756, 754, + /* 160 */ 799, 833, 515, 889, -392, -363, 566, 571, 614, 648, + /* 170 */ 743, 614, 692, 789, 841, 887, 824, 837, 982, 880, + /* 180 */ 984, 984, 994, 998, 962, 1020, 967, 891, 896, 898, + /* 190 */ 968, 903, 984, 1053, 1005, 1048, 1037, 1041, 1059, 1061, + /* 200 */ 984, 1004, 1004, 985, 1004, 1006, 1002, 1104, 1063, 1049, + /* 210 */ 1054, 1064, 1071, 1134, 1069, 1135, 1087, 1156, 1169, 1123, + /* 220 */ 1174, 1126, 1132, 1178, 1179, 1181, 1133, 1137, 1138, 1175, + /* 230 */ 1180, 1190, 1182, 1194, 1195, 1196, 1205, 1206, 1209, 1207, + /* 240 */ 1129, 1197, 1200, 1171, 1203, 1216, 1161, 1220, 1230, 1225, + /* 250 */ 1184, 1226, 1233, 1236, 1235, 1246, 1223, 1232, 1234, 1237, + /* 260 */ 1238, 1242, 1243, 1244, 1245, 1248, 1250, 1255, 1263, 1266, + /* 270 */ 1252, 1218, 1239, 1241, 1189, 1198, 1208, 1271, 1210, 1213, + /* 280 */ 1217, 1251, 1281, 1231, 1293, 1256, 1166, 1262, 1173, 1264, + /* 290 */ 1176, 1183, 1186, 1201, 1191, 1185, 1259, 1160, 1187, 1199, + /* 300 */ 1004, 1331, 1253, 1222, 1258, 1343, 1339, 1340, 1302, 1303, + /* 310 */ 1307, 1318, 1319, 1304, 1323, 1311, 1344, 1345, 1360, 1368, + /* 320 */ 1269, 1346, 1327, 1378, 1379, 1390, 1393, 1391, 1321, 1317, + /* 330 */ 1328, 1336, 1381, 1383, 1384, 1392, 1412, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 10 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 20 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 30 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 40 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 50 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 60 */ 1893, 2232, 1893, 1893, 2195, 1893, 1893, 1893, 1893, 1893, - /* 70 */ 1893, 1893, 1893, 1893, 1893, 1893, 2202, 1893, 1893, 1893, - /* 80 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 90 */ 1893, 1893, 1893, 1893, 1893, 1893, 1992, 1893, 1893, 1893, - /* 100 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 110 */ 1893, 1893, 1893, 1990, 2435, 1893, 1893, 1893, 1893, 1893, - /* 120 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 130 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 2447, 1893, - /* 140 */ 1893, 1964, 1964, 1893, 2447, 2447, 2447, 1990, 2407, 2407, - /* 150 */ 1893, 1893, 1992, 2270, 1893, 1893, 1893, 1893, 1893, 1893, - /* 160 */ 1893, 1893, 2115, 1923, 1893, 1893, 1893, 1893, 2139, 1893, - /* 170 */ 1893, 1893, 2258, 1893, 1893, 2476, 2536, 1893, 1893, 2479, - /* 180 */ 1893, 1893, 1893, 1893, 2207, 1893, 2466, 1893, 1893, 1893, - /* 190 */ 1893, 1893, 1893, 1893, 1893, 1893, 2068, 2252, 1893, 1893, - /* 200 */ 1893, 2439, 2453, 2520, 2440, 2437, 2460, 1893, 2470, 1893, - /* 210 */ 2295, 1893, 2284, 1992, 1893, 1992, 2245, 2190, 1893, 2200, - /* 220 */ 1893, 2200, 2197, 1893, 1893, 1893, 2200, 2197, 2197, 2057, - /* 230 */ 2053, 1893, 2051, 1893, 1893, 1893, 1893, 1948, 1893, 1948, - /* 240 */ 1893, 1992, 1992, 1893, 1992, 1893, 1893, 1992, 1893, 1992, - /* 250 */ 1893, 1992, 1992, 1893, 1992, 1893, 1893, 1893, 1893, 1893, - /* 260 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 270 */ 1893, 1893, 1893, 1893, 2282, 2268, 1893, 1990, 1893, 2256, - /* 280 */ 2254, 1893, 1990, 2470, 1893, 1893, 2490, 2485, 2490, 2485, - /* 290 */ 2504, 2500, 2490, 2509, 2506, 2472, 2470, 2539, 2526, 2522, - /* 300 */ 2453, 1893, 1893, 2458, 2456, 1893, 1990, 1990, 2485, 1893, - /* 310 */ 1893, 1893, 1893, 2485, 1893, 1893, 1990, 1893, 1990, 1893, - /* 320 */ 1893, 2084, 1893, 1893, 1990, 1893, 1932, 1893, 2247, 2273, - /* 330 */ 2228, 2228, 2118, 2118, 2118, 1993, 1898, 1893, 1893, 1893, - /* 340 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 2503, - /* 350 */ 2502, 2360, 1893, 2411, 2410, 2409, 2400, 2359, 2080, 1893, - /* 360 */ 1893, 2358, 2357, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 370 */ 1893, 1893, 2219, 2218, 2351, 1893, 1893, 2352, 2350, 2349, - /* 380 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 390 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 400 */ 1893, 1893, 1893, 1893, 1893, 2523, 2527, 1893, 1893, 1893, - /* 410 */ 1893, 1893, 1893, 2436, 1893, 1893, 1893, 2331, 1893, 1893, - /* 420 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 430 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 440 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 450 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 460 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 470 */ 1893, 1893, 2196, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 480 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 490 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 500 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 510 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 520 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 530 */ 1893, 1893, 1893, 2211, 1893, 1893, 1893, 1893, 1893, 1893, - /* 540 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 550 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 560 */ 1893, 1893, 1893, 1893, 1893, 1937, 2338, 1893, 1893, 1893, - /* 570 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 580 */ 2341, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 590 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 600 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 610 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 620 */ 1893, 2032, 2031, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 630 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 640 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 2342, - /* 650 */ 1893, 1893, 1893, 1893, 1893, 2333, 1893, 1893, 1893, 1893, - /* 660 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 670 */ 1893, 1893, 2519, 2473, 1893, 1893, 1893, 1893, 1893, 1893, - /* 680 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 690 */ 1893, 1893, 2331, 1893, 2501, 1893, 1893, 2517, 1893, 2521, - /* 700 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 2446, 2442, 1893, - /* 710 */ 1893, 2438, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 720 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 2330, - /* 730 */ 1893, 2397, 1893, 1893, 1893, 2431, 1893, 1893, 2382, 1893, - /* 740 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 2342, 1893, - /* 750 */ 2345, 1893, 1893, 1893, 1893, 1893, 2112, 1893, 1893, 1893, - /* 760 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 770 */ 1893, 1893, 2096, 2094, 2093, 2092, 1893, 2125, 1893, 1893, - /* 780 */ 1893, 2121, 2120, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 790 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 2011, - /* 800 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 2003, 1893, - /* 810 */ 2002, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 820 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, - /* 830 */ 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1893, 1922, 1893, - /* 840 */ 1893, 1893, 1893, 1893, 1893, + /* 0 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 10 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 20 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 30 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 40 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 50 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 60 */ 1895, 2235, 1895, 1895, 2198, 1895, 1895, 1895, 1895, 1895, + /* 70 */ 1895, 1895, 1895, 1895, 1895, 1895, 2205, 1895, 1895, 1895, + /* 80 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 90 */ 1895, 1895, 1895, 1895, 1895, 1895, 1994, 1895, 1895, 1895, + /* 100 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 110 */ 1895, 1895, 1895, 1992, 2438, 1895, 1895, 1895, 1895, 1895, + /* 120 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 130 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2450, 1895, + /* 140 */ 1895, 1966, 1966, 1895, 2450, 2450, 2450, 1992, 2410, 2410, + /* 150 */ 1895, 1895, 1994, 2273, 1895, 1895, 1895, 1895, 1895, 1895, + /* 160 */ 1895, 1895, 2117, 1925, 1895, 1895, 1895, 1895, 2141, 1895, + /* 170 */ 1895, 1895, 2261, 1895, 1895, 2479, 2539, 1895, 1895, 2482, + /* 180 */ 1895, 1895, 1895, 1895, 2210, 1895, 2469, 1895, 1895, 1895, + /* 190 */ 1895, 1895, 1895, 1895, 1895, 1895, 2070, 2255, 1895, 1895, + /* 200 */ 1895, 2442, 2456, 2523, 2443, 2440, 2463, 1895, 2473, 1895, + /* 210 */ 2298, 1895, 2287, 1994, 1895, 1994, 2248, 2193, 1895, 2203, + /* 220 */ 1895, 2203, 2200, 1895, 1895, 1895, 2203, 2200, 2200, 2059, + /* 230 */ 2055, 1895, 2053, 1895, 1895, 1895, 1895, 1950, 1895, 1950, + /* 240 */ 1895, 1994, 1994, 1895, 1994, 1895, 1895, 1994, 1895, 1994, + /* 250 */ 1895, 1994, 1994, 1895, 1994, 1895, 1895, 1895, 1895, 1895, + /* 260 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 270 */ 1895, 1895, 1895, 1895, 2285, 2271, 1895, 1992, 1895, 2259, + /* 280 */ 2257, 1895, 1992, 2473, 1895, 1895, 2493, 2488, 2493, 2488, + /* 290 */ 2507, 2503, 2493, 2512, 2509, 2475, 2473, 2542, 2529, 2525, + /* 300 */ 2456, 1895, 1895, 2461, 2459, 1895, 1992, 1992, 2488, 1895, + /* 310 */ 1895, 1895, 1895, 2488, 1895, 1895, 1992, 1895, 1992, 1895, + /* 320 */ 1895, 2086, 1895, 1895, 1992, 1895, 1934, 1895, 2250, 2276, + /* 330 */ 2231, 2231, 2120, 2120, 2120, 1995, 1900, 1895, 1895, 1895, + /* 340 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2506, + /* 350 */ 2505, 2363, 1895, 2414, 2413, 2412, 2403, 2362, 2082, 1895, + /* 360 */ 1895, 2361, 2360, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 370 */ 1895, 1895, 2222, 2221, 2354, 1895, 1895, 2355, 2353, 2352, + /* 380 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 390 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 400 */ 1895, 1895, 1895, 1895, 1895, 2526, 2530, 1895, 1895, 1895, + /* 410 */ 1895, 1895, 1895, 2439, 1895, 1895, 1895, 2334, 1895, 1895, + /* 420 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 430 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 440 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 450 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 460 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 470 */ 1895, 1895, 2199, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 480 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 490 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 500 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 510 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 520 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 530 */ 1895, 1895, 1895, 1895, 2214, 1895, 1895, 1895, 1895, 1895, + /* 540 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 550 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 560 */ 1895, 1895, 1895, 1895, 1895, 1895, 1939, 2341, 1895, 1895, + /* 570 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 580 */ 1895, 2344, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 590 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 600 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 610 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 620 */ 1895, 1895, 2034, 2033, 1895, 1895, 1895, 1895, 1895, 1895, + /* 630 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 640 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 650 */ 2345, 1895, 1895, 1895, 1895, 1895, 2336, 1895, 1895, 1895, + /* 660 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 670 */ 1895, 1895, 1895, 2522, 2476, 1895, 1895, 1895, 1895, 1895, + /* 680 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 690 */ 1895, 1895, 1895, 2334, 1895, 2504, 1895, 1895, 2520, 1895, + /* 700 */ 2524, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2449, 2445, + /* 710 */ 1895, 1895, 2441, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 720 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 730 */ 2333, 1895, 2400, 1895, 1895, 1895, 2434, 1895, 1895, 2385, + /* 740 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2345, + /* 750 */ 1895, 2348, 1895, 1895, 1895, 1895, 1895, 2114, 1895, 1895, + /* 760 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 770 */ 1895, 1895, 1895, 2098, 2096, 2095, 2094, 1895, 2127, 1895, + /* 780 */ 1895, 1895, 2123, 2122, 1895, 1895, 1895, 1895, 1895, 1895, + /* 790 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 800 */ 2013, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 2005, + /* 810 */ 1895, 2004, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 820 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, + /* 830 */ 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1895, 1924, + /* 840 */ 1895, 1895, 1895, 1895, 1895, 1895, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1227,7 +1217,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* BWLIMIT => nothing */ 0, /* START => nothing */ 0, /* TIMESTAMP => nothing */ - 299, /* END => ABORT */ + 300, /* END => ABORT */ 0, /* TABLE => nothing */ 0, /* NK_LP => nothing */ 0, /* NK_RP => nothing */ @@ -1283,6 +1273,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* GRANTS => nothing */ 0, /* FULL => nothing */ 0, /* LOG => nothing */ + 0, /* MACHINES => nothing */ 0, /* QUERIES => nothing */ 0, /* SCORES => nothing */ 0, /* TOPICS => nothing */ @@ -1296,7 +1287,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* VNODES => nothing */ 0, /* ALIVE => nothing */ 0, /* VIEWS => nothing */ - 299, /* VIEW => ABORT */ + 300, /* VIEW => ABORT */ 0, /* COMPACTS => nothing */ 0, /* NORMAL => nothing */ 0, /* CHILD => nothing */ @@ -1422,55 +1413,55 @@ static const YYCODETYPE yyFallback[] = { 0, /* ASC => nothing */ 0, /* NULLS => nothing */ 0, /* ABORT => nothing */ - 299, /* AFTER => ABORT */ - 299, /* ATTACH => ABORT */ - 299, /* BEFORE => ABORT */ - 299, /* BEGIN => ABORT */ - 299, /* BITAND => ABORT */ - 299, /* BITNOT => ABORT */ - 299, /* BITOR => ABORT */ - 299, /* BLOCKS => ABORT */ - 299, /* CHANGE => ABORT */ - 299, /* COMMA => ABORT */ - 299, /* CONCAT => ABORT */ - 299, /* CONFLICT => ABORT */ - 299, /* COPY => ABORT */ - 299, /* DEFERRED => ABORT */ - 299, /* DELIMITERS => ABORT */ - 299, /* DETACH => ABORT */ - 299, /* DIVIDE => ABORT */ - 299, /* DOT => ABORT */ - 299, /* EACH => ABORT */ - 299, /* FAIL => ABORT */ - 299, /* FILE => ABORT */ - 299, /* FOR => ABORT */ - 299, /* GLOB => ABORT */ - 299, /* ID => ABORT */ - 299, /* IMMEDIATE => ABORT */ - 299, /* IMPORT => ABORT */ - 299, /* INITIALLY => ABORT */ - 299, /* INSTEAD => ABORT */ - 299, /* ISNULL => ABORT */ - 299, /* KEY => ABORT */ - 299, /* MODULES => ABORT */ - 299, /* NK_BITNOT => ABORT */ - 299, /* NK_SEMI => ABORT */ - 299, /* NOTNULL => ABORT */ - 299, /* OF => ABORT */ - 299, /* PLUS => ABORT */ - 299, /* PRIVILEGE => ABORT */ - 299, /* RAISE => ABORT */ - 299, /* RESTRICT => ABORT */ - 299, /* ROW => ABORT */ - 299, /* SEMI => ABORT */ - 299, /* STAR => ABORT */ - 299, /* STATEMENT => ABORT */ - 299, /* STRICT => ABORT */ - 299, /* STRING => ABORT */ - 299, /* TIMES => ABORT */ - 299, /* VALUES => ABORT */ - 299, /* VARIABLE => ABORT */ - 299, /* WAL => ABORT */ + 300, /* AFTER => ABORT */ + 300, /* ATTACH => ABORT */ + 300, /* BEFORE => ABORT */ + 300, /* BEGIN => ABORT */ + 300, /* BITAND => ABORT */ + 300, /* BITNOT => ABORT */ + 300, /* BITOR => ABORT */ + 300, /* BLOCKS => ABORT */ + 300, /* CHANGE => ABORT */ + 300, /* COMMA => ABORT */ + 300, /* CONCAT => ABORT */ + 300, /* CONFLICT => ABORT */ + 300, /* COPY => ABORT */ + 300, /* DEFERRED => ABORT */ + 300, /* DELIMITERS => ABORT */ + 300, /* DETACH => ABORT */ + 300, /* DIVIDE => ABORT */ + 300, /* DOT => ABORT */ + 300, /* EACH => ABORT */ + 300, /* FAIL => ABORT */ + 300, /* FILE => ABORT */ + 300, /* FOR => ABORT */ + 300, /* GLOB => ABORT */ + 300, /* ID => ABORT */ + 300, /* IMMEDIATE => ABORT */ + 300, /* IMPORT => ABORT */ + 300, /* INITIALLY => ABORT */ + 300, /* INSTEAD => ABORT */ + 300, /* ISNULL => ABORT */ + 300, /* KEY => ABORT */ + 300, /* MODULES => ABORT */ + 300, /* NK_BITNOT => ABORT */ + 300, /* NK_SEMI => ABORT */ + 300, /* NOTNULL => ABORT */ + 300, /* OF => ABORT */ + 300, /* PLUS => ABORT */ + 300, /* PRIVILEGE => ABORT */ + 300, /* RAISE => ABORT */ + 300, /* RESTRICT => ABORT */ + 300, /* ROW => ABORT */ + 300, /* SEMI => ABORT */ + 300, /* STAR => ABORT */ + 300, /* STATEMENT => ABORT */ + 300, /* STRICT => ABORT */ + 300, /* STRING => ABORT */ + 300, /* TIMES => ABORT */ + 300, /* VALUES => ABORT */ + 300, /* VARIABLE => ABORT */ + 300, /* WAL => ABORT */ }; #endif /* YYFALLBACK */ @@ -1719,355 +1710,356 @@ static const char *const yyTokenName[] = { /* 158 */ "GRANTS", /* 159 */ "FULL", /* 160 */ "LOG", - /* 161 */ "QUERIES", - /* 162 */ "SCORES", - /* 163 */ "TOPICS", - /* 164 */ "VARIABLES", - /* 165 */ "BNODES", - /* 166 */ "SNODES", - /* 167 */ "TRANSACTIONS", - /* 168 */ "DISTRIBUTED", - /* 169 */ "CONSUMERS", - /* 170 */ "SUBSCRIPTIONS", - /* 171 */ "VNODES", - /* 172 */ "ALIVE", - /* 173 */ "VIEWS", - /* 174 */ "VIEW", - /* 175 */ "COMPACTS", - /* 176 */ "NORMAL", - /* 177 */ "CHILD", - /* 178 */ "LIKE", - /* 179 */ "TBNAME", - /* 180 */ "QTAGS", - /* 181 */ "AS", - /* 182 */ "SYSTEM", - /* 183 */ "INDEX", - /* 184 */ "FUNCTION", - /* 185 */ "INTERVAL", - /* 186 */ "COUNT", - /* 187 */ "LAST_ROW", - /* 188 */ "META", - /* 189 */ "ONLY", - /* 190 */ "TOPIC", - /* 191 */ "CONSUMER", - /* 192 */ "GROUP", - /* 193 */ "DESC", - /* 194 */ "DESCRIBE", - /* 195 */ "RESET", - /* 196 */ "QUERY", - /* 197 */ "CACHE", - /* 198 */ "EXPLAIN", - /* 199 */ "ANALYZE", - /* 200 */ "VERBOSE", - /* 201 */ "NK_BOOL", - /* 202 */ "RATIO", - /* 203 */ "NK_FLOAT", - /* 204 */ "OUTPUTTYPE", - /* 205 */ "AGGREGATE", - /* 206 */ "BUFSIZE", - /* 207 */ "LANGUAGE", - /* 208 */ "REPLACE", - /* 209 */ "STREAM", - /* 210 */ "INTO", - /* 211 */ "PAUSE", - /* 212 */ "RESUME", - /* 213 */ "TRIGGER", - /* 214 */ "AT_ONCE", - /* 215 */ "WINDOW_CLOSE", - /* 216 */ "IGNORE", - /* 217 */ "EXPIRED", - /* 218 */ "FILL_HISTORY", - /* 219 */ "UPDATE", - /* 220 */ "SUBTABLE", - /* 221 */ "UNTREATED", - /* 222 */ "KILL", - /* 223 */ "CONNECTION", - /* 224 */ "TRANSACTION", - /* 225 */ "BALANCE", - /* 226 */ "VGROUP", - /* 227 */ "LEADER", - /* 228 */ "MERGE", - /* 229 */ "REDISTRIBUTE", - /* 230 */ "SPLIT", - /* 231 */ "DELETE", - /* 232 */ "INSERT", - /* 233 */ "NULL", - /* 234 */ "NK_QUESTION", - /* 235 */ "NK_ALIAS", - /* 236 */ "NK_ARROW", - /* 237 */ "ROWTS", - /* 238 */ "QSTART", - /* 239 */ "QEND", - /* 240 */ "QDURATION", - /* 241 */ "WSTART", - /* 242 */ "WEND", - /* 243 */ "WDURATION", - /* 244 */ "IROWTS", - /* 245 */ "ISFILLED", - /* 246 */ "CAST", - /* 247 */ "NOW", - /* 248 */ "TODAY", - /* 249 */ "TIMEZONE", - /* 250 */ "CLIENT_VERSION", - /* 251 */ "SERVER_VERSION", - /* 252 */ "SERVER_STATUS", - /* 253 */ "CURRENT_USER", - /* 254 */ "CASE", - /* 255 */ "WHEN", - /* 256 */ "THEN", - /* 257 */ "ELSE", - /* 258 */ "BETWEEN", - /* 259 */ "IS", - /* 260 */ "NK_LT", - /* 261 */ "NK_GT", - /* 262 */ "NK_LE", - /* 263 */ "NK_GE", - /* 264 */ "NK_NE", - /* 265 */ "MATCH", - /* 266 */ "NMATCH", - /* 267 */ "CONTAINS", - /* 268 */ "IN", - /* 269 */ "JOIN", - /* 270 */ "INNER", - /* 271 */ "SELECT", - /* 272 */ "NK_HINT", - /* 273 */ "DISTINCT", - /* 274 */ "WHERE", - /* 275 */ "PARTITION", - /* 276 */ "BY", - /* 277 */ "SESSION", - /* 278 */ "STATE_WINDOW", - /* 279 */ "EVENT_WINDOW", - /* 280 */ "SLIDING", - /* 281 */ "FILL", - /* 282 */ "VALUE", - /* 283 */ "VALUE_F", - /* 284 */ "NONE", - /* 285 */ "PREV", - /* 286 */ "NULL_F", - /* 287 */ "LINEAR", - /* 288 */ "NEXT", - /* 289 */ "HAVING", - /* 290 */ "RANGE", - /* 291 */ "EVERY", - /* 292 */ "ORDER", - /* 293 */ "SLIMIT", - /* 294 */ "SOFFSET", - /* 295 */ "LIMIT", - /* 296 */ "OFFSET", - /* 297 */ "ASC", - /* 298 */ "NULLS", - /* 299 */ "ABORT", - /* 300 */ "AFTER", - /* 301 */ "ATTACH", - /* 302 */ "BEFORE", - /* 303 */ "BEGIN", - /* 304 */ "BITAND", - /* 305 */ "BITNOT", - /* 306 */ "BITOR", - /* 307 */ "BLOCKS", - /* 308 */ "CHANGE", - /* 309 */ "COMMA", - /* 310 */ "CONCAT", - /* 311 */ "CONFLICT", - /* 312 */ "COPY", - /* 313 */ "DEFERRED", - /* 314 */ "DELIMITERS", - /* 315 */ "DETACH", - /* 316 */ "DIVIDE", - /* 317 */ "DOT", - /* 318 */ "EACH", - /* 319 */ "FAIL", - /* 320 */ "FILE", - /* 321 */ "FOR", - /* 322 */ "GLOB", - /* 323 */ "ID", - /* 324 */ "IMMEDIATE", - /* 325 */ "IMPORT", - /* 326 */ "INITIALLY", - /* 327 */ "INSTEAD", - /* 328 */ "ISNULL", - /* 329 */ "KEY", - /* 330 */ "MODULES", - /* 331 */ "NK_BITNOT", - /* 332 */ "NK_SEMI", - /* 333 */ "NOTNULL", - /* 334 */ "OF", - /* 335 */ "PLUS", - /* 336 */ "PRIVILEGE", - /* 337 */ "RAISE", - /* 338 */ "RESTRICT", - /* 339 */ "ROW", - /* 340 */ "SEMI", - /* 341 */ "STAR", - /* 342 */ "STATEMENT", - /* 343 */ "STRICT", - /* 344 */ "STRING", - /* 345 */ "TIMES", - /* 346 */ "VALUES", - /* 347 */ "VARIABLE", - /* 348 */ "WAL", - /* 349 */ "cmd", - /* 350 */ "account_options", - /* 351 */ "alter_account_options", - /* 352 */ "literal", - /* 353 */ "alter_account_option", - /* 354 */ "ip_range_list", - /* 355 */ "white_list", - /* 356 */ "white_list_opt", - /* 357 */ "user_name", - /* 358 */ "sysinfo_opt", - /* 359 */ "privileges", - /* 360 */ "priv_level", - /* 361 */ "with_opt", - /* 362 */ "priv_type_list", - /* 363 */ "priv_type", - /* 364 */ "db_name", - /* 365 */ "table_name", - /* 366 */ "topic_name", - /* 367 */ "search_condition", - /* 368 */ "dnode_endpoint", - /* 369 */ "force_opt", - /* 370 */ "unsafe_opt", - /* 371 */ "not_exists_opt", - /* 372 */ "db_options", - /* 373 */ "exists_opt", - /* 374 */ "alter_db_options", - /* 375 */ "speed_opt", - /* 376 */ "start_opt", - /* 377 */ "end_opt", - /* 378 */ "integer_list", - /* 379 */ "variable_list", - /* 380 */ "retention_list", - /* 381 */ "signed", - /* 382 */ "alter_db_option", - /* 383 */ "retention", - /* 384 */ "full_table_name", - /* 385 */ "column_def_list", - /* 386 */ "tags_def_opt", - /* 387 */ "table_options", - /* 388 */ "multi_create_clause", - /* 389 */ "tags_def", - /* 390 */ "multi_drop_clause", - /* 391 */ "alter_table_clause", - /* 392 */ "alter_table_options", - /* 393 */ "column_name", - /* 394 */ "type_name", - /* 395 */ "signed_literal", - /* 396 */ "create_subtable_clause", - /* 397 */ "specific_cols_opt", - /* 398 */ "expression_list", - /* 399 */ "drop_table_clause", - /* 400 */ "col_name_list", - /* 401 */ "column_def", - /* 402 */ "duration_list", - /* 403 */ "rollup_func_list", - /* 404 */ "alter_table_option", - /* 405 */ "duration_literal", - /* 406 */ "rollup_func_name", - /* 407 */ "function_name", - /* 408 */ "col_name", - /* 409 */ "db_kind_opt", - /* 410 */ "table_kind_db_name_cond_opt", - /* 411 */ "like_pattern_opt", - /* 412 */ "db_name_cond_opt", - /* 413 */ "table_name_cond", - /* 414 */ "from_db_opt", - /* 415 */ "tag_list_opt", - /* 416 */ "table_kind", - /* 417 */ "tag_item", - /* 418 */ "column_alias", - /* 419 */ "index_options", - /* 420 */ "full_index_name", - /* 421 */ "index_name", - /* 422 */ "func_list", - /* 423 */ "sliding_opt", - /* 424 */ "sma_stream_opt", - /* 425 */ "func", - /* 426 */ "sma_func_name", - /* 427 */ "with_meta", - /* 428 */ "query_or_subquery", - /* 429 */ "where_clause_opt", - /* 430 */ "cgroup_name", - /* 431 */ "analyze_opt", - /* 432 */ "explain_options", - /* 433 */ "insert_query", - /* 434 */ "or_replace_opt", - /* 435 */ "agg_func_opt", - /* 436 */ "bufsize_opt", - /* 437 */ "language_opt", - /* 438 */ "full_view_name", - /* 439 */ "view_name", - /* 440 */ "stream_name", - /* 441 */ "stream_options", - /* 442 */ "col_list_opt", - /* 443 */ "tag_def_or_ref_opt", - /* 444 */ "subtable_opt", - /* 445 */ "ignore_opt", - /* 446 */ "expression", - /* 447 */ "on_vgroup_id", - /* 448 */ "dnode_list", - /* 449 */ "literal_func", - /* 450 */ "literal_list", - /* 451 */ "table_alias", - /* 452 */ "expr_or_subquery", - /* 453 */ "pseudo_column", - /* 454 */ "column_reference", - /* 455 */ "function_expression", - /* 456 */ "case_when_expression", - /* 457 */ "star_func", - /* 458 */ "star_func_para_list", - /* 459 */ "noarg_func", - /* 460 */ "other_para_list", - /* 461 */ "star_func_para", - /* 462 */ "when_then_list", - /* 463 */ "case_when_else_opt", - /* 464 */ "common_expression", - /* 465 */ "when_then_expr", - /* 466 */ "predicate", - /* 467 */ "compare_op", - /* 468 */ "in_op", - /* 469 */ "in_predicate_value", - /* 470 */ "boolean_value_expression", - /* 471 */ "boolean_primary", - /* 472 */ "from_clause_opt", - /* 473 */ "table_reference_list", - /* 474 */ "table_reference", - /* 475 */ "table_primary", - /* 476 */ "joined_table", - /* 477 */ "alias_opt", - /* 478 */ "subquery", - /* 479 */ "parenthesized_joined_table", - /* 480 */ "join_type", - /* 481 */ "query_specification", - /* 482 */ "hint_list", - /* 483 */ "set_quantifier_opt", - /* 484 */ "tag_mode_opt", - /* 485 */ "select_list", - /* 486 */ "partition_by_clause_opt", - /* 487 */ "range_opt", - /* 488 */ "every_opt", - /* 489 */ "fill_opt", - /* 490 */ "twindow_clause_opt", - /* 491 */ "group_by_clause_opt", - /* 492 */ "having_clause_opt", - /* 493 */ "select_item", - /* 494 */ "partition_list", - /* 495 */ "partition_item", - /* 496 */ "interval_sliding_duration_literal", - /* 497 */ "fill_mode", - /* 498 */ "group_by_list", - /* 499 */ "query_expression", - /* 500 */ "query_simple", - /* 501 */ "order_by_clause_opt", - /* 502 */ "slimit_clause_opt", - /* 503 */ "limit_clause_opt", - /* 504 */ "union_query_expression", - /* 505 */ "query_simple_or_subquery", - /* 506 */ "sort_specification_list", - /* 507 */ "sort_specification", - /* 508 */ "ordering_specification_opt", - /* 509 */ "null_ordering_opt", + /* 161 */ "MACHINES", + /* 162 */ "QUERIES", + /* 163 */ "SCORES", + /* 164 */ "TOPICS", + /* 165 */ "VARIABLES", + /* 166 */ "BNODES", + /* 167 */ "SNODES", + /* 168 */ "TRANSACTIONS", + /* 169 */ "DISTRIBUTED", + /* 170 */ "CONSUMERS", + /* 171 */ "SUBSCRIPTIONS", + /* 172 */ "VNODES", + /* 173 */ "ALIVE", + /* 174 */ "VIEWS", + /* 175 */ "VIEW", + /* 176 */ "COMPACTS", + /* 177 */ "NORMAL", + /* 178 */ "CHILD", + /* 179 */ "LIKE", + /* 180 */ "TBNAME", + /* 181 */ "QTAGS", + /* 182 */ "AS", + /* 183 */ "SYSTEM", + /* 184 */ "INDEX", + /* 185 */ "FUNCTION", + /* 186 */ "INTERVAL", + /* 187 */ "COUNT", + /* 188 */ "LAST_ROW", + /* 189 */ "META", + /* 190 */ "ONLY", + /* 191 */ "TOPIC", + /* 192 */ "CONSUMER", + /* 193 */ "GROUP", + /* 194 */ "DESC", + /* 195 */ "DESCRIBE", + /* 196 */ "RESET", + /* 197 */ "QUERY", + /* 198 */ "CACHE", + /* 199 */ "EXPLAIN", + /* 200 */ "ANALYZE", + /* 201 */ "VERBOSE", + /* 202 */ "NK_BOOL", + /* 203 */ "RATIO", + /* 204 */ "NK_FLOAT", + /* 205 */ "OUTPUTTYPE", + /* 206 */ "AGGREGATE", + /* 207 */ "BUFSIZE", + /* 208 */ "LANGUAGE", + /* 209 */ "REPLACE", + /* 210 */ "STREAM", + /* 211 */ "INTO", + /* 212 */ "PAUSE", + /* 213 */ "RESUME", + /* 214 */ "TRIGGER", + /* 215 */ "AT_ONCE", + /* 216 */ "WINDOW_CLOSE", + /* 217 */ "IGNORE", + /* 218 */ "EXPIRED", + /* 219 */ "FILL_HISTORY", + /* 220 */ "UPDATE", + /* 221 */ "SUBTABLE", + /* 222 */ "UNTREATED", + /* 223 */ "KILL", + /* 224 */ "CONNECTION", + /* 225 */ "TRANSACTION", + /* 226 */ "BALANCE", + /* 227 */ "VGROUP", + /* 228 */ "LEADER", + /* 229 */ "MERGE", + /* 230 */ "REDISTRIBUTE", + /* 231 */ "SPLIT", + /* 232 */ "DELETE", + /* 233 */ "INSERT", + /* 234 */ "NULL", + /* 235 */ "NK_QUESTION", + /* 236 */ "NK_ALIAS", + /* 237 */ "NK_ARROW", + /* 238 */ "ROWTS", + /* 239 */ "QSTART", + /* 240 */ "QEND", + /* 241 */ "QDURATION", + /* 242 */ "WSTART", + /* 243 */ "WEND", + /* 244 */ "WDURATION", + /* 245 */ "IROWTS", + /* 246 */ "ISFILLED", + /* 247 */ "CAST", + /* 248 */ "NOW", + /* 249 */ "TODAY", + /* 250 */ "TIMEZONE", + /* 251 */ "CLIENT_VERSION", + /* 252 */ "SERVER_VERSION", + /* 253 */ "SERVER_STATUS", + /* 254 */ "CURRENT_USER", + /* 255 */ "CASE", + /* 256 */ "WHEN", + /* 257 */ "THEN", + /* 258 */ "ELSE", + /* 259 */ "BETWEEN", + /* 260 */ "IS", + /* 261 */ "NK_LT", + /* 262 */ "NK_GT", + /* 263 */ "NK_LE", + /* 264 */ "NK_GE", + /* 265 */ "NK_NE", + /* 266 */ "MATCH", + /* 267 */ "NMATCH", + /* 268 */ "CONTAINS", + /* 269 */ "IN", + /* 270 */ "JOIN", + /* 271 */ "INNER", + /* 272 */ "SELECT", + /* 273 */ "NK_HINT", + /* 274 */ "DISTINCT", + /* 275 */ "WHERE", + /* 276 */ "PARTITION", + /* 277 */ "BY", + /* 278 */ "SESSION", + /* 279 */ "STATE_WINDOW", + /* 280 */ "EVENT_WINDOW", + /* 281 */ "SLIDING", + /* 282 */ "FILL", + /* 283 */ "VALUE", + /* 284 */ "VALUE_F", + /* 285 */ "NONE", + /* 286 */ "PREV", + /* 287 */ "NULL_F", + /* 288 */ "LINEAR", + /* 289 */ "NEXT", + /* 290 */ "HAVING", + /* 291 */ "RANGE", + /* 292 */ "EVERY", + /* 293 */ "ORDER", + /* 294 */ "SLIMIT", + /* 295 */ "SOFFSET", + /* 296 */ "LIMIT", + /* 297 */ "OFFSET", + /* 298 */ "ASC", + /* 299 */ "NULLS", + /* 300 */ "ABORT", + /* 301 */ "AFTER", + /* 302 */ "ATTACH", + /* 303 */ "BEFORE", + /* 304 */ "BEGIN", + /* 305 */ "BITAND", + /* 306 */ "BITNOT", + /* 307 */ "BITOR", + /* 308 */ "BLOCKS", + /* 309 */ "CHANGE", + /* 310 */ "COMMA", + /* 311 */ "CONCAT", + /* 312 */ "CONFLICT", + /* 313 */ "COPY", + /* 314 */ "DEFERRED", + /* 315 */ "DELIMITERS", + /* 316 */ "DETACH", + /* 317 */ "DIVIDE", + /* 318 */ "DOT", + /* 319 */ "EACH", + /* 320 */ "FAIL", + /* 321 */ "FILE", + /* 322 */ "FOR", + /* 323 */ "GLOB", + /* 324 */ "ID", + /* 325 */ "IMMEDIATE", + /* 326 */ "IMPORT", + /* 327 */ "INITIALLY", + /* 328 */ "INSTEAD", + /* 329 */ "ISNULL", + /* 330 */ "KEY", + /* 331 */ "MODULES", + /* 332 */ "NK_BITNOT", + /* 333 */ "NK_SEMI", + /* 334 */ "NOTNULL", + /* 335 */ "OF", + /* 336 */ "PLUS", + /* 337 */ "PRIVILEGE", + /* 338 */ "RAISE", + /* 339 */ "RESTRICT", + /* 340 */ "ROW", + /* 341 */ "SEMI", + /* 342 */ "STAR", + /* 343 */ "STATEMENT", + /* 344 */ "STRICT", + /* 345 */ "STRING", + /* 346 */ "TIMES", + /* 347 */ "VALUES", + /* 348 */ "VARIABLE", + /* 349 */ "WAL", + /* 350 */ "cmd", + /* 351 */ "account_options", + /* 352 */ "alter_account_options", + /* 353 */ "literal", + /* 354 */ "alter_account_option", + /* 355 */ "ip_range_list", + /* 356 */ "white_list", + /* 357 */ "white_list_opt", + /* 358 */ "user_name", + /* 359 */ "sysinfo_opt", + /* 360 */ "privileges", + /* 361 */ "priv_level", + /* 362 */ "with_opt", + /* 363 */ "priv_type_list", + /* 364 */ "priv_type", + /* 365 */ "db_name", + /* 366 */ "table_name", + /* 367 */ "topic_name", + /* 368 */ "search_condition", + /* 369 */ "dnode_endpoint", + /* 370 */ "force_opt", + /* 371 */ "unsafe_opt", + /* 372 */ "not_exists_opt", + /* 373 */ "db_options", + /* 374 */ "exists_opt", + /* 375 */ "alter_db_options", + /* 376 */ "speed_opt", + /* 377 */ "start_opt", + /* 378 */ "end_opt", + /* 379 */ "integer_list", + /* 380 */ "variable_list", + /* 381 */ "retention_list", + /* 382 */ "signed", + /* 383 */ "alter_db_option", + /* 384 */ "retention", + /* 385 */ "full_table_name", + /* 386 */ "column_def_list", + /* 387 */ "tags_def_opt", + /* 388 */ "table_options", + /* 389 */ "multi_create_clause", + /* 390 */ "tags_def", + /* 391 */ "multi_drop_clause", + /* 392 */ "alter_table_clause", + /* 393 */ "alter_table_options", + /* 394 */ "column_name", + /* 395 */ "type_name", + /* 396 */ "signed_literal", + /* 397 */ "create_subtable_clause", + /* 398 */ "specific_cols_opt", + /* 399 */ "expression_list", + /* 400 */ "drop_table_clause", + /* 401 */ "col_name_list", + /* 402 */ "column_def", + /* 403 */ "duration_list", + /* 404 */ "rollup_func_list", + /* 405 */ "alter_table_option", + /* 406 */ "duration_literal", + /* 407 */ "rollup_func_name", + /* 408 */ "function_name", + /* 409 */ "col_name", + /* 410 */ "db_kind_opt", + /* 411 */ "table_kind_db_name_cond_opt", + /* 412 */ "like_pattern_opt", + /* 413 */ "db_name_cond_opt", + /* 414 */ "table_name_cond", + /* 415 */ "from_db_opt", + /* 416 */ "tag_list_opt", + /* 417 */ "table_kind", + /* 418 */ "tag_item", + /* 419 */ "column_alias", + /* 420 */ "index_options", + /* 421 */ "full_index_name", + /* 422 */ "index_name", + /* 423 */ "func_list", + /* 424 */ "sliding_opt", + /* 425 */ "sma_stream_opt", + /* 426 */ "func", + /* 427 */ "sma_func_name", + /* 428 */ "with_meta", + /* 429 */ "query_or_subquery", + /* 430 */ "where_clause_opt", + /* 431 */ "cgroup_name", + /* 432 */ "analyze_opt", + /* 433 */ "explain_options", + /* 434 */ "insert_query", + /* 435 */ "or_replace_opt", + /* 436 */ "agg_func_opt", + /* 437 */ "bufsize_opt", + /* 438 */ "language_opt", + /* 439 */ "full_view_name", + /* 440 */ "view_name", + /* 441 */ "stream_name", + /* 442 */ "stream_options", + /* 443 */ "col_list_opt", + /* 444 */ "tag_def_or_ref_opt", + /* 445 */ "subtable_opt", + /* 446 */ "ignore_opt", + /* 447 */ "expression", + /* 448 */ "on_vgroup_id", + /* 449 */ "dnode_list", + /* 450 */ "literal_func", + /* 451 */ "literal_list", + /* 452 */ "table_alias", + /* 453 */ "expr_or_subquery", + /* 454 */ "pseudo_column", + /* 455 */ "column_reference", + /* 456 */ "function_expression", + /* 457 */ "case_when_expression", + /* 458 */ "star_func", + /* 459 */ "star_func_para_list", + /* 460 */ "noarg_func", + /* 461 */ "other_para_list", + /* 462 */ "star_func_para", + /* 463 */ "when_then_list", + /* 464 */ "case_when_else_opt", + /* 465 */ "common_expression", + /* 466 */ "when_then_expr", + /* 467 */ "predicate", + /* 468 */ "compare_op", + /* 469 */ "in_op", + /* 470 */ "in_predicate_value", + /* 471 */ "boolean_value_expression", + /* 472 */ "boolean_primary", + /* 473 */ "from_clause_opt", + /* 474 */ "table_reference_list", + /* 475 */ "table_reference", + /* 476 */ "table_primary", + /* 477 */ "joined_table", + /* 478 */ "alias_opt", + /* 479 */ "subquery", + /* 480 */ "parenthesized_joined_table", + /* 481 */ "join_type", + /* 482 */ "query_specification", + /* 483 */ "hint_list", + /* 484 */ "set_quantifier_opt", + /* 485 */ "tag_mode_opt", + /* 486 */ "select_list", + /* 487 */ "partition_by_clause_opt", + /* 488 */ "range_opt", + /* 489 */ "every_opt", + /* 490 */ "fill_opt", + /* 491 */ "twindow_clause_opt", + /* 492 */ "group_by_clause_opt", + /* 493 */ "having_clause_opt", + /* 494 */ "select_item", + /* 495 */ "partition_list", + /* 496 */ "partition_item", + /* 497 */ "interval_sliding_duration_literal", + /* 498 */ "fill_mode", + /* 499 */ "group_by_list", + /* 500 */ "query_expression", + /* 501 */ "query_simple", + /* 502 */ "order_by_clause_opt", + /* 503 */ "slimit_clause_opt", + /* 504 */ "limit_clause_opt", + /* 505 */ "union_query_expression", + /* 506 */ "query_simple_or_subquery", + /* 507 */ "sort_specification_list", + /* 508 */ "sort_specification", + /* 509 */ "ordering_specification_opt", + /* 510 */ "null_ordering_opt", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -2339,388 +2331,389 @@ static const char *const yyRuleName[] = { /* 261 */ "cmd ::= SHOW GRANTS", /* 262 */ "cmd ::= SHOW GRANTS FULL", /* 263 */ "cmd ::= SHOW GRANTS LOG", - /* 264 */ "cmd ::= SHOW CREATE DATABASE db_name", - /* 265 */ "cmd ::= SHOW CREATE TABLE full_table_name", - /* 266 */ "cmd ::= SHOW CREATE STABLE full_table_name", - /* 267 */ "cmd ::= SHOW QUERIES", - /* 268 */ "cmd ::= SHOW SCORES", - /* 269 */ "cmd ::= SHOW TOPICS", - /* 270 */ "cmd ::= SHOW VARIABLES", - /* 271 */ "cmd ::= SHOW CLUSTER VARIABLES", - /* 272 */ "cmd ::= SHOW LOCAL VARIABLES", - /* 273 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", - /* 274 */ "cmd ::= SHOW BNODES", - /* 275 */ "cmd ::= SHOW SNODES", - /* 276 */ "cmd ::= SHOW CLUSTER", - /* 277 */ "cmd ::= SHOW TRANSACTIONS", - /* 278 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", - /* 279 */ "cmd ::= SHOW CONSUMERS", - /* 280 */ "cmd ::= SHOW SUBSCRIPTIONS", - /* 281 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", - /* 282 */ "cmd ::= SHOW TAGS FROM db_name NK_DOT table_name", - /* 283 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", - /* 284 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name", - /* 285 */ "cmd ::= SHOW VNODES ON DNODE NK_INTEGER", - /* 286 */ "cmd ::= SHOW VNODES", - /* 287 */ "cmd ::= SHOW db_name_cond_opt ALIVE", - /* 288 */ "cmd ::= SHOW CLUSTER ALIVE", - /* 289 */ "cmd ::= SHOW db_name_cond_opt VIEWS", - /* 290 */ "cmd ::= SHOW CREATE VIEW full_table_name", - /* 291 */ "cmd ::= SHOW COMPACTS", - /* 292 */ "cmd ::= SHOW COMPACT NK_INTEGER", - /* 293 */ "table_kind_db_name_cond_opt ::=", - /* 294 */ "table_kind_db_name_cond_opt ::= table_kind", - /* 295 */ "table_kind_db_name_cond_opt ::= db_name NK_DOT", - /* 296 */ "table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT", - /* 297 */ "table_kind ::= NORMAL", - /* 298 */ "table_kind ::= CHILD", - /* 299 */ "db_name_cond_opt ::=", - /* 300 */ "db_name_cond_opt ::= db_name NK_DOT", - /* 301 */ "like_pattern_opt ::=", - /* 302 */ "like_pattern_opt ::= LIKE NK_STRING", - /* 303 */ "table_name_cond ::= table_name", - /* 304 */ "from_db_opt ::=", - /* 305 */ "from_db_opt ::= FROM db_name", - /* 306 */ "tag_list_opt ::=", - /* 307 */ "tag_list_opt ::= tag_item", - /* 308 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", - /* 309 */ "tag_item ::= TBNAME", - /* 310 */ "tag_item ::= QTAGS", - /* 311 */ "tag_item ::= column_name", - /* 312 */ "tag_item ::= column_name column_alias", - /* 313 */ "tag_item ::= column_name AS column_alias", - /* 314 */ "db_kind_opt ::=", - /* 315 */ "db_kind_opt ::= USER", - /* 316 */ "db_kind_opt ::= SYSTEM", - /* 317 */ "cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options", - /* 318 */ "cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP", - /* 319 */ "cmd ::= DROP INDEX exists_opt full_index_name", - /* 320 */ "full_index_name ::= index_name", - /* 321 */ "full_index_name ::= db_name NK_DOT index_name", - /* 322 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", - /* 323 */ "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", - /* 324 */ "func_list ::= func", - /* 325 */ "func_list ::= func_list NK_COMMA func", - /* 326 */ "func ::= sma_func_name NK_LP expression_list NK_RP", - /* 327 */ "sma_func_name ::= function_name", - /* 328 */ "sma_func_name ::= COUNT", - /* 329 */ "sma_func_name ::= FIRST", - /* 330 */ "sma_func_name ::= LAST", - /* 331 */ "sma_func_name ::= LAST_ROW", - /* 332 */ "sma_stream_opt ::=", - /* 333 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", - /* 334 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", - /* 335 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", - /* 336 */ "with_meta ::= AS", - /* 337 */ "with_meta ::= WITH META AS", - /* 338 */ "with_meta ::= ONLY META AS", - /* 339 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", - /* 340 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name", - /* 341 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt", - /* 342 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 343 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 344 */ "cmd ::= DESC full_table_name", - /* 345 */ "cmd ::= DESCRIBE full_table_name", - /* 346 */ "cmd ::= RESET QUERY CACHE", - /* 347 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", - /* 348 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", - /* 349 */ "analyze_opt ::=", - /* 350 */ "analyze_opt ::= ANALYZE", - /* 351 */ "explain_options ::=", - /* 352 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 353 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 354 */ "cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", - /* 355 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 356 */ "agg_func_opt ::=", - /* 357 */ "agg_func_opt ::= AGGREGATE", - /* 358 */ "bufsize_opt ::=", - /* 359 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 360 */ "language_opt ::=", - /* 361 */ "language_opt ::= LANGUAGE NK_STRING", - /* 362 */ "or_replace_opt ::=", - /* 363 */ "or_replace_opt ::= OR REPLACE", - /* 364 */ "cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery", - /* 365 */ "cmd ::= DROP VIEW exists_opt full_view_name", - /* 366 */ "full_view_name ::= view_name", - /* 367 */ "full_view_name ::= db_name NK_DOT view_name", - /* 368 */ "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", - /* 369 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 370 */ "cmd ::= PAUSE STREAM exists_opt stream_name", - /* 371 */ "cmd ::= RESUME STREAM exists_opt ignore_opt stream_name", - /* 372 */ "col_list_opt ::=", - /* 373 */ "col_list_opt ::= NK_LP col_name_list NK_RP", - /* 374 */ "tag_def_or_ref_opt ::=", - /* 375 */ "tag_def_or_ref_opt ::= tags_def", - /* 376 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", - /* 377 */ "stream_options ::=", - /* 378 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 379 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 380 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 381 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 382 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", - /* 383 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", - /* 384 */ "stream_options ::= stream_options DELETE_MARK duration_literal", - /* 385 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", - /* 386 */ "subtable_opt ::=", - /* 387 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", - /* 388 */ "ignore_opt ::=", - /* 389 */ "ignore_opt ::= IGNORE UNTREATED", - /* 390 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 391 */ "cmd ::= KILL QUERY NK_STRING", - /* 392 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 393 */ "cmd ::= KILL COMPACT NK_INTEGER", - /* 394 */ "cmd ::= BALANCE VGROUP", - /* 395 */ "cmd ::= BALANCE VGROUP LEADER on_vgroup_id", - /* 396 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 397 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 398 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 399 */ "on_vgroup_id ::=", - /* 400 */ "on_vgroup_id ::= ON NK_INTEGER", - /* 401 */ "dnode_list ::= DNODE NK_INTEGER", - /* 402 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 403 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 404 */ "cmd ::= query_or_subquery", - /* 405 */ "cmd ::= insert_query", - /* 406 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 407 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", - /* 408 */ "literal ::= NK_INTEGER", - /* 409 */ "literal ::= NK_FLOAT", - /* 410 */ "literal ::= NK_STRING", - /* 411 */ "literal ::= NK_BOOL", - /* 412 */ "literal ::= TIMESTAMP NK_STRING", - /* 413 */ "literal ::= duration_literal", - /* 414 */ "literal ::= NULL", - /* 415 */ "literal ::= NK_QUESTION", - /* 416 */ "duration_literal ::= NK_VARIABLE", - /* 417 */ "signed ::= NK_INTEGER", - /* 418 */ "signed ::= NK_PLUS NK_INTEGER", - /* 419 */ "signed ::= NK_MINUS NK_INTEGER", - /* 420 */ "signed ::= NK_FLOAT", - /* 421 */ "signed ::= NK_PLUS NK_FLOAT", - /* 422 */ "signed ::= NK_MINUS NK_FLOAT", - /* 423 */ "signed_literal ::= signed", - /* 424 */ "signed_literal ::= NK_STRING", - /* 425 */ "signed_literal ::= NK_BOOL", - /* 426 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 427 */ "signed_literal ::= duration_literal", - /* 428 */ "signed_literal ::= NULL", - /* 429 */ "signed_literal ::= literal_func", - /* 430 */ "signed_literal ::= NK_QUESTION", - /* 431 */ "literal_list ::= signed_literal", - /* 432 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 433 */ "db_name ::= NK_ID", - /* 434 */ "table_name ::= NK_ID", - /* 435 */ "column_name ::= NK_ID", - /* 436 */ "function_name ::= NK_ID", - /* 437 */ "view_name ::= NK_ID", - /* 438 */ "table_alias ::= NK_ID", - /* 439 */ "column_alias ::= NK_ID", - /* 440 */ "column_alias ::= NK_ALIAS", - /* 441 */ "user_name ::= NK_ID", - /* 442 */ "topic_name ::= NK_ID", - /* 443 */ "stream_name ::= NK_ID", - /* 444 */ "cgroup_name ::= NK_ID", - /* 445 */ "index_name ::= NK_ID", - /* 446 */ "expr_or_subquery ::= expression", - /* 447 */ "expression ::= literal", - /* 448 */ "expression ::= pseudo_column", - /* 449 */ "expression ::= column_reference", - /* 450 */ "expression ::= function_expression", - /* 451 */ "expression ::= case_when_expression", - /* 452 */ "expression ::= NK_LP expression NK_RP", - /* 453 */ "expression ::= NK_PLUS expr_or_subquery", - /* 454 */ "expression ::= NK_MINUS expr_or_subquery", - /* 455 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 456 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 457 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 458 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 459 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 460 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 461 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 462 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 463 */ "expression_list ::= expr_or_subquery", - /* 464 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 465 */ "column_reference ::= column_name", - /* 466 */ "column_reference ::= table_name NK_DOT column_name", - /* 467 */ "column_reference ::= NK_ALIAS", - /* 468 */ "column_reference ::= table_name NK_DOT NK_ALIAS", - /* 469 */ "pseudo_column ::= ROWTS", - /* 470 */ "pseudo_column ::= TBNAME", - /* 471 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 472 */ "pseudo_column ::= QSTART", - /* 473 */ "pseudo_column ::= QEND", - /* 474 */ "pseudo_column ::= QDURATION", - /* 475 */ "pseudo_column ::= WSTART", - /* 476 */ "pseudo_column ::= WEND", - /* 477 */ "pseudo_column ::= WDURATION", - /* 478 */ "pseudo_column ::= IROWTS", - /* 479 */ "pseudo_column ::= ISFILLED", - /* 480 */ "pseudo_column ::= QTAGS", - /* 481 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 482 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 483 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 484 */ "function_expression ::= literal_func", - /* 485 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 486 */ "literal_func ::= NOW", - /* 487 */ "noarg_func ::= NOW", - /* 488 */ "noarg_func ::= TODAY", - /* 489 */ "noarg_func ::= TIMEZONE", - /* 490 */ "noarg_func ::= DATABASE", - /* 491 */ "noarg_func ::= CLIENT_VERSION", - /* 492 */ "noarg_func ::= SERVER_VERSION", - /* 493 */ "noarg_func ::= SERVER_STATUS", - /* 494 */ "noarg_func ::= CURRENT_USER", - /* 495 */ "noarg_func ::= USER", - /* 496 */ "star_func ::= COUNT", - /* 497 */ "star_func ::= FIRST", - /* 498 */ "star_func ::= LAST", - /* 499 */ "star_func ::= LAST_ROW", - /* 500 */ "star_func_para_list ::= NK_STAR", - /* 501 */ "star_func_para_list ::= other_para_list", - /* 502 */ "other_para_list ::= star_func_para", - /* 503 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 504 */ "star_func_para ::= expr_or_subquery", - /* 505 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 506 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 507 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 508 */ "when_then_list ::= when_then_expr", - /* 509 */ "when_then_list ::= when_then_list when_then_expr", - /* 510 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 511 */ "case_when_else_opt ::=", - /* 512 */ "case_when_else_opt ::= ELSE common_expression", - /* 513 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 514 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 515 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 516 */ "predicate ::= expr_or_subquery IS NULL", - /* 517 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 518 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 519 */ "compare_op ::= NK_LT", - /* 520 */ "compare_op ::= NK_GT", - /* 521 */ "compare_op ::= NK_LE", - /* 522 */ "compare_op ::= NK_GE", - /* 523 */ "compare_op ::= NK_NE", - /* 524 */ "compare_op ::= NK_EQ", - /* 525 */ "compare_op ::= LIKE", - /* 526 */ "compare_op ::= NOT LIKE", - /* 527 */ "compare_op ::= MATCH", - /* 528 */ "compare_op ::= NMATCH", - /* 529 */ "compare_op ::= CONTAINS", - /* 530 */ "in_op ::= IN", - /* 531 */ "in_op ::= NOT IN", - /* 532 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 533 */ "boolean_value_expression ::= boolean_primary", - /* 534 */ "boolean_value_expression ::= NOT boolean_primary", - /* 535 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 536 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 537 */ "boolean_primary ::= predicate", - /* 538 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 539 */ "common_expression ::= expr_or_subquery", - /* 540 */ "common_expression ::= boolean_value_expression", - /* 541 */ "from_clause_opt ::=", - /* 542 */ "from_clause_opt ::= FROM table_reference_list", - /* 543 */ "table_reference_list ::= table_reference", - /* 544 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 545 */ "table_reference ::= table_primary", - /* 546 */ "table_reference ::= joined_table", - /* 547 */ "table_primary ::= table_name alias_opt", - /* 548 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 549 */ "table_primary ::= subquery alias_opt", - /* 550 */ "table_primary ::= parenthesized_joined_table", - /* 551 */ "alias_opt ::=", - /* 552 */ "alias_opt ::= table_alias", - /* 553 */ "alias_opt ::= AS table_alias", - /* 554 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 555 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 556 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 557 */ "join_type ::=", - /* 558 */ "join_type ::= INNER", - /* 559 */ "query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_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", - /* 560 */ "hint_list ::=", - /* 561 */ "hint_list ::= NK_HINT", - /* 562 */ "tag_mode_opt ::=", - /* 563 */ "tag_mode_opt ::= TAGS", - /* 564 */ "set_quantifier_opt ::=", - /* 565 */ "set_quantifier_opt ::= DISTINCT", - /* 566 */ "set_quantifier_opt ::= ALL", - /* 567 */ "select_list ::= select_item", - /* 568 */ "select_list ::= select_list NK_COMMA select_item", - /* 569 */ "select_item ::= NK_STAR", - /* 570 */ "select_item ::= common_expression", - /* 571 */ "select_item ::= common_expression column_alias", - /* 572 */ "select_item ::= common_expression AS column_alias", - /* 573 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 574 */ "where_clause_opt ::=", - /* 575 */ "where_clause_opt ::= WHERE search_condition", - /* 576 */ "partition_by_clause_opt ::=", - /* 577 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 578 */ "partition_list ::= partition_item", - /* 579 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 580 */ "partition_item ::= expr_or_subquery", - /* 581 */ "partition_item ::= expr_or_subquery column_alias", - /* 582 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 583 */ "twindow_clause_opt ::=", - /* 584 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP", - /* 585 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 586 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt", - /* 587 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt", - /* 588 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 589 */ "sliding_opt ::=", - /* 590 */ "sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP", - /* 591 */ "interval_sliding_duration_literal ::= NK_VARIABLE", - /* 592 */ "interval_sliding_duration_literal ::= NK_STRING", - /* 593 */ "interval_sliding_duration_literal ::= NK_INTEGER", - /* 594 */ "fill_opt ::=", - /* 595 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 596 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", - /* 597 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", - /* 598 */ "fill_mode ::= NONE", - /* 599 */ "fill_mode ::= PREV", - /* 600 */ "fill_mode ::= NULL", - /* 601 */ "fill_mode ::= NULL_F", - /* 602 */ "fill_mode ::= LINEAR", - /* 603 */ "fill_mode ::= NEXT", - /* 604 */ "group_by_clause_opt ::=", - /* 605 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 606 */ "group_by_list ::= expr_or_subquery", - /* 607 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 608 */ "having_clause_opt ::=", - /* 609 */ "having_clause_opt ::= HAVING search_condition", - /* 610 */ "range_opt ::=", - /* 611 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 612 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", - /* 613 */ "every_opt ::=", - /* 614 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 615 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 616 */ "query_simple ::= query_specification", - /* 617 */ "query_simple ::= union_query_expression", - /* 618 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 619 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 620 */ "query_simple_or_subquery ::= query_simple", - /* 621 */ "query_simple_or_subquery ::= subquery", - /* 622 */ "query_or_subquery ::= query_expression", - /* 623 */ "query_or_subquery ::= subquery", - /* 624 */ "order_by_clause_opt ::=", - /* 625 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 626 */ "slimit_clause_opt ::=", - /* 627 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 628 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 629 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 630 */ "limit_clause_opt ::=", - /* 631 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 632 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 633 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 634 */ "subquery ::= NK_LP query_expression NK_RP", - /* 635 */ "subquery ::= NK_LP subquery NK_RP", - /* 636 */ "search_condition ::= common_expression", - /* 637 */ "sort_specification_list ::= sort_specification", - /* 638 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 639 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 640 */ "ordering_specification_opt ::=", - /* 641 */ "ordering_specification_opt ::= ASC", - /* 642 */ "ordering_specification_opt ::= DESC", - /* 643 */ "null_ordering_opt ::=", - /* 644 */ "null_ordering_opt ::= NULLS FIRST", - /* 645 */ "null_ordering_opt ::= NULLS LAST", + /* 264 */ "cmd ::= SHOW CLUSTER MACHINES", + /* 265 */ "cmd ::= SHOW CREATE DATABASE db_name", + /* 266 */ "cmd ::= SHOW CREATE TABLE full_table_name", + /* 267 */ "cmd ::= SHOW CREATE STABLE full_table_name", + /* 268 */ "cmd ::= SHOW QUERIES", + /* 269 */ "cmd ::= SHOW SCORES", + /* 270 */ "cmd ::= SHOW TOPICS", + /* 271 */ "cmd ::= SHOW VARIABLES", + /* 272 */ "cmd ::= SHOW CLUSTER VARIABLES", + /* 273 */ "cmd ::= SHOW LOCAL VARIABLES", + /* 274 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", + /* 275 */ "cmd ::= SHOW BNODES", + /* 276 */ "cmd ::= SHOW SNODES", + /* 277 */ "cmd ::= SHOW CLUSTER", + /* 278 */ "cmd ::= SHOW TRANSACTIONS", + /* 279 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", + /* 280 */ "cmd ::= SHOW CONSUMERS", + /* 281 */ "cmd ::= SHOW SUBSCRIPTIONS", + /* 282 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", + /* 283 */ "cmd ::= SHOW TAGS FROM db_name NK_DOT table_name", + /* 284 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", + /* 285 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name", + /* 286 */ "cmd ::= SHOW VNODES ON DNODE NK_INTEGER", + /* 287 */ "cmd ::= SHOW VNODES", + /* 288 */ "cmd ::= SHOW db_name_cond_opt ALIVE", + /* 289 */ "cmd ::= SHOW CLUSTER ALIVE", + /* 290 */ "cmd ::= SHOW db_name_cond_opt VIEWS", + /* 291 */ "cmd ::= SHOW CREATE VIEW full_table_name", + /* 292 */ "cmd ::= SHOW COMPACTS", + /* 293 */ "cmd ::= SHOW COMPACT NK_INTEGER", + /* 294 */ "table_kind_db_name_cond_opt ::=", + /* 295 */ "table_kind_db_name_cond_opt ::= table_kind", + /* 296 */ "table_kind_db_name_cond_opt ::= db_name NK_DOT", + /* 297 */ "table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT", + /* 298 */ "table_kind ::= NORMAL", + /* 299 */ "table_kind ::= CHILD", + /* 300 */ "db_name_cond_opt ::=", + /* 301 */ "db_name_cond_opt ::= db_name NK_DOT", + /* 302 */ "like_pattern_opt ::=", + /* 303 */ "like_pattern_opt ::= LIKE NK_STRING", + /* 304 */ "table_name_cond ::= table_name", + /* 305 */ "from_db_opt ::=", + /* 306 */ "from_db_opt ::= FROM db_name", + /* 307 */ "tag_list_opt ::=", + /* 308 */ "tag_list_opt ::= tag_item", + /* 309 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", + /* 310 */ "tag_item ::= TBNAME", + /* 311 */ "tag_item ::= QTAGS", + /* 312 */ "tag_item ::= column_name", + /* 313 */ "tag_item ::= column_name column_alias", + /* 314 */ "tag_item ::= column_name AS column_alias", + /* 315 */ "db_kind_opt ::=", + /* 316 */ "db_kind_opt ::= USER", + /* 317 */ "db_kind_opt ::= SYSTEM", + /* 318 */ "cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options", + /* 319 */ "cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP", + /* 320 */ "cmd ::= DROP INDEX exists_opt full_index_name", + /* 321 */ "full_index_name ::= index_name", + /* 322 */ "full_index_name ::= db_name NK_DOT index_name", + /* 323 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", + /* 324 */ "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", + /* 325 */ "func_list ::= func", + /* 326 */ "func_list ::= func_list NK_COMMA func", + /* 327 */ "func ::= sma_func_name NK_LP expression_list NK_RP", + /* 328 */ "sma_func_name ::= function_name", + /* 329 */ "sma_func_name ::= COUNT", + /* 330 */ "sma_func_name ::= FIRST", + /* 331 */ "sma_func_name ::= LAST", + /* 332 */ "sma_func_name ::= LAST_ROW", + /* 333 */ "sma_stream_opt ::=", + /* 334 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", + /* 335 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", + /* 336 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", + /* 337 */ "with_meta ::= AS", + /* 338 */ "with_meta ::= WITH META AS", + /* 339 */ "with_meta ::= ONLY META AS", + /* 340 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", + /* 341 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name", + /* 342 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt", + /* 343 */ "cmd ::= DROP TOPIC exists_opt topic_name", + /* 344 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", + /* 345 */ "cmd ::= DESC full_table_name", + /* 346 */ "cmd ::= DESCRIBE full_table_name", + /* 347 */ "cmd ::= RESET QUERY CACHE", + /* 348 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", + /* 349 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", + /* 350 */ "analyze_opt ::=", + /* 351 */ "analyze_opt ::= ANALYZE", + /* 352 */ "explain_options ::=", + /* 353 */ "explain_options ::= explain_options VERBOSE NK_BOOL", + /* 354 */ "explain_options ::= explain_options RATIO NK_FLOAT", + /* 355 */ "cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", + /* 356 */ "cmd ::= DROP FUNCTION exists_opt function_name", + /* 357 */ "agg_func_opt ::=", + /* 358 */ "agg_func_opt ::= AGGREGATE", + /* 359 */ "bufsize_opt ::=", + /* 360 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", + /* 361 */ "language_opt ::=", + /* 362 */ "language_opt ::= LANGUAGE NK_STRING", + /* 363 */ "or_replace_opt ::=", + /* 364 */ "or_replace_opt ::= OR REPLACE", + /* 365 */ "cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery", + /* 366 */ "cmd ::= DROP VIEW exists_opt full_view_name", + /* 367 */ "full_view_name ::= view_name", + /* 368 */ "full_view_name ::= db_name NK_DOT view_name", + /* 369 */ "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", + /* 370 */ "cmd ::= DROP STREAM exists_opt stream_name", + /* 371 */ "cmd ::= PAUSE STREAM exists_opt stream_name", + /* 372 */ "cmd ::= RESUME STREAM exists_opt ignore_opt stream_name", + /* 373 */ "col_list_opt ::=", + /* 374 */ "col_list_opt ::= NK_LP col_name_list NK_RP", + /* 375 */ "tag_def_or_ref_opt ::=", + /* 376 */ "tag_def_or_ref_opt ::= tags_def", + /* 377 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", + /* 378 */ "stream_options ::=", + /* 379 */ "stream_options ::= stream_options TRIGGER AT_ONCE", + /* 380 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", + /* 381 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", + /* 382 */ "stream_options ::= stream_options WATERMARK duration_literal", + /* 383 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", + /* 384 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", + /* 385 */ "stream_options ::= stream_options DELETE_MARK duration_literal", + /* 386 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", + /* 387 */ "subtable_opt ::=", + /* 388 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", + /* 389 */ "ignore_opt ::=", + /* 390 */ "ignore_opt ::= IGNORE UNTREATED", + /* 391 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 392 */ "cmd ::= KILL QUERY NK_STRING", + /* 393 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 394 */ "cmd ::= KILL COMPACT NK_INTEGER", + /* 395 */ "cmd ::= BALANCE VGROUP", + /* 396 */ "cmd ::= BALANCE VGROUP LEADER on_vgroup_id", + /* 397 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 398 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 399 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 400 */ "on_vgroup_id ::=", + /* 401 */ "on_vgroup_id ::= ON NK_INTEGER", + /* 402 */ "dnode_list ::= DNODE NK_INTEGER", + /* 403 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 404 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 405 */ "cmd ::= query_or_subquery", + /* 406 */ "cmd ::= insert_query", + /* 407 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 408 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", + /* 409 */ "literal ::= NK_INTEGER", + /* 410 */ "literal ::= NK_FLOAT", + /* 411 */ "literal ::= NK_STRING", + /* 412 */ "literal ::= NK_BOOL", + /* 413 */ "literal ::= TIMESTAMP NK_STRING", + /* 414 */ "literal ::= duration_literal", + /* 415 */ "literal ::= NULL", + /* 416 */ "literal ::= NK_QUESTION", + /* 417 */ "duration_literal ::= NK_VARIABLE", + /* 418 */ "signed ::= NK_INTEGER", + /* 419 */ "signed ::= NK_PLUS NK_INTEGER", + /* 420 */ "signed ::= NK_MINUS NK_INTEGER", + /* 421 */ "signed ::= NK_FLOAT", + /* 422 */ "signed ::= NK_PLUS NK_FLOAT", + /* 423 */ "signed ::= NK_MINUS NK_FLOAT", + /* 424 */ "signed_literal ::= signed", + /* 425 */ "signed_literal ::= NK_STRING", + /* 426 */ "signed_literal ::= NK_BOOL", + /* 427 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 428 */ "signed_literal ::= duration_literal", + /* 429 */ "signed_literal ::= NULL", + /* 430 */ "signed_literal ::= literal_func", + /* 431 */ "signed_literal ::= NK_QUESTION", + /* 432 */ "literal_list ::= signed_literal", + /* 433 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 434 */ "db_name ::= NK_ID", + /* 435 */ "table_name ::= NK_ID", + /* 436 */ "column_name ::= NK_ID", + /* 437 */ "function_name ::= NK_ID", + /* 438 */ "view_name ::= NK_ID", + /* 439 */ "table_alias ::= NK_ID", + /* 440 */ "column_alias ::= NK_ID", + /* 441 */ "column_alias ::= NK_ALIAS", + /* 442 */ "user_name ::= NK_ID", + /* 443 */ "topic_name ::= NK_ID", + /* 444 */ "stream_name ::= NK_ID", + /* 445 */ "cgroup_name ::= NK_ID", + /* 446 */ "index_name ::= NK_ID", + /* 447 */ "expr_or_subquery ::= expression", + /* 448 */ "expression ::= literal", + /* 449 */ "expression ::= pseudo_column", + /* 450 */ "expression ::= column_reference", + /* 451 */ "expression ::= function_expression", + /* 452 */ "expression ::= case_when_expression", + /* 453 */ "expression ::= NK_LP expression NK_RP", + /* 454 */ "expression ::= NK_PLUS expr_or_subquery", + /* 455 */ "expression ::= NK_MINUS expr_or_subquery", + /* 456 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 457 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 458 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 459 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 460 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 461 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 462 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 463 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 464 */ "expression_list ::= expr_or_subquery", + /* 465 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 466 */ "column_reference ::= column_name", + /* 467 */ "column_reference ::= table_name NK_DOT column_name", + /* 468 */ "column_reference ::= NK_ALIAS", + /* 469 */ "column_reference ::= table_name NK_DOT NK_ALIAS", + /* 470 */ "pseudo_column ::= ROWTS", + /* 471 */ "pseudo_column ::= TBNAME", + /* 472 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 473 */ "pseudo_column ::= QSTART", + /* 474 */ "pseudo_column ::= QEND", + /* 475 */ "pseudo_column ::= QDURATION", + /* 476 */ "pseudo_column ::= WSTART", + /* 477 */ "pseudo_column ::= WEND", + /* 478 */ "pseudo_column ::= WDURATION", + /* 479 */ "pseudo_column ::= IROWTS", + /* 480 */ "pseudo_column ::= ISFILLED", + /* 481 */ "pseudo_column ::= QTAGS", + /* 482 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 483 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 484 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 485 */ "function_expression ::= literal_func", + /* 486 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 487 */ "literal_func ::= NOW", + /* 488 */ "noarg_func ::= NOW", + /* 489 */ "noarg_func ::= TODAY", + /* 490 */ "noarg_func ::= TIMEZONE", + /* 491 */ "noarg_func ::= DATABASE", + /* 492 */ "noarg_func ::= CLIENT_VERSION", + /* 493 */ "noarg_func ::= SERVER_VERSION", + /* 494 */ "noarg_func ::= SERVER_STATUS", + /* 495 */ "noarg_func ::= CURRENT_USER", + /* 496 */ "noarg_func ::= USER", + /* 497 */ "star_func ::= COUNT", + /* 498 */ "star_func ::= FIRST", + /* 499 */ "star_func ::= LAST", + /* 500 */ "star_func ::= LAST_ROW", + /* 501 */ "star_func_para_list ::= NK_STAR", + /* 502 */ "star_func_para_list ::= other_para_list", + /* 503 */ "other_para_list ::= star_func_para", + /* 504 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 505 */ "star_func_para ::= expr_or_subquery", + /* 506 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 507 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 508 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 509 */ "when_then_list ::= when_then_expr", + /* 510 */ "when_then_list ::= when_then_list when_then_expr", + /* 511 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 512 */ "case_when_else_opt ::=", + /* 513 */ "case_when_else_opt ::= ELSE common_expression", + /* 514 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 515 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 516 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 517 */ "predicate ::= expr_or_subquery IS NULL", + /* 518 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 519 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 520 */ "compare_op ::= NK_LT", + /* 521 */ "compare_op ::= NK_GT", + /* 522 */ "compare_op ::= NK_LE", + /* 523 */ "compare_op ::= NK_GE", + /* 524 */ "compare_op ::= NK_NE", + /* 525 */ "compare_op ::= NK_EQ", + /* 526 */ "compare_op ::= LIKE", + /* 527 */ "compare_op ::= NOT LIKE", + /* 528 */ "compare_op ::= MATCH", + /* 529 */ "compare_op ::= NMATCH", + /* 530 */ "compare_op ::= CONTAINS", + /* 531 */ "in_op ::= IN", + /* 532 */ "in_op ::= NOT IN", + /* 533 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 534 */ "boolean_value_expression ::= boolean_primary", + /* 535 */ "boolean_value_expression ::= NOT boolean_primary", + /* 536 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 537 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 538 */ "boolean_primary ::= predicate", + /* 539 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 540 */ "common_expression ::= expr_or_subquery", + /* 541 */ "common_expression ::= boolean_value_expression", + /* 542 */ "from_clause_opt ::=", + /* 543 */ "from_clause_opt ::= FROM table_reference_list", + /* 544 */ "table_reference_list ::= table_reference", + /* 545 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 546 */ "table_reference ::= table_primary", + /* 547 */ "table_reference ::= joined_table", + /* 548 */ "table_primary ::= table_name alias_opt", + /* 549 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 550 */ "table_primary ::= subquery alias_opt", + /* 551 */ "table_primary ::= parenthesized_joined_table", + /* 552 */ "alias_opt ::=", + /* 553 */ "alias_opt ::= table_alias", + /* 554 */ "alias_opt ::= AS table_alias", + /* 555 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 556 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 557 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 558 */ "join_type ::=", + /* 559 */ "join_type ::= INNER", + /* 560 */ "query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_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", + /* 561 */ "hint_list ::=", + /* 562 */ "hint_list ::= NK_HINT", + /* 563 */ "tag_mode_opt ::=", + /* 564 */ "tag_mode_opt ::= TAGS", + /* 565 */ "set_quantifier_opt ::=", + /* 566 */ "set_quantifier_opt ::= DISTINCT", + /* 567 */ "set_quantifier_opt ::= ALL", + /* 568 */ "select_list ::= select_item", + /* 569 */ "select_list ::= select_list NK_COMMA select_item", + /* 570 */ "select_item ::= NK_STAR", + /* 571 */ "select_item ::= common_expression", + /* 572 */ "select_item ::= common_expression column_alias", + /* 573 */ "select_item ::= common_expression AS column_alias", + /* 574 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 575 */ "where_clause_opt ::=", + /* 576 */ "where_clause_opt ::= WHERE search_condition", + /* 577 */ "partition_by_clause_opt ::=", + /* 578 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 579 */ "partition_list ::= partition_item", + /* 580 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 581 */ "partition_item ::= expr_or_subquery", + /* 582 */ "partition_item ::= expr_or_subquery column_alias", + /* 583 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 584 */ "twindow_clause_opt ::=", + /* 585 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP", + /* 586 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 587 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt", + /* 588 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt", + /* 589 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 590 */ "sliding_opt ::=", + /* 591 */ "sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP", + /* 592 */ "interval_sliding_duration_literal ::= NK_VARIABLE", + /* 593 */ "interval_sliding_duration_literal ::= NK_STRING", + /* 594 */ "interval_sliding_duration_literal ::= NK_INTEGER", + /* 595 */ "fill_opt ::=", + /* 596 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 597 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", + /* 598 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", + /* 599 */ "fill_mode ::= NONE", + /* 600 */ "fill_mode ::= PREV", + /* 601 */ "fill_mode ::= NULL", + /* 602 */ "fill_mode ::= NULL_F", + /* 603 */ "fill_mode ::= LINEAR", + /* 604 */ "fill_mode ::= NEXT", + /* 605 */ "group_by_clause_opt ::=", + /* 606 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 607 */ "group_by_list ::= expr_or_subquery", + /* 608 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 609 */ "having_clause_opt ::=", + /* 610 */ "having_clause_opt ::= HAVING search_condition", + /* 611 */ "range_opt ::=", + /* 612 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 613 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", + /* 614 */ "every_opt ::=", + /* 615 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 616 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 617 */ "query_simple ::= query_specification", + /* 618 */ "query_simple ::= union_query_expression", + /* 619 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 620 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 621 */ "query_simple_or_subquery ::= query_simple", + /* 622 */ "query_simple_or_subquery ::= subquery", + /* 623 */ "query_or_subquery ::= query_expression", + /* 624 */ "query_or_subquery ::= subquery", + /* 625 */ "order_by_clause_opt ::=", + /* 626 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 627 */ "slimit_clause_opt ::=", + /* 628 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 629 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 630 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 631 */ "limit_clause_opt ::=", + /* 632 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 633 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 634 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 635 */ "subquery ::= NK_LP query_expression NK_RP", + /* 636 */ "subquery ::= NK_LP subquery NK_RP", + /* 637 */ "search_condition ::= common_expression", + /* 638 */ "sort_specification_list ::= sort_specification", + /* 639 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 640 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 641 */ "ordering_specification_opt ::=", + /* 642 */ "ordering_specification_opt ::= ASC", + /* 643 */ "ordering_specification_opt ::= DESC", + /* 644 */ "null_ordering_opt ::=", + /* 645 */ "null_ordering_opt ::= NULLS FIRST", + /* 646 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -2847,231 +2840,231 @@ static void yy_destructor( */ /********* Begin destructor definitions ***************************************/ /* Default NON-TERMINAL Destructor */ - case 349: /* cmd */ - case 352: /* literal */ - case 361: /* with_opt */ - case 367: /* search_condition */ - case 372: /* db_options */ - case 374: /* alter_db_options */ - case 376: /* start_opt */ - case 377: /* end_opt */ - case 381: /* signed */ - case 383: /* retention */ - case 384: /* full_table_name */ - case 387: /* table_options */ - case 391: /* alter_table_clause */ - case 392: /* alter_table_options */ - case 395: /* signed_literal */ - case 396: /* create_subtable_clause */ - case 399: /* drop_table_clause */ - case 401: /* column_def */ - case 405: /* duration_literal */ - case 406: /* rollup_func_name */ - case 408: /* col_name */ - case 411: /* like_pattern_opt */ - case 412: /* db_name_cond_opt */ - case 413: /* table_name_cond */ - case 414: /* from_db_opt */ - case 417: /* tag_item */ - case 419: /* index_options */ - case 420: /* full_index_name */ - case 423: /* sliding_opt */ - case 424: /* sma_stream_opt */ - case 425: /* func */ - case 428: /* query_or_subquery */ - case 429: /* where_clause_opt */ - case 432: /* explain_options */ - case 433: /* insert_query */ - case 438: /* full_view_name */ - case 441: /* stream_options */ - case 444: /* subtable_opt */ - case 446: /* expression */ - case 449: /* literal_func */ - case 452: /* expr_or_subquery */ - case 453: /* pseudo_column */ - case 454: /* column_reference */ - case 455: /* function_expression */ - case 456: /* case_when_expression */ - case 461: /* star_func_para */ - case 463: /* case_when_else_opt */ - case 464: /* common_expression */ - case 465: /* when_then_expr */ - case 466: /* predicate */ - case 469: /* in_predicate_value */ - case 470: /* boolean_value_expression */ - case 471: /* boolean_primary */ - case 472: /* from_clause_opt */ - case 473: /* table_reference_list */ - case 474: /* table_reference */ - case 475: /* table_primary */ - case 476: /* joined_table */ - case 478: /* subquery */ - case 479: /* parenthesized_joined_table */ - case 481: /* query_specification */ - case 487: /* range_opt */ - case 488: /* every_opt */ - case 489: /* fill_opt */ - case 490: /* twindow_clause_opt */ - case 492: /* having_clause_opt */ - case 493: /* select_item */ - case 495: /* partition_item */ - case 496: /* interval_sliding_duration_literal */ - case 499: /* query_expression */ - case 500: /* query_simple */ - case 502: /* slimit_clause_opt */ - case 503: /* limit_clause_opt */ - case 504: /* union_query_expression */ - case 505: /* query_simple_or_subquery */ - case 507: /* sort_specification */ + case 350: /* cmd */ + case 353: /* literal */ + case 362: /* with_opt */ + case 368: /* search_condition */ + case 373: /* db_options */ + case 375: /* alter_db_options */ + case 377: /* start_opt */ + case 378: /* end_opt */ + case 382: /* signed */ + case 384: /* retention */ + case 385: /* full_table_name */ + case 388: /* table_options */ + case 392: /* alter_table_clause */ + case 393: /* alter_table_options */ + case 396: /* signed_literal */ + case 397: /* create_subtable_clause */ + case 400: /* drop_table_clause */ + case 402: /* column_def */ + case 406: /* duration_literal */ + case 407: /* rollup_func_name */ + case 409: /* col_name */ + case 412: /* like_pattern_opt */ + case 413: /* db_name_cond_opt */ + case 414: /* table_name_cond */ + case 415: /* from_db_opt */ + case 418: /* tag_item */ + case 420: /* index_options */ + case 421: /* full_index_name */ + case 424: /* sliding_opt */ + case 425: /* sma_stream_opt */ + case 426: /* func */ + case 429: /* query_or_subquery */ + case 430: /* where_clause_opt */ + case 433: /* explain_options */ + case 434: /* insert_query */ + case 439: /* full_view_name */ + case 442: /* stream_options */ + case 445: /* subtable_opt */ + case 447: /* expression */ + case 450: /* literal_func */ + case 453: /* expr_or_subquery */ + case 454: /* pseudo_column */ + case 455: /* column_reference */ + case 456: /* function_expression */ + case 457: /* case_when_expression */ + case 462: /* star_func_para */ + case 464: /* case_when_else_opt */ + case 465: /* common_expression */ + case 466: /* when_then_expr */ + case 467: /* predicate */ + case 470: /* in_predicate_value */ + case 471: /* boolean_value_expression */ + case 472: /* boolean_primary */ + case 473: /* from_clause_opt */ + case 474: /* table_reference_list */ + case 475: /* table_reference */ + case 476: /* table_primary */ + case 477: /* joined_table */ + case 479: /* subquery */ + case 480: /* parenthesized_joined_table */ + case 482: /* query_specification */ + case 488: /* range_opt */ + case 489: /* every_opt */ + case 490: /* fill_opt */ + case 491: /* twindow_clause_opt */ + case 493: /* having_clause_opt */ + case 494: /* select_item */ + case 496: /* partition_item */ + case 497: /* interval_sliding_duration_literal */ + case 500: /* query_expression */ + case 501: /* query_simple */ + case 503: /* slimit_clause_opt */ + case 504: /* limit_clause_opt */ + case 505: /* union_query_expression */ + case 506: /* query_simple_or_subquery */ + case 508: /* sort_specification */ { - nodesDestroyNode((yypminor->yy992)); + nodesDestroyNode((yypminor->yy490)); } break; - case 350: /* account_options */ - case 351: /* alter_account_options */ - case 353: /* alter_account_option */ - case 375: /* speed_opt */ - case 427: /* with_meta */ - case 436: /* bufsize_opt */ + case 351: /* account_options */ + case 352: /* alter_account_options */ + case 354: /* alter_account_option */ + case 376: /* speed_opt */ + case 428: /* with_meta */ + case 437: /* bufsize_opt */ { } break; - case 354: /* ip_range_list */ - case 355: /* white_list */ - case 356: /* white_list_opt */ - case 378: /* integer_list */ - case 379: /* variable_list */ - case 380: /* retention_list */ - case 385: /* column_def_list */ - case 386: /* tags_def_opt */ - case 388: /* multi_create_clause */ - case 389: /* tags_def */ - case 390: /* multi_drop_clause */ - case 397: /* specific_cols_opt */ - case 398: /* expression_list */ - case 400: /* col_name_list */ - case 402: /* duration_list */ - case 403: /* rollup_func_list */ - case 415: /* tag_list_opt */ - case 422: /* func_list */ - case 442: /* col_list_opt */ - case 443: /* tag_def_or_ref_opt */ - case 448: /* dnode_list */ - case 450: /* literal_list */ - case 458: /* star_func_para_list */ - case 460: /* other_para_list */ - case 462: /* when_then_list */ - case 482: /* hint_list */ - case 485: /* select_list */ - case 486: /* partition_by_clause_opt */ - case 491: /* group_by_clause_opt */ - case 494: /* partition_list */ - case 498: /* group_by_list */ - case 501: /* order_by_clause_opt */ - case 506: /* sort_specification_list */ + case 355: /* ip_range_list */ + case 356: /* white_list */ + case 357: /* white_list_opt */ + case 379: /* integer_list */ + case 380: /* variable_list */ + case 381: /* retention_list */ + case 386: /* column_def_list */ + case 387: /* tags_def_opt */ + case 389: /* multi_create_clause */ + case 390: /* tags_def */ + case 391: /* multi_drop_clause */ + case 398: /* specific_cols_opt */ + case 399: /* expression_list */ + case 401: /* col_name_list */ + case 403: /* duration_list */ + case 404: /* rollup_func_list */ + case 416: /* tag_list_opt */ + case 423: /* func_list */ + case 443: /* col_list_opt */ + case 444: /* tag_def_or_ref_opt */ + case 449: /* dnode_list */ + case 451: /* literal_list */ + case 459: /* star_func_para_list */ + case 461: /* other_para_list */ + case 463: /* when_then_list */ + case 483: /* hint_list */ + case 486: /* select_list */ + case 487: /* partition_by_clause_opt */ + case 492: /* group_by_clause_opt */ + case 495: /* partition_list */ + case 499: /* group_by_list */ + case 502: /* order_by_clause_opt */ + case 507: /* sort_specification_list */ { - nodesDestroyList((yypminor->yy364)); + nodesDestroyList((yypminor->yy502)); } break; - case 357: /* user_name */ - case 364: /* db_name */ - case 365: /* table_name */ - case 366: /* topic_name */ - case 368: /* dnode_endpoint */ - case 393: /* column_name */ - case 407: /* function_name */ - case 418: /* column_alias */ - case 421: /* index_name */ - case 426: /* sma_func_name */ - case 430: /* cgroup_name */ - case 437: /* language_opt */ - case 439: /* view_name */ - case 440: /* stream_name */ - case 447: /* on_vgroup_id */ - case 451: /* table_alias */ - case 457: /* star_func */ - case 459: /* noarg_func */ - case 477: /* alias_opt */ + case 358: /* user_name */ + case 365: /* db_name */ + case 366: /* table_name */ + case 367: /* topic_name */ + case 369: /* dnode_endpoint */ + case 394: /* column_name */ + case 408: /* function_name */ + case 419: /* column_alias */ + case 422: /* index_name */ + case 427: /* sma_func_name */ + case 431: /* cgroup_name */ + case 438: /* language_opt */ + case 440: /* view_name */ + case 441: /* stream_name */ + case 448: /* on_vgroup_id */ + case 452: /* table_alias */ + case 458: /* star_func */ + case 460: /* noarg_func */ + case 478: /* alias_opt */ { } break; - case 358: /* sysinfo_opt */ + case 359: /* sysinfo_opt */ { } break; - case 359: /* privileges */ - case 362: /* priv_type_list */ - case 363: /* priv_type */ + case 360: /* privileges */ + case 363: /* priv_type_list */ + case 364: /* priv_type */ { } break; - case 360: /* priv_level */ + case 361: /* priv_level */ { } break; - case 369: /* force_opt */ - case 370: /* unsafe_opt */ - case 371: /* not_exists_opt */ - case 373: /* exists_opt */ - case 431: /* analyze_opt */ - case 434: /* or_replace_opt */ - case 435: /* agg_func_opt */ - case 445: /* ignore_opt */ - case 483: /* set_quantifier_opt */ - case 484: /* tag_mode_opt */ + case 370: /* force_opt */ + case 371: /* unsafe_opt */ + case 372: /* not_exists_opt */ + case 374: /* exists_opt */ + case 432: /* analyze_opt */ + case 435: /* or_replace_opt */ + case 436: /* agg_func_opt */ + case 446: /* ignore_opt */ + case 484: /* set_quantifier_opt */ + case 485: /* tag_mode_opt */ { } break; - case 382: /* alter_db_option */ - case 404: /* alter_table_option */ + case 383: /* alter_db_option */ + case 405: /* alter_table_option */ { } break; - case 394: /* type_name */ + case 395: /* type_name */ { } break; - case 409: /* db_kind_opt */ - case 416: /* table_kind */ + case 410: /* db_kind_opt */ + case 417: /* table_kind */ { } break; - case 410: /* table_kind_db_name_cond_opt */ + case 411: /* table_kind_db_name_cond_opt */ { } break; - case 467: /* compare_op */ - case 468: /* in_op */ + case 468: /* compare_op */ + case 469: /* in_op */ { } break; - case 480: /* join_type */ + case 481: /* join_type */ { } break; - case 497: /* fill_mode */ + case 498: /* fill_mode */ { } break; - case 508: /* ordering_specification_opt */ + case 509: /* ordering_specification_opt */ { } break; - case 509: /* null_ordering_opt */ + case 510: /* null_ordering_opt */ { } @@ -3362,652 +3355,653 @@ static void yy_shift( /* For rule J, yyRuleInfoLhs[J] contains the symbol on the left-hand side ** of that rule */ static const YYCODETYPE yyRuleInfoLhs[] = { - 349, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ - 349, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ - 350, /* (2) account_options ::= */ - 350, /* (3) account_options ::= account_options PPS literal */ - 350, /* (4) account_options ::= account_options TSERIES literal */ - 350, /* (5) account_options ::= account_options STORAGE literal */ - 350, /* (6) account_options ::= account_options STREAMS literal */ - 350, /* (7) account_options ::= account_options QTIME literal */ - 350, /* (8) account_options ::= account_options DBS literal */ - 350, /* (9) account_options ::= account_options USERS literal */ - 350, /* (10) account_options ::= account_options CONNS literal */ - 350, /* (11) account_options ::= account_options STATE literal */ - 351, /* (12) alter_account_options ::= alter_account_option */ - 351, /* (13) alter_account_options ::= alter_account_options alter_account_option */ - 353, /* (14) alter_account_option ::= PASS literal */ - 353, /* (15) alter_account_option ::= PPS literal */ - 353, /* (16) alter_account_option ::= TSERIES literal */ - 353, /* (17) alter_account_option ::= STORAGE literal */ - 353, /* (18) alter_account_option ::= STREAMS literal */ - 353, /* (19) alter_account_option ::= QTIME literal */ - 353, /* (20) alter_account_option ::= DBS literal */ - 353, /* (21) alter_account_option ::= USERS literal */ - 353, /* (22) alter_account_option ::= CONNS literal */ - 353, /* (23) alter_account_option ::= STATE literal */ - 354, /* (24) ip_range_list ::= NK_STRING */ - 354, /* (25) ip_range_list ::= ip_range_list NK_COMMA NK_STRING */ - 355, /* (26) white_list ::= HOST ip_range_list */ - 356, /* (27) white_list_opt ::= */ - 356, /* (28) white_list_opt ::= white_list */ - 349, /* (29) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt white_list_opt */ - 349, /* (30) cmd ::= ALTER USER user_name PASS NK_STRING */ - 349, /* (31) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ - 349, /* (32) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ - 349, /* (33) cmd ::= ALTER USER user_name ADD white_list */ - 349, /* (34) cmd ::= ALTER USER user_name DROP white_list */ - 349, /* (35) cmd ::= DROP USER user_name */ - 358, /* (36) sysinfo_opt ::= */ - 358, /* (37) sysinfo_opt ::= SYSINFO NK_INTEGER */ - 349, /* (38) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */ - 349, /* (39) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ - 359, /* (40) privileges ::= ALL */ - 359, /* (41) privileges ::= priv_type_list */ - 359, /* (42) privileges ::= SUBSCRIBE */ - 362, /* (43) priv_type_list ::= priv_type */ - 362, /* (44) priv_type_list ::= priv_type_list NK_COMMA priv_type */ - 363, /* (45) priv_type ::= READ */ - 363, /* (46) priv_type ::= WRITE */ - 363, /* (47) priv_type ::= ALTER */ - 360, /* (48) priv_level ::= NK_STAR NK_DOT NK_STAR */ - 360, /* (49) priv_level ::= db_name NK_DOT NK_STAR */ - 360, /* (50) priv_level ::= db_name NK_DOT table_name */ - 360, /* (51) priv_level ::= topic_name */ - 361, /* (52) with_opt ::= */ - 361, /* (53) with_opt ::= WITH search_condition */ - 349, /* (54) cmd ::= CREATE DNODE dnode_endpoint */ - 349, /* (55) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ - 349, /* (56) cmd ::= DROP DNODE NK_INTEGER force_opt */ - 349, /* (57) cmd ::= DROP DNODE dnode_endpoint force_opt */ - 349, /* (58) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ - 349, /* (59) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ - 349, /* (60) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ - 349, /* (61) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ - 349, /* (62) cmd ::= ALTER ALL DNODES NK_STRING */ - 349, /* (63) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ - 349, /* (64) cmd ::= RESTORE DNODE NK_INTEGER */ - 368, /* (65) dnode_endpoint ::= NK_STRING */ - 368, /* (66) dnode_endpoint ::= NK_ID */ - 368, /* (67) dnode_endpoint ::= NK_IPTOKEN */ - 369, /* (68) force_opt ::= */ - 369, /* (69) force_opt ::= FORCE */ - 370, /* (70) unsafe_opt ::= UNSAFE */ - 349, /* (71) cmd ::= ALTER CLUSTER NK_STRING */ - 349, /* (72) cmd ::= ALTER CLUSTER NK_STRING NK_STRING */ - 349, /* (73) cmd ::= ALTER LOCAL NK_STRING */ - 349, /* (74) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ - 349, /* (75) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ - 349, /* (76) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ - 349, /* (77) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */ - 349, /* (78) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ - 349, /* (79) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ - 349, /* (80) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ - 349, /* (81) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ - 349, /* (82) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ - 349, /* (83) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ - 349, /* (84) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */ - 349, /* (85) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */ - 349, /* (86) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ - 349, /* (87) cmd ::= DROP DATABASE exists_opt db_name */ - 349, /* (88) cmd ::= USE db_name */ - 349, /* (89) cmd ::= ALTER DATABASE db_name alter_db_options */ - 349, /* (90) cmd ::= FLUSH DATABASE db_name */ - 349, /* (91) cmd ::= TRIM DATABASE db_name speed_opt */ - 349, /* (92) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ - 371, /* (93) not_exists_opt ::= IF NOT EXISTS */ - 371, /* (94) not_exists_opt ::= */ - 373, /* (95) exists_opt ::= IF EXISTS */ - 373, /* (96) exists_opt ::= */ - 372, /* (97) db_options ::= */ - 372, /* (98) db_options ::= db_options BUFFER NK_INTEGER */ - 372, /* (99) db_options ::= db_options CACHEMODEL NK_STRING */ - 372, /* (100) db_options ::= db_options CACHESIZE NK_INTEGER */ - 372, /* (101) db_options ::= db_options COMP NK_INTEGER */ - 372, /* (102) db_options ::= db_options DURATION NK_INTEGER */ - 372, /* (103) db_options ::= db_options DURATION NK_VARIABLE */ - 372, /* (104) db_options ::= db_options MAXROWS NK_INTEGER */ - 372, /* (105) db_options ::= db_options MINROWS NK_INTEGER */ - 372, /* (106) db_options ::= db_options KEEP integer_list */ - 372, /* (107) db_options ::= db_options KEEP variable_list */ - 372, /* (108) db_options ::= db_options PAGES NK_INTEGER */ - 372, /* (109) db_options ::= db_options PAGESIZE NK_INTEGER */ - 372, /* (110) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ - 372, /* (111) db_options ::= db_options PRECISION NK_STRING */ - 372, /* (112) db_options ::= db_options REPLICA NK_INTEGER */ - 372, /* (113) db_options ::= db_options VGROUPS NK_INTEGER */ - 372, /* (114) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ - 372, /* (115) db_options ::= db_options RETENTIONS retention_list */ - 372, /* (116) db_options ::= db_options SCHEMALESS NK_INTEGER */ - 372, /* (117) db_options ::= db_options WAL_LEVEL NK_INTEGER */ - 372, /* (118) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ - 372, /* (119) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ - 372, /* (120) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - 372, /* (121) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ - 372, /* (122) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - 372, /* (123) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ - 372, /* (124) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ - 372, /* (125) db_options ::= db_options STT_TRIGGER NK_INTEGER */ - 372, /* (126) db_options ::= db_options TABLE_PREFIX signed */ - 372, /* (127) db_options ::= db_options TABLE_SUFFIX signed */ - 372, /* (128) db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */ - 374, /* (129) alter_db_options ::= alter_db_option */ - 374, /* (130) alter_db_options ::= alter_db_options alter_db_option */ - 382, /* (131) alter_db_option ::= BUFFER NK_INTEGER */ - 382, /* (132) alter_db_option ::= CACHEMODEL NK_STRING */ - 382, /* (133) alter_db_option ::= CACHESIZE NK_INTEGER */ - 382, /* (134) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ - 382, /* (135) alter_db_option ::= KEEP integer_list */ - 382, /* (136) alter_db_option ::= KEEP variable_list */ - 382, /* (137) alter_db_option ::= PAGES NK_INTEGER */ - 382, /* (138) alter_db_option ::= REPLICA NK_INTEGER */ - 382, /* (139) alter_db_option ::= WAL_LEVEL NK_INTEGER */ - 382, /* (140) alter_db_option ::= STT_TRIGGER NK_INTEGER */ - 382, /* (141) alter_db_option ::= MINROWS NK_INTEGER */ - 382, /* (142) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ - 382, /* (143) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - 382, /* (144) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ - 382, /* (145) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - 382, /* (146) alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */ - 378, /* (147) integer_list ::= NK_INTEGER */ - 378, /* (148) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - 379, /* (149) variable_list ::= NK_VARIABLE */ - 379, /* (150) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - 380, /* (151) retention_list ::= retention */ - 380, /* (152) retention_list ::= retention_list NK_COMMA retention */ - 383, /* (153) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - 383, /* (154) retention ::= NK_MINUS NK_COLON NK_VARIABLE */ - 375, /* (155) speed_opt ::= */ - 375, /* (156) speed_opt ::= BWLIMIT NK_INTEGER */ - 376, /* (157) start_opt ::= */ - 376, /* (158) start_opt ::= START WITH NK_INTEGER */ - 376, /* (159) start_opt ::= START WITH NK_STRING */ - 376, /* (160) start_opt ::= START WITH TIMESTAMP NK_STRING */ - 377, /* (161) end_opt ::= */ - 377, /* (162) end_opt ::= END WITH NK_INTEGER */ - 377, /* (163) end_opt ::= END WITH NK_STRING */ - 377, /* (164) end_opt ::= END WITH TIMESTAMP NK_STRING */ - 349, /* (165) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - 349, /* (166) cmd ::= CREATE TABLE multi_create_clause */ - 349, /* (167) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - 349, /* (168) cmd ::= DROP TABLE multi_drop_clause */ - 349, /* (169) cmd ::= DROP STABLE exists_opt full_table_name */ - 349, /* (170) cmd ::= ALTER TABLE alter_table_clause */ - 349, /* (171) cmd ::= ALTER STABLE alter_table_clause */ - 391, /* (172) alter_table_clause ::= full_table_name alter_table_options */ - 391, /* (173) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - 391, /* (174) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - 391, /* (175) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - 391, /* (176) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - 391, /* (177) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - 391, /* (178) alter_table_clause ::= full_table_name DROP TAG column_name */ - 391, /* (179) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - 391, /* (180) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - 391, /* (181) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - 388, /* (182) multi_create_clause ::= create_subtable_clause */ - 388, /* (183) multi_create_clause ::= multi_create_clause create_subtable_clause */ - 396, /* (184) 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 */ - 390, /* (185) multi_drop_clause ::= drop_table_clause */ - 390, /* (186) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ - 399, /* (187) drop_table_clause ::= exists_opt full_table_name */ - 397, /* (188) specific_cols_opt ::= */ - 397, /* (189) specific_cols_opt ::= NK_LP col_name_list NK_RP */ - 384, /* (190) full_table_name ::= table_name */ - 384, /* (191) full_table_name ::= db_name NK_DOT table_name */ - 385, /* (192) column_def_list ::= column_def */ - 385, /* (193) column_def_list ::= column_def_list NK_COMMA column_def */ - 401, /* (194) column_def ::= column_name type_name */ - 394, /* (195) type_name ::= BOOL */ - 394, /* (196) type_name ::= TINYINT */ - 394, /* (197) type_name ::= SMALLINT */ - 394, /* (198) type_name ::= INT */ - 394, /* (199) type_name ::= INTEGER */ - 394, /* (200) type_name ::= BIGINT */ - 394, /* (201) type_name ::= FLOAT */ - 394, /* (202) type_name ::= DOUBLE */ - 394, /* (203) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - 394, /* (204) type_name ::= TIMESTAMP */ - 394, /* (205) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - 394, /* (206) type_name ::= TINYINT UNSIGNED */ - 394, /* (207) type_name ::= SMALLINT UNSIGNED */ - 394, /* (208) type_name ::= INT UNSIGNED */ - 394, /* (209) type_name ::= BIGINT UNSIGNED */ - 394, /* (210) type_name ::= JSON */ - 394, /* (211) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - 394, /* (212) type_name ::= MEDIUMBLOB */ - 394, /* (213) type_name ::= BLOB */ - 394, /* (214) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - 394, /* (215) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ - 394, /* (216) type_name ::= DECIMAL */ - 394, /* (217) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - 394, /* (218) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - 386, /* (219) tags_def_opt ::= */ - 386, /* (220) tags_def_opt ::= tags_def */ - 389, /* (221) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - 387, /* (222) table_options ::= */ - 387, /* (223) table_options ::= table_options COMMENT NK_STRING */ - 387, /* (224) table_options ::= table_options MAX_DELAY duration_list */ - 387, /* (225) table_options ::= table_options WATERMARK duration_list */ - 387, /* (226) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - 387, /* (227) table_options ::= table_options TTL NK_INTEGER */ - 387, /* (228) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - 387, /* (229) table_options ::= table_options DELETE_MARK duration_list */ - 392, /* (230) alter_table_options ::= alter_table_option */ - 392, /* (231) alter_table_options ::= alter_table_options alter_table_option */ - 404, /* (232) alter_table_option ::= COMMENT NK_STRING */ - 404, /* (233) alter_table_option ::= TTL NK_INTEGER */ - 402, /* (234) duration_list ::= duration_literal */ - 402, /* (235) duration_list ::= duration_list NK_COMMA duration_literal */ - 403, /* (236) rollup_func_list ::= rollup_func_name */ - 403, /* (237) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - 406, /* (238) rollup_func_name ::= function_name */ - 406, /* (239) rollup_func_name ::= FIRST */ - 406, /* (240) rollup_func_name ::= LAST */ - 400, /* (241) col_name_list ::= col_name */ - 400, /* (242) col_name_list ::= col_name_list NK_COMMA col_name */ - 408, /* (243) col_name ::= column_name */ - 349, /* (244) cmd ::= SHOW DNODES */ - 349, /* (245) cmd ::= SHOW USERS */ - 349, /* (246) cmd ::= SHOW USER PRIVILEGES */ - 349, /* (247) cmd ::= SHOW db_kind_opt DATABASES */ - 349, /* (248) cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */ - 349, /* (249) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - 349, /* (250) cmd ::= SHOW db_name_cond_opt VGROUPS */ - 349, /* (251) cmd ::= SHOW MNODES */ - 349, /* (252) cmd ::= SHOW QNODES */ - 349, /* (253) cmd ::= SHOW FUNCTIONS */ - 349, /* (254) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - 349, /* (255) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ - 349, /* (256) cmd ::= SHOW STREAMS */ - 349, /* (257) cmd ::= SHOW ACCOUNTS */ - 349, /* (258) cmd ::= SHOW APPS */ - 349, /* (259) cmd ::= SHOW CONNECTIONS */ - 349, /* (260) cmd ::= SHOW LICENCES */ - 349, /* (261) cmd ::= SHOW GRANTS */ - 349, /* (262) cmd ::= SHOW GRANTS FULL */ - 349, /* (263) cmd ::= SHOW GRANTS LOG */ - 349, /* (264) cmd ::= SHOW CREATE DATABASE db_name */ - 349, /* (265) cmd ::= SHOW CREATE TABLE full_table_name */ - 349, /* (266) cmd ::= SHOW CREATE STABLE full_table_name */ - 349, /* (267) cmd ::= SHOW QUERIES */ - 349, /* (268) cmd ::= SHOW SCORES */ - 349, /* (269) cmd ::= SHOW TOPICS */ - 349, /* (270) cmd ::= SHOW VARIABLES */ - 349, /* (271) cmd ::= SHOW CLUSTER VARIABLES */ - 349, /* (272) cmd ::= SHOW LOCAL VARIABLES */ - 349, /* (273) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - 349, /* (274) cmd ::= SHOW BNODES */ - 349, /* (275) cmd ::= SHOW SNODES */ - 349, /* (276) cmd ::= SHOW CLUSTER */ - 349, /* (277) cmd ::= SHOW TRANSACTIONS */ - 349, /* (278) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - 349, /* (279) cmd ::= SHOW CONSUMERS */ - 349, /* (280) cmd ::= SHOW SUBSCRIPTIONS */ - 349, /* (281) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - 349, /* (282) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ - 349, /* (283) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - 349, /* (284) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ - 349, /* (285) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ - 349, /* (286) cmd ::= SHOW VNODES */ - 349, /* (287) cmd ::= SHOW db_name_cond_opt ALIVE */ - 349, /* (288) cmd ::= SHOW CLUSTER ALIVE */ - 349, /* (289) cmd ::= SHOW db_name_cond_opt VIEWS */ - 349, /* (290) cmd ::= SHOW CREATE VIEW full_table_name */ - 349, /* (291) cmd ::= SHOW COMPACTS */ - 349, /* (292) cmd ::= SHOW COMPACT NK_INTEGER */ - 410, /* (293) table_kind_db_name_cond_opt ::= */ - 410, /* (294) table_kind_db_name_cond_opt ::= table_kind */ - 410, /* (295) table_kind_db_name_cond_opt ::= db_name NK_DOT */ - 410, /* (296) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */ - 416, /* (297) table_kind ::= NORMAL */ - 416, /* (298) table_kind ::= CHILD */ - 412, /* (299) db_name_cond_opt ::= */ - 412, /* (300) db_name_cond_opt ::= db_name NK_DOT */ - 411, /* (301) like_pattern_opt ::= */ - 411, /* (302) like_pattern_opt ::= LIKE NK_STRING */ - 413, /* (303) table_name_cond ::= table_name */ - 414, /* (304) from_db_opt ::= */ - 414, /* (305) from_db_opt ::= FROM db_name */ - 415, /* (306) tag_list_opt ::= */ - 415, /* (307) tag_list_opt ::= tag_item */ - 415, /* (308) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - 417, /* (309) tag_item ::= TBNAME */ - 417, /* (310) tag_item ::= QTAGS */ - 417, /* (311) tag_item ::= column_name */ - 417, /* (312) tag_item ::= column_name column_alias */ - 417, /* (313) tag_item ::= column_name AS column_alias */ - 409, /* (314) db_kind_opt ::= */ - 409, /* (315) db_kind_opt ::= USER */ - 409, /* (316) db_kind_opt ::= SYSTEM */ - 349, /* (317) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ - 349, /* (318) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ - 349, /* (319) cmd ::= DROP INDEX exists_opt full_index_name */ - 420, /* (320) full_index_name ::= index_name */ - 420, /* (321) full_index_name ::= db_name NK_DOT index_name */ - 419, /* (322) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - 419, /* (323) 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 */ - 422, /* (324) func_list ::= func */ - 422, /* (325) func_list ::= func_list NK_COMMA func */ - 425, /* (326) func ::= sma_func_name NK_LP expression_list NK_RP */ - 426, /* (327) sma_func_name ::= function_name */ - 426, /* (328) sma_func_name ::= COUNT */ - 426, /* (329) sma_func_name ::= FIRST */ - 426, /* (330) sma_func_name ::= LAST */ - 426, /* (331) sma_func_name ::= LAST_ROW */ - 424, /* (332) sma_stream_opt ::= */ - 424, /* (333) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - 424, /* (334) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - 424, /* (335) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - 427, /* (336) with_meta ::= AS */ - 427, /* (337) with_meta ::= WITH META AS */ - 427, /* (338) with_meta ::= ONLY META AS */ - 349, /* (339) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - 349, /* (340) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - 349, /* (341) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - 349, /* (342) cmd ::= DROP TOPIC exists_opt topic_name */ - 349, /* (343) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - 349, /* (344) cmd ::= DESC full_table_name */ - 349, /* (345) cmd ::= DESCRIBE full_table_name */ - 349, /* (346) cmd ::= RESET QUERY CACHE */ - 349, /* (347) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - 349, /* (348) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 431, /* (349) analyze_opt ::= */ - 431, /* (350) analyze_opt ::= ANALYZE */ - 432, /* (351) explain_options ::= */ - 432, /* (352) explain_options ::= explain_options VERBOSE NK_BOOL */ - 432, /* (353) explain_options ::= explain_options RATIO NK_FLOAT */ - 349, /* (354) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - 349, /* (355) cmd ::= DROP FUNCTION exists_opt function_name */ - 435, /* (356) agg_func_opt ::= */ - 435, /* (357) agg_func_opt ::= AGGREGATE */ - 436, /* (358) bufsize_opt ::= */ - 436, /* (359) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 437, /* (360) language_opt ::= */ - 437, /* (361) language_opt ::= LANGUAGE NK_STRING */ - 434, /* (362) or_replace_opt ::= */ - 434, /* (363) or_replace_opt ::= OR REPLACE */ - 349, /* (364) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ - 349, /* (365) cmd ::= DROP VIEW exists_opt full_view_name */ - 438, /* (366) full_view_name ::= view_name */ - 438, /* (367) full_view_name ::= db_name NK_DOT view_name */ - 349, /* (368) 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 */ - 349, /* (369) cmd ::= DROP STREAM exists_opt stream_name */ - 349, /* (370) cmd ::= PAUSE STREAM exists_opt stream_name */ - 349, /* (371) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 442, /* (372) col_list_opt ::= */ - 442, /* (373) col_list_opt ::= NK_LP col_name_list NK_RP */ - 443, /* (374) tag_def_or_ref_opt ::= */ - 443, /* (375) tag_def_or_ref_opt ::= tags_def */ - 443, /* (376) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 441, /* (377) stream_options ::= */ - 441, /* (378) stream_options ::= stream_options TRIGGER AT_ONCE */ - 441, /* (379) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - 441, /* (380) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - 441, /* (381) stream_options ::= stream_options WATERMARK duration_literal */ - 441, /* (382) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - 441, /* (383) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - 441, /* (384) stream_options ::= stream_options DELETE_MARK duration_literal */ - 441, /* (385) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 444, /* (386) subtable_opt ::= */ - 444, /* (387) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 445, /* (388) ignore_opt ::= */ - 445, /* (389) ignore_opt ::= IGNORE UNTREATED */ - 349, /* (390) cmd ::= KILL CONNECTION NK_INTEGER */ - 349, /* (391) cmd ::= KILL QUERY NK_STRING */ - 349, /* (392) cmd ::= KILL TRANSACTION NK_INTEGER */ - 349, /* (393) cmd ::= KILL COMPACT NK_INTEGER */ - 349, /* (394) cmd ::= BALANCE VGROUP */ - 349, /* (395) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ - 349, /* (396) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - 349, /* (397) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - 349, /* (398) cmd ::= SPLIT VGROUP NK_INTEGER */ - 447, /* (399) on_vgroup_id ::= */ - 447, /* (400) on_vgroup_id ::= ON NK_INTEGER */ - 448, /* (401) dnode_list ::= DNODE NK_INTEGER */ - 448, /* (402) dnode_list ::= dnode_list DNODE NK_INTEGER */ - 349, /* (403) cmd ::= DELETE FROM full_table_name where_clause_opt */ - 349, /* (404) cmd ::= query_or_subquery */ - 349, /* (405) cmd ::= insert_query */ - 433, /* (406) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - 433, /* (407) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - 352, /* (408) literal ::= NK_INTEGER */ - 352, /* (409) literal ::= NK_FLOAT */ - 352, /* (410) literal ::= NK_STRING */ - 352, /* (411) literal ::= NK_BOOL */ - 352, /* (412) literal ::= TIMESTAMP NK_STRING */ - 352, /* (413) literal ::= duration_literal */ - 352, /* (414) literal ::= NULL */ - 352, /* (415) literal ::= NK_QUESTION */ - 405, /* (416) duration_literal ::= NK_VARIABLE */ - 381, /* (417) signed ::= NK_INTEGER */ - 381, /* (418) signed ::= NK_PLUS NK_INTEGER */ - 381, /* (419) signed ::= NK_MINUS NK_INTEGER */ - 381, /* (420) signed ::= NK_FLOAT */ - 381, /* (421) signed ::= NK_PLUS NK_FLOAT */ - 381, /* (422) signed ::= NK_MINUS NK_FLOAT */ - 395, /* (423) signed_literal ::= signed */ - 395, /* (424) signed_literal ::= NK_STRING */ - 395, /* (425) signed_literal ::= NK_BOOL */ - 395, /* (426) signed_literal ::= TIMESTAMP NK_STRING */ - 395, /* (427) signed_literal ::= duration_literal */ - 395, /* (428) signed_literal ::= NULL */ - 395, /* (429) signed_literal ::= literal_func */ - 395, /* (430) signed_literal ::= NK_QUESTION */ - 450, /* (431) literal_list ::= signed_literal */ - 450, /* (432) literal_list ::= literal_list NK_COMMA signed_literal */ - 364, /* (433) db_name ::= NK_ID */ - 365, /* (434) table_name ::= NK_ID */ - 393, /* (435) column_name ::= NK_ID */ - 407, /* (436) function_name ::= NK_ID */ - 439, /* (437) view_name ::= NK_ID */ - 451, /* (438) table_alias ::= NK_ID */ - 418, /* (439) column_alias ::= NK_ID */ - 418, /* (440) column_alias ::= NK_ALIAS */ - 357, /* (441) user_name ::= NK_ID */ - 366, /* (442) topic_name ::= NK_ID */ - 440, /* (443) stream_name ::= NK_ID */ - 430, /* (444) cgroup_name ::= NK_ID */ - 421, /* (445) index_name ::= NK_ID */ - 452, /* (446) expr_or_subquery ::= expression */ - 446, /* (447) expression ::= literal */ - 446, /* (448) expression ::= pseudo_column */ - 446, /* (449) expression ::= column_reference */ - 446, /* (450) expression ::= function_expression */ - 446, /* (451) expression ::= case_when_expression */ - 446, /* (452) expression ::= NK_LP expression NK_RP */ - 446, /* (453) expression ::= NK_PLUS expr_or_subquery */ - 446, /* (454) expression ::= NK_MINUS expr_or_subquery */ - 446, /* (455) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - 446, /* (456) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - 446, /* (457) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - 446, /* (458) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - 446, /* (459) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - 446, /* (460) expression ::= column_reference NK_ARROW NK_STRING */ - 446, /* (461) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - 446, /* (462) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - 398, /* (463) expression_list ::= expr_or_subquery */ - 398, /* (464) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - 454, /* (465) column_reference ::= column_name */ - 454, /* (466) column_reference ::= table_name NK_DOT column_name */ - 454, /* (467) column_reference ::= NK_ALIAS */ - 454, /* (468) column_reference ::= table_name NK_DOT NK_ALIAS */ - 453, /* (469) pseudo_column ::= ROWTS */ - 453, /* (470) pseudo_column ::= TBNAME */ - 453, /* (471) pseudo_column ::= table_name NK_DOT TBNAME */ - 453, /* (472) pseudo_column ::= QSTART */ - 453, /* (473) pseudo_column ::= QEND */ - 453, /* (474) pseudo_column ::= QDURATION */ - 453, /* (475) pseudo_column ::= WSTART */ - 453, /* (476) pseudo_column ::= WEND */ - 453, /* (477) pseudo_column ::= WDURATION */ - 453, /* (478) pseudo_column ::= IROWTS */ - 453, /* (479) pseudo_column ::= ISFILLED */ - 453, /* (480) pseudo_column ::= QTAGS */ - 455, /* (481) function_expression ::= function_name NK_LP expression_list NK_RP */ - 455, /* (482) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - 455, /* (483) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - 455, /* (484) function_expression ::= literal_func */ - 449, /* (485) literal_func ::= noarg_func NK_LP NK_RP */ - 449, /* (486) literal_func ::= NOW */ - 459, /* (487) noarg_func ::= NOW */ - 459, /* (488) noarg_func ::= TODAY */ - 459, /* (489) noarg_func ::= TIMEZONE */ - 459, /* (490) noarg_func ::= DATABASE */ - 459, /* (491) noarg_func ::= CLIENT_VERSION */ - 459, /* (492) noarg_func ::= SERVER_VERSION */ - 459, /* (493) noarg_func ::= SERVER_STATUS */ - 459, /* (494) noarg_func ::= CURRENT_USER */ - 459, /* (495) noarg_func ::= USER */ - 457, /* (496) star_func ::= COUNT */ - 457, /* (497) star_func ::= FIRST */ - 457, /* (498) star_func ::= LAST */ - 457, /* (499) star_func ::= LAST_ROW */ - 458, /* (500) star_func_para_list ::= NK_STAR */ - 458, /* (501) star_func_para_list ::= other_para_list */ - 460, /* (502) other_para_list ::= star_func_para */ - 460, /* (503) other_para_list ::= other_para_list NK_COMMA star_func_para */ - 461, /* (504) star_func_para ::= expr_or_subquery */ - 461, /* (505) star_func_para ::= table_name NK_DOT NK_STAR */ - 456, /* (506) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - 456, /* (507) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - 462, /* (508) when_then_list ::= when_then_expr */ - 462, /* (509) when_then_list ::= when_then_list when_then_expr */ - 465, /* (510) when_then_expr ::= WHEN common_expression THEN common_expression */ - 463, /* (511) case_when_else_opt ::= */ - 463, /* (512) case_when_else_opt ::= ELSE common_expression */ - 466, /* (513) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - 466, /* (514) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - 466, /* (515) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - 466, /* (516) predicate ::= expr_or_subquery IS NULL */ - 466, /* (517) predicate ::= expr_or_subquery IS NOT NULL */ - 466, /* (518) predicate ::= expr_or_subquery in_op in_predicate_value */ - 467, /* (519) compare_op ::= NK_LT */ - 467, /* (520) compare_op ::= NK_GT */ - 467, /* (521) compare_op ::= NK_LE */ - 467, /* (522) compare_op ::= NK_GE */ - 467, /* (523) compare_op ::= NK_NE */ - 467, /* (524) compare_op ::= NK_EQ */ - 467, /* (525) compare_op ::= LIKE */ - 467, /* (526) compare_op ::= NOT LIKE */ - 467, /* (527) compare_op ::= MATCH */ - 467, /* (528) compare_op ::= NMATCH */ - 467, /* (529) compare_op ::= CONTAINS */ - 468, /* (530) in_op ::= IN */ - 468, /* (531) in_op ::= NOT IN */ - 469, /* (532) in_predicate_value ::= NK_LP literal_list NK_RP */ - 470, /* (533) boolean_value_expression ::= boolean_primary */ - 470, /* (534) boolean_value_expression ::= NOT boolean_primary */ - 470, /* (535) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - 470, /* (536) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - 471, /* (537) boolean_primary ::= predicate */ - 471, /* (538) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - 464, /* (539) common_expression ::= expr_or_subquery */ - 464, /* (540) common_expression ::= boolean_value_expression */ - 472, /* (541) from_clause_opt ::= */ - 472, /* (542) from_clause_opt ::= FROM table_reference_list */ - 473, /* (543) table_reference_list ::= table_reference */ - 473, /* (544) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - 474, /* (545) table_reference ::= table_primary */ - 474, /* (546) table_reference ::= joined_table */ - 475, /* (547) table_primary ::= table_name alias_opt */ - 475, /* (548) table_primary ::= db_name NK_DOT table_name alias_opt */ - 475, /* (549) table_primary ::= subquery alias_opt */ - 475, /* (550) table_primary ::= parenthesized_joined_table */ - 477, /* (551) alias_opt ::= */ - 477, /* (552) alias_opt ::= table_alias */ - 477, /* (553) alias_opt ::= AS table_alias */ - 479, /* (554) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - 479, /* (555) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - 476, /* (556) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 480, /* (557) join_type ::= */ - 480, /* (558) join_type ::= INNER */ - 481, /* (559) query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_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 */ - 482, /* (560) hint_list ::= */ - 482, /* (561) hint_list ::= NK_HINT */ - 484, /* (562) tag_mode_opt ::= */ - 484, /* (563) tag_mode_opt ::= TAGS */ - 483, /* (564) set_quantifier_opt ::= */ - 483, /* (565) set_quantifier_opt ::= DISTINCT */ - 483, /* (566) set_quantifier_opt ::= ALL */ - 485, /* (567) select_list ::= select_item */ - 485, /* (568) select_list ::= select_list NK_COMMA select_item */ - 493, /* (569) select_item ::= NK_STAR */ - 493, /* (570) select_item ::= common_expression */ - 493, /* (571) select_item ::= common_expression column_alias */ - 493, /* (572) select_item ::= common_expression AS column_alias */ - 493, /* (573) select_item ::= table_name NK_DOT NK_STAR */ - 429, /* (574) where_clause_opt ::= */ - 429, /* (575) where_clause_opt ::= WHERE search_condition */ - 486, /* (576) partition_by_clause_opt ::= */ - 486, /* (577) partition_by_clause_opt ::= PARTITION BY partition_list */ - 494, /* (578) partition_list ::= partition_item */ - 494, /* (579) partition_list ::= partition_list NK_COMMA partition_item */ - 495, /* (580) partition_item ::= expr_or_subquery */ - 495, /* (581) partition_item ::= expr_or_subquery column_alias */ - 495, /* (582) partition_item ::= expr_or_subquery AS column_alias */ - 490, /* (583) twindow_clause_opt ::= */ - 490, /* (584) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */ - 490, /* (585) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - 490, /* (586) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ - 490, /* (587) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ - 490, /* (588) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 423, /* (589) sliding_opt ::= */ - 423, /* (590) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ - 496, /* (591) interval_sliding_duration_literal ::= NK_VARIABLE */ - 496, /* (592) interval_sliding_duration_literal ::= NK_STRING */ - 496, /* (593) interval_sliding_duration_literal ::= NK_INTEGER */ - 489, /* (594) fill_opt ::= */ - 489, /* (595) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - 489, /* (596) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - 489, /* (597) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - 497, /* (598) fill_mode ::= NONE */ - 497, /* (599) fill_mode ::= PREV */ - 497, /* (600) fill_mode ::= NULL */ - 497, /* (601) fill_mode ::= NULL_F */ - 497, /* (602) fill_mode ::= LINEAR */ - 497, /* (603) fill_mode ::= NEXT */ - 491, /* (604) group_by_clause_opt ::= */ - 491, /* (605) group_by_clause_opt ::= GROUP BY group_by_list */ - 498, /* (606) group_by_list ::= expr_or_subquery */ - 498, /* (607) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 492, /* (608) having_clause_opt ::= */ - 492, /* (609) having_clause_opt ::= HAVING search_condition */ - 487, /* (610) range_opt ::= */ - 487, /* (611) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - 487, /* (612) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 488, /* (613) every_opt ::= */ - 488, /* (614) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - 499, /* (615) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - 500, /* (616) query_simple ::= query_specification */ - 500, /* (617) query_simple ::= union_query_expression */ - 504, /* (618) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - 504, /* (619) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - 505, /* (620) query_simple_or_subquery ::= query_simple */ - 505, /* (621) query_simple_or_subquery ::= subquery */ - 428, /* (622) query_or_subquery ::= query_expression */ - 428, /* (623) query_or_subquery ::= subquery */ - 501, /* (624) order_by_clause_opt ::= */ - 501, /* (625) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 502, /* (626) slimit_clause_opt ::= */ - 502, /* (627) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - 502, /* (628) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - 502, /* (629) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 503, /* (630) limit_clause_opt ::= */ - 503, /* (631) limit_clause_opt ::= LIMIT NK_INTEGER */ - 503, /* (632) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - 503, /* (633) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 478, /* (634) subquery ::= NK_LP query_expression NK_RP */ - 478, /* (635) subquery ::= NK_LP subquery NK_RP */ - 367, /* (636) search_condition ::= common_expression */ - 506, /* (637) sort_specification_list ::= sort_specification */ - 506, /* (638) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - 507, /* (639) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 508, /* (640) ordering_specification_opt ::= */ - 508, /* (641) ordering_specification_opt ::= ASC */ - 508, /* (642) ordering_specification_opt ::= DESC */ - 509, /* (643) null_ordering_opt ::= */ - 509, /* (644) null_ordering_opt ::= NULLS FIRST */ - 509, /* (645) null_ordering_opt ::= NULLS LAST */ + 350, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ + 350, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ + 351, /* (2) account_options ::= */ + 351, /* (3) account_options ::= account_options PPS literal */ + 351, /* (4) account_options ::= account_options TSERIES literal */ + 351, /* (5) account_options ::= account_options STORAGE literal */ + 351, /* (6) account_options ::= account_options STREAMS literal */ + 351, /* (7) account_options ::= account_options QTIME literal */ + 351, /* (8) account_options ::= account_options DBS literal */ + 351, /* (9) account_options ::= account_options USERS literal */ + 351, /* (10) account_options ::= account_options CONNS literal */ + 351, /* (11) account_options ::= account_options STATE literal */ + 352, /* (12) alter_account_options ::= alter_account_option */ + 352, /* (13) alter_account_options ::= alter_account_options alter_account_option */ + 354, /* (14) alter_account_option ::= PASS literal */ + 354, /* (15) alter_account_option ::= PPS literal */ + 354, /* (16) alter_account_option ::= TSERIES literal */ + 354, /* (17) alter_account_option ::= STORAGE literal */ + 354, /* (18) alter_account_option ::= STREAMS literal */ + 354, /* (19) alter_account_option ::= QTIME literal */ + 354, /* (20) alter_account_option ::= DBS literal */ + 354, /* (21) alter_account_option ::= USERS literal */ + 354, /* (22) alter_account_option ::= CONNS literal */ + 354, /* (23) alter_account_option ::= STATE literal */ + 355, /* (24) ip_range_list ::= NK_STRING */ + 355, /* (25) ip_range_list ::= ip_range_list NK_COMMA NK_STRING */ + 356, /* (26) white_list ::= HOST ip_range_list */ + 357, /* (27) white_list_opt ::= */ + 357, /* (28) white_list_opt ::= white_list */ + 350, /* (29) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt white_list_opt */ + 350, /* (30) cmd ::= ALTER USER user_name PASS NK_STRING */ + 350, /* (31) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ + 350, /* (32) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ + 350, /* (33) cmd ::= ALTER USER user_name ADD white_list */ + 350, /* (34) cmd ::= ALTER USER user_name DROP white_list */ + 350, /* (35) cmd ::= DROP USER user_name */ + 359, /* (36) sysinfo_opt ::= */ + 359, /* (37) sysinfo_opt ::= SYSINFO NK_INTEGER */ + 350, /* (38) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */ + 350, /* (39) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ + 360, /* (40) privileges ::= ALL */ + 360, /* (41) privileges ::= priv_type_list */ + 360, /* (42) privileges ::= SUBSCRIBE */ + 363, /* (43) priv_type_list ::= priv_type */ + 363, /* (44) priv_type_list ::= priv_type_list NK_COMMA priv_type */ + 364, /* (45) priv_type ::= READ */ + 364, /* (46) priv_type ::= WRITE */ + 364, /* (47) priv_type ::= ALTER */ + 361, /* (48) priv_level ::= NK_STAR NK_DOT NK_STAR */ + 361, /* (49) priv_level ::= db_name NK_DOT NK_STAR */ + 361, /* (50) priv_level ::= db_name NK_DOT table_name */ + 361, /* (51) priv_level ::= topic_name */ + 362, /* (52) with_opt ::= */ + 362, /* (53) with_opt ::= WITH search_condition */ + 350, /* (54) cmd ::= CREATE DNODE dnode_endpoint */ + 350, /* (55) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ + 350, /* (56) cmd ::= DROP DNODE NK_INTEGER force_opt */ + 350, /* (57) cmd ::= DROP DNODE dnode_endpoint force_opt */ + 350, /* (58) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ + 350, /* (59) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ + 350, /* (60) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ + 350, /* (61) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ + 350, /* (62) cmd ::= ALTER ALL DNODES NK_STRING */ + 350, /* (63) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ + 350, /* (64) cmd ::= RESTORE DNODE NK_INTEGER */ + 369, /* (65) dnode_endpoint ::= NK_STRING */ + 369, /* (66) dnode_endpoint ::= NK_ID */ + 369, /* (67) dnode_endpoint ::= NK_IPTOKEN */ + 370, /* (68) force_opt ::= */ + 370, /* (69) force_opt ::= FORCE */ + 371, /* (70) unsafe_opt ::= UNSAFE */ + 350, /* (71) cmd ::= ALTER CLUSTER NK_STRING */ + 350, /* (72) cmd ::= ALTER CLUSTER NK_STRING NK_STRING */ + 350, /* (73) cmd ::= ALTER LOCAL NK_STRING */ + 350, /* (74) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ + 350, /* (75) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ + 350, /* (76) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ + 350, /* (77) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */ + 350, /* (78) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ + 350, /* (79) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ + 350, /* (80) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ + 350, /* (81) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ + 350, /* (82) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ + 350, /* (83) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ + 350, /* (84) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */ + 350, /* (85) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */ + 350, /* (86) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ + 350, /* (87) cmd ::= DROP DATABASE exists_opt db_name */ + 350, /* (88) cmd ::= USE db_name */ + 350, /* (89) cmd ::= ALTER DATABASE db_name alter_db_options */ + 350, /* (90) cmd ::= FLUSH DATABASE db_name */ + 350, /* (91) cmd ::= TRIM DATABASE db_name speed_opt */ + 350, /* (92) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ + 372, /* (93) not_exists_opt ::= IF NOT EXISTS */ + 372, /* (94) not_exists_opt ::= */ + 374, /* (95) exists_opt ::= IF EXISTS */ + 374, /* (96) exists_opt ::= */ + 373, /* (97) db_options ::= */ + 373, /* (98) db_options ::= db_options BUFFER NK_INTEGER */ + 373, /* (99) db_options ::= db_options CACHEMODEL NK_STRING */ + 373, /* (100) db_options ::= db_options CACHESIZE NK_INTEGER */ + 373, /* (101) db_options ::= db_options COMP NK_INTEGER */ + 373, /* (102) db_options ::= db_options DURATION NK_INTEGER */ + 373, /* (103) db_options ::= db_options DURATION NK_VARIABLE */ + 373, /* (104) db_options ::= db_options MAXROWS NK_INTEGER */ + 373, /* (105) db_options ::= db_options MINROWS NK_INTEGER */ + 373, /* (106) db_options ::= db_options KEEP integer_list */ + 373, /* (107) db_options ::= db_options KEEP variable_list */ + 373, /* (108) db_options ::= db_options PAGES NK_INTEGER */ + 373, /* (109) db_options ::= db_options PAGESIZE NK_INTEGER */ + 373, /* (110) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ + 373, /* (111) db_options ::= db_options PRECISION NK_STRING */ + 373, /* (112) db_options ::= db_options REPLICA NK_INTEGER */ + 373, /* (113) db_options ::= db_options VGROUPS NK_INTEGER */ + 373, /* (114) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ + 373, /* (115) db_options ::= db_options RETENTIONS retention_list */ + 373, /* (116) db_options ::= db_options SCHEMALESS NK_INTEGER */ + 373, /* (117) db_options ::= db_options WAL_LEVEL NK_INTEGER */ + 373, /* (118) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ + 373, /* (119) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ + 373, /* (120) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + 373, /* (121) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ + 373, /* (122) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + 373, /* (123) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ + 373, /* (124) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ + 373, /* (125) db_options ::= db_options STT_TRIGGER NK_INTEGER */ + 373, /* (126) db_options ::= db_options TABLE_PREFIX signed */ + 373, /* (127) db_options ::= db_options TABLE_SUFFIX signed */ + 373, /* (128) db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */ + 375, /* (129) alter_db_options ::= alter_db_option */ + 375, /* (130) alter_db_options ::= alter_db_options alter_db_option */ + 383, /* (131) alter_db_option ::= BUFFER NK_INTEGER */ + 383, /* (132) alter_db_option ::= CACHEMODEL NK_STRING */ + 383, /* (133) alter_db_option ::= CACHESIZE NK_INTEGER */ + 383, /* (134) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ + 383, /* (135) alter_db_option ::= KEEP integer_list */ + 383, /* (136) alter_db_option ::= KEEP variable_list */ + 383, /* (137) alter_db_option ::= PAGES NK_INTEGER */ + 383, /* (138) alter_db_option ::= REPLICA NK_INTEGER */ + 383, /* (139) alter_db_option ::= WAL_LEVEL NK_INTEGER */ + 383, /* (140) alter_db_option ::= STT_TRIGGER NK_INTEGER */ + 383, /* (141) alter_db_option ::= MINROWS NK_INTEGER */ + 383, /* (142) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ + 383, /* (143) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + 383, /* (144) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ + 383, /* (145) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + 383, /* (146) alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */ + 379, /* (147) integer_list ::= NK_INTEGER */ + 379, /* (148) integer_list ::= integer_list NK_COMMA NK_INTEGER */ + 380, /* (149) variable_list ::= NK_VARIABLE */ + 380, /* (150) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + 381, /* (151) retention_list ::= retention */ + 381, /* (152) retention_list ::= retention_list NK_COMMA retention */ + 384, /* (153) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + 384, /* (154) retention ::= NK_MINUS NK_COLON NK_VARIABLE */ + 376, /* (155) speed_opt ::= */ + 376, /* (156) speed_opt ::= BWLIMIT NK_INTEGER */ + 377, /* (157) start_opt ::= */ + 377, /* (158) start_opt ::= START WITH NK_INTEGER */ + 377, /* (159) start_opt ::= START WITH NK_STRING */ + 377, /* (160) start_opt ::= START WITH TIMESTAMP NK_STRING */ + 378, /* (161) end_opt ::= */ + 378, /* (162) end_opt ::= END WITH NK_INTEGER */ + 378, /* (163) end_opt ::= END WITH NK_STRING */ + 378, /* (164) end_opt ::= END WITH TIMESTAMP NK_STRING */ + 350, /* (165) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + 350, /* (166) cmd ::= CREATE TABLE multi_create_clause */ + 350, /* (167) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ + 350, /* (168) cmd ::= DROP TABLE multi_drop_clause */ + 350, /* (169) cmd ::= DROP STABLE exists_opt full_table_name */ + 350, /* (170) cmd ::= ALTER TABLE alter_table_clause */ + 350, /* (171) cmd ::= ALTER STABLE alter_table_clause */ + 392, /* (172) alter_table_clause ::= full_table_name alter_table_options */ + 392, /* (173) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + 392, /* (174) alter_table_clause ::= full_table_name DROP COLUMN column_name */ + 392, /* (175) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + 392, /* (176) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + 392, /* (177) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + 392, /* (178) alter_table_clause ::= full_table_name DROP TAG column_name */ + 392, /* (179) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + 392, /* (180) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + 392, /* (181) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + 389, /* (182) multi_create_clause ::= create_subtable_clause */ + 389, /* (183) multi_create_clause ::= multi_create_clause create_subtable_clause */ + 397, /* (184) 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 */ + 391, /* (185) multi_drop_clause ::= drop_table_clause */ + 391, /* (186) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ + 400, /* (187) drop_table_clause ::= exists_opt full_table_name */ + 398, /* (188) specific_cols_opt ::= */ + 398, /* (189) specific_cols_opt ::= NK_LP col_name_list NK_RP */ + 385, /* (190) full_table_name ::= table_name */ + 385, /* (191) full_table_name ::= db_name NK_DOT table_name */ + 386, /* (192) column_def_list ::= column_def */ + 386, /* (193) column_def_list ::= column_def_list NK_COMMA column_def */ + 402, /* (194) column_def ::= column_name type_name */ + 395, /* (195) type_name ::= BOOL */ + 395, /* (196) type_name ::= TINYINT */ + 395, /* (197) type_name ::= SMALLINT */ + 395, /* (198) type_name ::= INT */ + 395, /* (199) type_name ::= INTEGER */ + 395, /* (200) type_name ::= BIGINT */ + 395, /* (201) type_name ::= FLOAT */ + 395, /* (202) type_name ::= DOUBLE */ + 395, /* (203) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + 395, /* (204) type_name ::= TIMESTAMP */ + 395, /* (205) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + 395, /* (206) type_name ::= TINYINT UNSIGNED */ + 395, /* (207) type_name ::= SMALLINT UNSIGNED */ + 395, /* (208) type_name ::= INT UNSIGNED */ + 395, /* (209) type_name ::= BIGINT UNSIGNED */ + 395, /* (210) type_name ::= JSON */ + 395, /* (211) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + 395, /* (212) type_name ::= MEDIUMBLOB */ + 395, /* (213) type_name ::= BLOB */ + 395, /* (214) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + 395, /* (215) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ + 395, /* (216) type_name ::= DECIMAL */ + 395, /* (217) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + 395, /* (218) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + 387, /* (219) tags_def_opt ::= */ + 387, /* (220) tags_def_opt ::= tags_def */ + 390, /* (221) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + 388, /* (222) table_options ::= */ + 388, /* (223) table_options ::= table_options COMMENT NK_STRING */ + 388, /* (224) table_options ::= table_options MAX_DELAY duration_list */ + 388, /* (225) table_options ::= table_options WATERMARK duration_list */ + 388, /* (226) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + 388, /* (227) table_options ::= table_options TTL NK_INTEGER */ + 388, /* (228) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + 388, /* (229) table_options ::= table_options DELETE_MARK duration_list */ + 393, /* (230) alter_table_options ::= alter_table_option */ + 393, /* (231) alter_table_options ::= alter_table_options alter_table_option */ + 405, /* (232) alter_table_option ::= COMMENT NK_STRING */ + 405, /* (233) alter_table_option ::= TTL NK_INTEGER */ + 403, /* (234) duration_list ::= duration_literal */ + 403, /* (235) duration_list ::= duration_list NK_COMMA duration_literal */ + 404, /* (236) rollup_func_list ::= rollup_func_name */ + 404, /* (237) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + 407, /* (238) rollup_func_name ::= function_name */ + 407, /* (239) rollup_func_name ::= FIRST */ + 407, /* (240) rollup_func_name ::= LAST */ + 401, /* (241) col_name_list ::= col_name */ + 401, /* (242) col_name_list ::= col_name_list NK_COMMA col_name */ + 409, /* (243) col_name ::= column_name */ + 350, /* (244) cmd ::= SHOW DNODES */ + 350, /* (245) cmd ::= SHOW USERS */ + 350, /* (246) cmd ::= SHOW USER PRIVILEGES */ + 350, /* (247) cmd ::= SHOW db_kind_opt DATABASES */ + 350, /* (248) cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */ + 350, /* (249) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + 350, /* (250) cmd ::= SHOW db_name_cond_opt VGROUPS */ + 350, /* (251) cmd ::= SHOW MNODES */ + 350, /* (252) cmd ::= SHOW QNODES */ + 350, /* (253) cmd ::= SHOW FUNCTIONS */ + 350, /* (254) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + 350, /* (255) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ + 350, /* (256) cmd ::= SHOW STREAMS */ + 350, /* (257) cmd ::= SHOW ACCOUNTS */ + 350, /* (258) cmd ::= SHOW APPS */ + 350, /* (259) cmd ::= SHOW CONNECTIONS */ + 350, /* (260) cmd ::= SHOW LICENCES */ + 350, /* (261) cmd ::= SHOW GRANTS */ + 350, /* (262) cmd ::= SHOW GRANTS FULL */ + 350, /* (263) cmd ::= SHOW GRANTS LOG */ + 350, /* (264) cmd ::= SHOW CLUSTER MACHINES */ + 350, /* (265) cmd ::= SHOW CREATE DATABASE db_name */ + 350, /* (266) cmd ::= SHOW CREATE TABLE full_table_name */ + 350, /* (267) cmd ::= SHOW CREATE STABLE full_table_name */ + 350, /* (268) cmd ::= SHOW QUERIES */ + 350, /* (269) cmd ::= SHOW SCORES */ + 350, /* (270) cmd ::= SHOW TOPICS */ + 350, /* (271) cmd ::= SHOW VARIABLES */ + 350, /* (272) cmd ::= SHOW CLUSTER VARIABLES */ + 350, /* (273) cmd ::= SHOW LOCAL VARIABLES */ + 350, /* (274) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + 350, /* (275) cmd ::= SHOW BNODES */ + 350, /* (276) cmd ::= SHOW SNODES */ + 350, /* (277) cmd ::= SHOW CLUSTER */ + 350, /* (278) cmd ::= SHOW TRANSACTIONS */ + 350, /* (279) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + 350, /* (280) cmd ::= SHOW CONSUMERS */ + 350, /* (281) cmd ::= SHOW SUBSCRIPTIONS */ + 350, /* (282) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + 350, /* (283) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ + 350, /* (284) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + 350, /* (285) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ + 350, /* (286) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ + 350, /* (287) cmd ::= SHOW VNODES */ + 350, /* (288) cmd ::= SHOW db_name_cond_opt ALIVE */ + 350, /* (289) cmd ::= SHOW CLUSTER ALIVE */ + 350, /* (290) cmd ::= SHOW db_name_cond_opt VIEWS */ + 350, /* (291) cmd ::= SHOW CREATE VIEW full_table_name */ + 350, /* (292) cmd ::= SHOW COMPACTS */ + 350, /* (293) cmd ::= SHOW COMPACT NK_INTEGER */ + 411, /* (294) table_kind_db_name_cond_opt ::= */ + 411, /* (295) table_kind_db_name_cond_opt ::= table_kind */ + 411, /* (296) table_kind_db_name_cond_opt ::= db_name NK_DOT */ + 411, /* (297) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */ + 417, /* (298) table_kind ::= NORMAL */ + 417, /* (299) table_kind ::= CHILD */ + 413, /* (300) db_name_cond_opt ::= */ + 413, /* (301) db_name_cond_opt ::= db_name NK_DOT */ + 412, /* (302) like_pattern_opt ::= */ + 412, /* (303) like_pattern_opt ::= LIKE NK_STRING */ + 414, /* (304) table_name_cond ::= table_name */ + 415, /* (305) from_db_opt ::= */ + 415, /* (306) from_db_opt ::= FROM db_name */ + 416, /* (307) tag_list_opt ::= */ + 416, /* (308) tag_list_opt ::= tag_item */ + 416, /* (309) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + 418, /* (310) tag_item ::= TBNAME */ + 418, /* (311) tag_item ::= QTAGS */ + 418, /* (312) tag_item ::= column_name */ + 418, /* (313) tag_item ::= column_name column_alias */ + 418, /* (314) tag_item ::= column_name AS column_alias */ + 410, /* (315) db_kind_opt ::= */ + 410, /* (316) db_kind_opt ::= USER */ + 410, /* (317) db_kind_opt ::= SYSTEM */ + 350, /* (318) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ + 350, /* (319) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ + 350, /* (320) cmd ::= DROP INDEX exists_opt full_index_name */ + 421, /* (321) full_index_name ::= index_name */ + 421, /* (322) full_index_name ::= db_name NK_DOT index_name */ + 420, /* (323) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + 420, /* (324) 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 */ + 423, /* (325) func_list ::= func */ + 423, /* (326) func_list ::= func_list NK_COMMA func */ + 426, /* (327) func ::= sma_func_name NK_LP expression_list NK_RP */ + 427, /* (328) sma_func_name ::= function_name */ + 427, /* (329) sma_func_name ::= COUNT */ + 427, /* (330) sma_func_name ::= FIRST */ + 427, /* (331) sma_func_name ::= LAST */ + 427, /* (332) sma_func_name ::= LAST_ROW */ + 425, /* (333) sma_stream_opt ::= */ + 425, /* (334) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + 425, /* (335) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + 425, /* (336) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + 428, /* (337) with_meta ::= AS */ + 428, /* (338) with_meta ::= WITH META AS */ + 428, /* (339) with_meta ::= ONLY META AS */ + 350, /* (340) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + 350, /* (341) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + 350, /* (342) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + 350, /* (343) cmd ::= DROP TOPIC exists_opt topic_name */ + 350, /* (344) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + 350, /* (345) cmd ::= DESC full_table_name */ + 350, /* (346) cmd ::= DESCRIBE full_table_name */ + 350, /* (347) cmd ::= RESET QUERY CACHE */ + 350, /* (348) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + 350, /* (349) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + 432, /* (350) analyze_opt ::= */ + 432, /* (351) analyze_opt ::= ANALYZE */ + 433, /* (352) explain_options ::= */ + 433, /* (353) explain_options ::= explain_options VERBOSE NK_BOOL */ + 433, /* (354) explain_options ::= explain_options RATIO NK_FLOAT */ + 350, /* (355) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + 350, /* (356) cmd ::= DROP FUNCTION exists_opt function_name */ + 436, /* (357) agg_func_opt ::= */ + 436, /* (358) agg_func_opt ::= AGGREGATE */ + 437, /* (359) bufsize_opt ::= */ + 437, /* (360) bufsize_opt ::= BUFSIZE NK_INTEGER */ + 438, /* (361) language_opt ::= */ + 438, /* (362) language_opt ::= LANGUAGE NK_STRING */ + 435, /* (363) or_replace_opt ::= */ + 435, /* (364) or_replace_opt ::= OR REPLACE */ + 350, /* (365) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ + 350, /* (366) cmd ::= DROP VIEW exists_opt full_view_name */ + 439, /* (367) full_view_name ::= view_name */ + 439, /* (368) full_view_name ::= db_name NK_DOT view_name */ + 350, /* (369) 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 */ + 350, /* (370) cmd ::= DROP STREAM exists_opt stream_name */ + 350, /* (371) cmd ::= PAUSE STREAM exists_opt stream_name */ + 350, /* (372) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + 443, /* (373) col_list_opt ::= */ + 443, /* (374) col_list_opt ::= NK_LP col_name_list NK_RP */ + 444, /* (375) tag_def_or_ref_opt ::= */ + 444, /* (376) tag_def_or_ref_opt ::= tags_def */ + 444, /* (377) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + 442, /* (378) stream_options ::= */ + 442, /* (379) stream_options ::= stream_options TRIGGER AT_ONCE */ + 442, /* (380) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + 442, /* (381) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + 442, /* (382) stream_options ::= stream_options WATERMARK duration_literal */ + 442, /* (383) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + 442, /* (384) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + 442, /* (385) stream_options ::= stream_options DELETE_MARK duration_literal */ + 442, /* (386) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + 445, /* (387) subtable_opt ::= */ + 445, /* (388) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + 446, /* (389) ignore_opt ::= */ + 446, /* (390) ignore_opt ::= IGNORE UNTREATED */ + 350, /* (391) cmd ::= KILL CONNECTION NK_INTEGER */ + 350, /* (392) cmd ::= KILL QUERY NK_STRING */ + 350, /* (393) cmd ::= KILL TRANSACTION NK_INTEGER */ + 350, /* (394) cmd ::= KILL COMPACT NK_INTEGER */ + 350, /* (395) cmd ::= BALANCE VGROUP */ + 350, /* (396) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ + 350, /* (397) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + 350, /* (398) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + 350, /* (399) cmd ::= SPLIT VGROUP NK_INTEGER */ + 448, /* (400) on_vgroup_id ::= */ + 448, /* (401) on_vgroup_id ::= ON NK_INTEGER */ + 449, /* (402) dnode_list ::= DNODE NK_INTEGER */ + 449, /* (403) dnode_list ::= dnode_list DNODE NK_INTEGER */ + 350, /* (404) cmd ::= DELETE FROM full_table_name where_clause_opt */ + 350, /* (405) cmd ::= query_or_subquery */ + 350, /* (406) cmd ::= insert_query */ + 434, /* (407) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + 434, /* (408) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + 353, /* (409) literal ::= NK_INTEGER */ + 353, /* (410) literal ::= NK_FLOAT */ + 353, /* (411) literal ::= NK_STRING */ + 353, /* (412) literal ::= NK_BOOL */ + 353, /* (413) literal ::= TIMESTAMP NK_STRING */ + 353, /* (414) literal ::= duration_literal */ + 353, /* (415) literal ::= NULL */ + 353, /* (416) literal ::= NK_QUESTION */ + 406, /* (417) duration_literal ::= NK_VARIABLE */ + 382, /* (418) signed ::= NK_INTEGER */ + 382, /* (419) signed ::= NK_PLUS NK_INTEGER */ + 382, /* (420) signed ::= NK_MINUS NK_INTEGER */ + 382, /* (421) signed ::= NK_FLOAT */ + 382, /* (422) signed ::= NK_PLUS NK_FLOAT */ + 382, /* (423) signed ::= NK_MINUS NK_FLOAT */ + 396, /* (424) signed_literal ::= signed */ + 396, /* (425) signed_literal ::= NK_STRING */ + 396, /* (426) signed_literal ::= NK_BOOL */ + 396, /* (427) signed_literal ::= TIMESTAMP NK_STRING */ + 396, /* (428) signed_literal ::= duration_literal */ + 396, /* (429) signed_literal ::= NULL */ + 396, /* (430) signed_literal ::= literal_func */ + 396, /* (431) signed_literal ::= NK_QUESTION */ + 451, /* (432) literal_list ::= signed_literal */ + 451, /* (433) literal_list ::= literal_list NK_COMMA signed_literal */ + 365, /* (434) db_name ::= NK_ID */ + 366, /* (435) table_name ::= NK_ID */ + 394, /* (436) column_name ::= NK_ID */ + 408, /* (437) function_name ::= NK_ID */ + 440, /* (438) view_name ::= NK_ID */ + 452, /* (439) table_alias ::= NK_ID */ + 419, /* (440) column_alias ::= NK_ID */ + 419, /* (441) column_alias ::= NK_ALIAS */ + 358, /* (442) user_name ::= NK_ID */ + 367, /* (443) topic_name ::= NK_ID */ + 441, /* (444) stream_name ::= NK_ID */ + 431, /* (445) cgroup_name ::= NK_ID */ + 422, /* (446) index_name ::= NK_ID */ + 453, /* (447) expr_or_subquery ::= expression */ + 447, /* (448) expression ::= literal */ + 447, /* (449) expression ::= pseudo_column */ + 447, /* (450) expression ::= column_reference */ + 447, /* (451) expression ::= function_expression */ + 447, /* (452) expression ::= case_when_expression */ + 447, /* (453) expression ::= NK_LP expression NK_RP */ + 447, /* (454) expression ::= NK_PLUS expr_or_subquery */ + 447, /* (455) expression ::= NK_MINUS expr_or_subquery */ + 447, /* (456) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + 447, /* (457) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + 447, /* (458) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + 447, /* (459) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + 447, /* (460) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + 447, /* (461) expression ::= column_reference NK_ARROW NK_STRING */ + 447, /* (462) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + 447, /* (463) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + 399, /* (464) expression_list ::= expr_or_subquery */ + 399, /* (465) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + 455, /* (466) column_reference ::= column_name */ + 455, /* (467) column_reference ::= table_name NK_DOT column_name */ + 455, /* (468) column_reference ::= NK_ALIAS */ + 455, /* (469) column_reference ::= table_name NK_DOT NK_ALIAS */ + 454, /* (470) pseudo_column ::= ROWTS */ + 454, /* (471) pseudo_column ::= TBNAME */ + 454, /* (472) pseudo_column ::= table_name NK_DOT TBNAME */ + 454, /* (473) pseudo_column ::= QSTART */ + 454, /* (474) pseudo_column ::= QEND */ + 454, /* (475) pseudo_column ::= QDURATION */ + 454, /* (476) pseudo_column ::= WSTART */ + 454, /* (477) pseudo_column ::= WEND */ + 454, /* (478) pseudo_column ::= WDURATION */ + 454, /* (479) pseudo_column ::= IROWTS */ + 454, /* (480) pseudo_column ::= ISFILLED */ + 454, /* (481) pseudo_column ::= QTAGS */ + 456, /* (482) function_expression ::= function_name NK_LP expression_list NK_RP */ + 456, /* (483) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + 456, /* (484) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + 456, /* (485) function_expression ::= literal_func */ + 450, /* (486) literal_func ::= noarg_func NK_LP NK_RP */ + 450, /* (487) literal_func ::= NOW */ + 460, /* (488) noarg_func ::= NOW */ + 460, /* (489) noarg_func ::= TODAY */ + 460, /* (490) noarg_func ::= TIMEZONE */ + 460, /* (491) noarg_func ::= DATABASE */ + 460, /* (492) noarg_func ::= CLIENT_VERSION */ + 460, /* (493) noarg_func ::= SERVER_VERSION */ + 460, /* (494) noarg_func ::= SERVER_STATUS */ + 460, /* (495) noarg_func ::= CURRENT_USER */ + 460, /* (496) noarg_func ::= USER */ + 458, /* (497) star_func ::= COUNT */ + 458, /* (498) star_func ::= FIRST */ + 458, /* (499) star_func ::= LAST */ + 458, /* (500) star_func ::= LAST_ROW */ + 459, /* (501) star_func_para_list ::= NK_STAR */ + 459, /* (502) star_func_para_list ::= other_para_list */ + 461, /* (503) other_para_list ::= star_func_para */ + 461, /* (504) other_para_list ::= other_para_list NK_COMMA star_func_para */ + 462, /* (505) star_func_para ::= expr_or_subquery */ + 462, /* (506) star_func_para ::= table_name NK_DOT NK_STAR */ + 457, /* (507) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + 457, /* (508) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + 463, /* (509) when_then_list ::= when_then_expr */ + 463, /* (510) when_then_list ::= when_then_list when_then_expr */ + 466, /* (511) when_then_expr ::= WHEN common_expression THEN common_expression */ + 464, /* (512) case_when_else_opt ::= */ + 464, /* (513) case_when_else_opt ::= ELSE common_expression */ + 467, /* (514) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + 467, /* (515) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + 467, /* (516) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + 467, /* (517) predicate ::= expr_or_subquery IS NULL */ + 467, /* (518) predicate ::= expr_or_subquery IS NOT NULL */ + 467, /* (519) predicate ::= expr_or_subquery in_op in_predicate_value */ + 468, /* (520) compare_op ::= NK_LT */ + 468, /* (521) compare_op ::= NK_GT */ + 468, /* (522) compare_op ::= NK_LE */ + 468, /* (523) compare_op ::= NK_GE */ + 468, /* (524) compare_op ::= NK_NE */ + 468, /* (525) compare_op ::= NK_EQ */ + 468, /* (526) compare_op ::= LIKE */ + 468, /* (527) compare_op ::= NOT LIKE */ + 468, /* (528) compare_op ::= MATCH */ + 468, /* (529) compare_op ::= NMATCH */ + 468, /* (530) compare_op ::= CONTAINS */ + 469, /* (531) in_op ::= IN */ + 469, /* (532) in_op ::= NOT IN */ + 470, /* (533) in_predicate_value ::= NK_LP literal_list NK_RP */ + 471, /* (534) boolean_value_expression ::= boolean_primary */ + 471, /* (535) boolean_value_expression ::= NOT boolean_primary */ + 471, /* (536) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + 471, /* (537) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + 472, /* (538) boolean_primary ::= predicate */ + 472, /* (539) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + 465, /* (540) common_expression ::= expr_or_subquery */ + 465, /* (541) common_expression ::= boolean_value_expression */ + 473, /* (542) from_clause_opt ::= */ + 473, /* (543) from_clause_opt ::= FROM table_reference_list */ + 474, /* (544) table_reference_list ::= table_reference */ + 474, /* (545) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + 475, /* (546) table_reference ::= table_primary */ + 475, /* (547) table_reference ::= joined_table */ + 476, /* (548) table_primary ::= table_name alias_opt */ + 476, /* (549) table_primary ::= db_name NK_DOT table_name alias_opt */ + 476, /* (550) table_primary ::= subquery alias_opt */ + 476, /* (551) table_primary ::= parenthesized_joined_table */ + 478, /* (552) alias_opt ::= */ + 478, /* (553) alias_opt ::= table_alias */ + 478, /* (554) alias_opt ::= AS table_alias */ + 480, /* (555) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + 480, /* (556) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + 477, /* (557) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + 481, /* (558) join_type ::= */ + 481, /* (559) join_type ::= INNER */ + 482, /* (560) query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_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 */ + 483, /* (561) hint_list ::= */ + 483, /* (562) hint_list ::= NK_HINT */ + 485, /* (563) tag_mode_opt ::= */ + 485, /* (564) tag_mode_opt ::= TAGS */ + 484, /* (565) set_quantifier_opt ::= */ + 484, /* (566) set_quantifier_opt ::= DISTINCT */ + 484, /* (567) set_quantifier_opt ::= ALL */ + 486, /* (568) select_list ::= select_item */ + 486, /* (569) select_list ::= select_list NK_COMMA select_item */ + 494, /* (570) select_item ::= NK_STAR */ + 494, /* (571) select_item ::= common_expression */ + 494, /* (572) select_item ::= common_expression column_alias */ + 494, /* (573) select_item ::= common_expression AS column_alias */ + 494, /* (574) select_item ::= table_name NK_DOT NK_STAR */ + 430, /* (575) where_clause_opt ::= */ + 430, /* (576) where_clause_opt ::= WHERE search_condition */ + 487, /* (577) partition_by_clause_opt ::= */ + 487, /* (578) partition_by_clause_opt ::= PARTITION BY partition_list */ + 495, /* (579) partition_list ::= partition_item */ + 495, /* (580) partition_list ::= partition_list NK_COMMA partition_item */ + 496, /* (581) partition_item ::= expr_or_subquery */ + 496, /* (582) partition_item ::= expr_or_subquery column_alias */ + 496, /* (583) partition_item ::= expr_or_subquery AS column_alias */ + 491, /* (584) twindow_clause_opt ::= */ + 491, /* (585) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */ + 491, /* (586) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + 491, /* (587) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ + 491, /* (588) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ + 491, /* (589) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 424, /* (590) sliding_opt ::= */ + 424, /* (591) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ + 497, /* (592) interval_sliding_duration_literal ::= NK_VARIABLE */ + 497, /* (593) interval_sliding_duration_literal ::= NK_STRING */ + 497, /* (594) interval_sliding_duration_literal ::= NK_INTEGER */ + 490, /* (595) fill_opt ::= */ + 490, /* (596) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + 490, /* (597) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + 490, /* (598) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + 498, /* (599) fill_mode ::= NONE */ + 498, /* (600) fill_mode ::= PREV */ + 498, /* (601) fill_mode ::= NULL */ + 498, /* (602) fill_mode ::= NULL_F */ + 498, /* (603) fill_mode ::= LINEAR */ + 498, /* (604) fill_mode ::= NEXT */ + 492, /* (605) group_by_clause_opt ::= */ + 492, /* (606) group_by_clause_opt ::= GROUP BY group_by_list */ + 499, /* (607) group_by_list ::= expr_or_subquery */ + 499, /* (608) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 493, /* (609) having_clause_opt ::= */ + 493, /* (610) having_clause_opt ::= HAVING search_condition */ + 488, /* (611) range_opt ::= */ + 488, /* (612) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + 488, /* (613) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 489, /* (614) every_opt ::= */ + 489, /* (615) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + 500, /* (616) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + 501, /* (617) query_simple ::= query_specification */ + 501, /* (618) query_simple ::= union_query_expression */ + 505, /* (619) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + 505, /* (620) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + 506, /* (621) query_simple_or_subquery ::= query_simple */ + 506, /* (622) query_simple_or_subquery ::= subquery */ + 429, /* (623) query_or_subquery ::= query_expression */ + 429, /* (624) query_or_subquery ::= subquery */ + 502, /* (625) order_by_clause_opt ::= */ + 502, /* (626) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 503, /* (627) slimit_clause_opt ::= */ + 503, /* (628) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + 503, /* (629) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + 503, /* (630) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 504, /* (631) limit_clause_opt ::= */ + 504, /* (632) limit_clause_opt ::= LIMIT NK_INTEGER */ + 504, /* (633) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + 504, /* (634) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 479, /* (635) subquery ::= NK_LP query_expression NK_RP */ + 479, /* (636) subquery ::= NK_LP subquery NK_RP */ + 368, /* (637) search_condition ::= common_expression */ + 507, /* (638) sort_specification_list ::= sort_specification */ + 507, /* (639) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + 508, /* (640) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 509, /* (641) ordering_specification_opt ::= */ + 509, /* (642) ordering_specification_opt ::= ASC */ + 509, /* (643) ordering_specification_opt ::= DESC */ + 510, /* (644) null_ordering_opt ::= */ + 510, /* (645) null_ordering_opt ::= NULLS FIRST */ + 510, /* (646) null_ordering_opt ::= NULLS LAST */ }; /* For rule J, yyRuleInfoNRhs[J] contains the negative of the number @@ -4277,388 +4271,389 @@ static const signed char yyRuleInfoNRhs[] = { -2, /* (261) cmd ::= SHOW GRANTS */ -3, /* (262) cmd ::= SHOW GRANTS FULL */ -3, /* (263) cmd ::= SHOW GRANTS LOG */ - -4, /* (264) cmd ::= SHOW CREATE DATABASE db_name */ - -4, /* (265) cmd ::= SHOW CREATE TABLE full_table_name */ - -4, /* (266) cmd ::= SHOW CREATE STABLE full_table_name */ - -2, /* (267) cmd ::= SHOW QUERIES */ - -2, /* (268) cmd ::= SHOW SCORES */ - -2, /* (269) cmd ::= SHOW TOPICS */ - -2, /* (270) cmd ::= SHOW VARIABLES */ - -3, /* (271) cmd ::= SHOW CLUSTER VARIABLES */ - -3, /* (272) cmd ::= SHOW LOCAL VARIABLES */ - -5, /* (273) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - -2, /* (274) cmd ::= SHOW BNODES */ - -2, /* (275) cmd ::= SHOW SNODES */ - -2, /* (276) cmd ::= SHOW CLUSTER */ - -2, /* (277) cmd ::= SHOW TRANSACTIONS */ - -4, /* (278) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - -2, /* (279) cmd ::= SHOW CONSUMERS */ - -2, /* (280) cmd ::= SHOW SUBSCRIPTIONS */ - -5, /* (281) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - -6, /* (282) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ - -7, /* (283) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - -8, /* (284) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ - -5, /* (285) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ - -2, /* (286) cmd ::= SHOW VNODES */ - -3, /* (287) cmd ::= SHOW db_name_cond_opt ALIVE */ - -3, /* (288) cmd ::= SHOW CLUSTER ALIVE */ - -3, /* (289) cmd ::= SHOW db_name_cond_opt VIEWS */ - -4, /* (290) cmd ::= SHOW CREATE VIEW full_table_name */ - -2, /* (291) cmd ::= SHOW COMPACTS */ - -3, /* (292) cmd ::= SHOW COMPACT NK_INTEGER */ - 0, /* (293) table_kind_db_name_cond_opt ::= */ - -1, /* (294) table_kind_db_name_cond_opt ::= table_kind */ - -2, /* (295) table_kind_db_name_cond_opt ::= db_name NK_DOT */ - -3, /* (296) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */ - -1, /* (297) table_kind ::= NORMAL */ - -1, /* (298) table_kind ::= CHILD */ - 0, /* (299) db_name_cond_opt ::= */ - -2, /* (300) db_name_cond_opt ::= db_name NK_DOT */ - 0, /* (301) like_pattern_opt ::= */ - -2, /* (302) like_pattern_opt ::= LIKE NK_STRING */ - -1, /* (303) table_name_cond ::= table_name */ - 0, /* (304) from_db_opt ::= */ - -2, /* (305) from_db_opt ::= FROM db_name */ - 0, /* (306) tag_list_opt ::= */ - -1, /* (307) tag_list_opt ::= tag_item */ - -3, /* (308) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - -1, /* (309) tag_item ::= TBNAME */ - -1, /* (310) tag_item ::= QTAGS */ - -1, /* (311) tag_item ::= column_name */ - -2, /* (312) tag_item ::= column_name column_alias */ - -3, /* (313) tag_item ::= column_name AS column_alias */ - 0, /* (314) db_kind_opt ::= */ - -1, /* (315) db_kind_opt ::= USER */ - -1, /* (316) db_kind_opt ::= SYSTEM */ - -8, /* (317) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ - -9, /* (318) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ - -4, /* (319) cmd ::= DROP INDEX exists_opt full_index_name */ - -1, /* (320) full_index_name ::= index_name */ - -3, /* (321) full_index_name ::= db_name NK_DOT index_name */ - -10, /* (322) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - -12, /* (323) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ - -1, /* (324) func_list ::= func */ - -3, /* (325) func_list ::= func_list NK_COMMA func */ - -4, /* (326) func ::= sma_func_name NK_LP expression_list NK_RP */ - -1, /* (327) sma_func_name ::= function_name */ - -1, /* (328) sma_func_name ::= COUNT */ - -1, /* (329) sma_func_name ::= FIRST */ - -1, /* (330) sma_func_name ::= LAST */ - -1, /* (331) sma_func_name ::= LAST_ROW */ - 0, /* (332) sma_stream_opt ::= */ - -3, /* (333) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - -3, /* (334) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - -3, /* (335) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - -1, /* (336) with_meta ::= AS */ - -3, /* (337) with_meta ::= WITH META AS */ - -3, /* (338) with_meta ::= ONLY META AS */ - -6, /* (339) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - -7, /* (340) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - -8, /* (341) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - -4, /* (342) cmd ::= DROP TOPIC exists_opt topic_name */ - -7, /* (343) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - -2, /* (344) cmd ::= DESC full_table_name */ - -2, /* (345) cmd ::= DESCRIBE full_table_name */ - -3, /* (346) cmd ::= RESET QUERY CACHE */ - -4, /* (347) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - -4, /* (348) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 0, /* (349) analyze_opt ::= */ - -1, /* (350) analyze_opt ::= ANALYZE */ - 0, /* (351) explain_options ::= */ - -3, /* (352) explain_options ::= explain_options VERBOSE NK_BOOL */ - -3, /* (353) explain_options ::= explain_options RATIO NK_FLOAT */ - -12, /* (354) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - -4, /* (355) cmd ::= DROP FUNCTION exists_opt function_name */ - 0, /* (356) agg_func_opt ::= */ - -1, /* (357) agg_func_opt ::= AGGREGATE */ - 0, /* (358) bufsize_opt ::= */ - -2, /* (359) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 0, /* (360) language_opt ::= */ - -2, /* (361) language_opt ::= LANGUAGE NK_STRING */ - 0, /* (362) or_replace_opt ::= */ - -2, /* (363) or_replace_opt ::= OR REPLACE */ - -6, /* (364) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ - -4, /* (365) cmd ::= DROP VIEW exists_opt full_view_name */ - -1, /* (366) full_view_name ::= view_name */ - -3, /* (367) full_view_name ::= db_name NK_DOT view_name */ - -12, /* (368) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - -4, /* (369) cmd ::= DROP STREAM exists_opt stream_name */ - -4, /* (370) cmd ::= PAUSE STREAM exists_opt stream_name */ - -5, /* (371) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 0, /* (372) col_list_opt ::= */ - -3, /* (373) col_list_opt ::= NK_LP col_name_list NK_RP */ - 0, /* (374) tag_def_or_ref_opt ::= */ - -1, /* (375) tag_def_or_ref_opt ::= tags_def */ - -4, /* (376) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 0, /* (377) stream_options ::= */ - -3, /* (378) stream_options ::= stream_options TRIGGER AT_ONCE */ - -3, /* (379) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - -4, /* (380) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - -3, /* (381) stream_options ::= stream_options WATERMARK duration_literal */ - -4, /* (382) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - -3, /* (383) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - -3, /* (384) stream_options ::= stream_options DELETE_MARK duration_literal */ - -4, /* (385) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 0, /* (386) subtable_opt ::= */ - -4, /* (387) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 0, /* (388) ignore_opt ::= */ - -2, /* (389) ignore_opt ::= IGNORE UNTREATED */ - -3, /* (390) cmd ::= KILL CONNECTION NK_INTEGER */ - -3, /* (391) cmd ::= KILL QUERY NK_STRING */ - -3, /* (392) cmd ::= KILL TRANSACTION NK_INTEGER */ - -3, /* (393) cmd ::= KILL COMPACT NK_INTEGER */ - -2, /* (394) cmd ::= BALANCE VGROUP */ - -4, /* (395) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ - -4, /* (396) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - -4, /* (397) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - -3, /* (398) cmd ::= SPLIT VGROUP NK_INTEGER */ - 0, /* (399) on_vgroup_id ::= */ - -2, /* (400) on_vgroup_id ::= ON NK_INTEGER */ - -2, /* (401) dnode_list ::= DNODE NK_INTEGER */ - -3, /* (402) dnode_list ::= dnode_list DNODE NK_INTEGER */ - -4, /* (403) cmd ::= DELETE FROM full_table_name where_clause_opt */ - -1, /* (404) cmd ::= query_or_subquery */ - -1, /* (405) cmd ::= insert_query */ - -7, /* (406) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - -4, /* (407) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - -1, /* (408) literal ::= NK_INTEGER */ - -1, /* (409) literal ::= NK_FLOAT */ - -1, /* (410) literal ::= NK_STRING */ - -1, /* (411) literal ::= NK_BOOL */ - -2, /* (412) literal ::= TIMESTAMP NK_STRING */ - -1, /* (413) literal ::= duration_literal */ - -1, /* (414) literal ::= NULL */ - -1, /* (415) literal ::= NK_QUESTION */ - -1, /* (416) duration_literal ::= NK_VARIABLE */ - -1, /* (417) signed ::= NK_INTEGER */ - -2, /* (418) signed ::= NK_PLUS NK_INTEGER */ - -2, /* (419) signed ::= NK_MINUS NK_INTEGER */ - -1, /* (420) signed ::= NK_FLOAT */ - -2, /* (421) signed ::= NK_PLUS NK_FLOAT */ - -2, /* (422) signed ::= NK_MINUS NK_FLOAT */ - -1, /* (423) signed_literal ::= signed */ - -1, /* (424) signed_literal ::= NK_STRING */ - -1, /* (425) signed_literal ::= NK_BOOL */ - -2, /* (426) signed_literal ::= TIMESTAMP NK_STRING */ - -1, /* (427) signed_literal ::= duration_literal */ - -1, /* (428) signed_literal ::= NULL */ - -1, /* (429) signed_literal ::= literal_func */ - -1, /* (430) signed_literal ::= NK_QUESTION */ - -1, /* (431) literal_list ::= signed_literal */ - -3, /* (432) literal_list ::= literal_list NK_COMMA signed_literal */ - -1, /* (433) db_name ::= NK_ID */ - -1, /* (434) table_name ::= NK_ID */ - -1, /* (435) column_name ::= NK_ID */ - -1, /* (436) function_name ::= NK_ID */ - -1, /* (437) view_name ::= NK_ID */ - -1, /* (438) table_alias ::= NK_ID */ - -1, /* (439) column_alias ::= NK_ID */ - -1, /* (440) column_alias ::= NK_ALIAS */ - -1, /* (441) user_name ::= NK_ID */ - -1, /* (442) topic_name ::= NK_ID */ - -1, /* (443) stream_name ::= NK_ID */ - -1, /* (444) cgroup_name ::= NK_ID */ - -1, /* (445) index_name ::= NK_ID */ - -1, /* (446) expr_or_subquery ::= expression */ - -1, /* (447) expression ::= literal */ - -1, /* (448) expression ::= pseudo_column */ - -1, /* (449) expression ::= column_reference */ - -1, /* (450) expression ::= function_expression */ - -1, /* (451) expression ::= case_when_expression */ - -3, /* (452) expression ::= NK_LP expression NK_RP */ - -2, /* (453) expression ::= NK_PLUS expr_or_subquery */ - -2, /* (454) expression ::= NK_MINUS expr_or_subquery */ - -3, /* (455) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - -3, /* (456) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - -3, /* (457) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - -3, /* (458) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - -3, /* (459) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - -3, /* (460) expression ::= column_reference NK_ARROW NK_STRING */ - -3, /* (461) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - -3, /* (462) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - -1, /* (463) expression_list ::= expr_or_subquery */ - -3, /* (464) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - -1, /* (465) column_reference ::= column_name */ - -3, /* (466) column_reference ::= table_name NK_DOT column_name */ - -1, /* (467) column_reference ::= NK_ALIAS */ - -3, /* (468) column_reference ::= table_name NK_DOT NK_ALIAS */ - -1, /* (469) pseudo_column ::= ROWTS */ - -1, /* (470) pseudo_column ::= TBNAME */ - -3, /* (471) pseudo_column ::= table_name NK_DOT TBNAME */ - -1, /* (472) pseudo_column ::= QSTART */ - -1, /* (473) pseudo_column ::= QEND */ - -1, /* (474) pseudo_column ::= QDURATION */ - -1, /* (475) pseudo_column ::= WSTART */ - -1, /* (476) pseudo_column ::= WEND */ - -1, /* (477) pseudo_column ::= WDURATION */ - -1, /* (478) pseudo_column ::= IROWTS */ - -1, /* (479) pseudo_column ::= ISFILLED */ - -1, /* (480) pseudo_column ::= QTAGS */ - -4, /* (481) function_expression ::= function_name NK_LP expression_list NK_RP */ - -4, /* (482) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - -6, /* (483) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - -1, /* (484) function_expression ::= literal_func */ - -3, /* (485) literal_func ::= noarg_func NK_LP NK_RP */ - -1, /* (486) literal_func ::= NOW */ - -1, /* (487) noarg_func ::= NOW */ - -1, /* (488) noarg_func ::= TODAY */ - -1, /* (489) noarg_func ::= TIMEZONE */ - -1, /* (490) noarg_func ::= DATABASE */ - -1, /* (491) noarg_func ::= CLIENT_VERSION */ - -1, /* (492) noarg_func ::= SERVER_VERSION */ - -1, /* (493) noarg_func ::= SERVER_STATUS */ - -1, /* (494) noarg_func ::= CURRENT_USER */ - -1, /* (495) noarg_func ::= USER */ - -1, /* (496) star_func ::= COUNT */ - -1, /* (497) star_func ::= FIRST */ - -1, /* (498) star_func ::= LAST */ - -1, /* (499) star_func ::= LAST_ROW */ - -1, /* (500) star_func_para_list ::= NK_STAR */ - -1, /* (501) star_func_para_list ::= other_para_list */ - -1, /* (502) other_para_list ::= star_func_para */ - -3, /* (503) other_para_list ::= other_para_list NK_COMMA star_func_para */ - -1, /* (504) star_func_para ::= expr_or_subquery */ - -3, /* (505) star_func_para ::= table_name NK_DOT NK_STAR */ - -4, /* (506) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - -5, /* (507) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - -1, /* (508) when_then_list ::= when_then_expr */ - -2, /* (509) when_then_list ::= when_then_list when_then_expr */ - -4, /* (510) when_then_expr ::= WHEN common_expression THEN common_expression */ - 0, /* (511) case_when_else_opt ::= */ - -2, /* (512) case_when_else_opt ::= ELSE common_expression */ - -3, /* (513) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - -5, /* (514) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - -6, /* (515) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - -3, /* (516) predicate ::= expr_or_subquery IS NULL */ - -4, /* (517) predicate ::= expr_or_subquery IS NOT NULL */ - -3, /* (518) predicate ::= expr_or_subquery in_op in_predicate_value */ - -1, /* (519) compare_op ::= NK_LT */ - -1, /* (520) compare_op ::= NK_GT */ - -1, /* (521) compare_op ::= NK_LE */ - -1, /* (522) compare_op ::= NK_GE */ - -1, /* (523) compare_op ::= NK_NE */ - -1, /* (524) compare_op ::= NK_EQ */ - -1, /* (525) compare_op ::= LIKE */ - -2, /* (526) compare_op ::= NOT LIKE */ - -1, /* (527) compare_op ::= MATCH */ - -1, /* (528) compare_op ::= NMATCH */ - -1, /* (529) compare_op ::= CONTAINS */ - -1, /* (530) in_op ::= IN */ - -2, /* (531) in_op ::= NOT IN */ - -3, /* (532) in_predicate_value ::= NK_LP literal_list NK_RP */ - -1, /* (533) boolean_value_expression ::= boolean_primary */ - -2, /* (534) boolean_value_expression ::= NOT boolean_primary */ - -3, /* (535) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - -3, /* (536) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - -1, /* (537) boolean_primary ::= predicate */ - -3, /* (538) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - -1, /* (539) common_expression ::= expr_or_subquery */ - -1, /* (540) common_expression ::= boolean_value_expression */ - 0, /* (541) from_clause_opt ::= */ - -2, /* (542) from_clause_opt ::= FROM table_reference_list */ - -1, /* (543) table_reference_list ::= table_reference */ - -3, /* (544) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - -1, /* (545) table_reference ::= table_primary */ - -1, /* (546) table_reference ::= joined_table */ - -2, /* (547) table_primary ::= table_name alias_opt */ - -4, /* (548) table_primary ::= db_name NK_DOT table_name alias_opt */ - -2, /* (549) table_primary ::= subquery alias_opt */ - -1, /* (550) table_primary ::= parenthesized_joined_table */ - 0, /* (551) alias_opt ::= */ - -1, /* (552) alias_opt ::= table_alias */ - -2, /* (553) alias_opt ::= AS table_alias */ - -3, /* (554) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - -3, /* (555) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - -6, /* (556) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 0, /* (557) join_type ::= */ - -1, /* (558) join_type ::= INNER */ - -14, /* (559) query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ - 0, /* (560) hint_list ::= */ - -1, /* (561) hint_list ::= NK_HINT */ - 0, /* (562) tag_mode_opt ::= */ - -1, /* (563) tag_mode_opt ::= TAGS */ - 0, /* (564) set_quantifier_opt ::= */ - -1, /* (565) set_quantifier_opt ::= DISTINCT */ - -1, /* (566) set_quantifier_opt ::= ALL */ - -1, /* (567) select_list ::= select_item */ - -3, /* (568) select_list ::= select_list NK_COMMA select_item */ - -1, /* (569) select_item ::= NK_STAR */ - -1, /* (570) select_item ::= common_expression */ - -2, /* (571) select_item ::= common_expression column_alias */ - -3, /* (572) select_item ::= common_expression AS column_alias */ - -3, /* (573) select_item ::= table_name NK_DOT NK_STAR */ - 0, /* (574) where_clause_opt ::= */ - -2, /* (575) where_clause_opt ::= WHERE search_condition */ - 0, /* (576) partition_by_clause_opt ::= */ - -3, /* (577) partition_by_clause_opt ::= PARTITION BY partition_list */ - -1, /* (578) partition_list ::= partition_item */ - -3, /* (579) partition_list ::= partition_list NK_COMMA partition_item */ - -1, /* (580) partition_item ::= expr_or_subquery */ - -2, /* (581) partition_item ::= expr_or_subquery column_alias */ - -3, /* (582) partition_item ::= expr_or_subquery AS column_alias */ - 0, /* (583) twindow_clause_opt ::= */ - -6, /* (584) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */ - -4, /* (585) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - -6, /* (586) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ - -8, /* (587) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ - -7, /* (588) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 0, /* (589) sliding_opt ::= */ - -4, /* (590) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ - -1, /* (591) interval_sliding_duration_literal ::= NK_VARIABLE */ - -1, /* (592) interval_sliding_duration_literal ::= NK_STRING */ - -1, /* (593) interval_sliding_duration_literal ::= NK_INTEGER */ - 0, /* (594) fill_opt ::= */ - -4, /* (595) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - -6, /* (596) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - -6, /* (597) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - -1, /* (598) fill_mode ::= NONE */ - -1, /* (599) fill_mode ::= PREV */ - -1, /* (600) fill_mode ::= NULL */ - -1, /* (601) fill_mode ::= NULL_F */ - -1, /* (602) fill_mode ::= LINEAR */ - -1, /* (603) fill_mode ::= NEXT */ - 0, /* (604) group_by_clause_opt ::= */ - -3, /* (605) group_by_clause_opt ::= GROUP BY group_by_list */ - -1, /* (606) group_by_list ::= expr_or_subquery */ - -3, /* (607) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 0, /* (608) having_clause_opt ::= */ - -2, /* (609) having_clause_opt ::= HAVING search_condition */ - 0, /* (610) range_opt ::= */ - -6, /* (611) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - -4, /* (612) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 0, /* (613) every_opt ::= */ - -4, /* (614) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - -4, /* (615) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - -1, /* (616) query_simple ::= query_specification */ - -1, /* (617) query_simple ::= union_query_expression */ - -4, /* (618) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - -3, /* (619) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - -1, /* (620) query_simple_or_subquery ::= query_simple */ - -1, /* (621) query_simple_or_subquery ::= subquery */ - -1, /* (622) query_or_subquery ::= query_expression */ - -1, /* (623) query_or_subquery ::= subquery */ - 0, /* (624) order_by_clause_opt ::= */ - -3, /* (625) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 0, /* (626) slimit_clause_opt ::= */ - -2, /* (627) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - -4, /* (628) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - -4, /* (629) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 0, /* (630) limit_clause_opt ::= */ - -2, /* (631) limit_clause_opt ::= LIMIT NK_INTEGER */ - -4, /* (632) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - -4, /* (633) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - -3, /* (634) subquery ::= NK_LP query_expression NK_RP */ - -3, /* (635) subquery ::= NK_LP subquery NK_RP */ - -1, /* (636) search_condition ::= common_expression */ - -1, /* (637) sort_specification_list ::= sort_specification */ - -3, /* (638) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - -3, /* (639) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 0, /* (640) ordering_specification_opt ::= */ - -1, /* (641) ordering_specification_opt ::= ASC */ - -1, /* (642) ordering_specification_opt ::= DESC */ - 0, /* (643) null_ordering_opt ::= */ - -2, /* (644) null_ordering_opt ::= NULLS FIRST */ - -2, /* (645) null_ordering_opt ::= NULLS LAST */ + -3, /* (264) cmd ::= SHOW CLUSTER MACHINES */ + -4, /* (265) cmd ::= SHOW CREATE DATABASE db_name */ + -4, /* (266) cmd ::= SHOW CREATE TABLE full_table_name */ + -4, /* (267) cmd ::= SHOW CREATE STABLE full_table_name */ + -2, /* (268) cmd ::= SHOW QUERIES */ + -2, /* (269) cmd ::= SHOW SCORES */ + -2, /* (270) cmd ::= SHOW TOPICS */ + -2, /* (271) cmd ::= SHOW VARIABLES */ + -3, /* (272) cmd ::= SHOW CLUSTER VARIABLES */ + -3, /* (273) cmd ::= SHOW LOCAL VARIABLES */ + -5, /* (274) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + -2, /* (275) cmd ::= SHOW BNODES */ + -2, /* (276) cmd ::= SHOW SNODES */ + -2, /* (277) cmd ::= SHOW CLUSTER */ + -2, /* (278) cmd ::= SHOW TRANSACTIONS */ + -4, /* (279) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + -2, /* (280) cmd ::= SHOW CONSUMERS */ + -2, /* (281) cmd ::= SHOW SUBSCRIPTIONS */ + -5, /* (282) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + -6, /* (283) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ + -7, /* (284) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + -8, /* (285) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ + -5, /* (286) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ + -2, /* (287) cmd ::= SHOW VNODES */ + -3, /* (288) cmd ::= SHOW db_name_cond_opt ALIVE */ + -3, /* (289) cmd ::= SHOW CLUSTER ALIVE */ + -3, /* (290) cmd ::= SHOW db_name_cond_opt VIEWS */ + -4, /* (291) cmd ::= SHOW CREATE VIEW full_table_name */ + -2, /* (292) cmd ::= SHOW COMPACTS */ + -3, /* (293) cmd ::= SHOW COMPACT NK_INTEGER */ + 0, /* (294) table_kind_db_name_cond_opt ::= */ + -1, /* (295) table_kind_db_name_cond_opt ::= table_kind */ + -2, /* (296) table_kind_db_name_cond_opt ::= db_name NK_DOT */ + -3, /* (297) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */ + -1, /* (298) table_kind ::= NORMAL */ + -1, /* (299) table_kind ::= CHILD */ + 0, /* (300) db_name_cond_opt ::= */ + -2, /* (301) db_name_cond_opt ::= db_name NK_DOT */ + 0, /* (302) like_pattern_opt ::= */ + -2, /* (303) like_pattern_opt ::= LIKE NK_STRING */ + -1, /* (304) table_name_cond ::= table_name */ + 0, /* (305) from_db_opt ::= */ + -2, /* (306) from_db_opt ::= FROM db_name */ + 0, /* (307) tag_list_opt ::= */ + -1, /* (308) tag_list_opt ::= tag_item */ + -3, /* (309) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + -1, /* (310) tag_item ::= TBNAME */ + -1, /* (311) tag_item ::= QTAGS */ + -1, /* (312) tag_item ::= column_name */ + -2, /* (313) tag_item ::= column_name column_alias */ + -3, /* (314) tag_item ::= column_name AS column_alias */ + 0, /* (315) db_kind_opt ::= */ + -1, /* (316) db_kind_opt ::= USER */ + -1, /* (317) db_kind_opt ::= SYSTEM */ + -8, /* (318) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ + -9, /* (319) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ + -4, /* (320) cmd ::= DROP INDEX exists_opt full_index_name */ + -1, /* (321) full_index_name ::= index_name */ + -3, /* (322) full_index_name ::= db_name NK_DOT index_name */ + -10, /* (323) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + -12, /* (324) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ + -1, /* (325) func_list ::= func */ + -3, /* (326) func_list ::= func_list NK_COMMA func */ + -4, /* (327) func ::= sma_func_name NK_LP expression_list NK_RP */ + -1, /* (328) sma_func_name ::= function_name */ + -1, /* (329) sma_func_name ::= COUNT */ + -1, /* (330) sma_func_name ::= FIRST */ + -1, /* (331) sma_func_name ::= LAST */ + -1, /* (332) sma_func_name ::= LAST_ROW */ + 0, /* (333) sma_stream_opt ::= */ + -3, /* (334) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + -3, /* (335) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + -3, /* (336) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + -1, /* (337) with_meta ::= AS */ + -3, /* (338) with_meta ::= WITH META AS */ + -3, /* (339) with_meta ::= ONLY META AS */ + -6, /* (340) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + -7, /* (341) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + -8, /* (342) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + -4, /* (343) cmd ::= DROP TOPIC exists_opt topic_name */ + -7, /* (344) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + -2, /* (345) cmd ::= DESC full_table_name */ + -2, /* (346) cmd ::= DESCRIBE full_table_name */ + -3, /* (347) cmd ::= RESET QUERY CACHE */ + -4, /* (348) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + -4, /* (349) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + 0, /* (350) analyze_opt ::= */ + -1, /* (351) analyze_opt ::= ANALYZE */ + 0, /* (352) explain_options ::= */ + -3, /* (353) explain_options ::= explain_options VERBOSE NK_BOOL */ + -3, /* (354) explain_options ::= explain_options RATIO NK_FLOAT */ + -12, /* (355) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + -4, /* (356) cmd ::= DROP FUNCTION exists_opt function_name */ + 0, /* (357) agg_func_opt ::= */ + -1, /* (358) agg_func_opt ::= AGGREGATE */ + 0, /* (359) bufsize_opt ::= */ + -2, /* (360) bufsize_opt ::= BUFSIZE NK_INTEGER */ + 0, /* (361) language_opt ::= */ + -2, /* (362) language_opt ::= LANGUAGE NK_STRING */ + 0, /* (363) or_replace_opt ::= */ + -2, /* (364) or_replace_opt ::= OR REPLACE */ + -6, /* (365) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ + -4, /* (366) cmd ::= DROP VIEW exists_opt full_view_name */ + -1, /* (367) full_view_name ::= view_name */ + -3, /* (368) full_view_name ::= db_name NK_DOT view_name */ + -12, /* (369) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + -4, /* (370) cmd ::= DROP STREAM exists_opt stream_name */ + -4, /* (371) cmd ::= PAUSE STREAM exists_opt stream_name */ + -5, /* (372) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + 0, /* (373) col_list_opt ::= */ + -3, /* (374) col_list_opt ::= NK_LP col_name_list NK_RP */ + 0, /* (375) tag_def_or_ref_opt ::= */ + -1, /* (376) tag_def_or_ref_opt ::= tags_def */ + -4, /* (377) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + 0, /* (378) stream_options ::= */ + -3, /* (379) stream_options ::= stream_options TRIGGER AT_ONCE */ + -3, /* (380) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + -4, /* (381) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + -3, /* (382) stream_options ::= stream_options WATERMARK duration_literal */ + -4, /* (383) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + -3, /* (384) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + -3, /* (385) stream_options ::= stream_options DELETE_MARK duration_literal */ + -4, /* (386) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + 0, /* (387) subtable_opt ::= */ + -4, /* (388) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + 0, /* (389) ignore_opt ::= */ + -2, /* (390) ignore_opt ::= IGNORE UNTREATED */ + -3, /* (391) cmd ::= KILL CONNECTION NK_INTEGER */ + -3, /* (392) cmd ::= KILL QUERY NK_STRING */ + -3, /* (393) cmd ::= KILL TRANSACTION NK_INTEGER */ + -3, /* (394) cmd ::= KILL COMPACT NK_INTEGER */ + -2, /* (395) cmd ::= BALANCE VGROUP */ + -4, /* (396) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ + -4, /* (397) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + -4, /* (398) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + -3, /* (399) cmd ::= SPLIT VGROUP NK_INTEGER */ + 0, /* (400) on_vgroup_id ::= */ + -2, /* (401) on_vgroup_id ::= ON NK_INTEGER */ + -2, /* (402) dnode_list ::= DNODE NK_INTEGER */ + -3, /* (403) dnode_list ::= dnode_list DNODE NK_INTEGER */ + -4, /* (404) cmd ::= DELETE FROM full_table_name where_clause_opt */ + -1, /* (405) cmd ::= query_or_subquery */ + -1, /* (406) cmd ::= insert_query */ + -7, /* (407) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + -4, /* (408) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + -1, /* (409) literal ::= NK_INTEGER */ + -1, /* (410) literal ::= NK_FLOAT */ + -1, /* (411) literal ::= NK_STRING */ + -1, /* (412) literal ::= NK_BOOL */ + -2, /* (413) literal ::= TIMESTAMP NK_STRING */ + -1, /* (414) literal ::= duration_literal */ + -1, /* (415) literal ::= NULL */ + -1, /* (416) literal ::= NK_QUESTION */ + -1, /* (417) duration_literal ::= NK_VARIABLE */ + -1, /* (418) signed ::= NK_INTEGER */ + -2, /* (419) signed ::= NK_PLUS NK_INTEGER */ + -2, /* (420) signed ::= NK_MINUS NK_INTEGER */ + -1, /* (421) signed ::= NK_FLOAT */ + -2, /* (422) signed ::= NK_PLUS NK_FLOAT */ + -2, /* (423) signed ::= NK_MINUS NK_FLOAT */ + -1, /* (424) signed_literal ::= signed */ + -1, /* (425) signed_literal ::= NK_STRING */ + -1, /* (426) signed_literal ::= NK_BOOL */ + -2, /* (427) signed_literal ::= TIMESTAMP NK_STRING */ + -1, /* (428) signed_literal ::= duration_literal */ + -1, /* (429) signed_literal ::= NULL */ + -1, /* (430) signed_literal ::= literal_func */ + -1, /* (431) signed_literal ::= NK_QUESTION */ + -1, /* (432) literal_list ::= signed_literal */ + -3, /* (433) literal_list ::= literal_list NK_COMMA signed_literal */ + -1, /* (434) db_name ::= NK_ID */ + -1, /* (435) table_name ::= NK_ID */ + -1, /* (436) column_name ::= NK_ID */ + -1, /* (437) function_name ::= NK_ID */ + -1, /* (438) view_name ::= NK_ID */ + -1, /* (439) table_alias ::= NK_ID */ + -1, /* (440) column_alias ::= NK_ID */ + -1, /* (441) column_alias ::= NK_ALIAS */ + -1, /* (442) user_name ::= NK_ID */ + -1, /* (443) topic_name ::= NK_ID */ + -1, /* (444) stream_name ::= NK_ID */ + -1, /* (445) cgroup_name ::= NK_ID */ + -1, /* (446) index_name ::= NK_ID */ + -1, /* (447) expr_or_subquery ::= expression */ + -1, /* (448) expression ::= literal */ + -1, /* (449) expression ::= pseudo_column */ + -1, /* (450) expression ::= column_reference */ + -1, /* (451) expression ::= function_expression */ + -1, /* (452) expression ::= case_when_expression */ + -3, /* (453) expression ::= NK_LP expression NK_RP */ + -2, /* (454) expression ::= NK_PLUS expr_or_subquery */ + -2, /* (455) expression ::= NK_MINUS expr_or_subquery */ + -3, /* (456) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + -3, /* (457) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + -3, /* (458) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + -3, /* (459) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + -3, /* (460) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + -3, /* (461) expression ::= column_reference NK_ARROW NK_STRING */ + -3, /* (462) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + -3, /* (463) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + -1, /* (464) expression_list ::= expr_or_subquery */ + -3, /* (465) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + -1, /* (466) column_reference ::= column_name */ + -3, /* (467) column_reference ::= table_name NK_DOT column_name */ + -1, /* (468) column_reference ::= NK_ALIAS */ + -3, /* (469) column_reference ::= table_name NK_DOT NK_ALIAS */ + -1, /* (470) pseudo_column ::= ROWTS */ + -1, /* (471) pseudo_column ::= TBNAME */ + -3, /* (472) pseudo_column ::= table_name NK_DOT TBNAME */ + -1, /* (473) pseudo_column ::= QSTART */ + -1, /* (474) pseudo_column ::= QEND */ + -1, /* (475) pseudo_column ::= QDURATION */ + -1, /* (476) pseudo_column ::= WSTART */ + -1, /* (477) pseudo_column ::= WEND */ + -1, /* (478) pseudo_column ::= WDURATION */ + -1, /* (479) pseudo_column ::= IROWTS */ + -1, /* (480) pseudo_column ::= ISFILLED */ + -1, /* (481) pseudo_column ::= QTAGS */ + -4, /* (482) function_expression ::= function_name NK_LP expression_list NK_RP */ + -4, /* (483) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + -6, /* (484) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + -1, /* (485) function_expression ::= literal_func */ + -3, /* (486) literal_func ::= noarg_func NK_LP NK_RP */ + -1, /* (487) literal_func ::= NOW */ + -1, /* (488) noarg_func ::= NOW */ + -1, /* (489) noarg_func ::= TODAY */ + -1, /* (490) noarg_func ::= TIMEZONE */ + -1, /* (491) noarg_func ::= DATABASE */ + -1, /* (492) noarg_func ::= CLIENT_VERSION */ + -1, /* (493) noarg_func ::= SERVER_VERSION */ + -1, /* (494) noarg_func ::= SERVER_STATUS */ + -1, /* (495) noarg_func ::= CURRENT_USER */ + -1, /* (496) noarg_func ::= USER */ + -1, /* (497) star_func ::= COUNT */ + -1, /* (498) star_func ::= FIRST */ + -1, /* (499) star_func ::= LAST */ + -1, /* (500) star_func ::= LAST_ROW */ + -1, /* (501) star_func_para_list ::= NK_STAR */ + -1, /* (502) star_func_para_list ::= other_para_list */ + -1, /* (503) other_para_list ::= star_func_para */ + -3, /* (504) other_para_list ::= other_para_list NK_COMMA star_func_para */ + -1, /* (505) star_func_para ::= expr_or_subquery */ + -3, /* (506) star_func_para ::= table_name NK_DOT NK_STAR */ + -4, /* (507) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + -5, /* (508) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + -1, /* (509) when_then_list ::= when_then_expr */ + -2, /* (510) when_then_list ::= when_then_list when_then_expr */ + -4, /* (511) when_then_expr ::= WHEN common_expression THEN common_expression */ + 0, /* (512) case_when_else_opt ::= */ + -2, /* (513) case_when_else_opt ::= ELSE common_expression */ + -3, /* (514) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + -5, /* (515) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + -6, /* (516) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + -3, /* (517) predicate ::= expr_or_subquery IS NULL */ + -4, /* (518) predicate ::= expr_or_subquery IS NOT NULL */ + -3, /* (519) predicate ::= expr_or_subquery in_op in_predicate_value */ + -1, /* (520) compare_op ::= NK_LT */ + -1, /* (521) compare_op ::= NK_GT */ + -1, /* (522) compare_op ::= NK_LE */ + -1, /* (523) compare_op ::= NK_GE */ + -1, /* (524) compare_op ::= NK_NE */ + -1, /* (525) compare_op ::= NK_EQ */ + -1, /* (526) compare_op ::= LIKE */ + -2, /* (527) compare_op ::= NOT LIKE */ + -1, /* (528) compare_op ::= MATCH */ + -1, /* (529) compare_op ::= NMATCH */ + -1, /* (530) compare_op ::= CONTAINS */ + -1, /* (531) in_op ::= IN */ + -2, /* (532) in_op ::= NOT IN */ + -3, /* (533) in_predicate_value ::= NK_LP literal_list NK_RP */ + -1, /* (534) boolean_value_expression ::= boolean_primary */ + -2, /* (535) boolean_value_expression ::= NOT boolean_primary */ + -3, /* (536) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + -3, /* (537) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + -1, /* (538) boolean_primary ::= predicate */ + -3, /* (539) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + -1, /* (540) common_expression ::= expr_or_subquery */ + -1, /* (541) common_expression ::= boolean_value_expression */ + 0, /* (542) from_clause_opt ::= */ + -2, /* (543) from_clause_opt ::= FROM table_reference_list */ + -1, /* (544) table_reference_list ::= table_reference */ + -3, /* (545) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + -1, /* (546) table_reference ::= table_primary */ + -1, /* (547) table_reference ::= joined_table */ + -2, /* (548) table_primary ::= table_name alias_opt */ + -4, /* (549) table_primary ::= db_name NK_DOT table_name alias_opt */ + -2, /* (550) table_primary ::= subquery alias_opt */ + -1, /* (551) table_primary ::= parenthesized_joined_table */ + 0, /* (552) alias_opt ::= */ + -1, /* (553) alias_opt ::= table_alias */ + -2, /* (554) alias_opt ::= AS table_alias */ + -3, /* (555) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + -3, /* (556) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + -6, /* (557) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + 0, /* (558) join_type ::= */ + -1, /* (559) join_type ::= INNER */ + -14, /* (560) query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + 0, /* (561) hint_list ::= */ + -1, /* (562) hint_list ::= NK_HINT */ + 0, /* (563) tag_mode_opt ::= */ + -1, /* (564) tag_mode_opt ::= TAGS */ + 0, /* (565) set_quantifier_opt ::= */ + -1, /* (566) set_quantifier_opt ::= DISTINCT */ + -1, /* (567) set_quantifier_opt ::= ALL */ + -1, /* (568) select_list ::= select_item */ + -3, /* (569) select_list ::= select_list NK_COMMA select_item */ + -1, /* (570) select_item ::= NK_STAR */ + -1, /* (571) select_item ::= common_expression */ + -2, /* (572) select_item ::= common_expression column_alias */ + -3, /* (573) select_item ::= common_expression AS column_alias */ + -3, /* (574) select_item ::= table_name NK_DOT NK_STAR */ + 0, /* (575) where_clause_opt ::= */ + -2, /* (576) where_clause_opt ::= WHERE search_condition */ + 0, /* (577) partition_by_clause_opt ::= */ + -3, /* (578) partition_by_clause_opt ::= PARTITION BY partition_list */ + -1, /* (579) partition_list ::= partition_item */ + -3, /* (580) partition_list ::= partition_list NK_COMMA partition_item */ + -1, /* (581) partition_item ::= expr_or_subquery */ + -2, /* (582) partition_item ::= expr_or_subquery column_alias */ + -3, /* (583) partition_item ::= expr_or_subquery AS column_alias */ + 0, /* (584) twindow_clause_opt ::= */ + -6, /* (585) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */ + -4, /* (586) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + -6, /* (587) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ + -8, /* (588) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ + -7, /* (589) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 0, /* (590) sliding_opt ::= */ + -4, /* (591) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ + -1, /* (592) interval_sliding_duration_literal ::= NK_VARIABLE */ + -1, /* (593) interval_sliding_duration_literal ::= NK_STRING */ + -1, /* (594) interval_sliding_duration_literal ::= NK_INTEGER */ + 0, /* (595) fill_opt ::= */ + -4, /* (596) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + -6, /* (597) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + -6, /* (598) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + -1, /* (599) fill_mode ::= NONE */ + -1, /* (600) fill_mode ::= PREV */ + -1, /* (601) fill_mode ::= NULL */ + -1, /* (602) fill_mode ::= NULL_F */ + -1, /* (603) fill_mode ::= LINEAR */ + -1, /* (604) fill_mode ::= NEXT */ + 0, /* (605) group_by_clause_opt ::= */ + -3, /* (606) group_by_clause_opt ::= GROUP BY group_by_list */ + -1, /* (607) group_by_list ::= expr_or_subquery */ + -3, /* (608) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 0, /* (609) having_clause_opt ::= */ + -2, /* (610) having_clause_opt ::= HAVING search_condition */ + 0, /* (611) range_opt ::= */ + -6, /* (612) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + -4, /* (613) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 0, /* (614) every_opt ::= */ + -4, /* (615) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + -4, /* (616) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + -1, /* (617) query_simple ::= query_specification */ + -1, /* (618) query_simple ::= union_query_expression */ + -4, /* (619) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + -3, /* (620) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + -1, /* (621) query_simple_or_subquery ::= query_simple */ + -1, /* (622) query_simple_or_subquery ::= subquery */ + -1, /* (623) query_or_subquery ::= query_expression */ + -1, /* (624) query_or_subquery ::= subquery */ + 0, /* (625) order_by_clause_opt ::= */ + -3, /* (626) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 0, /* (627) slimit_clause_opt ::= */ + -2, /* (628) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + -4, /* (629) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + -4, /* (630) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 0, /* (631) limit_clause_opt ::= */ + -2, /* (632) limit_clause_opt ::= LIMIT NK_INTEGER */ + -4, /* (633) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + -4, /* (634) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + -3, /* (635) subquery ::= NK_LP query_expression NK_RP */ + -3, /* (636) subquery ::= NK_LP subquery NK_RP */ + -1, /* (637) search_condition ::= common_expression */ + -1, /* (638) sort_specification_list ::= sort_specification */ + -3, /* (639) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + -3, /* (640) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 0, /* (641) ordering_specification_opt ::= */ + -1, /* (642) ordering_specification_opt ::= ASC */ + -1, /* (643) ordering_specification_opt ::= DESC */ + 0, /* (644) null_ordering_opt ::= */ + -2, /* (645) null_ordering_opt ::= NULLS FIRST */ + -2, /* (646) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -4750,11 +4745,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,350,&yymsp[0].minor); + yy_destructor(yypParser,351,&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,351,&yymsp[0].minor); + yy_destructor(yypParser,352,&yymsp[0].minor); break; case 2: /* account_options ::= */ { } @@ -4768,20 +4763,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,350,&yymsp[-2].minor); +{ yy_destructor(yypParser,351,&yymsp[-2].minor); { } - yy_destructor(yypParser,352,&yymsp[0].minor); + yy_destructor(yypParser,353,&yymsp[0].minor); } break; case 12: /* alter_account_options ::= alter_account_option */ -{ yy_destructor(yypParser,353,&yymsp[0].minor); +{ yy_destructor(yypParser,354,&yymsp[0].minor); { } } break; case 13: /* alter_account_options ::= alter_account_options alter_account_option */ -{ yy_destructor(yypParser,351,&yymsp[-1].minor); +{ yy_destructor(yypParser,352,&yymsp[-1].minor); { } - yy_destructor(yypParser,353,&yymsp[0].minor); + yy_destructor(yypParser,354,&yymsp[0].minor); } break; case 14: /* alter_account_option ::= PASS literal */ @@ -4795,154 +4790,154 @@ 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,352,&yymsp[0].minor); + yy_destructor(yypParser,353,&yymsp[0].minor); break; case 24: /* ip_range_list ::= NK_STRING */ -{ yylhsminor.yy364 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy364 = yylhsminor.yy364; +{ yylhsminor.yy502 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy502 = yylhsminor.yy502; break; case 25: /* ip_range_list ::= ip_range_list NK_COMMA NK_STRING */ -{ yylhsminor.yy364 = addNodeToList(pCxt, yymsp[-2].minor.yy364, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy364 = yylhsminor.yy364; +{ yylhsminor.yy502 = addNodeToList(pCxt, yymsp[-2].minor.yy502, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy502 = yylhsminor.yy502; break; case 26: /* white_list ::= HOST ip_range_list */ -{ yymsp[-1].minor.yy364 = yymsp[0].minor.yy364; } +{ yymsp[-1].minor.yy502 = yymsp[0].minor.yy502; } break; case 27: /* white_list_opt ::= */ case 188: /* specific_cols_opt ::= */ yytestcase(yyruleno==188); case 219: /* tags_def_opt ::= */ yytestcase(yyruleno==219); - case 306: /* tag_list_opt ::= */ yytestcase(yyruleno==306); - case 372: /* col_list_opt ::= */ yytestcase(yyruleno==372); - case 374: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==374); - case 576: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==576); - case 604: /* group_by_clause_opt ::= */ yytestcase(yyruleno==604); - case 624: /* order_by_clause_opt ::= */ yytestcase(yyruleno==624); -{ yymsp[1].minor.yy364 = NULL; } + case 307: /* tag_list_opt ::= */ yytestcase(yyruleno==307); + case 373: /* col_list_opt ::= */ yytestcase(yyruleno==373); + case 375: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==375); + case 577: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==577); + case 605: /* group_by_clause_opt ::= */ yytestcase(yyruleno==605); + case 625: /* order_by_clause_opt ::= */ yytestcase(yyruleno==625); +{ yymsp[1].minor.yy502 = NULL; } break; case 28: /* white_list_opt ::= white_list */ case 220: /* tags_def_opt ::= tags_def */ yytestcase(yyruleno==220); - case 375: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==375); - case 501: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==501); -{ yylhsminor.yy364 = yymsp[0].minor.yy364; } - yymsp[0].minor.yy364 = yylhsminor.yy364; + case 376: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==376); + case 502: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==502); +{ yylhsminor.yy502 = yymsp[0].minor.yy502; } + yymsp[0].minor.yy502 = yylhsminor.yy502; break; case 29: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt white_list_opt */ { - pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-4].minor.yy929, &yymsp[-2].minor.yy0, yymsp[-1].minor.yy143); - pCxt->pRootNode = addCreateUserStmtWhiteList(pCxt, pCxt->pRootNode, yymsp[0].minor.yy364); + pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-4].minor.yy561, &yymsp[-2].minor.yy0, yymsp[-1].minor.yy1013); + pCxt->pRootNode = addCreateUserStmtWhiteList(pCxt, pCxt->pRootNode, yymsp[0].minor.yy502); } break; case 30: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy561, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } break; case 31: /* cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy561, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } break; case 32: /* cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy561, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } break; case 33: /* cmd ::= ALTER USER user_name ADD white_list */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, TSDB_ALTER_USER_ADD_WHITE_LIST, yymsp[0].minor.yy364); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy561, TSDB_ALTER_USER_ADD_WHITE_LIST, yymsp[0].minor.yy502); } break; case 34: /* cmd ::= ALTER USER user_name DROP white_list */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, TSDB_ALTER_USER_DROP_WHITE_LIST, yymsp[0].minor.yy364); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy561, TSDB_ALTER_USER_DROP_WHITE_LIST, yymsp[0].minor.yy502); } break; case 35: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy929); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy561); } break; case 36: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy143 = 1; } +{ yymsp[1].minor.yy1013 = 1; } break; case 37: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy143 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy1013 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } break; case 38: /* cmd ::= GRANT privileges ON priv_level with_opt TO user_name */ -{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-5].minor.yy429, &yymsp[-3].minor.yy777, &yymsp[0].minor.yy929, yymsp[-2].minor.yy992); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-5].minor.yy277, &yymsp[-3].minor.yy483, &yymsp[0].minor.yy561, yymsp[-2].minor.yy490); } break; case 39: /* cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-5].minor.yy429, &yymsp[-3].minor.yy777, &yymsp[0].minor.yy929, yymsp[-2].minor.yy992); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-5].minor.yy277, &yymsp[-3].minor.yy483, &yymsp[0].minor.yy561, yymsp[-2].minor.yy490); } break; case 40: /* privileges ::= ALL */ -{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy277 = PRIVILEGE_TYPE_ALL; } break; case 41: /* privileges ::= priv_type_list */ case 43: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==43); -{ yylhsminor.yy429 = yymsp[0].minor.yy429; } - yymsp[0].minor.yy429 = yylhsminor.yy429; +{ yylhsminor.yy277 = yymsp[0].minor.yy277; } + yymsp[0].minor.yy277 = yylhsminor.yy277; break; case 42: /* privileges ::= SUBSCRIBE */ -{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_SUBSCRIBE; } +{ yymsp[0].minor.yy277 = PRIVILEGE_TYPE_SUBSCRIBE; } break; case 44: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy429 = yymsp[-2].minor.yy429 | yymsp[0].minor.yy429; } - yymsp[-2].minor.yy429 = yylhsminor.yy429; +{ yylhsminor.yy277 = yymsp[-2].minor.yy277 | yymsp[0].minor.yy277; } + yymsp[-2].minor.yy277 = yylhsminor.yy277; break; case 45: /* priv_type ::= READ */ -{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy277 = PRIVILEGE_TYPE_READ; } break; case 46: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy277 = PRIVILEGE_TYPE_WRITE; } break; case 47: /* priv_type ::= ALTER */ -{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_ALTER; } +{ yymsp[0].minor.yy277 = PRIVILEGE_TYPE_ALTER; } break; case 48: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy777.first = yymsp[-2].minor.yy0; yylhsminor.yy777.second = yymsp[0].minor.yy0; } - yymsp[-2].minor.yy777 = yylhsminor.yy777; +{ yylhsminor.yy483.first = yymsp[-2].minor.yy0; yylhsminor.yy483.second = yymsp[0].minor.yy0; } + yymsp[-2].minor.yy483 = yylhsminor.yy483; break; case 49: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy777.first = yymsp[-2].minor.yy929; yylhsminor.yy777.second = yymsp[0].minor.yy0; } - yymsp[-2].minor.yy777 = yylhsminor.yy777; +{ yylhsminor.yy483.first = yymsp[-2].minor.yy561; yylhsminor.yy483.second = yymsp[0].minor.yy0; } + yymsp[-2].minor.yy483 = yylhsminor.yy483; break; case 50: /* priv_level ::= db_name NK_DOT table_name */ -{ yylhsminor.yy777.first = yymsp[-2].minor.yy929; yylhsminor.yy777.second = yymsp[0].minor.yy929; } - yymsp[-2].minor.yy777 = yylhsminor.yy777; +{ yylhsminor.yy483.first = yymsp[-2].minor.yy561; yylhsminor.yy483.second = yymsp[0].minor.yy561; } + yymsp[-2].minor.yy483 = yylhsminor.yy483; break; case 51: /* priv_level ::= topic_name */ -{ yylhsminor.yy777.first = yymsp[0].minor.yy929; yylhsminor.yy777.second = nil_token; } - yymsp[0].minor.yy777 = yylhsminor.yy777; +{ yylhsminor.yy483.first = yymsp[0].minor.yy561; yylhsminor.yy483.second = nil_token; } + yymsp[0].minor.yy483 = yylhsminor.yy483; break; case 52: /* with_opt ::= */ case 157: /* start_opt ::= */ yytestcase(yyruleno==157); case 161: /* end_opt ::= */ yytestcase(yyruleno==161); - case 301: /* like_pattern_opt ::= */ yytestcase(yyruleno==301); - case 386: /* subtable_opt ::= */ yytestcase(yyruleno==386); - case 511: /* case_when_else_opt ::= */ yytestcase(yyruleno==511); - case 541: /* from_clause_opt ::= */ yytestcase(yyruleno==541); - case 574: /* where_clause_opt ::= */ yytestcase(yyruleno==574); - case 583: /* twindow_clause_opt ::= */ yytestcase(yyruleno==583); - case 589: /* sliding_opt ::= */ yytestcase(yyruleno==589); - case 594: /* fill_opt ::= */ yytestcase(yyruleno==594); - case 608: /* having_clause_opt ::= */ yytestcase(yyruleno==608); - case 610: /* range_opt ::= */ yytestcase(yyruleno==610); - case 613: /* every_opt ::= */ yytestcase(yyruleno==613); - case 626: /* slimit_clause_opt ::= */ yytestcase(yyruleno==626); - case 630: /* limit_clause_opt ::= */ yytestcase(yyruleno==630); -{ yymsp[1].minor.yy992 = NULL; } + case 302: /* like_pattern_opt ::= */ yytestcase(yyruleno==302); + case 387: /* subtable_opt ::= */ yytestcase(yyruleno==387); + case 512: /* case_when_else_opt ::= */ yytestcase(yyruleno==512); + case 542: /* from_clause_opt ::= */ yytestcase(yyruleno==542); + case 575: /* where_clause_opt ::= */ yytestcase(yyruleno==575); + case 584: /* twindow_clause_opt ::= */ yytestcase(yyruleno==584); + case 590: /* sliding_opt ::= */ yytestcase(yyruleno==590); + case 595: /* fill_opt ::= */ yytestcase(yyruleno==595); + case 609: /* having_clause_opt ::= */ yytestcase(yyruleno==609); + case 611: /* range_opt ::= */ yytestcase(yyruleno==611); + case 614: /* every_opt ::= */ yytestcase(yyruleno==614); + case 627: /* slimit_clause_opt ::= */ yytestcase(yyruleno==627); + case 631: /* limit_clause_opt ::= */ yytestcase(yyruleno==631); +{ yymsp[1].minor.yy490 = NULL; } break; case 53: /* with_opt ::= WITH search_condition */ - case 542: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==542); - case 575: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==575); - case 609: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==609); -{ yymsp[-1].minor.yy992 = yymsp[0].minor.yy992; } + case 543: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==543); + case 576: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==576); + case 610: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==610); +{ yymsp[-1].minor.yy490 = yymsp[0].minor.yy490; } break; case 54: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy929, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy561, NULL); } break; case 55: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy0); } break; case 56: /* cmd ::= DROP DNODE NK_INTEGER force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy437, false); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy845, false); } break; case 57: /* cmd ::= DROP DNODE dnode_endpoint force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy929, yymsp[0].minor.yy437, false); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy561, yymsp[0].minor.yy845, false); } break; case 58: /* cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy437); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy845); } break; case 59: /* cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy929, false, yymsp[0].minor.yy437); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy561, false, yymsp[0].minor.yy845); } break; case 60: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -4962,57 +4957,57 @@ static YYACTIONTYPE yy_reduce( case 65: /* dnode_endpoint ::= NK_STRING */ case 66: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==66); case 67: /* dnode_endpoint ::= NK_IPTOKEN */ yytestcase(yyruleno==67); - case 328: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==328); - case 329: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==329); - case 330: /* sma_func_name ::= LAST */ yytestcase(yyruleno==330); - case 331: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==331); - case 433: /* db_name ::= NK_ID */ yytestcase(yyruleno==433); - case 434: /* table_name ::= NK_ID */ yytestcase(yyruleno==434); - case 435: /* column_name ::= NK_ID */ yytestcase(yyruleno==435); - case 436: /* function_name ::= NK_ID */ yytestcase(yyruleno==436); - case 437: /* view_name ::= NK_ID */ yytestcase(yyruleno==437); - case 438: /* table_alias ::= NK_ID */ yytestcase(yyruleno==438); - case 439: /* column_alias ::= NK_ID */ yytestcase(yyruleno==439); - case 440: /* column_alias ::= NK_ALIAS */ yytestcase(yyruleno==440); - case 441: /* user_name ::= NK_ID */ yytestcase(yyruleno==441); - case 442: /* topic_name ::= NK_ID */ yytestcase(yyruleno==442); - case 443: /* stream_name ::= NK_ID */ yytestcase(yyruleno==443); - case 444: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==444); - case 445: /* index_name ::= NK_ID */ yytestcase(yyruleno==445); - case 487: /* noarg_func ::= NOW */ yytestcase(yyruleno==487); - case 488: /* noarg_func ::= TODAY */ yytestcase(yyruleno==488); - case 489: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==489); - case 490: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==490); - case 491: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==491); - case 492: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==492); - case 493: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==493); - case 494: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==494); - case 495: /* noarg_func ::= USER */ yytestcase(yyruleno==495); - case 496: /* star_func ::= COUNT */ yytestcase(yyruleno==496); - case 497: /* star_func ::= FIRST */ yytestcase(yyruleno==497); - case 498: /* star_func ::= LAST */ yytestcase(yyruleno==498); - case 499: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==499); -{ yylhsminor.yy929 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy929 = yylhsminor.yy929; + case 329: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==329); + case 330: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==330); + case 331: /* sma_func_name ::= LAST */ yytestcase(yyruleno==331); + case 332: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==332); + case 434: /* db_name ::= NK_ID */ yytestcase(yyruleno==434); + case 435: /* table_name ::= NK_ID */ yytestcase(yyruleno==435); + case 436: /* column_name ::= NK_ID */ yytestcase(yyruleno==436); + case 437: /* function_name ::= NK_ID */ yytestcase(yyruleno==437); + case 438: /* view_name ::= NK_ID */ yytestcase(yyruleno==438); + case 439: /* table_alias ::= NK_ID */ yytestcase(yyruleno==439); + case 440: /* column_alias ::= NK_ID */ yytestcase(yyruleno==440); + case 441: /* column_alias ::= NK_ALIAS */ yytestcase(yyruleno==441); + case 442: /* user_name ::= NK_ID */ yytestcase(yyruleno==442); + case 443: /* topic_name ::= NK_ID */ yytestcase(yyruleno==443); + case 444: /* stream_name ::= NK_ID */ yytestcase(yyruleno==444); + case 445: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==445); + case 446: /* index_name ::= NK_ID */ yytestcase(yyruleno==446); + case 488: /* noarg_func ::= NOW */ yytestcase(yyruleno==488); + case 489: /* noarg_func ::= TODAY */ yytestcase(yyruleno==489); + case 490: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==490); + case 491: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==491); + case 492: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==492); + case 493: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==493); + case 494: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==494); + case 495: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==495); + case 496: /* noarg_func ::= USER */ yytestcase(yyruleno==496); + case 497: /* star_func ::= COUNT */ yytestcase(yyruleno==497); + case 498: /* star_func ::= FIRST */ yytestcase(yyruleno==498); + case 499: /* star_func ::= LAST */ yytestcase(yyruleno==499); + case 500: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==500); +{ yylhsminor.yy561 = yymsp[0].minor.yy0; } + yymsp[0].minor.yy561 = yylhsminor.yy561; break; case 68: /* force_opt ::= */ case 94: /* not_exists_opt ::= */ yytestcase(yyruleno==94); case 96: /* exists_opt ::= */ yytestcase(yyruleno==96); - case 349: /* analyze_opt ::= */ yytestcase(yyruleno==349); - case 356: /* agg_func_opt ::= */ yytestcase(yyruleno==356); - case 362: /* or_replace_opt ::= */ yytestcase(yyruleno==362); - case 388: /* ignore_opt ::= */ yytestcase(yyruleno==388); - case 562: /* tag_mode_opt ::= */ yytestcase(yyruleno==562); - case 564: /* set_quantifier_opt ::= */ yytestcase(yyruleno==564); -{ yymsp[1].minor.yy437 = false; } + case 350: /* analyze_opt ::= */ yytestcase(yyruleno==350); + case 357: /* agg_func_opt ::= */ yytestcase(yyruleno==357); + case 363: /* or_replace_opt ::= */ yytestcase(yyruleno==363); + case 389: /* ignore_opt ::= */ yytestcase(yyruleno==389); + case 563: /* tag_mode_opt ::= */ yytestcase(yyruleno==563); + case 565: /* set_quantifier_opt ::= */ yytestcase(yyruleno==565); +{ yymsp[1].minor.yy845 = false; } break; case 69: /* force_opt ::= FORCE */ case 70: /* unsafe_opt ::= UNSAFE */ yytestcase(yyruleno==70); - case 350: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==350); - case 357: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==357); - case 563: /* tag_mode_opt ::= TAGS */ yytestcase(yyruleno==563); - case 565: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==565); -{ yymsp[0].minor.yy437 = true; } + case 351: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==351); + case 358: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==358); + case 564: /* tag_mode_opt ::= TAGS */ yytestcase(yyruleno==564); + case 566: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==566); +{ yymsp[0].minor.yy845 = true; } break; case 71: /* cmd ::= ALTER CLUSTER NK_STRING */ { pCxt->pRootNode = createAlterClusterStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -5060,241 +5055,241 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createRestoreComponentNodeStmt(pCxt, QUERY_NODE_RESTORE_VNODE_STMT, &yymsp[0].minor.yy0); } break; case 86: /* cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ -{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy437, &yymsp[-1].minor.yy929, yymsp[0].minor.yy992); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy845, &yymsp[-1].minor.yy561, yymsp[0].minor.yy490); } break; case 87: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy845, &yymsp[0].minor.yy561); } break; case 88: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy929); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy561); } break; case 89: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy929, yymsp[0].minor.yy992); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy561, yymsp[0].minor.yy490); } break; case 90: /* cmd ::= FLUSH DATABASE db_name */ -{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy929); } +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy561); } break; case 91: /* cmd ::= TRIM DATABASE db_name speed_opt */ -{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy929, yymsp[0].minor.yy40); } +{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy561, yymsp[0].minor.yy774); } break; case 92: /* cmd ::= COMPACT DATABASE db_name start_opt end_opt */ -{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy929, yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } +{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy561, yymsp[-1].minor.yy490, yymsp[0].minor.yy490); } break; case 93: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy437 = true; } +{ yymsp[-2].minor.yy845 = true; } break; case 95: /* exists_opt ::= IF EXISTS */ - case 363: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==363); - case 389: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==389); -{ yymsp[-1].minor.yy437 = true; } + case 364: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==364); + case 390: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==390); +{ yymsp[-1].minor.yy845 = true; } break; case 97: /* db_options ::= */ -{ yymsp[1].minor.yy992 = createDefaultDatabaseOptions(pCxt); } +{ yymsp[1].minor.yy490 = createDefaultDatabaseOptions(pCxt); } break; case 98: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 99: /* db_options ::= db_options CACHEMODEL NK_STRING */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 100: /* db_options ::= db_options CACHESIZE NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 101: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 102: /* db_options ::= db_options DURATION NK_INTEGER */ case 103: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==103); -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 104: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 105: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 106: /* db_options ::= db_options KEEP integer_list */ case 107: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==107); -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_KEEP, yymsp[0].minor.yy364); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_KEEP, yymsp[0].minor.yy502); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 108: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 109: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 110: /* db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 111: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 112: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 113: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 114: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 115: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_RETENTIONS, yymsp[0].minor.yy364); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_RETENTIONS, yymsp[0].minor.yy502); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 116: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 117: /* db_options ::= db_options WAL_LEVEL NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 118: /* db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 119: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 120: /* 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.yy992 = setDatabaseOption(pCxt, yymsp[-3].minor.yy992, DB_OPTION_WAL_RETENTION_PERIOD, &t); + yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-3].minor.yy490, DB_OPTION_WAL_RETENTION_PERIOD, &t); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; case 121: /* db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 122: /* 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.yy992 = setDatabaseOption(pCxt, yymsp[-3].minor.yy992, DB_OPTION_WAL_RETENTION_SIZE, &t); + yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-3].minor.yy490, DB_OPTION_WAL_RETENTION_SIZE, &t); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; case 123: /* db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 124: /* db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 125: /* db_options ::= db_options STT_TRIGGER NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 126: /* db_options ::= db_options TABLE_PREFIX signed */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy992); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy490); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 127: /* db_options ::= db_options TABLE_SUFFIX signed */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy992); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy490); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 128: /* db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */ -{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_KEEP_TIME_OFFSET, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setDatabaseOption(pCxt, yymsp[-2].minor.yy490, DB_OPTION_KEEP_TIME_OFFSET, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 129: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy992 = createAlterDatabaseOptions(pCxt); yylhsminor.yy992 = setAlterDatabaseOption(pCxt, yylhsminor.yy992, &yymsp[0].minor.yy665); } - yymsp[0].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterDatabaseOptions(pCxt); yylhsminor.yy490 = setAlterDatabaseOption(pCxt, yylhsminor.yy490, &yymsp[0].minor.yy529); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; case 130: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy992 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy992, &yymsp[0].minor.yy665); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy490, &yymsp[0].minor.yy529); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; case 131: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 132: /* alter_db_option ::= CACHEMODEL NK_STRING */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 133: /* alter_db_option ::= CACHESIZE NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 134: /* alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 135: /* alter_db_option ::= KEEP integer_list */ case 136: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==136); -{ yymsp[-1].minor.yy665.type = DB_OPTION_KEEP; yymsp[-1].minor.yy665.pList = yymsp[0].minor.yy364; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_KEEP; yymsp[-1].minor.yy529.pList = yymsp[0].minor.yy502; } break; case 137: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_PAGES; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_PAGES; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 138: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 139: /* alter_db_option ::= WAL_LEVEL NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_WAL; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_WAL; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 140: /* alter_db_option ::= STT_TRIGGER NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 141: /* alter_db_option ::= MINROWS NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 142: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 143: /* 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.yy665.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy665.val = t; + yymsp[-2].minor.yy529.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy529.val = t; } break; case 144: /* alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 145: /* 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.yy665.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy665.val = t; + yymsp[-2].minor.yy529.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy529.val = t; } break; case 146: /* alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = DB_OPTION_KEEP_TIME_OFFSET; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = DB_OPTION_KEEP_TIME_OFFSET; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 147: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy364 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy364 = yylhsminor.yy364; +{ yylhsminor.yy502 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy502 = yylhsminor.yy502; break; case 148: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 402: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==402); -{ yylhsminor.yy364 = addNodeToList(pCxt, yymsp[-2].minor.yy364, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy364 = yylhsminor.yy364; + case 403: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==403); +{ yylhsminor.yy502 = addNodeToList(pCxt, yymsp[-2].minor.yy502, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy502 = yylhsminor.yy502; break; case 149: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy364 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy364 = yylhsminor.yy364; +{ yylhsminor.yy502 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy502 = yylhsminor.yy502; break; case 150: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy364 = addNodeToList(pCxt, yymsp[-2].minor.yy364, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy364 = yylhsminor.yy364; +{ yylhsminor.yy502 = addNodeToList(pCxt, yymsp[-2].minor.yy502, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy502 = yylhsminor.yy502; break; case 151: /* retention_list ::= retention */ case 182: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==182); @@ -5302,290 +5297,290 @@ static YYACTIONTYPE yy_reduce( case 192: /* column_def_list ::= column_def */ yytestcase(yyruleno==192); case 236: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==236); case 241: /* col_name_list ::= col_name */ yytestcase(yyruleno==241); - case 307: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==307); - case 324: /* func_list ::= func */ yytestcase(yyruleno==324); - case 431: /* literal_list ::= signed_literal */ yytestcase(yyruleno==431); - case 502: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==502); - case 508: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==508); - case 567: /* select_list ::= select_item */ yytestcase(yyruleno==567); - case 578: /* partition_list ::= partition_item */ yytestcase(yyruleno==578); - case 637: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==637); -{ yylhsminor.yy364 = createNodeList(pCxt, yymsp[0].minor.yy992); } - yymsp[0].minor.yy364 = yylhsminor.yy364; + case 308: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==308); + case 325: /* func_list ::= func */ yytestcase(yyruleno==325); + case 432: /* literal_list ::= signed_literal */ yytestcase(yyruleno==432); + case 503: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==503); + case 509: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==509); + case 568: /* select_list ::= select_item */ yytestcase(yyruleno==568); + case 579: /* partition_list ::= partition_item */ yytestcase(yyruleno==579); + case 638: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==638); +{ yylhsminor.yy502 = createNodeList(pCxt, yymsp[0].minor.yy490); } + yymsp[0].minor.yy502 = yylhsminor.yy502; break; case 152: /* retention_list ::= retention_list NK_COMMA retention */ case 186: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==186); case 193: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==193); case 237: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==237); case 242: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==242); - case 308: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==308); - case 325: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==325); - case 432: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==432); - case 503: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==503); - case 568: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==568); - case 579: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==579); - case 638: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==638); -{ yylhsminor.yy364 = addNodeToList(pCxt, yymsp[-2].minor.yy364, yymsp[0].minor.yy992); } - yymsp[-2].minor.yy364 = yylhsminor.yy364; + case 309: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==309); + case 326: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==326); + case 433: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==433); + case 504: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==504); + case 569: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==569); + case 580: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==580); + case 639: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==639); +{ yylhsminor.yy502 = addNodeToList(pCxt, yymsp[-2].minor.yy502, yymsp[0].minor.yy490); } + yymsp[-2].minor.yy502 = yylhsminor.yy502; break; case 153: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ case 154: /* retention ::= NK_MINUS NK_COLON NK_VARIABLE */ yytestcase(yyruleno==154); -{ yylhsminor.yy992 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 155: /* speed_opt ::= */ - case 358: /* bufsize_opt ::= */ yytestcase(yyruleno==358); -{ yymsp[1].minor.yy40 = 0; } + case 359: /* bufsize_opt ::= */ yytestcase(yyruleno==359); +{ yymsp[1].minor.yy774 = 0; } break; case 156: /* speed_opt ::= BWLIMIT NK_INTEGER */ - case 359: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==359); -{ yymsp[-1].minor.yy40 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } + case 360: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==360); +{ yymsp[-1].minor.yy774 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 158: /* start_opt ::= START WITH NK_INTEGER */ case 162: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==162); -{ yymsp[-2].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } break; case 159: /* start_opt ::= START WITH NK_STRING */ case 163: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==163); -{ yymsp[-2].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 160: /* start_opt ::= START WITH TIMESTAMP NK_STRING */ case 164: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==164); -{ yymsp[-3].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-3].minor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 165: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ case 167: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==167); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy437, yymsp[-5].minor.yy992, yymsp[-3].minor.yy364, yymsp[-1].minor.yy364, yymsp[0].minor.yy992); } +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy845, yymsp[-5].minor.yy490, yymsp[-3].minor.yy502, yymsp[-1].minor.yy502, yymsp[0].minor.yy490); } break; case 166: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy364); } +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy502); } break; case 168: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy364); } +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy502); } break; case 169: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy992); } +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy845, yymsp[0].minor.yy490); } break; case 170: /* cmd ::= ALTER TABLE alter_table_clause */ - case 404: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==404); - case 405: /* cmd ::= insert_query */ yytestcase(yyruleno==405); -{ pCxt->pRootNode = yymsp[0].minor.yy992; } + case 405: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==405); + case 406: /* cmd ::= insert_query */ yytestcase(yyruleno==406); +{ pCxt->pRootNode = yymsp[0].minor.yy490; } break; case 171: /* cmd ::= ALTER STABLE alter_table_clause */ -{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy992); } +{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy490); } break; case 172: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy992 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy490, yymsp[0].minor.yy490); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; case 173: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy992 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy992, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy929, yymsp[0].minor.yy184); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy490, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy561, yymsp[0].minor.yy826); } + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; case 174: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy992 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy992, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy929); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy490, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy561); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; case 175: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy992 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy992, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy929, yymsp[0].minor.yy184); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy490, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy561, yymsp[0].minor.yy826); } + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; case 176: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy992 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy992, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy929, &yymsp[0].minor.yy929); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy490, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy561, &yymsp[0].minor.yy561); } + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; case 177: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy992 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy992, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy929, yymsp[0].minor.yy184); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy490, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy561, yymsp[0].minor.yy826); } + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; case 178: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy992 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy992, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy929); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy490, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy561); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; case 179: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy992 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy992, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy929, yymsp[0].minor.yy184); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy490, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy561, yymsp[0].minor.yy826); } + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; case 180: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy992 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy992, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy929, &yymsp[0].minor.yy929); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy490, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy561, &yymsp[0].minor.yy561); } + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; case 181: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy992 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy992, &yymsp[-2].minor.yy929, yymsp[0].minor.yy992); } - yymsp[-5].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy490, &yymsp[-2].minor.yy561, yymsp[0].minor.yy490); } + yymsp[-5].minor.yy490 = yylhsminor.yy490; break; case 183: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 509: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==509); -{ yylhsminor.yy364 = addNodeToList(pCxt, yymsp[-1].minor.yy364, yymsp[0].minor.yy992); } - yymsp[-1].minor.yy364 = yylhsminor.yy364; + case 510: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==510); +{ yylhsminor.yy502 = addNodeToList(pCxt, yymsp[-1].minor.yy502, yymsp[0].minor.yy490); } + yymsp[-1].minor.yy502 = yylhsminor.yy502; break; case 184: /* 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.yy992 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy437, yymsp[-8].minor.yy992, yymsp[-6].minor.yy992, yymsp[-5].minor.yy364, yymsp[-2].minor.yy364, yymsp[0].minor.yy992); } - yymsp[-9].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy845, yymsp[-8].minor.yy490, yymsp[-6].minor.yy490, yymsp[-5].minor.yy502, yymsp[-2].minor.yy502, yymsp[0].minor.yy490); } + yymsp[-9].minor.yy490 = yylhsminor.yy490; break; case 187: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy992 = createDropTableClause(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy992); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createDropTableClause(pCxt, yymsp[-1].minor.yy845, yymsp[0].minor.yy490); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; case 189: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ - case 373: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==373); -{ yymsp[-2].minor.yy364 = yymsp[-1].minor.yy364; } + case 374: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==374); +{ yymsp[-2].minor.yy502 = yymsp[-1].minor.yy502; } break; case 190: /* full_table_name ::= table_name */ -{ yylhsminor.yy992 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy929, NULL); } - yymsp[0].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy561, NULL); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; case 191: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy992 = createRealTableNode(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy929, NULL); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createRealTableNode(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy561, NULL); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 194: /* column_def ::= column_name type_name */ -{ yylhsminor.yy992 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy929, yymsp[0].minor.yy184, NULL); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy561, yymsp[0].minor.yy826, NULL); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; case 195: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_BOOL); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_BOOL); } break; case 196: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_TINYINT); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; case 197: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_SMALLINT); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; case 198: /* type_name ::= INT */ case 199: /* type_name ::= INTEGER */ yytestcase(yyruleno==199); -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_INT); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_INT); } break; case 200: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_BIGINT); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; case 201: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_FLOAT); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; case 202: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_DOUBLE); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; case 203: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy826 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; case 204: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; case 205: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy826 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; case 206: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy184 = createDataType(TSDB_DATA_TYPE_UTINYINT); } +{ yymsp[-1].minor.yy826 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; case 207: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy184 = createDataType(TSDB_DATA_TYPE_USMALLINT); } +{ yymsp[-1].minor.yy826 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; case 208: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy184 = createDataType(TSDB_DATA_TYPE_UINT); } +{ yymsp[-1].minor.yy826 = createDataType(TSDB_DATA_TYPE_UINT); } break; case 209: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy184 = createDataType(TSDB_DATA_TYPE_UBIGINT); } +{ yymsp[-1].minor.yy826 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; case 210: /* type_name ::= JSON */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_JSON); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_JSON); } break; case 211: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy826 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; case 212: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; case 213: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_BLOB); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_BLOB); } break; case 214: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy826 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; case 215: /* type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy826 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); } break; case 216: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[0].minor.yy826 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 217: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy184 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-3].minor.yy826 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 218: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy184 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-5].minor.yy826 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 221: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ - case 376: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==376); -{ yymsp[-3].minor.yy364 = yymsp[-1].minor.yy364; } + case 377: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==377); +{ yymsp[-3].minor.yy502 = yymsp[-1].minor.yy502; } break; case 222: /* table_options ::= */ -{ yymsp[1].minor.yy992 = createDefaultTableOptions(pCxt); } +{ yymsp[1].minor.yy490 = createDefaultTableOptions(pCxt); } break; case 223: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setTableOption(pCxt, yymsp[-2].minor.yy490, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 224: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy364); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setTableOption(pCxt, yymsp[-2].minor.yy490, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy502); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 225: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy364); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setTableOption(pCxt, yymsp[-2].minor.yy490, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy502); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 226: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-4].minor.yy992, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy364); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setTableOption(pCxt, yymsp[-4].minor.yy490, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy502); } + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; case 227: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setTableOption(pCxt, yymsp[-2].minor.yy490, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 228: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-4].minor.yy992, TABLE_OPTION_SMA, yymsp[-1].minor.yy364); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setTableOption(pCxt, yymsp[-4].minor.yy490, TABLE_OPTION_SMA, yymsp[-1].minor.yy502); } + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; case 229: /* table_options ::= table_options DELETE_MARK duration_list */ -{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy364); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setTableOption(pCxt, yymsp[-2].minor.yy490, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy502); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; case 230: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy992 = createAlterTableOptions(pCxt); yylhsminor.yy992 = setTableOption(pCxt, yylhsminor.yy992, yymsp[0].minor.yy665.type, &yymsp[0].minor.yy665.val); } - yymsp[0].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createAlterTableOptions(pCxt); yylhsminor.yy490 = setTableOption(pCxt, yylhsminor.yy490, yymsp[0].minor.yy529.type, &yymsp[0].minor.yy529.val); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; case 231: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-1].minor.yy992, yymsp[0].minor.yy665.type, &yymsp[0].minor.yy665.val); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = setTableOption(pCxt, yymsp[-1].minor.yy490, yymsp[0].minor.yy529.type, &yymsp[0].minor.yy529.val); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; case 232: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy665.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 233: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy665.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy529.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy529.val = yymsp[0].minor.yy0; } break; case 234: /* duration_list ::= duration_literal */ - case 463: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==463); -{ yylhsminor.yy364 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy992)); } - yymsp[0].minor.yy364 = yylhsminor.yy364; + case 464: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==464); +{ yylhsminor.yy502 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy490)); } + yymsp[0].minor.yy502 = yylhsminor.yy502; break; case 235: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 464: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==464); -{ yylhsminor.yy364 = addNodeToList(pCxt, yymsp[-2].minor.yy364, releaseRawExprNode(pCxt, yymsp[0].minor.yy992)); } - yymsp[-2].minor.yy364 = yylhsminor.yy364; + case 465: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==465); +{ yylhsminor.yy502 = addNodeToList(pCxt, yymsp[-2].minor.yy502, releaseRawExprNode(pCxt, yymsp[0].minor.yy490)); } + yymsp[-2].minor.yy502 = yylhsminor.yy502; break; case 238: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy992 = createFunctionNode(pCxt, &yymsp[0].minor.yy929, NULL); } - yymsp[0].minor.yy992 = yylhsminor.yy992; +{ yylhsminor.yy490 = createFunctionNode(pCxt, &yymsp[0].minor.yy561, NULL); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; case 239: /* rollup_func_name ::= FIRST */ case 240: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==240); - case 310: /* tag_item ::= QTAGS */ yytestcase(yyruleno==310); -{ yylhsminor.yy992 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 311: /* tag_item ::= QTAGS */ yytestcase(yyruleno==311); +{ yylhsminor.yy490 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; case 243: /* col_name ::= column_name */ - case 311: /* tag_item ::= column_name */ yytestcase(yyruleno==311); -{ yylhsminor.yy992 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy929); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 312: /* tag_item ::= column_name */ yytestcase(yyruleno==312); +{ yylhsminor.yy490 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy561); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; case 244: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } @@ -5599,19 +5594,19 @@ static YYACTIONTYPE yy_reduce( case 247: /* cmd ::= SHOW db_kind_opt DATABASES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); - setShowKind(pCxt, pCxt->pRootNode, yymsp[-1].minor.yy430); + setShowKind(pCxt, pCxt->pRootNode, yymsp[-1].minor.yy579); } break; case 248: /* cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */ { - pCxt->pRootNode = createShowTablesStmt(pCxt, yymsp[-2].minor.yy277, yymsp[0].minor.yy992, OP_TYPE_LIKE); + pCxt->pRootNode = createShowTablesStmt(pCxt, yymsp[-2].minor.yy961, yymsp[0].minor.yy490, OP_TYPE_LIKE); } break; case 249: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy992, yymsp[0].minor.yy992, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy490, yymsp[0].minor.yy490, OP_TYPE_LIKE); } break; case 250: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy992, NULL, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy490, NULL, OP_TYPE_LIKE); } break; case 251: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } @@ -5623,10 +5618,10 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; case 254: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy992, yymsp[-1].minor.yy992, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy490, yymsp[-1].minor.yy490, OP_TYPE_EQUAL); } break; case 255: /* cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy929), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy929), OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy561), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy561), OP_TYPE_EQUAL); } break; case 256: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } @@ -5650,927 +5645,930 @@ static YYACTIONTYPE yy_reduce( case 263: /* cmd ::= SHOW GRANTS LOG */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_GRANTS_LOG_STMT); } break; - case 264: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy929); } + case 264: /* cmd ::= SHOW CLUSTER MACHINES */ +{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT); } break; - case 265: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy992); } + case 265: /* cmd ::= SHOW CREATE DATABASE db_name */ +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy561); } break; - case 266: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy992); } + case 266: /* cmd ::= SHOW CREATE TABLE full_table_name */ +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy490); } break; - case 267: /* cmd ::= SHOW QUERIES */ + case 267: /* cmd ::= SHOW CREATE STABLE full_table_name */ +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy490); } + break; + case 268: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } break; - case 268: /* cmd ::= SHOW SCORES */ + case 269: /* cmd ::= SHOW SCORES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SCORES_STMT); } break; - case 269: /* cmd ::= SHOW TOPICS */ + case 270: /* cmd ::= SHOW TOPICS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TOPICS_STMT); } break; - case 270: /* cmd ::= SHOW VARIABLES */ - case 271: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==271); + case 271: /* cmd ::= SHOW VARIABLES */ + case 272: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==272); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_VARIABLES_STMT); } break; - case 272: /* cmd ::= SHOW LOCAL VARIABLES */ + case 273: /* cmd ::= SHOW LOCAL VARIABLES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; - case 273: /* 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.yy992); } + case 274: /* 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.yy490); } break; - case 274: /* cmd ::= SHOW BNODES */ + case 275: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } break; - case 275: /* cmd ::= SHOW SNODES */ + case 276: /* cmd ::= SHOW SNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SNODES_STMT); } break; - case 276: /* cmd ::= SHOW CLUSTER */ + case 277: /* cmd ::= SHOW CLUSTER */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_STMT); } break; - case 277: /* cmd ::= SHOW TRANSACTIONS */ + case 278: /* cmd ::= SHOW TRANSACTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; - case 278: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy992); } + case 279: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy490); } break; - case 279: /* cmd ::= SHOW CONSUMERS */ + case 280: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } break; - case 280: /* cmd ::= SHOW SUBSCRIPTIONS */ + case 281: /* cmd ::= SHOW SUBSCRIPTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; - case 281: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy992, yymsp[-1].minor.yy992, OP_TYPE_EQUAL); } + case 282: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy490, yymsp[-1].minor.yy490, OP_TYPE_EQUAL); } break; - case 282: /* cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy929), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy929), OP_TYPE_EQUAL); } + case 283: /* cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy561), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy561), OP_TYPE_EQUAL); } break; - case 283: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy992, yymsp[0].minor.yy992, yymsp[-3].minor.yy364); } + case 284: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy490, yymsp[0].minor.yy490, yymsp[-3].minor.yy502); } break; - case 284: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy929), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy929), yymsp[-4].minor.yy364); } + case 285: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy561), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy561), yymsp[-4].minor.yy502); } break; - case 285: /* cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ + case 286: /* cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } break; - case 286: /* cmd ::= SHOW VNODES */ + case 287: /* cmd ::= SHOW VNODES */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, NULL); } break; - case 287: /* cmd ::= SHOW db_name_cond_opt ALIVE */ -{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy992, QUERY_NODE_SHOW_DB_ALIVE_STMT); } + case 288: /* cmd ::= SHOW db_name_cond_opt ALIVE */ +{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy490, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; - case 288: /* cmd ::= SHOW CLUSTER ALIVE */ + case 289: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; - case 289: /* cmd ::= SHOW db_name_cond_opt VIEWS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VIEWS_STMT, yymsp[-1].minor.yy992, NULL, OP_TYPE_LIKE); } + case 290: /* cmd ::= SHOW db_name_cond_opt VIEWS */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VIEWS_STMT, yymsp[-1].minor.yy490, NULL, OP_TYPE_LIKE); } break; - case 290: /* cmd ::= SHOW CREATE VIEW full_table_name */ -{ pCxt->pRootNode = createShowCreateViewStmt(pCxt, QUERY_NODE_SHOW_CREATE_VIEW_STMT, yymsp[0].minor.yy992); } + case 291: /* cmd ::= SHOW CREATE VIEW full_table_name */ +{ pCxt->pRootNode = createShowCreateViewStmt(pCxt, QUERY_NODE_SHOW_CREATE_VIEW_STMT, yymsp[0].minor.yy490); } break; - case 291: /* cmd ::= SHOW COMPACTS */ + case 292: /* cmd ::= SHOW COMPACTS */ { pCxt->pRootNode = createShowCompactsStmt(pCxt, QUERY_NODE_SHOW_COMPACTS_STMT); } break; - case 292: /* cmd ::= SHOW COMPACT NK_INTEGER */ + case 293: /* cmd ::= SHOW COMPACT NK_INTEGER */ { pCxt->pRootNode = createShowCompactDetailsStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 293: /* table_kind_db_name_cond_opt ::= */ -{ yymsp[1].minor.yy277.kind = SHOW_KIND_ALL; yymsp[1].minor.yy277.dbName = nil_token; } + case 294: /* table_kind_db_name_cond_opt ::= */ +{ yymsp[1].minor.yy961.kind = SHOW_KIND_ALL; yymsp[1].minor.yy961.dbName = nil_token; } break; - case 294: /* table_kind_db_name_cond_opt ::= table_kind */ -{ yylhsminor.yy277.kind = yymsp[0].minor.yy430; yylhsminor.yy277.dbName = nil_token; } - yymsp[0].minor.yy277 = yylhsminor.yy277; + case 295: /* table_kind_db_name_cond_opt ::= table_kind */ +{ yylhsminor.yy961.kind = yymsp[0].minor.yy579; yylhsminor.yy961.dbName = nil_token; } + yymsp[0].minor.yy961 = yylhsminor.yy961; break; - case 295: /* table_kind_db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy277.kind = SHOW_KIND_ALL; yylhsminor.yy277.dbName = yymsp[-1].minor.yy929; } - yymsp[-1].minor.yy277 = yylhsminor.yy277; + case 296: /* table_kind_db_name_cond_opt ::= db_name NK_DOT */ +{ yylhsminor.yy961.kind = SHOW_KIND_ALL; yylhsminor.yy961.dbName = yymsp[-1].minor.yy561; } + yymsp[-1].minor.yy961 = yylhsminor.yy961; break; - case 296: /* table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */ -{ yylhsminor.yy277.kind = yymsp[-2].minor.yy430; yylhsminor.yy277.dbName = yymsp[-1].minor.yy929; } - yymsp[-2].minor.yy277 = yylhsminor.yy277; + case 297: /* table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */ +{ yylhsminor.yy961.kind = yymsp[-2].minor.yy579; yylhsminor.yy961.dbName = yymsp[-1].minor.yy561; } + yymsp[-2].minor.yy961 = yylhsminor.yy961; break; - case 297: /* table_kind ::= NORMAL */ -{ yymsp[0].minor.yy430 = SHOW_KIND_TABLES_NORMAL; } + case 298: /* table_kind ::= NORMAL */ +{ yymsp[0].minor.yy579 = SHOW_KIND_TABLES_NORMAL; } break; - case 298: /* table_kind ::= CHILD */ -{ yymsp[0].minor.yy430 = SHOW_KIND_TABLES_CHILD; } + case 299: /* table_kind ::= CHILD */ +{ yymsp[0].minor.yy579 = SHOW_KIND_TABLES_CHILD; } break; - case 299: /* db_name_cond_opt ::= */ - case 304: /* from_db_opt ::= */ yytestcase(yyruleno==304); -{ yymsp[1].minor.yy992 = createDefaultDatabaseCondValue(pCxt); } + case 300: /* db_name_cond_opt ::= */ + case 305: /* from_db_opt ::= */ yytestcase(yyruleno==305); +{ yymsp[1].minor.yy490 = createDefaultDatabaseCondValue(pCxt); } break; - case 300: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy992 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy929); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + case 301: /* db_name_cond_opt ::= db_name NK_DOT */ +{ yylhsminor.yy490 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy561); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 302: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + case 303: /* like_pattern_opt ::= LIKE NK_STRING */ +{ yymsp[-1].minor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; - case 303: /* table_name_cond ::= table_name */ -{ yylhsminor.yy992 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy929); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 304: /* table_name_cond ::= table_name */ +{ yylhsminor.yy490 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy561); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 305: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy992 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy929); } + case 306: /* from_db_opt ::= FROM db_name */ +{ yymsp[-1].minor.yy490 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy561); } break; - case 309: /* tag_item ::= TBNAME */ -{ yylhsminor.yy992 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 310: /* tag_item ::= TBNAME */ +{ yylhsminor.yy490 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 312: /* tag_item ::= column_name column_alias */ -{ yylhsminor.yy992 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy929), &yymsp[0].minor.yy929); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + case 313: /* tag_item ::= column_name column_alias */ +{ yylhsminor.yy490 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy561), &yymsp[0].minor.yy561); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 313: /* tag_item ::= column_name AS column_alias */ -{ yylhsminor.yy992 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy929), &yymsp[0].minor.yy929); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 314: /* tag_item ::= column_name AS column_alias */ +{ yylhsminor.yy490 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy561), &yymsp[0].minor.yy561); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 314: /* db_kind_opt ::= */ -{ yymsp[1].minor.yy430 = SHOW_KIND_ALL; } + case 315: /* db_kind_opt ::= */ +{ yymsp[1].minor.yy579 = SHOW_KIND_ALL; } break; - case 315: /* db_kind_opt ::= USER */ -{ yymsp[0].minor.yy430 = SHOW_KIND_DATABASES_USER; } + case 316: /* db_kind_opt ::= USER */ +{ yymsp[0].minor.yy579 = SHOW_KIND_DATABASES_USER; } break; - case 316: /* db_kind_opt ::= SYSTEM */ -{ yymsp[0].minor.yy430 = SHOW_KIND_DATABASES_SYSTEM; } + case 317: /* db_kind_opt ::= SYSTEM */ +{ yymsp[0].minor.yy579 = SHOW_KIND_DATABASES_SYSTEM; } break; - case 317: /* cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy437, yymsp[-3].minor.yy992, yymsp[-1].minor.yy992, NULL, yymsp[0].minor.yy992); } + case 318: /* cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy845, yymsp[-3].minor.yy490, yymsp[-1].minor.yy490, NULL, yymsp[0].minor.yy490); } break; - case 318: /* cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ -{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy437, yymsp[-5].minor.yy992, yymsp[-3].minor.yy992, yymsp[-1].minor.yy364, NULL); } + case 319: /* cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ +{ pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy845, yymsp[-5].minor.yy490, yymsp[-3].minor.yy490, yymsp[-1].minor.yy502, NULL); } break; - case 319: /* cmd ::= DROP INDEX exists_opt full_index_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy992); } + case 320: /* cmd ::= DROP INDEX exists_opt full_index_name */ +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy845, yymsp[0].minor.yy490); } break; - case 320: /* full_index_name ::= index_name */ -{ yylhsminor.yy992 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy929); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 321: /* full_index_name ::= index_name */ +{ yylhsminor.yy490 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy561); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 321: /* full_index_name ::= db_name NK_DOT index_name */ -{ yylhsminor.yy992 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy929); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 322: /* full_index_name ::= db_name NK_DOT index_name */ +{ yylhsminor.yy490 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy561); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 322: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy992 = createIndexOption(pCxt, yymsp[-7].minor.yy364, releaseRawExprNode(pCxt, yymsp[-3].minor.yy992), NULL, yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } + case 323: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ +{ yymsp[-9].minor.yy490 = createIndexOption(pCxt, yymsp[-7].minor.yy502, releaseRawExprNode(pCxt, yymsp[-3].minor.yy490), NULL, yymsp[-1].minor.yy490, yymsp[0].minor.yy490); } break; - case 323: /* 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.yy992 = createIndexOption(pCxt, yymsp[-9].minor.yy364, releaseRawExprNode(pCxt, yymsp[-5].minor.yy992), releaseRawExprNode(pCxt, yymsp[-3].minor.yy992), yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } + case 324: /* 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.yy490 = createIndexOption(pCxt, yymsp[-9].minor.yy502, releaseRawExprNode(pCxt, yymsp[-5].minor.yy490), releaseRawExprNode(pCxt, yymsp[-3].minor.yy490), yymsp[-1].minor.yy490, yymsp[0].minor.yy490); } break; - case 326: /* func ::= sma_func_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy992 = createFunctionNode(pCxt, &yymsp[-3].minor.yy929, yymsp[-1].minor.yy364); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + case 327: /* func ::= sma_func_name NK_LP expression_list NK_RP */ +{ yylhsminor.yy490 = createFunctionNode(pCxt, &yymsp[-3].minor.yy561, yymsp[-1].minor.yy502); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 327: /* sma_func_name ::= function_name */ - case 552: /* alias_opt ::= table_alias */ yytestcase(yyruleno==552); -{ yylhsminor.yy929 = yymsp[0].minor.yy929; } - yymsp[0].minor.yy929 = yylhsminor.yy929; + case 328: /* sma_func_name ::= function_name */ + case 553: /* alias_opt ::= table_alias */ yytestcase(yyruleno==553); +{ yylhsminor.yy561 = yymsp[0].minor.yy561; } + yymsp[0].minor.yy561 = yylhsminor.yy561; break; - case 332: /* sma_stream_opt ::= */ - case 377: /* stream_options ::= */ yytestcase(yyruleno==377); -{ yymsp[1].minor.yy992 = createStreamOptions(pCxt); } + case 333: /* sma_stream_opt ::= */ + case 378: /* stream_options ::= */ yytestcase(yyruleno==378); +{ yymsp[1].minor.yy490 = createStreamOptions(pCxt); } break; - case 333: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy992)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy992); yylhsminor.yy992 = yymsp[-2].minor.yy992; } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 334: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ +{ ((SStreamOptions*)yymsp[-2].minor.yy490)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy490); yylhsminor.yy490 = yymsp[-2].minor.yy490; } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 334: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy992)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy992); yylhsminor.yy992 = yymsp[-2].minor.yy992; } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 335: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ +{ ((SStreamOptions*)yymsp[-2].minor.yy490)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy490); yylhsminor.yy490 = yymsp[-2].minor.yy490; } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 335: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy992)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy992); yylhsminor.yy992 = yymsp[-2].minor.yy992; } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 336: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ +{ ((SStreamOptions*)yymsp[-2].minor.yy490)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy490); yylhsminor.yy490 = yymsp[-2].minor.yy490; } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 336: /* with_meta ::= AS */ -{ yymsp[0].minor.yy40 = 0; } + case 337: /* with_meta ::= AS */ +{ yymsp[0].minor.yy774 = 0; } break; - case 337: /* with_meta ::= WITH META AS */ -{ yymsp[-2].minor.yy40 = 1; } + case 338: /* with_meta ::= WITH META AS */ +{ yymsp[-2].minor.yy774 = 1; } break; - case 338: /* with_meta ::= ONLY META AS */ -{ yymsp[-2].minor.yy40 = 2; } + case 339: /* with_meta ::= ONLY META AS */ +{ yymsp[-2].minor.yy774 = 2; } break; - case 339: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy437, &yymsp[-2].minor.yy929, yymsp[0].minor.yy992); } + case 340: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ +{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy845, &yymsp[-2].minor.yy561, yymsp[0].minor.yy490); } break; - case 340: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy437, &yymsp[-3].minor.yy929, &yymsp[0].minor.yy929, yymsp[-2].minor.yy40); } + case 341: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy845, &yymsp[-3].minor.yy561, &yymsp[0].minor.yy561, yymsp[-2].minor.yy774); } break; - case 341: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy437, &yymsp[-4].minor.yy929, yymsp[-1].minor.yy992, yymsp[-3].minor.yy40, yymsp[0].minor.yy992); } + case 342: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy845, &yymsp[-4].minor.yy561, yymsp[-1].minor.yy490, yymsp[-3].minor.yy774, yymsp[0].minor.yy490); } break; - case 342: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } + case 343: /* cmd ::= DROP TOPIC exists_opt topic_name */ +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy845, &yymsp[0].minor.yy561); } break; - case 343: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy437, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy929); } + case 344: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ +{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy845, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy561); } break; - case 344: /* cmd ::= DESC full_table_name */ - case 345: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==345); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy992); } + case 345: /* cmd ::= DESC full_table_name */ + case 346: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==346); +{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy490); } break; - case 346: /* cmd ::= RESET QUERY CACHE */ + case 347: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; - case 347: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - case 348: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==348); -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy437, yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } + case 348: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + case 349: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==349); +{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy845, yymsp[-1].minor.yy490, yymsp[0].minor.yy490); } break; - case 351: /* explain_options ::= */ -{ yymsp[1].minor.yy992 = createDefaultExplainOptions(pCxt); } + case 352: /* explain_options ::= */ +{ yymsp[1].minor.yy490 = createDefaultExplainOptions(pCxt); } break; - case 352: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy992 = setExplainVerbose(pCxt, yymsp[-2].minor.yy992, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 353: /* explain_options ::= explain_options VERBOSE NK_BOOL */ +{ yylhsminor.yy490 = setExplainVerbose(pCxt, yymsp[-2].minor.yy490, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 353: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy992 = setExplainRatio(pCxt, yymsp[-2].minor.yy992, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 354: /* explain_options ::= explain_options RATIO NK_FLOAT */ +{ yylhsminor.yy490 = setExplainRatio(pCxt, yymsp[-2].minor.yy490, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 354: /* cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ -{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy437, yymsp[-9].minor.yy437, &yymsp[-6].minor.yy929, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy184, yymsp[-1].minor.yy40, &yymsp[0].minor.yy929, yymsp[-10].minor.yy437); } + case 355: /* cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ +{ pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy845, yymsp[-9].minor.yy845, &yymsp[-6].minor.yy561, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy826, yymsp[-1].minor.yy774, &yymsp[0].minor.yy561, yymsp[-10].minor.yy845); } break; - case 355: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } + case 356: /* cmd ::= DROP FUNCTION exists_opt function_name */ +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy845, &yymsp[0].minor.yy561); } break; - case 360: /* language_opt ::= */ - case 399: /* on_vgroup_id ::= */ yytestcase(yyruleno==399); -{ yymsp[1].minor.yy929 = nil_token; } + case 361: /* language_opt ::= */ + case 400: /* on_vgroup_id ::= */ yytestcase(yyruleno==400); +{ yymsp[1].minor.yy561 = nil_token; } break; - case 361: /* language_opt ::= LANGUAGE NK_STRING */ - case 400: /* on_vgroup_id ::= ON NK_INTEGER */ yytestcase(yyruleno==400); -{ yymsp[-1].minor.yy929 = yymsp[0].minor.yy0; } + case 362: /* language_opt ::= LANGUAGE NK_STRING */ + case 401: /* on_vgroup_id ::= ON NK_INTEGER */ yytestcase(yyruleno==401); +{ yymsp[-1].minor.yy561 = yymsp[0].minor.yy0; } break; - case 364: /* cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateViewStmt(pCxt, yymsp[-4].minor.yy437, yymsp[-2].minor.yy992, &yymsp[-1].minor.yy0, yymsp[0].minor.yy992); } + case 365: /* cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ +{ pCxt->pRootNode = createCreateViewStmt(pCxt, yymsp[-4].minor.yy845, yymsp[-2].minor.yy490, &yymsp[-1].minor.yy0, yymsp[0].minor.yy490); } break; - case 365: /* cmd ::= DROP VIEW exists_opt full_view_name */ -{ pCxt->pRootNode = createDropViewStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy992); } + case 366: /* cmd ::= DROP VIEW exists_opt full_view_name */ +{ pCxt->pRootNode = createDropViewStmt(pCxt, yymsp[-1].minor.yy845, yymsp[0].minor.yy490); } break; - case 366: /* full_view_name ::= view_name */ -{ yylhsminor.yy992 = createViewNode(pCxt, NULL, &yymsp[0].minor.yy929); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 367: /* full_view_name ::= view_name */ +{ yylhsminor.yy490 = createViewNode(pCxt, NULL, &yymsp[0].minor.yy561); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 367: /* full_view_name ::= db_name NK_DOT view_name */ -{ yylhsminor.yy992 = createViewNode(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy929); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 368: /* full_view_name ::= db_name NK_DOT view_name */ +{ yylhsminor.yy490 = createViewNode(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy561); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 368: /* 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.yy437, &yymsp[-8].minor.yy929, yymsp[-5].minor.yy992, yymsp[-7].minor.yy992, yymsp[-3].minor.yy364, yymsp[-2].minor.yy992, yymsp[0].minor.yy992, yymsp[-4].minor.yy364); } + case 369: /* 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.yy845, &yymsp[-8].minor.yy561, yymsp[-5].minor.yy490, yymsp[-7].minor.yy490, yymsp[-3].minor.yy502, yymsp[-2].minor.yy490, yymsp[0].minor.yy490, yymsp[-4].minor.yy502); } break; - case 369: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } + case 370: /* cmd ::= DROP STREAM exists_opt stream_name */ +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy845, &yymsp[0].minor.yy561); } break; - case 370: /* cmd ::= PAUSE STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } + case 371: /* cmd ::= PAUSE STREAM exists_opt stream_name */ +{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy845, &yymsp[0].minor.yy561); } break; - case 371: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ -{ pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy437, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } + case 372: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ +{ pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy845, yymsp[-1].minor.yy845, &yymsp[0].minor.yy561); } break; - case 378: /* stream_options ::= stream_options TRIGGER AT_ONCE */ - case 379: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==379); -{ yylhsminor.yy992 = setStreamOptions(pCxt, yymsp[-2].minor.yy992, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 379: /* stream_options ::= stream_options TRIGGER AT_ONCE */ + case 380: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==380); +{ yylhsminor.yy490 = setStreamOptions(pCxt, yymsp[-2].minor.yy490, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 380: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ yylhsminor.yy992 = setStreamOptions(pCxt, yymsp[-3].minor.yy992, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy992)); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + case 381: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ +{ yylhsminor.yy490 = setStreamOptions(pCxt, yymsp[-3].minor.yy490, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy490)); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 381: /* stream_options ::= stream_options WATERMARK duration_literal */ -{ yylhsminor.yy992 = setStreamOptions(pCxt, yymsp[-2].minor.yy992, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy992)); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 382: /* stream_options ::= stream_options WATERMARK duration_literal */ +{ yylhsminor.yy490 = setStreamOptions(pCxt, yymsp[-2].minor.yy490, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy490)); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 382: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ -{ yylhsminor.yy992 = setStreamOptions(pCxt, yymsp[-3].minor.yy992, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + case 383: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ +{ yylhsminor.yy490 = setStreamOptions(pCxt, yymsp[-3].minor.yy490, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 383: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ -{ yylhsminor.yy992 = setStreamOptions(pCxt, yymsp[-2].minor.yy992, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 384: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ +{ yylhsminor.yy490 = setStreamOptions(pCxt, yymsp[-2].minor.yy490, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 384: /* stream_options ::= stream_options DELETE_MARK duration_literal */ -{ yylhsminor.yy992 = setStreamOptions(pCxt, yymsp[-2].minor.yy992, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy992)); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 385: /* stream_options ::= stream_options DELETE_MARK duration_literal */ +{ yylhsminor.yy490 = setStreamOptions(pCxt, yymsp[-2].minor.yy490, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy490)); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 385: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ -{ yylhsminor.yy992 = setStreamOptions(pCxt, yymsp[-3].minor.yy992, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + case 386: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ +{ yylhsminor.yy490 = setStreamOptions(pCxt, yymsp[-3].minor.yy490, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 387: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 590: /* sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ yytestcase(yyruleno==590); - case 614: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==614); -{ yymsp[-3].minor.yy992 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy992); } + case 388: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + case 591: /* sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ yytestcase(yyruleno==591); + case 615: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==615); +{ yymsp[-3].minor.yy490 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy490); } break; - case 390: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 391: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 391: /* cmd ::= KILL QUERY NK_STRING */ + case 392: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 392: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 393: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 393: /* cmd ::= KILL COMPACT NK_INTEGER */ + case 394: /* cmd ::= KILL COMPACT NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_COMPACT_STMT, &yymsp[0].minor.yy0); } break; - case 394: /* cmd ::= BALANCE VGROUP */ + case 395: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 395: /* cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ -{ pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt, &yymsp[0].minor.yy929); } + case 396: /* cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ +{ pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt, &yymsp[0].minor.yy561); } break; - case 396: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 397: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 397: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy364); } + case 398: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy502); } break; - case 398: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 399: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 401: /* dnode_list ::= DNODE NK_INTEGER */ -{ yymsp[-1].minor.yy364 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + case 402: /* dnode_list ::= DNODE NK_INTEGER */ +{ yymsp[-1].minor.yy502 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 403: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } + case 404: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy490, yymsp[0].minor.yy490); } break; - case 406: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ -{ yymsp[-6].minor.yy992 = createInsertStmt(pCxt, yymsp[-4].minor.yy992, yymsp[-2].minor.yy364, yymsp[0].minor.yy992); } + case 407: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ +{ yymsp[-6].minor.yy490 = createInsertStmt(pCxt, yymsp[-4].minor.yy490, yymsp[-2].minor.yy502, yymsp[0].minor.yy490); } break; - case 407: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ -{ yymsp[-3].minor.yy992 = createInsertStmt(pCxt, yymsp[-1].minor.yy992, NULL, yymsp[0].minor.yy992); } + case 408: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ +{ yymsp[-3].minor.yy490 = createInsertStmt(pCxt, yymsp[-1].minor.yy490, NULL, yymsp[0].minor.yy490); } break; - case 408: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 409: /* literal ::= NK_INTEGER */ +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 409: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 410: /* literal ::= NK_FLOAT */ +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 410: /* literal ::= NK_STRING */ -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 411: /* literal ::= NK_STRING */ +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 411: /* literal ::= NK_BOOL */ -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 412: /* literal ::= NK_BOOL */ +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 412: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + case 413: /* literal ::= TIMESTAMP NK_STRING */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 413: /* literal ::= duration_literal */ - case 423: /* signed_literal ::= signed */ yytestcase(yyruleno==423); - case 446: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==446); - case 447: /* expression ::= literal */ yytestcase(yyruleno==447); - case 449: /* expression ::= column_reference */ yytestcase(yyruleno==449); - case 450: /* expression ::= function_expression */ yytestcase(yyruleno==450); - case 451: /* expression ::= case_when_expression */ yytestcase(yyruleno==451); - case 484: /* function_expression ::= literal_func */ yytestcase(yyruleno==484); - case 533: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==533); - case 537: /* boolean_primary ::= predicate */ yytestcase(yyruleno==537); - case 539: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==539); - case 540: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==540); - case 543: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==543); - case 545: /* table_reference ::= table_primary */ yytestcase(yyruleno==545); - case 546: /* table_reference ::= joined_table */ yytestcase(yyruleno==546); - case 550: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==550); - case 616: /* query_simple ::= query_specification */ yytestcase(yyruleno==616); - case 617: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==617); - case 620: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==620); - case 622: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==622); -{ yylhsminor.yy992 = yymsp[0].minor.yy992; } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 414: /* literal ::= duration_literal */ + case 424: /* signed_literal ::= signed */ yytestcase(yyruleno==424); + case 447: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==447); + case 448: /* expression ::= literal */ yytestcase(yyruleno==448); + case 450: /* expression ::= column_reference */ yytestcase(yyruleno==450); + case 451: /* expression ::= function_expression */ yytestcase(yyruleno==451); + case 452: /* expression ::= case_when_expression */ yytestcase(yyruleno==452); + case 485: /* function_expression ::= literal_func */ yytestcase(yyruleno==485); + case 534: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==534); + case 538: /* boolean_primary ::= predicate */ yytestcase(yyruleno==538); + case 540: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==540); + case 541: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==541); + case 544: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==544); + case 546: /* table_reference ::= table_primary */ yytestcase(yyruleno==546); + case 547: /* table_reference ::= joined_table */ yytestcase(yyruleno==547); + case 551: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==551); + case 617: /* query_simple ::= query_specification */ yytestcase(yyruleno==617); + case 618: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==618); + case 621: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==621); + case 623: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==623); +{ yylhsminor.yy490 = yymsp[0].minor.yy490; } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 414: /* literal ::= NULL */ -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 415: /* literal ::= NULL */ +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 415: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 416: /* literal ::= NK_QUESTION */ +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 416: /* duration_literal ::= NK_VARIABLE */ - case 591: /* interval_sliding_duration_literal ::= NK_VARIABLE */ yytestcase(yyruleno==591); - case 592: /* interval_sliding_duration_literal ::= NK_STRING */ yytestcase(yyruleno==592); - case 593: /* interval_sliding_duration_literal ::= NK_INTEGER */ yytestcase(yyruleno==593); -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 417: /* duration_literal ::= NK_VARIABLE */ + case 592: /* interval_sliding_duration_literal ::= NK_VARIABLE */ yytestcase(yyruleno==592); + case 593: /* interval_sliding_duration_literal ::= NK_STRING */ yytestcase(yyruleno==593); + case 594: /* interval_sliding_duration_literal ::= NK_INTEGER */ yytestcase(yyruleno==594); +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 417: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 418: /* signed ::= NK_INTEGER */ +{ yylhsminor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 418: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + case 419: /* signed ::= NK_PLUS NK_INTEGER */ +{ yymsp[-1].minor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } break; - case 419: /* signed ::= NK_MINUS NK_INTEGER */ + case 420: /* 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.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 420: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 421: /* signed ::= NK_FLOAT */ +{ yylhsminor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 421: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + case 422: /* signed ::= NK_PLUS NK_FLOAT */ +{ yymsp[-1].minor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 422: /* signed ::= NK_MINUS NK_FLOAT */ + case 423: /* 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.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 424: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 425: /* signed_literal ::= NK_STRING */ +{ yylhsminor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 425: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 426: /* signed_literal ::= NK_BOOL */ +{ yylhsminor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 426: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + case 427: /* signed_literal ::= TIMESTAMP NK_STRING */ +{ yymsp[-1].minor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 427: /* signed_literal ::= duration_literal */ - case 429: /* signed_literal ::= literal_func */ yytestcase(yyruleno==429); - case 504: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==504); - case 570: /* select_item ::= common_expression */ yytestcase(yyruleno==570); - case 580: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==580); - case 621: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==621); - case 623: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==623); - case 636: /* search_condition ::= common_expression */ yytestcase(yyruleno==636); -{ yylhsminor.yy992 = releaseRawExprNode(pCxt, yymsp[0].minor.yy992); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 428: /* signed_literal ::= duration_literal */ + case 430: /* signed_literal ::= literal_func */ yytestcase(yyruleno==430); + case 505: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==505); + case 571: /* select_item ::= common_expression */ yytestcase(yyruleno==571); + case 581: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==581); + case 622: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==622); + case 624: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==624); + case 637: /* search_condition ::= common_expression */ yytestcase(yyruleno==637); +{ yylhsminor.yy490 = releaseRawExprNode(pCxt, yymsp[0].minor.yy490); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 428: /* signed_literal ::= NULL */ -{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 429: /* signed_literal ::= NULL */ +{ yylhsminor.yy490 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 430: /* signed_literal ::= NK_QUESTION */ -{ yylhsminor.yy992 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 431: /* signed_literal ::= NK_QUESTION */ +{ yylhsminor.yy490 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 448: /* expression ::= pseudo_column */ -{ yylhsminor.yy992 = yymsp[0].minor.yy992; setRawExprNodeIsPseudoColumn(pCxt, yylhsminor.yy992, true); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 449: /* expression ::= pseudo_column */ +{ yylhsminor.yy490 = yymsp[0].minor.yy490; setRawExprNodeIsPseudoColumn(pCxt, yylhsminor.yy490, true); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 452: /* expression ::= NK_LP expression NK_RP */ - case 538: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==538); - case 635: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==635); -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy992)); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 453: /* expression ::= NK_LP expression NK_RP */ + case 539: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==539); + case 636: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==636); +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy490)); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 453: /* expression ::= NK_PLUS expr_or_subquery */ + case 454: /* expression ::= NK_PLUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy992)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy490)); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 454: /* expression ::= NK_MINUS expr_or_subquery */ + case 455: /* expression ::= NK_MINUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy992), NULL)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy490), NULL)); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 455: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 456: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 456: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 457: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 457: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 458: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 458: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 459: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 459: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 460: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 460: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 461: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 461: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 462: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 462: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 463: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 465: /* column_reference ::= column_name */ -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy929, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy929)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 466: /* column_reference ::= column_name */ +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy561, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy561)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 466: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy929, createColumnNode(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy929)); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 467: /* column_reference ::= table_name NK_DOT column_name */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy561, createColumnNode(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy561)); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 467: /* column_reference ::= NK_ALIAS */ -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 468: /* column_reference ::= NK_ALIAS */ +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 468: /* column_reference ::= table_name NK_DOT NK_ALIAS */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy0, createColumnNode(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 469: /* column_reference ::= table_name NK_DOT NK_ALIAS */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy0, createColumnNode(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 469: /* pseudo_column ::= ROWTS */ - case 470: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==470); - case 472: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==472); - case 473: /* pseudo_column ::= QEND */ yytestcase(yyruleno==473); - case 474: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==474); - case 475: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==475); - case 476: /* pseudo_column ::= WEND */ yytestcase(yyruleno==476); - case 477: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==477); - case 478: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==478); - case 479: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==479); - case 480: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==480); - case 486: /* literal_func ::= NOW */ yytestcase(yyruleno==486); -{ yylhsminor.yy992 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 470: /* pseudo_column ::= ROWTS */ + case 471: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==471); + case 473: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==473); + case 474: /* pseudo_column ::= QEND */ yytestcase(yyruleno==474); + case 475: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==475); + case 476: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==476); + case 477: /* pseudo_column ::= WEND */ yytestcase(yyruleno==477); + case 478: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==478); + case 479: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==479); + case 480: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==480); + case 481: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==481); + case 487: /* literal_func ::= NOW */ yytestcase(yyruleno==487); +{ yylhsminor.yy490 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 471: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy929)))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 472: /* pseudo_column ::= table_name NK_DOT TBNAME */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy561)))); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 481: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 482: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==482); -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy929, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy929, yymsp[-1].minor.yy364)); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + case 482: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 483: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==483); +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy561, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy561, yymsp[-1].minor.yy502)); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 483: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy992), yymsp[-1].minor.yy184)); } - yymsp[-5].minor.yy992 = yylhsminor.yy992; + case 484: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy490), yymsp[-1].minor.yy826)); } + yymsp[-5].minor.yy490 = yylhsminor.yy490; break; - case 485: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy929, NULL)); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 486: /* literal_func ::= noarg_func NK_LP NK_RP */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy561, NULL)); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 500: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy364 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy364 = yylhsminor.yy364; + case 501: /* star_func_para_list ::= NK_STAR */ +{ yylhsminor.yy502 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy502 = yylhsminor.yy502; break; - case 505: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 573: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==573); -{ yylhsminor.yy992 = createColumnNode(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 506: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 574: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==574); +{ yylhsminor.yy490 = createColumnNode(pCxt, &yymsp[-2].minor.yy561, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 506: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy364, yymsp[-1].minor.yy992)); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + case 507: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy502, yymsp[-1].minor.yy490)); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 507: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy992), yymsp[-2].minor.yy364, yymsp[-1].minor.yy992)); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; + case 508: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy490), yymsp[-2].minor.yy502, yymsp[-1].minor.yy490)); } + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; - case 510: /* when_then_expr ::= WHEN common_expression THEN common_expression */ -{ yymsp[-3].minor.yy992 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992)); } + case 511: /* when_then_expr ::= WHEN common_expression THEN common_expression */ +{ yymsp[-3].minor.yy490 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490)); } break; - case 512: /* case_when_else_opt ::= ELSE common_expression */ -{ yymsp[-1].minor.yy992 = releaseRawExprNode(pCxt, yymsp[0].minor.yy992); } + case 513: /* case_when_else_opt ::= ELSE common_expression */ +{ yymsp[-1].minor.yy490 = releaseRawExprNode(pCxt, yymsp[0].minor.yy490); } break; - case 513: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 518: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==518); + case 514: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 519: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==519); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy20, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy30, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 514: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 515: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy992), releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy490), releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-4].minor.yy992 = yylhsminor.yy992; + yymsp[-4].minor.yy490 = yylhsminor.yy490; break; - case 515: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 516: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy992), releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy490), releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-5].minor.yy992 = yylhsminor.yy992; + yymsp[-5].minor.yy490 = yylhsminor.yy490; break; - case 516: /* predicate ::= expr_or_subquery IS NULL */ + case 517: /* predicate ::= expr_or_subquery IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), NULL)); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 517: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 518: /* predicate ::= expr_or_subquery IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy992), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy490), NULL)); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 519: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy20 = OP_TYPE_LOWER_THAN; } + case 520: /* compare_op ::= NK_LT */ +{ yymsp[0].minor.yy30 = OP_TYPE_LOWER_THAN; } break; - case 520: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy20 = OP_TYPE_GREATER_THAN; } + case 521: /* compare_op ::= NK_GT */ +{ yymsp[0].minor.yy30 = OP_TYPE_GREATER_THAN; } break; - case 521: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy20 = OP_TYPE_LOWER_EQUAL; } + case 522: /* compare_op ::= NK_LE */ +{ yymsp[0].minor.yy30 = OP_TYPE_LOWER_EQUAL; } break; - case 522: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy20 = OP_TYPE_GREATER_EQUAL; } + case 523: /* compare_op ::= NK_GE */ +{ yymsp[0].minor.yy30 = OP_TYPE_GREATER_EQUAL; } break; - case 523: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy20 = OP_TYPE_NOT_EQUAL; } + case 524: /* compare_op ::= NK_NE */ +{ yymsp[0].minor.yy30 = OP_TYPE_NOT_EQUAL; } break; - case 524: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy20 = OP_TYPE_EQUAL; } + case 525: /* compare_op ::= NK_EQ */ +{ yymsp[0].minor.yy30 = OP_TYPE_EQUAL; } break; - case 525: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy20 = OP_TYPE_LIKE; } + case 526: /* compare_op ::= LIKE */ +{ yymsp[0].minor.yy30 = OP_TYPE_LIKE; } break; - case 526: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy20 = OP_TYPE_NOT_LIKE; } + case 527: /* compare_op ::= NOT LIKE */ +{ yymsp[-1].minor.yy30 = OP_TYPE_NOT_LIKE; } break; - case 527: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy20 = OP_TYPE_MATCH; } + case 528: /* compare_op ::= MATCH */ +{ yymsp[0].minor.yy30 = OP_TYPE_MATCH; } break; - case 528: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy20 = OP_TYPE_NMATCH; } + case 529: /* compare_op ::= NMATCH */ +{ yymsp[0].minor.yy30 = OP_TYPE_NMATCH; } break; - case 529: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy20 = OP_TYPE_JSON_CONTAINS; } + case 530: /* compare_op ::= CONTAINS */ +{ yymsp[0].minor.yy30 = OP_TYPE_JSON_CONTAINS; } break; - case 530: /* in_op ::= IN */ -{ yymsp[0].minor.yy20 = OP_TYPE_IN; } + case 531: /* in_op ::= IN */ +{ yymsp[0].minor.yy30 = OP_TYPE_IN; } break; - case 531: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy20 = OP_TYPE_NOT_IN; } + case 532: /* in_op ::= NOT IN */ +{ yymsp[-1].minor.yy30 = OP_TYPE_NOT_IN; } break; - case 532: /* in_predicate_value ::= NK_LP literal_list NK_RP */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy364)); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 533: /* in_predicate_value ::= NK_LP literal_list NK_RP */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy502)); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 534: /* boolean_value_expression ::= NOT boolean_primary */ + case 535: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy992), NULL)); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy490), NULL)); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 535: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 536: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 536: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 537: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy992); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); - yylhsminor.yy992 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy490); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy490); + yylhsminor.yy490 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 544: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy992 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy992, yymsp[0].minor.yy992, NULL); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 545: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ +{ yylhsminor.yy490 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy490, yymsp[0].minor.yy490, NULL); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 547: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy992 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy929, &yymsp[0].minor.yy929); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + case 548: /* table_primary ::= table_name alias_opt */ +{ yylhsminor.yy490 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy561, &yymsp[0].minor.yy561); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 548: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy992 = createRealTableNode(pCxt, &yymsp[-3].minor.yy929, &yymsp[-1].minor.yy929, &yymsp[0].minor.yy929); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + case 549: /* table_primary ::= db_name NK_DOT table_name alias_opt */ +{ yylhsminor.yy490 = createRealTableNode(pCxt, &yymsp[-3].minor.yy561, &yymsp[-1].minor.yy561, &yymsp[0].minor.yy561); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 549: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy992 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy992), &yymsp[0].minor.yy929); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + case 550: /* table_primary ::= subquery alias_opt */ +{ yylhsminor.yy490 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy490), &yymsp[0].minor.yy561); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 551: /* alias_opt ::= */ -{ yymsp[1].minor.yy929 = nil_token; } + case 552: /* alias_opt ::= */ +{ yymsp[1].minor.yy561 = nil_token; } break; - case 553: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy929 = yymsp[0].minor.yy929; } + case 554: /* alias_opt ::= AS table_alias */ +{ yymsp[-1].minor.yy561 = yymsp[0].minor.yy561; } break; - case 554: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 555: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==555); -{ yymsp[-2].minor.yy992 = yymsp[-1].minor.yy992; } + case 555: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 556: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==556); +{ yymsp[-2].minor.yy490 = yymsp[-1].minor.yy490; } break; - case 556: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy992 = createJoinTableNode(pCxt, yymsp[-4].minor.yy732, yymsp[-5].minor.yy992, yymsp[-2].minor.yy992, yymsp[0].minor.yy992); } - yymsp[-5].minor.yy992 = yylhsminor.yy992; + case 557: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ +{ yylhsminor.yy490 = createJoinTableNode(pCxt, yymsp[-4].minor.yy246, yymsp[-5].minor.yy490, yymsp[-2].minor.yy490, yymsp[0].minor.yy490); } + yymsp[-5].minor.yy490 = yylhsminor.yy490; break; - case 557: /* join_type ::= */ -{ yymsp[1].minor.yy732 = JOIN_TYPE_INNER; } + case 558: /* join_type ::= */ +{ yymsp[1].minor.yy246 = JOIN_TYPE_INNER; } break; - case 558: /* join_type ::= INNER */ -{ yymsp[0].minor.yy732 = JOIN_TYPE_INNER; } + case 559: /* join_type ::= INNER */ +{ yymsp[0].minor.yy246 = JOIN_TYPE_INNER; } break; - case 559: /* query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_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 560: /* query_specification ::= SELECT hint_list set_quantifier_opt tag_mode_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[-13].minor.yy992 = createSelectStmt(pCxt, yymsp[-11].minor.yy437, yymsp[-9].minor.yy364, yymsp[-8].minor.yy992, yymsp[-12].minor.yy364); - yymsp[-13].minor.yy992 = setSelectStmtTagMode(pCxt, yymsp[-13].minor.yy992, yymsp[-10].minor.yy437); - yymsp[-13].minor.yy992 = addWhereClause(pCxt, yymsp[-13].minor.yy992, yymsp[-7].minor.yy992); - yymsp[-13].minor.yy992 = addPartitionByClause(pCxt, yymsp[-13].minor.yy992, yymsp[-6].minor.yy364); - yymsp[-13].minor.yy992 = addWindowClauseClause(pCxt, yymsp[-13].minor.yy992, yymsp[-2].minor.yy992); - yymsp[-13].minor.yy992 = addGroupByClause(pCxt, yymsp[-13].minor.yy992, yymsp[-1].minor.yy364); - yymsp[-13].minor.yy992 = addHavingClause(pCxt, yymsp[-13].minor.yy992, yymsp[0].minor.yy992); - yymsp[-13].minor.yy992 = addRangeClause(pCxt, yymsp[-13].minor.yy992, yymsp[-5].minor.yy992); - yymsp[-13].minor.yy992 = addEveryClause(pCxt, yymsp[-13].minor.yy992, yymsp[-4].minor.yy992); - yymsp[-13].minor.yy992 = addFillClause(pCxt, yymsp[-13].minor.yy992, yymsp[-3].minor.yy992); + yymsp[-13].minor.yy490 = createSelectStmt(pCxt, yymsp[-11].minor.yy845, yymsp[-9].minor.yy502, yymsp[-8].minor.yy490, yymsp[-12].minor.yy502); + yymsp[-13].minor.yy490 = setSelectStmtTagMode(pCxt, yymsp[-13].minor.yy490, yymsp[-10].minor.yy845); + yymsp[-13].minor.yy490 = addWhereClause(pCxt, yymsp[-13].minor.yy490, yymsp[-7].minor.yy490); + yymsp[-13].minor.yy490 = addPartitionByClause(pCxt, yymsp[-13].minor.yy490, yymsp[-6].minor.yy502); + yymsp[-13].minor.yy490 = addWindowClauseClause(pCxt, yymsp[-13].minor.yy490, yymsp[-2].minor.yy490); + yymsp[-13].minor.yy490 = addGroupByClause(pCxt, yymsp[-13].minor.yy490, yymsp[-1].minor.yy502); + yymsp[-13].minor.yy490 = addHavingClause(pCxt, yymsp[-13].minor.yy490, yymsp[0].minor.yy490); + yymsp[-13].minor.yy490 = addRangeClause(pCxt, yymsp[-13].minor.yy490, yymsp[-5].minor.yy490); + yymsp[-13].minor.yy490 = addEveryClause(pCxt, yymsp[-13].minor.yy490, yymsp[-4].minor.yy490); + yymsp[-13].minor.yy490 = addFillClause(pCxt, yymsp[-13].minor.yy490, yymsp[-3].minor.yy490); } break; - case 560: /* hint_list ::= */ -{ yymsp[1].minor.yy364 = createHintNodeList(pCxt, NULL); } + case 561: /* hint_list ::= */ +{ yymsp[1].minor.yy502 = createHintNodeList(pCxt, NULL); } break; - case 561: /* hint_list ::= NK_HINT */ -{ yylhsminor.yy364 = createHintNodeList(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy364 = yylhsminor.yy364; + case 562: /* hint_list ::= NK_HINT */ +{ yylhsminor.yy502 = createHintNodeList(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy502 = yylhsminor.yy502; break; - case 566: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy437 = false; } + case 567: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy845 = false; } break; - case 569: /* select_item ::= NK_STAR */ -{ yylhsminor.yy992 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy992 = yylhsminor.yy992; + case 570: /* select_item ::= NK_STAR */ +{ yylhsminor.yy490 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy490 = yylhsminor.yy490; break; - case 571: /* select_item ::= common_expression column_alias */ - case 581: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==581); -{ yylhsminor.yy992 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy992), &yymsp[0].minor.yy929); } - yymsp[-1].minor.yy992 = yylhsminor.yy992; + case 572: /* select_item ::= common_expression column_alias */ + case 582: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==582); +{ yylhsminor.yy490 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy490), &yymsp[0].minor.yy561); } + yymsp[-1].minor.yy490 = yylhsminor.yy490; break; - case 572: /* select_item ::= common_expression AS column_alias */ - case 582: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==582); -{ yylhsminor.yy992 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), &yymsp[0].minor.yy929); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 573: /* select_item ::= common_expression AS column_alias */ + case 583: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==583); +{ yylhsminor.yy490 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), &yymsp[0].minor.yy561); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 577: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 605: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==605); - case 625: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==625); -{ yymsp[-2].minor.yy364 = yymsp[0].minor.yy364; } + case 578: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 606: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==606); + case 626: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==626); +{ yymsp[-2].minor.yy502 = yymsp[0].minor.yy502; } break; - case 584: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */ -{ yymsp[-5].minor.yy992 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy992), releaseRawExprNode(pCxt, yymsp[-1].minor.yy992)); } + case 585: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */ +{ yymsp[-5].minor.yy490 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy490), releaseRawExprNode(pCxt, yymsp[-1].minor.yy490)); } break; - case 585: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy992 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy992)); } + case 586: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy490 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy490)); } break; - case 586: /* twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy992 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy992), NULL, yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } + case 587: /* twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-5].minor.yy490 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy490), NULL, yymsp[-1].minor.yy490, yymsp[0].minor.yy490); } break; - case 587: /* twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy992 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy992), releaseRawExprNode(pCxt, yymsp[-3].minor.yy992), yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } + case 588: /* twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-7].minor.yy490 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy490), releaseRawExprNode(pCxt, yymsp[-3].minor.yy490), yymsp[-1].minor.yy490, yymsp[0].minor.yy490); } break; - case 588: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ -{ yymsp[-6].minor.yy992 = createEventWindowNode(pCxt, yymsp[-3].minor.yy992, yymsp[0].minor.yy992); } + case 589: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ +{ yymsp[-6].minor.yy490 = createEventWindowNode(pCxt, yymsp[-3].minor.yy490, yymsp[0].minor.yy490); } break; - case 595: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy992 = createFillNode(pCxt, yymsp[-1].minor.yy114, NULL); } + case 596: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy490 = createFillNode(pCxt, yymsp[-1].minor.yy718, NULL); } break; - case 596: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ -{ yymsp[-5].minor.yy992 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy364)); } + case 597: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ +{ yymsp[-5].minor.yy490 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy502)); } break; - case 597: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ -{ yymsp[-5].minor.yy992 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy364)); } + case 598: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ +{ yymsp[-5].minor.yy490 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy502)); } break; - case 598: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy114 = FILL_MODE_NONE; } + case 599: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy718 = FILL_MODE_NONE; } break; - case 599: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy114 = FILL_MODE_PREV; } + case 600: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy718 = FILL_MODE_PREV; } break; - case 600: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy114 = FILL_MODE_NULL; } + case 601: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy718 = FILL_MODE_NULL; } break; - case 601: /* fill_mode ::= NULL_F */ -{ yymsp[0].minor.yy114 = FILL_MODE_NULL_F; } + case 602: /* fill_mode ::= NULL_F */ +{ yymsp[0].minor.yy718 = FILL_MODE_NULL_F; } break; - case 602: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy114 = FILL_MODE_LINEAR; } + case 603: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy718 = FILL_MODE_LINEAR; } break; - case 603: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy114 = FILL_MODE_NEXT; } + case 604: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy718 = FILL_MODE_NEXT; } break; - case 606: /* group_by_list ::= expr_or_subquery */ -{ yylhsminor.yy364 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); } - yymsp[0].minor.yy364 = yylhsminor.yy364; + case 607: /* group_by_list ::= expr_or_subquery */ +{ yylhsminor.yy502 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } + yymsp[0].minor.yy502 = yylhsminor.yy502; break; - case 607: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ -{ yylhsminor.yy364 = addNodeToList(pCxt, yymsp[-2].minor.yy364, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy992))); } - yymsp[-2].minor.yy364 = yylhsminor.yy364; + case 608: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ +{ yylhsminor.yy502 = addNodeToList(pCxt, yymsp[-2].minor.yy502, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy490))); } + yymsp[-2].minor.yy502 = yylhsminor.yy502; break; - case 611: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ -{ yymsp[-5].minor.yy992 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy992), releaseRawExprNode(pCxt, yymsp[-1].minor.yy992)); } + case 612: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ +{ yymsp[-5].minor.yy490 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy490), releaseRawExprNode(pCxt, yymsp[-1].minor.yy490)); } break; - case 612: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy992 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy992)); } + case 613: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy490 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy490)); } break; - case 615: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 616: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy992 = addOrderByClause(pCxt, yymsp[-3].minor.yy992, yymsp[-2].minor.yy364); - yylhsminor.yy992 = addSlimitClause(pCxt, yylhsminor.yy992, yymsp[-1].minor.yy992); - yylhsminor.yy992 = addLimitClause(pCxt, yylhsminor.yy992, yymsp[0].minor.yy992); + yylhsminor.yy490 = addOrderByClause(pCxt, yymsp[-3].minor.yy490, yymsp[-2].minor.yy502); + yylhsminor.yy490 = addSlimitClause(pCxt, yylhsminor.yy490, yymsp[-1].minor.yy490); + yylhsminor.yy490 = addLimitClause(pCxt, yylhsminor.yy490, yymsp[0].minor.yy490); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 618: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ -{ yylhsminor.yy992 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy992, yymsp[0].minor.yy992); } - yymsp[-3].minor.yy992 = yylhsminor.yy992; + case 619: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ +{ yylhsminor.yy490 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy490, yymsp[0].minor.yy490); } + yymsp[-3].minor.yy490 = yylhsminor.yy490; break; - case 619: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ -{ yylhsminor.yy992 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy992, yymsp[0].minor.yy992); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 620: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ +{ yylhsminor.yy490 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy490, yymsp[0].minor.yy490); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 627: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 631: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==631); -{ yymsp[-1].minor.yy992 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + case 628: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 632: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==632); +{ yymsp[-1].minor.yy490 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 628: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 632: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==632); -{ yymsp[-3].minor.yy992 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + case 629: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 633: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==633); +{ yymsp[-3].minor.yy490 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 629: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 633: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==633); -{ yymsp[-3].minor.yy992 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + case 630: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 634: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==634); +{ yymsp[-3].minor.yy490 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 634: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy992); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 635: /* subquery ::= NK_LP query_expression NK_RP */ +{ yylhsminor.yy490 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy490); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 639: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy992 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy992), yymsp[-1].minor.yy938, yymsp[0].minor.yy517); } - yymsp[-2].minor.yy992 = yylhsminor.yy992; + case 640: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ +{ yylhsminor.yy490 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy490), yymsp[-1].minor.yy876, yymsp[0].minor.yy361); } + yymsp[-2].minor.yy490 = yylhsminor.yy490; break; - case 640: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy938 = ORDER_ASC; } + case 641: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy876 = ORDER_ASC; } break; - case 641: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy938 = ORDER_ASC; } + case 642: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy876 = ORDER_ASC; } break; - case 642: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy938 = ORDER_DESC; } + case 643: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy876 = ORDER_DESC; } break; - case 643: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy517 = NULL_ORDER_DEFAULT; } + case 644: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy361 = NULL_ORDER_DEFAULT; } break; - case 644: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy517 = NULL_ORDER_FIRST; } + case 645: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy361 = NULL_ORDER_FIRST; } break; - case 645: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy517 = NULL_ORDER_LAST; } + case 646: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy361 = NULL_ORDER_LAST; } break; default: break;