From 76558da849018cd414b3a72eab02edd5e84f4549 Mon Sep 17 00:00:00 2001 From: kailixu Date: Thu, 18 Jan 2024 15:23:38 +0800 Subject: [PATCH] feat: support uniq grant --- include/common/systable.h | 2 + include/common/tmsg.h | 4 + include/common/ttokendef.h | 378 +- source/common/src/systable.c | 14 + source/dnode/mnode/impl/inc/mndDef.h | 66 + source/dnode/mnode/impl/inc/mndGrant.h | 27 +- source/dnode/mnode/impl/src/mndGrant.c | 64 +- source/dnode/mnode/impl/src/mndShow.c | 4 + source/dnode/mnode/sdb/inc/sdb.h | 3 +- source/libs/nodes/src/nodesCodeFuncs.c | 6 +- source/libs/nodes/src/nodesUtilFuncs.c | 6 +- source/libs/parser/inc/sql.y | 2 + source/libs/parser/src/parAstParser.c | 14 + source/libs/parser/src/parAuthenticator.c | 2 + source/libs/parser/src/parTranslater.c | 16 +- source/libs/parser/src/sql.c | 7714 +++++++++++---------- 16 files changed, 4239 insertions(+), 4083 deletions(-) diff --git a/include/common/systable.h b/include/common/systable.h index 92e7915424..49002b0689 100644 --- a/include/common/systable.h +++ b/include/common/systable.h @@ -52,6 +52,8 @@ extern "C" { #define TSDB_INS_TABLE_VIEWS "ins_views" #define TSDB_INS_TABLE_COMPACTS "ins_compacts" #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_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 aab2cb4492..8f1dc6fcba 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -147,6 +147,8 @@ typedef enum _mgmt_table { TSDB_MGMT_TABLE_VIEWS, TSDB_MGMT_TABLE_COMPACT, TSDB_MGMT_TABLE_COMPACT_DETAIL, + TSDB_MGMT_TABLE_GRANTS_FULL, + TSDB_MGMT_TABLE_GRANTS_LOG, TSDB_MGMT_TABLE_MAX, } EShowType; @@ -360,6 +362,8 @@ typedef enum ENodeType { QUERY_NODE_SHOW_VIEWS_STMT, QUERY_NODE_SHOW_COMPACTS_STMT, QUERY_NODE_SHOW_COMPACT_DETAILS_STMT, + QUERY_NODE_SHOW_GRANTS_FULL_STMT, + QUERY_NODE_SHOW_GRANTS_LOG_STMT, // logic plan node QUERY_NODE_LOGIC_PLAN_SCAN = 1000, diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index 2ae9a5c050..7c04d77a7b 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -175,194 +175,196 @@ #define TK_CONNECTIONS 156 #define TK_LICENCES 157 #define TK_GRANTS 158 -#define TK_QUERIES 159 -#define TK_SCORES 160 -#define TK_TOPICS 161 -#define TK_VARIABLES 162 -#define TK_BNODES 163 -#define TK_SNODES 164 -#define TK_TRANSACTIONS 165 -#define TK_DISTRIBUTED 166 -#define TK_CONSUMERS 167 -#define TK_SUBSCRIPTIONS 168 -#define TK_VNODES 169 -#define TK_ALIVE 170 -#define TK_VIEWS 171 -#define TK_VIEW 172 -#define TK_COMPACTS 173 -#define TK_NORMAL 174 -#define TK_CHILD 175 -#define TK_LIKE 176 -#define TK_TBNAME 177 -#define TK_QTAGS 178 -#define TK_AS 179 -#define TK_SYSTEM 180 -#define TK_INDEX 181 -#define TK_FUNCTION 182 -#define TK_INTERVAL 183 -#define TK_COUNT 184 -#define TK_LAST_ROW 185 -#define TK_META 186 -#define TK_ONLY 187 -#define TK_TOPIC 188 -#define TK_CONSUMER 189 -#define TK_GROUP 190 -#define TK_DESC 191 -#define TK_DESCRIBE 192 -#define TK_RESET 193 -#define TK_QUERY 194 -#define TK_CACHE 195 -#define TK_EXPLAIN 196 -#define TK_ANALYZE 197 -#define TK_VERBOSE 198 -#define TK_NK_BOOL 199 -#define TK_RATIO 200 -#define TK_NK_FLOAT 201 -#define TK_OUTPUTTYPE 202 -#define TK_AGGREGATE 203 -#define TK_BUFSIZE 204 -#define TK_LANGUAGE 205 -#define TK_REPLACE 206 -#define TK_STREAM 207 -#define TK_INTO 208 -#define TK_PAUSE 209 -#define TK_RESUME 210 -#define TK_TRIGGER 211 -#define TK_AT_ONCE 212 -#define TK_WINDOW_CLOSE 213 -#define TK_IGNORE 214 -#define TK_EXPIRED 215 -#define TK_FILL_HISTORY 216 -#define TK_UPDATE 217 -#define TK_SUBTABLE 218 -#define TK_UNTREATED 219 -#define TK_KILL 220 -#define TK_CONNECTION 221 -#define TK_TRANSACTION 222 -#define TK_BALANCE 223 -#define TK_VGROUP 224 -#define TK_LEADER 225 -#define TK_MERGE 226 -#define TK_REDISTRIBUTE 227 -#define TK_SPLIT 228 -#define TK_DELETE 229 -#define TK_INSERT 230 -#define TK_NULL 231 -#define TK_NK_QUESTION 232 -#define TK_NK_ALIAS 233 -#define TK_NK_ARROW 234 -#define TK_ROWTS 235 -#define TK_QSTART 236 -#define TK_QEND 237 -#define TK_QDURATION 238 -#define TK_WSTART 239 -#define TK_WEND 240 -#define TK_WDURATION 241 -#define TK_IROWTS 242 -#define TK_ISFILLED 243 -#define TK_CAST 244 -#define TK_NOW 245 -#define TK_TODAY 246 -#define TK_TIMEZONE 247 -#define TK_CLIENT_VERSION 248 -#define TK_SERVER_VERSION 249 -#define TK_SERVER_STATUS 250 -#define TK_CURRENT_USER 251 -#define TK_CASE 252 -#define TK_WHEN 253 -#define TK_THEN 254 -#define TK_ELSE 255 -#define TK_BETWEEN 256 -#define TK_IS 257 -#define TK_NK_LT 258 -#define TK_NK_GT 259 -#define TK_NK_LE 260 -#define TK_NK_GE 261 -#define TK_NK_NE 262 -#define TK_MATCH 263 -#define TK_NMATCH 264 -#define TK_CONTAINS 265 -#define TK_IN 266 -#define TK_JOIN 267 -#define TK_INNER 268 -#define TK_SELECT 269 -#define TK_NK_HINT 270 -#define TK_DISTINCT 271 -#define TK_WHERE 272 -#define TK_PARTITION 273 -#define TK_BY 274 -#define TK_SESSION 275 -#define TK_STATE_WINDOW 276 -#define TK_EVENT_WINDOW 277 -#define TK_SLIDING 278 -#define TK_FILL 279 -#define TK_VALUE 280 -#define TK_VALUE_F 281 -#define TK_NONE 282 -#define TK_PREV 283 -#define TK_NULL_F 284 -#define TK_LINEAR 285 -#define TK_NEXT 286 -#define TK_HAVING 287 -#define TK_RANGE 288 -#define TK_EVERY 289 -#define TK_ORDER 290 -#define TK_SLIMIT 291 -#define TK_SOFFSET 292 -#define TK_LIMIT 293 -#define TK_OFFSET 294 -#define TK_ASC 295 -#define TK_NULLS 296 -#define TK_ABORT 297 -#define TK_AFTER 298 -#define TK_ATTACH 299 -#define TK_BEFORE 300 -#define TK_BEGIN 301 -#define TK_BITAND 302 -#define TK_BITNOT 303 -#define TK_BITOR 304 -#define TK_BLOCKS 305 -#define TK_CHANGE 306 -#define TK_COMMA 307 -#define TK_CONCAT 308 -#define TK_CONFLICT 309 -#define TK_COPY 310 -#define TK_DEFERRED 311 -#define TK_DELIMITERS 312 -#define TK_DETACH 313 -#define TK_DIVIDE 314 -#define TK_DOT 315 -#define TK_EACH 316 -#define TK_FAIL 317 -#define TK_FILE 318 -#define TK_FOR 319 -#define TK_GLOB 320 -#define TK_ID 321 -#define TK_IMMEDIATE 322 -#define TK_IMPORT 323 -#define TK_INITIALLY 324 -#define TK_INSTEAD 325 -#define TK_ISNULL 326 -#define TK_KEY 327 -#define TK_MODULES 328 -#define TK_NK_BITNOT 329 -#define TK_NK_SEMI 330 -#define TK_NOTNULL 331 -#define TK_OF 332 -#define TK_PLUS 333 -#define TK_PRIVILEGE 334 -#define TK_RAISE 335 -#define TK_RESTRICT 336 -#define TK_ROW 337 -#define TK_SEMI 338 -#define TK_STAR 339 -#define TK_STATEMENT 340 -#define TK_STRICT 341 -#define TK_STRING 342 -#define TK_TIMES 343 -#define TK_VALUES 344 -#define TK_VARIABLE 345 -#define TK_WAL 346 +#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_NK_SPACE 600 #define TK_NK_COMMENT 601 diff --git a/source/common/src/systable.c b/source/common/src/systable.c index abe7064fc0..27234e7222 100644 --- a/source/common/src/systable.c +++ b/source/common/src/systable.c @@ -353,6 +353,18 @@ static const SSysDbTableSchema userCompactsDetailSchema[] = { {.name = "start_time", .bytes = 8, .type = TSDB_DATA_TYPE_TIMESTAMP, .sysInfo = false}, }; +static const SSysDbTableSchema useGrantsFullSchema[] = { + {.name = "grant_name", .bytes = 32 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_INT, .sysInfo = true}, + {.name = "display_name", .bytes = 256 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = true}, + {.name = "limit", .bytes = 512 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = true}, +}; + +static const SSysDbTableSchema useGrantsLogSchema[] = { + {.name = "state", .bytes = 1536 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_INT, .sysInfo = true}, + {.name = "active", .bytes = 512 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = true}, + {.name = "machine", .bytes = 6016 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = true}, +}; + static const SSysTableMeta infosMeta[] = { {TSDB_INS_TABLE_DNODES, dnodesSchema, tListLen(dnodesSchema), true}, {TSDB_INS_TABLE_MNODES, mnodesSchema, tListLen(mnodesSchema), true}, @@ -382,6 +394,8 @@ static const SSysTableMeta infosMeta[] = { {TSDB_INS_TABLE_VIEWS, userViewsSchema, tListLen(userViewsSchema), false}, {TSDB_INS_TABLE_COMPACTS, userCompactsSchema, tListLen(userCompactsSchema), false}, {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}, }; static const SSysDbTableSchema connectionsSchema[] = { diff --git a/source/dnode/mnode/impl/inc/mndDef.h b/source/dnode/mnode/impl/inc/mndDef.h index 4701f54d9a..14e18bb5d9 100644 --- a/source/dnode/mnode/impl/inc/mndDef.h +++ b/source/dnode/mnode/impl/inc/mndDef.h @@ -768,6 +768,72 @@ typedef struct { SArray* compactDetail; } SCompactObj; +// SGrantObj +typedef enum { + GRANT_STATE_UNGRANTED = 0, + GRANT_STATE_GRANTED = 1, + GRANT_STATE_EXPIRED = 2, + GRANT_STATE_REVOKED = 3, +} EGrantState; + +typedef enum { + GRANT_STATE_REASON_ALTER = 0, // alter activeCode 'revoked' or 'xxx' + GRANT_STATE_REASON_MISMATCH = 1, // dnode machine mismatch + GRANT_STATE_REASON_EXPIRE = 2, // expire +} EGrantStateReason; + +#define GRANT_STATE_NUM 30 +#define GRANT_ACTIVE_NUM 10 +#define GRANT_ACTIVE_LEN 30 + +typedef struct { + union { + int64_t u0; + struct { + int64_t ts : 36; + int64_t reserve : 4; + int64_t lastState : 8; + int64_t state : 8; + int64_t reason : 8; + }; + }; +} SGrantState; + +typedef struct { + union { + int64_t u0; + struct { + int64_t ts : 36; + int64_t reserve : 28; + }; + }; + char active[GRANT_ACTIVE_LEN + 1]; +} SGrantActive; + +typedef struct { + union { + int64_t u0; + struct { + int64_t ts : 36; + int64_t reserve : 4; + int64_t id : 24; + }; + }; + uint16_t port; + char fqdn[TSDB_FQDN_LEN]; + char machine[TSDB_MACHINE_ID_LEN + 1]; +} SGrantMachine; + +typedef struct { + int32_t id; + int64_t createTime; + int64_t updateTime; + SGrantState state[GRANT_STATE_NUM]; + SGrantActive active[GRANT_ACTIVE_NUM]; + SArray *pMachines; // SGrantMachines + SRWLatch lock; +} SGrantObj; + #ifdef __cplusplus } #endif diff --git a/source/dnode/mnode/impl/inc/mndGrant.h b/source/dnode/mnode/impl/inc/mndGrant.h index 88f118cb8f..18d2c36a94 100644 --- a/source/dnode/mnode/impl/inc/mndGrant.h +++ b/source/dnode/mnode/impl/inc/mndGrant.h @@ -13,8 +13,8 @@ * along with this program. If not, see . */ -#ifndef TDENGINE_GTANT_H -#define TDENGINE_GTANT_H +#ifndef _TD_MND_GRANT_H_ +#define _TD_MND_GRANT_H_ #ifdef __cplusplus "C" { @@ -23,12 +23,33 @@ #include "mndInt.h" int32_t mndInitGrant(SMnode * pMnode); - void mndCleanupGrant(); + void mndCleanupGrant(SMnode * pMnode); void grantParseParameter(); void grantReset(SMnode * pMnode, EGrantType grant, uint64_t value); 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); + + SSdbRaw *mndGrantActionEncode(SGrantObj * pGrant); + SSdbRow *mndGrantActionDecode(SSdbRaw * pRaw); + int32_t mndGrantActionInsert(SSdb * pSdb, SGrantObj * pGrant); + int32_t mndGrantActionDelete(SSdb * pSdb, SGrantObj * pGrant); + int32_t mndGrantActionUpdate(SSdb * pSdb, SGrantObj * pOldGrant, SGrantObj * pNewGrant); + + int32_t mndProcessUpdMachineReqImpl(void *pMachine, SRpcMsg *pReq); + int32_t mndProcessUpdStateReqImpl(void *pState, SRpcMsg *pReq); + int32_t mndProcessUpdActiveReqImpl(void *pActive, SRpcMsg *pReq); + int32_t mndRetrieveGrantImpl(SRpcMsg * pReq, SShowObj * pShow, SSDataBlock * pBlock, int32_t rows); + +#endif + #ifdef __cplusplus } #endif diff --git a/source/dnode/mnode/impl/src/mndGrant.c b/source/dnode/mnode/impl/src/mndGrant.c index 1c30a2a139..517f0cc963 100644 --- a/source/dnode/mnode/impl/src/mndGrant.c +++ b/source/dnode/mnode/impl/src/mndGrant.c @@ -19,6 +19,15 @@ #ifndef _GRANT +#define GRANT_ITEM_SHOW() \ + do { \ + cols++; \ + pColInfo = taosArrayGet(pBlock->pDataBlock, cols); \ + src = "unlimited"; \ + STR_WITH_MAXSIZE_TO_VARSTR(tmp, src, 32); \ + colDataSetVal(pColInfo, numOfRows, tmp, false); \ + } while (0) + static int32_t mndRetrieveGrant(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pBlock, int32_t rows) { int32_t numOfRows = 0; int32_t cols = 0; @@ -31,47 +40,13 @@ static int32_t mndRetrieveGrant(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pBl STR_WITH_MAXSIZE_TO_VARSTR(tmp, src, 32); colDataSetVal(pColInfo, numOfRows, tmp, false); - cols++; - pColInfo = taosArrayGet(pBlock->pDataBlock, cols); - src = "unlimited"; - STR_WITH_MAXSIZE_TO_VARSTR(tmp, src, 32); - colDataSetVal(pColInfo, numOfRows, tmp, false); - - cols++; - pColInfo = taosArrayGet(pBlock->pDataBlock, cols); - src = "false"; - STR_WITH_MAXSIZE_TO_VARSTR(tmp, src, 32); - colDataSetVal(pColInfo, numOfRows, tmp, false); - - cols++; - pColInfo = taosArrayGet(pBlock->pDataBlock, cols); - src = "unlimited"; - STR_WITH_MAXSIZE_TO_VARSTR(tmp, src, 32); - colDataSetVal(pColInfo, numOfRows, tmp, false); - - cols++; - pColInfo = taosArrayGet(pBlock->pDataBlock, cols); - src = "unlimited"; - STR_WITH_MAXSIZE_TO_VARSTR(tmp, src, 32); - colDataSetVal(pColInfo, numOfRows, tmp, false); - - cols++; - pColInfo = taosArrayGet(pBlock->pDataBlock, cols); - src = "unlimited"; - STR_WITH_MAXSIZE_TO_VARSTR(tmp, src, 32); - colDataSetVal(pColInfo, numOfRows, tmp, false); - - cols++; - pColInfo = taosArrayGet(pBlock->pDataBlock, cols); - src = "unlimited"; - STR_WITH_MAXSIZE_TO_VARSTR(tmp, src, 32); - colDataSetVal(pColInfo, numOfRows, tmp, false); - - cols++; - pColInfo = taosArrayGet(pBlock->pDataBlock, cols); - src = "unlimited"; - STR_WITH_MAXSIZE_TO_VARSTR(tmp, src, 32); - colDataSetVal(pColInfo, numOfRows, tmp, false); + GRANT_ITEM_SHOW(); + GRANT_ITEM_SHOW(); + GRANT_ITEM_SHOW(); + GRANT_ITEM_SHOW(); + GRANT_ITEM_SHOW(); + GRANT_ITEM_SHOW(); + GRANT_ITEM_SHOW(); numOfRows++; } @@ -80,15 +55,20 @@ static int32_t mndRetrieveGrant(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pBl return numOfRows; } +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 mndProcessGrantHB(SRpcMsg *pReq) { return TSDB_CODE_SUCCESS; } 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); mndSetMsgHandle(pMnode, TDMT_MND_GRANT_HB_TIMER, mndProcessGrantHB); return 0; } -void mndCleanupGrant() {} +void mndCleanupGrant(SMnode *pMnode) {} void grantParseParameter() { mError("can't parsed parameter k"); } void grantReset(SMnode *pMnode, EGrantType grant, uint64_t value) {} void grantAdd(EGrantType grant, uint64_t value) {} diff --git a/source/dnode/mnode/impl/src/mndShow.c b/source/dnode/mnode/impl/src/mndShow.c index 8e7e72aa0e..f770f50b64 100644 --- a/source/dnode/mnode/impl/src/mndShow.c +++ b/source/dnode/mnode/impl/src/mndShow.c @@ -123,6 +123,10 @@ static int32_t convertToRetrieveType(char *name, int32_t len) { type = TSDB_MGMT_TABLE_COMPACT; } else if (strncasecmp(name, TSDB_INS_TABLE_COMPACT_DETAILS, len) == 0) { type = TSDB_MGMT_TABLE_COMPACT_DETAIL; + } else if (strncasecmp(name, TSDB_INS_TABLE_GRANTS_FULL, len) == 0) { + type = TSDB_MGMT_TABLE_GRANTS_FULL; + } else if (strncasecmp(name, TSDB_INS_TABLE_GRANTS_LOG, len) == 0) { + type = TSDB_MGMT_TABLE_GRANTS_LOG; } else { mError("invalid show name:%s len:%d", name, len); } diff --git a/source/dnode/mnode/sdb/inc/sdb.h b/source/dnode/mnode/sdb/inc/sdb.h index e1beaaa910..9d1125dad2 100644 --- a/source/dnode/mnode/sdb/inc/sdb.h +++ b/source/dnode/mnode/sdb/inc/sdb.h @@ -152,7 +152,8 @@ typedef enum { SDB_STREAM_SEQ = 23, SDB_COMPACT = 24, SDB_COMPACT_DETAIL = 25, - SDB_MAX = 26 + SDB_GRANT = 26, // grant log + SDB_MAX = 27 } ESdbType; typedef struct SSdbRaw { diff --git a/source/libs/nodes/src/nodesCodeFuncs.c b/source/libs/nodes/src/nodesCodeFuncs.c index 9639013094..5d26a545af 100644 --- a/source/libs/nodes/src/nodesCodeFuncs.c +++ b/source/libs/nodes/src/nodesCodeFuncs.c @@ -264,7 +264,11 @@ const char* nodesNodeName(ENodeType type) { case QUERY_NODE_SHOW_COMPACTS_STMT: return "ShowCompactsStmt"; case QUERY_NODE_SHOW_COMPACT_DETAILS_STMT: - return "ShowCompactDetailsStmt"; + return "ShowCompactDetailsStmt"; + case QUERY_NODE_SHOW_GRANTS_FULL_STMT: + return "ShowGrantsFullStmt"; + case QUERY_NODE_SHOW_GRANTS_LOG_STMT: + return "ShowGrantsLogStmt"; case QUERY_NODE_DELETE_STMT: return "DeleteStmt"; case QUERY_NODE_INSERT_STMT: diff --git a/source/libs/nodes/src/nodesUtilFuncs.c b/source/libs/nodes/src/nodesUtilFuncs.c index 2472c9835d..af50cdd74e 100644 --- a/source/libs/nodes/src/nodesUtilFuncs.c +++ b/source/libs/nodes/src/nodesUtilFuncs.c @@ -441,6 +441,8 @@ SNode* nodesMakeNode(ENodeType type) { case QUERY_NODE_SHOW_TAGS_STMT: 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: return makeNode(type, sizeof(SShowStmt)); case QUERY_NODE_SHOW_TABLE_TAGS_STMT: return makeNode(type, sizeof(SShowTableTagsStmt)); @@ -1079,7 +1081,9 @@ void nodesDestroyNode(SNode* pNode) { case QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT: case QUERY_NODE_SHOW_TAGS_STMT: case QUERY_NODE_SHOW_USER_PRIVILEGES_STMT: - case QUERY_NODE_SHOW_VIEWS_STMT: { + case QUERY_NODE_SHOW_VIEWS_STMT: + case QUERY_NODE_SHOW_GRANTS_FULL_STMT: + case QUERY_NODE_SHOW_GRANTS_LOG_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 74d8761972..693a760627 100755 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -487,6 +487,8 @@ cmd ::= SHOW APPS. cmd ::= SHOW CONNECTIONS. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONNECTIONS_STMT); } cmd ::= SHOW LICENCES. { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } 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 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 be272228fe..18c809734f 100644 --- a/source/libs/parser/src/parAstParser.c +++ b/source/libs/parser/src/parAstParser.c @@ -619,6 +619,16 @@ static int32_t collectMetaKeyFromShowCompactDetails(SCollectMetaKeyCxt* pCxt, SS return code; } +static int32_t collectMetaKeyFromShowGrantsFull(SCollectMetaKeyCxt* pCxt, SShowStmt* pStmt) { + return reserveTableMetaInCache(pCxt->pParseCxt->acctId, TSDB_INFORMATION_SCHEMA_DB, TSDB_INS_TABLE_GRANTS_FULL, + pCxt->pMetaCache); +} + +static int32_t collectMetaKeyFromShowGrantsLog(SCollectMetaKeyCxt* pCxt, SShowStmt* pStmt) { + return reserveTableMetaInCache(pCxt->pParseCxt->acctId, TSDB_INFORMATION_SCHEMA_DB, TSDB_INS_TABLE_GRANTS_LOG, + pCxt->pMetaCache); +} + static int32_t collectMetaKeyFromShowCreateDatabase(SCollectMetaKeyCxt* pCxt, SShowCreateDatabaseStmt* pStmt) { return reserveDbCfgInCache(pCxt->pParseCxt->acctId, pStmt->dbName, pCxt->pMetaCache); } @@ -839,6 +849,10 @@ static int32_t collectMetaKeyFromQuery(SCollectMetaKeyCxt* pCxt, SNode* pStmt) { return collectMetaKeyFromShowCompacts(pCxt, (SShowStmt*)pStmt); case QUERY_NODE_SHOW_COMPACT_DETAILS_STMT: return collectMetaKeyFromShowCompactDetails(pCxt, (SShowStmt*)pStmt); + case QUERY_NODE_SHOW_GRANTS_FULL_STMT: + return collectMetaKeyFromShowGrantsFull(pCxt, (SShowStmt*)pStmt); + case QUERY_NODE_SHOW_GRANTS_LOG_STMT: + return collectMetaKeyFromShowGrantsLog(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 033991f351..f1e050e728 100644 --- a/source/libs/parser/src/parAuthenticator.c +++ b/source/libs/parser/src/parAuthenticator.c @@ -349,6 +349,8 @@ static int32_t authQuery(SAuthCxt* pCxt, SNode* pStmt) { case QUERY_NODE_SHOW_TABLE_DISTRIBUTED_STMT: case QUERY_NODE_SHOW_VNODES_STMT: case QUERY_NODE_SHOW_SCORES_STMT: + case QUERY_NODE_SHOW_GRANTS_FULL_STMT: + case QUERY_NODE_SHOW_GRANTS_LOG_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/parTranslater.c b/source/libs/parser/src/parTranslater.c index bf9342e7e4..536eb568b1 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -268,7 +268,19 @@ static const SSysTableShowAdapter sysTableShowAdapter[] = { .pTableName = TSDB_INS_TABLE_COMPACT_DETAILS, .numOfShowCols = 1, .pShowCols = {"*"} - }, + }, + { .showType = QUERY_NODE_SHOW_GRANTS_FULL_STMT, + .pDbName = TSDB_INFORMATION_SCHEMA_DB, + .pTableName = TSDB_INS_TABLE_GRANTS_FULL, + .numOfShowCols = 1, + .pShowCols = {"*"} + }, + { .showType = QUERY_NODE_SHOW_GRANTS_FULL_STMT, + .pDbName = TSDB_INFORMATION_SCHEMA_DB, + .pTableName = TSDB_INS_TABLE_GRANTS_LOG, + .numOfShowCols = 1, + .pShowCols = {"*"} + }, }; // clang-format on @@ -10636,6 +10648,8 @@ static int32_t rewriteQuery(STranslateContext* pCxt, SQuery* pQuery) { case QUERY_NODE_SHOW_TAGS_STMT: 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: 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 8e39ff08d3..de2a94eb20 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -1,5 +1,3 @@ -/* This file is automatically generated by Lemon from input grammar -** source file "sql.y". */ /* ** 2000-05-29 ** @@ -106,29 +104,29 @@ #endif /************* Begin control #defines *****************************************/ #define YYCODETYPE unsigned short int -#define YYNOCODE 508 +#define YYNOCODE 510 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; - SNodeList* yy88; - int32_t yy92; - SAlterOption yy117; - SShowTablesOption yy133; - ENullOrder yy153; - int64_t yy221; - SNode* yy232; - STokenPair yy241; - EFillMode yy246; - int8_t yy279; - EShowKind yy281; - SDataType yy400; - EJoinType yy436; - EOperatorType yy708; - EOrder yy834; - bool yy985; - SToken yy993; + 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; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -144,18 +142,18 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 843 -#define YYNRULE 644 -#define YYNRULE_WITH_ACTION 644 -#define YYNTOKEN 347 -#define YY_MAX_SHIFT 842 -#define YY_MIN_SHIFTREDUCE 1245 -#define YY_MAX_SHIFTREDUCE 1888 -#define YY_ERROR_ACTION 1889 -#define YY_ACCEPT_ACTION 1890 -#define YY_NO_ACTION 1891 -#define YY_MIN_REDUCE 1892 -#define YY_MAX_REDUCE 2535 +#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 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -222,881 +220,889 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (3098) +#define YY_ACTTAB_COUNT (3138) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 481, 2193, 174, 465, 1904, 2296, 562, 2071, 464, 563, - /* 10 */ 1935, 419, 48, 46, 1812, 1892, 730, 237, 2399, 168, - /* 20 */ 416, 565, 1653, 1943, 41, 40, 398, 2084, 47, 45, - /* 30 */ 44, 43, 42, 1679, 2133, 1738, 1978, 1651, 68, 136, - /* 40 */ 135, 134, 133, 132, 131, 130, 129, 128, 2337, 219, - /* 50 */ 1678, 669, 2135, 670, 472, 670, 2506, 689, 2506, 381, - /* 60 */ 559, 710, 184, 727, 239, 1733, 1893, 2133, 565, 557, - /* 70 */ 1943, 19, 553, 549, 2512, 203, 2512, 203, 1659, 2507, - /* 80 */ 696, 2507, 696, 2284, 383, 2355, 2197, 127, 95, 2355, - /* 90 */ 126, 125, 124, 123, 122, 121, 120, 119, 118, 529, - /* 100 */ 527, 2303, 365, 744, 839, 385, 217, 15, 1678, 814, - /* 110 */ 813, 812, 811, 428, 2077, 810, 809, 151, 804, 803, - /* 120 */ 802, 801, 800, 799, 798, 150, 792, 791, 790, 427, - /* 130 */ 426, 787, 786, 785, 183, 182, 784, 695, 38, 320, - /* 140 */ 2506, 63, 2336, 1740, 1741, 2374, 688, 727, 114, 2338, - /* 150 */ 748, 2340, 2341, 743, 653, 738, 1572, 1573, 694, 203, - /* 160 */ 186, 578, 2427, 2507, 696, 127, 412, 2423, 126, 125, - /* 170 */ 124, 123, 122, 121, 120, 119, 118, 1713, 1723, 570, - /* 180 */ 61, 205, 563, 1935, 1739, 1742, 1285, 1816, 667, 2457, - /* 190 */ 707, 146, 421, 1678, 1449, 2128, 2130, 1571, 1574, 1654, - /* 200 */ 63, 1652, 1292, 707, 146, 1292, 1681, 1885, 1440, 773, - /* 210 */ 772, 771, 1444, 770, 1446, 1447, 769, 766, 2297, 1455, - /* 220 */ 763, 1457, 1458, 760, 757, 754, 1290, 1291, 1287, 1290, - /* 230 */ 1291, 1657, 1658, 1710, 51, 1712, 1715, 1716, 1717, 1718, - /* 240 */ 1719, 1720, 1721, 1722, 740, 736, 1731, 1732, 1734, 1735, - /* 250 */ 1736, 1737, 2, 48, 46, 52, 112, 1311, 364, 1310, - /* 260 */ 1676, 416, 732, 1653, 2399, 1552, 1553, 513, 670, 2337, - /* 270 */ 532, 2506, 727, 147, 142, 531, 1738, 582, 1651, 41, - /* 280 */ 40, 2074, 742, 47, 45, 44, 43, 42, 685, 2512, - /* 290 */ 203, 495, 1312, 533, 2507, 696, 728, 2082, 367, 497, - /* 300 */ 300, 2435, 706, 304, 138, 705, 1733, 2506, 210, 475, - /* 310 */ 2355, 1884, 19, 202, 2435, 2436, 137, 144, 2440, 1659, - /* 320 */ 2217, 410, 2303, 605, 744, 694, 203, 567, 1679, 171, - /* 330 */ 2507, 696, 173, 564, 624, 623, 622, 2084, 2215, 715, - /* 340 */ 2021, 614, 143, 618, 196, 839, 384, 617, 15, 2217, - /* 350 */ 1714, 1678, 616, 621, 391, 390, 2122, 483, 615, 51, - /* 360 */ 2442, 611, 304, 2336, 409, 302, 2374, 2214, 715, 356, - /* 370 */ 2338, 748, 2340, 2341, 743, 741, 738, 729, 2392, 1854, - /* 380 */ 691, 686, 679, 1915, 1740, 1741, 2439, 2204, 2183, 579, - /* 390 */ 520, 519, 518, 517, 512, 511, 510, 509, 508, 503, - /* 400 */ 502, 501, 500, 492, 491, 490, 1711, 485, 484, 382, - /* 410 */ 1965, 172, 690, 476, 1540, 1541, 340, 304, 1713, 1723, - /* 420 */ 1559, 707, 146, 41, 40, 1739, 1742, 47, 45, 44, - /* 430 */ 43, 42, 625, 338, 74, 1682, 2303, 73, 63, 783, - /* 440 */ 1654, 2511, 1652, 1835, 2506, 580, 2210, 366, 2166, 41, - /* 450 */ 40, 1484, 1485, 47, 45, 44, 43, 42, 1836, 235, - /* 460 */ 544, 542, 539, 2510, 707, 146, 12, 2507, 2509, 63, - /* 470 */ 487, 2193, 1657, 1658, 1710, 1843, 1712, 1715, 1716, 1717, - /* 480 */ 1718, 1719, 1720, 1721, 1722, 740, 736, 1731, 1732, 1734, - /* 490 */ 1735, 1736, 1737, 2, 12, 48, 46, 311, 312, 1834, - /* 500 */ 63, 2265, 310, 416, 2337, 1653, 47, 45, 44, 43, - /* 510 */ 42, 2442, 375, 1914, 728, 2082, 76, 745, 1738, 221, - /* 520 */ 1651, 304, 425, 424, 682, 681, 1841, 1842, 1844, 1845, - /* 530 */ 1846, 204, 2435, 2436, 137, 144, 2440, 2438, 64, 223, - /* 540 */ 2337, 610, 515, 2193, 1913, 2355, 1748, 1660, 1733, 2059, - /* 550 */ 400, 651, 1678, 745, 19, 274, 1767, 2303, 654, 744, - /* 560 */ 463, 1659, 462, 41, 40, 87, 2303, 47, 45, 44, - /* 570 */ 43, 42, 774, 709, 201, 2435, 2436, 1912, 144, 2440, - /* 580 */ 90, 2355, 654, 89, 84, 83, 468, 839, 30, 216, - /* 590 */ 15, 226, 461, 2303, 199, 744, 1678, 2303, 2336, 1404, - /* 600 */ 304, 2374, 460, 458, 357, 2338, 748, 2340, 2341, 743, - /* 610 */ 499, 738, 1911, 363, 1403, 2313, 447, 1768, 498, 444, - /* 620 */ 440, 436, 433, 461, 2058, 1710, 1740, 1741, 1392, 2073, - /* 630 */ 2303, 304, 572, 2256, 2336, 2057, 12, 2374, 10, 2317, - /* 640 */ 114, 2338, 748, 2340, 2341, 743, 88, 738, 1683, 2511, - /* 650 */ 149, 1682, 156, 2398, 2427, 1910, 656, 2256, 412, 2423, - /* 660 */ 1713, 1723, 304, 1855, 1909, 2303, 1681, 1739, 1742, 1394, - /* 670 */ 41, 40, 728, 2082, 47, 45, 44, 43, 42, 1890, - /* 680 */ 1659, 534, 1654, 2319, 1652, 781, 161, 160, 778, 777, - /* 690 */ 776, 158, 208, 738, 783, 523, 9, 37, 414, 1762, - /* 700 */ 1763, 1764, 1765, 1766, 1770, 1771, 1772, 1773, 2303, 1714, - /* 710 */ 1311, 1663, 1310, 1908, 1657, 1658, 1710, 2303, 1712, 1715, - /* 720 */ 1716, 1717, 1718, 1719, 1720, 1721, 1722, 740, 736, 1731, - /* 730 */ 1732, 1734, 1735, 1736, 1737, 2, 48, 46, 1743, 2337, - /* 740 */ 2135, 1653, 728, 2082, 416, 1312, 1653, 397, 728, 2082, - /* 750 */ 2067, 273, 710, 1714, 1878, 2133, 1651, 227, 431, 1738, - /* 760 */ 449, 1651, 56, 430, 695, 1711, 2303, 2506, 469, 2337, - /* 770 */ 1828, 781, 161, 160, 778, 777, 776, 158, 522, 521, - /* 780 */ 2355, 2313, 745, 1408, 1945, 694, 203, 728, 2082, 1733, - /* 790 */ 2507, 696, 2303, 2442, 744, 2322, 106, 1659, 1407, 1682, - /* 800 */ 728, 2082, 1659, 14, 13, 2317, 95, 470, 670, 1711, - /* 810 */ 2355, 2506, 781, 161, 160, 778, 777, 776, 158, 2437, - /* 820 */ 489, 2075, 2303, 839, 744, 302, 1621, 1622, 839, 2512, - /* 830 */ 203, 49, 2078, 2336, 2507, 696, 2374, 2337, 1907, 114, - /* 840 */ 2338, 748, 2340, 2341, 743, 2135, 738, 2135, 325, 2319, - /* 850 */ 745, 186, 406, 2427, 411, 728, 2082, 412, 2423, 738, - /* 860 */ 2133, 1682, 2133, 2336, 1683, 536, 2374, 1740, 1741, 114, - /* 870 */ 2338, 748, 2340, 2341, 743, 504, 738, 649, 2355, 642, - /* 880 */ 2458, 2526, 2176, 2427, 2069, 453, 797, 412, 2423, 2043, - /* 890 */ 2303, 2303, 744, 34, 640, 184, 638, 269, 268, 41, - /* 900 */ 40, 1713, 1723, 47, 45, 44, 43, 42, 1739, 1742, - /* 910 */ 1781, 609, 455, 451, 2135, 608, 728, 2082, 1654, 2198, - /* 920 */ 1652, 420, 1801, 1654, 479, 1652, 794, 670, 272, 2133, - /* 930 */ 2506, 2336, 271, 1769, 2374, 1981, 505, 175, 2338, 748, - /* 940 */ 2340, 2341, 743, 111, 738, 44, 43, 42, 2512, 203, - /* 950 */ 1657, 1658, 108, 2507, 696, 1657, 1658, 1710, 194, 1712, - /* 960 */ 1715, 1716, 1717, 1718, 1719, 1720, 1721, 1722, 740, 736, - /* 970 */ 1731, 1732, 1734, 1735, 1736, 1737, 2, 48, 46, 671, - /* 980 */ 2468, 620, 619, 36, 655, 416, 711, 1653, 1906, 41, - /* 990 */ 40, 796, 2337, 47, 45, 44, 43, 42, 98, 1903, - /* 1000 */ 1738, 370, 1651, 419, 396, 745, 644, 2465, 624, 623, - /* 1010 */ 622, 171, 1683, 35, 2065, 614, 143, 618, 2337, 2084, - /* 1020 */ 198, 617, 2511, 1774, 2510, 2506, 616, 621, 391, 390, - /* 1030 */ 1733, 745, 615, 2355, 670, 611, 670, 2506, 422, 2506, - /* 1040 */ 1809, 2303, 2086, 1659, 2510, 2303, 171, 744, 2507, 2508, - /* 1050 */ 728, 2082, 2303, 280, 2084, 2512, 203, 2512, 203, 2355, - /* 1060 */ 2507, 696, 2507, 696, 1902, 775, 389, 388, 2126, 839, - /* 1070 */ 506, 2303, 49, 744, 1683, 2337, 41, 40, 728, 2082, - /* 1080 */ 47, 45, 44, 43, 42, 739, 2336, 1901, 745, 2374, - /* 1090 */ 2478, 1900, 114, 2338, 748, 2340, 2341, 743, 581, 738, - /* 1100 */ 1899, 1294, 2129, 2130, 2526, 612, 2427, 1677, 1740, 1741, - /* 1110 */ 412, 2423, 2336, 1314, 1315, 2374, 2355, 2303, 115, 2338, - /* 1120 */ 748, 2340, 2341, 743, 1678, 738, 601, 600, 2303, 1389, - /* 1130 */ 744, 1898, 2427, 2337, 728, 2082, 2426, 2423, 387, 386, - /* 1140 */ 2303, 607, 1713, 1723, 2303, 159, 745, 2135, 677, 1739, - /* 1150 */ 1742, 41, 40, 2303, 2079, 47, 45, 44, 43, 42, - /* 1160 */ 603, 602, 714, 609, 1654, 171, 1652, 608, 1897, 2336, - /* 1170 */ 728, 2082, 2374, 2085, 2355, 114, 2338, 748, 2340, 2341, - /* 1180 */ 743, 2287, 738, 3, 2303, 197, 2303, 2526, 744, 2427, - /* 1190 */ 275, 808, 806, 412, 2423, 54, 1657, 1658, 1710, 2022, - /* 1200 */ 1712, 1715, 1716, 1717, 1718, 1719, 1720, 1721, 1722, 740, - /* 1210 */ 736, 1731, 1732, 1734, 1735, 1736, 1737, 2, 48, 46, - /* 1220 */ 55, 2303, 148, 1896, 1895, 2398, 416, 2336, 1653, 2135, - /* 1230 */ 2374, 2135, 438, 114, 2338, 748, 2340, 2341, 743, 99, - /* 1240 */ 738, 1738, 631, 1651, 723, 2526, 2134, 2427, 728, 2082, - /* 1250 */ 779, 412, 2423, 2126, 297, 728, 2082, 643, 699, 2337, - /* 1260 */ 728, 2082, 728, 2082, 702, 728, 2082, 2313, 283, 1662, - /* 1270 */ 1600, 1733, 745, 270, 2499, 713, 2303, 2303, 2447, 1801, - /* 1280 */ 315, 2321, 725, 1905, 1659, 726, 728, 2082, 2060, 634, - /* 1290 */ 780, 2317, 334, 2126, 159, 2112, 628, 626, 728, 2082, - /* 1300 */ 2355, 1920, 834, 267, 139, 260, 321, 1808, 258, 141, - /* 1310 */ 839, 698, 2303, 15, 744, 613, 86, 2337, 423, 1963, - /* 1320 */ 1954, 152, 170, 425, 424, 262, 264, 159, 261, 263, - /* 1330 */ 745, 266, 2446, 1667, 265, 2319, 413, 1711, 646, 1387, - /* 1340 */ 645, 627, 629, 1952, 72, 738, 1738, 71, 1660, 1740, - /* 1350 */ 1741, 284, 2324, 2336, 735, 50, 2374, 50, 2355, 114, - /* 1360 */ 2338, 748, 2340, 2341, 743, 632, 738, 1887, 1888, 1616, - /* 1370 */ 2303, 2526, 744, 2427, 14, 13, 1733, 412, 2423, 2471, - /* 1380 */ 683, 2356, 1661, 1713, 1723, 187, 50, 159, 50, 1659, - /* 1390 */ 1739, 1742, 50, 309, 75, 100, 157, 159, 66, 788, - /* 1400 */ 752, 157, 1619, 159, 789, 1654, 291, 1652, 140, 157, - /* 1410 */ 2326, 2336, 1946, 2019, 2374, 734, 2018, 114, 2338, 748, - /* 1420 */ 2340, 2341, 743, 1366, 738, 1347, 2202, 1936, 1364, 2526, - /* 1430 */ 1840, 2427, 1839, 1665, 2461, 412, 2423, 1657, 1658, 1710, - /* 1440 */ 680, 1712, 1715, 1716, 1717, 1718, 1719, 1720, 1721, 1722, - /* 1450 */ 740, 736, 1731, 1732, 1734, 1735, 1736, 1737, 2, 429, - /* 1460 */ 289, 333, 712, 1724, 832, 402, 1348, 1569, 313, 720, - /* 1470 */ 687, 317, 1434, 1775, 255, 1462, 1466, 399, 1473, 2337, - /* 1480 */ 717, 2203, 1942, 1471, 162, 2123, 663, 2462, 2472, 296, - /* 1490 */ 178, 708, 745, 299, 2044, 303, 432, 437, 5, 599, - /* 1500 */ 595, 591, 587, 445, 254, 379, 446, 1686, 457, 456, - /* 1510 */ 1668, 212, 1663, 459, 1759, 214, 211, 700, 1593, 328, - /* 1520 */ 2355, 1676, 473, 1677, 480, 703, 225, 482, 486, 488, - /* 1530 */ 493, 507, 2303, 525, 744, 514, 2195, 2337, 516, 524, - /* 1540 */ 526, 537, 1671, 1673, 535, 96, 1664, 229, 252, 540, - /* 1550 */ 745, 538, 230, 541, 232, 543, 736, 1731, 1732, 1734, - /* 1560 */ 1735, 1736, 1737, 545, 2337, 1684, 560, 4, 561, 569, - /* 1570 */ 571, 240, 568, 2336, 92, 1679, 2374, 745, 2355, 114, - /* 1580 */ 2338, 748, 2340, 2341, 743, 1685, 738, 573, 1687, 243, - /* 1590 */ 2303, 2402, 744, 2427, 574, 575, 1688, 412, 2423, 246, - /* 1600 */ 577, 583, 2211, 604, 248, 2355, 93, 2274, 94, 116, - /* 1610 */ 606, 242, 253, 2072, 257, 635, 636, 2303, 2068, 744, - /* 1620 */ 251, 244, 2337, 360, 648, 259, 650, 249, 576, 97, - /* 1630 */ 1680, 2336, 2271, 164, 2374, 745, 165, 114, 2338, 748, - /* 1640 */ 2340, 2341, 743, 2070, 738, 2066, 241, 166, 167, 2400, - /* 1650 */ 329, 2427, 2270, 153, 276, 412, 2423, 2257, 2336, 658, - /* 1660 */ 657, 2374, 281, 2355, 114, 2338, 748, 2340, 2341, 743, - /* 1670 */ 662, 738, 665, 664, 279, 2303, 731, 744, 2427, 659, - /* 1680 */ 674, 684, 412, 2423, 2477, 718, 2476, 286, 288, 693, - /* 1690 */ 8, 672, 2449, 675, 290, 179, 673, 2337, 2529, 2505, - /* 1700 */ 295, 403, 704, 1801, 701, 145, 1681, 298, 2443, 1806, - /* 1710 */ 745, 330, 1804, 190, 721, 305, 2336, 154, 716, 2374, - /* 1720 */ 2225, 2224, 115, 2338, 748, 2340, 2341, 743, 293, 738, - /* 1730 */ 2223, 408, 1, 206, 2337, 331, 2427, 292, 2355, 294, - /* 1740 */ 733, 2423, 722, 155, 2083, 332, 105, 745, 62, 2408, - /* 1750 */ 2303, 107, 744, 2127, 335, 1269, 323, 750, 833, 53, - /* 1760 */ 371, 372, 836, 344, 358, 2337, 337, 163, 348, 838, - /* 1770 */ 359, 339, 2295, 2294, 2293, 2355, 81, 2288, 745, 434, - /* 1780 */ 435, 1644, 1645, 209, 439, 2286, 441, 2303, 442, 744, - /* 1790 */ 443, 746, 1643, 2285, 2374, 380, 2283, 115, 2338, 748, - /* 1800 */ 2340, 2341, 743, 448, 738, 2282, 2355, 450, 2337, 2281, - /* 1810 */ 452, 2427, 2280, 454, 1632, 374, 2423, 2261, 2303, 213, - /* 1820 */ 744, 745, 2260, 215, 1596, 82, 1595, 2238, 2336, 2237, - /* 1830 */ 2337, 2374, 2236, 466, 176, 2338, 748, 2340, 2341, 743, - /* 1840 */ 467, 738, 2235, 745, 2234, 2185, 471, 1539, 2182, 2355, - /* 1850 */ 474, 2181, 2175, 478, 2172, 477, 218, 2171, 2170, 2336, - /* 1860 */ 85, 2303, 2374, 744, 2169, 115, 2338, 748, 2340, 2341, - /* 1870 */ 743, 2355, 738, 2174, 220, 2173, 401, 2168, 2167, 2427, - /* 1880 */ 2165, 2164, 2163, 2303, 2424, 744, 222, 494, 697, 2527, - /* 1890 */ 2162, 496, 2178, 2161, 2160, 2159, 2158, 2157, 2180, 2156, - /* 1900 */ 2155, 2337, 2336, 2154, 2153, 2374, 2152, 2151, 175, 2338, - /* 1910 */ 748, 2340, 2341, 743, 745, 738, 2150, 2149, 2148, 2147, - /* 1920 */ 224, 2146, 2145, 2144, 2336, 2143, 2179, 2374, 2337, 91, - /* 1930 */ 357, 2338, 748, 2340, 2341, 743, 2177, 738, 2142, 2141, - /* 1940 */ 2140, 745, 2355, 228, 2139, 2138, 1545, 528, 2137, 530, - /* 1950 */ 2136, 2469, 1405, 1409, 2303, 368, 744, 1984, 369, 1983, - /* 1960 */ 1982, 1980, 1977, 547, 1401, 1976, 231, 1969, 1956, 2355, - /* 1970 */ 546, 548, 550, 1931, 233, 234, 1930, 236, 554, 552, - /* 1980 */ 558, 2303, 185, 744, 1293, 551, 2259, 2255, 556, 78, - /* 1990 */ 2245, 2233, 2232, 555, 238, 2336, 79, 245, 2374, 2209, - /* 2000 */ 2337, 350, 2338, 748, 2340, 2341, 743, 2323, 738, 247, - /* 2010 */ 2061, 1979, 195, 745, 1975, 566, 584, 586, 250, 1973, - /* 2020 */ 588, 1971, 2336, 585, 1340, 2374, 2337, 1968, 176, 2338, - /* 2030 */ 748, 2340, 2341, 743, 592, 738, 589, 590, 594, 742, - /* 2040 */ 593, 2355, 596, 1951, 597, 598, 407, 692, 1949, 1950, - /* 2050 */ 1948, 1927, 2063, 2303, 1478, 744, 1477, 2062, 1966, 1391, - /* 2060 */ 1964, 1390, 1388, 1386, 805, 1385, 1384, 2355, 65, 256, - /* 2070 */ 1383, 807, 1382, 1379, 1378, 1377, 1376, 392, 393, 2303, - /* 2080 */ 1606, 744, 1955, 2528, 394, 630, 1953, 395, 1926, 1925, - /* 2090 */ 1924, 633, 1923, 1922, 2336, 641, 637, 2374, 2337, 117, - /* 2100 */ 357, 2338, 748, 2340, 2341, 743, 639, 738, 1626, 1628, - /* 2110 */ 1630, 745, 1625, 29, 2258, 69, 278, 2254, 1602, 1604, - /* 2120 */ 2336, 2511, 652, 2374, 2244, 660, 356, 2338, 748, 2340, - /* 2130 */ 2341, 743, 2231, 738, 2230, 2393, 17, 20, 1857, 2355, - /* 2140 */ 842, 6, 21, 57, 415, 7, 22, 31, 285, 676, - /* 2150 */ 58, 2303, 177, 744, 287, 1838, 327, 661, 189, 282, - /* 2160 */ 1581, 200, 33, 1580, 678, 2324, 2337, 67, 666, 24, - /* 2170 */ 188, 32, 193, 80, 668, 1872, 169, 1871, 1827, 745, - /* 2180 */ 404, 830, 826, 822, 818, 23, 324, 18, 1876, 1875, - /* 2190 */ 405, 1877, 2336, 1878, 301, 2374, 60, 180, 357, 2338, - /* 2200 */ 748, 2340, 2341, 743, 1798, 738, 1797, 2355, 2229, 2208, - /* 2210 */ 102, 2207, 417, 101, 25, 319, 308, 103, 1833, 2303, - /* 2220 */ 26, 744, 191, 13, 1669, 719, 314, 113, 1750, 70, - /* 2230 */ 318, 181, 1749, 104, 192, 2337, 108, 2377, 1760, 1728, - /* 2240 */ 737, 1703, 751, 1726, 39, 749, 16, 59, 745, 316, - /* 2250 */ 1725, 27, 2337, 28, 11, 1695, 322, 1463, 1460, 418, - /* 2260 */ 2336, 753, 724, 2374, 755, 745, 357, 2338, 748, 2340, - /* 2270 */ 2341, 743, 756, 738, 758, 1459, 2355, 759, 2337, 1456, - /* 2280 */ 761, 762, 764, 767, 1450, 765, 1454, 1448, 2303, 1453, - /* 2290 */ 744, 745, 1472, 2355, 1468, 768, 109, 1452, 110, 77, - /* 2300 */ 1451, 1338, 307, 782, 1373, 2303, 1370, 744, 747, 306, - /* 2310 */ 1369, 1368, 1367, 1365, 1363, 1362, 1361, 1399, 793, 2355, - /* 2320 */ 1398, 795, 1359, 207, 1358, 1357, 1356, 1395, 277, 647, - /* 2330 */ 1355, 2303, 2374, 744, 1354, 352, 2338, 748, 2340, 2341, - /* 2340 */ 743, 1344, 738, 1353, 1393, 1350, 2336, 1349, 1346, 2374, - /* 2350 */ 1345, 2337, 342, 2338, 748, 2340, 2341, 743, 1343, 738, - /* 2360 */ 1974, 815, 817, 816, 745, 1972, 819, 820, 821, 1970, - /* 2370 */ 823, 1967, 2336, 2337, 824, 2374, 825, 827, 341, 2338, - /* 2380 */ 748, 2340, 2341, 743, 829, 738, 745, 828, 1947, 831, - /* 2390 */ 1282, 1921, 2355, 841, 1270, 835, 1891, 326, 837, 1891, - /* 2400 */ 1655, 336, 840, 1891, 2303, 1891, 744, 1891, 1891, 1891, - /* 2410 */ 1891, 1891, 1891, 1891, 2355, 1891, 1891, 1891, 1891, 1891, - /* 2420 */ 1891, 1891, 1891, 1891, 1891, 1891, 2303, 1891, 744, 1891, - /* 2430 */ 2337, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, - /* 2440 */ 1891, 1891, 1891, 745, 1891, 2336, 1891, 1891, 2374, 2337, - /* 2450 */ 1891, 343, 2338, 748, 2340, 2341, 743, 1891, 738, 1891, - /* 2460 */ 1891, 1891, 745, 1891, 1891, 1891, 1891, 2336, 1891, 1891, - /* 2470 */ 2374, 2355, 1891, 349, 2338, 748, 2340, 2341, 743, 1891, - /* 2480 */ 738, 1891, 1891, 2303, 1891, 744, 1891, 1891, 1891, 1891, - /* 2490 */ 2355, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, - /* 2500 */ 1891, 1891, 2303, 1891, 744, 1891, 1891, 2337, 1891, 1891, - /* 2510 */ 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, - /* 2520 */ 745, 1891, 1891, 2337, 2336, 1891, 1891, 2374, 1891, 1891, - /* 2530 */ 353, 2338, 748, 2340, 2341, 743, 745, 738, 1891, 1891, - /* 2540 */ 1891, 1891, 1891, 2336, 1891, 1891, 2374, 1891, 2355, 345, - /* 2550 */ 2338, 748, 2340, 2341, 743, 1891, 738, 1891, 1891, 1891, - /* 2560 */ 2303, 1891, 744, 1891, 2355, 1891, 1891, 1891, 1891, 1891, - /* 2570 */ 1891, 1891, 1891, 1891, 1891, 1891, 2303, 1891, 744, 1891, - /* 2580 */ 1891, 2337, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, - /* 2590 */ 1891, 1891, 1891, 1891, 745, 1891, 1891, 1891, 1891, 1891, - /* 2600 */ 1891, 2336, 1891, 2337, 2374, 1891, 1891, 354, 2338, 748, - /* 2610 */ 2340, 2341, 743, 1891, 738, 1891, 745, 2336, 2337, 1891, - /* 2620 */ 2374, 1891, 2355, 346, 2338, 748, 2340, 2341, 743, 1891, - /* 2630 */ 738, 745, 1891, 1891, 2303, 1891, 744, 1891, 1891, 2337, - /* 2640 */ 1891, 1891, 1891, 1891, 2355, 1891, 1891, 1891, 1891, 1891, - /* 2650 */ 1891, 1891, 745, 1891, 1891, 1891, 2303, 1891, 744, 2355, - /* 2660 */ 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, - /* 2670 */ 1891, 2303, 1891, 744, 1891, 2336, 1891, 1891, 2374, 1891, - /* 2680 */ 2355, 355, 2338, 748, 2340, 2341, 743, 1891, 738, 1891, - /* 2690 */ 1891, 1891, 2303, 1891, 744, 1891, 1891, 2336, 1891, 1891, - /* 2700 */ 2374, 1891, 1891, 347, 2338, 748, 2340, 2341, 743, 1891, - /* 2710 */ 738, 1891, 2336, 1891, 1891, 2374, 1891, 1891, 361, 2338, - /* 2720 */ 748, 2340, 2341, 743, 2337, 738, 1891, 1891, 1891, 1891, - /* 2730 */ 1891, 1891, 1891, 2336, 1891, 1891, 2374, 745, 1891, 362, - /* 2740 */ 2338, 748, 2340, 2341, 743, 1891, 738, 1891, 1891, 1891, - /* 2750 */ 1891, 1891, 1891, 1891, 1891, 2337, 1891, 1891, 1891, 1891, - /* 2760 */ 1891, 1891, 1891, 1891, 1891, 2355, 1891, 1891, 745, 1891, - /* 2770 */ 1891, 1891, 1891, 1891, 1891, 1891, 1891, 2303, 1891, 744, - /* 2780 */ 1891, 2337, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, - /* 2790 */ 1891, 1891, 1891, 1891, 745, 1891, 2355, 1891, 1891, 1891, - /* 2800 */ 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 2303, 1891, - /* 2810 */ 744, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 2336, 1891, - /* 2820 */ 1891, 2374, 2355, 1891, 2349, 2338, 748, 2340, 2341, 743, - /* 2830 */ 1891, 738, 1891, 1891, 2303, 1891, 744, 1891, 1891, 1891, - /* 2840 */ 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 2336, - /* 2850 */ 1891, 1891, 2374, 2337, 1891, 2348, 2338, 748, 2340, 2341, - /* 2860 */ 743, 1891, 738, 1891, 1891, 1891, 745, 1891, 1891, 1891, - /* 2870 */ 1891, 1891, 1891, 1891, 2337, 2336, 1891, 1891, 2374, 1891, - /* 2880 */ 1891, 2347, 2338, 748, 2340, 2341, 743, 745, 738, 1891, - /* 2890 */ 1891, 1891, 1891, 1891, 2355, 1891, 1891, 1891, 1891, 1891, - /* 2900 */ 1891, 1891, 1891, 1891, 1891, 1891, 2303, 1891, 744, 1891, - /* 2910 */ 1891, 2337, 1891, 1891, 1891, 2355, 1891, 1891, 1891, 1891, - /* 2920 */ 1891, 1891, 1891, 1891, 745, 1891, 1891, 2303, 1891, 744, - /* 2930 */ 1891, 1891, 2337, 1891, 1891, 1891, 1891, 1891, 1891, 1891, - /* 2940 */ 1891, 1891, 1891, 1891, 1891, 745, 1891, 2336, 1891, 1891, - /* 2950 */ 2374, 1891, 2355, 376, 2338, 748, 2340, 2341, 743, 1891, - /* 2960 */ 738, 1891, 1891, 1891, 2303, 1891, 744, 1891, 2336, 2337, - /* 2970 */ 1891, 2374, 1891, 2355, 377, 2338, 748, 2340, 2341, 743, - /* 2980 */ 1891, 738, 745, 1891, 1891, 2303, 1891, 744, 1891, 1891, - /* 2990 */ 2337, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, - /* 3000 */ 1891, 1891, 1891, 745, 1891, 2336, 1891, 1891, 2374, 1891, - /* 3010 */ 2355, 373, 2338, 748, 2340, 2341, 743, 1891, 738, 1891, - /* 3020 */ 1891, 1891, 2303, 1891, 744, 1891, 2336, 1891, 1891, 2374, - /* 3030 */ 1891, 2355, 378, 2338, 748, 2340, 2341, 743, 1891, 738, - /* 3040 */ 1891, 1891, 1891, 2303, 1891, 744, 1891, 1891, 1891, 1891, - /* 3050 */ 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, 1891, - /* 3060 */ 1891, 1891, 1891, 746, 1891, 1891, 2374, 1891, 1891, 352, - /* 3070 */ 2338, 748, 2340, 2341, 743, 1891, 738, 1891, 1891, 1891, - /* 3080 */ 1891, 1891, 1891, 1891, 2336, 1891, 1891, 2374, 1891, 1891, - /* 3090 */ 351, 2338, 748, 2340, 2341, 743, 1891, 738, + /* 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, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 362, 363, 349, 426, 351, 426, 357, 392, 431, 360, - /* 10 */ 361, 383, 12, 13, 14, 0, 461, 358, 463, 391, - /* 20 */ 20, 362, 22, 364, 8, 9, 398, 399, 12, 13, - /* 30 */ 14, 15, 16, 20, 406, 35, 0, 37, 4, 24, - /* 40 */ 25, 26, 27, 28, 29, 30, 31, 32, 350, 411, - /* 50 */ 20, 50, 391, 476, 362, 476, 479, 363, 479, 398, - /* 60 */ 51, 363, 391, 20, 358, 65, 0, 406, 362, 60, - /* 70 */ 364, 71, 63, 64, 497, 498, 497, 498, 78, 502, - /* 80 */ 503, 502, 503, 0, 413, 391, 415, 21, 371, 391, - /* 90 */ 24, 25, 26, 27, 28, 29, 30, 31, 32, 407, - /* 100 */ 408, 403, 410, 405, 104, 388, 414, 107, 20, 73, - /* 110 */ 74, 75, 76, 77, 397, 79, 80, 81, 82, 83, + /* 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, /* 120 */ 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - /* 130 */ 94, 95, 96, 97, 98, 99, 100, 476, 465, 466, - /* 140 */ 479, 107, 444, 143, 144, 447, 452, 20, 450, 451, - /* 150 */ 452, 453, 454, 455, 20, 457, 143, 144, 497, 498, - /* 160 */ 462, 20, 464, 502, 503, 21, 468, 469, 24, 25, - /* 170 */ 26, 27, 28, 29, 30, 31, 32, 177, 178, 357, - /* 180 */ 179, 483, 360, 361, 184, 185, 4, 14, 187, 491, - /* 190 */ 362, 363, 401, 20, 104, 404, 405, 184, 185, 199, - /* 200 */ 107, 201, 23, 362, 363, 23, 20, 191, 118, 119, - /* 210 */ 120, 121, 122, 123, 124, 125, 126, 127, 426, 129, - /* 220 */ 130, 131, 132, 133, 134, 135, 47, 48, 46, 47, - /* 230 */ 48, 231, 232, 233, 107, 235, 236, 237, 238, 239, + /* 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, /* 240 */ 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, - /* 250 */ 250, 251, 252, 12, 13, 107, 369, 20, 18, 22, - /* 260 */ 20, 20, 461, 22, 463, 177, 178, 27, 476, 350, - /* 270 */ 30, 479, 20, 386, 37, 35, 35, 70, 37, 8, - /* 280 */ 9, 394, 363, 12, 13, 14, 15, 16, 183, 497, - /* 290 */ 498, 51, 55, 53, 502, 503, 362, 363, 58, 59, - /* 300 */ 472, 473, 474, 269, 476, 477, 65, 479, 225, 69, - /* 310 */ 391, 295, 71, 472, 473, 474, 382, 476, 477, 78, - /* 320 */ 405, 383, 403, 389, 405, 497, 498, 14, 20, 391, - /* 330 */ 502, 503, 372, 20, 73, 74, 75, 399, 423, 424, - /* 340 */ 380, 80, 81, 82, 390, 104, 106, 86, 107, 405, - /* 350 */ 177, 20, 91, 92, 93, 94, 402, 117, 97, 107, - /* 360 */ 449, 100, 269, 444, 420, 179, 447, 423, 424, 450, - /* 370 */ 451, 452, 453, 454, 455, 456, 457, 458, 459, 108, - /* 380 */ 275, 276, 277, 350, 143, 144, 475, 147, 148, 362, - /* 390 */ 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, - /* 400 */ 160, 161, 162, 163, 164, 165, 233, 167, 168, 169, - /* 410 */ 0, 18, 20, 173, 174, 175, 23, 269, 177, 178, - /* 420 */ 180, 362, 363, 8, 9, 184, 185, 12, 13, 14, - /* 430 */ 15, 16, 22, 40, 41, 20, 403, 44, 107, 70, - /* 440 */ 199, 476, 201, 22, 479, 418, 419, 54, 0, 8, - /* 450 */ 9, 143, 144, 12, 13, 14, 15, 16, 37, 66, - /* 460 */ 67, 68, 69, 498, 362, 363, 253, 502, 503, 107, - /* 470 */ 362, 363, 231, 232, 233, 231, 235, 236, 237, 238, - /* 480 */ 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, - /* 490 */ 249, 250, 251, 252, 253, 12, 13, 137, 138, 78, - /* 500 */ 107, 387, 142, 20, 350, 22, 12, 13, 14, 15, - /* 510 */ 16, 449, 71, 350, 362, 363, 117, 363, 35, 411, - /* 520 */ 37, 269, 12, 13, 280, 281, 282, 283, 284, 285, - /* 530 */ 286, 472, 473, 474, 382, 476, 477, 475, 145, 65, - /* 540 */ 350, 389, 362, 363, 350, 391, 14, 37, 65, 0, - /* 550 */ 396, 117, 20, 363, 71, 441, 115, 403, 362, 405, - /* 560 */ 198, 78, 200, 8, 9, 166, 403, 12, 13, 14, - /* 570 */ 15, 16, 117, 471, 472, 473, 474, 350, 476, 477, - /* 580 */ 106, 391, 362, 109, 191, 192, 193, 104, 33, 196, - /* 590 */ 107, 411, 230, 403, 179, 405, 20, 403, 444, 22, - /* 600 */ 269, 447, 209, 210, 450, 451, 452, 453, 454, 455, - /* 610 */ 162, 457, 350, 220, 37, 379, 223, 176, 170, 226, - /* 620 */ 227, 228, 229, 230, 0, 233, 143, 144, 37, 393, - /* 630 */ 403, 269, 436, 437, 444, 0, 253, 447, 255, 403, - /* 640 */ 450, 451, 452, 453, 454, 455, 172, 457, 233, 3, - /* 650 */ 460, 20, 462, 463, 464, 350, 436, 437, 468, 469, - /* 660 */ 177, 178, 269, 108, 350, 403, 20, 184, 185, 78, - /* 670 */ 8, 9, 362, 363, 12, 13, 14, 15, 16, 347, - /* 680 */ 78, 104, 199, 447, 201, 136, 137, 138, 139, 140, - /* 690 */ 141, 142, 382, 457, 70, 87, 42, 256, 257, 258, - /* 700 */ 259, 260, 261, 262, 263, 264, 265, 266, 403, 177, - /* 710 */ 20, 201, 22, 350, 231, 232, 233, 403, 235, 236, - /* 720 */ 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, - /* 730 */ 247, 248, 249, 250, 251, 252, 12, 13, 14, 350, - /* 740 */ 391, 22, 362, 363, 20, 55, 22, 398, 362, 363, - /* 750 */ 392, 137, 363, 177, 108, 406, 37, 149, 426, 35, - /* 760 */ 69, 37, 382, 431, 476, 233, 403, 479, 382, 350, - /* 770 */ 108, 136, 137, 138, 139, 140, 141, 142, 170, 171, - /* 780 */ 391, 379, 363, 22, 365, 497, 498, 362, 363, 65, - /* 790 */ 502, 503, 403, 449, 405, 393, 369, 78, 37, 20, - /* 800 */ 362, 363, 78, 1, 2, 403, 371, 382, 476, 233, - /* 810 */ 391, 479, 136, 137, 138, 139, 140, 141, 142, 475, - /* 820 */ 382, 394, 403, 104, 405, 179, 212, 213, 104, 497, - /* 830 */ 498, 107, 397, 444, 502, 503, 447, 350, 350, 450, - /* 840 */ 451, 452, 453, 454, 455, 391, 457, 391, 34, 447, - /* 850 */ 363, 462, 398, 464, 398, 362, 363, 468, 469, 457, - /* 860 */ 406, 20, 406, 444, 233, 104, 447, 143, 144, 450, - /* 870 */ 451, 452, 453, 454, 455, 382, 457, 426, 391, 21, - /* 880 */ 491, 462, 0, 464, 392, 194, 378, 468, 469, 381, - /* 890 */ 403, 403, 405, 2, 36, 391, 38, 39, 40, 8, - /* 900 */ 9, 177, 178, 12, 13, 14, 15, 16, 184, 185, - /* 910 */ 108, 136, 221, 222, 391, 140, 362, 363, 199, 415, - /* 920 */ 201, 398, 268, 199, 42, 201, 13, 476, 138, 406, - /* 930 */ 479, 444, 142, 176, 447, 0, 382, 450, 451, 452, - /* 940 */ 453, 454, 455, 107, 457, 14, 15, 16, 497, 498, - /* 950 */ 231, 232, 116, 502, 503, 231, 232, 233, 179, 235, - /* 960 */ 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, - /* 970 */ 246, 247, 248, 249, 250, 251, 252, 12, 13, 492, - /* 980 */ 493, 376, 377, 2, 426, 20, 426, 22, 350, 8, - /* 990 */ 9, 78, 350, 12, 13, 14, 15, 16, 208, 350, - /* 1000 */ 35, 211, 37, 383, 214, 363, 216, 365, 73, 74, - /* 1010 */ 75, 391, 233, 256, 392, 80, 81, 82, 350, 399, - /* 1020 */ 179, 86, 476, 266, 3, 479, 91, 92, 93, 94, - /* 1030 */ 65, 363, 97, 391, 476, 100, 476, 479, 383, 479, - /* 1040 */ 4, 403, 392, 78, 498, 403, 391, 405, 502, 503, - /* 1050 */ 362, 363, 403, 392, 399, 497, 498, 497, 498, 391, - /* 1060 */ 502, 503, 502, 503, 350, 400, 39, 40, 403, 104, - /* 1070 */ 382, 403, 107, 405, 233, 350, 8, 9, 362, 363, - /* 1080 */ 12, 13, 14, 15, 16, 392, 444, 350, 363, 447, - /* 1090 */ 365, 350, 450, 451, 452, 453, 454, 455, 382, 457, - /* 1100 */ 350, 14, 404, 405, 462, 13, 464, 20, 143, 144, - /* 1110 */ 468, 469, 444, 56, 57, 447, 391, 403, 450, 451, - /* 1120 */ 452, 453, 454, 455, 20, 457, 367, 368, 403, 37, - /* 1130 */ 405, 350, 464, 350, 362, 363, 468, 469, 111, 112, - /* 1140 */ 403, 114, 177, 178, 403, 33, 363, 391, 365, 184, - /* 1150 */ 185, 8, 9, 403, 382, 12, 13, 14, 15, 16, - /* 1160 */ 367, 368, 406, 136, 199, 391, 201, 140, 350, 444, - /* 1170 */ 362, 363, 447, 399, 391, 450, 451, 452, 453, 454, - /* 1180 */ 455, 0, 457, 33, 403, 432, 403, 462, 405, 464, - /* 1190 */ 382, 376, 377, 468, 469, 45, 231, 232, 233, 380, - /* 1200 */ 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, - /* 1210 */ 245, 246, 247, 248, 249, 250, 251, 252, 12, 13, - /* 1220 */ 108, 403, 460, 350, 350, 463, 20, 444, 22, 391, - /* 1230 */ 447, 391, 51, 450, 451, 452, 453, 454, 455, 172, - /* 1240 */ 457, 35, 4, 37, 406, 462, 406, 464, 362, 363, - /* 1250 */ 400, 468, 469, 403, 506, 362, 363, 19, 33, 350, - /* 1260 */ 362, 363, 362, 363, 33, 362, 363, 379, 382, 37, - /* 1270 */ 203, 65, 363, 35, 365, 382, 403, 403, 267, 268, - /* 1280 */ 382, 393, 382, 351, 78, 382, 362, 363, 0, 51, - /* 1290 */ 400, 403, 384, 403, 33, 387, 58, 59, 362, 363, - /* 1300 */ 391, 353, 354, 65, 33, 110, 382, 271, 113, 366, - /* 1310 */ 104, 290, 403, 107, 405, 13, 45, 350, 382, 0, - /* 1320 */ 0, 33, 179, 12, 13, 110, 110, 33, 113, 113, - /* 1330 */ 363, 110, 365, 22, 113, 447, 448, 233, 215, 37, - /* 1340 */ 217, 22, 22, 0, 106, 457, 35, 109, 37, 143, - /* 1350 */ 144, 65, 49, 444, 71, 33, 447, 33, 391, 450, - /* 1360 */ 451, 452, 453, 454, 455, 22, 457, 143, 144, 108, - /* 1370 */ 403, 462, 405, 464, 1, 2, 65, 468, 469, 416, - /* 1380 */ 495, 391, 37, 177, 178, 33, 33, 33, 33, 78, - /* 1390 */ 184, 185, 33, 33, 33, 109, 33, 33, 33, 13, - /* 1400 */ 33, 33, 108, 33, 13, 199, 488, 201, 33, 33, - /* 1410 */ 107, 444, 0, 379, 447, 104, 379, 450, 451, 452, - /* 1420 */ 453, 454, 455, 37, 457, 37, 416, 361, 37, 462, - /* 1430 */ 108, 464, 108, 201, 416, 468, 469, 231, 232, 233, - /* 1440 */ 494, 235, 236, 237, 238, 239, 240, 241, 242, 243, - /* 1450 */ 244, 245, 246, 247, 248, 249, 250, 251, 252, 366, - /* 1460 */ 108, 108, 108, 108, 52, 494, 78, 108, 108, 108, - /* 1470 */ 494, 108, 108, 108, 35, 108, 108, 425, 108, 350, - /* 1480 */ 494, 416, 363, 108, 108, 402, 433, 416, 416, 470, - /* 1490 */ 51, 478, 363, 499, 381, 481, 427, 51, 272, 60, - /* 1500 */ 61, 62, 63, 42, 65, 446, 445, 20, 438, 214, - /* 1510 */ 199, 371, 201, 438, 231, 371, 443, 292, 197, 429, - /* 1520 */ 391, 20, 362, 20, 363, 294, 45, 412, 363, 412, - /* 1530 */ 409, 362, 403, 176, 405, 363, 362, 350, 412, 409, - /* 1540 */ 409, 105, 231, 232, 103, 106, 201, 374, 109, 102, - /* 1550 */ 363, 375, 362, 373, 362, 362, 245, 246, 247, 248, - /* 1560 */ 249, 250, 251, 362, 350, 20, 355, 50, 359, 359, - /* 1570 */ 438, 371, 355, 444, 371, 20, 447, 363, 391, 450, - /* 1580 */ 451, 452, 453, 454, 455, 20, 457, 405, 20, 371, - /* 1590 */ 403, 462, 405, 464, 364, 428, 20, 468, 469, 371, - /* 1600 */ 364, 362, 419, 355, 371, 391, 371, 403, 371, 362, - /* 1610 */ 391, 172, 371, 391, 391, 353, 353, 403, 391, 405, - /* 1620 */ 181, 182, 350, 355, 218, 391, 442, 188, 189, 107, - /* 1630 */ 20, 444, 403, 391, 447, 363, 391, 450, 451, 452, - /* 1640 */ 453, 454, 455, 391, 457, 391, 207, 391, 391, 462, - /* 1650 */ 438, 464, 403, 440, 369, 468, 469, 437, 444, 205, - /* 1660 */ 204, 447, 369, 391, 450, 451, 452, 453, 454, 455, - /* 1670 */ 405, 457, 362, 427, 434, 403, 462, 405, 464, 435, - /* 1680 */ 403, 279, 468, 469, 487, 278, 487, 421, 421, 190, - /* 1690 */ 287, 273, 490, 289, 489, 487, 288, 350, 507, 501, - /* 1700 */ 427, 296, 293, 268, 291, 363, 20, 500, 449, 117, - /* 1710 */ 363, 421, 270, 364, 182, 369, 444, 369, 403, 447, - /* 1720 */ 403, 403, 450, 451, 452, 453, 454, 455, 485, 457, - /* 1730 */ 403, 403, 482, 480, 350, 421, 464, 486, 391, 484, - /* 1740 */ 468, 469, 417, 369, 363, 387, 369, 363, 107, 467, - /* 1750 */ 403, 107, 405, 403, 362, 22, 369, 395, 38, 430, - /* 1760 */ 422, 422, 352, 385, 385, 350, 370, 356, 385, 355, - /* 1770 */ 439, 348, 0, 0, 0, 391, 45, 0, 363, 37, - /* 1780 */ 224, 37, 37, 37, 224, 0, 37, 403, 37, 405, - /* 1790 */ 224, 444, 37, 0, 447, 224, 0, 450, 451, 452, - /* 1800 */ 453, 454, 455, 37, 457, 0, 391, 37, 350, 0, - /* 1810 */ 22, 464, 0, 37, 219, 468, 469, 0, 403, 207, - /* 1820 */ 405, 363, 0, 207, 201, 208, 199, 0, 444, 0, - /* 1830 */ 350, 447, 0, 195, 450, 451, 452, 453, 454, 455, - /* 1840 */ 194, 457, 0, 363, 0, 148, 49, 49, 0, 391, - /* 1850 */ 37, 0, 0, 51, 0, 37, 49, 0, 0, 444, - /* 1860 */ 45, 403, 447, 405, 0, 450, 451, 452, 453, 454, - /* 1870 */ 455, 391, 457, 0, 49, 0, 396, 0, 0, 464, - /* 1880 */ 0, 0, 0, 403, 469, 405, 162, 37, 504, 505, - /* 1890 */ 0, 162, 0, 0, 0, 0, 0, 0, 0, 0, - /* 1900 */ 0, 350, 444, 0, 0, 447, 0, 0, 450, 451, - /* 1910 */ 452, 453, 454, 455, 363, 457, 0, 0, 0, 0, - /* 1920 */ 49, 0, 0, 0, 444, 0, 0, 447, 350, 45, - /* 1930 */ 450, 451, 452, 453, 454, 455, 0, 457, 0, 0, - /* 1940 */ 0, 363, 391, 148, 0, 0, 22, 147, 0, 146, - /* 1950 */ 0, 493, 22, 22, 403, 50, 405, 0, 50, 0, - /* 1960 */ 0, 0, 0, 51, 37, 0, 65, 0, 0, 391, - /* 1970 */ 37, 42, 37, 0, 65, 65, 0, 45, 37, 42, - /* 1980 */ 37, 403, 33, 405, 14, 51, 0, 0, 42, 42, - /* 1990 */ 0, 0, 0, 51, 43, 444, 42, 42, 447, 0, - /* 2000 */ 350, 450, 451, 452, 453, 454, 455, 49, 457, 190, - /* 2010 */ 0, 0, 49, 363, 0, 49, 37, 42, 49, 0, - /* 2020 */ 37, 0, 444, 51, 72, 447, 350, 0, 450, 451, - /* 2030 */ 452, 453, 454, 455, 37, 457, 51, 42, 42, 363, - /* 2040 */ 51, 391, 37, 0, 51, 42, 396, 496, 0, 0, - /* 2050 */ 0, 0, 0, 403, 37, 405, 22, 0, 0, 37, - /* 2060 */ 0, 37, 37, 37, 33, 37, 37, 391, 115, 113, - /* 2070 */ 37, 33, 37, 37, 37, 22, 37, 22, 22, 403, - /* 2080 */ 206, 405, 0, 505, 22, 53, 0, 22, 0, 0, - /* 2090 */ 0, 37, 0, 0, 444, 22, 37, 447, 350, 20, - /* 2100 */ 450, 451, 452, 453, 454, 455, 37, 457, 37, 37, - /* 2110 */ 108, 363, 37, 107, 0, 107, 49, 0, 37, 22, - /* 2120 */ 444, 3, 1, 447, 0, 22, 450, 451, 452, 453, - /* 2130 */ 454, 455, 0, 457, 0, 459, 274, 33, 108, 391, - /* 2140 */ 19, 50, 33, 179, 396, 50, 33, 107, 107, 105, - /* 2150 */ 179, 403, 107, 405, 108, 108, 35, 179, 33, 182, - /* 2160 */ 179, 49, 33, 179, 103, 49, 350, 3, 186, 33, - /* 2170 */ 107, 107, 51, 107, 186, 37, 202, 37, 108, 363, - /* 2180 */ 37, 60, 61, 62, 63, 274, 65, 274, 37, 37, - /* 2190 */ 37, 108, 444, 108, 49, 447, 33, 49, 450, 451, - /* 2200 */ 452, 453, 454, 455, 108, 457, 108, 391, 0, 0, - /* 2210 */ 42, 0, 396, 107, 107, 49, 108, 42, 108, 403, - /* 2220 */ 33, 405, 107, 2, 22, 183, 107, 106, 105, 107, - /* 2230 */ 109, 49, 105, 107, 49, 350, 116, 107, 231, 108, - /* 2240 */ 107, 22, 37, 108, 107, 117, 107, 267, 363, 181, - /* 2250 */ 108, 107, 350, 107, 254, 108, 33, 108, 108, 37, - /* 2260 */ 444, 107, 141, 447, 37, 363, 450, 451, 452, 453, - /* 2270 */ 454, 455, 107, 457, 37, 108, 391, 107, 350, 108, - /* 2280 */ 37, 107, 37, 37, 108, 107, 128, 108, 403, 128, - /* 2290 */ 405, 363, 37, 391, 22, 107, 107, 128, 107, 107, - /* 2300 */ 128, 72, 181, 71, 37, 403, 37, 405, 234, 188, - /* 2310 */ 37, 37, 37, 37, 37, 37, 37, 78, 101, 391, - /* 2320 */ 78, 101, 37, 33, 37, 37, 22, 78, 207, 444, - /* 2330 */ 37, 403, 447, 405, 37, 450, 451, 452, 453, 454, - /* 2340 */ 455, 22, 457, 37, 37, 37, 444, 37, 37, 447, - /* 2350 */ 37, 350, 450, 451, 452, 453, 454, 455, 37, 457, - /* 2360 */ 0, 37, 42, 51, 363, 0, 37, 51, 42, 0, - /* 2370 */ 37, 0, 444, 350, 51, 447, 42, 37, 450, 451, - /* 2380 */ 452, 453, 454, 455, 42, 457, 363, 51, 0, 37, - /* 2390 */ 37, 0, 391, 20, 22, 33, 508, 22, 21, 508, - /* 2400 */ 22, 22, 21, 508, 403, 508, 405, 508, 508, 508, - /* 2410 */ 508, 508, 508, 508, 391, 508, 508, 508, 508, 508, - /* 2420 */ 508, 508, 508, 508, 508, 508, 403, 508, 405, 508, - /* 2430 */ 350, 508, 508, 508, 508, 508, 508, 508, 508, 508, - /* 2440 */ 508, 508, 508, 363, 508, 444, 508, 508, 447, 350, - /* 2450 */ 508, 450, 451, 452, 453, 454, 455, 508, 457, 508, - /* 2460 */ 508, 508, 363, 508, 508, 508, 508, 444, 508, 508, - /* 2470 */ 447, 391, 508, 450, 451, 452, 453, 454, 455, 508, - /* 2480 */ 457, 508, 508, 403, 508, 405, 508, 508, 508, 508, - /* 2490 */ 391, 508, 508, 508, 508, 508, 508, 508, 508, 508, - /* 2500 */ 508, 508, 403, 508, 405, 508, 508, 350, 508, 508, - /* 2510 */ 508, 508, 508, 508, 508, 508, 508, 508, 508, 508, - /* 2520 */ 363, 508, 508, 350, 444, 508, 508, 447, 508, 508, - /* 2530 */ 450, 451, 452, 453, 454, 455, 363, 457, 508, 508, - /* 2540 */ 508, 508, 508, 444, 508, 508, 447, 508, 391, 450, - /* 2550 */ 451, 452, 453, 454, 455, 508, 457, 508, 508, 508, - /* 2560 */ 403, 508, 405, 508, 391, 508, 508, 508, 508, 508, - /* 2570 */ 508, 508, 508, 508, 508, 508, 403, 508, 405, 508, - /* 2580 */ 508, 350, 508, 508, 508, 508, 508, 508, 508, 508, - /* 2590 */ 508, 508, 508, 508, 363, 508, 508, 508, 508, 508, - /* 2600 */ 508, 444, 508, 350, 447, 508, 508, 450, 451, 452, - /* 2610 */ 453, 454, 455, 508, 457, 508, 363, 444, 350, 508, - /* 2620 */ 447, 508, 391, 450, 451, 452, 453, 454, 455, 508, - /* 2630 */ 457, 363, 508, 508, 403, 508, 405, 508, 508, 350, - /* 2640 */ 508, 508, 508, 508, 391, 508, 508, 508, 508, 508, - /* 2650 */ 508, 508, 363, 508, 508, 508, 403, 508, 405, 391, - /* 2660 */ 508, 508, 508, 508, 508, 508, 508, 508, 508, 508, - /* 2670 */ 508, 403, 508, 405, 508, 444, 508, 508, 447, 508, - /* 2680 */ 391, 450, 451, 452, 453, 454, 455, 508, 457, 508, - /* 2690 */ 508, 508, 403, 508, 405, 508, 508, 444, 508, 508, - /* 2700 */ 447, 508, 508, 450, 451, 452, 453, 454, 455, 508, - /* 2710 */ 457, 508, 444, 508, 508, 447, 508, 508, 450, 451, - /* 2720 */ 452, 453, 454, 455, 350, 457, 508, 508, 508, 508, - /* 2730 */ 508, 508, 508, 444, 508, 508, 447, 363, 508, 450, - /* 2740 */ 451, 452, 453, 454, 455, 508, 457, 508, 508, 508, - /* 2750 */ 508, 508, 508, 508, 508, 350, 508, 508, 508, 508, - /* 2760 */ 508, 508, 508, 508, 508, 391, 508, 508, 363, 508, - /* 2770 */ 508, 508, 508, 508, 508, 508, 508, 403, 508, 405, - /* 2780 */ 508, 350, 508, 508, 508, 508, 508, 508, 508, 508, - /* 2790 */ 508, 508, 508, 508, 363, 508, 391, 508, 508, 508, - /* 2800 */ 508, 508, 508, 508, 508, 508, 508, 508, 403, 508, - /* 2810 */ 405, 508, 508, 508, 508, 508, 508, 508, 444, 508, - /* 2820 */ 508, 447, 391, 508, 450, 451, 452, 453, 454, 455, - /* 2830 */ 508, 457, 508, 508, 403, 508, 405, 508, 508, 508, - /* 2840 */ 508, 508, 508, 508, 508, 508, 508, 508, 508, 444, - /* 2850 */ 508, 508, 447, 350, 508, 450, 451, 452, 453, 454, - /* 2860 */ 455, 508, 457, 508, 508, 508, 363, 508, 508, 508, - /* 2870 */ 508, 508, 508, 508, 350, 444, 508, 508, 447, 508, - /* 2880 */ 508, 450, 451, 452, 453, 454, 455, 363, 457, 508, - /* 2890 */ 508, 508, 508, 508, 391, 508, 508, 508, 508, 508, - /* 2900 */ 508, 508, 508, 508, 508, 508, 403, 508, 405, 508, - /* 2910 */ 508, 350, 508, 508, 508, 391, 508, 508, 508, 508, - /* 2920 */ 508, 508, 508, 508, 363, 508, 508, 403, 508, 405, - /* 2930 */ 508, 508, 350, 508, 508, 508, 508, 508, 508, 508, - /* 2940 */ 508, 508, 508, 508, 508, 363, 508, 444, 508, 508, - /* 2950 */ 447, 508, 391, 450, 451, 452, 453, 454, 455, 508, - /* 2960 */ 457, 508, 508, 508, 403, 508, 405, 508, 444, 350, - /* 2970 */ 508, 447, 508, 391, 450, 451, 452, 453, 454, 455, - /* 2980 */ 508, 457, 363, 508, 508, 403, 508, 405, 508, 508, - /* 2990 */ 350, 508, 508, 508, 508, 508, 508, 508, 508, 508, - /* 3000 */ 508, 508, 508, 363, 508, 444, 508, 508, 447, 508, - /* 3010 */ 391, 450, 451, 452, 453, 454, 455, 508, 457, 508, - /* 3020 */ 508, 508, 403, 508, 405, 508, 444, 508, 508, 447, - /* 3030 */ 508, 391, 450, 451, 452, 453, 454, 455, 508, 457, - /* 3040 */ 508, 508, 508, 403, 508, 405, 508, 508, 508, 508, - /* 3050 */ 508, 508, 508, 508, 508, 508, 508, 508, 508, 508, - /* 3060 */ 508, 508, 508, 444, 508, 508, 447, 508, 508, 450, - /* 3070 */ 451, 452, 453, 454, 455, 508, 457, 508, 508, 508, - /* 3080 */ 508, 508, 508, 508, 444, 508, 508, 447, 508, 508, - /* 3090 */ 450, 451, 452, 453, 454, 455, 508, 457, 347, 347, - /* 3100 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3110 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3120 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3130 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3140 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3150 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3160 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3170 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3180 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3190 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3200 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3210 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3220 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3230 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3240 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3250 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3260 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3270 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3280 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3290 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3300 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3310 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3320 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3330 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3340 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3350 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3360 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3370 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3380 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3390 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3400 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3410 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3420 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3430 */ 347, 347, 347, 347, 347, 347, 347, 347, 347, 347, - /* 3440 */ 347, 347, 347, 347, 347, + /* 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, }; -#define YY_SHIFT_COUNT (842) +#define YY_SHIFT_COUNT (844) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2391) +#define YY_SHIFT_MAX (2384) static const unsigned short int yy_shift_ofst[] = { - /* 0 */ 393, 0, 241, 0, 483, 483, 483, 483, 483, 483, - /* 10 */ 483, 483, 483, 483, 483, 483, 724, 965, 965, 1206, - /* 20 */ 965, 965, 965, 965, 965, 965, 965, 965, 965, 965, - /* 30 */ 965, 965, 965, 965, 965, 965, 965, 965, 965, 965, - /* 40 */ 965, 965, 965, 965, 965, 965, 965, 965, 965, 965, - /* 50 */ 965, 252, 331, 362, 127, 93, 148, 93, 93, 127, - /* 60 */ 127, 93, 1311, 93, 240, 1311, 1311, 34, 93, 30, - /* 70 */ 13, 43, 43, 182, 182, 13, 88, 308, 313, 313, - /* 80 */ 392, 43, 43, 43, 43, 43, 43, 43, 43, 43, - /* 90 */ 43, 43, 134, 141, 43, 43, 207, 30, 43, 134, - /* 100 */ 43, 30, 43, 43, 30, 43, 43, 30, 43, 30, - /* 110 */ 30, 30, 43, 369, 441, 441, 261, 144, 719, 719, - /* 120 */ 719, 719, 719, 719, 719, 719, 719, 719, 719, 719, - /* 130 */ 719, 719, 719, 719, 719, 719, 719, 1027, 646, 88, - /* 140 */ 308, 1057, 1057, 591, 186, 186, 186, 624, 383, 383, - /* 150 */ 913, 591, 207, 434, 30, 30, 213, 30, 602, 30, - /* 160 */ 602, 602, 455, 814, 90, 90, 90, 90, 90, 90, - /* 170 */ 90, 90, 2121, 935, 66, 415, 16, 244, 237, 105, - /* 180 */ 173, 532, 510, 510, 779, 179, 841, 421, 421, 421, - /* 190 */ 1, 421, 576, 690, 631, 1087, 775, 1067, 631, 631, - /* 200 */ 1104, 1011, 654, 1021, 1011, 1150, 1036, 913, 1226, 1446, - /* 210 */ 1461, 1487, 1295, 207, 1487, 207, 1321, 1501, 1503, 1481, - /* 220 */ 1503, 1481, 1357, 1501, 1503, 1501, 1481, 1357, 1357, 1436, - /* 230 */ 1441, 1501, 1447, 1501, 1501, 1501, 1545, 1517, 1545, 1517, - /* 240 */ 1487, 207, 207, 1555, 207, 1565, 1568, 207, 1565, 207, - /* 250 */ 1576, 207, 207, 1501, 207, 1545, 30, 30, 30, 30, - /* 260 */ 30, 30, 30, 30, 30, 30, 30, 1501, 814, 814, - /* 270 */ 1545, 602, 602, 602, 1406, 1522, 1487, 369, 1610, 1454, - /* 280 */ 1456, 1555, 369, 1226, 1501, 602, 1402, 1407, 1402, 1407, - /* 290 */ 1403, 1499, 1402, 1404, 1408, 1418, 1226, 1405, 1409, 1413, - /* 300 */ 1435, 1503, 1686, 1592, 1442, 1565, 369, 369, 1407, 602, - /* 310 */ 602, 602, 602, 1407, 602, 1532, 369, 455, 369, 1503, - /* 320 */ 1641, 1644, 602, 1501, 369, 1733, 1720, 1545, 3098, 3098, - /* 330 */ 3098, 3098, 3098, 3098, 3098, 3098, 3098, 36, 1439, 15, - /* 340 */ 1238, 555, 271, 662, 549, 891, 981, 1143, 635, 1068, - /* 350 */ 1068, 1068, 1068, 1068, 1068, 1068, 1068, 1068, 676, 790, - /* 360 */ 858, 494, 494, 691, 474, 608, 9, 448, 577, 761, - /* 370 */ 614, 360, 360, 931, 802, 757, 931, 931, 931, 1181, - /* 380 */ 83, 1112, 882, 1271, 399, 1288, 1195, 1215, 1216, 1221, - /* 390 */ 1092, 1302, 410, 1319, 1320, 1343, 1123, 1261, 1294, 1286, - /* 400 */ 1322, 1324, 1352, 1224, 1225, 1231, 1354, 1359, 1360, 1361, - /* 410 */ 1363, 1364, 1373, 1365, 1283, 1355, 1303, 1353, 1367, 1368, - /* 420 */ 1370, 1375, 1376, 836, 1232, 1345, 1386, 1391, 1388, 1412, - /* 430 */ 1772, 1773, 1774, 1731, 1777, 1742, 1556, 1744, 1745, 1746, - /* 440 */ 1560, 1785, 1749, 1751, 1566, 1755, 1793, 1571, 1796, 1766, - /* 450 */ 1805, 1770, 1809, 1788, 1812, 1776, 1595, 1817, 1612, 1822, - /* 460 */ 1616, 1617, 1623, 1627, 1827, 1829, 1832, 1638, 1646, 1842, - /* 470 */ 1844, 1697, 1797, 1798, 1848, 1813, 1851, 1852, 1818, 1802, - /* 480 */ 1854, 1807, 1857, 1815, 1858, 1864, 1873, 1825, 1875, 1877, - /* 490 */ 1878, 1880, 1881, 1882, 1724, 1850, 1890, 1729, 1892, 1893, - /* 500 */ 1894, 1895, 1896, 1897, 1898, 1899, 1900, 1903, 1904, 1906, - /* 510 */ 1907, 1916, 1917, 1918, 1919, 1871, 1921, 1884, 1922, 1923, - /* 520 */ 1925, 1926, 1936, 1938, 1939, 1924, 1940, 1795, 1944, 1800, - /* 530 */ 1945, 1803, 1948, 1950, 1930, 1905, 1931, 1908, 1957, 1901, - /* 540 */ 1927, 1959, 1909, 1960, 1910, 1961, 1962, 1933, 1912, 1929, - /* 550 */ 1965, 1935, 1934, 1937, 1967, 1941, 1942, 1946, 1968, 1943, - /* 560 */ 1973, 1932, 1947, 1949, 1958, 1963, 1970, 1966, 1976, 1951, - /* 570 */ 1954, 1986, 1987, 1990, 1991, 1955, 1819, 1992, 1958, 1969, - /* 580 */ 1999, 2010, 1952, 2011, 2014, 1979, 1972, 1975, 2019, 1983, - /* 590 */ 1985, 1995, 2021, 1997, 1989, 1996, 2027, 2005, 1993, 2003, - /* 600 */ 2043, 2048, 2049, 2050, 2051, 2052, 1953, 1956, 2017, 2034, - /* 610 */ 2057, 2022, 2024, 2025, 2026, 2028, 2029, 2033, 2035, 2031, - /* 620 */ 2038, 2036, 2037, 2053, 2039, 2058, 2055, 2060, 2056, 2082, - /* 630 */ 2062, 2032, 2086, 2065, 2054, 2088, 2089, 2090, 2059, 2092, - /* 640 */ 2069, 2093, 2073, 2079, 2071, 2072, 2075, 2002, 2006, 2114, - /* 650 */ 1964, 2008, 1874, 1958, 2067, 2117, 1971, 2081, 2097, 2124, - /* 660 */ 1974, 2103, 1978, 1977, 2132, 2134, 1981, 1982, 1984, 1988, - /* 670 */ 2118, 2104, 1862, 2040, 2030, 2041, 2091, 2044, 2095, 2061, - /* 680 */ 2046, 2109, 2113, 2047, 2045, 2063, 2064, 2070, 2125, 2112, - /* 690 */ 2116, 2066, 2129, 1911, 2083, 2085, 2164, 2136, 1913, 2138, - /* 700 */ 2140, 2143, 2151, 2152, 2153, 2096, 2098, 2145, 1980, 2163, - /* 710 */ 2148, 2208, 2209, 2106, 2168, 2107, 2108, 2110, 2115, 2119, - /* 720 */ 2042, 2122, 2211, 2175, 2068, 2126, 2120, 1958, 2166, 2187, - /* 730 */ 2123, 2000, 2127, 2221, 2202, 2007, 2130, 2131, 2133, 2135, - /* 740 */ 2137, 2142, 2182, 2139, 2144, 2185, 2147, 2219, 2074, 2146, - /* 750 */ 2128, 2149, 2205, 2222, 2154, 2150, 2227, 2165, 2167, 2237, - /* 760 */ 2170, 2171, 2243, 2174, 2176, 2245, 2178, 2179, 2246, 2188, - /* 770 */ 2158, 2161, 2169, 2172, 2189, 2223, 2191, 2255, 2192, 2223, - /* 780 */ 2223, 2272, 2229, 2232, 2267, 2269, 2273, 2274, 2275, 2276, - /* 790 */ 2277, 2278, 2279, 2239, 2217, 2242, 2220, 2290, 2285, 2287, - /* 800 */ 2288, 2304, 2293, 2297, 2306, 2249, 2031, 2307, 2038, 2308, - /* 810 */ 2310, 2311, 2313, 2319, 2321, 2360, 2324, 2312, 2320, 2365, - /* 820 */ 2329, 2316, 2326, 2369, 2333, 2323, 2334, 2371, 2340, 2336, - /* 830 */ 2342, 2388, 2352, 2353, 2391, 2372, 2362, 2375, 2377, 2378, - /* 840 */ 2379, 2381, 2373, + /* 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, }; #define YY_REDUCE_COUNT (336) -#define YY_REDUCE_MIN (-445) -#define YY_REDUCE_MAX (2640) +#define YY_REDUCE_MIN (-447) +#define YY_REDUCE_MAX (2678) static const short yy_reduce_ofst[] = { - /* 0 */ 332, -302, 190, 389, 419, 642, 725, 783, 909, 967, - /* 10 */ 1129, 1187, 1214, 668, 1272, 1347, -81, 487, 1384, 1415, - /* 20 */ 1458, 154, 1480, 1551, 1578, 1650, 1676, 1748, 1816, 1885, - /* 30 */ 1902, 1928, 2001, 2023, 2080, 2099, 2157, 2173, 2231, 2253, - /* 40 */ 2268, 2289, 2374, 2405, 2431, 2503, 2524, 2561, 2582, 2619, - /* 50 */ 2640, -172, -339, -423, 102, -421, -208, 451, 558, -159, - /* 60 */ 59, 560, 888, 288, -308, 236, 402, -35, 546, -372, - /* 70 */ -56, -66, 152, -351, -178, -85, -329, -209, -341, -294, - /* 80 */ -306, 310, 380, 386, 425, -362, 108, 438, 493, 554, - /* 90 */ 688, 180, 196, 27, 716, 772, -283, 349, 808, 220, - /* 100 */ 886, 454, 893, 898, -62, 900, 903, 456, 924, 620, - /* 110 */ 523, 655, 936, -113, -327, -327, -40, -347, 33, 163, - /* 120 */ 194, 227, 262, 305, 314, 363, 488, 638, 649, 714, - /* 130 */ 737, 741, 750, 781, 818, 873, 874, -46, -89, 504, - /* 140 */ 698, 759, 793, 605, -89, 62, 344, 427, -445, -199, - /* 150 */ 508, 815, 435, 114, 756, 838, 762, 774, 665, 840, - /* 160 */ 850, 890, 908, 948, -385, 358, 492, 622, 650, 661, - /* 170 */ 693, 650, 753, 819, 932, 963, 748, 885, 943, 918, - /* 180 */ 990, 990, 1034, 1037, 1010, 1066, 1018, 946, 971, 976, - /* 190 */ 1052, 986, 990, 1093, 1065, 1119, 1083, 1053, 1071, 1072, - /* 200 */ 990, 1013, 1013, 994, 1013, 1019, 1014, 1113, 1069, 1059, - /* 210 */ 1061, 1070, 1073, 1140, 1075, 1144, 1090, 1160, 1161, 1115, - /* 220 */ 1165, 1117, 1121, 1169, 1172, 1174, 1126, 1130, 1131, 1176, - /* 230 */ 1173, 1190, 1180, 1192, 1193, 1201, 1211, 1209, 1217, 1210, - /* 240 */ 1132, 1200, 1203, 1182, 1218, 1230, 1167, 1228, 1236, 1233, - /* 250 */ 1183, 1235, 1237, 1239, 1241, 1248, 1219, 1222, 1223, 1227, - /* 260 */ 1234, 1242, 1245, 1252, 1254, 1256, 1257, 1247, 1262, 1263, - /* 270 */ 1268, 1204, 1229, 1249, 1184, 1213, 1212, 1285, 1220, 1244, - /* 280 */ 1240, 1265, 1293, 1246, 1310, 1277, 1197, 1266, 1199, 1267, - /* 290 */ 1202, 1205, 1208, 1251, 1243, 1255, 1273, 1191, 1198, 1207, - /* 300 */ 1013, 1342, 1259, 1250, 1253, 1349, 1346, 1348, 1290, 1315, - /* 310 */ 1317, 1318, 1327, 1314, 1328, 1325, 1374, 1358, 1377, 1381, - /* 320 */ 1282, 1362, 1350, 1392, 1387, 1410, 1411, 1414, 1329, 1331, - /* 330 */ 1338, 1339, 1378, 1379, 1383, 1396, 1423, + /* 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, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 10 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 20 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 30 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 40 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 50 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 60 */ 1889, 2226, 1889, 1889, 2189, 1889, 1889, 1889, 1889, 1889, - /* 70 */ 1889, 1889, 1889, 1889, 1889, 1889, 2196, 1889, 1889, 1889, - /* 80 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 90 */ 1889, 1889, 1889, 1889, 1889, 1889, 1988, 1889, 1889, 1889, - /* 100 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 110 */ 1889, 1889, 1889, 1986, 2429, 1889, 1889, 1889, 1889, 1889, - /* 120 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 130 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 2441, 1889, - /* 140 */ 1889, 1960, 1960, 1889, 2441, 2441, 2441, 1986, 2401, 2401, - /* 150 */ 1889, 1889, 1988, 2264, 1889, 1889, 1889, 1889, 1889, 1889, - /* 160 */ 1889, 1889, 2111, 1919, 1889, 1889, 1889, 1889, 2135, 1889, - /* 170 */ 1889, 1889, 2252, 1889, 1889, 2470, 2530, 1889, 1889, 2473, - /* 180 */ 1889, 1889, 1889, 1889, 2201, 1889, 2460, 1889, 1889, 1889, - /* 190 */ 1889, 1889, 1889, 1889, 1889, 1889, 2064, 2246, 1889, 1889, - /* 200 */ 1889, 2433, 2447, 2514, 2434, 2431, 2454, 1889, 2464, 1889, - /* 210 */ 2289, 1889, 2278, 1988, 1889, 1988, 2239, 2184, 1889, 2194, - /* 220 */ 1889, 2194, 2191, 1889, 1889, 1889, 2194, 2191, 2191, 2053, - /* 230 */ 2049, 1889, 2047, 1889, 1889, 1889, 1889, 1944, 1889, 1944, - /* 240 */ 1889, 1988, 1988, 1889, 1988, 1889, 1889, 1988, 1889, 1988, - /* 250 */ 1889, 1988, 1988, 1889, 1988, 1889, 1889, 1889, 1889, 1889, - /* 260 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 270 */ 1889, 1889, 1889, 1889, 2276, 2262, 1889, 1986, 1889, 2250, - /* 280 */ 2248, 1889, 1986, 2464, 1889, 1889, 2484, 2479, 2484, 2479, - /* 290 */ 2498, 2494, 2484, 2503, 2500, 2466, 2464, 2533, 2520, 2516, - /* 300 */ 2447, 1889, 1889, 2452, 2450, 1889, 1986, 1986, 2479, 1889, - /* 310 */ 1889, 1889, 1889, 2479, 1889, 1889, 1986, 1889, 1986, 1889, - /* 320 */ 1889, 2080, 1889, 1889, 1986, 1889, 1928, 1889, 2241, 2267, - /* 330 */ 2222, 2222, 2114, 2114, 2114, 1989, 1894, 1889, 1889, 1889, - /* 340 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 2497, - /* 350 */ 2496, 2354, 1889, 2405, 2404, 2403, 2394, 2353, 2076, 1889, - /* 360 */ 1889, 2352, 2351, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 370 */ 1889, 2213, 2212, 2345, 1889, 1889, 2346, 2344, 2343, 1889, - /* 380 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 390 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 400 */ 1889, 1889, 1889, 1889, 2517, 2521, 1889, 1889, 1889, 1889, - /* 410 */ 1889, 1889, 2430, 1889, 1889, 1889, 2325, 1889, 1889, 1889, - /* 420 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 430 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 440 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 450 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 460 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 470 */ 1889, 2190, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 480 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 490 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 500 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 510 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 520 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 530 */ 1889, 2205, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 540 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 550 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 560 */ 1889, 1889, 1889, 1933, 2332, 1889, 1889, 1889, 1889, 1889, - /* 570 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 2335, 1889, - /* 580 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 590 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 600 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 610 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 2028, - /* 620 */ 2027, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 630 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 640 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 2336, 1889, 1889, - /* 650 */ 1889, 1889, 1889, 2327, 1889, 1889, 1889, 1889, 1889, 1889, - /* 660 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 670 */ 2513, 2467, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 680 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 690 */ 2325, 1889, 2495, 1889, 1889, 2511, 1889, 2515, 1889, 1889, - /* 700 */ 1889, 1889, 1889, 1889, 1889, 2440, 2436, 1889, 1889, 2432, - /* 710 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 720 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 2324, 1889, 2391, - /* 730 */ 1889, 1889, 1889, 2425, 1889, 1889, 2376, 1889, 1889, 1889, - /* 740 */ 1889, 1889, 1889, 1889, 1889, 1889, 2336, 1889, 2339, 1889, - /* 750 */ 1889, 1889, 1889, 1889, 2108, 1889, 1889, 1889, 1889, 1889, - /* 760 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 770 */ 2092, 2090, 2089, 2088, 1889, 2121, 1889, 1889, 1889, 2117, - /* 780 */ 2116, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 790 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 2007, 1889, 1889, - /* 800 */ 1889, 1889, 1889, 1889, 1889, 1889, 1999, 1889, 1998, 1889, - /* 810 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 820 */ 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, 1889, - /* 830 */ 1889, 1889, 1889, 1889, 1889, 1889, 1918, 1889, 1889, 1889, - /* 840 */ 1889, 1889, 1889, + /* 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, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1221,7 +1227,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* BWLIMIT => nothing */ 0, /* START => nothing */ 0, /* TIMESTAMP => nothing */ - 297, /* END => ABORT */ + 299, /* END => ABORT */ 0, /* TABLE => nothing */ 0, /* NK_LP => nothing */ 0, /* NK_RP => nothing */ @@ -1275,6 +1281,8 @@ static const YYCODETYPE yyFallback[] = { 0, /* CONNECTIONS => nothing */ 0, /* LICENCES => nothing */ 0, /* GRANTS => nothing */ + 0, /* FULL => nothing */ + 0, /* LOG => nothing */ 0, /* QUERIES => nothing */ 0, /* SCORES => nothing */ 0, /* TOPICS => nothing */ @@ -1288,7 +1296,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* VNODES => nothing */ 0, /* ALIVE => nothing */ 0, /* VIEWS => nothing */ - 297, /* VIEW => ABORT */ + 299, /* VIEW => ABORT */ 0, /* COMPACTS => nothing */ 0, /* NORMAL => nothing */ 0, /* CHILD => nothing */ @@ -1414,55 +1422,55 @@ static const YYCODETYPE yyFallback[] = { 0, /* ASC => nothing */ 0, /* NULLS => nothing */ 0, /* ABORT => nothing */ - 297, /* AFTER => ABORT */ - 297, /* ATTACH => ABORT */ - 297, /* BEFORE => ABORT */ - 297, /* BEGIN => ABORT */ - 297, /* BITAND => ABORT */ - 297, /* BITNOT => ABORT */ - 297, /* BITOR => ABORT */ - 297, /* BLOCKS => ABORT */ - 297, /* CHANGE => ABORT */ - 297, /* COMMA => ABORT */ - 297, /* CONCAT => ABORT */ - 297, /* CONFLICT => ABORT */ - 297, /* COPY => ABORT */ - 297, /* DEFERRED => ABORT */ - 297, /* DELIMITERS => ABORT */ - 297, /* DETACH => ABORT */ - 297, /* DIVIDE => ABORT */ - 297, /* DOT => ABORT */ - 297, /* EACH => ABORT */ - 297, /* FAIL => ABORT */ - 297, /* FILE => ABORT */ - 297, /* FOR => ABORT */ - 297, /* GLOB => ABORT */ - 297, /* ID => ABORT */ - 297, /* IMMEDIATE => ABORT */ - 297, /* IMPORT => ABORT */ - 297, /* INITIALLY => ABORT */ - 297, /* INSTEAD => ABORT */ - 297, /* ISNULL => ABORT */ - 297, /* KEY => ABORT */ - 297, /* MODULES => ABORT */ - 297, /* NK_BITNOT => ABORT */ - 297, /* NK_SEMI => ABORT */ - 297, /* NOTNULL => ABORT */ - 297, /* OF => ABORT */ - 297, /* PLUS => ABORT */ - 297, /* PRIVILEGE => ABORT */ - 297, /* RAISE => ABORT */ - 297, /* RESTRICT => ABORT */ - 297, /* ROW => ABORT */ - 297, /* SEMI => ABORT */ - 297, /* STAR => ABORT */ - 297, /* STATEMENT => ABORT */ - 297, /* STRICT => ABORT */ - 297, /* STRING => ABORT */ - 297, /* TIMES => ABORT */ - 297, /* VALUES => ABORT */ - 297, /* VARIABLE => ABORT */ - 297, /* WAL => ABORT */ + 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 */ }; #endif /* YYFALLBACK */ @@ -1709,355 +1717,357 @@ static const char *const yyTokenName[] = { /* 156 */ "CONNECTIONS", /* 157 */ "LICENCES", /* 158 */ "GRANTS", - /* 159 */ "QUERIES", - /* 160 */ "SCORES", - /* 161 */ "TOPICS", - /* 162 */ "VARIABLES", - /* 163 */ "BNODES", - /* 164 */ "SNODES", - /* 165 */ "TRANSACTIONS", - /* 166 */ "DISTRIBUTED", - /* 167 */ "CONSUMERS", - /* 168 */ "SUBSCRIPTIONS", - /* 169 */ "VNODES", - /* 170 */ "ALIVE", - /* 171 */ "VIEWS", - /* 172 */ "VIEW", - /* 173 */ "COMPACTS", - /* 174 */ "NORMAL", - /* 175 */ "CHILD", - /* 176 */ "LIKE", - /* 177 */ "TBNAME", - /* 178 */ "QTAGS", - /* 179 */ "AS", - /* 180 */ "SYSTEM", - /* 181 */ "INDEX", - /* 182 */ "FUNCTION", - /* 183 */ "INTERVAL", - /* 184 */ "COUNT", - /* 185 */ "LAST_ROW", - /* 186 */ "META", - /* 187 */ "ONLY", - /* 188 */ "TOPIC", - /* 189 */ "CONSUMER", - /* 190 */ "GROUP", - /* 191 */ "DESC", - /* 192 */ "DESCRIBE", - /* 193 */ "RESET", - /* 194 */ "QUERY", - /* 195 */ "CACHE", - /* 196 */ "EXPLAIN", - /* 197 */ "ANALYZE", - /* 198 */ "VERBOSE", - /* 199 */ "NK_BOOL", - /* 200 */ "RATIO", - /* 201 */ "NK_FLOAT", - /* 202 */ "OUTPUTTYPE", - /* 203 */ "AGGREGATE", - /* 204 */ "BUFSIZE", - /* 205 */ "LANGUAGE", - /* 206 */ "REPLACE", - /* 207 */ "STREAM", - /* 208 */ "INTO", - /* 209 */ "PAUSE", - /* 210 */ "RESUME", - /* 211 */ "TRIGGER", - /* 212 */ "AT_ONCE", - /* 213 */ "WINDOW_CLOSE", - /* 214 */ "IGNORE", - /* 215 */ "EXPIRED", - /* 216 */ "FILL_HISTORY", - /* 217 */ "UPDATE", - /* 218 */ "SUBTABLE", - /* 219 */ "UNTREATED", - /* 220 */ "KILL", - /* 221 */ "CONNECTION", - /* 222 */ "TRANSACTION", - /* 223 */ "BALANCE", - /* 224 */ "VGROUP", - /* 225 */ "LEADER", - /* 226 */ "MERGE", - /* 227 */ "REDISTRIBUTE", - /* 228 */ "SPLIT", - /* 229 */ "DELETE", - /* 230 */ "INSERT", - /* 231 */ "NULL", - /* 232 */ "NK_QUESTION", - /* 233 */ "NK_ALIAS", - /* 234 */ "NK_ARROW", - /* 235 */ "ROWTS", - /* 236 */ "QSTART", - /* 237 */ "QEND", - /* 238 */ "QDURATION", - /* 239 */ "WSTART", - /* 240 */ "WEND", - /* 241 */ "WDURATION", - /* 242 */ "IROWTS", - /* 243 */ "ISFILLED", - /* 244 */ "CAST", - /* 245 */ "NOW", - /* 246 */ "TODAY", - /* 247 */ "TIMEZONE", - /* 248 */ "CLIENT_VERSION", - /* 249 */ "SERVER_VERSION", - /* 250 */ "SERVER_STATUS", - /* 251 */ "CURRENT_USER", - /* 252 */ "CASE", - /* 253 */ "WHEN", - /* 254 */ "THEN", - /* 255 */ "ELSE", - /* 256 */ "BETWEEN", - /* 257 */ "IS", - /* 258 */ "NK_LT", - /* 259 */ "NK_GT", - /* 260 */ "NK_LE", - /* 261 */ "NK_GE", - /* 262 */ "NK_NE", - /* 263 */ "MATCH", - /* 264 */ "NMATCH", - /* 265 */ "CONTAINS", - /* 266 */ "IN", - /* 267 */ "JOIN", - /* 268 */ "INNER", - /* 269 */ "SELECT", - /* 270 */ "NK_HINT", - /* 271 */ "DISTINCT", - /* 272 */ "WHERE", - /* 273 */ "PARTITION", - /* 274 */ "BY", - /* 275 */ "SESSION", - /* 276 */ "STATE_WINDOW", - /* 277 */ "EVENT_WINDOW", - /* 278 */ "SLIDING", - /* 279 */ "FILL", - /* 280 */ "VALUE", - /* 281 */ "VALUE_F", - /* 282 */ "NONE", - /* 283 */ "PREV", - /* 284 */ "NULL_F", - /* 285 */ "LINEAR", - /* 286 */ "NEXT", - /* 287 */ "HAVING", - /* 288 */ "RANGE", - /* 289 */ "EVERY", - /* 290 */ "ORDER", - /* 291 */ "SLIMIT", - /* 292 */ "SOFFSET", - /* 293 */ "LIMIT", - /* 294 */ "OFFSET", - /* 295 */ "ASC", - /* 296 */ "NULLS", - /* 297 */ "ABORT", - /* 298 */ "AFTER", - /* 299 */ "ATTACH", - /* 300 */ "BEFORE", - /* 301 */ "BEGIN", - /* 302 */ "BITAND", - /* 303 */ "BITNOT", - /* 304 */ "BITOR", - /* 305 */ "BLOCKS", - /* 306 */ "CHANGE", - /* 307 */ "COMMA", - /* 308 */ "CONCAT", - /* 309 */ "CONFLICT", - /* 310 */ "COPY", - /* 311 */ "DEFERRED", - /* 312 */ "DELIMITERS", - /* 313 */ "DETACH", - /* 314 */ "DIVIDE", - /* 315 */ "DOT", - /* 316 */ "EACH", - /* 317 */ "FAIL", - /* 318 */ "FILE", - /* 319 */ "FOR", - /* 320 */ "GLOB", - /* 321 */ "ID", - /* 322 */ "IMMEDIATE", - /* 323 */ "IMPORT", - /* 324 */ "INITIALLY", - /* 325 */ "INSTEAD", - /* 326 */ "ISNULL", - /* 327 */ "KEY", - /* 328 */ "MODULES", - /* 329 */ "NK_BITNOT", - /* 330 */ "NK_SEMI", - /* 331 */ "NOTNULL", - /* 332 */ "OF", - /* 333 */ "PLUS", - /* 334 */ "PRIVILEGE", - /* 335 */ "RAISE", - /* 336 */ "RESTRICT", - /* 337 */ "ROW", - /* 338 */ "SEMI", - /* 339 */ "STAR", - /* 340 */ "STATEMENT", - /* 341 */ "STRICT", - /* 342 */ "STRING", - /* 343 */ "TIMES", - /* 344 */ "VALUES", - /* 345 */ "VARIABLE", - /* 346 */ "WAL", - /* 347 */ "cmd", - /* 348 */ "account_options", - /* 349 */ "alter_account_options", - /* 350 */ "literal", - /* 351 */ "alter_account_option", - /* 352 */ "ip_range_list", - /* 353 */ "white_list", - /* 354 */ "white_list_opt", - /* 355 */ "user_name", - /* 356 */ "sysinfo_opt", - /* 357 */ "privileges", - /* 358 */ "priv_level", - /* 359 */ "with_opt", - /* 360 */ "priv_type_list", - /* 361 */ "priv_type", - /* 362 */ "db_name", - /* 363 */ "table_name", - /* 364 */ "topic_name", - /* 365 */ "search_condition", - /* 366 */ "dnode_endpoint", - /* 367 */ "force_opt", - /* 368 */ "unsafe_opt", - /* 369 */ "not_exists_opt", - /* 370 */ "db_options", - /* 371 */ "exists_opt", - /* 372 */ "alter_db_options", - /* 373 */ "speed_opt", - /* 374 */ "start_opt", - /* 375 */ "end_opt", - /* 376 */ "integer_list", - /* 377 */ "variable_list", - /* 378 */ "retention_list", - /* 379 */ "signed", - /* 380 */ "alter_db_option", - /* 381 */ "retention", - /* 382 */ "full_table_name", - /* 383 */ "column_def_list", - /* 384 */ "tags_def_opt", - /* 385 */ "table_options", - /* 386 */ "multi_create_clause", - /* 387 */ "tags_def", - /* 388 */ "multi_drop_clause", - /* 389 */ "alter_table_clause", - /* 390 */ "alter_table_options", - /* 391 */ "column_name", - /* 392 */ "type_name", - /* 393 */ "signed_literal", - /* 394 */ "create_subtable_clause", - /* 395 */ "specific_cols_opt", - /* 396 */ "expression_list", - /* 397 */ "drop_table_clause", - /* 398 */ "col_name_list", - /* 399 */ "column_def", - /* 400 */ "duration_list", - /* 401 */ "rollup_func_list", - /* 402 */ "alter_table_option", - /* 403 */ "duration_literal", - /* 404 */ "rollup_func_name", - /* 405 */ "function_name", - /* 406 */ "col_name", - /* 407 */ "db_kind_opt", - /* 408 */ "table_kind_db_name_cond_opt", - /* 409 */ "like_pattern_opt", - /* 410 */ "db_name_cond_opt", - /* 411 */ "table_name_cond", - /* 412 */ "from_db_opt", - /* 413 */ "tag_list_opt", - /* 414 */ "table_kind", - /* 415 */ "tag_item", - /* 416 */ "column_alias", - /* 417 */ "index_options", - /* 418 */ "full_index_name", - /* 419 */ "index_name", - /* 420 */ "func_list", - /* 421 */ "sliding_opt", - /* 422 */ "sma_stream_opt", - /* 423 */ "func", - /* 424 */ "sma_func_name", - /* 425 */ "with_meta", - /* 426 */ "query_or_subquery", - /* 427 */ "where_clause_opt", - /* 428 */ "cgroup_name", - /* 429 */ "analyze_opt", - /* 430 */ "explain_options", - /* 431 */ "insert_query", - /* 432 */ "or_replace_opt", - /* 433 */ "agg_func_opt", - /* 434 */ "bufsize_opt", - /* 435 */ "language_opt", - /* 436 */ "full_view_name", - /* 437 */ "view_name", - /* 438 */ "stream_name", - /* 439 */ "stream_options", - /* 440 */ "col_list_opt", - /* 441 */ "tag_def_or_ref_opt", - /* 442 */ "subtable_opt", - /* 443 */ "ignore_opt", - /* 444 */ "expression", - /* 445 */ "on_vgroup_id", - /* 446 */ "dnode_list", - /* 447 */ "literal_func", - /* 448 */ "literal_list", - /* 449 */ "table_alias", - /* 450 */ "expr_or_subquery", - /* 451 */ "pseudo_column", - /* 452 */ "column_reference", - /* 453 */ "function_expression", - /* 454 */ "case_when_expression", - /* 455 */ "star_func", - /* 456 */ "star_func_para_list", - /* 457 */ "noarg_func", - /* 458 */ "other_para_list", - /* 459 */ "star_func_para", - /* 460 */ "when_then_list", - /* 461 */ "case_when_else_opt", - /* 462 */ "common_expression", - /* 463 */ "when_then_expr", - /* 464 */ "predicate", - /* 465 */ "compare_op", - /* 466 */ "in_op", - /* 467 */ "in_predicate_value", - /* 468 */ "boolean_value_expression", - /* 469 */ "boolean_primary", - /* 470 */ "from_clause_opt", - /* 471 */ "table_reference_list", - /* 472 */ "table_reference", - /* 473 */ "table_primary", - /* 474 */ "joined_table", - /* 475 */ "alias_opt", - /* 476 */ "subquery", - /* 477 */ "parenthesized_joined_table", - /* 478 */ "join_type", - /* 479 */ "query_specification", - /* 480 */ "hint_list", - /* 481 */ "set_quantifier_opt", - /* 482 */ "tag_mode_opt", - /* 483 */ "select_list", - /* 484 */ "partition_by_clause_opt", - /* 485 */ "range_opt", - /* 486 */ "every_opt", - /* 487 */ "fill_opt", - /* 488 */ "twindow_clause_opt", - /* 489 */ "group_by_clause_opt", - /* 490 */ "having_clause_opt", - /* 491 */ "select_item", - /* 492 */ "partition_list", - /* 493 */ "partition_item", - /* 494 */ "interval_sliding_duration_literal", - /* 495 */ "fill_mode", - /* 496 */ "group_by_list", - /* 497 */ "query_expression", - /* 498 */ "query_simple", - /* 499 */ "order_by_clause_opt", - /* 500 */ "slimit_clause_opt", - /* 501 */ "limit_clause_opt", - /* 502 */ "union_query_expression", - /* 503 */ "query_simple_or_subquery", - /* 504 */ "sort_specification_list", - /* 505 */ "sort_specification", - /* 506 */ "ordering_specification_opt", - /* 507 */ "null_ordering_opt", + /* 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", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -2327,388 +2337,390 @@ static const char *const yyRuleName[] = { /* 259 */ "cmd ::= SHOW CONNECTIONS", /* 260 */ "cmd ::= SHOW LICENCES", /* 261 */ "cmd ::= SHOW GRANTS", - /* 262 */ "cmd ::= SHOW CREATE DATABASE db_name", - /* 263 */ "cmd ::= SHOW CREATE TABLE full_table_name", - /* 264 */ "cmd ::= SHOW CREATE STABLE full_table_name", - /* 265 */ "cmd ::= SHOW QUERIES", - /* 266 */ "cmd ::= SHOW SCORES", - /* 267 */ "cmd ::= SHOW TOPICS", - /* 268 */ "cmd ::= SHOW VARIABLES", - /* 269 */ "cmd ::= SHOW CLUSTER VARIABLES", - /* 270 */ "cmd ::= SHOW LOCAL VARIABLES", - /* 271 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", - /* 272 */ "cmd ::= SHOW BNODES", - /* 273 */ "cmd ::= SHOW SNODES", - /* 274 */ "cmd ::= SHOW CLUSTER", - /* 275 */ "cmd ::= SHOW TRANSACTIONS", - /* 276 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", - /* 277 */ "cmd ::= SHOW CONSUMERS", - /* 278 */ "cmd ::= SHOW SUBSCRIPTIONS", - /* 279 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", - /* 280 */ "cmd ::= SHOW TAGS FROM db_name NK_DOT table_name", - /* 281 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", - /* 282 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name", - /* 283 */ "cmd ::= SHOW VNODES ON DNODE NK_INTEGER", - /* 284 */ "cmd ::= SHOW VNODES", - /* 285 */ "cmd ::= SHOW db_name_cond_opt ALIVE", - /* 286 */ "cmd ::= SHOW CLUSTER ALIVE", - /* 287 */ "cmd ::= SHOW db_name_cond_opt VIEWS", - /* 288 */ "cmd ::= SHOW CREATE VIEW full_table_name", - /* 289 */ "cmd ::= SHOW COMPACTS", - /* 290 */ "cmd ::= SHOW COMPACT NK_INTEGER", - /* 291 */ "table_kind_db_name_cond_opt ::=", - /* 292 */ "table_kind_db_name_cond_opt ::= table_kind", - /* 293 */ "table_kind_db_name_cond_opt ::= db_name NK_DOT", - /* 294 */ "table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT", - /* 295 */ "table_kind ::= NORMAL", - /* 296 */ "table_kind ::= CHILD", - /* 297 */ "db_name_cond_opt ::=", - /* 298 */ "db_name_cond_opt ::= db_name NK_DOT", - /* 299 */ "like_pattern_opt ::=", - /* 300 */ "like_pattern_opt ::= LIKE NK_STRING", - /* 301 */ "table_name_cond ::= table_name", - /* 302 */ "from_db_opt ::=", - /* 303 */ "from_db_opt ::= FROM db_name", - /* 304 */ "tag_list_opt ::=", - /* 305 */ "tag_list_opt ::= tag_item", - /* 306 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", - /* 307 */ "tag_item ::= TBNAME", - /* 308 */ "tag_item ::= QTAGS", - /* 309 */ "tag_item ::= column_name", - /* 310 */ "tag_item ::= column_name column_alias", - /* 311 */ "tag_item ::= column_name AS column_alias", - /* 312 */ "db_kind_opt ::=", - /* 313 */ "db_kind_opt ::= USER", - /* 314 */ "db_kind_opt ::= SYSTEM", - /* 315 */ "cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options", - /* 316 */ "cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP", - /* 317 */ "cmd ::= DROP INDEX exists_opt full_index_name", - /* 318 */ "full_index_name ::= index_name", - /* 319 */ "full_index_name ::= db_name NK_DOT index_name", - /* 320 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", - /* 321 */ "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", - /* 322 */ "func_list ::= func", - /* 323 */ "func_list ::= func_list NK_COMMA func", - /* 324 */ "func ::= sma_func_name NK_LP expression_list NK_RP", - /* 325 */ "sma_func_name ::= function_name", - /* 326 */ "sma_func_name ::= COUNT", - /* 327 */ "sma_func_name ::= FIRST", - /* 328 */ "sma_func_name ::= LAST", - /* 329 */ "sma_func_name ::= LAST_ROW", - /* 330 */ "sma_stream_opt ::=", - /* 331 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", - /* 332 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", - /* 333 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", - /* 334 */ "with_meta ::= AS", - /* 335 */ "with_meta ::= WITH META AS", - /* 336 */ "with_meta ::= ONLY META AS", - /* 337 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", - /* 338 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name", - /* 339 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt", - /* 340 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 341 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 342 */ "cmd ::= DESC full_table_name", - /* 343 */ "cmd ::= DESCRIBE full_table_name", - /* 344 */ "cmd ::= RESET QUERY CACHE", - /* 345 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", - /* 346 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", - /* 347 */ "analyze_opt ::=", - /* 348 */ "analyze_opt ::= ANALYZE", - /* 349 */ "explain_options ::=", - /* 350 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 351 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 352 */ "cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", - /* 353 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 354 */ "agg_func_opt ::=", - /* 355 */ "agg_func_opt ::= AGGREGATE", - /* 356 */ "bufsize_opt ::=", - /* 357 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 358 */ "language_opt ::=", - /* 359 */ "language_opt ::= LANGUAGE NK_STRING", - /* 360 */ "or_replace_opt ::=", - /* 361 */ "or_replace_opt ::= OR REPLACE", - /* 362 */ "cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery", - /* 363 */ "cmd ::= DROP VIEW exists_opt full_view_name", - /* 364 */ "full_view_name ::= view_name", - /* 365 */ "full_view_name ::= db_name NK_DOT view_name", - /* 366 */ "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", - /* 367 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 368 */ "cmd ::= PAUSE STREAM exists_opt stream_name", - /* 369 */ "cmd ::= RESUME STREAM exists_opt ignore_opt stream_name", - /* 370 */ "col_list_opt ::=", - /* 371 */ "col_list_opt ::= NK_LP col_name_list NK_RP", - /* 372 */ "tag_def_or_ref_opt ::=", - /* 373 */ "tag_def_or_ref_opt ::= tags_def", - /* 374 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", - /* 375 */ "stream_options ::=", - /* 376 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 377 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 378 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 379 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 380 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", - /* 381 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", - /* 382 */ "stream_options ::= stream_options DELETE_MARK duration_literal", - /* 383 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", - /* 384 */ "subtable_opt ::=", - /* 385 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", - /* 386 */ "ignore_opt ::=", - /* 387 */ "ignore_opt ::= IGNORE UNTREATED", - /* 388 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 389 */ "cmd ::= KILL QUERY NK_STRING", - /* 390 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 391 */ "cmd ::= KILL COMPACT NK_INTEGER", - /* 392 */ "cmd ::= BALANCE VGROUP", - /* 393 */ "cmd ::= BALANCE VGROUP LEADER on_vgroup_id", - /* 394 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 395 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 396 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 397 */ "on_vgroup_id ::=", - /* 398 */ "on_vgroup_id ::= ON NK_INTEGER", - /* 399 */ "dnode_list ::= DNODE NK_INTEGER", - /* 400 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 401 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 402 */ "cmd ::= query_or_subquery", - /* 403 */ "cmd ::= insert_query", - /* 404 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 405 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", - /* 406 */ "literal ::= NK_INTEGER", - /* 407 */ "literal ::= NK_FLOAT", - /* 408 */ "literal ::= NK_STRING", - /* 409 */ "literal ::= NK_BOOL", - /* 410 */ "literal ::= TIMESTAMP NK_STRING", - /* 411 */ "literal ::= duration_literal", - /* 412 */ "literal ::= NULL", - /* 413 */ "literal ::= NK_QUESTION", - /* 414 */ "duration_literal ::= NK_VARIABLE", - /* 415 */ "signed ::= NK_INTEGER", - /* 416 */ "signed ::= NK_PLUS NK_INTEGER", - /* 417 */ "signed ::= NK_MINUS NK_INTEGER", - /* 418 */ "signed ::= NK_FLOAT", - /* 419 */ "signed ::= NK_PLUS NK_FLOAT", - /* 420 */ "signed ::= NK_MINUS NK_FLOAT", - /* 421 */ "signed_literal ::= signed", - /* 422 */ "signed_literal ::= NK_STRING", - /* 423 */ "signed_literal ::= NK_BOOL", - /* 424 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 425 */ "signed_literal ::= duration_literal", - /* 426 */ "signed_literal ::= NULL", - /* 427 */ "signed_literal ::= literal_func", - /* 428 */ "signed_literal ::= NK_QUESTION", - /* 429 */ "literal_list ::= signed_literal", - /* 430 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 431 */ "db_name ::= NK_ID", - /* 432 */ "table_name ::= NK_ID", - /* 433 */ "column_name ::= NK_ID", - /* 434 */ "function_name ::= NK_ID", - /* 435 */ "view_name ::= NK_ID", - /* 436 */ "table_alias ::= NK_ID", - /* 437 */ "column_alias ::= NK_ID", - /* 438 */ "column_alias ::= NK_ALIAS", - /* 439 */ "user_name ::= NK_ID", - /* 440 */ "topic_name ::= NK_ID", - /* 441 */ "stream_name ::= NK_ID", - /* 442 */ "cgroup_name ::= NK_ID", - /* 443 */ "index_name ::= NK_ID", - /* 444 */ "expr_or_subquery ::= expression", - /* 445 */ "expression ::= literal", - /* 446 */ "expression ::= pseudo_column", - /* 447 */ "expression ::= column_reference", - /* 448 */ "expression ::= function_expression", - /* 449 */ "expression ::= case_when_expression", - /* 450 */ "expression ::= NK_LP expression NK_RP", - /* 451 */ "expression ::= NK_PLUS expr_or_subquery", - /* 452 */ "expression ::= NK_MINUS expr_or_subquery", - /* 453 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 454 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 455 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 456 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 457 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 458 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 459 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 460 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 461 */ "expression_list ::= expr_or_subquery", - /* 462 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 463 */ "column_reference ::= column_name", - /* 464 */ "column_reference ::= table_name NK_DOT column_name", - /* 465 */ "column_reference ::= NK_ALIAS", - /* 466 */ "column_reference ::= table_name NK_DOT NK_ALIAS", - /* 467 */ "pseudo_column ::= ROWTS", - /* 468 */ "pseudo_column ::= TBNAME", - /* 469 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 470 */ "pseudo_column ::= QSTART", - /* 471 */ "pseudo_column ::= QEND", - /* 472 */ "pseudo_column ::= QDURATION", - /* 473 */ "pseudo_column ::= WSTART", - /* 474 */ "pseudo_column ::= WEND", - /* 475 */ "pseudo_column ::= WDURATION", - /* 476 */ "pseudo_column ::= IROWTS", - /* 477 */ "pseudo_column ::= ISFILLED", - /* 478 */ "pseudo_column ::= QTAGS", - /* 479 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 480 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 481 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 482 */ "function_expression ::= literal_func", - /* 483 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 484 */ "literal_func ::= NOW", - /* 485 */ "noarg_func ::= NOW", - /* 486 */ "noarg_func ::= TODAY", - /* 487 */ "noarg_func ::= TIMEZONE", - /* 488 */ "noarg_func ::= DATABASE", - /* 489 */ "noarg_func ::= CLIENT_VERSION", - /* 490 */ "noarg_func ::= SERVER_VERSION", - /* 491 */ "noarg_func ::= SERVER_STATUS", - /* 492 */ "noarg_func ::= CURRENT_USER", - /* 493 */ "noarg_func ::= USER", - /* 494 */ "star_func ::= COUNT", - /* 495 */ "star_func ::= FIRST", - /* 496 */ "star_func ::= LAST", - /* 497 */ "star_func ::= LAST_ROW", - /* 498 */ "star_func_para_list ::= NK_STAR", - /* 499 */ "star_func_para_list ::= other_para_list", - /* 500 */ "other_para_list ::= star_func_para", - /* 501 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 502 */ "star_func_para ::= expr_or_subquery", - /* 503 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 504 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 505 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 506 */ "when_then_list ::= when_then_expr", - /* 507 */ "when_then_list ::= when_then_list when_then_expr", - /* 508 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 509 */ "case_when_else_opt ::=", - /* 510 */ "case_when_else_opt ::= ELSE common_expression", - /* 511 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 512 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 513 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 514 */ "predicate ::= expr_or_subquery IS NULL", - /* 515 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 516 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 517 */ "compare_op ::= NK_LT", - /* 518 */ "compare_op ::= NK_GT", - /* 519 */ "compare_op ::= NK_LE", - /* 520 */ "compare_op ::= NK_GE", - /* 521 */ "compare_op ::= NK_NE", - /* 522 */ "compare_op ::= NK_EQ", - /* 523 */ "compare_op ::= LIKE", - /* 524 */ "compare_op ::= NOT LIKE", - /* 525 */ "compare_op ::= MATCH", - /* 526 */ "compare_op ::= NMATCH", - /* 527 */ "compare_op ::= CONTAINS", - /* 528 */ "in_op ::= IN", - /* 529 */ "in_op ::= NOT IN", - /* 530 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 531 */ "boolean_value_expression ::= boolean_primary", - /* 532 */ "boolean_value_expression ::= NOT boolean_primary", - /* 533 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 534 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 535 */ "boolean_primary ::= predicate", - /* 536 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 537 */ "common_expression ::= expr_or_subquery", - /* 538 */ "common_expression ::= boolean_value_expression", - /* 539 */ "from_clause_opt ::=", - /* 540 */ "from_clause_opt ::= FROM table_reference_list", - /* 541 */ "table_reference_list ::= table_reference", - /* 542 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 543 */ "table_reference ::= table_primary", - /* 544 */ "table_reference ::= joined_table", - /* 545 */ "table_primary ::= table_name alias_opt", - /* 546 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 547 */ "table_primary ::= subquery alias_opt", - /* 548 */ "table_primary ::= parenthesized_joined_table", - /* 549 */ "alias_opt ::=", - /* 550 */ "alias_opt ::= table_alias", - /* 551 */ "alias_opt ::= AS table_alias", - /* 552 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 553 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 554 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 555 */ "join_type ::=", - /* 556 */ "join_type ::= INNER", - /* 557 */ "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", - /* 558 */ "hint_list ::=", - /* 559 */ "hint_list ::= NK_HINT", - /* 560 */ "tag_mode_opt ::=", - /* 561 */ "tag_mode_opt ::= TAGS", - /* 562 */ "set_quantifier_opt ::=", - /* 563 */ "set_quantifier_opt ::= DISTINCT", - /* 564 */ "set_quantifier_opt ::= ALL", - /* 565 */ "select_list ::= select_item", - /* 566 */ "select_list ::= select_list NK_COMMA select_item", - /* 567 */ "select_item ::= NK_STAR", - /* 568 */ "select_item ::= common_expression", - /* 569 */ "select_item ::= common_expression column_alias", - /* 570 */ "select_item ::= common_expression AS column_alias", - /* 571 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 572 */ "where_clause_opt ::=", - /* 573 */ "where_clause_opt ::= WHERE search_condition", - /* 574 */ "partition_by_clause_opt ::=", - /* 575 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 576 */ "partition_list ::= partition_item", - /* 577 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 578 */ "partition_item ::= expr_or_subquery", - /* 579 */ "partition_item ::= expr_or_subquery column_alias", - /* 580 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 581 */ "twindow_clause_opt ::=", - /* 582 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP", - /* 583 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 584 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt", - /* 585 */ "twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt", - /* 586 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 587 */ "sliding_opt ::=", - /* 588 */ "sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP", - /* 589 */ "interval_sliding_duration_literal ::= NK_VARIABLE", - /* 590 */ "interval_sliding_duration_literal ::= NK_STRING", - /* 591 */ "interval_sliding_duration_literal ::= NK_INTEGER", - /* 592 */ "fill_opt ::=", - /* 593 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 594 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", - /* 595 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", - /* 596 */ "fill_mode ::= NONE", - /* 597 */ "fill_mode ::= PREV", - /* 598 */ "fill_mode ::= NULL", - /* 599 */ "fill_mode ::= NULL_F", - /* 600 */ "fill_mode ::= LINEAR", - /* 601 */ "fill_mode ::= NEXT", - /* 602 */ "group_by_clause_opt ::=", - /* 603 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 604 */ "group_by_list ::= expr_or_subquery", - /* 605 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 606 */ "having_clause_opt ::=", - /* 607 */ "having_clause_opt ::= HAVING search_condition", - /* 608 */ "range_opt ::=", - /* 609 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 610 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", - /* 611 */ "every_opt ::=", - /* 612 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 613 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 614 */ "query_simple ::= query_specification", - /* 615 */ "query_simple ::= union_query_expression", - /* 616 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 617 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 618 */ "query_simple_or_subquery ::= query_simple", - /* 619 */ "query_simple_or_subquery ::= subquery", - /* 620 */ "query_or_subquery ::= query_expression", - /* 621 */ "query_or_subquery ::= subquery", - /* 622 */ "order_by_clause_opt ::=", - /* 623 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 624 */ "slimit_clause_opt ::=", - /* 625 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 626 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 627 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 628 */ "limit_clause_opt ::=", - /* 629 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 630 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 631 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 632 */ "subquery ::= NK_LP query_expression NK_RP", - /* 633 */ "subquery ::= NK_LP subquery NK_RP", - /* 634 */ "search_condition ::= common_expression", - /* 635 */ "sort_specification_list ::= sort_specification", - /* 636 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 637 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 638 */ "ordering_specification_opt ::=", - /* 639 */ "ordering_specification_opt ::= ASC", - /* 640 */ "ordering_specification_opt ::= DESC", - /* 641 */ "null_ordering_opt ::=", - /* 642 */ "null_ordering_opt ::= NULLS FIRST", - /* 643 */ "null_ordering_opt ::= NULLS LAST", + /* 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", }; #endif /* NDEBUG */ @@ -2835,231 +2847,231 @@ static void yy_destructor( */ /********* Begin destructor definitions ***************************************/ /* Default NON-TERMINAL Destructor */ - case 347: /* cmd */ - case 350: /* literal */ - case 359: /* with_opt */ - case 365: /* search_condition */ - case 370: /* db_options */ - case 372: /* alter_db_options */ - case 374: /* start_opt */ - case 375: /* end_opt */ - case 379: /* signed */ - case 381: /* retention */ - case 382: /* full_table_name */ - case 385: /* table_options */ - case 389: /* alter_table_clause */ - case 390: /* alter_table_options */ - case 393: /* signed_literal */ - case 394: /* create_subtable_clause */ - case 397: /* drop_table_clause */ - case 399: /* column_def */ - case 403: /* duration_literal */ - case 404: /* rollup_func_name */ - case 406: /* col_name */ - case 409: /* like_pattern_opt */ - case 410: /* db_name_cond_opt */ - case 411: /* table_name_cond */ - case 412: /* from_db_opt */ - case 415: /* tag_item */ - case 417: /* index_options */ - case 418: /* full_index_name */ - case 421: /* sliding_opt */ - case 422: /* sma_stream_opt */ - case 423: /* func */ - case 426: /* query_or_subquery */ - case 427: /* where_clause_opt */ - case 430: /* explain_options */ - case 431: /* insert_query */ - case 436: /* full_view_name */ - case 439: /* stream_options */ - case 442: /* subtable_opt */ - case 444: /* expression */ - case 447: /* literal_func */ - case 450: /* expr_or_subquery */ - case 451: /* pseudo_column */ - case 452: /* column_reference */ - case 453: /* function_expression */ - case 454: /* case_when_expression */ - case 459: /* star_func_para */ - case 461: /* case_when_else_opt */ - case 462: /* common_expression */ - case 463: /* when_then_expr */ - case 464: /* predicate */ - case 467: /* in_predicate_value */ - case 468: /* boolean_value_expression */ - case 469: /* boolean_primary */ - case 470: /* from_clause_opt */ - case 471: /* table_reference_list */ - case 472: /* table_reference */ - case 473: /* table_primary */ - case 474: /* joined_table */ - case 476: /* subquery */ - case 477: /* parenthesized_joined_table */ - case 479: /* query_specification */ - case 485: /* range_opt */ - case 486: /* every_opt */ - case 487: /* fill_opt */ - case 488: /* twindow_clause_opt */ - case 490: /* having_clause_opt */ - case 491: /* select_item */ - case 493: /* partition_item */ - case 494: /* interval_sliding_duration_literal */ - case 497: /* query_expression */ - case 498: /* query_simple */ - case 500: /* slimit_clause_opt */ - case 501: /* limit_clause_opt */ - case 502: /* union_query_expression */ - case 503: /* query_simple_or_subquery */ - case 505: /* sort_specification */ + 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 */ { - nodesDestroyNode((yypminor->yy232)); + nodesDestroyNode((yypminor->yy992)); } break; - case 348: /* account_options */ - case 349: /* alter_account_options */ - case 351: /* alter_account_option */ - case 373: /* speed_opt */ - case 425: /* with_meta */ - case 434: /* bufsize_opt */ + 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 */ { } break; - case 352: /* ip_range_list */ - case 353: /* white_list */ - case 354: /* white_list_opt */ - case 376: /* integer_list */ - case 377: /* variable_list */ - case 378: /* retention_list */ - case 383: /* column_def_list */ - case 384: /* tags_def_opt */ - case 386: /* multi_create_clause */ - case 387: /* tags_def */ - case 388: /* multi_drop_clause */ - case 395: /* specific_cols_opt */ - case 396: /* expression_list */ - case 398: /* col_name_list */ - case 400: /* duration_list */ - case 401: /* rollup_func_list */ - case 413: /* tag_list_opt */ - case 420: /* func_list */ - case 440: /* col_list_opt */ - case 441: /* tag_def_or_ref_opt */ - case 446: /* dnode_list */ - case 448: /* literal_list */ - case 456: /* star_func_para_list */ - case 458: /* other_para_list */ - case 460: /* when_then_list */ - case 480: /* hint_list */ - case 483: /* select_list */ - case 484: /* partition_by_clause_opt */ - case 489: /* group_by_clause_opt */ - case 492: /* partition_list */ - case 496: /* group_by_list */ - case 499: /* order_by_clause_opt */ - case 504: /* sort_specification_list */ + 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 */ { - nodesDestroyList((yypminor->yy88)); + nodesDestroyList((yypminor->yy364)); } break; - case 355: /* user_name */ - case 362: /* db_name */ - case 363: /* table_name */ - case 364: /* topic_name */ - case 366: /* dnode_endpoint */ - case 391: /* column_name */ - case 405: /* function_name */ - case 416: /* column_alias */ - case 419: /* index_name */ - case 424: /* sma_func_name */ - case 428: /* cgroup_name */ - case 435: /* language_opt */ - case 437: /* view_name */ - case 438: /* stream_name */ - case 445: /* on_vgroup_id */ - case 449: /* table_alias */ - case 455: /* star_func */ - case 457: /* noarg_func */ - case 475: /* alias_opt */ + 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 */ { } break; - case 356: /* sysinfo_opt */ + case 358: /* sysinfo_opt */ { } break; - case 357: /* privileges */ - case 360: /* priv_type_list */ - case 361: /* priv_type */ + case 359: /* privileges */ + case 362: /* priv_type_list */ + case 363: /* priv_type */ { } break; - case 358: /* priv_level */ + case 360: /* priv_level */ { } break; - case 367: /* force_opt */ - case 368: /* unsafe_opt */ - case 369: /* not_exists_opt */ - case 371: /* exists_opt */ - case 429: /* analyze_opt */ - case 432: /* or_replace_opt */ - case 433: /* agg_func_opt */ - case 443: /* ignore_opt */ - case 481: /* set_quantifier_opt */ - case 482: /* tag_mode_opt */ + 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 */ { } break; - case 380: /* alter_db_option */ - case 402: /* alter_table_option */ + case 382: /* alter_db_option */ + case 404: /* alter_table_option */ { } break; - case 392: /* type_name */ + case 394: /* type_name */ { } break; - case 407: /* db_kind_opt */ - case 414: /* table_kind */ + case 409: /* db_kind_opt */ + case 416: /* table_kind */ { } break; - case 408: /* table_kind_db_name_cond_opt */ + case 410: /* table_kind_db_name_cond_opt */ { } break; - case 465: /* compare_op */ - case 466: /* in_op */ + case 467: /* compare_op */ + case 468: /* in_op */ { } break; - case 478: /* join_type */ + case 480: /* join_type */ { } break; - case 495: /* fill_mode */ + case 497: /* fill_mode */ { } break; - case 506: /* ordering_specification_opt */ + case 508: /* ordering_specification_opt */ { } break; - case 507: /* null_ordering_opt */ + case 509: /* null_ordering_opt */ { } @@ -3350,650 +3362,652 @@ static void yy_shift( /* For rule J, yyRuleInfoLhs[J] contains the symbol on the left-hand side ** of that rule */ static const YYCODETYPE yyRuleInfoLhs[] = { - 347, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ - 347, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ - 348, /* (2) account_options ::= */ - 348, /* (3) account_options ::= account_options PPS literal */ - 348, /* (4) account_options ::= account_options TSERIES literal */ - 348, /* (5) account_options ::= account_options STORAGE literal */ - 348, /* (6) account_options ::= account_options STREAMS literal */ - 348, /* (7) account_options ::= account_options QTIME literal */ - 348, /* (8) account_options ::= account_options DBS literal */ - 348, /* (9) account_options ::= account_options USERS literal */ - 348, /* (10) account_options ::= account_options CONNS literal */ - 348, /* (11) account_options ::= account_options STATE literal */ - 349, /* (12) alter_account_options ::= alter_account_option */ - 349, /* (13) alter_account_options ::= alter_account_options alter_account_option */ - 351, /* (14) alter_account_option ::= PASS literal */ - 351, /* (15) alter_account_option ::= PPS literal */ - 351, /* (16) alter_account_option ::= TSERIES literal */ - 351, /* (17) alter_account_option ::= STORAGE literal */ - 351, /* (18) alter_account_option ::= STREAMS literal */ - 351, /* (19) alter_account_option ::= QTIME literal */ - 351, /* (20) alter_account_option ::= DBS literal */ - 351, /* (21) alter_account_option ::= USERS literal */ - 351, /* (22) alter_account_option ::= CONNS literal */ - 351, /* (23) alter_account_option ::= STATE literal */ - 352, /* (24) ip_range_list ::= NK_STRING */ - 352, /* (25) ip_range_list ::= ip_range_list NK_COMMA NK_STRING */ - 353, /* (26) white_list ::= HOST ip_range_list */ - 354, /* (27) white_list_opt ::= */ - 354, /* (28) white_list_opt ::= white_list */ - 347, /* (29) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt white_list_opt */ - 347, /* (30) cmd ::= ALTER USER user_name PASS NK_STRING */ - 347, /* (31) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ - 347, /* (32) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ - 347, /* (33) cmd ::= ALTER USER user_name ADD white_list */ - 347, /* (34) cmd ::= ALTER USER user_name DROP white_list */ - 347, /* (35) cmd ::= DROP USER user_name */ - 356, /* (36) sysinfo_opt ::= */ - 356, /* (37) sysinfo_opt ::= SYSINFO NK_INTEGER */ - 347, /* (38) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */ - 347, /* (39) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ - 357, /* (40) privileges ::= ALL */ - 357, /* (41) privileges ::= priv_type_list */ - 357, /* (42) privileges ::= SUBSCRIBE */ - 360, /* (43) priv_type_list ::= priv_type */ - 360, /* (44) priv_type_list ::= priv_type_list NK_COMMA priv_type */ - 361, /* (45) priv_type ::= READ */ - 361, /* (46) priv_type ::= WRITE */ - 361, /* (47) priv_type ::= ALTER */ - 358, /* (48) priv_level ::= NK_STAR NK_DOT NK_STAR */ - 358, /* (49) priv_level ::= db_name NK_DOT NK_STAR */ - 358, /* (50) priv_level ::= db_name NK_DOT table_name */ - 358, /* (51) priv_level ::= topic_name */ - 359, /* (52) with_opt ::= */ - 359, /* (53) with_opt ::= WITH search_condition */ - 347, /* (54) cmd ::= CREATE DNODE dnode_endpoint */ - 347, /* (55) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ - 347, /* (56) cmd ::= DROP DNODE NK_INTEGER force_opt */ - 347, /* (57) cmd ::= DROP DNODE dnode_endpoint force_opt */ - 347, /* (58) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ - 347, /* (59) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ - 347, /* (60) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ - 347, /* (61) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ - 347, /* (62) cmd ::= ALTER ALL DNODES NK_STRING */ - 347, /* (63) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ - 347, /* (64) cmd ::= RESTORE DNODE NK_INTEGER */ - 366, /* (65) dnode_endpoint ::= NK_STRING */ - 366, /* (66) dnode_endpoint ::= NK_ID */ - 366, /* (67) dnode_endpoint ::= NK_IPTOKEN */ - 367, /* (68) force_opt ::= */ - 367, /* (69) force_opt ::= FORCE */ - 368, /* (70) unsafe_opt ::= UNSAFE */ - 347, /* (71) cmd ::= ALTER CLUSTER NK_STRING */ - 347, /* (72) cmd ::= ALTER CLUSTER NK_STRING NK_STRING */ - 347, /* (73) cmd ::= ALTER LOCAL NK_STRING */ - 347, /* (74) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ - 347, /* (75) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ - 347, /* (76) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ - 347, /* (77) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */ - 347, /* (78) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ - 347, /* (79) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ - 347, /* (80) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ - 347, /* (81) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ - 347, /* (82) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ - 347, /* (83) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ - 347, /* (84) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */ - 347, /* (85) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */ - 347, /* (86) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ - 347, /* (87) cmd ::= DROP DATABASE exists_opt db_name */ - 347, /* (88) cmd ::= USE db_name */ - 347, /* (89) cmd ::= ALTER DATABASE db_name alter_db_options */ - 347, /* (90) cmd ::= FLUSH DATABASE db_name */ - 347, /* (91) cmd ::= TRIM DATABASE db_name speed_opt */ - 347, /* (92) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ - 369, /* (93) not_exists_opt ::= IF NOT EXISTS */ - 369, /* (94) not_exists_opt ::= */ - 371, /* (95) exists_opt ::= IF EXISTS */ - 371, /* (96) exists_opt ::= */ - 370, /* (97) db_options ::= */ - 370, /* (98) db_options ::= db_options BUFFER NK_INTEGER */ - 370, /* (99) db_options ::= db_options CACHEMODEL NK_STRING */ - 370, /* (100) db_options ::= db_options CACHESIZE NK_INTEGER */ - 370, /* (101) db_options ::= db_options COMP NK_INTEGER */ - 370, /* (102) db_options ::= db_options DURATION NK_INTEGER */ - 370, /* (103) db_options ::= db_options DURATION NK_VARIABLE */ - 370, /* (104) db_options ::= db_options MAXROWS NK_INTEGER */ - 370, /* (105) db_options ::= db_options MINROWS NK_INTEGER */ - 370, /* (106) db_options ::= db_options KEEP integer_list */ - 370, /* (107) db_options ::= db_options KEEP variable_list */ - 370, /* (108) db_options ::= db_options PAGES NK_INTEGER */ - 370, /* (109) db_options ::= db_options PAGESIZE NK_INTEGER */ - 370, /* (110) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ - 370, /* (111) db_options ::= db_options PRECISION NK_STRING */ - 370, /* (112) db_options ::= db_options REPLICA NK_INTEGER */ - 370, /* (113) db_options ::= db_options VGROUPS NK_INTEGER */ - 370, /* (114) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ - 370, /* (115) db_options ::= db_options RETENTIONS retention_list */ - 370, /* (116) db_options ::= db_options SCHEMALESS NK_INTEGER */ - 370, /* (117) db_options ::= db_options WAL_LEVEL NK_INTEGER */ - 370, /* (118) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ - 370, /* (119) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ - 370, /* (120) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - 370, /* (121) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ - 370, /* (122) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - 370, /* (123) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ - 370, /* (124) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ - 370, /* (125) db_options ::= db_options STT_TRIGGER NK_INTEGER */ - 370, /* (126) db_options ::= db_options TABLE_PREFIX signed */ - 370, /* (127) db_options ::= db_options TABLE_SUFFIX signed */ - 370, /* (128) db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */ - 372, /* (129) alter_db_options ::= alter_db_option */ - 372, /* (130) alter_db_options ::= alter_db_options alter_db_option */ - 380, /* (131) alter_db_option ::= BUFFER NK_INTEGER */ - 380, /* (132) alter_db_option ::= CACHEMODEL NK_STRING */ - 380, /* (133) alter_db_option ::= CACHESIZE NK_INTEGER */ - 380, /* (134) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ - 380, /* (135) alter_db_option ::= KEEP integer_list */ - 380, /* (136) alter_db_option ::= KEEP variable_list */ - 380, /* (137) alter_db_option ::= PAGES NK_INTEGER */ - 380, /* (138) alter_db_option ::= REPLICA NK_INTEGER */ - 380, /* (139) alter_db_option ::= WAL_LEVEL NK_INTEGER */ - 380, /* (140) alter_db_option ::= STT_TRIGGER NK_INTEGER */ - 380, /* (141) alter_db_option ::= MINROWS NK_INTEGER */ - 380, /* (142) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ - 380, /* (143) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - 380, /* (144) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ - 380, /* (145) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - 380, /* (146) alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */ - 376, /* (147) integer_list ::= NK_INTEGER */ - 376, /* (148) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - 377, /* (149) variable_list ::= NK_VARIABLE */ - 377, /* (150) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - 378, /* (151) retention_list ::= retention */ - 378, /* (152) retention_list ::= retention_list NK_COMMA retention */ - 381, /* (153) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - 381, /* (154) retention ::= NK_MINUS NK_COLON NK_VARIABLE */ - 373, /* (155) speed_opt ::= */ - 373, /* (156) speed_opt ::= BWLIMIT NK_INTEGER */ - 374, /* (157) start_opt ::= */ - 374, /* (158) start_opt ::= START WITH NK_INTEGER */ - 374, /* (159) start_opt ::= START WITH NK_STRING */ - 374, /* (160) start_opt ::= START WITH TIMESTAMP NK_STRING */ - 375, /* (161) end_opt ::= */ - 375, /* (162) end_opt ::= END WITH NK_INTEGER */ - 375, /* (163) end_opt ::= END WITH NK_STRING */ - 375, /* (164) end_opt ::= END WITH TIMESTAMP NK_STRING */ - 347, /* (165) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - 347, /* (166) cmd ::= CREATE TABLE multi_create_clause */ - 347, /* (167) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - 347, /* (168) cmd ::= DROP TABLE multi_drop_clause */ - 347, /* (169) cmd ::= DROP STABLE exists_opt full_table_name */ - 347, /* (170) cmd ::= ALTER TABLE alter_table_clause */ - 347, /* (171) cmd ::= ALTER STABLE alter_table_clause */ - 389, /* (172) alter_table_clause ::= full_table_name alter_table_options */ - 389, /* (173) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - 389, /* (174) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - 389, /* (175) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - 389, /* (176) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - 389, /* (177) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - 389, /* (178) alter_table_clause ::= full_table_name DROP TAG column_name */ - 389, /* (179) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - 389, /* (180) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - 389, /* (181) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - 386, /* (182) multi_create_clause ::= create_subtable_clause */ - 386, /* (183) multi_create_clause ::= multi_create_clause create_subtable_clause */ - 394, /* (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 */ - 388, /* (185) multi_drop_clause ::= drop_table_clause */ - 388, /* (186) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ - 397, /* (187) drop_table_clause ::= exists_opt full_table_name */ - 395, /* (188) specific_cols_opt ::= */ - 395, /* (189) specific_cols_opt ::= NK_LP col_name_list NK_RP */ - 382, /* (190) full_table_name ::= table_name */ - 382, /* (191) full_table_name ::= db_name NK_DOT table_name */ - 383, /* (192) column_def_list ::= column_def */ - 383, /* (193) column_def_list ::= column_def_list NK_COMMA column_def */ - 399, /* (194) column_def ::= column_name type_name */ - 392, /* (195) type_name ::= BOOL */ - 392, /* (196) type_name ::= TINYINT */ - 392, /* (197) type_name ::= SMALLINT */ - 392, /* (198) type_name ::= INT */ - 392, /* (199) type_name ::= INTEGER */ - 392, /* (200) type_name ::= BIGINT */ - 392, /* (201) type_name ::= FLOAT */ - 392, /* (202) type_name ::= DOUBLE */ - 392, /* (203) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - 392, /* (204) type_name ::= TIMESTAMP */ - 392, /* (205) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - 392, /* (206) type_name ::= TINYINT UNSIGNED */ - 392, /* (207) type_name ::= SMALLINT UNSIGNED */ - 392, /* (208) type_name ::= INT UNSIGNED */ - 392, /* (209) type_name ::= BIGINT UNSIGNED */ - 392, /* (210) type_name ::= JSON */ - 392, /* (211) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - 392, /* (212) type_name ::= MEDIUMBLOB */ - 392, /* (213) type_name ::= BLOB */ - 392, /* (214) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - 392, /* (215) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ - 392, /* (216) type_name ::= DECIMAL */ - 392, /* (217) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - 392, /* (218) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - 384, /* (219) tags_def_opt ::= */ - 384, /* (220) tags_def_opt ::= tags_def */ - 387, /* (221) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - 385, /* (222) table_options ::= */ - 385, /* (223) table_options ::= table_options COMMENT NK_STRING */ - 385, /* (224) table_options ::= table_options MAX_DELAY duration_list */ - 385, /* (225) table_options ::= table_options WATERMARK duration_list */ - 385, /* (226) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - 385, /* (227) table_options ::= table_options TTL NK_INTEGER */ - 385, /* (228) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - 385, /* (229) table_options ::= table_options DELETE_MARK duration_list */ - 390, /* (230) alter_table_options ::= alter_table_option */ - 390, /* (231) alter_table_options ::= alter_table_options alter_table_option */ - 402, /* (232) alter_table_option ::= COMMENT NK_STRING */ - 402, /* (233) alter_table_option ::= TTL NK_INTEGER */ - 400, /* (234) duration_list ::= duration_literal */ - 400, /* (235) duration_list ::= duration_list NK_COMMA duration_literal */ - 401, /* (236) rollup_func_list ::= rollup_func_name */ - 401, /* (237) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - 404, /* (238) rollup_func_name ::= function_name */ - 404, /* (239) rollup_func_name ::= FIRST */ - 404, /* (240) rollup_func_name ::= LAST */ - 398, /* (241) col_name_list ::= col_name */ - 398, /* (242) col_name_list ::= col_name_list NK_COMMA col_name */ - 406, /* (243) col_name ::= column_name */ - 347, /* (244) cmd ::= SHOW DNODES */ - 347, /* (245) cmd ::= SHOW USERS */ - 347, /* (246) cmd ::= SHOW USER PRIVILEGES */ - 347, /* (247) cmd ::= SHOW db_kind_opt DATABASES */ - 347, /* (248) cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */ - 347, /* (249) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - 347, /* (250) cmd ::= SHOW db_name_cond_opt VGROUPS */ - 347, /* (251) cmd ::= SHOW MNODES */ - 347, /* (252) cmd ::= SHOW QNODES */ - 347, /* (253) cmd ::= SHOW FUNCTIONS */ - 347, /* (254) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - 347, /* (255) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ - 347, /* (256) cmd ::= SHOW STREAMS */ - 347, /* (257) cmd ::= SHOW ACCOUNTS */ - 347, /* (258) cmd ::= SHOW APPS */ - 347, /* (259) cmd ::= SHOW CONNECTIONS */ - 347, /* (260) cmd ::= SHOW LICENCES */ - 347, /* (261) cmd ::= SHOW GRANTS */ - 347, /* (262) cmd ::= SHOW CREATE DATABASE db_name */ - 347, /* (263) cmd ::= SHOW CREATE TABLE full_table_name */ - 347, /* (264) cmd ::= SHOW CREATE STABLE full_table_name */ - 347, /* (265) cmd ::= SHOW QUERIES */ - 347, /* (266) cmd ::= SHOW SCORES */ - 347, /* (267) cmd ::= SHOW TOPICS */ - 347, /* (268) cmd ::= SHOW VARIABLES */ - 347, /* (269) cmd ::= SHOW CLUSTER VARIABLES */ - 347, /* (270) cmd ::= SHOW LOCAL VARIABLES */ - 347, /* (271) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - 347, /* (272) cmd ::= SHOW BNODES */ - 347, /* (273) cmd ::= SHOW SNODES */ - 347, /* (274) cmd ::= SHOW CLUSTER */ - 347, /* (275) cmd ::= SHOW TRANSACTIONS */ - 347, /* (276) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - 347, /* (277) cmd ::= SHOW CONSUMERS */ - 347, /* (278) cmd ::= SHOW SUBSCRIPTIONS */ - 347, /* (279) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - 347, /* (280) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ - 347, /* (281) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - 347, /* (282) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ - 347, /* (283) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ - 347, /* (284) cmd ::= SHOW VNODES */ - 347, /* (285) cmd ::= SHOW db_name_cond_opt ALIVE */ - 347, /* (286) cmd ::= SHOW CLUSTER ALIVE */ - 347, /* (287) cmd ::= SHOW db_name_cond_opt VIEWS */ - 347, /* (288) cmd ::= SHOW CREATE VIEW full_table_name */ - 347, /* (289) cmd ::= SHOW COMPACTS */ - 347, /* (290) cmd ::= SHOW COMPACT NK_INTEGER */ - 408, /* (291) table_kind_db_name_cond_opt ::= */ - 408, /* (292) table_kind_db_name_cond_opt ::= table_kind */ - 408, /* (293) table_kind_db_name_cond_opt ::= db_name NK_DOT */ - 408, /* (294) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */ - 414, /* (295) table_kind ::= NORMAL */ - 414, /* (296) table_kind ::= CHILD */ - 410, /* (297) db_name_cond_opt ::= */ - 410, /* (298) db_name_cond_opt ::= db_name NK_DOT */ - 409, /* (299) like_pattern_opt ::= */ - 409, /* (300) like_pattern_opt ::= LIKE NK_STRING */ - 411, /* (301) table_name_cond ::= table_name */ - 412, /* (302) from_db_opt ::= */ - 412, /* (303) from_db_opt ::= FROM db_name */ - 413, /* (304) tag_list_opt ::= */ - 413, /* (305) tag_list_opt ::= tag_item */ - 413, /* (306) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - 415, /* (307) tag_item ::= TBNAME */ - 415, /* (308) tag_item ::= QTAGS */ - 415, /* (309) tag_item ::= column_name */ - 415, /* (310) tag_item ::= column_name column_alias */ - 415, /* (311) tag_item ::= column_name AS column_alias */ - 407, /* (312) db_kind_opt ::= */ - 407, /* (313) db_kind_opt ::= USER */ - 407, /* (314) db_kind_opt ::= SYSTEM */ - 347, /* (315) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ - 347, /* (316) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ - 347, /* (317) cmd ::= DROP INDEX exists_opt full_index_name */ - 418, /* (318) full_index_name ::= index_name */ - 418, /* (319) full_index_name ::= db_name NK_DOT index_name */ - 417, /* (320) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - 417, /* (321) 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 */ - 420, /* (322) func_list ::= func */ - 420, /* (323) func_list ::= func_list NK_COMMA func */ - 423, /* (324) func ::= sma_func_name NK_LP expression_list NK_RP */ - 424, /* (325) sma_func_name ::= function_name */ - 424, /* (326) sma_func_name ::= COUNT */ - 424, /* (327) sma_func_name ::= FIRST */ - 424, /* (328) sma_func_name ::= LAST */ - 424, /* (329) sma_func_name ::= LAST_ROW */ - 422, /* (330) sma_stream_opt ::= */ - 422, /* (331) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - 422, /* (332) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - 422, /* (333) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - 425, /* (334) with_meta ::= AS */ - 425, /* (335) with_meta ::= WITH META AS */ - 425, /* (336) with_meta ::= ONLY META AS */ - 347, /* (337) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - 347, /* (338) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - 347, /* (339) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - 347, /* (340) cmd ::= DROP TOPIC exists_opt topic_name */ - 347, /* (341) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - 347, /* (342) cmd ::= DESC full_table_name */ - 347, /* (343) cmd ::= DESCRIBE full_table_name */ - 347, /* (344) cmd ::= RESET QUERY CACHE */ - 347, /* (345) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - 347, /* (346) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 429, /* (347) analyze_opt ::= */ - 429, /* (348) analyze_opt ::= ANALYZE */ - 430, /* (349) explain_options ::= */ - 430, /* (350) explain_options ::= explain_options VERBOSE NK_BOOL */ - 430, /* (351) explain_options ::= explain_options RATIO NK_FLOAT */ - 347, /* (352) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - 347, /* (353) cmd ::= DROP FUNCTION exists_opt function_name */ - 433, /* (354) agg_func_opt ::= */ - 433, /* (355) agg_func_opt ::= AGGREGATE */ - 434, /* (356) bufsize_opt ::= */ - 434, /* (357) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 435, /* (358) language_opt ::= */ - 435, /* (359) language_opt ::= LANGUAGE NK_STRING */ - 432, /* (360) or_replace_opt ::= */ - 432, /* (361) or_replace_opt ::= OR REPLACE */ - 347, /* (362) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ - 347, /* (363) cmd ::= DROP VIEW exists_opt full_view_name */ - 436, /* (364) full_view_name ::= view_name */ - 436, /* (365) full_view_name ::= db_name NK_DOT view_name */ - 347, /* (366) 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 */ - 347, /* (367) cmd ::= DROP STREAM exists_opt stream_name */ - 347, /* (368) cmd ::= PAUSE STREAM exists_opt stream_name */ - 347, /* (369) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 440, /* (370) col_list_opt ::= */ - 440, /* (371) col_list_opt ::= NK_LP col_name_list NK_RP */ - 441, /* (372) tag_def_or_ref_opt ::= */ - 441, /* (373) tag_def_or_ref_opt ::= tags_def */ - 441, /* (374) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 439, /* (375) stream_options ::= */ - 439, /* (376) stream_options ::= stream_options TRIGGER AT_ONCE */ - 439, /* (377) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - 439, /* (378) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - 439, /* (379) stream_options ::= stream_options WATERMARK duration_literal */ - 439, /* (380) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - 439, /* (381) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - 439, /* (382) stream_options ::= stream_options DELETE_MARK duration_literal */ - 439, /* (383) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 442, /* (384) subtable_opt ::= */ - 442, /* (385) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 443, /* (386) ignore_opt ::= */ - 443, /* (387) ignore_opt ::= IGNORE UNTREATED */ - 347, /* (388) cmd ::= KILL CONNECTION NK_INTEGER */ - 347, /* (389) cmd ::= KILL QUERY NK_STRING */ - 347, /* (390) cmd ::= KILL TRANSACTION NK_INTEGER */ - 347, /* (391) cmd ::= KILL COMPACT NK_INTEGER */ - 347, /* (392) cmd ::= BALANCE VGROUP */ - 347, /* (393) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ - 347, /* (394) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - 347, /* (395) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - 347, /* (396) cmd ::= SPLIT VGROUP NK_INTEGER */ - 445, /* (397) on_vgroup_id ::= */ - 445, /* (398) on_vgroup_id ::= ON NK_INTEGER */ - 446, /* (399) dnode_list ::= DNODE NK_INTEGER */ - 446, /* (400) dnode_list ::= dnode_list DNODE NK_INTEGER */ - 347, /* (401) cmd ::= DELETE FROM full_table_name where_clause_opt */ - 347, /* (402) cmd ::= query_or_subquery */ - 347, /* (403) cmd ::= insert_query */ - 431, /* (404) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - 431, /* (405) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - 350, /* (406) literal ::= NK_INTEGER */ - 350, /* (407) literal ::= NK_FLOAT */ - 350, /* (408) literal ::= NK_STRING */ - 350, /* (409) literal ::= NK_BOOL */ - 350, /* (410) literal ::= TIMESTAMP NK_STRING */ - 350, /* (411) literal ::= duration_literal */ - 350, /* (412) literal ::= NULL */ - 350, /* (413) literal ::= NK_QUESTION */ - 403, /* (414) duration_literal ::= NK_VARIABLE */ - 379, /* (415) signed ::= NK_INTEGER */ - 379, /* (416) signed ::= NK_PLUS NK_INTEGER */ - 379, /* (417) signed ::= NK_MINUS NK_INTEGER */ - 379, /* (418) signed ::= NK_FLOAT */ - 379, /* (419) signed ::= NK_PLUS NK_FLOAT */ - 379, /* (420) signed ::= NK_MINUS NK_FLOAT */ - 393, /* (421) signed_literal ::= signed */ - 393, /* (422) signed_literal ::= NK_STRING */ - 393, /* (423) signed_literal ::= NK_BOOL */ - 393, /* (424) signed_literal ::= TIMESTAMP NK_STRING */ - 393, /* (425) signed_literal ::= duration_literal */ - 393, /* (426) signed_literal ::= NULL */ - 393, /* (427) signed_literal ::= literal_func */ - 393, /* (428) signed_literal ::= NK_QUESTION */ - 448, /* (429) literal_list ::= signed_literal */ - 448, /* (430) literal_list ::= literal_list NK_COMMA signed_literal */ - 362, /* (431) db_name ::= NK_ID */ - 363, /* (432) table_name ::= NK_ID */ - 391, /* (433) column_name ::= NK_ID */ - 405, /* (434) function_name ::= NK_ID */ - 437, /* (435) view_name ::= NK_ID */ - 449, /* (436) table_alias ::= NK_ID */ - 416, /* (437) column_alias ::= NK_ID */ - 416, /* (438) column_alias ::= NK_ALIAS */ - 355, /* (439) user_name ::= NK_ID */ - 364, /* (440) topic_name ::= NK_ID */ - 438, /* (441) stream_name ::= NK_ID */ - 428, /* (442) cgroup_name ::= NK_ID */ - 419, /* (443) index_name ::= NK_ID */ - 450, /* (444) expr_or_subquery ::= expression */ - 444, /* (445) expression ::= literal */ - 444, /* (446) expression ::= pseudo_column */ - 444, /* (447) expression ::= column_reference */ - 444, /* (448) expression ::= function_expression */ - 444, /* (449) expression ::= case_when_expression */ - 444, /* (450) expression ::= NK_LP expression NK_RP */ - 444, /* (451) expression ::= NK_PLUS expr_or_subquery */ - 444, /* (452) expression ::= NK_MINUS expr_or_subquery */ - 444, /* (453) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - 444, /* (454) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - 444, /* (455) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - 444, /* (456) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - 444, /* (457) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - 444, /* (458) expression ::= column_reference NK_ARROW NK_STRING */ - 444, /* (459) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - 444, /* (460) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - 396, /* (461) expression_list ::= expr_or_subquery */ - 396, /* (462) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - 452, /* (463) column_reference ::= column_name */ - 452, /* (464) column_reference ::= table_name NK_DOT column_name */ - 452, /* (465) column_reference ::= NK_ALIAS */ - 452, /* (466) column_reference ::= table_name NK_DOT NK_ALIAS */ - 451, /* (467) pseudo_column ::= ROWTS */ - 451, /* (468) pseudo_column ::= TBNAME */ - 451, /* (469) pseudo_column ::= table_name NK_DOT TBNAME */ - 451, /* (470) pseudo_column ::= QSTART */ - 451, /* (471) pseudo_column ::= QEND */ - 451, /* (472) pseudo_column ::= QDURATION */ - 451, /* (473) pseudo_column ::= WSTART */ - 451, /* (474) pseudo_column ::= WEND */ - 451, /* (475) pseudo_column ::= WDURATION */ - 451, /* (476) pseudo_column ::= IROWTS */ - 451, /* (477) pseudo_column ::= ISFILLED */ - 451, /* (478) pseudo_column ::= QTAGS */ - 453, /* (479) function_expression ::= function_name NK_LP expression_list NK_RP */ - 453, /* (480) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - 453, /* (481) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - 453, /* (482) function_expression ::= literal_func */ - 447, /* (483) literal_func ::= noarg_func NK_LP NK_RP */ - 447, /* (484) literal_func ::= NOW */ - 457, /* (485) noarg_func ::= NOW */ - 457, /* (486) noarg_func ::= TODAY */ - 457, /* (487) noarg_func ::= TIMEZONE */ - 457, /* (488) noarg_func ::= DATABASE */ - 457, /* (489) noarg_func ::= CLIENT_VERSION */ - 457, /* (490) noarg_func ::= SERVER_VERSION */ - 457, /* (491) noarg_func ::= SERVER_STATUS */ - 457, /* (492) noarg_func ::= CURRENT_USER */ - 457, /* (493) noarg_func ::= USER */ - 455, /* (494) star_func ::= COUNT */ - 455, /* (495) star_func ::= FIRST */ - 455, /* (496) star_func ::= LAST */ - 455, /* (497) star_func ::= LAST_ROW */ - 456, /* (498) star_func_para_list ::= NK_STAR */ - 456, /* (499) star_func_para_list ::= other_para_list */ - 458, /* (500) other_para_list ::= star_func_para */ - 458, /* (501) other_para_list ::= other_para_list NK_COMMA star_func_para */ - 459, /* (502) star_func_para ::= expr_or_subquery */ - 459, /* (503) star_func_para ::= table_name NK_DOT NK_STAR */ - 454, /* (504) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - 454, /* (505) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - 460, /* (506) when_then_list ::= when_then_expr */ - 460, /* (507) when_then_list ::= when_then_list when_then_expr */ - 463, /* (508) when_then_expr ::= WHEN common_expression THEN common_expression */ - 461, /* (509) case_when_else_opt ::= */ - 461, /* (510) case_when_else_opt ::= ELSE common_expression */ - 464, /* (511) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - 464, /* (512) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - 464, /* (513) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - 464, /* (514) predicate ::= expr_or_subquery IS NULL */ - 464, /* (515) predicate ::= expr_or_subquery IS NOT NULL */ - 464, /* (516) predicate ::= expr_or_subquery in_op in_predicate_value */ - 465, /* (517) compare_op ::= NK_LT */ - 465, /* (518) compare_op ::= NK_GT */ - 465, /* (519) compare_op ::= NK_LE */ - 465, /* (520) compare_op ::= NK_GE */ - 465, /* (521) compare_op ::= NK_NE */ - 465, /* (522) compare_op ::= NK_EQ */ - 465, /* (523) compare_op ::= LIKE */ - 465, /* (524) compare_op ::= NOT LIKE */ - 465, /* (525) compare_op ::= MATCH */ - 465, /* (526) compare_op ::= NMATCH */ - 465, /* (527) compare_op ::= CONTAINS */ - 466, /* (528) in_op ::= IN */ - 466, /* (529) in_op ::= NOT IN */ - 467, /* (530) in_predicate_value ::= NK_LP literal_list NK_RP */ - 468, /* (531) boolean_value_expression ::= boolean_primary */ - 468, /* (532) boolean_value_expression ::= NOT boolean_primary */ - 468, /* (533) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - 468, /* (534) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - 469, /* (535) boolean_primary ::= predicate */ - 469, /* (536) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - 462, /* (537) common_expression ::= expr_or_subquery */ - 462, /* (538) common_expression ::= boolean_value_expression */ - 470, /* (539) from_clause_opt ::= */ - 470, /* (540) from_clause_opt ::= FROM table_reference_list */ - 471, /* (541) table_reference_list ::= table_reference */ - 471, /* (542) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - 472, /* (543) table_reference ::= table_primary */ - 472, /* (544) table_reference ::= joined_table */ - 473, /* (545) table_primary ::= table_name alias_opt */ - 473, /* (546) table_primary ::= db_name NK_DOT table_name alias_opt */ - 473, /* (547) table_primary ::= subquery alias_opt */ - 473, /* (548) table_primary ::= parenthesized_joined_table */ - 475, /* (549) alias_opt ::= */ - 475, /* (550) alias_opt ::= table_alias */ - 475, /* (551) alias_opt ::= AS table_alias */ - 477, /* (552) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - 477, /* (553) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - 474, /* (554) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 478, /* (555) join_type ::= */ - 478, /* (556) join_type ::= INNER */ - 479, /* (557) 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 */ - 480, /* (558) hint_list ::= */ - 480, /* (559) hint_list ::= NK_HINT */ - 482, /* (560) tag_mode_opt ::= */ - 482, /* (561) tag_mode_opt ::= TAGS */ - 481, /* (562) set_quantifier_opt ::= */ - 481, /* (563) set_quantifier_opt ::= DISTINCT */ - 481, /* (564) set_quantifier_opt ::= ALL */ - 483, /* (565) select_list ::= select_item */ - 483, /* (566) select_list ::= select_list NK_COMMA select_item */ - 491, /* (567) select_item ::= NK_STAR */ - 491, /* (568) select_item ::= common_expression */ - 491, /* (569) select_item ::= common_expression column_alias */ - 491, /* (570) select_item ::= common_expression AS column_alias */ - 491, /* (571) select_item ::= table_name NK_DOT NK_STAR */ - 427, /* (572) where_clause_opt ::= */ - 427, /* (573) where_clause_opt ::= WHERE search_condition */ - 484, /* (574) partition_by_clause_opt ::= */ - 484, /* (575) partition_by_clause_opt ::= PARTITION BY partition_list */ - 492, /* (576) partition_list ::= partition_item */ - 492, /* (577) partition_list ::= partition_list NK_COMMA partition_item */ - 493, /* (578) partition_item ::= expr_or_subquery */ - 493, /* (579) partition_item ::= expr_or_subquery column_alias */ - 493, /* (580) partition_item ::= expr_or_subquery AS column_alias */ - 488, /* (581) twindow_clause_opt ::= */ - 488, /* (582) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */ - 488, /* (583) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - 488, /* (584) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ - 488, /* (585) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ - 488, /* (586) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 421, /* (587) sliding_opt ::= */ - 421, /* (588) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ - 494, /* (589) interval_sliding_duration_literal ::= NK_VARIABLE */ - 494, /* (590) interval_sliding_duration_literal ::= NK_STRING */ - 494, /* (591) interval_sliding_duration_literal ::= NK_INTEGER */ - 487, /* (592) fill_opt ::= */ - 487, /* (593) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - 487, /* (594) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - 487, /* (595) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - 495, /* (596) fill_mode ::= NONE */ - 495, /* (597) fill_mode ::= PREV */ - 495, /* (598) fill_mode ::= NULL */ - 495, /* (599) fill_mode ::= NULL_F */ - 495, /* (600) fill_mode ::= LINEAR */ - 495, /* (601) fill_mode ::= NEXT */ - 489, /* (602) group_by_clause_opt ::= */ - 489, /* (603) group_by_clause_opt ::= GROUP BY group_by_list */ - 496, /* (604) group_by_list ::= expr_or_subquery */ - 496, /* (605) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 490, /* (606) having_clause_opt ::= */ - 490, /* (607) having_clause_opt ::= HAVING search_condition */ - 485, /* (608) range_opt ::= */ - 485, /* (609) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - 485, /* (610) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 486, /* (611) every_opt ::= */ - 486, /* (612) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - 497, /* (613) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - 498, /* (614) query_simple ::= query_specification */ - 498, /* (615) query_simple ::= union_query_expression */ - 502, /* (616) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - 502, /* (617) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - 503, /* (618) query_simple_or_subquery ::= query_simple */ - 503, /* (619) query_simple_or_subquery ::= subquery */ - 426, /* (620) query_or_subquery ::= query_expression */ - 426, /* (621) query_or_subquery ::= subquery */ - 499, /* (622) order_by_clause_opt ::= */ - 499, /* (623) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 500, /* (624) slimit_clause_opt ::= */ - 500, /* (625) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - 500, /* (626) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - 500, /* (627) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 501, /* (628) limit_clause_opt ::= */ - 501, /* (629) limit_clause_opt ::= LIMIT NK_INTEGER */ - 501, /* (630) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - 501, /* (631) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 476, /* (632) subquery ::= NK_LP query_expression NK_RP */ - 476, /* (633) subquery ::= NK_LP subquery NK_RP */ - 365, /* (634) search_condition ::= common_expression */ - 504, /* (635) sort_specification_list ::= sort_specification */ - 504, /* (636) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - 505, /* (637) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 506, /* (638) ordering_specification_opt ::= */ - 506, /* (639) ordering_specification_opt ::= ASC */ - 506, /* (640) ordering_specification_opt ::= DESC */ - 507, /* (641) null_ordering_opt ::= */ - 507, /* (642) null_ordering_opt ::= NULLS FIRST */ - 507, /* (643) null_ordering_opt ::= NULLS LAST */ + 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 */ }; /* For rule J, yyRuleInfoNRhs[J] contains the negative of the number @@ -4261,388 +4275,390 @@ static const signed char yyRuleInfoNRhs[] = { -2, /* (259) cmd ::= SHOW CONNECTIONS */ -2, /* (260) cmd ::= SHOW LICENCES */ -2, /* (261) cmd ::= SHOW GRANTS */ - -4, /* (262) cmd ::= SHOW CREATE DATABASE db_name */ - -4, /* (263) cmd ::= SHOW CREATE TABLE full_table_name */ - -4, /* (264) cmd ::= SHOW CREATE STABLE full_table_name */ - -2, /* (265) cmd ::= SHOW QUERIES */ - -2, /* (266) cmd ::= SHOW SCORES */ - -2, /* (267) cmd ::= SHOW TOPICS */ - -2, /* (268) cmd ::= SHOW VARIABLES */ - -3, /* (269) cmd ::= SHOW CLUSTER VARIABLES */ - -3, /* (270) cmd ::= SHOW LOCAL VARIABLES */ - -5, /* (271) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - -2, /* (272) cmd ::= SHOW BNODES */ - -2, /* (273) cmd ::= SHOW SNODES */ - -2, /* (274) cmd ::= SHOW CLUSTER */ - -2, /* (275) cmd ::= SHOW TRANSACTIONS */ - -4, /* (276) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - -2, /* (277) cmd ::= SHOW CONSUMERS */ - -2, /* (278) cmd ::= SHOW SUBSCRIPTIONS */ - -5, /* (279) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - -6, /* (280) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ - -7, /* (281) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - -8, /* (282) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ - -5, /* (283) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ - -2, /* (284) cmd ::= SHOW VNODES */ - -3, /* (285) cmd ::= SHOW db_name_cond_opt ALIVE */ - -3, /* (286) cmd ::= SHOW CLUSTER ALIVE */ - -3, /* (287) cmd ::= SHOW db_name_cond_opt VIEWS */ - -4, /* (288) cmd ::= SHOW CREATE VIEW full_table_name */ - -2, /* (289) cmd ::= SHOW COMPACTS */ - -3, /* (290) cmd ::= SHOW COMPACT NK_INTEGER */ - 0, /* (291) table_kind_db_name_cond_opt ::= */ - -1, /* (292) table_kind_db_name_cond_opt ::= table_kind */ - -2, /* (293) table_kind_db_name_cond_opt ::= db_name NK_DOT */ - -3, /* (294) table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */ - -1, /* (295) table_kind ::= NORMAL */ - -1, /* (296) table_kind ::= CHILD */ - 0, /* (297) db_name_cond_opt ::= */ - -2, /* (298) db_name_cond_opt ::= db_name NK_DOT */ - 0, /* (299) like_pattern_opt ::= */ - -2, /* (300) like_pattern_opt ::= LIKE NK_STRING */ - -1, /* (301) table_name_cond ::= table_name */ - 0, /* (302) from_db_opt ::= */ - -2, /* (303) from_db_opt ::= FROM db_name */ - 0, /* (304) tag_list_opt ::= */ - -1, /* (305) tag_list_opt ::= tag_item */ - -3, /* (306) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - -1, /* (307) tag_item ::= TBNAME */ - -1, /* (308) tag_item ::= QTAGS */ - -1, /* (309) tag_item ::= column_name */ - -2, /* (310) tag_item ::= column_name column_alias */ - -3, /* (311) tag_item ::= column_name AS column_alias */ - 0, /* (312) db_kind_opt ::= */ - -1, /* (313) db_kind_opt ::= USER */ - -1, /* (314) db_kind_opt ::= SYSTEM */ - -8, /* (315) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ - -9, /* (316) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ - -4, /* (317) cmd ::= DROP INDEX exists_opt full_index_name */ - -1, /* (318) full_index_name ::= index_name */ - -3, /* (319) full_index_name ::= db_name NK_DOT index_name */ - -10, /* (320) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - -12, /* (321) 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, /* (322) func_list ::= func */ - -3, /* (323) func_list ::= func_list NK_COMMA func */ - -4, /* (324) func ::= sma_func_name NK_LP expression_list NK_RP */ - -1, /* (325) sma_func_name ::= function_name */ - -1, /* (326) sma_func_name ::= COUNT */ - -1, /* (327) sma_func_name ::= FIRST */ - -1, /* (328) sma_func_name ::= LAST */ - -1, /* (329) sma_func_name ::= LAST_ROW */ - 0, /* (330) sma_stream_opt ::= */ - -3, /* (331) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - -3, /* (332) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - -3, /* (333) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - -1, /* (334) with_meta ::= AS */ - -3, /* (335) with_meta ::= WITH META AS */ - -3, /* (336) with_meta ::= ONLY META AS */ - -6, /* (337) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - -7, /* (338) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - -8, /* (339) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - -4, /* (340) cmd ::= DROP TOPIC exists_opt topic_name */ - -7, /* (341) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - -2, /* (342) cmd ::= DESC full_table_name */ - -2, /* (343) cmd ::= DESCRIBE full_table_name */ - -3, /* (344) cmd ::= RESET QUERY CACHE */ - -4, /* (345) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - -4, /* (346) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 0, /* (347) analyze_opt ::= */ - -1, /* (348) analyze_opt ::= ANALYZE */ - 0, /* (349) explain_options ::= */ - -3, /* (350) explain_options ::= explain_options VERBOSE NK_BOOL */ - -3, /* (351) explain_options ::= explain_options RATIO NK_FLOAT */ - -12, /* (352) 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, /* (353) cmd ::= DROP FUNCTION exists_opt function_name */ - 0, /* (354) agg_func_opt ::= */ - -1, /* (355) agg_func_opt ::= AGGREGATE */ - 0, /* (356) bufsize_opt ::= */ - -2, /* (357) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 0, /* (358) language_opt ::= */ - -2, /* (359) language_opt ::= LANGUAGE NK_STRING */ - 0, /* (360) or_replace_opt ::= */ - -2, /* (361) or_replace_opt ::= OR REPLACE */ - -6, /* (362) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ - -4, /* (363) cmd ::= DROP VIEW exists_opt full_view_name */ - -1, /* (364) full_view_name ::= view_name */ - -3, /* (365) full_view_name ::= db_name NK_DOT view_name */ - -12, /* (366) 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, /* (367) cmd ::= DROP STREAM exists_opt stream_name */ - -4, /* (368) cmd ::= PAUSE STREAM exists_opt stream_name */ - -5, /* (369) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 0, /* (370) col_list_opt ::= */ - -3, /* (371) col_list_opt ::= NK_LP col_name_list NK_RP */ - 0, /* (372) tag_def_or_ref_opt ::= */ - -1, /* (373) tag_def_or_ref_opt ::= tags_def */ - -4, /* (374) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 0, /* (375) stream_options ::= */ - -3, /* (376) stream_options ::= stream_options TRIGGER AT_ONCE */ - -3, /* (377) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - -4, /* (378) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - -3, /* (379) stream_options ::= stream_options WATERMARK duration_literal */ - -4, /* (380) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - -3, /* (381) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - -3, /* (382) stream_options ::= stream_options DELETE_MARK duration_literal */ - -4, /* (383) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 0, /* (384) subtable_opt ::= */ - -4, /* (385) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 0, /* (386) ignore_opt ::= */ - -2, /* (387) ignore_opt ::= IGNORE UNTREATED */ - -3, /* (388) cmd ::= KILL CONNECTION NK_INTEGER */ - -3, /* (389) cmd ::= KILL QUERY NK_STRING */ - -3, /* (390) cmd ::= KILL TRANSACTION NK_INTEGER */ - -3, /* (391) cmd ::= KILL COMPACT NK_INTEGER */ - -2, /* (392) cmd ::= BALANCE VGROUP */ - -4, /* (393) cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ - -4, /* (394) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - -4, /* (395) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - -3, /* (396) cmd ::= SPLIT VGROUP NK_INTEGER */ - 0, /* (397) on_vgroup_id ::= */ - -2, /* (398) on_vgroup_id ::= ON NK_INTEGER */ - -2, /* (399) dnode_list ::= DNODE NK_INTEGER */ - -3, /* (400) dnode_list ::= dnode_list DNODE NK_INTEGER */ - -4, /* (401) cmd ::= DELETE FROM full_table_name where_clause_opt */ - -1, /* (402) cmd ::= query_or_subquery */ - -1, /* (403) cmd ::= insert_query */ - -7, /* (404) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - -4, /* (405) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - -1, /* (406) literal ::= NK_INTEGER */ - -1, /* (407) literal ::= NK_FLOAT */ - -1, /* (408) literal ::= NK_STRING */ - -1, /* (409) literal ::= NK_BOOL */ - -2, /* (410) literal ::= TIMESTAMP NK_STRING */ - -1, /* (411) literal ::= duration_literal */ - -1, /* (412) literal ::= NULL */ - -1, /* (413) literal ::= NK_QUESTION */ - -1, /* (414) duration_literal ::= NK_VARIABLE */ - -1, /* (415) signed ::= NK_INTEGER */ - -2, /* (416) signed ::= NK_PLUS NK_INTEGER */ - -2, /* (417) signed ::= NK_MINUS NK_INTEGER */ - -1, /* (418) signed ::= NK_FLOAT */ - -2, /* (419) signed ::= NK_PLUS NK_FLOAT */ - -2, /* (420) signed ::= NK_MINUS NK_FLOAT */ - -1, /* (421) signed_literal ::= signed */ - -1, /* (422) signed_literal ::= NK_STRING */ - -1, /* (423) signed_literal ::= NK_BOOL */ - -2, /* (424) signed_literal ::= TIMESTAMP NK_STRING */ - -1, /* (425) signed_literal ::= duration_literal */ - -1, /* (426) signed_literal ::= NULL */ - -1, /* (427) signed_literal ::= literal_func */ - -1, /* (428) signed_literal ::= NK_QUESTION */ - -1, /* (429) literal_list ::= signed_literal */ - -3, /* (430) literal_list ::= literal_list NK_COMMA signed_literal */ - -1, /* (431) db_name ::= NK_ID */ - -1, /* (432) table_name ::= NK_ID */ - -1, /* (433) column_name ::= NK_ID */ - -1, /* (434) function_name ::= NK_ID */ - -1, /* (435) view_name ::= NK_ID */ - -1, /* (436) table_alias ::= NK_ID */ - -1, /* (437) column_alias ::= NK_ID */ - -1, /* (438) column_alias ::= NK_ALIAS */ - -1, /* (439) user_name ::= NK_ID */ - -1, /* (440) topic_name ::= NK_ID */ - -1, /* (441) stream_name ::= NK_ID */ - -1, /* (442) cgroup_name ::= NK_ID */ - -1, /* (443) index_name ::= NK_ID */ - -1, /* (444) expr_or_subquery ::= expression */ - -1, /* (445) expression ::= literal */ - -1, /* (446) expression ::= pseudo_column */ - -1, /* (447) expression ::= column_reference */ - -1, /* (448) expression ::= function_expression */ - -1, /* (449) expression ::= case_when_expression */ - -3, /* (450) expression ::= NK_LP expression NK_RP */ - -2, /* (451) expression ::= NK_PLUS expr_or_subquery */ - -2, /* (452) expression ::= NK_MINUS expr_or_subquery */ - -3, /* (453) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - -3, /* (454) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - -3, /* (455) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - -3, /* (456) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - -3, /* (457) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - -3, /* (458) expression ::= column_reference NK_ARROW NK_STRING */ - -3, /* (459) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - -3, /* (460) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - -1, /* (461) expression_list ::= expr_or_subquery */ - -3, /* (462) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - -1, /* (463) column_reference ::= column_name */ - -3, /* (464) column_reference ::= table_name NK_DOT column_name */ - -1, /* (465) column_reference ::= NK_ALIAS */ - -3, /* (466) column_reference ::= table_name NK_DOT NK_ALIAS */ - -1, /* (467) pseudo_column ::= ROWTS */ - -1, /* (468) pseudo_column ::= TBNAME */ - -3, /* (469) pseudo_column ::= table_name NK_DOT TBNAME */ - -1, /* (470) pseudo_column ::= QSTART */ - -1, /* (471) pseudo_column ::= QEND */ - -1, /* (472) pseudo_column ::= QDURATION */ - -1, /* (473) pseudo_column ::= WSTART */ - -1, /* (474) pseudo_column ::= WEND */ - -1, /* (475) pseudo_column ::= WDURATION */ - -1, /* (476) pseudo_column ::= IROWTS */ - -1, /* (477) pseudo_column ::= ISFILLED */ - -1, /* (478) pseudo_column ::= QTAGS */ - -4, /* (479) function_expression ::= function_name NK_LP expression_list NK_RP */ - -4, /* (480) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - -6, /* (481) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - -1, /* (482) function_expression ::= literal_func */ - -3, /* (483) literal_func ::= noarg_func NK_LP NK_RP */ - -1, /* (484) literal_func ::= NOW */ - -1, /* (485) noarg_func ::= NOW */ - -1, /* (486) noarg_func ::= TODAY */ - -1, /* (487) noarg_func ::= TIMEZONE */ - -1, /* (488) noarg_func ::= DATABASE */ - -1, /* (489) noarg_func ::= CLIENT_VERSION */ - -1, /* (490) noarg_func ::= SERVER_VERSION */ - -1, /* (491) noarg_func ::= SERVER_STATUS */ - -1, /* (492) noarg_func ::= CURRENT_USER */ - -1, /* (493) noarg_func ::= USER */ - -1, /* (494) star_func ::= COUNT */ - -1, /* (495) star_func ::= FIRST */ - -1, /* (496) star_func ::= LAST */ - -1, /* (497) star_func ::= LAST_ROW */ - -1, /* (498) star_func_para_list ::= NK_STAR */ - -1, /* (499) star_func_para_list ::= other_para_list */ - -1, /* (500) other_para_list ::= star_func_para */ - -3, /* (501) other_para_list ::= other_para_list NK_COMMA star_func_para */ - -1, /* (502) star_func_para ::= expr_or_subquery */ - -3, /* (503) star_func_para ::= table_name NK_DOT NK_STAR */ - -4, /* (504) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - -5, /* (505) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - -1, /* (506) when_then_list ::= when_then_expr */ - -2, /* (507) when_then_list ::= when_then_list when_then_expr */ - -4, /* (508) when_then_expr ::= WHEN common_expression THEN common_expression */ - 0, /* (509) case_when_else_opt ::= */ - -2, /* (510) case_when_else_opt ::= ELSE common_expression */ - -3, /* (511) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - -5, /* (512) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - -6, /* (513) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - -3, /* (514) predicate ::= expr_or_subquery IS NULL */ - -4, /* (515) predicate ::= expr_or_subquery IS NOT NULL */ - -3, /* (516) predicate ::= expr_or_subquery in_op in_predicate_value */ - -1, /* (517) compare_op ::= NK_LT */ - -1, /* (518) compare_op ::= NK_GT */ - -1, /* (519) compare_op ::= NK_LE */ - -1, /* (520) compare_op ::= NK_GE */ - -1, /* (521) compare_op ::= NK_NE */ - -1, /* (522) compare_op ::= NK_EQ */ - -1, /* (523) compare_op ::= LIKE */ - -2, /* (524) compare_op ::= NOT LIKE */ - -1, /* (525) compare_op ::= MATCH */ - -1, /* (526) compare_op ::= NMATCH */ - -1, /* (527) compare_op ::= CONTAINS */ - -1, /* (528) in_op ::= IN */ - -2, /* (529) in_op ::= NOT IN */ - -3, /* (530) in_predicate_value ::= NK_LP literal_list NK_RP */ - -1, /* (531) boolean_value_expression ::= boolean_primary */ - -2, /* (532) boolean_value_expression ::= NOT boolean_primary */ - -3, /* (533) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - -3, /* (534) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - -1, /* (535) boolean_primary ::= predicate */ - -3, /* (536) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - -1, /* (537) common_expression ::= expr_or_subquery */ - -1, /* (538) common_expression ::= boolean_value_expression */ - 0, /* (539) from_clause_opt ::= */ - -2, /* (540) from_clause_opt ::= FROM table_reference_list */ - -1, /* (541) table_reference_list ::= table_reference */ - -3, /* (542) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - -1, /* (543) table_reference ::= table_primary */ - -1, /* (544) table_reference ::= joined_table */ - -2, /* (545) table_primary ::= table_name alias_opt */ - -4, /* (546) table_primary ::= db_name NK_DOT table_name alias_opt */ - -2, /* (547) table_primary ::= subquery alias_opt */ - -1, /* (548) table_primary ::= parenthesized_joined_table */ - 0, /* (549) alias_opt ::= */ - -1, /* (550) alias_opt ::= table_alias */ - -2, /* (551) alias_opt ::= AS table_alias */ - -3, /* (552) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - -3, /* (553) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - -6, /* (554) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 0, /* (555) join_type ::= */ - -1, /* (556) join_type ::= INNER */ - -14, /* (557) 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, /* (558) hint_list ::= */ - -1, /* (559) hint_list ::= NK_HINT */ - 0, /* (560) tag_mode_opt ::= */ - -1, /* (561) tag_mode_opt ::= TAGS */ - 0, /* (562) set_quantifier_opt ::= */ - -1, /* (563) set_quantifier_opt ::= DISTINCT */ - -1, /* (564) set_quantifier_opt ::= ALL */ - -1, /* (565) select_list ::= select_item */ - -3, /* (566) select_list ::= select_list NK_COMMA select_item */ - -1, /* (567) select_item ::= NK_STAR */ - -1, /* (568) select_item ::= common_expression */ - -2, /* (569) select_item ::= common_expression column_alias */ - -3, /* (570) select_item ::= common_expression AS column_alias */ - -3, /* (571) select_item ::= table_name NK_DOT NK_STAR */ - 0, /* (572) where_clause_opt ::= */ - -2, /* (573) where_clause_opt ::= WHERE search_condition */ - 0, /* (574) partition_by_clause_opt ::= */ - -3, /* (575) partition_by_clause_opt ::= PARTITION BY partition_list */ - -1, /* (576) partition_list ::= partition_item */ - -3, /* (577) partition_list ::= partition_list NK_COMMA partition_item */ - -1, /* (578) partition_item ::= expr_or_subquery */ - -2, /* (579) partition_item ::= expr_or_subquery column_alias */ - -3, /* (580) partition_item ::= expr_or_subquery AS column_alias */ - 0, /* (581) twindow_clause_opt ::= */ - -6, /* (582) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */ - -4, /* (583) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - -6, /* (584) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ - -8, /* (585) twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_COMMA interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ - -7, /* (586) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 0, /* (587) sliding_opt ::= */ - -4, /* (588) sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ - -1, /* (589) interval_sliding_duration_literal ::= NK_VARIABLE */ - -1, /* (590) interval_sliding_duration_literal ::= NK_STRING */ - -1, /* (591) interval_sliding_duration_literal ::= NK_INTEGER */ - 0, /* (592) fill_opt ::= */ - -4, /* (593) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - -6, /* (594) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - -6, /* (595) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - -1, /* (596) fill_mode ::= NONE */ - -1, /* (597) fill_mode ::= PREV */ - -1, /* (598) fill_mode ::= NULL */ - -1, /* (599) fill_mode ::= NULL_F */ - -1, /* (600) fill_mode ::= LINEAR */ - -1, /* (601) fill_mode ::= NEXT */ - 0, /* (602) group_by_clause_opt ::= */ - -3, /* (603) group_by_clause_opt ::= GROUP BY group_by_list */ - -1, /* (604) group_by_list ::= expr_or_subquery */ - -3, /* (605) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 0, /* (606) having_clause_opt ::= */ - -2, /* (607) having_clause_opt ::= HAVING search_condition */ - 0, /* (608) range_opt ::= */ - -6, /* (609) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - -4, /* (610) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 0, /* (611) every_opt ::= */ - -4, /* (612) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - -4, /* (613) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - -1, /* (614) query_simple ::= query_specification */ - -1, /* (615) query_simple ::= union_query_expression */ - -4, /* (616) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - -3, /* (617) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - -1, /* (618) query_simple_or_subquery ::= query_simple */ - -1, /* (619) query_simple_or_subquery ::= subquery */ - -1, /* (620) query_or_subquery ::= query_expression */ - -1, /* (621) query_or_subquery ::= subquery */ - 0, /* (622) order_by_clause_opt ::= */ - -3, /* (623) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 0, /* (624) slimit_clause_opt ::= */ - -2, /* (625) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - -4, /* (626) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - -4, /* (627) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 0, /* (628) limit_clause_opt ::= */ - -2, /* (629) limit_clause_opt ::= LIMIT NK_INTEGER */ - -4, /* (630) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - -4, /* (631) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - -3, /* (632) subquery ::= NK_LP query_expression NK_RP */ - -3, /* (633) subquery ::= NK_LP subquery NK_RP */ - -1, /* (634) search_condition ::= common_expression */ - -1, /* (635) sort_specification_list ::= sort_specification */ - -3, /* (636) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - -3, /* (637) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 0, /* (638) ordering_specification_opt ::= */ - -1, /* (639) ordering_specification_opt ::= ASC */ - -1, /* (640) ordering_specification_opt ::= DESC */ - 0, /* (641) null_ordering_opt ::= */ - -2, /* (642) null_ordering_opt ::= NULLS FIRST */ - -2, /* (643) null_ordering_opt ::= NULLS LAST */ + -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 */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -4734,11 +4750,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,348,&yymsp[0].minor); + yy_destructor(yypParser,350,&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,349,&yymsp[0].minor); + yy_destructor(yypParser,351,&yymsp[0].minor); break; case 2: /* account_options ::= */ { } @@ -4752,20 +4768,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,348,&yymsp[-2].minor); +{ yy_destructor(yypParser,350,&yymsp[-2].minor); { } - yy_destructor(yypParser,350,&yymsp[0].minor); + yy_destructor(yypParser,352,&yymsp[0].minor); } break; case 12: /* alter_account_options ::= alter_account_option */ -{ yy_destructor(yypParser,351,&yymsp[0].minor); +{ yy_destructor(yypParser,353,&yymsp[0].minor); { } } break; case 13: /* alter_account_options ::= alter_account_options alter_account_option */ -{ yy_destructor(yypParser,349,&yymsp[-1].minor); +{ yy_destructor(yypParser,351,&yymsp[-1].minor); { } - yy_destructor(yypParser,351,&yymsp[0].minor); + yy_destructor(yypParser,353,&yymsp[0].minor); } break; case 14: /* alter_account_option ::= PASS literal */ @@ -4779,154 +4795,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,350,&yymsp[0].minor); + yy_destructor(yypParser,352,&yymsp[0].minor); break; case 24: /* ip_range_list ::= NK_STRING */ -{ yylhsminor.yy88 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy88 = yylhsminor.yy88; +{ yylhsminor.yy364 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy364 = yylhsminor.yy364; break; case 25: /* ip_range_list ::= ip_range_list NK_COMMA NK_STRING */ -{ yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy88 = yylhsminor.yy88; +{ yylhsminor.yy364 = addNodeToList(pCxt, yymsp[-2].minor.yy364, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy364 = yylhsminor.yy364; break; case 26: /* white_list ::= HOST ip_range_list */ -{ yymsp[-1].minor.yy88 = yymsp[0].minor.yy88; } +{ yymsp[-1].minor.yy364 = yymsp[0].minor.yy364; } break; case 27: /* white_list_opt ::= */ case 188: /* specific_cols_opt ::= */ yytestcase(yyruleno==188); case 219: /* tags_def_opt ::= */ yytestcase(yyruleno==219); - case 304: /* tag_list_opt ::= */ yytestcase(yyruleno==304); - case 370: /* col_list_opt ::= */ yytestcase(yyruleno==370); - case 372: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==372); - case 574: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==574); - case 602: /* group_by_clause_opt ::= */ yytestcase(yyruleno==602); - case 622: /* order_by_clause_opt ::= */ yytestcase(yyruleno==622); -{ yymsp[1].minor.yy88 = NULL; } + 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; } break; case 28: /* white_list_opt ::= white_list */ case 220: /* tags_def_opt ::= tags_def */ yytestcase(yyruleno==220); - case 373: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==373); - case 499: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==499); -{ yylhsminor.yy88 = yymsp[0].minor.yy88; } - yymsp[0].minor.yy88 = yylhsminor.yy88; + 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; break; case 29: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt white_list_opt */ { - pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-4].minor.yy993, &yymsp[-2].minor.yy0, yymsp[-1].minor.yy279); - pCxt->pRootNode = addCreateUserStmtWhiteList(pCxt, pCxt->pRootNode, yymsp[0].minor.yy88); + 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); } break; case 30: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy993, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, 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.yy993, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, 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.yy993, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, 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.yy993, TSDB_ALTER_USER_ADD_WHITE_LIST, yymsp[0].minor.yy88); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, TSDB_ALTER_USER_ADD_WHITE_LIST, yymsp[0].minor.yy364); } break; case 34: /* cmd ::= ALTER USER user_name DROP white_list */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy993, TSDB_ALTER_USER_DROP_WHITE_LIST, yymsp[0].minor.yy88); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy929, TSDB_ALTER_USER_DROP_WHITE_LIST, yymsp[0].minor.yy364); } break; case 35: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy993); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy929); } break; case 36: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy279 = 1; } +{ yymsp[1].minor.yy143 = 1; } break; case 37: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy279 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy143 = 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.yy221, &yymsp[-3].minor.yy241, &yymsp[0].minor.yy993, yymsp[-2].minor.yy232); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-5].minor.yy429, &yymsp[-3].minor.yy777, &yymsp[0].minor.yy929, yymsp[-2].minor.yy992); } break; case 39: /* cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ -{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-5].minor.yy221, &yymsp[-3].minor.yy241, &yymsp[0].minor.yy993, yymsp[-2].minor.yy232); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-5].minor.yy429, &yymsp[-3].minor.yy777, &yymsp[0].minor.yy929, yymsp[-2].minor.yy992); } break; case 40: /* privileges ::= ALL */ -{ yymsp[0].minor.yy221 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_ALL; } break; case 41: /* privileges ::= priv_type_list */ case 43: /* priv_type_list ::= priv_type */ yytestcase(yyruleno==43); -{ yylhsminor.yy221 = yymsp[0].minor.yy221; } - yymsp[0].minor.yy221 = yylhsminor.yy221; +{ yylhsminor.yy429 = yymsp[0].minor.yy429; } + yymsp[0].minor.yy429 = yylhsminor.yy429; break; case 42: /* privileges ::= SUBSCRIBE */ -{ yymsp[0].minor.yy221 = PRIVILEGE_TYPE_SUBSCRIBE; } +{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_SUBSCRIBE; } break; case 44: /* priv_type_list ::= priv_type_list NK_COMMA priv_type */ -{ yylhsminor.yy221 = yymsp[-2].minor.yy221 | yymsp[0].minor.yy221; } - yymsp[-2].minor.yy221 = yylhsminor.yy221; +{ yylhsminor.yy429 = yymsp[-2].minor.yy429 | yymsp[0].minor.yy429; } + yymsp[-2].minor.yy429 = yylhsminor.yy429; break; case 45: /* priv_type ::= READ */ -{ yymsp[0].minor.yy221 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_READ; } break; case 46: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy221 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_WRITE; } break; case 47: /* priv_type ::= ALTER */ -{ yymsp[0].minor.yy221 = PRIVILEGE_TYPE_ALTER; } +{ yymsp[0].minor.yy429 = PRIVILEGE_TYPE_ALTER; } break; case 48: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy241.first = yymsp[-2].minor.yy0; yylhsminor.yy241.second = yymsp[0].minor.yy0; } - yymsp[-2].minor.yy241 = yylhsminor.yy241; +{ yylhsminor.yy777.first = yymsp[-2].minor.yy0; yylhsminor.yy777.second = yymsp[0].minor.yy0; } + yymsp[-2].minor.yy777 = yylhsminor.yy777; break; case 49: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy241.first = yymsp[-2].minor.yy993; yylhsminor.yy241.second = yymsp[0].minor.yy0; } - yymsp[-2].minor.yy241 = yylhsminor.yy241; +{ yylhsminor.yy777.first = yymsp[-2].minor.yy929; yylhsminor.yy777.second = yymsp[0].minor.yy0; } + yymsp[-2].minor.yy777 = yylhsminor.yy777; break; case 50: /* priv_level ::= db_name NK_DOT table_name */ -{ yylhsminor.yy241.first = yymsp[-2].minor.yy993; yylhsminor.yy241.second = yymsp[0].minor.yy993; } - yymsp[-2].minor.yy241 = yylhsminor.yy241; +{ yylhsminor.yy777.first = yymsp[-2].minor.yy929; yylhsminor.yy777.second = yymsp[0].minor.yy929; } + yymsp[-2].minor.yy777 = yylhsminor.yy777; break; case 51: /* priv_level ::= topic_name */ -{ yylhsminor.yy241.first = yymsp[0].minor.yy993; yylhsminor.yy241.second = nil_token; } - yymsp[0].minor.yy241 = yylhsminor.yy241; +{ yylhsminor.yy777.first = yymsp[0].minor.yy929; yylhsminor.yy777.second = nil_token; } + yymsp[0].minor.yy777 = yylhsminor.yy777; break; case 52: /* with_opt ::= */ case 157: /* start_opt ::= */ yytestcase(yyruleno==157); case 161: /* end_opt ::= */ yytestcase(yyruleno==161); - case 299: /* like_pattern_opt ::= */ yytestcase(yyruleno==299); - case 384: /* subtable_opt ::= */ yytestcase(yyruleno==384); - case 509: /* case_when_else_opt ::= */ yytestcase(yyruleno==509); - case 539: /* from_clause_opt ::= */ yytestcase(yyruleno==539); - case 572: /* where_clause_opt ::= */ yytestcase(yyruleno==572); - case 581: /* twindow_clause_opt ::= */ yytestcase(yyruleno==581); - case 587: /* sliding_opt ::= */ yytestcase(yyruleno==587); - case 592: /* fill_opt ::= */ yytestcase(yyruleno==592); - case 606: /* having_clause_opt ::= */ yytestcase(yyruleno==606); - case 608: /* range_opt ::= */ yytestcase(yyruleno==608); - case 611: /* every_opt ::= */ yytestcase(yyruleno==611); - case 624: /* slimit_clause_opt ::= */ yytestcase(yyruleno==624); - case 628: /* limit_clause_opt ::= */ yytestcase(yyruleno==628); -{ yymsp[1].minor.yy232 = NULL; } + 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; } break; case 53: /* with_opt ::= WITH search_condition */ - case 540: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==540); - case 573: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==573); - case 607: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==607); -{ yymsp[-1].minor.yy232 = yymsp[0].minor.yy232; } + 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; } break; case 54: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy993, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy929, NULL); } break; case 55: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy929, &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.yy985, false); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy437, false); } break; case 57: /* cmd ::= DROP DNODE dnode_endpoint force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy993, yymsp[0].minor.yy985, false); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy929, yymsp[0].minor.yy437, false); } break; case 58: /* cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy985); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy437); } break; case 59: /* cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy993, false, yymsp[0].minor.yy985); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy929, false, yymsp[0].minor.yy437); } break; case 60: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -4946,57 +4962,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 326: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==326); - case 327: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==327); - case 328: /* sma_func_name ::= LAST */ yytestcase(yyruleno==328); - case 329: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==329); - case 431: /* db_name ::= NK_ID */ yytestcase(yyruleno==431); - case 432: /* table_name ::= NK_ID */ yytestcase(yyruleno==432); - case 433: /* column_name ::= NK_ID */ yytestcase(yyruleno==433); - case 434: /* function_name ::= NK_ID */ yytestcase(yyruleno==434); - case 435: /* view_name ::= NK_ID */ yytestcase(yyruleno==435); - case 436: /* table_alias ::= NK_ID */ yytestcase(yyruleno==436); - case 437: /* column_alias ::= NK_ID */ yytestcase(yyruleno==437); - case 438: /* column_alias ::= NK_ALIAS */ yytestcase(yyruleno==438); - case 439: /* user_name ::= NK_ID */ yytestcase(yyruleno==439); - case 440: /* topic_name ::= NK_ID */ yytestcase(yyruleno==440); - case 441: /* stream_name ::= NK_ID */ yytestcase(yyruleno==441); - case 442: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==442); - case 443: /* index_name ::= NK_ID */ yytestcase(yyruleno==443); - case 485: /* noarg_func ::= NOW */ yytestcase(yyruleno==485); - case 486: /* noarg_func ::= TODAY */ yytestcase(yyruleno==486); - case 487: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==487); - case 488: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==488); - case 489: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==489); - case 490: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==490); - case 491: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==491); - case 492: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==492); - case 493: /* noarg_func ::= USER */ yytestcase(yyruleno==493); - case 494: /* star_func ::= COUNT */ yytestcase(yyruleno==494); - case 495: /* star_func ::= FIRST */ yytestcase(yyruleno==495); - case 496: /* star_func ::= LAST */ yytestcase(yyruleno==496); - case 497: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==497); -{ yylhsminor.yy993 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy993 = yylhsminor.yy993; + 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; break; case 68: /* force_opt ::= */ case 94: /* not_exists_opt ::= */ yytestcase(yyruleno==94); case 96: /* exists_opt ::= */ yytestcase(yyruleno==96); - case 347: /* analyze_opt ::= */ yytestcase(yyruleno==347); - case 354: /* agg_func_opt ::= */ yytestcase(yyruleno==354); - case 360: /* or_replace_opt ::= */ yytestcase(yyruleno==360); - case 386: /* ignore_opt ::= */ yytestcase(yyruleno==386); - case 560: /* tag_mode_opt ::= */ yytestcase(yyruleno==560); - case 562: /* set_quantifier_opt ::= */ yytestcase(yyruleno==562); -{ yymsp[1].minor.yy985 = false; } + 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; } break; case 69: /* force_opt ::= FORCE */ case 70: /* unsafe_opt ::= UNSAFE */ yytestcase(yyruleno==70); - case 348: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==348); - case 355: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==355); - case 561: /* tag_mode_opt ::= TAGS */ yytestcase(yyruleno==561); - case 563: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==563); -{ yymsp[0].minor.yy985 = true; } + 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; } break; case 71: /* cmd ::= ALTER CLUSTER NK_STRING */ { pCxt->pRootNode = createAlterClusterStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -5044,241 +5060,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.yy985, &yymsp[-1].minor.yy993, yymsp[0].minor.yy232); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy437, &yymsp[-1].minor.yy929, yymsp[0].minor.yy992); } break; case 87: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy985, &yymsp[0].minor.yy993); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } break; case 88: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy993); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy929); } break; case 89: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy993, yymsp[0].minor.yy232); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy929, yymsp[0].minor.yy992); } break; case 90: /* cmd ::= FLUSH DATABASE db_name */ -{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy993); } +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy929); } break; case 91: /* cmd ::= TRIM DATABASE db_name speed_opt */ -{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy993, yymsp[0].minor.yy92); } +{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy929, yymsp[0].minor.yy40); } break; case 92: /* cmd ::= COMPACT DATABASE db_name start_opt end_opt */ -{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy993, yymsp[-1].minor.yy232, yymsp[0].minor.yy232); } +{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy929, yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } break; case 93: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy985 = true; } +{ yymsp[-2].minor.yy437 = true; } break; case 95: /* exists_opt ::= IF EXISTS */ - case 361: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==361); - case 387: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==387); -{ yymsp[-1].minor.yy985 = true; } + case 363: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==363); + case 389: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==389); +{ yymsp[-1].minor.yy437 = true; } break; case 97: /* db_options ::= */ -{ yymsp[1].minor.yy232 = createDefaultDatabaseOptions(pCxt); } +{ yymsp[1].minor.yy992 = createDefaultDatabaseOptions(pCxt); } break; case 98: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 99: /* db_options ::= db_options CACHEMODEL NK_STRING */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 100: /* db_options ::= db_options CACHESIZE NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 101: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 102: /* db_options ::= db_options DURATION NK_INTEGER */ case 103: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==103); -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 104: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 105: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 106: /* db_options ::= db_options KEEP integer_list */ case 107: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==107); -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_KEEP, yymsp[0].minor.yy88); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_KEEP, yymsp[0].minor.yy364); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 108: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 109: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 110: /* db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 111: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 112: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 113: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 114: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 115: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_RETENTIONS, yymsp[0].minor.yy88); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_RETENTIONS, yymsp[0].minor.yy364); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 116: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 117: /* db_options ::= db_options WAL_LEVEL NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 118: /* db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 119: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; 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.yy232 = setDatabaseOption(pCxt, yymsp[-3].minor.yy232, DB_OPTION_WAL_RETENTION_PERIOD, &t); + yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-3].minor.yy992, DB_OPTION_WAL_RETENTION_PERIOD, &t); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + yymsp[-3].minor.yy992 = yylhsminor.yy992; break; case 121: /* db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; 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.yy232 = setDatabaseOption(pCxt, yymsp[-3].minor.yy232, DB_OPTION_WAL_RETENTION_SIZE, &t); + yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-3].minor.yy992, DB_OPTION_WAL_RETENTION_SIZE, &t); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + yymsp[-3].minor.yy992 = yylhsminor.yy992; break; case 123: /* db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 124: /* db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 125: /* db_options ::= db_options STT_TRIGGER NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 126: /* db_options ::= db_options TABLE_PREFIX signed */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy232); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy992); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 127: /* db_options ::= db_options TABLE_SUFFIX signed */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy232); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy992); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 128: /* db_options ::= db_options KEEP_TIME_OFFSET NK_INTEGER */ -{ yylhsminor.yy232 = setDatabaseOption(pCxt, yymsp[-2].minor.yy232, DB_OPTION_KEEP_TIME_OFFSET, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setDatabaseOption(pCxt, yymsp[-2].minor.yy992, DB_OPTION_KEEP_TIME_OFFSET, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 129: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy232 = createAlterDatabaseOptions(pCxt); yylhsminor.yy232 = setAlterDatabaseOption(pCxt, yylhsminor.yy232, &yymsp[0].minor.yy117); } - yymsp[0].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createAlterDatabaseOptions(pCxt); yylhsminor.yy992 = setAlterDatabaseOption(pCxt, yylhsminor.yy992, &yymsp[0].minor.yy665); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; case 130: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy232 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy232, &yymsp[0].minor.yy117); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy992, &yymsp[0].minor.yy665); } + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; case 131: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 132: /* alter_db_option ::= CACHEMODEL NK_STRING */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 133: /* alter_db_option ::= CACHESIZE NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 134: /* alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy665.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.yy117.type = DB_OPTION_KEEP; yymsp[-1].minor.yy117.pList = yymsp[0].minor.yy88; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_KEEP; yymsp[-1].minor.yy665.pList = yymsp[0].minor.yy364; } break; case 137: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_PAGES; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_PAGES; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 138: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 139: /* alter_db_option ::= WAL_LEVEL NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_WAL; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_WAL; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 140: /* alter_db_option ::= STT_TRIGGER NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 141: /* alter_db_option ::= MINROWS NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 142: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy665.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.yy117.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy117.val = t; + yymsp[-2].minor.yy665.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy665.val = t; } break; case 144: /* alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy665.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.yy117.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy117.val = t; + yymsp[-2].minor.yy665.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy665.val = t; } break; case 146: /* alter_db_option ::= KEEP_TIME_OFFSET NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = DB_OPTION_KEEP_TIME_OFFSET; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = DB_OPTION_KEEP_TIME_OFFSET; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 147: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy88 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy88 = yylhsminor.yy88; +{ yylhsminor.yy364 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy364 = yylhsminor.yy364; break; case 148: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 400: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==400); -{ yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy88 = yylhsminor.yy88; + 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; break; case 149: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy88 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy88 = yylhsminor.yy88; +{ yylhsminor.yy364 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy364 = yylhsminor.yy364; break; case 150: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy88 = yylhsminor.yy88; +{ yylhsminor.yy364 = addNodeToList(pCxt, yymsp[-2].minor.yy364, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy364 = yylhsminor.yy364; break; case 151: /* retention_list ::= retention */ case 182: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==182); @@ -5286,290 +5302,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 305: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==305); - case 322: /* func_list ::= func */ yytestcase(yyruleno==322); - case 429: /* literal_list ::= signed_literal */ yytestcase(yyruleno==429); - case 500: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==500); - case 506: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==506); - case 565: /* select_list ::= select_item */ yytestcase(yyruleno==565); - case 576: /* partition_list ::= partition_item */ yytestcase(yyruleno==576); - case 635: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==635); -{ yylhsminor.yy88 = createNodeList(pCxt, yymsp[0].minor.yy232); } - yymsp[0].minor.yy88 = yylhsminor.yy88; + 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; 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 306: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==306); - case 323: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==323); - case 430: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==430); - case 501: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==501); - case 566: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==566); - case 577: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==577); - case 636: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==636); -{ yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, yymsp[0].minor.yy232); } - yymsp[-2].minor.yy88 = yylhsminor.yy88; + 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; break; case 153: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ case 154: /* retention ::= NK_MINUS NK_COLON NK_VARIABLE */ yytestcase(yyruleno==154); -{ yylhsminor.yy232 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 155: /* speed_opt ::= */ - case 356: /* bufsize_opt ::= */ yytestcase(yyruleno==356); -{ yymsp[1].minor.yy92 = 0; } + case 358: /* bufsize_opt ::= */ yytestcase(yyruleno==358); +{ yymsp[1].minor.yy40 = 0; } break; case 156: /* speed_opt ::= BWLIMIT NK_INTEGER */ - case 357: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==357); -{ yymsp[-1].minor.yy92 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } + case 359: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==359); +{ yymsp[-1].minor.yy40 = 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.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy992 = 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.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy992 = 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.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-3].minor.yy992 = 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.yy985, yymsp[-5].minor.yy232, yymsp[-3].minor.yy88, yymsp[-1].minor.yy88, yymsp[0].minor.yy232); } +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy437, yymsp[-5].minor.yy992, yymsp[-3].minor.yy364, yymsp[-1].minor.yy364, yymsp[0].minor.yy992); } break; case 166: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy88); } +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy364); } break; case 168: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy88); } +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy364); } break; case 169: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy985, yymsp[0].minor.yy232); } +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy992); } break; case 170: /* cmd ::= ALTER TABLE alter_table_clause */ - case 402: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==402); - case 403: /* cmd ::= insert_query */ yytestcase(yyruleno==403); -{ pCxt->pRootNode = yymsp[0].minor.yy232; } + case 404: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==404); + case 405: /* cmd ::= insert_query */ yytestcase(yyruleno==405); +{ pCxt->pRootNode = yymsp[0].minor.yy992; } break; case 171: /* cmd ::= ALTER STABLE alter_table_clause */ -{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy232); } +{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy992); } break; case 172: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy232 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy232, yymsp[0].minor.yy232); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; case 173: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy232 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy232, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy993, yymsp[0].minor.yy400); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; +{ 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; break; case 174: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy232 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy232, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy993); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy992, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy929); } + yymsp[-3].minor.yy992 = yylhsminor.yy992; break; case 175: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy232 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy232, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy993, yymsp[0].minor.yy400); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; +{ 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; break; case 176: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy232 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy232, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy993, &yymsp[0].minor.yy993); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; +{ 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; break; case 177: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy232 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy232, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy993, yymsp[0].minor.yy400); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; +{ 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; break; case 178: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy232 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy232, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy993); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy992, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy929); } + yymsp[-3].minor.yy992 = yylhsminor.yy992; break; case 179: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy232 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy232, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy993, yymsp[0].minor.yy400); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; +{ 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; break; case 180: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy232 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy232, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy993, &yymsp[0].minor.yy993); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; +{ 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; break; case 181: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy232 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy232, &yymsp[-2].minor.yy993, yymsp[0].minor.yy232); } - yymsp[-5].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy992, &yymsp[-2].minor.yy929, yymsp[0].minor.yy992); } + yymsp[-5].minor.yy992 = yylhsminor.yy992; break; case 183: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 507: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==507); -{ yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-1].minor.yy88, yymsp[0].minor.yy232); } - yymsp[-1].minor.yy88 = yylhsminor.yy88; + 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; 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.yy232 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy985, yymsp[-8].minor.yy232, yymsp[-6].minor.yy232, yymsp[-5].minor.yy88, yymsp[-2].minor.yy88, yymsp[0].minor.yy232); } - yymsp[-9].minor.yy232 = yylhsminor.yy232; +{ 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; break; case 187: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy232 = createDropTableClause(pCxt, yymsp[-1].minor.yy985, yymsp[0].minor.yy232); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createDropTableClause(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy992); } + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; case 189: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ - case 371: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==371); -{ yymsp[-2].minor.yy88 = yymsp[-1].minor.yy88; } + case 373: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==373); +{ yymsp[-2].minor.yy364 = yymsp[-1].minor.yy364; } break; case 190: /* full_table_name ::= table_name */ -{ yylhsminor.yy232 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy993, NULL); } - yymsp[0].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy929, NULL); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; case 191: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy232 = createRealTableNode(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy993, NULL); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createRealTableNode(pCxt, &yymsp[-2].minor.yy929, &yymsp[0].minor.yy929, NULL); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 194: /* column_def ::= column_name type_name */ -{ yylhsminor.yy232 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy993, yymsp[0].minor.yy400, NULL); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy929, yymsp[0].minor.yy184, NULL); } + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; case 195: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_BOOL); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_BOOL); } break; case 196: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_TINYINT); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; case 197: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_SMALLINT); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; case 198: /* type_name ::= INT */ case 199: /* type_name ::= INTEGER */ yytestcase(yyruleno==199); -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_INT); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_INT); } break; case 200: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_BIGINT); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; case 201: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_FLOAT); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; case 202: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_DOUBLE); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; case 203: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy400 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; case 204: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; case 205: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy400 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; case 206: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy400 = createDataType(TSDB_DATA_TYPE_UTINYINT); } +{ yymsp[-1].minor.yy184 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; case 207: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy400 = createDataType(TSDB_DATA_TYPE_USMALLINT); } +{ yymsp[-1].minor.yy184 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; case 208: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy400 = createDataType(TSDB_DATA_TYPE_UINT); } +{ yymsp[-1].minor.yy184 = createDataType(TSDB_DATA_TYPE_UINT); } break; case 209: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy400 = createDataType(TSDB_DATA_TYPE_UBIGINT); } +{ yymsp[-1].minor.yy184 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; case 210: /* type_name ::= JSON */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_JSON); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_JSON); } break; case 211: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy400 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; case 212: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; case 213: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_BLOB); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_BLOB); } break; case 214: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy400 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; case 215: /* type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy400 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy184 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); } break; case 216: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy400 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[0].minor.yy184 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 217: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy400 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-3].minor.yy184 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 218: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy400 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-5].minor.yy184 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 221: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ - case 374: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==374); -{ yymsp[-3].minor.yy88 = yymsp[-1].minor.yy88; } + 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; } break; case 222: /* table_options ::= */ -{ yymsp[1].minor.yy232 = createDefaultTableOptions(pCxt); } +{ yymsp[1].minor.yy992 = createDefaultTableOptions(pCxt); } break; case 223: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy232 = setTableOption(pCxt, yymsp[-2].minor.yy232, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 224: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy232 = setTableOption(pCxt, yymsp[-2].minor.yy232, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy88); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy364); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 225: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy232 = setTableOption(pCxt, yymsp[-2].minor.yy232, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy88); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy364); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 226: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy232 = setTableOption(pCxt, yymsp[-4].minor.yy232, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy88); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-4].minor.yy992, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy364); } + yymsp[-4].minor.yy992 = yylhsminor.yy992; break; case 227: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy232 = setTableOption(pCxt, yymsp[-2].minor.yy232, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 228: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy232 = setTableOption(pCxt, yymsp[-4].minor.yy232, TABLE_OPTION_SMA, yymsp[-1].minor.yy88); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-4].minor.yy992, TABLE_OPTION_SMA, yymsp[-1].minor.yy364); } + yymsp[-4].minor.yy992 = yylhsminor.yy992; break; case 229: /* table_options ::= table_options DELETE_MARK duration_list */ -{ yylhsminor.yy232 = setTableOption(pCxt, yymsp[-2].minor.yy232, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy88); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-2].minor.yy992, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy364); } + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; case 230: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy232 = createAlterTableOptions(pCxt); yylhsminor.yy232 = setTableOption(pCxt, yylhsminor.yy232, yymsp[0].minor.yy117.type, &yymsp[0].minor.yy117.val); } - yymsp[0].minor.yy232 = yylhsminor.yy232; +{ 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; break; case 231: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy232 = setTableOption(pCxt, yymsp[-1].minor.yy232, yymsp[0].minor.yy117.type, &yymsp[0].minor.yy117.val); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = setTableOption(pCxt, yymsp[-1].minor.yy992, yymsp[0].minor.yy665.type, &yymsp[0].minor.yy665.val); } + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; case 232: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy117.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 233: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy117.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy117.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy665.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy665.val = yymsp[0].minor.yy0; } break; case 234: /* duration_list ::= duration_literal */ - case 461: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==461); -{ yylhsminor.yy88 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy232)); } - yymsp[0].minor.yy88 = yylhsminor.yy88; + 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; break; case 235: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 462: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==462); -{ yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, releaseRawExprNode(pCxt, yymsp[0].minor.yy232)); } - yymsp[-2].minor.yy88 = yylhsminor.yy88; + 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; break; case 238: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy232 = createFunctionNode(pCxt, &yymsp[0].minor.yy993, NULL); } - yymsp[0].minor.yy232 = yylhsminor.yy232; +{ yylhsminor.yy992 = createFunctionNode(pCxt, &yymsp[0].minor.yy929, NULL); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; case 239: /* rollup_func_name ::= FIRST */ case 240: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==240); - case 308: /* tag_item ::= QTAGS */ yytestcase(yyruleno==308); -{ yylhsminor.yy232 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 310: /* tag_item ::= QTAGS */ yytestcase(yyruleno==310); +{ yylhsminor.yy992 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; case 243: /* col_name ::= column_name */ - case 309: /* tag_item ::= column_name */ yytestcase(yyruleno==309); -{ yylhsminor.yy232 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy993); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 311: /* tag_item ::= column_name */ yytestcase(yyruleno==311); +{ yylhsminor.yy992 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy929); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; case 244: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } @@ -5583,19 +5599,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.yy281); + setShowKind(pCxt, pCxt->pRootNode, yymsp[-1].minor.yy430); } break; case 248: /* cmd ::= SHOW table_kind_db_name_cond_opt TABLES like_pattern_opt */ { - pCxt->pRootNode = createShowTablesStmt(pCxt, yymsp[-2].minor.yy133, yymsp[0].minor.yy232, OP_TYPE_LIKE); + pCxt->pRootNode = createShowTablesStmt(pCxt, yymsp[-2].minor.yy277, yymsp[0].minor.yy992, 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.yy232, yymsp[0].minor.yy232, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy992, yymsp[0].minor.yy992, 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.yy232, NULL, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy992, NULL, OP_TYPE_LIKE); } break; case 251: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } @@ -5607,10 +5623,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.yy232, yymsp[-1].minor.yy232, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy992, yymsp[-1].minor.yy992, 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.yy993), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy993), OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy929), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy929), OP_TYPE_EQUAL); } break; case 256: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } @@ -5628,927 +5644,933 @@ static YYACTIONTYPE yy_reduce( case 261: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==261); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; - case 262: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy993); } + case 262: /* cmd ::= SHOW GRANTS FULL */ +{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_GRANTS_FULL_STMT); } break; - case 263: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy232); } + case 263: /* cmd ::= SHOW GRANTS LOG */ +{ pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_GRANTS_LOG_STMT); } break; - case 264: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy232); } + case 264: /* cmd ::= SHOW CREATE DATABASE db_name */ +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy929); } break; - case 265: /* cmd ::= SHOW QUERIES */ + case 265: /* cmd ::= SHOW CREATE TABLE full_table_name */ +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy992); } + break; + case 266: /* cmd ::= SHOW CREATE STABLE full_table_name */ +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy992); } + break; + case 267: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } break; - case 266: /* cmd ::= SHOW SCORES */ + case 268: /* cmd ::= SHOW SCORES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SCORES_STMT); } break; - case 267: /* cmd ::= SHOW TOPICS */ + case 269: /* cmd ::= SHOW TOPICS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TOPICS_STMT); } break; - case 268: /* cmd ::= SHOW VARIABLES */ - case 269: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==269); + case 270: /* cmd ::= SHOW VARIABLES */ + case 271: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==271); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_VARIABLES_STMT); } break; - case 270: /* cmd ::= SHOW LOCAL VARIABLES */ + case 272: /* cmd ::= SHOW LOCAL VARIABLES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; - case 271: /* 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.yy232); } + 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); } break; - case 272: /* cmd ::= SHOW BNODES */ + case 274: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } break; - case 273: /* cmd ::= SHOW SNODES */ + case 275: /* cmd ::= SHOW SNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SNODES_STMT); } break; - case 274: /* cmd ::= SHOW CLUSTER */ + case 276: /* cmd ::= SHOW CLUSTER */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_STMT); } break; - case 275: /* cmd ::= SHOW TRANSACTIONS */ + case 277: /* cmd ::= SHOW TRANSACTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; - case 276: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy232); } + case 278: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy992); } break; - case 277: /* cmd ::= SHOW CONSUMERS */ + case 279: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } break; - case 278: /* cmd ::= SHOW SUBSCRIPTIONS */ + case 280: /* cmd ::= SHOW SUBSCRIPTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; - case 279: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy232, yymsp[-1].minor.yy232, OP_TYPE_EQUAL); } + 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); } break; - case 280: /* cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy993), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy993), OP_TYPE_EQUAL); } + 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); } break; - case 281: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy232, yymsp[0].minor.yy232, yymsp[-3].minor.yy88); } + 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); } break; - case 282: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy993), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy993), yymsp[-4].minor.yy88); } + 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); } break; - case 283: /* cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ + case 285: /* cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } break; - case 284: /* cmd ::= SHOW VNODES */ + case 286: /* cmd ::= SHOW VNODES */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, NULL); } break; - case 285: /* cmd ::= SHOW db_name_cond_opt ALIVE */ -{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy232, QUERY_NODE_SHOW_DB_ALIVE_STMT); } + case 287: /* cmd ::= SHOW db_name_cond_opt ALIVE */ +{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy992, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; - case 286: /* cmd ::= SHOW CLUSTER ALIVE */ + case 288: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; - case 287: /* cmd ::= SHOW db_name_cond_opt VIEWS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VIEWS_STMT, yymsp[-1].minor.yy232, NULL, OP_TYPE_LIKE); } + 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); } break; - case 288: /* cmd ::= SHOW CREATE VIEW full_table_name */ -{ pCxt->pRootNode = createShowCreateViewStmt(pCxt, QUERY_NODE_SHOW_CREATE_VIEW_STMT, yymsp[0].minor.yy232); } + case 290: /* cmd ::= SHOW CREATE VIEW full_table_name */ +{ pCxt->pRootNode = createShowCreateViewStmt(pCxt, QUERY_NODE_SHOW_CREATE_VIEW_STMT, yymsp[0].minor.yy992); } break; - case 289: /* cmd ::= SHOW COMPACTS */ + case 291: /* cmd ::= SHOW COMPACTS */ { pCxt->pRootNode = createShowCompactsStmt(pCxt, QUERY_NODE_SHOW_COMPACTS_STMT); } break; - case 290: /* cmd ::= SHOW COMPACT NK_INTEGER */ + case 292: /* cmd ::= SHOW COMPACT NK_INTEGER */ { pCxt->pRootNode = createShowCompactDetailsStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 291: /* table_kind_db_name_cond_opt ::= */ -{ yymsp[1].minor.yy133.kind = SHOW_KIND_ALL; yymsp[1].minor.yy133.dbName = nil_token; } + case 293: /* table_kind_db_name_cond_opt ::= */ +{ yymsp[1].minor.yy277.kind = SHOW_KIND_ALL; yymsp[1].minor.yy277.dbName = nil_token; } break; - case 292: /* table_kind_db_name_cond_opt ::= table_kind */ -{ yylhsminor.yy133.kind = yymsp[0].minor.yy281; yylhsminor.yy133.dbName = nil_token; } - yymsp[0].minor.yy133 = yylhsminor.yy133; + 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; break; - case 293: /* table_kind_db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy133.kind = SHOW_KIND_ALL; yylhsminor.yy133.dbName = yymsp[-1].minor.yy993; } - yymsp[-1].minor.yy133 = yylhsminor.yy133; + 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; break; - case 294: /* table_kind_db_name_cond_opt ::= table_kind db_name NK_DOT */ -{ yylhsminor.yy133.kind = yymsp[-2].minor.yy281; yylhsminor.yy133.dbName = yymsp[-1].minor.yy993; } - yymsp[-2].minor.yy133 = yylhsminor.yy133; + 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; break; - case 295: /* table_kind ::= NORMAL */ -{ yymsp[0].minor.yy281 = SHOW_KIND_TABLES_NORMAL; } + case 297: /* table_kind ::= NORMAL */ +{ yymsp[0].minor.yy430 = SHOW_KIND_TABLES_NORMAL; } break; - case 296: /* table_kind ::= CHILD */ -{ yymsp[0].minor.yy281 = SHOW_KIND_TABLES_CHILD; } + case 298: /* table_kind ::= CHILD */ +{ yymsp[0].minor.yy430 = SHOW_KIND_TABLES_CHILD; } break; - case 297: /* db_name_cond_opt ::= */ - case 302: /* from_db_opt ::= */ yytestcase(yyruleno==302); -{ yymsp[1].minor.yy232 = createDefaultDatabaseCondValue(pCxt); } + case 299: /* db_name_cond_opt ::= */ + case 304: /* from_db_opt ::= */ yytestcase(yyruleno==304); +{ yymsp[1].minor.yy992 = createDefaultDatabaseCondValue(pCxt); } break; - case 298: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy232 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy993); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + case 300: /* db_name_cond_opt ::= db_name NK_DOT */ +{ yylhsminor.yy992 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy929); } + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; - case 300: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + case 302: /* like_pattern_opt ::= LIKE NK_STRING */ +{ yymsp[-1].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; - case 301: /* table_name_cond ::= table_name */ -{ yylhsminor.yy232 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy993); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 303: /* table_name_cond ::= table_name */ +{ yylhsminor.yy992 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy929); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 303: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy232 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy993); } + case 305: /* from_db_opt ::= FROM db_name */ +{ yymsp[-1].minor.yy992 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy929); } break; - case 307: /* tag_item ::= TBNAME */ -{ yylhsminor.yy232 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 310: /* tag_item ::= column_name column_alias */ -{ yylhsminor.yy232 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy993), &yymsp[0].minor.yy993); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + 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; break; - case 311: /* tag_item ::= column_name AS column_alias */ -{ yylhsminor.yy232 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy993), &yymsp[0].minor.yy993); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 312: /* db_kind_opt ::= */ -{ yymsp[1].minor.yy281 = SHOW_KIND_ALL; } + case 314: /* db_kind_opt ::= */ +{ yymsp[1].minor.yy430 = SHOW_KIND_ALL; } break; - case 313: /* db_kind_opt ::= USER */ -{ yymsp[0].minor.yy281 = SHOW_KIND_DATABASES_USER; } + case 315: /* db_kind_opt ::= USER */ +{ yymsp[0].minor.yy430 = SHOW_KIND_DATABASES_USER; } break; - case 314: /* db_kind_opt ::= SYSTEM */ -{ yymsp[0].minor.yy281 = SHOW_KIND_DATABASES_SYSTEM; } + case 316: /* db_kind_opt ::= SYSTEM */ +{ yymsp[0].minor.yy430 = SHOW_KIND_DATABASES_SYSTEM; } break; - case 315: /* 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.yy985, yymsp[-3].minor.yy232, yymsp[-1].minor.yy232, NULL, yymsp[0].minor.yy232); } + 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); } break; - case 316: /* 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.yy985, yymsp[-5].minor.yy232, yymsp[-3].minor.yy232, yymsp[-1].minor.yy88, NULL); } + 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); } break; - case 317: /* cmd ::= DROP INDEX exists_opt full_index_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy985, yymsp[0].minor.yy232); } + case 319: /* cmd ::= DROP INDEX exists_opt full_index_name */ +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy992); } break; - case 318: /* full_index_name ::= index_name */ -{ yylhsminor.yy232 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy993); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 320: /* full_index_name ::= index_name */ +{ yylhsminor.yy992 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy929); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 319: /* full_index_name ::= db_name NK_DOT index_name */ -{ yylhsminor.yy232 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy993); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 320: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy232 = createIndexOption(pCxt, yymsp[-7].minor.yy88, releaseRawExprNode(pCxt, yymsp[-3].minor.yy232), NULL, yymsp[-1].minor.yy232, yymsp[0].minor.yy232); } + 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); } break; - case 321: /* 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.yy232 = createIndexOption(pCxt, yymsp[-9].minor.yy88, releaseRawExprNode(pCxt, yymsp[-5].minor.yy232), releaseRawExprNode(pCxt, yymsp[-3].minor.yy232), yymsp[-1].minor.yy232, yymsp[0].minor.yy232); } + 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); } break; - case 324: /* func ::= sma_func_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy232 = createFunctionNode(pCxt, &yymsp[-3].minor.yy993, yymsp[-1].minor.yy88); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + 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; break; - case 325: /* sma_func_name ::= function_name */ - case 550: /* alias_opt ::= table_alias */ yytestcase(yyruleno==550); -{ yylhsminor.yy993 = yymsp[0].minor.yy993; } - yymsp[0].minor.yy993 = yylhsminor.yy993; + 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; break; - case 330: /* sma_stream_opt ::= */ - case 375: /* stream_options ::= */ yytestcase(yyruleno==375); -{ yymsp[1].minor.yy232 = createStreamOptions(pCxt); } + case 332: /* sma_stream_opt ::= */ + case 377: /* stream_options ::= */ yytestcase(yyruleno==377); +{ yymsp[1].minor.yy992 = createStreamOptions(pCxt); } break; - case 331: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy232)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy232); yylhsminor.yy232 = yymsp[-2].minor.yy232; } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 332: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy232)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy232); yylhsminor.yy232 = yymsp[-2].minor.yy232; } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 333: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy232)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy232); yylhsminor.yy232 = yymsp[-2].minor.yy232; } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 334: /* with_meta ::= AS */ -{ yymsp[0].minor.yy92 = 0; } + case 336: /* with_meta ::= AS */ +{ yymsp[0].minor.yy40 = 0; } break; - case 335: /* with_meta ::= WITH META AS */ -{ yymsp[-2].minor.yy92 = 1; } + case 337: /* with_meta ::= WITH META AS */ +{ yymsp[-2].minor.yy40 = 1; } break; - case 336: /* with_meta ::= ONLY META AS */ -{ yymsp[-2].minor.yy92 = 2; } + case 338: /* with_meta ::= ONLY META AS */ +{ yymsp[-2].minor.yy40 = 2; } break; - case 337: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy985, &yymsp[-2].minor.yy993, yymsp[0].minor.yy232); } + 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); } break; - case 338: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy985, &yymsp[-3].minor.yy993, &yymsp[0].minor.yy993, yymsp[-2].minor.yy92); } + 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); } break; - case 339: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy985, &yymsp[-4].minor.yy993, yymsp[-1].minor.yy232, yymsp[-3].minor.yy92, yymsp[0].minor.yy232); } + 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); } break; - case 340: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy985, &yymsp[0].minor.yy993); } + case 342: /* cmd ::= DROP TOPIC exists_opt topic_name */ +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } break; - case 341: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy985, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy993); } + 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); } break; - case 342: /* cmd ::= DESC full_table_name */ - case 343: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==343); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy232); } + 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); } break; - case 344: /* cmd ::= RESET QUERY CACHE */ + case 346: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; - case 345: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - case 346: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==346); -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy985, yymsp[-1].minor.yy232, yymsp[0].minor.yy232); } + 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); } break; - case 349: /* explain_options ::= */ -{ yymsp[1].minor.yy232 = createDefaultExplainOptions(pCxt); } + case 351: /* explain_options ::= */ +{ yymsp[1].minor.yy992 = createDefaultExplainOptions(pCxt); } break; - case 350: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy232 = setExplainVerbose(pCxt, yymsp[-2].minor.yy232, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 351: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy232 = setExplainRatio(pCxt, yymsp[-2].minor.yy232, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 352: /* 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.yy985, yymsp[-9].minor.yy985, &yymsp[-6].minor.yy993, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy400, yymsp[-1].minor.yy92, &yymsp[0].minor.yy993, yymsp[-10].minor.yy985); } + 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); } break; - case 353: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy985, &yymsp[0].minor.yy993); } + case 355: /* cmd ::= DROP FUNCTION exists_opt function_name */ +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } break; - case 358: /* language_opt ::= */ - case 397: /* on_vgroup_id ::= */ yytestcase(yyruleno==397); -{ yymsp[1].minor.yy993 = nil_token; } + case 360: /* language_opt ::= */ + case 399: /* on_vgroup_id ::= */ yytestcase(yyruleno==399); +{ yymsp[1].minor.yy929 = nil_token; } break; - case 359: /* language_opt ::= LANGUAGE NK_STRING */ - case 398: /* on_vgroup_id ::= ON NK_INTEGER */ yytestcase(yyruleno==398); -{ yymsp[-1].minor.yy993 = yymsp[0].minor.yy0; } + 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; } break; - case 362: /* cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateViewStmt(pCxt, yymsp[-4].minor.yy985, yymsp[-2].minor.yy232, &yymsp[-1].minor.yy0, yymsp[0].minor.yy232); } + 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); } break; - case 363: /* cmd ::= DROP VIEW exists_opt full_view_name */ -{ pCxt->pRootNode = createDropViewStmt(pCxt, yymsp[-1].minor.yy985, yymsp[0].minor.yy232); } + case 365: /* cmd ::= DROP VIEW exists_opt full_view_name */ +{ pCxt->pRootNode = createDropViewStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy992); } break; - case 364: /* full_view_name ::= view_name */ -{ yylhsminor.yy232 = createViewNode(pCxt, NULL, &yymsp[0].minor.yy993); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 366: /* full_view_name ::= view_name */ +{ yylhsminor.yy992 = createViewNode(pCxt, NULL, &yymsp[0].minor.yy929); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 365: /* full_view_name ::= db_name NK_DOT view_name */ -{ yylhsminor.yy232 = createViewNode(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy993); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 366: /* 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.yy985, &yymsp[-8].minor.yy993, yymsp[-5].minor.yy232, yymsp[-7].minor.yy232, yymsp[-3].minor.yy88, yymsp[-2].minor.yy232, yymsp[0].minor.yy232, yymsp[-4].minor.yy88); } + 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); } break; - case 367: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy985, &yymsp[0].minor.yy993); } + case 369: /* cmd ::= DROP STREAM exists_opt stream_name */ +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } break; - case 368: /* cmd ::= PAUSE STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy985, &yymsp[0].minor.yy993); } + case 370: /* cmd ::= PAUSE STREAM exists_opt stream_name */ +{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy929); } break; - case 369: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ -{ pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy985, yymsp[-1].minor.yy985, &yymsp[0].minor.yy993); } + 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); } break; - case 376: /* stream_options ::= stream_options TRIGGER AT_ONCE */ - case 377: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==377); -{ yylhsminor.yy232 = setStreamOptions(pCxt, yymsp[-2].minor.yy232, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 378: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ yylhsminor.yy232 = setStreamOptions(pCxt, yymsp[-3].minor.yy232, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy232)); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + 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; break; - case 379: /* stream_options ::= stream_options WATERMARK duration_literal */ -{ yylhsminor.yy232 = setStreamOptions(pCxt, yymsp[-2].minor.yy232, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy232)); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 380: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ -{ yylhsminor.yy232 = setStreamOptions(pCxt, yymsp[-3].minor.yy232, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + 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; break; - case 381: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ -{ yylhsminor.yy232 = setStreamOptions(pCxt, yymsp[-2].minor.yy232, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 382: /* stream_options ::= stream_options DELETE_MARK duration_literal */ -{ yylhsminor.yy232 = setStreamOptions(pCxt, yymsp[-2].minor.yy232, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy232)); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 383: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ -{ yylhsminor.yy232 = setStreamOptions(pCxt, yymsp[-3].minor.yy232, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + 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; break; - case 385: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 588: /* sliding_opt ::= SLIDING NK_LP interval_sliding_duration_literal NK_RP */ yytestcase(yyruleno==588); - case 612: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==612); -{ yymsp[-3].minor.yy232 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy232); } + 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); } break; - case 388: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 390: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 389: /* cmd ::= KILL QUERY NK_STRING */ + case 391: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 390: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 392: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 391: /* cmd ::= KILL COMPACT NK_INTEGER */ + case 393: /* cmd ::= KILL COMPACT NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_COMPACT_STMT, &yymsp[0].minor.yy0); } break; - case 392: /* cmd ::= BALANCE VGROUP */ + case 394: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 393: /* cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ -{ pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt, &yymsp[0].minor.yy993); } + case 395: /* cmd ::= BALANCE VGROUP LEADER on_vgroup_id */ +{ pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt, &yymsp[0].minor.yy929); } break; - case 394: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 396: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 395: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy88); } + case 397: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy364); } break; - case 396: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 398: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 399: /* dnode_list ::= DNODE NK_INTEGER */ -{ yymsp[-1].minor.yy88 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + case 401: /* dnode_list ::= DNODE NK_INTEGER */ +{ yymsp[-1].minor.yy364 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 401: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy232, yymsp[0].minor.yy232); } + case 403: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy992, yymsp[0].minor.yy992); } break; - case 404: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ -{ yymsp[-6].minor.yy232 = createInsertStmt(pCxt, yymsp[-4].minor.yy232, yymsp[-2].minor.yy88, yymsp[0].minor.yy232); } + 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); } break; - case 405: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ -{ yymsp[-3].minor.yy232 = createInsertStmt(pCxt, yymsp[-1].minor.yy232, NULL, yymsp[0].minor.yy232); } + 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); } break; - case 406: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 407: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 408: /* literal ::= NK_STRING */ -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 409: /* literal ::= NK_BOOL */ -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 410: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + 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; break; - case 411: /* literal ::= duration_literal */ - case 421: /* signed_literal ::= signed */ yytestcase(yyruleno==421); - case 444: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==444); - case 445: /* expression ::= literal */ yytestcase(yyruleno==445); - case 447: /* expression ::= column_reference */ yytestcase(yyruleno==447); - case 448: /* expression ::= function_expression */ yytestcase(yyruleno==448); - case 449: /* expression ::= case_when_expression */ yytestcase(yyruleno==449); - case 482: /* function_expression ::= literal_func */ yytestcase(yyruleno==482); - case 531: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==531); - case 535: /* boolean_primary ::= predicate */ yytestcase(yyruleno==535); - case 537: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==537); - case 538: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==538); - case 541: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==541); - case 543: /* table_reference ::= table_primary */ yytestcase(yyruleno==543); - case 544: /* table_reference ::= joined_table */ yytestcase(yyruleno==544); - case 548: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==548); - case 614: /* query_simple ::= query_specification */ yytestcase(yyruleno==614); - case 615: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==615); - case 618: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==618); - case 620: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==620); -{ yylhsminor.yy232 = yymsp[0].minor.yy232; } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 412: /* literal ::= NULL */ -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 413: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 414: /* duration_literal ::= NK_VARIABLE */ - case 589: /* interval_sliding_duration_literal ::= NK_VARIABLE */ yytestcase(yyruleno==589); - case 590: /* interval_sliding_duration_literal ::= NK_STRING */ yytestcase(yyruleno==590); - case 591: /* interval_sliding_duration_literal ::= NK_INTEGER */ yytestcase(yyruleno==591); -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 415: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 417: /* signed ::= NK_INTEGER */ +{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 416: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + case 418: /* signed ::= NK_PLUS NK_INTEGER */ +{ yymsp[-1].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } break; - case 417: /* signed ::= NK_MINUS NK_INTEGER */ + case 419: /* 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.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; - case 418: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 420: /* signed ::= NK_FLOAT */ +{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 419: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + case 421: /* signed ::= NK_PLUS NK_FLOAT */ +{ yymsp[-1].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 420: /* signed ::= NK_MINUS NK_FLOAT */ + case 422: /* 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.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; - case 422: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 424: /* signed_literal ::= NK_STRING */ +{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 423: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 425: /* signed_literal ::= NK_BOOL */ +{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 424: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + case 426: /* signed_literal ::= TIMESTAMP NK_STRING */ +{ yymsp[-1].minor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 425: /* signed_literal ::= duration_literal */ - case 427: /* signed_literal ::= literal_func */ yytestcase(yyruleno==427); - case 502: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==502); - case 568: /* select_item ::= common_expression */ yytestcase(yyruleno==568); - case 578: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==578); - case 619: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==619); - case 621: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==621); - case 634: /* search_condition ::= common_expression */ yytestcase(yyruleno==634); -{ yylhsminor.yy232 = releaseRawExprNode(pCxt, yymsp[0].minor.yy232); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 426: /* signed_literal ::= NULL */ -{ yylhsminor.yy232 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 428: /* signed_literal ::= NULL */ +{ yylhsminor.yy992 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 428: /* signed_literal ::= NK_QUESTION */ -{ yylhsminor.yy232 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 430: /* signed_literal ::= NK_QUESTION */ +{ yylhsminor.yy992 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 446: /* expression ::= pseudo_column */ -{ yylhsminor.yy232 = yymsp[0].minor.yy232; setRawExprNodeIsPseudoColumn(pCxt, yylhsminor.yy232, true); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 448: /* expression ::= pseudo_column */ +{ yylhsminor.yy992 = yymsp[0].minor.yy992; setRawExprNodeIsPseudoColumn(pCxt, yylhsminor.yy992, true); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 450: /* expression ::= NK_LP expression NK_RP */ - case 536: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==536); - case 633: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==633); -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy232)); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 451: /* expression ::= NK_PLUS expr_or_subquery */ + case 453: /* expression ::= NK_PLUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy232)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy992); + yylhsminor.yy992 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy992)); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; - case 452: /* expression ::= NK_MINUS expr_or_subquery */ + case 454: /* expression ::= NK_MINUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy232), NULL)); + 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)); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; - case 453: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 455: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 454: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 456: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 455: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 457: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 456: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 458: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 457: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 459: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 458: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 460: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 459: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 461: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 460: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 462: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 463: /* column_reference ::= column_name */ -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy993, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy993)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 464: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy993, createColumnNode(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy993)); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 465: /* column_reference ::= NK_ALIAS */ -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 466: /* column_reference ::= table_name NK_DOT NK_ALIAS */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy0, createColumnNode(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 467: /* pseudo_column ::= ROWTS */ - case 468: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==468); - case 470: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==470); - case 471: /* pseudo_column ::= QEND */ yytestcase(yyruleno==471); - case 472: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==472); - case 473: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==473); - case 474: /* pseudo_column ::= WEND */ yytestcase(yyruleno==474); - case 475: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==475); - case 476: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==476); - case 477: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==477); - case 478: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==478); - case 484: /* literal_func ::= NOW */ yytestcase(yyruleno==484); -{ yylhsminor.yy232 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + 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; break; - case 469: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy993)))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 479: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 480: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==480); -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy993, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy993, yymsp[-1].minor.yy88)); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + 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; break; - case 481: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy232), yymsp[-1].minor.yy400)); } - yymsp[-5].minor.yy232 = yylhsminor.yy232; + 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; break; - case 483: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy993, NULL)); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 498: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy88 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy88 = yylhsminor.yy88; + 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; break; - case 503: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 571: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==571); -{ yylhsminor.yy232 = createColumnNode(pCxt, &yymsp[-2].minor.yy993, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 504: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy88, yymsp[-1].minor.yy232)); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + 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; break; - case 505: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy232), yymsp[-2].minor.yy88, yymsp[-1].minor.yy232)); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; + 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; break; - case 508: /* when_then_expr ::= WHEN common_expression THEN common_expression */ -{ yymsp[-3].minor.yy232 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232)); } + 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)); } break; - case 510: /* case_when_else_opt ::= ELSE common_expression */ -{ yymsp[-1].minor.yy232 = releaseRawExprNode(pCxt, yymsp[0].minor.yy232); } + case 512: /* case_when_else_opt ::= ELSE common_expression */ +{ yymsp[-1].minor.yy992 = releaseRawExprNode(pCxt, yymsp[0].minor.yy992); } break; - case 511: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 516: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==516); + 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); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy708, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 512: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 514: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy232), releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-4].minor.yy232 = yylhsminor.yy232; + yymsp[-4].minor.yy992 = yylhsminor.yy992; break; - case 513: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 515: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy232), releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-5].minor.yy232 = yylhsminor.yy232; + yymsp[-5].minor.yy992 = yylhsminor.yy992; break; - case 514: /* predicate ::= expr_or_subquery IS NULL */ + case 516: /* predicate ::= expr_or_subquery IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), 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)); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 515: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 517: /* predicate ::= expr_or_subquery IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy232), 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)); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + yymsp[-3].minor.yy992 = yylhsminor.yy992; break; - case 517: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy708 = OP_TYPE_LOWER_THAN; } + case 519: /* compare_op ::= NK_LT */ +{ yymsp[0].minor.yy20 = OP_TYPE_LOWER_THAN; } break; - case 518: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy708 = OP_TYPE_GREATER_THAN; } + case 520: /* compare_op ::= NK_GT */ +{ yymsp[0].minor.yy20 = OP_TYPE_GREATER_THAN; } break; - case 519: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy708 = OP_TYPE_LOWER_EQUAL; } + case 521: /* compare_op ::= NK_LE */ +{ yymsp[0].minor.yy20 = OP_TYPE_LOWER_EQUAL; } break; - case 520: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy708 = OP_TYPE_GREATER_EQUAL; } + case 522: /* compare_op ::= NK_GE */ +{ yymsp[0].minor.yy20 = OP_TYPE_GREATER_EQUAL; } break; - case 521: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy708 = OP_TYPE_NOT_EQUAL; } + case 523: /* compare_op ::= NK_NE */ +{ yymsp[0].minor.yy20 = OP_TYPE_NOT_EQUAL; } break; - case 522: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy708 = OP_TYPE_EQUAL; } + case 524: /* compare_op ::= NK_EQ */ +{ yymsp[0].minor.yy20 = OP_TYPE_EQUAL; } break; - case 523: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy708 = OP_TYPE_LIKE; } + case 525: /* compare_op ::= LIKE */ +{ yymsp[0].minor.yy20 = OP_TYPE_LIKE; } break; - case 524: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy708 = OP_TYPE_NOT_LIKE; } + case 526: /* compare_op ::= NOT LIKE */ +{ yymsp[-1].minor.yy20 = OP_TYPE_NOT_LIKE; } break; - case 525: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy708 = OP_TYPE_MATCH; } + case 527: /* compare_op ::= MATCH */ +{ yymsp[0].minor.yy20 = OP_TYPE_MATCH; } break; - case 526: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy708 = OP_TYPE_NMATCH; } + case 528: /* compare_op ::= NMATCH */ +{ yymsp[0].minor.yy20 = OP_TYPE_NMATCH; } break; - case 527: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy708 = OP_TYPE_JSON_CONTAINS; } + case 529: /* compare_op ::= CONTAINS */ +{ yymsp[0].minor.yy20 = OP_TYPE_JSON_CONTAINS; } break; - case 528: /* in_op ::= IN */ -{ yymsp[0].minor.yy708 = OP_TYPE_IN; } + case 530: /* in_op ::= IN */ +{ yymsp[0].minor.yy20 = OP_TYPE_IN; } break; - case 529: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy708 = OP_TYPE_NOT_IN; } + case 531: /* in_op ::= NOT IN */ +{ yymsp[-1].minor.yy20 = OP_TYPE_NOT_IN; } break; - case 530: /* in_predicate_value ::= NK_LP literal_list NK_RP */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy88)); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 532: /* boolean_value_expression ::= NOT boolean_primary */ + case 534: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy232), NULL)); + 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)); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + yymsp[-1].minor.yy992 = yylhsminor.yy992; break; - case 533: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 535: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 534: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 536: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy232); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy232); - yylhsminor.yy232 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); + 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))); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + yymsp[-2].minor.yy992 = yylhsminor.yy992; break; - case 542: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy232 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy232, yymsp[0].minor.yy232, NULL); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 545: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy232 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy993, &yymsp[0].minor.yy993); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + 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; break; - case 546: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy232 = createRealTableNode(pCxt, &yymsp[-3].minor.yy993, &yymsp[-1].minor.yy993, &yymsp[0].minor.yy993); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + 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; break; - case 547: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy232 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy232), &yymsp[0].minor.yy993); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + 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; break; - case 549: /* alias_opt ::= */ -{ yymsp[1].minor.yy993 = nil_token; } + case 551: /* alias_opt ::= */ +{ yymsp[1].minor.yy929 = nil_token; } break; - case 551: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy993 = yymsp[0].minor.yy993; } + case 553: /* alias_opt ::= AS table_alias */ +{ yymsp[-1].minor.yy929 = yymsp[0].minor.yy929; } break; - case 552: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 553: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==553); -{ yymsp[-2].minor.yy232 = yymsp[-1].minor.yy232; } + 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; } break; - case 554: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy232 = createJoinTableNode(pCxt, yymsp[-4].minor.yy436, yymsp[-5].minor.yy232, yymsp[-2].minor.yy232, yymsp[0].minor.yy232); } - yymsp[-5].minor.yy232 = yylhsminor.yy232; + 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; break; - case 555: /* join_type ::= */ -{ yymsp[1].minor.yy436 = JOIN_TYPE_INNER; } + case 557: /* join_type ::= */ +{ yymsp[1].minor.yy732 = JOIN_TYPE_INNER; } break; - case 556: /* join_type ::= INNER */ -{ yymsp[0].minor.yy436 = JOIN_TYPE_INNER; } + case 558: /* join_type ::= INNER */ +{ yymsp[0].minor.yy732 = JOIN_TYPE_INNER; } break; - case 557: /* 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 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 */ { - yymsp[-13].minor.yy232 = createSelectStmt(pCxt, yymsp[-11].minor.yy985, yymsp[-9].minor.yy88, yymsp[-8].minor.yy232, yymsp[-12].minor.yy88); - yymsp[-13].minor.yy232 = setSelectStmtTagMode(pCxt, yymsp[-13].minor.yy232, yymsp[-10].minor.yy985); - yymsp[-13].minor.yy232 = addWhereClause(pCxt, yymsp[-13].minor.yy232, yymsp[-7].minor.yy232); - yymsp[-13].minor.yy232 = addPartitionByClause(pCxt, yymsp[-13].minor.yy232, yymsp[-6].minor.yy88); - yymsp[-13].minor.yy232 = addWindowClauseClause(pCxt, yymsp[-13].minor.yy232, yymsp[-2].minor.yy232); - yymsp[-13].minor.yy232 = addGroupByClause(pCxt, yymsp[-13].minor.yy232, yymsp[-1].minor.yy88); - yymsp[-13].minor.yy232 = addHavingClause(pCxt, yymsp[-13].minor.yy232, yymsp[0].minor.yy232); - yymsp[-13].minor.yy232 = addRangeClause(pCxt, yymsp[-13].minor.yy232, yymsp[-5].minor.yy232); - yymsp[-13].minor.yy232 = addEveryClause(pCxt, yymsp[-13].minor.yy232, yymsp[-4].minor.yy232); - yymsp[-13].minor.yy232 = addFillClause(pCxt, yymsp[-13].minor.yy232, yymsp[-3].minor.yy232); + 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); } break; - case 558: /* hint_list ::= */ -{ yymsp[1].minor.yy88 = createHintNodeList(pCxt, NULL); } + case 560: /* hint_list ::= */ +{ yymsp[1].minor.yy364 = createHintNodeList(pCxt, NULL); } break; - case 559: /* hint_list ::= NK_HINT */ -{ yylhsminor.yy88 = createHintNodeList(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy88 = yylhsminor.yy88; + case 561: /* hint_list ::= NK_HINT */ +{ yylhsminor.yy364 = createHintNodeList(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy364 = yylhsminor.yy364; break; - case 564: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy985 = false; } + case 566: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy437 = false; } break; - case 567: /* select_item ::= NK_STAR */ -{ yylhsminor.yy232 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy232 = yylhsminor.yy232; + case 569: /* select_item ::= NK_STAR */ +{ yylhsminor.yy992 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy992 = yylhsminor.yy992; break; - case 569: /* select_item ::= common_expression column_alias */ - case 579: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==579); -{ yylhsminor.yy232 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy232), &yymsp[0].minor.yy993); } - yymsp[-1].minor.yy232 = yylhsminor.yy232; + 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; break; - case 570: /* select_item ::= common_expression AS column_alias */ - case 580: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==580); -{ yylhsminor.yy232 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), &yymsp[0].minor.yy993); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 575: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 603: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==603); - case 623: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==623); -{ yymsp[-2].minor.yy88 = yymsp[0].minor.yy88; } + 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; } break; - case 582: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA interval_sliding_duration_literal NK_RP */ -{ yymsp[-5].minor.yy232 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy232), releaseRawExprNode(pCxt, yymsp[-1].minor.yy232)); } + 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)); } break; - case 583: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy232 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy232)); } + 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)); } break; - case 584: /* twindow_clause_opt ::= INTERVAL NK_LP interval_sliding_duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy232 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy232), NULL, yymsp[-1].minor.yy232, yymsp[0].minor.yy232); } + 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); } break; - case 585: /* 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.yy232 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy232), releaseRawExprNode(pCxt, yymsp[-3].minor.yy232), yymsp[-1].minor.yy232, yymsp[0].minor.yy232); } + 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); } break; - case 586: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ -{ yymsp[-6].minor.yy232 = createEventWindowNode(pCxt, yymsp[-3].minor.yy232, yymsp[0].minor.yy232); } + 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); } break; - case 593: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy232 = createFillNode(pCxt, yymsp[-1].minor.yy246, NULL); } + case 595: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy992 = createFillNode(pCxt, yymsp[-1].minor.yy114, NULL); } break; - case 594: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ -{ yymsp[-5].minor.yy232 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy88)); } + 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)); } break; - case 595: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ -{ yymsp[-5].minor.yy232 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy88)); } + 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)); } break; - case 596: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy246 = FILL_MODE_NONE; } + case 598: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy114 = FILL_MODE_NONE; } break; - case 597: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy246 = FILL_MODE_PREV; } + case 599: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy114 = FILL_MODE_PREV; } break; - case 598: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy246 = FILL_MODE_NULL; } + case 600: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy114 = FILL_MODE_NULL; } break; - case 599: /* fill_mode ::= NULL_F */ -{ yymsp[0].minor.yy246 = FILL_MODE_NULL_F; } + case 601: /* fill_mode ::= NULL_F */ +{ yymsp[0].minor.yy114 = FILL_MODE_NULL_F; } break; - case 600: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy246 = FILL_MODE_LINEAR; } + case 602: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy114 = FILL_MODE_LINEAR; } break; - case 601: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy246 = FILL_MODE_NEXT; } + case 603: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy114 = FILL_MODE_NEXT; } break; - case 604: /* group_by_list ::= expr_or_subquery */ -{ yylhsminor.yy88 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); } - yymsp[0].minor.yy88 = yylhsminor.yy88; + 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; break; - case 605: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ -{ yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy232))); } - yymsp[-2].minor.yy88 = yylhsminor.yy88; + 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; break; - case 609: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ -{ yymsp[-5].minor.yy232 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy232), releaseRawExprNode(pCxt, yymsp[-1].minor.yy232)); } + 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)); } break; - case 610: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy232 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy232)); } + case 612: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy992 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy992)); } break; - case 613: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 615: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy232 = addOrderByClause(pCxt, yymsp[-3].minor.yy232, yymsp[-2].minor.yy88); - yylhsminor.yy232 = addSlimitClause(pCxt, yylhsminor.yy232, yymsp[-1].minor.yy232); - yylhsminor.yy232 = addLimitClause(pCxt, yylhsminor.yy232, yymsp[0].minor.yy232); + 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); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + yymsp[-3].minor.yy992 = yylhsminor.yy992; break; - case 616: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ -{ yylhsminor.yy232 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy232, yymsp[0].minor.yy232); } - yymsp[-3].minor.yy232 = yylhsminor.yy232; + 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; break; - case 617: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ -{ yylhsminor.yy232 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy232, yymsp[0].minor.yy232); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 625: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 629: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==629); -{ yymsp[-1].minor.yy232 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + 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); } break; - case 626: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 630: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==630); -{ yymsp[-3].minor.yy232 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + 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); } break; - case 627: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 631: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==631); -{ yymsp[-3].minor.yy232 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + 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); } break; - case 632: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy232 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy232); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 637: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy232 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy232), yymsp[-1].minor.yy834, yymsp[0].minor.yy153); } - yymsp[-2].minor.yy232 = yylhsminor.yy232; + 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; break; - case 638: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy834 = ORDER_ASC; } + case 640: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy938 = ORDER_ASC; } break; - case 639: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy834 = ORDER_ASC; } + case 641: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy938 = ORDER_ASC; } break; - case 640: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy834 = ORDER_DESC; } + case 642: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy938 = ORDER_DESC; } break; - case 641: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy153 = NULL_ORDER_DEFAULT; } + case 643: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy517 = NULL_ORDER_DEFAULT; } break; - case 642: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy153 = NULL_ORDER_FIRST; } + case 644: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy517 = NULL_ORDER_FIRST; } break; - case 643: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy153 = NULL_ORDER_LAST; } + case 645: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy517 = NULL_ORDER_LAST; } break; default: break;