From 6c8db261f31949e574bf15d4f94e231d76c63628 Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Mon, 9 Oct 2023 17:19:36 +0800 Subject: [PATCH] feat: support show views command --- include/common/systable.h | 1 + include/common/tmsg.h | 1 + include/common/ttokendef.h | 344 +- source/common/src/systable.c | 15 + source/dnode/mnode/impl/inc/mndDef.h | 7 + source/dnode/mnode/impl/inc/mndView.h | 3 +- source/dnode/mnode/impl/src/mndDb.c | 4 + source/dnode/mnode/impl/src/mndShow.c | 2 + source/dnode/mnode/impl/src/mndView.c | 74 +- source/libs/catalog/src/ctgDbg.c | 5 + source/libs/nodes/src/nodesUtilFuncs.c | 1 + source/libs/parser/inc/sql.y | 1 + source/libs/parser/src/parAstCreater.c | 9 +- source/libs/parser/src/parAstParser.c | 14 + source/libs/parser/src/parTokenizer.c | 1 + source/libs/parser/src/parTranslater.c | 11 + source/libs/parser/src/sql.c | 7194 ++++++++++++----------- source/libs/parser/test/mockCatalog.cpp | 4 + 18 files changed, 3850 insertions(+), 3841 deletions(-) diff --git a/include/common/systable.h b/include/common/systable.h index ea18338e9e..b44d8ce1d6 100644 --- a/include/common/systable.h +++ b/include/common/systable.h @@ -49,6 +49,7 @@ extern "C" { #define TSDB_INS_TABLE_STREAMS "ins_streams" #define TSDB_INS_TABLE_STREAM_TASKS "ins_stream_tasks" #define TSDB_INS_TABLE_USER_PRIVILEGES "ins_user_privileges" +#define TSDB_INS_TABLE_VIEWS "ins_views" #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 87ae63ced2..8ea4752c20 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -335,6 +335,7 @@ typedef enum ENodeType { QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT, QUERY_NODE_SHOW_VNODES_STMT, QUERY_NODE_SHOW_USER_PRIVILEGES_STMT, + QUERY_NODE_SHOW_VIEWS_STMT, QUERY_NODE_SHOW_CREATE_DATABASE_STMT, QUERY_NODE_SHOW_CREATE_TABLE_STMT, QUERY_NODE_SHOW_CREATE_STABLE_STMT, diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index e3c9919bd3..44a8052572 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -186,179 +186,177 @@ #define TK_SUBSCRIPTIONS 167 #define TK_VNODES 168 #define TK_ALIVE 169 -#define TK_LIKE 170 -#define TK_TBNAME 171 -#define TK_QTAGS 172 -#define TK_AS 173 -#define TK_INDEX 174 -#define TK_FUNCTION 175 -#define TK_INTERVAL 176 -#define TK_COUNT 177 -#define TK_LAST_ROW 178 -#define TK_META 179 -#define TK_ONLY 180 -#define TK_TOPIC 181 -#define TK_CONSUMER 182 -#define TK_GROUP 183 -#define TK_DESC 184 -#define TK_DESCRIBE 185 -#define TK_RESET 186 -#define TK_QUERY 187 -#define TK_CACHE 188 -#define TK_EXPLAIN 189 -#define TK_ANALYZE 190 -#define TK_VERBOSE 191 -#define TK_NK_BOOL 192 -#define TK_RATIO 193 -#define TK_NK_FLOAT 194 -#define TK_OUTPUTTYPE 195 -#define TK_AGGREGATE 196 -#define TK_BUFSIZE 197 -#define TK_LANGUAGE 198 -#define TK_REPLACE 199 -#define TK_VIEW 200 -#define TK_STREAM 201 -#define TK_INTO 202 -#define TK_PAUSE 203 -#define TK_RESUME 204 -#define TK_TRIGGER 205 -#define TK_AT_ONCE 206 -#define TK_WINDOW_CLOSE 207 -#define TK_IGNORE 208 -#define TK_EXPIRED 209 -#define TK_FILL_HISTORY 210 -#define TK_UPDATE 211 -#define TK_SUBTABLE 212 -#define TK_UNTREATED 213 -#define TK_KILL 214 -#define TK_CONNECTION 215 -#define TK_TRANSACTION 216 -#define TK_BALANCE 217 -#define TK_VGROUP 218 -#define TK_LEADER 219 -#define TK_MERGE 220 -#define TK_REDISTRIBUTE 221 -#define TK_SPLIT 222 -#define TK_DELETE 223 -#define TK_INSERT 224 -#define TK_NULL 225 -#define TK_NK_QUESTION 226 -#define TK_NK_ARROW 227 -#define TK_ROWTS 228 -#define TK_QSTART 229 -#define TK_QEND 230 -#define TK_QDURATION 231 -#define TK_WSTART 232 -#define TK_WEND 233 -#define TK_WDURATION 234 -#define TK_IROWTS 235 -#define TK_ISFILLED 236 -#define TK_CAST 237 -#define TK_NOW 238 -#define TK_TODAY 239 -#define TK_TIMEZONE 240 -#define TK_CLIENT_VERSION 241 -#define TK_SERVER_VERSION 242 -#define TK_SERVER_STATUS 243 -#define TK_CURRENT_USER 244 -#define TK_CASE 245 -#define TK_WHEN 246 -#define TK_THEN 247 -#define TK_ELSE 248 -#define TK_BETWEEN 249 -#define TK_IS 250 -#define TK_NK_LT 251 -#define TK_NK_GT 252 -#define TK_NK_LE 253 -#define TK_NK_GE 254 -#define TK_NK_NE 255 -#define TK_MATCH 256 -#define TK_NMATCH 257 -#define TK_CONTAINS 258 -#define TK_IN 259 -#define TK_JOIN 260 -#define TK_INNER 261 -#define TK_SELECT 262 -#define TK_NK_HINT 263 -#define TK_DISTINCT 264 -#define TK_WHERE 265 -#define TK_PARTITION 266 -#define TK_BY 267 -#define TK_SESSION 268 -#define TK_STATE_WINDOW 269 -#define TK_EVENT_WINDOW 270 -#define TK_SLIDING 271 -#define TK_FILL 272 -#define TK_VALUE 273 -#define TK_VALUE_F 274 -#define TK_NONE 275 -#define TK_PREV 276 -#define TK_NULL_F 277 -#define TK_LINEAR 278 -#define TK_NEXT 279 -#define TK_HAVING 280 -#define TK_RANGE 281 -#define TK_EVERY 282 -#define TK_ORDER 283 -#define TK_SLIMIT 284 -#define TK_SOFFSET 285 -#define TK_LIMIT 286 -#define TK_OFFSET 287 -#define TK_ASC 288 -#define TK_NULLS 289 -#define TK_ABORT 290 -#define TK_AFTER 291 -#define TK_ATTACH 292 -#define TK_BEFORE 293 -#define TK_BEGIN 294 -#define TK_BITAND 295 -#define TK_BITNOT 296 -#define TK_BITOR 297 -#define TK_BLOCKS 298 -#define TK_CHANGE 299 -#define TK_COMMA 300 -#define TK_CONCAT 301 -#define TK_CONFLICT 302 -#define TK_COPY 303 -#define TK_DEFERRED 304 -#define TK_DELIMITERS 305 -#define TK_DETACH 306 -#define TK_DIVIDE 307 -#define TK_DOT 308 -#define TK_EACH 309 -#define TK_FAIL 310 -#define TK_FILE 311 -#define TK_FOR 312 -#define TK_GLOB 313 -#define TK_ID 314 -#define TK_IMMEDIATE 315 -#define TK_IMPORT 316 -#define TK_INITIALLY 317 -#define TK_INSTEAD 318 -#define TK_ISNULL 319 -#define TK_KEY 320 -#define TK_MODULES 321 -#define TK_NK_BITNOT 322 -#define TK_NK_SEMI 323 -#define TK_NOTNULL 324 -#define TK_OF 325 -#define TK_PLUS 326 -#define TK_PRIVILEGE 327 -#define TK_RAISE 328 -#define TK_RESTRICT 329 -#define TK_ROW 330 -#define TK_SEMI 331 -#define TK_STAR 332 -#define TK_STATEMENT 333 -#define TK_STRICT 334 -#define TK_STRING 335 -#define TK_TIMES 336 -#define TK_VALUES 337 -#define TK_VARIABLE 338 -#define TK_WAL 339 - - - +#define TK_VIEWS 170 +#define TK_LIKE 171 +#define TK_TBNAME 172 +#define TK_QTAGS 173 +#define TK_AS 174 +#define TK_INDEX 175 +#define TK_FUNCTION 176 +#define TK_INTERVAL 177 +#define TK_COUNT 178 +#define TK_LAST_ROW 179 +#define TK_META 180 +#define TK_ONLY 181 +#define TK_TOPIC 182 +#define TK_CONSUMER 183 +#define TK_GROUP 184 +#define TK_DESC 185 +#define TK_DESCRIBE 186 +#define TK_RESET 187 +#define TK_QUERY 188 +#define TK_CACHE 189 +#define TK_EXPLAIN 190 +#define TK_ANALYZE 191 +#define TK_VERBOSE 192 +#define TK_NK_BOOL 193 +#define TK_RATIO 194 +#define TK_NK_FLOAT 195 +#define TK_OUTPUTTYPE 196 +#define TK_AGGREGATE 197 +#define TK_BUFSIZE 198 +#define TK_LANGUAGE 199 +#define TK_REPLACE 200 +#define TK_VIEW 201 +#define TK_STREAM 202 +#define TK_INTO 203 +#define TK_PAUSE 204 +#define TK_RESUME 205 +#define TK_TRIGGER 206 +#define TK_AT_ONCE 207 +#define TK_WINDOW_CLOSE 208 +#define TK_IGNORE 209 +#define TK_EXPIRED 210 +#define TK_FILL_HISTORY 211 +#define TK_UPDATE 212 +#define TK_SUBTABLE 213 +#define TK_UNTREATED 214 +#define TK_KILL 215 +#define TK_CONNECTION 216 +#define TK_TRANSACTION 217 +#define TK_BALANCE 218 +#define TK_VGROUP 219 +#define TK_LEADER 220 +#define TK_MERGE 221 +#define TK_REDISTRIBUTE 222 +#define TK_SPLIT 223 +#define TK_DELETE 224 +#define TK_INSERT 225 +#define TK_NULL 226 +#define TK_NK_QUESTION 227 +#define TK_NK_ARROW 228 +#define TK_ROWTS 229 +#define TK_QSTART 230 +#define TK_QEND 231 +#define TK_QDURATION 232 +#define TK_WSTART 233 +#define TK_WEND 234 +#define TK_WDURATION 235 +#define TK_IROWTS 236 +#define TK_ISFILLED 237 +#define TK_CAST 238 +#define TK_NOW 239 +#define TK_TODAY 240 +#define TK_TIMEZONE 241 +#define TK_CLIENT_VERSION 242 +#define TK_SERVER_VERSION 243 +#define TK_SERVER_STATUS 244 +#define TK_CURRENT_USER 245 +#define TK_CASE 246 +#define TK_WHEN 247 +#define TK_THEN 248 +#define TK_ELSE 249 +#define TK_BETWEEN 250 +#define TK_IS 251 +#define TK_NK_LT 252 +#define TK_NK_GT 253 +#define TK_NK_LE 254 +#define TK_NK_GE 255 +#define TK_NK_NE 256 +#define TK_MATCH 257 +#define TK_NMATCH 258 +#define TK_CONTAINS 259 +#define TK_IN 260 +#define TK_JOIN 261 +#define TK_INNER 262 +#define TK_SELECT 263 +#define TK_NK_HINT 264 +#define TK_DISTINCT 265 +#define TK_WHERE 266 +#define TK_PARTITION 267 +#define TK_BY 268 +#define TK_SESSION 269 +#define TK_STATE_WINDOW 270 +#define TK_EVENT_WINDOW 271 +#define TK_SLIDING 272 +#define TK_FILL 273 +#define TK_VALUE 274 +#define TK_VALUE_F 275 +#define TK_NONE 276 +#define TK_PREV 277 +#define TK_NULL_F 278 +#define TK_LINEAR 279 +#define TK_NEXT 280 +#define TK_HAVING 281 +#define TK_RANGE 282 +#define TK_EVERY 283 +#define TK_ORDER 284 +#define TK_SLIMIT 285 +#define TK_SOFFSET 286 +#define TK_LIMIT 287 +#define TK_OFFSET 288 +#define TK_ASC 289 +#define TK_NULLS 290 +#define TK_ABORT 291 +#define TK_AFTER 292 +#define TK_ATTACH 293 +#define TK_BEFORE 294 +#define TK_BEGIN 295 +#define TK_BITAND 296 +#define TK_BITNOT 297 +#define TK_BITOR 298 +#define TK_BLOCKS 299 +#define TK_CHANGE 300 +#define TK_COMMA 301 +#define TK_CONCAT 302 +#define TK_CONFLICT 303 +#define TK_COPY 304 +#define TK_DEFERRED 305 +#define TK_DELIMITERS 306 +#define TK_DETACH 307 +#define TK_DIVIDE 308 +#define TK_DOT 309 +#define TK_EACH 310 +#define TK_FAIL 311 +#define TK_FILE 312 +#define TK_FOR 313 +#define TK_GLOB 314 +#define TK_ID 315 +#define TK_IMMEDIATE 316 +#define TK_IMPORT 317 +#define TK_INITIALLY 318 +#define TK_INSTEAD 319 +#define TK_ISNULL 320 +#define TK_KEY 321 +#define TK_MODULES 322 +#define TK_NK_BITNOT 323 +#define TK_NK_SEMI 324 +#define TK_NOTNULL 325 +#define TK_OF 326 +#define TK_PLUS 327 +#define TK_PRIVILEGE 328 +#define TK_RAISE 329 +#define TK_RESTRICT 330 +#define TK_ROW 331 +#define TK_SEMI 332 +#define TK_STAR 333 +#define TK_STATEMENT 334 +#define TK_STRICT 335 +#define TK_STRING 336 +#define TK_TIMES 337 +#define TK_VALUES 338 +#define TK_VARIABLE 339 +#define TK_WAL 340 #define TK_NK_SPACE 600 diff --git a/source/common/src/systable.c b/source/common/src/systable.c index 107da6830e..69f8c8f4d2 100644 --- a/source/common/src/systable.c +++ b/source/common/src/systable.c @@ -24,6 +24,7 @@ #define SYSTABLE_SCH_TABLE_NAME_LEN ((TSDB_TABLE_NAME_LEN - 1) + VARSTR_HEADER_SIZE) #define SYSTABLE_SCH_DB_NAME_LEN ((TSDB_DB_NAME_LEN - 1) + VARSTR_HEADER_SIZE) #define SYSTABLE_SCH_COL_NAME_LEN ((TSDB_COL_NAME_LEN - 1) + VARSTR_HEADER_SIZE) +#define SYSTABLE_SCH_VIEW_NAME_LEN ((TSDB_VIEW_NAME_LEN - 1) + VARSTR_HEADER_SIZE) // clang-format off static const SSysDbTableSchema dnodesSchema[] = { @@ -312,6 +313,19 @@ static const SSysDbTableSchema userUserPrivilegesSchema[] = { {.name = "condition", .bytes = TSDB_PRIVILEDGE_CONDITION_LEN + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, }; +static const SSysDbTableSchema userViewsSchema[] = { + {.name = "view_name", .bytes = SYSTABLE_SCH_VIEW_NAME_LEN, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, + {.name = "db_name", .bytes = SYSTABLE_SCH_DB_NAME_LEN, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, + {.name = "create_time", .bytes = 8, .type = TSDB_DATA_TYPE_TIMESTAMP, .sysInfo = false}, + {.name = "type", .bytes = 128 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, + {.name = "query_sql", .bytes = TSDB_SHOW_SQL_LEN + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, + {.name = "column_list", .bytes = 2048 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, + {.name = "parameters", .bytes = 2048 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, + {.name = "default_values", .bytes = 2048 + VARSTR_HEADER_SIZE, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, + {.name = "target_table", .bytes = SYSTABLE_SCH_TABLE_NAME_LEN, .type = TSDB_DATA_TYPE_VARCHAR, .sysInfo = false}, +}; + + static const SSysTableMeta infosMeta[] = { {TSDB_INS_TABLE_DNODES, dnodesSchema, tListLen(dnodesSchema), true}, {TSDB_INS_TABLE_MNODES, mnodesSchema, tListLen(mnodesSchema), true}, @@ -338,6 +352,7 @@ static const SSysTableMeta infosMeta[] = { {TSDB_INS_TABLE_STREAM_TASKS, streamTaskSchema, tListLen(streamTaskSchema), false}, {TSDB_INS_TABLE_VNODES, vnodesSchema, tListLen(vnodesSchema), true}, {TSDB_INS_TABLE_USER_PRIVILEGES, userUserPrivilegesSchema, tListLen(userUserPrivilegesSchema), true}, + {TSDB_INS_TABLE_VIEWS, userViewsSchema, tListLen(userViewsSchema), false}, }; static const SSysDbTableSchema connectionsSchema[] = { diff --git a/source/dnode/mnode/impl/inc/mndDef.h b/source/dnode/mnode/impl/inc/mndDef.h index aef2e57c4d..e63b5cb6b8 100644 --- a/source/dnode/mnode/impl/inc/mndDef.h +++ b/source/dnode/mnode/impl/inc/mndDef.h @@ -728,16 +728,23 @@ void tFreeStreamObj(SStreamObj* pObj); // SArray* childInfo; // SArray // } SStreamCheckpointObj; +#define VIEW_TYPE_UPDATABLE (1 << 0) +#define VIEW_TYPE_MATERIALIZED (1 << 1) typedef struct { char fullname[TSDB_VIEW_FNAME_LEN]; char name[TSDB_VIEW_NAME_LEN]; char dbFName[TSDB_DB_FNAME_LEN]; char* querySql; + char* parameters; + void** defaultValues; + char* targetTable; uint64_t viewId; uint64_t dbId; + int64_t createdTime; int32_t version; int8_t precision; + int8_t type; int32_t numOfCols; SSchema* pSchema; SRWLatch lock; diff --git a/source/dnode/mnode/impl/inc/mndView.h b/source/dnode/mnode/impl/inc/mndView.h index ebc28f8898..dde287ac14 100755 --- a/source/dnode/mnode/impl/inc/mndView.h +++ b/source/dnode/mnode/impl/inc/mndView.h @@ -43,7 +43,8 @@ int32_t mndViewActionUpdate(SSdb *pSdb, SViewObj *pOldView, SViewObj *pNewView); int32_t mndProcessCreateViewReqImpl(SCMCreateViewReq* pCreateView, SRpcMsg *pReq); int32_t mndProcessDropViewReqImpl(SCMDropViewReq* pDropView, SRpcMsg *pReq); int32_t mndProcessViewMetaReqImpl(SViewMetaReq* pMetaReq, SRpcMsg *pReq); - +int32_t mndRetrieveViewImpl(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pBlock, int32_t rows); +int32_t mndDropViewByDb(SMnode *pMnode, STrans *pTrans, SDbObj *pDb); #endif diff --git a/source/dnode/mnode/impl/src/mndDb.c b/source/dnode/mnode/impl/src/mndDb.c index 9a9dbf7c29..ee37f4a13b 100644 --- a/source/dnode/mnode/impl/src/mndDb.c +++ b/source/dnode/mnode/impl/src/mndDb.c @@ -28,6 +28,7 @@ #include "mndTrans.h" #include "mndUser.h" #include "mndVgroup.h" +#include "mndView.h" #include "systable.h" #include "tjson.h" #include "thttp.h" @@ -1301,6 +1302,9 @@ static int32_t mndDropDb(SMnode *pMnode, SRpcMsg *pReq, SDbObj *pDb) { /*if (mndDropSubByDB(pMnode, pTrans, pDb) != 0) goto _OVER;*/ /*if (mndDropTopicByDB(pMnode, pTrans, pDb) != 0) goto _OVER;*/ if (mndDropStreamByDb(pMnode, pTrans, pDb) != 0) goto _OVER; +#ifdef TD_ENTERPRISE + if (mndDropViewByDb(pMnode, pTrans, pDb) != 0) goto _OVER; +#endif if (mndDropSmasByDb(pMnode, pTrans, pDb) != 0) goto _OVER; if (mndDropIdxsByDb(pMnode, pTrans, pDb) != 0) goto _OVER; if (mndSetDropDbRedoActions(pMnode, pTrans, pDb) != 0) goto _OVER; diff --git a/source/dnode/mnode/impl/src/mndShow.c b/source/dnode/mnode/impl/src/mndShow.c index 2286186ebb..5348cc17d0 100644 --- a/source/dnode/mnode/impl/src/mndShow.c +++ b/source/dnode/mnode/impl/src/mndShow.c @@ -116,6 +116,8 @@ static int32_t convertToRetrieveType(char *name, int32_t len) { type = TSDB_MGMT_TABLE_STREAM_TASKS; } else if (strncasecmp(name, TSDB_INS_TABLE_USER_PRIVILEGES, len) == 0) { type = TSDB_MGMT_TABLE_PRIVILEGES; + } else if (strncasecmp(name, TSDB_INS_TABLE_VIEWS, len) == 0) { + type = TSDB_MGMT_TABLE_VIEWS; } else { mError("invalid show name:%s len:%d", name, len); } diff --git a/source/dnode/mnode/impl/src/mndView.c b/source/dnode/mnode/impl/src/mndView.c index becfd28f30..bd147d90a3 100755 --- a/source/dnode/mnode/impl/src/mndView.c +++ b/source/dnode/mnode/impl/src/mndView.c @@ -94,78 +94,10 @@ int32_t mndProcessGetViewMetaReq(SRpcMsg *pReq) { int32_t mndRetrieveView(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock *pBlock, int32_t rows) { -#if 0 - SMnode *pMnode = pReq->info.node; - SSdb *pSdb = pMnode->pSdb; - int32_t numOfRows = 0; - SViewObj *pView = NULL; - - while (numOfRows < rows) { - pShow->pIter = sdbFetch(pSdb, SDB_VIEW, pShow->pIter, (void **)&pView); - if (pShow->pIter == NULL) break; - - SColumnInfoData *pColInfo; - SName n; - int32_t cols = 0; - - char viewName[TSDB_TABLE_NAME_LEN + VARSTR_HEADER_SIZE] = {0}; - STR_WITH_MAXSIZE_TO_VARSTR(viewName, mndGetDbStr(pView->name), sizeof(viewName)); - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, (const char *)viewName, false); - - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, (const char *)&pView->createTime, false); - - char sql[TSDB_SHOW_SQL_LEN + VARSTR_HEADER_SIZE] = {0}; - STR_WITH_MAXSIZE_TO_VARSTR(sql, pView->sql, sizeof(sql)); - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, (const char *)sql, false); - - char status[20 + VARSTR_HEADER_SIZE] = {0}; - char status2[20] = {0}; - mndShowViewStatus(status2, pView); - STR_WITH_MAXSIZE_TO_VARSTR(status, status2, sizeof(status)); - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, (const char *)&status, false); - - char sourceDB[TSDB_DB_NAME_LEN + VARSTR_HEADER_SIZE] = {0}; - STR_WITH_MAXSIZE_TO_VARSTR(sourceDB, mndGetDbStr(pView->sourceDb), sizeof(sourceDB)); - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, (const char *)&sourceDB, false); - - char targetDB[TSDB_DB_NAME_LEN + VARSTR_HEADER_SIZE] = {0}; - STR_WITH_MAXSIZE_TO_VARSTR(targetDB, mndGetDbStr(pView->targetDb), sizeof(targetDB)); - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, (const char *)&targetDB, false); - - if (pView->targetSTbName[0] == 0) { - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, NULL, true); - } else { - char targetSTB[TSDB_TABLE_NAME_LEN + VARSTR_HEADER_SIZE] = {0}; - STR_WITH_MAXSIZE_TO_VARSTR(targetSTB, mndGetStbStr(pView->targetSTbName), sizeof(targetSTB)); - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, (const char *)&targetSTB, false); - } - - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, (const char *)&pView->conf.watermark, false); - - char trigger[20 + VARSTR_HEADER_SIZE] = {0}; - char trigger2[20] = {0}; - mndShowViewTrigger(trigger2, pView); - STR_WITH_MAXSIZE_TO_VARSTR(trigger, trigger2, sizeof(trigger)); - pColInfo = taosArrayGet(pBlock->pDataBlock, cols++); - colDataSetVal(pColInfo, numOfRows, (const char *)&trigger, false); - - numOfRows++; - sdbRelease(pSdb, pView); - } - - pShow->numOfRows += numOfRows; - return numOfRows; -#else +#ifndef TD_ENTERPRISE return 0; +#else + return mndRetrieveViewImpl(pReq, pShow, pBlock, rows); #endif } diff --git a/source/libs/catalog/src/ctgDbg.c b/source/libs/catalog/src/ctgDbg.c index af78efff9e..340fcf1593 100644 --- a/source/libs/catalog/src/ctgDbg.c +++ b/source/libs/catalog/src/ctgDbg.c @@ -320,6 +320,11 @@ int32_t ctgdHandleDbgCommand(char *command) { CTG_RET(TSDB_CODE_INVALID_PARA); } + if (NULL == param || NULL == option) { + taosMemoryFree(dup); + CTG_RET(TSDB_CODE_INVALID_PARA); + } + bool enable = atoi(param); int32_t code = ctgdEnableDebug(option, enable); diff --git a/source/libs/nodes/src/nodesUtilFuncs.c b/source/libs/nodes/src/nodesUtilFuncs.c index c8ea9196cf..953c87d2e1 100644 --- a/source/libs/nodes/src/nodesUtilFuncs.c +++ b/source/libs/nodes/src/nodesUtilFuncs.c @@ -438,6 +438,7 @@ SNode* nodesMakeNode(ENodeType type) { 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: return makeNode(type, sizeof(SShowStmt)); case QUERY_NODE_SHOW_TABLE_TAGS_STMT: return makeNode(type, sizeof(SShowTableTagsStmt)); diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index bdbdc84ba4..c0ac75a6aa 100755 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -500,6 +500,7 @@ cmd ::= SHOW VNODES. // show alive cmd ::= SHOW db_name_cond_opt(A) ALIVE. { pCxt->pRootNode = createShowAliveStmt(pCxt, A, QUERY_NODE_SHOW_DB_ALIVE_STMT); } cmd ::= SHOW CLUSTER ALIVE. { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } +cmd ::= SHOW db_name_cond_opt(A) VIEWS. { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VIEWS_STMT, A, NULL, OP_TYPE_LIKE); } db_name_cond_opt(A) ::= . { A = createDefaultDatabaseCondValue(pCxt); } db_name_cond_opt(A) ::= db_name(B) NK_DOT. { A = createIdentifierValueNode(pCxt, &B); } diff --git a/source/libs/parser/src/parAstCreater.c b/source/libs/parser/src/parAstCreater.c index 62fc6cd405..11a6ecb34b 100644 --- a/source/libs/parser/src/parAstCreater.c +++ b/source/libs/parser/src/parAstCreater.c @@ -1569,7 +1569,8 @@ SNode* createUseDatabaseStmt(SAstCreateContext* pCxt, SToken* pDbName) { static bool needDbShowStmt(ENodeType type) { return QUERY_NODE_SHOW_TABLES_STMT == type || QUERY_NODE_SHOW_STABLES_STMT == type || QUERY_NODE_SHOW_VGROUPS_STMT == type || QUERY_NODE_SHOW_INDEXES_STMT == type || - QUERY_NODE_SHOW_TAGS_STMT == type || QUERY_NODE_SHOW_TABLE_TAGS_STMT == type; + QUERY_NODE_SHOW_TAGS_STMT == type || QUERY_NODE_SHOW_TABLE_TAGS_STMT == type || + QUERY_NODE_SHOW_VIEWS_STMT == type; } SNode* createShowStmt(SAstCreateContext* pCxt, ENodeType type) { @@ -2166,7 +2167,11 @@ SNode* createCreateViewStmt(SAstCreateContext* pCxt, bool orReplace, SNode* pVie CHECK_PARSER_STATUS(pCxt); SCreateViewStmt* pStmt = (SCreateViewStmt*)nodesMakeNode(QUERY_NODE_CREATE_VIEW_STMT); CHECK_OUT_OF_MEM(pStmt); - pStmt->pQuerySql = strdup(pAs->z + pAs->n); + int32_t i = pAs->n; + while (isspace(*(pAs->z + i))) { + ++i; + } + pStmt->pQuerySql = strdup(pAs->z + i); CHECK_OUT_OF_MEM(pStmt->pQuerySql); strcpy(pStmt->dbName, ((SViewNode*)pView)->table.dbName); strcpy(pStmt->viewName, ((SViewNode*)pView)->table.tableName); diff --git a/source/libs/parser/src/parAstParser.c b/source/libs/parser/src/parAstParser.c index 9b38966ed8..2f309dbfc6 100644 --- a/source/libs/parser/src/parAstParser.c +++ b/source/libs/parser/src/parAstParser.c @@ -583,6 +583,18 @@ static int32_t collectMetaKeyFromShowUserPrivileges(SCollectMetaKeyCxt* pCxt, SS pCxt->pMetaCache); } +static int32_t collectMetaKeyFromShowViews(SCollectMetaKeyCxt* pCxt, SShowStmt* pStmt) { + int32_t code = reserveTableMetaInCache(pCxt->pParseCxt->acctId, TSDB_INFORMATION_SCHEMA_DB, TSDB_INS_TABLE_VIEWS, + pCxt->pMetaCache); + if (TSDB_CODE_SUCCESS == code) { + code = + reserveUserAuthInCache(pCxt->pParseCxt->acctId, pCxt->pParseCxt->pUser, ((SValueNode*)pStmt->pDbName)->literal, + NULL, AUTH_TYPE_READ_OR_WRITE, pCxt->pMetaCache); + } + return code; +} + + static int32_t collectMetaKeyFromShowCreateDatabase(SCollectMetaKeyCxt* pCxt, SShowCreateDatabaseStmt* pStmt) { return reserveDbCfgInCache(pCxt->pParseCxt->acctId, pStmt->dbName, pCxt->pMetaCache); } @@ -764,6 +776,8 @@ static int32_t collectMetaKeyFromQuery(SCollectMetaKeyCxt* pCxt, SNode* pStmt) { return collectMetaKeyFromShowVnodes(pCxt, (SShowVnodesStmt*)pStmt); case QUERY_NODE_SHOW_USER_PRIVILEGES_STMT: return collectMetaKeyFromShowUserPrivileges(pCxt, (SShowStmt*)pStmt); + case QUERY_NODE_SHOW_VIEWS_STMT: + return collectMetaKeyFromShowViews(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/parTokenizer.c b/source/libs/parser/src/parTokenizer.c index 9181ecc896..9b70a97b78 100644 --- a/source/libs/parser/src/parTokenizer.c +++ b/source/libs/parser/src/parTokenizer.c @@ -264,6 +264,7 @@ static SKeyword keywordTable[] = { {"VGROUP", TK_VGROUP}, {"VGROUPS", TK_VGROUPS}, {"VIEW", TK_VIEW}, + {"VIEWS", TK_VIEWS}, {"VNODE", TK_VNODE}, {"VNODES", TK_VNODES}, {"WAL_FSYNC_PERIOD", TK_WAL_FSYNC_PERIOD}, diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index 168185b0bd..0fd5b1764b 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -250,6 +250,12 @@ static const SSysTableShowAdapter sysTableShowAdapter[] = { .numOfShowCols = 1, .pShowCols = {"*"} }, + { .showType = QUERY_NODE_SHOW_VIEWS_STMT, + .pDbName = TSDB_INFORMATION_SCHEMA_DB, + .pTableName = TSDB_INS_TABLE_VIEWS, + .numOfShowCols = 1, + .pShowCols = {"*"} + }, }; // clang-format on @@ -343,7 +349,11 @@ static int32_t getTableMetaImpl(STranslateContext* pCxt, const SName* pName, STa code = getTableMetaFromCache(pCxt->pMetaCache, pName, pMeta); #ifdef TD_ENTERPRISE if (TSDB_CODE_SUCCESS != code) { + int32_t origCode = code; code = getViewMetaFromCache(pCxt->pMetaCache, pName, pMeta); + if (TSDB_CODE_SUCCESS != code) { + code = origCode; + } } #endif } else { @@ -9335,6 +9345,7 @@ static int32_t rewriteQuery(STranslateContext* pCxt, SQuery* pQuery) { 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: 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 1bb34ad6e4..9deadcf7dc 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -104,27 +104,27 @@ #endif /************* Begin control #defines *****************************************/ #define YYCODETYPE unsigned short int -#define YYNOCODE 496 +#define YYNOCODE 497 #define YYACTIONTYPE unsigned short int #define ParseTOKENTYPE SToken typedef union { int yyinit; ParseTOKENTYPE yy0; - SNode* yy168; - SDataType yy208; - int64_t yy221; - EOrder yy258; - EFillMode yy262; - int32_t yy324; - SAlterOption yy349; - ENullOrder yy425; - SNodeList* yy440; - EOperatorType yy476; - STokenPair yy601; - EJoinType yy724; - SToken yy737; - int8_t yy919; - bool yy953; + ENullOrder yy67; + EFillMode yy186; + int8_t yy201; + SToken yy351; + SAlterOption yy431; + STokenPair yy497; + EOperatorType yy534; + EJoinType yy582; + SDataType yy616; + bool yy719; + SNodeList* yy740; + SNode* yy840; + int64_t yy921; + int32_t yy942; + EOrder yy960; } YYMINORTYPE; #ifndef YYSTACKDEPTH #define YYSTACKDEPTH 100 @@ -140,18 +140,18 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 821 -#define YYNRULE 616 -#define YYNRULE_WITH_ACTION 616 -#define YYNTOKEN 340 -#define YY_MAX_SHIFT 820 -#define YY_MIN_SHIFTREDUCE 1209 -#define YY_MAX_SHIFTREDUCE 1824 -#define YY_ERROR_ACTION 1825 -#define YY_ACCEPT_ACTION 1826 -#define YY_NO_ACTION 1827 -#define YY_MIN_REDUCE 1828 -#define YY_MAX_REDUCE 2443 +#define YYNSTATE 822 +#define YYNRULE 617 +#define YYNRULE_WITH_ACTION 617 +#define YYNTOKEN 341 +#define YY_MAX_SHIFT 821 +#define YY_MIN_SHIFTREDUCE 1210 +#define YY_MAX_SHIFTREDUCE 1826 +#define YY_ERROR_ACTION 1827 +#define YY_ACCEPT_ACTION 1828 +#define YY_NO_ACTION 1829 +#define YY_MIN_REDUCE 1830 +#define YY_MAX_REDUCE 2446 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -218,856 +218,854 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (2998) +#define YY_ACTTAB_COUNT (2988) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 38, 316, 2227, 2134, 546, 709, 2012, 547, 1871, 173, - /* 10 */ 2001, 1840, 48, 46, 1751, 405, 2003, 92, 2131, 696, - /* 20 */ 412, 1829, 1595, 41, 40, 136, 2231, 47, 45, 44, - /* 30 */ 43, 42, 589, 185, 382, 1677, 1911, 1593, 709, 2012, - /* 40 */ 688, 145, 126, 2007, 104, 125, 124, 123, 122, 121, - /* 50 */ 120, 119, 118, 117, 2118, 41, 40, 1249, 198, 47, - /* 60 */ 45, 44, 43, 42, 1672, 1828, 2233, 1624, 1826, 2005, - /* 70 */ 19, 1274, 1274, 1273, 1273, 126, 719, 1601, 125, 124, - /* 80 */ 123, 122, 121, 120, 119, 118, 117, 2419, 141, 135, - /* 90 */ 134, 133, 132, 131, 130, 129, 128, 127, 1620, 1251, - /* 100 */ 1254, 1255, 817, 1351, 1623, 15, 1275, 1275, 792, 791, - /* 110 */ 790, 789, 424, 1623, 788, 787, 149, 782, 781, 780, - /* 120 */ 779, 778, 777, 776, 161, 772, 771, 770, 423, 422, - /* 130 */ 767, 766, 765, 180, 179, 469, 2113, 708, 708, 1407, - /* 140 */ 188, 1679, 1680, 1353, 427, 690, 191, 2346, 2347, 426, - /* 150 */ 143, 2351, 2052, 1398, 754, 753, 752, 1402, 751, 1404, - /* 160 */ 1405, 750, 747, 3, 1413, 744, 1415, 1416, 741, 738, - /* 170 */ 735, 1652, 1662, 551, 2065, 54, 464, 1678, 1681, 548, - /* 180 */ 676, 378, 207, 2414, 273, 1621, 688, 145, 2227, 2063, - /* 190 */ 1814, 1620, 1596, 651, 1594, 185, 2414, 709, 2012, 1821, - /* 200 */ 675, 193, 2236, 41, 40, 2415, 677, 47, 45, 44, - /* 210 */ 43, 42, 2231, 2420, 193, 380, 2117, 136, 2415, 677, - /* 220 */ 275, 360, 51, 51, 594, 1599, 1600, 97, 1651, 1654, - /* 230 */ 1655, 1656, 1657, 1658, 1659, 1660, 1661, 721, 717, 1670, - /* 240 */ 1671, 1673, 1674, 1675, 1676, 2, 48, 46, 563, 1500, - /* 250 */ 1501, 364, 2233, 1618, 412, 676, 1595, 297, 2414, 2250, - /* 260 */ 500, 446, 719, 516, 2227, 372, 297, 2134, 515, 1677, - /* 270 */ 110, 1593, 726, 226, 1880, 675, 193, 549, 2235, 1878, - /* 280 */ 2415, 677, 2132, 696, 483, 708, 517, 146, 2231, 448, - /* 290 */ 444, 485, 295, 2346, 687, 2004, 137, 686, 1672, 2414, - /* 300 */ 2268, 564, 2127, 1820, 19, 634, 1517, 1518, 1706, 228, - /* 310 */ 666, 1601, 2217, 549, 725, 1878, 675, 193, 9, 421, - /* 320 */ 420, 2415, 677, 12, 1620, 10, 41, 40, 2233, 409, - /* 330 */ 47, 45, 44, 43, 42, 1621, 817, 381, 719, 15, - /* 340 */ 562, 261, 1516, 1519, 1602, 260, 709, 2012, 471, 1362, - /* 350 */ 2249, 30, 2285, 14, 13, 113, 2251, 729, 2253, 2254, - /* 360 */ 724, 711, 719, 2310, 1361, 1707, 56, 2434, 1779, 2338, - /* 370 */ 44, 43, 42, 408, 2334, 1679, 1680, 566, 513, 299, - /* 380 */ 633, 507, 506, 505, 504, 499, 498, 497, 496, 495, - /* 390 */ 491, 490, 489, 488, 363, 480, 479, 478, 820, 473, - /* 400 */ 472, 379, 672, 667, 660, 1652, 1662, 95, 67, 63, - /* 410 */ 367, 1678, 1681, 392, 324, 625, 663, 662, 1777, 1778, - /* 420 */ 1780, 1781, 1782, 713, 1791, 2310, 1596, 2065, 1594, 518, - /* 430 */ 184, 762, 159, 158, 759, 758, 757, 156, 808, 804, - /* 440 */ 800, 796, 695, 321, 37, 410, 1701, 1702, 1703, 1704, - /* 450 */ 1705, 1709, 1710, 1711, 1712, 1257, 1442, 1443, 1720, 1599, - /* 460 */ 1600, 1619, 1651, 1654, 1655, 1656, 1657, 1658, 1659, 1660, - /* 470 */ 1661, 721, 717, 1670, 1671, 1673, 1674, 1675, 1676, 2, - /* 480 */ 12, 48, 46, 111, 671, 2250, 314, 509, 63, 412, - /* 490 */ 2065, 1595, 47, 45, 44, 43, 42, 393, 691, 2353, - /* 500 */ 627, 1605, 626, 244, 1677, 2063, 1593, 41, 40, 63, - /* 510 */ 34, 47, 45, 44, 43, 42, 41, 40, 705, 177, - /* 520 */ 47, 45, 44, 43, 42, 2350, 2268, 583, 579, 575, - /* 530 */ 571, 554, 243, 1672, 547, 1871, 1851, 1740, 2217, 19, - /* 540 */ 725, 1850, 2065, 607, 606, 605, 1601, 217, 216, 458, - /* 550 */ 597, 142, 601, 302, 457, 417, 600, 704, 2058, 2060, - /* 560 */ 301, 599, 604, 388, 387, 172, 299, 598, 475, 2113, - /* 570 */ 508, 817, 93, 1953, 15, 241, 2249, 1620, 2285, 2250, - /* 580 */ 266, 113, 2251, 729, 2253, 2254, 724, 2419, 719, 2217, - /* 590 */ 2414, 2353, 723, 190, 2217, 2338, 709, 2012, 651, 408, - /* 600 */ 2334, 2414, 670, 2059, 2060, 1790, 709, 2012, 2418, 52, - /* 610 */ 1679, 1680, 2415, 2417, 195, 210, 462, 2349, 2420, 193, - /* 620 */ 2268, 415, 2368, 2415, 677, 764, 463, 502, 2113, 167, - /* 630 */ 2268, 170, 2217, 2065, 725, 1849, 394, 2014, 63, 2015, - /* 640 */ 1652, 1662, 240, 233, 2063, 299, 1678, 1681, 2064, 238, - /* 650 */ 560, 41, 40, 1989, 2096, 47, 45, 44, 43, 42, - /* 660 */ 632, 1596, 1914, 1594, 1987, 1848, 299, 1601, 231, 230, - /* 670 */ 2249, 12, 2285, 755, 215, 353, 2251, 729, 2253, 2254, - /* 680 */ 724, 722, 719, 710, 2303, 41, 40, 669, 2217, 47, - /* 690 */ 45, 44, 43, 42, 1599, 1600, 774, 1651, 1654, 1655, - /* 700 */ 1656, 1657, 1658, 1659, 1660, 1661, 721, 717, 1670, 1671, - /* 710 */ 1673, 1674, 1675, 1676, 2, 48, 46, 1682, 2217, 2250, - /* 720 */ 1847, 1755, 2065, 412, 456, 1595, 455, 1620, 1653, 402, - /* 730 */ 709, 2012, 726, 1366, 607, 606, 605, 2063, 1677, 1997, - /* 740 */ 1593, 597, 142, 601, 2065, 189, 623, 600, 1365, 1767, - /* 750 */ 477, 407, 599, 604, 388, 387, 2250, 454, 598, 2063, - /* 760 */ 2268, 621, 1687, 619, 258, 257, 299, 1672, 1620, 691, - /* 770 */ 1277, 1278, 2217, 2217, 725, 716, 688, 145, 41, 40, - /* 780 */ 1601, 1595, 47, 45, 44, 43, 42, 762, 159, 158, - /* 790 */ 759, 758, 757, 156, 2200, 299, 1593, 2268, 762, 159, - /* 800 */ 158, 759, 758, 757, 156, 817, 709, 2012, 49, 2217, - /* 810 */ 2249, 725, 2285, 520, 487, 113, 2251, 729, 2253, 2254, - /* 820 */ 724, 1988, 719, 486, 2250, 148, 492, 154, 2309, 2338, - /* 830 */ 543, 709, 2012, 408, 2334, 75, 1601, 726, 541, 585, - /* 840 */ 584, 537, 533, 2182, 1679, 1680, 2353, 2249, 1846, 2285, - /* 850 */ 169, 493, 113, 2251, 729, 2253, 2254, 724, 612, 719, - /* 860 */ 1845, 817, 307, 308, 190, 2268, 2338, 306, 709, 2012, - /* 870 */ 408, 2334, 2348, 624, 1652, 1662, 595, 2217, 1653, 725, - /* 880 */ 1678, 1681, 192, 2346, 2347, 85, 143, 2351, 565, 259, - /* 890 */ 764, 709, 2012, 2369, 263, 1596, 36, 1594, 322, 635, - /* 900 */ 1349, 2217, 41, 40, 635, 615, 47, 45, 44, 43, - /* 910 */ 42, 2009, 609, 2217, 1999, 2249, 2418, 2285, 256, 1653, - /* 920 */ 174, 2251, 729, 2253, 2254, 724, 650, 719, 1599, 1600, - /* 930 */ 1698, 1651, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, - /* 940 */ 721, 717, 1670, 1671, 1673, 1674, 1675, 1676, 2, 48, - /* 950 */ 46, 1596, 2419, 1594, 2250, 2414, 2210, 412, 71, 1595, - /* 960 */ 212, 70, 652, 2379, 1844, 1624, 2211, 726, 1843, 2376, - /* 970 */ 556, 2173, 1677, 2418, 1593, 637, 2173, 2415, 2416, 709, - /* 980 */ 2012, 1842, 709, 2012, 1599, 1600, 603, 602, 587, 586, - /* 990 */ 1839, 2250, 709, 2012, 1708, 2268, 709, 2012, 596, 264, - /* 1000 */ 87, 1672, 272, 86, 726, 651, 2389, 2217, 2414, 725, - /* 1010 */ 1838, 406, 694, 441, 1601, 651, 311, 2217, 2414, 170, - /* 1020 */ 1748, 2217, 1347, 1837, 1836, 2420, 193, 2014, 709, 2012, - /* 1030 */ 2415, 677, 2268, 1835, 2217, 2420, 193, 1856, 812, 817, - /* 1040 */ 2415, 677, 49, 2217, 2217, 2249, 725, 2285, 706, 61, - /* 1050 */ 113, 2251, 729, 2253, 2254, 724, 648, 719, 630, 415, - /* 1060 */ 1834, 2203, 2434, 2217, 2338, 709, 2012, 170, 408, 2334, - /* 1070 */ 421, 420, 636, 35, 692, 2014, 2217, 2217, 1679, 1680, - /* 1080 */ 1609, 262, 2249, 1713, 2285, 707, 2217, 113, 2251, 729, - /* 1090 */ 2253, 2254, 724, 1677, 719, 1602, 709, 2012, 593, 2434, - /* 1100 */ 1624, 2338, 592, 1833, 2250, 408, 2334, 651, 1652, 1662, - /* 1110 */ 2414, 1832, 434, 2217, 1678, 1681, 317, 726, 208, 658, - /* 1120 */ 683, 651, 1672, 651, 2414, 157, 2414, 2420, 193, 1596, - /* 1130 */ 1995, 1594, 2415, 677, 1831, 1601, 688, 145, 709, 2012, - /* 1140 */ 2016, 2420, 193, 2420, 193, 2268, 2415, 677, 2415, 677, - /* 1150 */ 386, 385, 1566, 1567, 786, 784, 2217, 2217, 419, 725, - /* 1160 */ 715, 2238, 1599, 1600, 2217, 1651, 1654, 1655, 1656, 1657, - /* 1170 */ 1658, 1659, 1660, 1661, 721, 717, 1670, 1671, 1673, 1674, - /* 1180 */ 1675, 1676, 2, 48, 46, 147, 756, 2217, 2309, 2056, - /* 1190 */ 1545, 412, 680, 1595, 96, 2249, 679, 2285, 55, 92, - /* 1200 */ 113, 2251, 729, 2253, 2254, 724, 1677, 719, 1593, 2065, - /* 1210 */ 760, 269, 2434, 2056, 2338, 2106, 416, 2240, 408, 2334, - /* 1220 */ 384, 383, 418, 591, 2063, 2008, 761, 1990, 331, 2056, - /* 1230 */ 170, 2042, 157, 775, 249, 1672, 1974, 247, 2014, 1254, - /* 1240 */ 1255, 1898, 194, 2346, 2347, 593, 143, 2351, 1601, 592, - /* 1250 */ 1610, 50, 1605, 274, 138, 2358, 1740, 467, 251, 253, - /* 1260 */ 150, 250, 252, 608, 1889, 255, 84, 171, 254, 1887, - /* 1270 */ 1604, 157, 338, 817, 1823, 1824, 15, 50, 50, 2250, - /* 1280 */ 1747, 14, 13, 1613, 1615, 733, 610, 279, 157, 335, - /* 1290 */ 74, 613, 726, 73, 2407, 50, 717, 1670, 1671, 1673, - /* 1300 */ 1674, 1675, 1676, 361, 1881, 1561, 768, 1603, 304, 769, - /* 1310 */ 72, 155, 1679, 1680, 224, 528, 526, 523, 157, 109, - /* 1320 */ 2268, 1954, 65, 720, 330, 50, 1841, 1308, 106, 2382, - /* 1330 */ 1327, 292, 2217, 1325, 725, 664, 140, 286, 1952, 1951, - /* 1340 */ 2269, 395, 1652, 1662, 1564, 155, 157, 139, 1678, 1681, - /* 1350 */ 1776, 1775, 155, 2122, 63, 425, 810, 1872, 1420, 2372, - /* 1360 */ 281, 693, 1877, 1596, 2053, 1594, 644, 1309, 1514, 689, - /* 1370 */ 2249, 294, 2285, 291, 684, 113, 2251, 729, 2253, 2254, - /* 1380 */ 724, 309, 719, 701, 313, 298, 5, 2434, 428, 2338, - /* 1390 */ 433, 1392, 112, 408, 2334, 1714, 1599, 1600, 1663, 1651, - /* 1400 */ 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, 721, 717, - /* 1410 */ 1670, 1671, 1673, 1674, 1675, 1676, 2, 1627, 1424, 1431, - /* 1420 */ 1429, 376, 200, 201, 449, 160, 2250, 1607, 450, 452, - /* 1430 */ 203, 325, 1538, 82, 81, 461, 1619, 468, 205, 726, - /* 1440 */ 214, 2357, 470, 1624, 681, 474, 2123, 476, 481, 511, - /* 1450 */ 1618, 494, 453, 451, 501, 2115, 503, 510, 512, 521, - /* 1460 */ 519, 2250, 522, 362, 1606, 219, 442, 2268, 218, 440, - /* 1470 */ 436, 432, 429, 454, 726, 524, 1625, 221, 527, 2217, - /* 1480 */ 525, 725, 529, 544, 4, 552, 545, 1621, 553, 229, - /* 1490 */ 555, 557, 89, 232, 1626, 558, 1628, 559, 561, 1629, - /* 1500 */ 2128, 567, 2268, 235, 237, 2191, 90, 91, 242, 588, - /* 1510 */ 629, 299, 616, 617, 2217, 2250, 725, 2249, 357, 2285, - /* 1520 */ 115, 1622, 113, 2251, 729, 2253, 2254, 724, 726, 719, - /* 1530 */ 94, 590, 2002, 246, 2434, 631, 2338, 1998, 248, 163, - /* 1540 */ 408, 2334, 164, 151, 2000, 326, 1996, 165, 166, 265, - /* 1550 */ 2250, 2174, 2249, 639, 2285, 640, 2268, 113, 2251, 729, - /* 1560 */ 2253, 2254, 724, 726, 719, 2188, 638, 270, 2217, 2313, - /* 1570 */ 725, 2338, 2187, 643, 646, 408, 2334, 655, 665, 2250, - /* 1580 */ 268, 2388, 699, 2373, 2383, 645, 661, 398, 8, 668, - /* 1590 */ 277, 2268, 726, 280, 2360, 2387, 674, 656, 285, 654, - /* 1600 */ 653, 290, 2437, 2217, 293, 725, 2249, 178, 2285, 399, - /* 1610 */ 685, 113, 2251, 729, 2253, 2254, 724, 682, 719, 288, - /* 1620 */ 2268, 2413, 1740, 2311, 144, 2338, 1623, 287, 1745, 408, - /* 1630 */ 2334, 1743, 2217, 2354, 725, 300, 152, 327, 182, 697, - /* 1640 */ 328, 2249, 2250, 2285, 1, 702, 113, 2251, 729, 2253, - /* 1650 */ 2254, 724, 698, 719, 196, 726, 289, 2142, 712, 2141, - /* 1660 */ 2338, 2140, 404, 153, 408, 2334, 703, 329, 62, 103, - /* 1670 */ 2249, 105, 2285, 2013, 731, 114, 2251, 729, 2253, 2254, - /* 1680 */ 724, 2319, 719, 2268, 2057, 332, 1233, 320, 814, 2338, - /* 1690 */ 1975, 811, 816, 2337, 2334, 2217, 162, 725, 334, 341, - /* 1700 */ 356, 355, 53, 368, 345, 2209, 369, 2250, 336, 2208, - /* 1710 */ 2207, 79, 2204, 431, 430, 1586, 1587, 199, 435, 2202, - /* 1720 */ 726, 437, 438, 439, 2201, 377, 2199, 443, 2198, 445, - /* 1730 */ 2197, 1577, 447, 2249, 2178, 2285, 2250, 202, 114, 2251, - /* 1740 */ 729, 2253, 2254, 724, 2177, 719, 204, 1541, 2268, 726, - /* 1750 */ 80, 1540, 2338, 2155, 2154, 2153, 714, 2334, 2250, 460, - /* 1760 */ 2217, 459, 725, 2152, 2151, 1491, 2105, 2102, 465, 466, - /* 1770 */ 206, 726, 2101, 2100, 83, 2099, 2104, 2268, 2103, 2098, - /* 1780 */ 2097, 209, 2095, 2094, 2093, 211, 482, 2092, 484, 2217, - /* 1790 */ 2108, 725, 2091, 2090, 2089, 2088, 2087, 2086, 727, 2268, - /* 1800 */ 2285, 2085, 2084, 114, 2251, 729, 2253, 2254, 724, 2083, - /* 1810 */ 719, 2217, 2082, 725, 2081, 2080, 2079, 2338, 2078, 2077, - /* 1820 */ 213, 371, 2334, 2076, 2075, 2250, 88, 2249, 2074, 2285, - /* 1830 */ 2073, 2107, 175, 2251, 729, 2253, 2254, 724, 726, 719, - /* 1840 */ 2072, 2071, 1493, 2070, 2069, 2068, 514, 2067, 2066, 2249, - /* 1850 */ 365, 2285, 1917, 366, 114, 2251, 729, 2253, 2254, 724, - /* 1860 */ 1363, 719, 220, 1359, 1367, 1916, 2268, 1915, 2338, 222, - /* 1870 */ 1913, 223, 1910, 2335, 530, 1909, 531, 532, 2217, 1902, - /* 1880 */ 725, 536, 1891, 534, 1867, 678, 2435, 535, 538, 186, - /* 1890 */ 542, 1256, 540, 1866, 2250, 2176, 2172, 77, 2162, 225, - /* 1900 */ 539, 227, 2150, 78, 234, 236, 2237, 726, 187, 550, - /* 1910 */ 2149, 2126, 239, 1991, 2250, 1912, 2249, 1908, 2285, 569, - /* 1920 */ 568, 174, 2251, 729, 2253, 2254, 724, 726, 719, 1906, - /* 1930 */ 570, 572, 573, 574, 1904, 2268, 576, 1301, 1901, 578, - /* 1940 */ 396, 577, 580, 581, 1886, 582, 1884, 2217, 1885, 725, - /* 1950 */ 1883, 1863, 1993, 1436, 1435, 2268, 1350, 1348, 1346, 1345, - /* 1960 */ 397, 1992, 1344, 1343, 2380, 1342, 783, 2217, 785, 725, - /* 1970 */ 1899, 1337, 1890, 1339, 1338, 389, 1336, 64, 1888, 390, - /* 1980 */ 245, 391, 614, 611, 1862, 2249, 2250, 2285, 1861, 1860, - /* 1990 */ 354, 2251, 729, 2253, 2254, 724, 1859, 719, 1858, 726, - /* 2000 */ 618, 620, 622, 116, 1571, 2249, 1573, 2285, 2250, 29, - /* 2010 */ 354, 2251, 729, 2253, 2254, 724, 1570, 719, 1575, 2250, - /* 2020 */ 1551, 726, 2175, 68, 267, 2171, 1549, 2268, 1547, 2161, - /* 2030 */ 641, 2148, 726, 2147, 20, 2419, 17, 2250, 21, 2217, - /* 2040 */ 6, 725, 7, 22, 57, 31, 58, 283, 1793, 2268, - /* 2050 */ 723, 642, 276, 23, 33, 271, 659, 657, 1526, 1525, - /* 2060 */ 2268, 2217, 284, 725, 278, 403, 1774, 176, 647, 168, - /* 2070 */ 282, 32, 2217, 2238, 725, 66, 98, 2249, 2268, 2285, - /* 2080 */ 649, 24, 347, 2251, 729, 2253, 2254, 724, 1766, 719, - /* 2090 */ 2217, 1813, 725, 1814, 18, 1808, 1807, 400, 1812, 2249, - /* 2100 */ 2250, 2285, 1811, 401, 175, 2251, 729, 2253, 2254, 724, - /* 2110 */ 2249, 719, 2285, 726, 60, 354, 2251, 729, 2253, 2254, - /* 2120 */ 724, 1737, 719, 1736, 296, 181, 2146, 673, 2249, 2125, - /* 2130 */ 2285, 99, 100, 353, 2251, 729, 2253, 2254, 724, 25, - /* 2140 */ 719, 2268, 2304, 303, 1772, 305, 411, 310, 69, 2250, - /* 2150 */ 700, 2124, 101, 2217, 102, 725, 315, 26, 2436, 106, - /* 2160 */ 59, 11, 726, 13, 1611, 2250, 1689, 312, 1699, 2288, - /* 2170 */ 1688, 183, 197, 732, 1667, 718, 2250, 1665, 726, 39, - /* 2180 */ 1644, 414, 736, 1664, 16, 27, 739, 318, 1636, 726, - /* 2190 */ 2268, 2249, 28, 2285, 1421, 413, 354, 2251, 729, 2253, - /* 2200 */ 2254, 724, 2217, 719, 725, 734, 2268, 730, 728, 1418, - /* 2210 */ 737, 742, 1417, 740, 745, 1414, 743, 2268, 2217, 1408, - /* 2220 */ 725, 746, 748, 1406, 749, 1412, 107, 1430, 1411, 2217, - /* 2230 */ 2250, 725, 108, 76, 1426, 1299, 1331, 763, 1410, 1330, - /* 2240 */ 2249, 1409, 2285, 726, 1329, 354, 2251, 729, 2253, 2254, - /* 2250 */ 724, 1328, 719, 1326, 1324, 1323, 628, 1322, 2285, 1357, - /* 2260 */ 319, 349, 2251, 729, 2253, 2254, 724, 2249, 719, 2285, - /* 2270 */ 773, 2268, 339, 2251, 729, 2253, 2254, 724, 1320, 719, - /* 2280 */ 1319, 1318, 1317, 2217, 2250, 725, 1316, 1315, 1314, 1352, - /* 2290 */ 1354, 1311, 1310, 1307, 1306, 1305, 1304, 726, 1907, 2250, - /* 2300 */ 793, 1905, 797, 795, 794, 1903, 799, 801, 803, 798, - /* 2310 */ 1900, 805, 726, 802, 807, 1882, 809, 1246, 806, 1857, - /* 2320 */ 813, 2249, 1827, 2285, 1234, 2268, 337, 2251, 729, 2253, - /* 2330 */ 2254, 724, 815, 719, 323, 1597, 333, 2217, 2250, 725, - /* 2340 */ 2268, 818, 819, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2350 */ 1827, 726, 2217, 1827, 725, 1827, 1827, 1827, 1827, 1827, - /* 2360 */ 1827, 1827, 1827, 2250, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2370 */ 1827, 1827, 1827, 1827, 1827, 2249, 726, 2285, 1827, 2268, - /* 2380 */ 340, 2251, 729, 2253, 2254, 724, 1827, 719, 1827, 1827, - /* 2390 */ 2249, 2217, 2285, 725, 1827, 346, 2251, 729, 2253, 2254, - /* 2400 */ 724, 1827, 719, 1827, 2268, 1827, 1827, 1827, 1827, 1827, - /* 2410 */ 1827, 1827, 1827, 1827, 1827, 1827, 2217, 1827, 725, 1827, - /* 2420 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2250, 1827, 2249, - /* 2430 */ 1827, 2285, 1827, 1827, 350, 2251, 729, 2253, 2254, 724, - /* 2440 */ 726, 719, 1827, 1827, 2250, 1827, 1827, 1827, 1827, 1827, - /* 2450 */ 1827, 1827, 1827, 1827, 2249, 1827, 2285, 726, 1827, 342, - /* 2460 */ 2251, 729, 2253, 2254, 724, 1827, 719, 1827, 2268, 1827, - /* 2470 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2250, 1827, - /* 2480 */ 2217, 1827, 725, 1827, 1827, 2268, 1827, 1827, 1827, 1827, - /* 2490 */ 1827, 726, 1827, 2250, 1827, 1827, 1827, 2217, 1827, 725, - /* 2500 */ 1827, 1827, 1827, 1827, 1827, 1827, 726, 1827, 1827, 2250, - /* 2510 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2249, 2268, - /* 2520 */ 2285, 1827, 726, 351, 2251, 729, 2253, 2254, 724, 1827, - /* 2530 */ 719, 2217, 1827, 725, 2268, 2249, 1827, 2285, 1827, 1827, - /* 2540 */ 343, 2251, 729, 2253, 2254, 724, 2217, 719, 725, 1827, - /* 2550 */ 2268, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2560 */ 1827, 1827, 2217, 1827, 725, 1827, 1827, 1827, 1827, 2249, - /* 2570 */ 1827, 2285, 1827, 1827, 352, 2251, 729, 2253, 2254, 724, - /* 2580 */ 1827, 719, 1827, 1827, 2249, 1827, 2285, 1827, 1827, 344, - /* 2590 */ 2251, 729, 2253, 2254, 724, 1827, 719, 1827, 1827, 1827, - /* 2600 */ 2249, 1827, 2285, 1827, 1827, 358, 2251, 729, 2253, 2254, - /* 2610 */ 724, 2250, 719, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2620 */ 1827, 1827, 1827, 1827, 726, 1827, 1827, 2250, 1827, 1827, - /* 2630 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2640 */ 726, 1827, 1827, 2250, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2650 */ 1827, 1827, 2268, 1827, 1827, 1827, 726, 1827, 1827, 1827, - /* 2660 */ 1827, 1827, 1827, 1827, 2217, 1827, 725, 1827, 2268, 1827, - /* 2670 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2680 */ 2217, 1827, 725, 1827, 2268, 1827, 1827, 1827, 1827, 1827, - /* 2690 */ 1827, 1827, 1827, 1827, 1827, 1827, 2217, 1827, 725, 1827, - /* 2700 */ 1827, 1827, 2249, 1827, 2285, 1827, 1827, 359, 2251, 729, - /* 2710 */ 2253, 2254, 724, 1827, 719, 1827, 1827, 1827, 2249, 2250, - /* 2720 */ 2285, 1827, 1827, 2262, 2251, 729, 2253, 2254, 724, 1827, - /* 2730 */ 719, 1827, 726, 1827, 2249, 2250, 2285, 1827, 1827, 2261, - /* 2740 */ 2251, 729, 2253, 2254, 724, 1827, 719, 1827, 726, 1827, - /* 2750 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2760 */ 2268, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2770 */ 1827, 1827, 2217, 1827, 725, 1827, 2268, 1827, 1827, 1827, - /* 2780 */ 1827, 1827, 1827, 1827, 2250, 1827, 1827, 1827, 2217, 1827, - /* 2790 */ 725, 1827, 1827, 1827, 1827, 1827, 1827, 726, 1827, 1827, - /* 2800 */ 2250, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2810 */ 2249, 1827, 2285, 726, 1827, 2260, 2251, 729, 2253, 2254, - /* 2820 */ 724, 1827, 719, 1827, 1827, 2268, 2249, 1827, 2285, 1827, - /* 2830 */ 1827, 373, 2251, 729, 2253, 2254, 724, 2217, 719, 725, - /* 2840 */ 1827, 2268, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2850 */ 1827, 1827, 1827, 2217, 1827, 725, 1827, 1827, 1827, 1827, - /* 2860 */ 1827, 1827, 1827, 2250, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2870 */ 1827, 1827, 1827, 1827, 1827, 2249, 726, 2285, 1827, 2250, - /* 2880 */ 374, 2251, 729, 2253, 2254, 724, 1827, 719, 1827, 1827, - /* 2890 */ 1827, 2249, 726, 2285, 2250, 1827, 370, 2251, 729, 2253, - /* 2900 */ 2254, 724, 1827, 719, 2268, 1827, 1827, 726, 1827, 1827, - /* 2910 */ 1827, 1827, 1827, 1827, 1827, 1827, 2217, 1827, 725, 1827, - /* 2920 */ 2268, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, - /* 2930 */ 1827, 1827, 2217, 1827, 725, 2268, 1827, 1827, 1827, 1827, - /* 2940 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2217, 1827, 725, - /* 2950 */ 1827, 1827, 1827, 1827, 2249, 1827, 2285, 1827, 1827, 375, - /* 2960 */ 2251, 729, 2253, 2254, 724, 1827, 719, 1827, 1827, 1827, - /* 2970 */ 727, 1827, 2285, 1827, 1827, 349, 2251, 729, 2253, 2254, - /* 2980 */ 724, 1827, 719, 1827, 1827, 2249, 1827, 2285, 1827, 1827, - /* 2990 */ 348, 2251, 729, 2253, 2254, 724, 1827, 719, + /* 0 */ 2003, 547, 2230, 2137, 548, 1873, 555, 469, 2116, 548, + /* 10 */ 1873, 2098, 48, 46, 1753, 405, 2005, 415, 2134, 697, + /* 20 */ 412, 1831, 1597, 41, 40, 167, 2234, 47, 45, 44, + /* 30 */ 43, 42, 394, 2016, 1990, 1679, 1913, 1595, 710, 2014, + /* 40 */ 2065, 322, 126, 38, 316, 125, 124, 123, 122, 121, + /* 50 */ 120, 119, 118, 117, 207, 41, 40, 1250, 198, 47, + /* 60 */ 45, 44, 43, 42, 1674, 1830, 2236, 1626, 1622, 1828, + /* 70 */ 19, 1622, 2061, 2062, 2230, 126, 720, 1603, 125, 124, + /* 80 */ 123, 122, 121, 120, 119, 118, 117, 92, 2239, 135, + /* 90 */ 134, 133, 132, 131, 130, 129, 128, 127, 2234, 1252, + /* 100 */ 1255, 1256, 818, 765, 382, 15, 709, 709, 793, 792, + /* 110 */ 791, 790, 424, 2009, 789, 788, 149, 783, 782, 781, + /* 120 */ 780, 779, 778, 777, 161, 773, 772, 771, 423, 422, + /* 130 */ 768, 767, 766, 180, 179, 544, 2137, 1622, 2236, 1408, + /* 140 */ 109, 1681, 1682, 542, 63, 427, 538, 534, 720, 106, + /* 150 */ 426, 2135, 697, 1399, 755, 754, 753, 1403, 752, 1405, + /* 160 */ 1406, 751, 748, 2356, 1414, 745, 1416, 1417, 742, 739, + /* 170 */ 736, 487, 1654, 1664, 67, 2067, 710, 2014, 1680, 1683, + /* 180 */ 486, 677, 378, 52, 2417, 1623, 9, 689, 145, 2353, + /* 190 */ 2065, 51, 51, 1598, 652, 1596, 136, 2417, 710, 2014, + /* 200 */ 1823, 676, 193, 590, 41, 40, 2418, 678, 47, 45, + /* 210 */ 44, 43, 42, 417, 2423, 193, 2060, 2062, 136, 2418, + /* 220 */ 678, 275, 63, 1502, 1503, 595, 1601, 1602, 75, 1653, + /* 230 */ 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 722, 718, + /* 240 */ 1672, 1673, 1675, 1676, 1677, 1678, 2, 48, 46, 421, + /* 250 */ 420, 1275, 364, 1274, 1620, 412, 677, 1597, 464, 2417, + /* 260 */ 2253, 500, 1883, 185, 517, 2230, 372, 594, 141, 516, + /* 270 */ 1679, 593, 1595, 727, 1604, 63, 676, 193, 85, 2238, + /* 280 */ 406, 2418, 678, 380, 2120, 483, 1276, 518, 170, 2234, + /* 290 */ 1623, 110, 485, 295, 2349, 688, 2016, 137, 687, 1674, + /* 300 */ 2417, 2271, 299, 357, 1822, 19, 1519, 1520, 146, 1708, + /* 310 */ 689, 145, 1603, 2220, 811, 726, 2006, 676, 193, 2422, + /* 320 */ 671, 2422, 2418, 678, 2417, 710, 2014, 41, 40, 2236, + /* 330 */ 409, 47, 45, 44, 43, 42, 1625, 818, 381, 720, + /* 340 */ 15, 299, 2421, 1518, 1521, 56, 2418, 2420, 2271, 471, + /* 350 */ 299, 2252, 30, 2288, 172, 1625, 113, 2254, 730, 2256, + /* 360 */ 2257, 725, 1955, 720, 709, 667, 148, 1709, 154, 2312, + /* 370 */ 2341, 651, 475, 2116, 408, 2337, 1681, 1682, 2422, 514, + /* 380 */ 299, 2417, 507, 506, 505, 504, 499, 498, 497, 496, + /* 390 */ 495, 491, 490, 489, 488, 363, 480, 479, 478, 2421, + /* 400 */ 473, 472, 379, 2418, 2419, 670, 1742, 1654, 1664, 1363, + /* 410 */ 1853, 1443, 1444, 1680, 1683, 691, 191, 2349, 2350, 210, + /* 420 */ 143, 2354, 1816, 226, 1362, 1793, 635, 550, 1598, 1880, + /* 430 */ 1596, 1916, 1607, 299, 41, 40, 563, 552, 47, 45, + /* 440 */ 44, 43, 42, 549, 567, 2213, 37, 410, 1703, 1704, + /* 450 */ 1705, 1706, 1707, 1711, 1712, 1713, 1714, 673, 668, 661, + /* 460 */ 104, 1601, 1602, 2220, 1653, 1656, 1657, 1658, 1659, 1660, + /* 470 */ 1661, 1662, 1663, 722, 718, 1672, 1673, 1675, 1676, 1677, + /* 480 */ 1678, 2, 12, 48, 46, 2007, 1852, 2253, 636, 519, + /* 490 */ 297, 412, 228, 1597, 652, 61, 550, 2417, 1880, 1275, + /* 500 */ 692, 1274, 649, 608, 607, 606, 1679, 1757, 1595, 297, + /* 510 */ 598, 142, 602, 1622, 2423, 193, 601, 710, 2014, 2418, + /* 520 */ 678, 600, 605, 388, 387, 502, 2116, 599, 2271, 710, + /* 530 */ 2014, 1352, 1792, 1626, 1276, 1674, 1851, 462, 2253, 2220, + /* 540 */ 2220, 19, 726, 510, 1258, 608, 607, 606, 1603, 463, + /* 550 */ 1621, 692, 598, 142, 602, 710, 2014, 1850, 601, 557, + /* 560 */ 2176, 689, 145, 600, 605, 388, 387, 2067, 2356, 599, + /* 570 */ 446, 1354, 215, 818, 393, 477, 15, 1849, 2252, 2271, + /* 580 */ 2288, 672, 2065, 113, 2254, 730, 2256, 2257, 725, 2220, + /* 590 */ 720, 2220, 2253, 726, 2352, 190, 1597, 2341, 448, 444, + /* 600 */ 2067, 408, 2337, 217, 216, 727, 1781, 402, 710, 2014, + /* 610 */ 2220, 1595, 1681, 1682, 1991, 2065, 195, 763, 159, 158, + /* 620 */ 760, 759, 758, 156, 2371, 2067, 509, 508, 492, 2252, + /* 630 */ 2220, 2288, 407, 2271, 113, 2254, 730, 2256, 2257, 725, + /* 640 */ 2065, 720, 765, 1654, 1664, 2220, 190, 726, 2341, 1680, + /* 650 */ 1683, 1603, 408, 2337, 664, 663, 1779, 1780, 1782, 1783, + /* 660 */ 1784, 636, 710, 2014, 1598, 1655, 1596, 192, 2349, 2350, + /* 670 */ 564, 143, 2354, 41, 40, 2372, 818, 47, 45, 44, + /* 680 */ 43, 42, 493, 2252, 1848, 2288, 63, 208, 174, 2254, + /* 690 */ 730, 2256, 2257, 725, 173, 720, 1842, 1601, 1602, 212, + /* 700 */ 1653, 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 722, + /* 710 */ 718, 1672, 1673, 1675, 1676, 1677, 1678, 2, 48, 46, + /* 720 */ 1684, 2253, 1606, 565, 2130, 12, 412, 10, 1597, 2214, + /* 730 */ 653, 2382, 638, 2176, 727, 1847, 1882, 2220, 2203, 87, + /* 740 */ 624, 1679, 86, 1595, 710, 2014, 710, 2014, 763, 159, + /* 750 */ 158, 760, 759, 758, 156, 622, 1846, 620, 258, 257, + /* 760 */ 710, 2014, 2271, 1845, 566, 757, 2011, 1598, 2058, 1596, + /* 770 */ 1674, 1769, 1844, 456, 2220, 455, 726, 1841, 652, 34, + /* 780 */ 264, 2417, 633, 1603, 1840, 41, 40, 2067, 2220, 47, + /* 790 */ 45, 44, 43, 42, 416, 710, 2014, 2253, 2423, 193, + /* 800 */ 1601, 1602, 2065, 2418, 678, 712, 454, 2313, 818, 2220, + /* 810 */ 727, 49, 2252, 2253, 2288, 272, 2220, 113, 2254, 730, + /* 820 */ 2256, 2257, 725, 1547, 720, 2220, 727, 96, 2379, 2437, + /* 830 */ 2220, 2341, 185, 244, 1626, 408, 2337, 2220, 2271, 1839, + /* 840 */ 1367, 710, 2014, 396, 299, 710, 2014, 1681, 1682, 177, + /* 850 */ 2220, 1750, 726, 2121, 2271, 1366, 2356, 584, 580, 576, + /* 860 */ 572, 695, 243, 36, 1838, 311, 2220, 12, 726, 41, + /* 870 */ 40, 710, 2014, 47, 45, 44, 43, 42, 1654, 1664, + /* 880 */ 1609, 1689, 2351, 262, 1680, 1683, 1989, 1622, 2252, 1603, + /* 890 */ 2288, 707, 2220, 354, 2254, 730, 2256, 2257, 725, 1598, + /* 900 */ 720, 1596, 93, 188, 2252, 241, 2288, 1837, 756, 113, + /* 910 */ 2254, 730, 2256, 2257, 725, 2054, 720, 2220, 415, 775, + /* 920 */ 521, 2437, 1836, 2341, 1835, 1622, 170, 408, 2337, 44, + /* 930 */ 43, 42, 1601, 1602, 2016, 1653, 1656, 1657, 1658, 1659, + /* 940 */ 1660, 1661, 1662, 1663, 722, 718, 1672, 1673, 1675, 1676, + /* 950 */ 1677, 1678, 2, 48, 46, 1568, 1569, 2253, 441, 458, + /* 960 */ 2220, 412, 1710, 1597, 457, 47, 45, 44, 43, 42, + /* 970 */ 727, 418, 2392, 240, 233, 2220, 1679, 2220, 1595, 170, + /* 980 */ 238, 561, 2067, 710, 2014, 41, 40, 2016, 274, 47, + /* 990 */ 45, 44, 43, 42, 2253, 710, 2014, 696, 2271, 231, + /* 1000 */ 230, 307, 308, 708, 2421, 1674, 306, 727, 652, 659, + /* 1010 */ 2220, 2417, 726, 14, 13, 317, 710, 2014, 1603, 2185, + /* 1020 */ 763, 159, 158, 760, 759, 758, 156, 1834, 2423, 193, + /* 1030 */ 714, 1833, 2313, 2418, 678, 2271, 419, 1278, 1279, 1655, + /* 1040 */ 92, 35, 1999, 818, 604, 603, 49, 2220, 2252, 726, + /* 1050 */ 2288, 1715, 681, 113, 2254, 730, 2256, 2257, 725, 2001, + /* 1060 */ 720, 2067, 2253, 586, 585, 2437, 2010, 2341, 588, 587, + /* 1070 */ 263, 408, 2337, 787, 785, 727, 705, 1655, 147, 1997, + /* 1080 */ 2220, 2312, 1681, 1682, 2220, 2252, 2067, 2288, 3, 634, + /* 1090 */ 113, 2254, 730, 2256, 2257, 725, 776, 720, 170, 1976, + /* 1100 */ 54, 2066, 2437, 2271, 2341, 2206, 2017, 821, 408, 2337, + /* 1110 */ 1858, 813, 1749, 1654, 1664, 2220, 2018, 726, 1722, 1680, + /* 1120 */ 1683, 761, 762, 324, 2058, 2058, 157, 331, 1255, 1256, + /* 1130 */ 2044, 2361, 1742, 138, 1598, 684, 1596, 386, 385, 184, + /* 1140 */ 249, 251, 596, 247, 250, 84, 717, 809, 805, 801, + /* 1150 */ 797, 169, 321, 2252, 631, 2288, 434, 1992, 174, 2254, + /* 1160 */ 730, 2256, 2257, 725, 157, 720, 1350, 1601, 1602, 637, + /* 1170 */ 1653, 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 722, + /* 1180 */ 718, 1672, 1673, 1675, 1676, 1677, 1678, 2, 48, 46, + /* 1190 */ 150, 253, 111, 2108, 252, 314, 412, 1900, 1597, 55, + /* 1200 */ 613, 2383, 597, 652, 689, 145, 2417, 384, 383, 255, + /* 1210 */ 592, 1679, 254, 1595, 628, 625, 627, 2241, 652, 609, + /* 1220 */ 1891, 2417, 273, 2423, 193, 269, 1348, 706, 2418, 678, + /* 1230 */ 1889, 259, 594, 2253, 157, 467, 593, 1563, 2423, 193, + /* 1240 */ 1674, 721, 611, 2418, 678, 189, 727, 616, 1825, 1826, + /* 1250 */ 50, 1956, 614, 1603, 610, 50, 14, 13, 769, 1843, + /* 1260 */ 256, 1309, 279, 302, 2385, 97, 292, 665, 1605, 157, + /* 1270 */ 301, 261, 171, 2243, 2271, 260, 140, 338, 818, 397, + /* 1280 */ 50, 15, 1328, 304, 2253, 680, 2220, 286, 726, 72, + /* 1290 */ 266, 693, 770, 1954, 335, 74, 1953, 727, 73, 2410, + /* 1300 */ 71, 1310, 1700, 70, 2272, 682, 155, 1566, 361, 395, + /* 1310 */ 194, 2349, 2350, 157, 143, 2354, 1326, 1681, 1682, 224, + /* 1320 */ 529, 527, 524, 1778, 2252, 2271, 2288, 425, 1777, 354, + /* 1330 */ 2254, 730, 2256, 2257, 725, 281, 720, 2220, 95, 726, + /* 1340 */ 652, 367, 694, 2417, 392, 2125, 626, 1874, 1654, 1664, + /* 1350 */ 1879, 65, 50, 1516, 1680, 1683, 309, 2055, 50, 63, + /* 1360 */ 2423, 193, 702, 734, 155, 2418, 678, 645, 690, 1598, + /* 1370 */ 2375, 1596, 294, 157, 139, 2252, 155, 2288, 291, 313, + /* 1380 */ 113, 2254, 730, 2256, 2257, 725, 1393, 720, 298, 5, + /* 1390 */ 685, 428, 2437, 433, 2341, 376, 1629, 112, 408, 2337, + /* 1400 */ 450, 449, 1601, 1602, 200, 1653, 1656, 1657, 1658, 1659, + /* 1410 */ 1660, 1661, 1662, 1663, 722, 718, 1672, 1673, 1675, 1676, + /* 1420 */ 1677, 1678, 2, 201, 1716, 1665, 1608, 452, 421, 420, + /* 1430 */ 2253, 330, 203, 1540, 325, 1621, 1421, 1425, 1611, 82, + /* 1440 */ 81, 461, 468, 727, 205, 2360, 1432, 1430, 214, 160, + /* 1450 */ 470, 1679, 1626, 1604, 2126, 476, 474, 512, 453, 451, + /* 1460 */ 2253, 481, 1620, 501, 494, 2118, 503, 511, 513, 362, + /* 1470 */ 522, 2271, 442, 727, 520, 440, 436, 432, 429, 454, + /* 1480 */ 1674, 2253, 523, 2220, 219, 726, 218, 525, 526, 221, + /* 1490 */ 528, 1627, 530, 1603, 727, 545, 4, 546, 553, 556, + /* 1500 */ 554, 2271, 41, 40, 229, 89, 47, 45, 44, 43, + /* 1510 */ 42, 1623, 1628, 2220, 558, 726, 232, 299, 716, 559, + /* 1520 */ 1630, 2252, 2271, 2288, 235, 562, 113, 2254, 730, 2256, + /* 1530 */ 2257, 725, 1631, 720, 2220, 237, 726, 2131, 2437, 560, + /* 1540 */ 2341, 568, 90, 91, 408, 2337, 242, 589, 591, 2004, + /* 1550 */ 246, 2252, 617, 2288, 2000, 115, 347, 2254, 730, 2256, + /* 1560 */ 2257, 725, 618, 720, 248, 163, 630, 164, 2002, 1998, + /* 1570 */ 358, 165, 2252, 166, 2288, 632, 151, 113, 2254, 730, + /* 1580 */ 2256, 2257, 725, 94, 720, 2253, 265, 2194, 2191, 2316, + /* 1590 */ 1624, 2341, 2190, 640, 2177, 408, 2337, 639, 727, 641, + /* 1600 */ 326, 674, 644, 270, 647, 656, 666, 2391, 700, 1612, + /* 1610 */ 662, 1607, 268, 2376, 2386, 2390, 277, 675, 646, 8, + /* 1620 */ 285, 280, 2253, 398, 669, 654, 2271, 178, 2363, 657, + /* 1630 */ 287, 655, 290, 683, 289, 727, 1742, 288, 2220, 2440, + /* 1640 */ 726, 399, 1615, 1617, 686, 2416, 144, 1625, 1747, 2357, + /* 1650 */ 1745, 182, 703, 2253, 300, 718, 1672, 1673, 1675, 1676, + /* 1660 */ 1677, 1678, 152, 2271, 293, 327, 727, 698, 699, 2145, + /* 1670 */ 328, 2144, 2143, 404, 1, 2220, 2252, 726, 2288, 153, + /* 1680 */ 103, 113, 2254, 730, 2256, 2257, 725, 329, 720, 196, + /* 1690 */ 704, 2015, 62, 2314, 2271, 2341, 2322, 105, 2059, 408, + /* 1700 */ 2337, 732, 1977, 332, 2253, 1234, 2220, 320, 726, 815, + /* 1710 */ 812, 162, 336, 2252, 817, 2288, 53, 727, 113, 2254, + /* 1720 */ 730, 2256, 2257, 725, 356, 720, 368, 369, 334, 2253, + /* 1730 */ 713, 341, 2341, 355, 345, 2212, 408, 2337, 2211, 2210, + /* 1740 */ 2207, 79, 727, 430, 2252, 2271, 2288, 1588, 431, 114, + /* 1750 */ 2254, 730, 2256, 2257, 725, 1589, 720, 2220, 2253, 726, + /* 1760 */ 199, 435, 2205, 2341, 437, 438, 439, 2340, 2337, 2204, + /* 1770 */ 2271, 724, 377, 2202, 443, 2201, 445, 2200, 447, 1579, + /* 1780 */ 2181, 202, 2220, 2253, 726, 2180, 204, 2158, 80, 1543, + /* 1790 */ 1542, 2157, 2156, 459, 460, 2252, 727, 2288, 2155, 2271, + /* 1800 */ 114, 2254, 730, 2256, 2257, 725, 2154, 720, 1493, 2107, + /* 1810 */ 2104, 2220, 466, 726, 2341, 465, 206, 2103, 715, 2337, + /* 1820 */ 728, 83, 2288, 2102, 2271, 114, 2254, 730, 2256, 2257, + /* 1830 */ 725, 2101, 720, 2106, 2105, 209, 2220, 2100, 726, 2341, + /* 1840 */ 2099, 2097, 2096, 371, 2337, 2095, 211, 2094, 482, 2252, + /* 1850 */ 484, 2288, 2110, 2093, 353, 2254, 730, 2256, 2257, 725, + /* 1860 */ 723, 720, 711, 2306, 2092, 2091, 2090, 2089, 2088, 2087, + /* 1870 */ 2086, 2085, 2253, 2084, 2252, 2083, 2288, 2082, 2081, 175, + /* 1880 */ 2254, 730, 2256, 2257, 725, 727, 720, 2080, 2079, 2078, + /* 1890 */ 2077, 88, 213, 2076, 2075, 2111, 2109, 2074, 2253, 2073, + /* 1900 */ 2072, 1495, 2071, 2070, 2069, 2068, 1364, 515, 365, 366, + /* 1910 */ 1919, 727, 220, 2271, 1368, 1918, 1917, 1360, 222, 223, + /* 1920 */ 1915, 1912, 531, 532, 533, 2220, 1911, 726, 535, 1904, + /* 1930 */ 1893, 1869, 679, 2438, 536, 1868, 1257, 540, 539, 2271, + /* 1940 */ 537, 2179, 2175, 2165, 543, 186, 2153, 2152, 541, 236, + /* 1950 */ 77, 2220, 1302, 726, 225, 2129, 1993, 227, 1914, 1910, + /* 1960 */ 2240, 78, 187, 2252, 1908, 2288, 551, 2253, 114, 2254, + /* 1970 */ 730, 2256, 2257, 725, 234, 720, 239, 569, 571, 570, + /* 1980 */ 727, 573, 2341, 1906, 1903, 574, 577, 2338, 578, 2252, + /* 1990 */ 575, 2288, 579, 583, 175, 2254, 730, 2256, 2257, 725, + /* 2000 */ 581, 720, 2253, 1437, 582, 1888, 1886, 1887, 2271, 1885, + /* 2010 */ 1865, 1995, 1436, 403, 1994, 724, 1351, 1349, 1347, 1346, + /* 2020 */ 2220, 1338, 726, 1345, 1344, 1343, 784, 786, 2253, 1340, + /* 2030 */ 1901, 64, 1339, 1337, 245, 389, 1892, 390, 612, 2253, + /* 2040 */ 1890, 727, 391, 2271, 1864, 615, 1863, 1862, 2439, 619, + /* 2050 */ 1861, 1860, 727, 621, 623, 2220, 1573, 726, 2252, 116, + /* 2060 */ 2288, 1575, 1572, 354, 2254, 730, 2256, 2257, 725, 2271, + /* 2070 */ 720, 1577, 29, 2178, 411, 68, 1553, 267, 2174, 1549, + /* 2080 */ 2271, 2220, 1551, 726, 2164, 413, 642, 2151, 2150, 2422, + /* 2090 */ 20, 6, 2220, 2252, 726, 2288, 17, 1795, 353, 2254, + /* 2100 */ 730, 2256, 2257, 725, 2253, 720, 31, 2307, 7, 276, + /* 2110 */ 21, 284, 57, 58, 22, 283, 2241, 727, 660, 2252, + /* 2120 */ 168, 2288, 33, 176, 354, 2254, 730, 2256, 2257, 725, + /* 2130 */ 2252, 720, 2288, 271, 643, 354, 2254, 730, 2256, 2257, + /* 2140 */ 725, 2253, 720, 1528, 278, 2271, 1527, 66, 658, 1776, + /* 2150 */ 24, 648, 1810, 650, 727, 1768, 1809, 2220, 2253, 726, + /* 2160 */ 282, 32, 400, 1814, 98, 1813, 401, 1815, 60, 1816, + /* 2170 */ 296, 727, 1739, 2253, 1738, 2149, 181, 2128, 100, 99, + /* 2180 */ 25, 305, 2271, 2127, 101, 303, 727, 315, 26, 1774, + /* 2190 */ 310, 13, 1613, 23, 2220, 629, 726, 2288, 701, 2271, + /* 2200 */ 349, 2254, 730, 2256, 2257, 725, 59, 720, 69, 312, + /* 2210 */ 102, 2220, 106, 726, 2271, 1691, 1690, 1669, 183, 2291, + /* 2220 */ 197, 719, 18, 11, 1701, 39, 2220, 16, 726, 1667, + /* 2230 */ 1666, 1646, 2252, 731, 2288, 27, 28, 339, 2254, 730, + /* 2240 */ 2256, 2257, 725, 1638, 720, 1422, 735, 733, 414, 2252, + /* 2250 */ 729, 2288, 737, 1419, 337, 2254, 730, 2256, 2257, 725, + /* 2260 */ 1418, 720, 738, 740, 2252, 741, 2288, 1415, 743, 340, + /* 2270 */ 2254, 730, 2256, 2257, 725, 746, 720, 2253, 744, 749, + /* 2280 */ 1409, 747, 1413, 318, 1407, 750, 107, 108, 1412, 1411, + /* 2290 */ 727, 1410, 1431, 76, 1427, 1300, 2253, 764, 1332, 1331, + /* 2300 */ 1330, 1329, 1327, 1325, 774, 1324, 1323, 1358, 319, 727, + /* 2310 */ 1321, 1320, 2253, 1319, 1318, 1306, 1317, 1316, 2271, 1315, + /* 2320 */ 1355, 1353, 1312, 1311, 1308, 727, 1307, 1305, 1909, 1907, + /* 2330 */ 2220, 794, 726, 796, 795, 798, 1905, 2271, 800, 799, + /* 2340 */ 802, 804, 1902, 806, 808, 1884, 803, 2253, 807, 2220, + /* 2350 */ 810, 726, 1247, 2271, 1859, 1235, 814, 323, 816, 819, + /* 2360 */ 727, 1599, 333, 820, 1829, 2220, 1829, 726, 2252, 1829, + /* 2370 */ 2288, 1829, 1829, 346, 2254, 730, 2256, 2257, 725, 1829, + /* 2380 */ 720, 1829, 1829, 1829, 1829, 1829, 1829, 2252, 2271, 2288, + /* 2390 */ 1829, 1829, 350, 2254, 730, 2256, 2257, 725, 1829, 720, + /* 2400 */ 2220, 1829, 726, 2252, 1829, 2288, 1829, 1829, 342, 2254, + /* 2410 */ 730, 2256, 2257, 725, 2253, 720, 1829, 1829, 1829, 1829, + /* 2420 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 727, 1829, 1829, + /* 2430 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 2252, 2253, + /* 2440 */ 2288, 1829, 1829, 351, 2254, 730, 2256, 2257, 725, 1829, + /* 2450 */ 720, 1829, 727, 1829, 1829, 2271, 1829, 1829, 1829, 1829, + /* 2460 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 2220, 1829, 726, + /* 2470 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2480 */ 2271, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2490 */ 2253, 1829, 2220, 1829, 726, 1829, 1829, 1829, 1829, 1829, + /* 2500 */ 1829, 1829, 1829, 727, 1829, 2252, 1829, 2288, 1829, 1829, + /* 2510 */ 343, 2254, 730, 2256, 2257, 725, 2253, 720, 1829, 1829, + /* 2520 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 727, + /* 2530 */ 2252, 2271, 2288, 1829, 1829, 352, 2254, 730, 2256, 2257, + /* 2540 */ 725, 2253, 720, 2220, 1829, 726, 1829, 1829, 1829, 1829, + /* 2550 */ 1829, 1829, 1829, 1829, 727, 1829, 1829, 2271, 1829, 1829, + /* 2560 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 2220, + /* 2570 */ 1829, 726, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2580 */ 1829, 2252, 2271, 2288, 1829, 1829, 344, 2254, 730, 2256, + /* 2590 */ 2257, 725, 1829, 720, 2220, 1829, 726, 1829, 1829, 1829, + /* 2600 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 2252, 1829, 2288, + /* 2610 */ 1829, 2253, 359, 2254, 730, 2256, 2257, 725, 1829, 720, + /* 2620 */ 1829, 1829, 2253, 1829, 727, 1829, 1829, 1829, 1829, 1829, + /* 2630 */ 1829, 1829, 2252, 1829, 2288, 727, 1829, 360, 2254, 730, + /* 2640 */ 2256, 2257, 725, 1829, 720, 1829, 1829, 1829, 1829, 1829, + /* 2650 */ 1829, 1829, 2271, 1829, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2660 */ 1829, 1829, 1829, 2271, 2220, 1829, 726, 1829, 1829, 1829, + /* 2670 */ 1829, 1829, 1829, 1829, 1829, 2220, 1829, 726, 1829, 1829, + /* 2680 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2690 */ 1829, 1829, 2253, 1829, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2700 */ 1829, 1829, 2252, 1829, 2288, 727, 1829, 2265, 2254, 730, + /* 2710 */ 2256, 2257, 725, 2252, 720, 2288, 1829, 1829, 2264, 2254, + /* 2720 */ 730, 2256, 2257, 725, 1829, 720, 1829, 1829, 1829, 1829, + /* 2730 */ 1829, 1829, 1829, 2271, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2740 */ 1829, 2253, 1829, 1829, 1829, 2220, 1829, 726, 1829, 1829, + /* 2750 */ 1829, 1829, 1829, 1829, 727, 1829, 2253, 1829, 1829, 1829, + /* 2760 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 727, + /* 2770 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2780 */ 1829, 1829, 2271, 2252, 1829, 2288, 1829, 1829, 2263, 2254, + /* 2790 */ 730, 2256, 2257, 725, 2220, 720, 726, 2271, 1829, 1829, + /* 2800 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 2220, + /* 2810 */ 1829, 726, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2820 */ 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2830 */ 1829, 1829, 2252, 1829, 2288, 2253, 1829, 373, 2254, 730, + /* 2840 */ 2256, 2257, 725, 1829, 720, 1829, 1829, 2252, 727, 2288, + /* 2850 */ 2253, 1829, 374, 2254, 730, 2256, 2257, 725, 1829, 720, + /* 2860 */ 1829, 2253, 1829, 727, 1829, 1829, 1829, 1829, 1829, 1829, + /* 2870 */ 1829, 1829, 1829, 1829, 727, 1829, 2271, 1829, 1829, 1829, + /* 2880 */ 1829, 1829, 1829, 1829, 2253, 1829, 1829, 1829, 2220, 1829, + /* 2890 */ 726, 2271, 1829, 1829, 1829, 1829, 1829, 727, 1829, 1829, + /* 2900 */ 1829, 1829, 2271, 2220, 1829, 726, 1829, 1829, 1829, 1829, + /* 2910 */ 1829, 1829, 1829, 1829, 2220, 1829, 726, 1829, 1829, 1829, + /* 2920 */ 1829, 1829, 1829, 1829, 1829, 2271, 2252, 1829, 2288, 1829, + /* 2930 */ 1829, 370, 2254, 730, 2256, 2257, 725, 2220, 720, 726, + /* 2940 */ 1829, 2252, 1829, 2288, 1829, 1829, 375, 2254, 730, 2256, + /* 2950 */ 2257, 725, 728, 720, 2288, 1829, 1829, 349, 2254, 730, + /* 2960 */ 2256, 2257, 725, 1829, 720, 1829, 1829, 1829, 1829, 1829, + /* 2970 */ 1829, 1829, 1829, 1829, 1829, 2252, 1829, 2288, 1829, 1829, + /* 2980 */ 348, 2254, 730, 2256, 2257, 725, 1829, 720, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 454, 455, 372, 398, 350, 355, 356, 353, 354, 342, - /* 10 */ 385, 344, 12, 13, 14, 410, 386, 364, 413, 414, - /* 20 */ 20, 0, 22, 8, 9, 375, 396, 12, 13, 14, - /* 30 */ 15, 16, 382, 384, 381, 35, 0, 37, 355, 356, - /* 40 */ 355, 356, 21, 390, 362, 24, 25, 26, 27, 28, - /* 50 */ 29, 30, 31, 32, 405, 8, 9, 4, 375, 12, - /* 60 */ 13, 14, 15, 16, 64, 0, 436, 20, 340, 387, - /* 70 */ 70, 20, 20, 22, 22, 21, 446, 77, 24, 25, - /* 80 */ 26, 27, 28, 29, 30, 31, 32, 3, 37, 24, - /* 90 */ 25, 26, 27, 28, 29, 30, 31, 32, 20, 46, - /* 100 */ 47, 48, 102, 37, 20, 105, 55, 55, 72, 73, - /* 110 */ 74, 75, 76, 20, 78, 79, 80, 81, 82, 83, + /* 0 */ 386, 351, 373, 399, 354, 355, 351, 356, 357, 354, + /* 10 */ 355, 0, 12, 13, 14, 411, 387, 377, 414, 415, + /* 20 */ 20, 0, 22, 8, 9, 385, 397, 12, 13, 14, + /* 30 */ 15, 16, 392, 393, 0, 35, 0, 37, 356, 357, + /* 40 */ 400, 34, 21, 455, 456, 24, 25, 26, 27, 28, + /* 50 */ 29, 30, 31, 32, 403, 8, 9, 4, 376, 12, + /* 60 */ 13, 14, 15, 16, 64, 0, 437, 20, 20, 341, + /* 70 */ 70, 20, 398, 399, 373, 21, 447, 77, 24, 25, + /* 80 */ 26, 27, 28, 29, 30, 31, 32, 365, 387, 24, + /* 90 */ 25, 26, 27, 28, 29, 30, 31, 32, 397, 46, + /* 100 */ 47, 48, 102, 69, 382, 105, 20, 20, 72, 73, + /* 110 */ 74, 75, 76, 391, 78, 79, 80, 81, 82, 83, /* 120 */ 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - /* 130 */ 94, 95, 96, 97, 98, 355, 356, 20, 20, 102, - /* 140 */ 383, 141, 142, 77, 416, 460, 461, 462, 463, 421, - /* 150 */ 465, 466, 395, 116, 117, 118, 119, 120, 121, 122, - /* 160 */ 123, 124, 125, 33, 127, 128, 129, 130, 131, 132, - /* 170 */ 133, 171, 172, 14, 384, 45, 355, 177, 178, 20, - /* 180 */ 465, 391, 402, 468, 64, 20, 355, 356, 372, 399, - /* 190 */ 106, 20, 192, 465, 194, 384, 468, 355, 356, 184, - /* 200 */ 485, 486, 386, 8, 9, 490, 491, 12, 13, 14, - /* 210 */ 15, 16, 396, 485, 486, 404, 405, 375, 490, 491, - /* 220 */ 173, 400, 105, 105, 382, 225, 226, 107, 228, 229, + /* 130 */ 94, 95, 96, 97, 98, 51, 399, 20, 437, 102, + /* 140 */ 105, 141, 142, 59, 105, 417, 62, 63, 447, 114, + /* 150 */ 422, 414, 415, 116, 117, 118, 119, 120, 121, 122, + /* 160 */ 123, 124, 125, 439, 127, 128, 129, 130, 131, 132, + /* 170 */ 133, 160, 172, 173, 4, 385, 356, 357, 178, 179, + /* 180 */ 169, 466, 392, 105, 469, 20, 42, 356, 357, 465, + /* 190 */ 400, 105, 105, 193, 466, 195, 376, 469, 356, 357, + /* 200 */ 185, 486, 487, 383, 8, 9, 491, 492, 12, 13, + /* 210 */ 14, 15, 16, 395, 486, 487, 398, 399, 376, 491, + /* 220 */ 492, 174, 105, 172, 173, 383, 226, 227, 115, 229, /* 230 */ 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, - /* 240 */ 240, 241, 242, 243, 244, 245, 12, 13, 355, 171, - /* 250 */ 172, 18, 436, 20, 20, 465, 22, 173, 468, 343, - /* 260 */ 27, 187, 446, 30, 372, 70, 173, 398, 35, 35, - /* 270 */ 362, 37, 356, 351, 358, 485, 486, 355, 386, 357, - /* 280 */ 490, 491, 413, 414, 51, 20, 53, 379, 396, 215, - /* 290 */ 216, 58, 461, 462, 463, 387, 465, 466, 64, 468, - /* 300 */ 384, 408, 409, 288, 70, 20, 141, 142, 113, 351, - /* 310 */ 176, 77, 396, 355, 398, 357, 485, 486, 42, 12, - /* 320 */ 13, 490, 491, 246, 20, 248, 8, 9, 436, 437, - /* 330 */ 12, 13, 14, 15, 16, 20, 102, 104, 446, 105, - /* 340 */ 20, 136, 177, 178, 37, 140, 355, 356, 115, 22, - /* 350 */ 434, 33, 436, 1, 2, 439, 440, 441, 442, 443, - /* 360 */ 444, 450, 446, 452, 37, 170, 375, 451, 225, 453, - /* 370 */ 14, 15, 16, 457, 458, 141, 142, 69, 145, 262, - /* 380 */ 1, 148, 149, 150, 151, 152, 153, 154, 155, 156, - /* 390 */ 157, 158, 159, 160, 161, 162, 163, 164, 19, 166, - /* 400 */ 167, 168, 268, 269, 270, 171, 172, 202, 4, 105, - /* 410 */ 205, 177, 178, 208, 35, 210, 273, 274, 275, 276, - /* 420 */ 277, 278, 279, 450, 106, 452, 192, 384, 194, 102, - /* 430 */ 51, 134, 135, 136, 137, 138, 139, 140, 59, 60, - /* 440 */ 61, 62, 399, 64, 249, 250, 251, 252, 253, 254, - /* 450 */ 255, 256, 257, 258, 259, 14, 141, 142, 106, 225, - /* 460 */ 226, 20, 228, 229, 230, 231, 232, 233, 234, 235, - /* 470 */ 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, - /* 480 */ 246, 12, 13, 104, 20, 343, 107, 86, 105, 20, - /* 490 */ 384, 22, 12, 13, 14, 15, 16, 391, 356, 438, - /* 500 */ 209, 194, 211, 35, 35, 399, 37, 8, 9, 105, - /* 510 */ 2, 12, 13, 14, 15, 16, 8, 9, 139, 51, - /* 520 */ 12, 13, 14, 15, 16, 464, 384, 59, 60, 61, - /* 530 */ 62, 350, 64, 64, 353, 354, 343, 261, 396, 70, - /* 540 */ 398, 343, 384, 72, 73, 74, 77, 146, 147, 416, - /* 550 */ 79, 80, 81, 174, 421, 394, 85, 399, 397, 398, - /* 560 */ 181, 90, 91, 92, 93, 365, 262, 96, 355, 356, - /* 570 */ 169, 102, 104, 373, 105, 107, 434, 20, 436, 343, - /* 580 */ 201, 439, 440, 441, 442, 443, 444, 465, 446, 396, - /* 590 */ 468, 438, 356, 451, 396, 453, 355, 356, 465, 457, - /* 600 */ 458, 468, 356, 397, 398, 106, 355, 356, 486, 105, - /* 610 */ 141, 142, 490, 491, 472, 402, 375, 464, 485, 486, - /* 620 */ 384, 376, 480, 490, 491, 69, 375, 355, 356, 384, - /* 630 */ 384, 384, 396, 384, 398, 343, 391, 392, 105, 392, - /* 640 */ 171, 172, 174, 175, 399, 262, 177, 178, 399, 181, - /* 650 */ 182, 8, 9, 0, 0, 12, 13, 14, 15, 16, - /* 660 */ 115, 192, 0, 194, 0, 343, 262, 77, 200, 201, - /* 670 */ 434, 246, 436, 115, 402, 439, 440, 441, 442, 443, - /* 680 */ 444, 445, 446, 447, 448, 8, 9, 441, 396, 12, - /* 690 */ 13, 14, 15, 16, 225, 226, 77, 228, 229, 230, - /* 700 */ 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, - /* 710 */ 241, 242, 243, 244, 245, 12, 13, 14, 396, 343, - /* 720 */ 343, 14, 384, 20, 191, 22, 193, 20, 171, 391, - /* 730 */ 355, 356, 356, 22, 72, 73, 74, 399, 35, 385, - /* 740 */ 37, 79, 80, 81, 384, 422, 21, 85, 37, 106, - /* 750 */ 375, 391, 90, 91, 92, 93, 343, 224, 96, 399, - /* 760 */ 384, 36, 14, 38, 39, 40, 262, 64, 20, 356, - /* 770 */ 56, 57, 396, 396, 398, 70, 355, 356, 8, 9, - /* 780 */ 77, 22, 12, 13, 14, 15, 16, 134, 135, 136, - /* 790 */ 137, 138, 139, 140, 0, 262, 37, 384, 134, 135, - /* 800 */ 136, 137, 138, 139, 140, 102, 355, 356, 105, 396, - /* 810 */ 434, 398, 436, 102, 160, 439, 440, 441, 442, 443, - /* 820 */ 444, 0, 446, 169, 343, 449, 375, 451, 452, 453, - /* 830 */ 51, 355, 356, 457, 458, 115, 77, 356, 59, 360, - /* 840 */ 361, 62, 63, 380, 141, 142, 438, 434, 343, 436, - /* 850 */ 173, 375, 439, 440, 441, 442, 443, 444, 4, 446, - /* 860 */ 343, 102, 135, 136, 451, 384, 453, 140, 355, 356, - /* 870 */ 457, 458, 464, 19, 171, 172, 13, 396, 171, 398, - /* 880 */ 177, 178, 461, 462, 463, 165, 465, 466, 375, 35, - /* 890 */ 69, 355, 356, 480, 431, 192, 2, 194, 34, 355, - /* 900 */ 37, 396, 8, 9, 355, 51, 12, 13, 14, 15, - /* 910 */ 16, 375, 58, 396, 385, 434, 3, 436, 64, 171, - /* 920 */ 439, 440, 441, 442, 443, 444, 50, 446, 225, 226, - /* 930 */ 225, 228, 229, 230, 231, 232, 233, 234, 235, 236, - /* 940 */ 237, 238, 239, 240, 241, 242, 243, 244, 245, 12, - /* 950 */ 13, 192, 465, 194, 343, 468, 416, 20, 104, 22, - /* 960 */ 64, 107, 481, 482, 343, 20, 416, 356, 343, 358, - /* 970 */ 426, 427, 35, 486, 37, 426, 427, 490, 491, 355, - /* 980 */ 356, 343, 355, 356, 225, 226, 369, 370, 360, 361, - /* 990 */ 343, 343, 355, 356, 170, 384, 355, 356, 13, 375, - /* 1000 */ 104, 64, 375, 107, 356, 465, 358, 396, 468, 398, - /* 1010 */ 343, 376, 375, 219, 77, 465, 375, 396, 468, 384, - /* 1020 */ 4, 396, 37, 343, 343, 485, 486, 392, 355, 356, - /* 1030 */ 490, 491, 384, 343, 396, 485, 486, 346, 347, 102, - /* 1040 */ 490, 491, 105, 396, 396, 434, 398, 436, 375, 173, - /* 1050 */ 439, 440, 441, 442, 443, 444, 180, 446, 416, 376, - /* 1060 */ 343, 0, 451, 396, 453, 355, 356, 384, 457, 458, - /* 1070 */ 12, 13, 416, 249, 416, 392, 396, 396, 141, 142, - /* 1080 */ 22, 135, 434, 259, 436, 375, 396, 439, 440, 441, - /* 1090 */ 442, 443, 444, 35, 446, 37, 355, 356, 134, 451, - /* 1100 */ 20, 453, 138, 343, 343, 457, 458, 465, 171, 172, - /* 1110 */ 468, 343, 51, 396, 177, 178, 375, 356, 173, 358, - /* 1120 */ 33, 465, 64, 465, 468, 33, 468, 485, 486, 192, - /* 1130 */ 385, 194, 490, 491, 343, 77, 355, 356, 355, 356, - /* 1140 */ 385, 485, 486, 485, 486, 384, 490, 491, 490, 491, - /* 1150 */ 39, 40, 206, 207, 369, 370, 396, 396, 375, 398, - /* 1160 */ 102, 49, 225, 226, 396, 228, 229, 230, 231, 232, - /* 1170 */ 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, - /* 1180 */ 243, 244, 245, 12, 13, 449, 393, 396, 452, 396, - /* 1190 */ 196, 20, 33, 22, 200, 434, 283, 436, 106, 364, - /* 1200 */ 439, 440, 441, 442, 443, 444, 35, 446, 37, 384, - /* 1210 */ 393, 385, 451, 396, 453, 0, 391, 105, 457, 458, - /* 1220 */ 109, 110, 376, 112, 399, 390, 393, 0, 377, 396, - /* 1230 */ 384, 380, 33, 371, 108, 64, 374, 111, 392, 47, - /* 1240 */ 48, 0, 461, 462, 463, 134, 465, 466, 77, 138, - /* 1250 */ 192, 33, 194, 173, 33, 260, 261, 42, 108, 108, - /* 1260 */ 33, 111, 111, 22, 0, 108, 45, 18, 111, 0, - /* 1270 */ 37, 33, 23, 102, 141, 142, 105, 33, 33, 343, - /* 1280 */ 264, 1, 2, 225, 226, 33, 22, 33, 33, 40, - /* 1290 */ 41, 22, 356, 44, 358, 33, 238, 239, 240, 241, - /* 1300 */ 242, 243, 244, 54, 0, 106, 13, 37, 33, 13, - /* 1310 */ 33, 33, 141, 142, 65, 66, 67, 68, 33, 105, - /* 1320 */ 384, 373, 33, 385, 106, 33, 344, 37, 114, 406, - /* 1330 */ 37, 494, 396, 37, 398, 483, 359, 477, 372, 372, - /* 1340 */ 384, 415, 171, 172, 106, 33, 33, 33, 177, 178, - /* 1350 */ 106, 106, 33, 406, 105, 359, 52, 354, 106, 406, - /* 1360 */ 106, 106, 356, 192, 395, 194, 423, 77, 106, 467, - /* 1370 */ 434, 487, 436, 459, 287, 439, 440, 441, 442, 443, - /* 1380 */ 444, 106, 446, 106, 106, 470, 265, 451, 417, 453, - /* 1390 */ 51, 106, 143, 457, 458, 106, 225, 226, 106, 228, - /* 1400 */ 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, - /* 1410 */ 239, 240, 241, 242, 243, 244, 245, 20, 106, 106, - /* 1420 */ 106, 435, 433, 364, 208, 106, 343, 194, 428, 428, - /* 1430 */ 364, 419, 190, 184, 185, 186, 20, 356, 189, 356, - /* 1440 */ 45, 358, 403, 20, 285, 356, 406, 403, 401, 170, - /* 1450 */ 20, 355, 203, 204, 356, 355, 403, 401, 401, 103, - /* 1460 */ 101, 343, 368, 214, 194, 355, 217, 384, 367, 220, - /* 1470 */ 221, 222, 223, 224, 356, 100, 20, 355, 355, 396, - /* 1480 */ 366, 398, 355, 348, 50, 348, 352, 20, 352, 364, - /* 1490 */ 428, 398, 364, 364, 20, 357, 20, 418, 357, 20, - /* 1500 */ 409, 355, 384, 364, 364, 396, 364, 364, 364, 348, - /* 1510 */ 212, 262, 346, 346, 396, 343, 398, 434, 348, 436, - /* 1520 */ 355, 20, 439, 440, 441, 442, 443, 444, 356, 446, - /* 1530 */ 105, 384, 384, 384, 451, 432, 453, 384, 384, 384, - /* 1540 */ 457, 458, 384, 430, 384, 428, 384, 384, 384, 362, - /* 1550 */ 343, 427, 434, 198, 436, 425, 384, 439, 440, 441, - /* 1560 */ 442, 443, 444, 356, 446, 396, 197, 362, 396, 451, - /* 1570 */ 398, 453, 396, 398, 355, 457, 458, 396, 272, 343, - /* 1580 */ 424, 476, 271, 406, 406, 417, 396, 396, 280, 396, - /* 1590 */ 411, 384, 356, 411, 479, 476, 183, 282, 478, 281, - /* 1600 */ 266, 417, 495, 396, 488, 398, 434, 476, 436, 289, - /* 1610 */ 286, 439, 440, 441, 442, 443, 444, 284, 446, 474, - /* 1620 */ 384, 489, 261, 451, 356, 453, 20, 475, 115, 457, - /* 1630 */ 458, 263, 396, 438, 398, 362, 362, 411, 357, 396, - /* 1640 */ 411, 434, 343, 436, 471, 175, 439, 440, 441, 442, - /* 1650 */ 443, 444, 396, 446, 469, 356, 473, 396, 451, 396, - /* 1660 */ 453, 396, 396, 362, 457, 458, 407, 380, 105, 362, - /* 1670 */ 434, 105, 436, 356, 388, 439, 440, 441, 442, 443, - /* 1680 */ 444, 456, 446, 384, 396, 355, 22, 362, 345, 453, - /* 1690 */ 374, 38, 348, 457, 458, 396, 349, 398, 363, 378, - /* 1700 */ 429, 378, 420, 412, 378, 0, 412, 343, 341, 0, - /* 1710 */ 0, 45, 0, 218, 37, 37, 37, 37, 218, 0, - /* 1720 */ 356, 37, 37, 218, 0, 218, 0, 37, 0, 22, - /* 1730 */ 0, 213, 37, 434, 0, 436, 343, 201, 439, 440, - /* 1740 */ 441, 442, 443, 444, 0, 446, 201, 194, 384, 356, - /* 1750 */ 202, 192, 453, 0, 0, 0, 457, 458, 343, 187, - /* 1760 */ 396, 188, 398, 0, 0, 49, 0, 0, 37, 51, - /* 1770 */ 49, 356, 0, 0, 45, 0, 0, 384, 0, 0, - /* 1780 */ 0, 49, 0, 0, 0, 160, 37, 0, 160, 396, - /* 1790 */ 0, 398, 0, 0, 0, 0, 0, 0, 434, 384, - /* 1800 */ 436, 0, 0, 439, 440, 441, 442, 443, 444, 0, - /* 1810 */ 446, 396, 0, 398, 0, 0, 0, 453, 0, 0, - /* 1820 */ 49, 457, 458, 0, 0, 343, 45, 434, 0, 436, - /* 1830 */ 0, 0, 439, 440, 441, 442, 443, 444, 356, 446, - /* 1840 */ 0, 0, 22, 0, 0, 0, 144, 0, 0, 434, - /* 1850 */ 50, 436, 0, 50, 439, 440, 441, 442, 443, 444, - /* 1860 */ 22, 446, 64, 37, 22, 0, 384, 0, 453, 64, - /* 1870 */ 0, 64, 0, 458, 37, 0, 51, 42, 396, 0, - /* 1880 */ 398, 42, 0, 37, 0, 492, 493, 51, 37, 33, - /* 1890 */ 37, 14, 42, 0, 343, 0, 0, 42, 0, 45, - /* 1900 */ 51, 43, 0, 42, 42, 183, 49, 356, 49, 49, - /* 1910 */ 0, 0, 49, 0, 343, 0, 434, 0, 436, 51, - /* 1920 */ 37, 439, 440, 441, 442, 443, 444, 356, 446, 0, - /* 1930 */ 42, 37, 51, 42, 0, 384, 37, 71, 0, 42, - /* 1940 */ 389, 51, 37, 51, 0, 42, 0, 396, 0, 398, - /* 1950 */ 0, 0, 0, 37, 22, 384, 37, 37, 37, 37, - /* 1960 */ 389, 0, 37, 37, 482, 37, 33, 396, 33, 398, - /* 1970 */ 0, 22, 0, 37, 37, 22, 37, 113, 0, 22, - /* 1980 */ 111, 22, 37, 53, 0, 434, 343, 436, 0, 0, - /* 1990 */ 439, 440, 441, 442, 443, 444, 0, 446, 0, 356, - /* 2000 */ 37, 37, 22, 20, 37, 434, 37, 436, 343, 105, - /* 2010 */ 439, 440, 441, 442, 443, 444, 37, 446, 106, 343, - /* 2020 */ 199, 356, 0, 105, 49, 0, 22, 384, 37, 0, - /* 2030 */ 22, 0, 356, 0, 33, 3, 267, 343, 33, 396, - /* 2040 */ 50, 398, 50, 33, 173, 105, 173, 33, 106, 384, - /* 2050 */ 356, 173, 105, 267, 33, 175, 101, 103, 173, 173, - /* 2060 */ 384, 396, 49, 398, 106, 389, 106, 105, 179, 195, - /* 2070 */ 105, 105, 396, 49, 398, 3, 105, 434, 384, 436, - /* 2080 */ 179, 33, 439, 440, 441, 442, 443, 444, 106, 446, - /* 2090 */ 396, 106, 398, 106, 267, 37, 37, 37, 37, 434, - /* 2100 */ 343, 436, 37, 37, 439, 440, 441, 442, 443, 444, - /* 2110 */ 434, 446, 436, 356, 33, 439, 440, 441, 442, 443, - /* 2120 */ 444, 106, 446, 106, 49, 49, 0, 484, 434, 0, - /* 2130 */ 436, 105, 42, 439, 440, 441, 442, 443, 444, 105, - /* 2140 */ 446, 384, 448, 106, 106, 105, 389, 105, 105, 343, - /* 2150 */ 176, 0, 42, 396, 105, 398, 49, 33, 493, 114, - /* 2160 */ 260, 247, 356, 2, 22, 343, 103, 174, 225, 105, - /* 2170 */ 103, 49, 49, 37, 106, 105, 343, 106, 356, 105, - /* 2180 */ 22, 37, 37, 106, 105, 105, 37, 33, 106, 356, - /* 2190 */ 384, 434, 105, 436, 106, 389, 439, 440, 441, 442, - /* 2200 */ 443, 444, 396, 446, 398, 105, 384, 115, 227, 106, - /* 2210 */ 105, 37, 106, 105, 37, 106, 105, 384, 396, 106, - /* 2220 */ 398, 105, 37, 106, 105, 126, 105, 37, 126, 396, - /* 2230 */ 343, 398, 105, 105, 22, 71, 37, 70, 126, 37, - /* 2240 */ 434, 126, 436, 356, 37, 439, 440, 441, 442, 443, - /* 2250 */ 444, 37, 446, 37, 37, 37, 434, 37, 436, 77, - /* 2260 */ 33, 439, 440, 441, 442, 443, 444, 434, 446, 436, - /* 2270 */ 99, 384, 439, 440, 441, 442, 443, 444, 37, 446, - /* 2280 */ 37, 37, 22, 396, 343, 398, 37, 37, 37, 37, - /* 2290 */ 77, 37, 37, 37, 37, 22, 37, 356, 0, 343, - /* 2300 */ 37, 0, 37, 42, 51, 0, 42, 37, 42, 51, - /* 2310 */ 0, 37, 356, 51, 42, 0, 37, 37, 51, 0, - /* 2320 */ 33, 434, 496, 436, 22, 384, 439, 440, 441, 442, - /* 2330 */ 443, 444, 21, 446, 22, 22, 22, 396, 343, 398, - /* 2340 */ 384, 21, 20, 496, 496, 496, 496, 496, 496, 496, - /* 2350 */ 496, 356, 396, 496, 398, 496, 496, 496, 496, 496, - /* 2360 */ 496, 496, 496, 343, 496, 496, 496, 496, 496, 496, - /* 2370 */ 496, 496, 496, 496, 496, 434, 356, 436, 496, 384, - /* 2380 */ 439, 440, 441, 442, 443, 444, 496, 446, 496, 496, - /* 2390 */ 434, 396, 436, 398, 496, 439, 440, 441, 442, 443, - /* 2400 */ 444, 496, 446, 496, 384, 496, 496, 496, 496, 496, - /* 2410 */ 496, 496, 496, 496, 496, 496, 396, 496, 398, 496, - /* 2420 */ 496, 496, 496, 496, 496, 496, 496, 343, 496, 434, - /* 2430 */ 496, 436, 496, 496, 439, 440, 441, 442, 443, 444, - /* 2440 */ 356, 446, 496, 496, 343, 496, 496, 496, 496, 496, - /* 2450 */ 496, 496, 496, 496, 434, 496, 436, 356, 496, 439, - /* 2460 */ 440, 441, 442, 443, 444, 496, 446, 496, 384, 496, - /* 2470 */ 496, 496, 496, 496, 496, 496, 496, 496, 343, 496, - /* 2480 */ 396, 496, 398, 496, 496, 384, 496, 496, 496, 496, - /* 2490 */ 496, 356, 496, 343, 496, 496, 496, 396, 496, 398, - /* 2500 */ 496, 496, 496, 496, 496, 496, 356, 496, 496, 343, - /* 2510 */ 496, 496, 496, 496, 496, 496, 496, 496, 434, 384, - /* 2520 */ 436, 496, 356, 439, 440, 441, 442, 443, 444, 496, - /* 2530 */ 446, 396, 496, 398, 384, 434, 496, 436, 496, 496, - /* 2540 */ 439, 440, 441, 442, 443, 444, 396, 446, 398, 496, - /* 2550 */ 384, 496, 496, 496, 496, 496, 496, 496, 496, 496, - /* 2560 */ 496, 496, 396, 496, 398, 496, 496, 496, 496, 434, - /* 2570 */ 496, 436, 496, 496, 439, 440, 441, 442, 443, 444, - /* 2580 */ 496, 446, 496, 496, 434, 496, 436, 496, 496, 439, - /* 2590 */ 440, 441, 442, 443, 444, 496, 446, 496, 496, 496, - /* 2600 */ 434, 496, 436, 496, 496, 439, 440, 441, 442, 443, - /* 2610 */ 444, 343, 446, 496, 496, 496, 496, 496, 496, 496, - /* 2620 */ 496, 496, 496, 496, 356, 496, 496, 343, 496, 496, - /* 2630 */ 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - /* 2640 */ 356, 496, 496, 343, 496, 496, 496, 496, 496, 496, - /* 2650 */ 496, 496, 384, 496, 496, 496, 356, 496, 496, 496, - /* 2660 */ 496, 496, 496, 496, 396, 496, 398, 496, 384, 496, - /* 2670 */ 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - /* 2680 */ 396, 496, 398, 496, 384, 496, 496, 496, 496, 496, - /* 2690 */ 496, 496, 496, 496, 496, 496, 396, 496, 398, 496, - /* 2700 */ 496, 496, 434, 496, 436, 496, 496, 439, 440, 441, - /* 2710 */ 442, 443, 444, 496, 446, 496, 496, 496, 434, 343, - /* 2720 */ 436, 496, 496, 439, 440, 441, 442, 443, 444, 496, - /* 2730 */ 446, 496, 356, 496, 434, 343, 436, 496, 496, 439, - /* 2740 */ 440, 441, 442, 443, 444, 496, 446, 496, 356, 496, - /* 2750 */ 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - /* 2760 */ 384, 496, 496, 496, 496, 496, 496, 496, 496, 496, - /* 2770 */ 496, 496, 396, 496, 398, 496, 384, 496, 496, 496, - /* 2780 */ 496, 496, 496, 496, 343, 496, 496, 496, 396, 496, - /* 2790 */ 398, 496, 496, 496, 496, 496, 496, 356, 496, 496, - /* 2800 */ 343, 496, 496, 496, 496, 496, 496, 496, 496, 496, - /* 2810 */ 434, 496, 436, 356, 496, 439, 440, 441, 442, 443, - /* 2820 */ 444, 496, 446, 496, 496, 384, 434, 496, 436, 496, - /* 2830 */ 496, 439, 440, 441, 442, 443, 444, 396, 446, 398, - /* 2840 */ 496, 384, 496, 496, 496, 496, 496, 496, 496, 496, - /* 2850 */ 496, 496, 496, 396, 496, 398, 496, 496, 496, 496, - /* 2860 */ 496, 496, 496, 343, 496, 496, 496, 496, 496, 496, - /* 2870 */ 496, 496, 496, 496, 496, 434, 356, 436, 496, 343, - /* 2880 */ 439, 440, 441, 442, 443, 444, 496, 446, 496, 496, - /* 2890 */ 496, 434, 356, 436, 343, 496, 439, 440, 441, 442, - /* 2900 */ 443, 444, 496, 446, 384, 496, 496, 356, 496, 496, - /* 2910 */ 496, 496, 496, 496, 496, 496, 396, 496, 398, 496, - /* 2920 */ 384, 496, 496, 496, 496, 496, 496, 496, 496, 496, - /* 2930 */ 496, 496, 396, 496, 398, 384, 496, 496, 496, 496, - /* 2940 */ 496, 496, 496, 496, 496, 496, 496, 396, 496, 398, - /* 2950 */ 496, 496, 496, 496, 434, 496, 436, 496, 496, 439, - /* 2960 */ 440, 441, 442, 443, 444, 496, 446, 496, 496, 496, - /* 2970 */ 434, 496, 436, 496, 496, 439, 440, 441, 442, 443, - /* 2980 */ 444, 496, 446, 496, 496, 434, 496, 436, 496, 496, - /* 2990 */ 439, 440, 441, 442, 443, 444, 496, 446, 340, 340, - /* 3000 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3010 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3020 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3030 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3040 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3050 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3060 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3070 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3080 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3090 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3100 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3110 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3120 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3130 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3140 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3150 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3160 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3170 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3180 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3190 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3200 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3210 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3220 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3230 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3240 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3250 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3260 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3270 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3280 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3290 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3300 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3310 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3320 */ 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, - /* 3330 */ 340, 340, 340, 340, 340, 340, 340, 340, + /* 240 */ 240, 241, 242, 243, 244, 245, 246, 12, 13, 12, + /* 250 */ 13, 20, 18, 22, 20, 20, 466, 22, 356, 469, + /* 260 */ 344, 27, 0, 385, 30, 373, 70, 134, 37, 35, + /* 270 */ 35, 138, 37, 357, 37, 105, 486, 487, 165, 387, + /* 280 */ 377, 491, 492, 405, 406, 51, 55, 53, 385, 397, + /* 290 */ 20, 363, 58, 462, 463, 464, 393, 466, 467, 64, + /* 300 */ 469, 385, 263, 401, 289, 70, 141, 142, 380, 113, + /* 310 */ 356, 357, 77, 397, 52, 399, 388, 486, 487, 3, + /* 320 */ 357, 466, 491, 492, 469, 356, 357, 8, 9, 437, + /* 330 */ 438, 12, 13, 14, 15, 16, 20, 102, 104, 447, + /* 340 */ 105, 263, 487, 178, 179, 376, 491, 492, 385, 115, + /* 350 */ 263, 435, 33, 437, 366, 20, 440, 441, 442, 443, + /* 360 */ 444, 445, 374, 447, 20, 177, 450, 171, 452, 453, + /* 370 */ 454, 50, 356, 357, 458, 459, 141, 142, 466, 145, + /* 380 */ 263, 469, 148, 149, 150, 151, 152, 153, 154, 155, + /* 390 */ 156, 157, 158, 159, 160, 161, 162, 163, 164, 487, + /* 400 */ 166, 167, 168, 491, 492, 442, 262, 172, 173, 22, + /* 410 */ 344, 141, 142, 178, 179, 461, 462, 463, 464, 403, + /* 420 */ 466, 467, 106, 352, 37, 106, 20, 356, 193, 358, + /* 430 */ 195, 0, 195, 263, 8, 9, 20, 14, 12, 13, + /* 440 */ 14, 15, 16, 20, 69, 417, 250, 251, 252, 253, + /* 450 */ 254, 255, 256, 257, 258, 259, 260, 269, 270, 271, + /* 460 */ 363, 226, 227, 397, 229, 230, 231, 232, 233, 234, + /* 470 */ 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, + /* 480 */ 245, 246, 247, 12, 13, 388, 344, 344, 356, 102, + /* 490 */ 174, 20, 352, 22, 466, 174, 356, 469, 358, 20, + /* 500 */ 357, 22, 181, 72, 73, 74, 35, 14, 37, 174, + /* 510 */ 79, 80, 81, 20, 486, 487, 85, 356, 357, 491, + /* 520 */ 492, 90, 91, 92, 93, 356, 357, 96, 385, 356, + /* 530 */ 357, 37, 106, 20, 55, 64, 344, 376, 344, 397, + /* 540 */ 397, 70, 399, 86, 14, 72, 73, 74, 77, 376, + /* 550 */ 20, 357, 79, 80, 81, 356, 357, 344, 85, 427, + /* 560 */ 428, 356, 357, 90, 91, 92, 93, 385, 439, 96, + /* 570 */ 188, 77, 403, 102, 392, 376, 105, 344, 435, 385, + /* 580 */ 437, 20, 400, 440, 441, 442, 443, 444, 445, 397, + /* 590 */ 447, 397, 344, 399, 465, 452, 22, 454, 216, 217, + /* 600 */ 385, 458, 459, 146, 147, 357, 226, 392, 356, 357, + /* 610 */ 397, 37, 141, 142, 0, 400, 473, 134, 135, 136, + /* 620 */ 137, 138, 139, 140, 481, 385, 169, 170, 376, 435, + /* 630 */ 397, 437, 392, 385, 440, 441, 442, 443, 444, 445, + /* 640 */ 400, 447, 69, 172, 173, 397, 452, 399, 454, 178, + /* 650 */ 179, 77, 458, 459, 274, 275, 276, 277, 278, 279, + /* 660 */ 280, 356, 356, 357, 193, 172, 195, 462, 463, 464, + /* 670 */ 356, 466, 467, 8, 9, 481, 102, 12, 13, 14, + /* 680 */ 15, 16, 376, 435, 344, 437, 105, 174, 440, 441, + /* 690 */ 442, 443, 444, 445, 343, 447, 345, 226, 227, 64, + /* 700 */ 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, + /* 710 */ 239, 240, 241, 242, 243, 244, 245, 246, 12, 13, + /* 720 */ 14, 344, 37, 409, 410, 247, 20, 249, 22, 417, + /* 730 */ 482, 483, 427, 428, 357, 344, 359, 397, 0, 104, + /* 740 */ 21, 35, 107, 37, 356, 357, 356, 357, 134, 135, + /* 750 */ 136, 137, 138, 139, 140, 36, 344, 38, 39, 40, + /* 760 */ 356, 357, 385, 344, 376, 394, 376, 193, 397, 195, + /* 770 */ 64, 106, 344, 192, 397, 194, 399, 344, 466, 2, + /* 780 */ 376, 469, 115, 77, 344, 8, 9, 385, 397, 12, + /* 790 */ 13, 14, 15, 16, 392, 356, 357, 344, 486, 487, + /* 800 */ 226, 227, 400, 491, 492, 451, 225, 453, 102, 397, + /* 810 */ 357, 105, 435, 344, 437, 376, 397, 440, 441, 442, + /* 820 */ 443, 444, 445, 197, 447, 397, 357, 201, 359, 452, + /* 830 */ 397, 454, 385, 35, 20, 458, 459, 397, 385, 344, + /* 840 */ 22, 356, 357, 390, 263, 356, 357, 141, 142, 51, + /* 850 */ 397, 4, 399, 406, 385, 37, 439, 59, 60, 61, + /* 860 */ 62, 376, 64, 2, 344, 376, 397, 247, 399, 8, + /* 870 */ 9, 356, 357, 12, 13, 14, 15, 16, 172, 173, + /* 880 */ 195, 14, 465, 135, 178, 179, 0, 20, 435, 77, + /* 890 */ 437, 376, 397, 440, 441, 442, 443, 444, 445, 193, + /* 900 */ 447, 195, 104, 384, 435, 107, 437, 344, 115, 440, + /* 910 */ 441, 442, 443, 444, 445, 396, 447, 397, 377, 77, + /* 920 */ 102, 452, 344, 454, 344, 20, 385, 458, 459, 14, + /* 930 */ 15, 16, 226, 227, 393, 229, 230, 231, 232, 233, + /* 940 */ 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, + /* 950 */ 244, 245, 246, 12, 13, 207, 208, 344, 220, 417, + /* 960 */ 397, 20, 171, 22, 422, 12, 13, 14, 15, 16, + /* 970 */ 357, 377, 359, 175, 176, 397, 35, 397, 37, 385, + /* 980 */ 182, 183, 385, 356, 357, 8, 9, 393, 174, 12, + /* 990 */ 13, 14, 15, 16, 344, 356, 357, 400, 385, 201, + /* 1000 */ 202, 135, 136, 376, 3, 64, 140, 357, 466, 359, + /* 1010 */ 397, 469, 399, 1, 2, 376, 356, 357, 77, 381, + /* 1020 */ 134, 135, 136, 137, 138, 139, 140, 344, 486, 487, + /* 1030 */ 451, 344, 453, 491, 492, 385, 376, 56, 57, 172, + /* 1040 */ 365, 250, 386, 102, 370, 371, 105, 397, 435, 399, + /* 1050 */ 437, 260, 33, 440, 441, 442, 443, 444, 445, 386, + /* 1060 */ 447, 385, 344, 361, 362, 452, 391, 454, 361, 362, + /* 1070 */ 432, 458, 459, 370, 371, 357, 400, 172, 450, 386, + /* 1080 */ 397, 453, 141, 142, 397, 435, 385, 437, 33, 1, + /* 1090 */ 440, 441, 442, 443, 444, 445, 372, 447, 385, 375, + /* 1100 */ 45, 400, 452, 385, 454, 0, 393, 19, 458, 459, + /* 1110 */ 347, 348, 265, 172, 173, 397, 386, 399, 106, 178, + /* 1120 */ 179, 394, 394, 35, 397, 397, 33, 378, 47, 48, + /* 1130 */ 381, 261, 262, 33, 193, 33, 195, 39, 40, 51, + /* 1140 */ 108, 108, 13, 111, 111, 45, 70, 59, 60, 61, + /* 1150 */ 62, 174, 64, 435, 417, 437, 51, 0, 440, 441, + /* 1160 */ 442, 443, 444, 445, 33, 447, 37, 226, 227, 417, + /* 1170 */ 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, + /* 1180 */ 239, 240, 241, 242, 243, 244, 245, 246, 12, 13, + /* 1190 */ 33, 108, 104, 0, 111, 107, 20, 0, 22, 106, + /* 1200 */ 4, 483, 13, 466, 356, 357, 469, 109, 110, 108, + /* 1210 */ 112, 35, 111, 37, 210, 19, 212, 49, 466, 22, + /* 1220 */ 0, 469, 64, 486, 487, 386, 37, 139, 491, 492, + /* 1230 */ 0, 35, 134, 344, 33, 42, 138, 106, 486, 487, + /* 1240 */ 64, 386, 22, 491, 492, 423, 357, 51, 141, 142, + /* 1250 */ 33, 374, 22, 77, 58, 33, 1, 2, 13, 345, + /* 1260 */ 64, 37, 33, 175, 407, 107, 495, 484, 37, 33, + /* 1270 */ 182, 136, 18, 105, 385, 140, 360, 23, 102, 390, + /* 1280 */ 33, 105, 37, 33, 344, 284, 397, 478, 399, 33, + /* 1290 */ 202, 417, 13, 373, 40, 41, 373, 357, 44, 359, + /* 1300 */ 104, 77, 226, 107, 385, 286, 33, 106, 54, 416, + /* 1310 */ 462, 463, 464, 33, 466, 467, 37, 141, 142, 65, + /* 1320 */ 66, 67, 68, 106, 435, 385, 437, 360, 106, 440, + /* 1330 */ 441, 442, 443, 444, 445, 106, 447, 397, 203, 399, + /* 1340 */ 466, 206, 106, 469, 209, 407, 211, 355, 172, 173, + /* 1350 */ 357, 33, 33, 106, 178, 179, 106, 396, 33, 105, + /* 1360 */ 486, 487, 106, 33, 33, 491, 492, 424, 468, 193, + /* 1370 */ 407, 195, 488, 33, 33, 435, 33, 437, 460, 106, + /* 1380 */ 440, 441, 442, 443, 444, 445, 106, 447, 471, 266, + /* 1390 */ 288, 418, 452, 51, 454, 436, 20, 143, 458, 459, + /* 1400 */ 429, 209, 226, 227, 434, 229, 230, 231, 232, 233, + /* 1410 */ 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, + /* 1420 */ 244, 245, 246, 365, 106, 106, 195, 429, 12, 13, + /* 1430 */ 344, 106, 365, 191, 420, 20, 106, 106, 22, 185, + /* 1440 */ 186, 187, 357, 357, 190, 359, 106, 106, 45, 106, + /* 1450 */ 404, 35, 20, 37, 407, 404, 357, 171, 204, 205, + /* 1460 */ 344, 402, 20, 357, 356, 356, 404, 402, 402, 215, + /* 1470 */ 103, 385, 218, 357, 101, 221, 222, 223, 224, 225, + /* 1480 */ 64, 344, 369, 397, 356, 399, 368, 100, 367, 356, + /* 1490 */ 356, 20, 356, 77, 357, 349, 50, 353, 349, 429, + /* 1500 */ 353, 385, 8, 9, 365, 365, 12, 13, 14, 15, + /* 1510 */ 16, 20, 20, 397, 399, 399, 365, 263, 102, 358, + /* 1520 */ 20, 435, 385, 437, 365, 358, 440, 441, 442, 443, + /* 1530 */ 444, 445, 20, 447, 397, 365, 399, 410, 452, 419, + /* 1540 */ 454, 356, 365, 365, 458, 459, 365, 349, 385, 385, + /* 1550 */ 385, 435, 347, 437, 385, 356, 440, 441, 442, 443, + /* 1560 */ 444, 445, 347, 447, 385, 385, 213, 385, 385, 385, + /* 1570 */ 349, 385, 435, 385, 437, 433, 431, 440, 441, 442, + /* 1580 */ 443, 444, 445, 105, 447, 344, 363, 397, 397, 452, + /* 1590 */ 20, 454, 397, 199, 428, 458, 459, 198, 357, 426, + /* 1600 */ 429, 485, 399, 363, 356, 397, 273, 477, 272, 193, + /* 1610 */ 397, 195, 425, 407, 407, 477, 412, 184, 418, 281, + /* 1620 */ 479, 412, 344, 397, 397, 267, 385, 477, 480, 283, + /* 1630 */ 476, 282, 418, 285, 474, 357, 262, 475, 397, 496, + /* 1640 */ 399, 290, 226, 227, 287, 490, 357, 20, 115, 439, + /* 1650 */ 264, 358, 176, 344, 363, 239, 240, 241, 242, 243, + /* 1660 */ 244, 245, 363, 385, 489, 412, 357, 397, 397, 397, + /* 1670 */ 412, 397, 397, 397, 472, 397, 435, 399, 437, 363, + /* 1680 */ 363, 440, 441, 442, 443, 444, 445, 381, 447, 470, + /* 1690 */ 408, 357, 105, 452, 385, 454, 457, 105, 397, 458, + /* 1700 */ 459, 389, 375, 356, 344, 22, 397, 363, 399, 346, + /* 1710 */ 38, 350, 342, 435, 349, 437, 421, 357, 440, 441, + /* 1720 */ 442, 443, 444, 445, 430, 447, 413, 413, 364, 344, + /* 1730 */ 452, 379, 454, 379, 379, 0, 458, 459, 0, 0, + /* 1740 */ 0, 45, 357, 37, 435, 385, 437, 37, 219, 440, + /* 1750 */ 441, 442, 443, 444, 445, 37, 447, 397, 344, 399, + /* 1760 */ 37, 219, 0, 454, 37, 37, 219, 458, 459, 0, + /* 1770 */ 385, 357, 219, 0, 37, 0, 22, 0, 37, 214, + /* 1780 */ 0, 202, 397, 344, 399, 0, 202, 0, 203, 195, + /* 1790 */ 193, 0, 0, 189, 188, 435, 357, 437, 0, 385, + /* 1800 */ 440, 441, 442, 443, 444, 445, 0, 447, 49, 0, + /* 1810 */ 0, 397, 51, 399, 454, 37, 49, 0, 458, 459, + /* 1820 */ 435, 45, 437, 0, 385, 440, 441, 442, 443, 444, + /* 1830 */ 445, 0, 447, 0, 0, 49, 397, 0, 399, 454, + /* 1840 */ 0, 0, 0, 458, 459, 0, 160, 0, 37, 435, + /* 1850 */ 160, 437, 0, 0, 440, 441, 442, 443, 444, 445, + /* 1860 */ 446, 447, 448, 449, 0, 0, 0, 0, 0, 0, + /* 1870 */ 0, 0, 344, 0, 435, 0, 437, 0, 0, 440, + /* 1880 */ 441, 442, 443, 444, 445, 357, 447, 0, 0, 0, + /* 1890 */ 0, 45, 49, 0, 0, 0, 0, 0, 344, 0, + /* 1900 */ 0, 22, 0, 0, 0, 0, 22, 144, 50, 50, + /* 1910 */ 0, 357, 64, 385, 22, 0, 0, 37, 64, 64, + /* 1920 */ 0, 0, 37, 51, 42, 397, 0, 399, 37, 0, + /* 1930 */ 0, 0, 493, 494, 51, 0, 14, 51, 37, 385, + /* 1940 */ 42, 0, 0, 0, 37, 33, 0, 0, 42, 184, + /* 1950 */ 42, 397, 71, 399, 45, 0, 0, 43, 0, 0, + /* 1960 */ 49, 42, 49, 435, 0, 437, 49, 344, 440, 441, + /* 1970 */ 442, 443, 444, 445, 42, 447, 49, 37, 42, 51, + /* 1980 */ 357, 37, 454, 0, 0, 51, 37, 459, 51, 435, + /* 1990 */ 42, 437, 42, 42, 440, 441, 442, 443, 444, 445, + /* 2000 */ 37, 447, 344, 37, 51, 0, 0, 0, 385, 0, + /* 2010 */ 0, 0, 22, 390, 0, 357, 37, 37, 37, 37, + /* 2020 */ 397, 22, 399, 37, 37, 37, 33, 33, 344, 37, + /* 2030 */ 0, 113, 37, 37, 111, 22, 0, 22, 53, 344, + /* 2040 */ 0, 357, 22, 385, 0, 37, 0, 0, 494, 37, + /* 2050 */ 0, 0, 357, 37, 22, 397, 37, 399, 435, 20, + /* 2060 */ 437, 37, 37, 440, 441, 442, 443, 444, 445, 385, + /* 2070 */ 447, 106, 105, 0, 390, 105, 200, 49, 0, 37, + /* 2080 */ 385, 397, 22, 399, 0, 390, 22, 0, 0, 3, + /* 2090 */ 33, 50, 397, 435, 399, 437, 268, 106, 440, 441, + /* 2100 */ 442, 443, 444, 445, 344, 447, 105, 449, 50, 105, + /* 2110 */ 33, 49, 174, 174, 33, 33, 49, 357, 101, 435, + /* 2120 */ 196, 437, 33, 105, 440, 441, 442, 443, 444, 445, + /* 2130 */ 435, 447, 437, 176, 174, 440, 441, 442, 443, 444, + /* 2140 */ 445, 344, 447, 174, 106, 385, 174, 3, 103, 106, + /* 2150 */ 33, 180, 37, 180, 357, 106, 37, 397, 344, 399, + /* 2160 */ 105, 105, 37, 37, 105, 37, 37, 106, 33, 106, + /* 2170 */ 49, 357, 106, 344, 106, 0, 49, 0, 42, 105, + /* 2180 */ 105, 105, 385, 0, 42, 106, 357, 49, 33, 106, + /* 2190 */ 105, 2, 22, 268, 397, 435, 399, 437, 177, 385, + /* 2200 */ 440, 441, 442, 443, 444, 445, 261, 447, 105, 175, + /* 2210 */ 105, 397, 114, 399, 385, 103, 103, 106, 49, 105, + /* 2220 */ 49, 105, 268, 248, 226, 105, 397, 105, 399, 106, + /* 2230 */ 106, 22, 435, 115, 437, 105, 105, 440, 441, 442, + /* 2240 */ 443, 444, 445, 106, 447, 106, 105, 37, 37, 435, + /* 2250 */ 228, 437, 37, 106, 440, 441, 442, 443, 444, 445, + /* 2260 */ 106, 447, 105, 37, 435, 105, 437, 106, 37, 440, + /* 2270 */ 441, 442, 443, 444, 445, 37, 447, 344, 105, 37, + /* 2280 */ 106, 105, 126, 33, 106, 105, 105, 105, 126, 126, + /* 2290 */ 357, 126, 37, 105, 22, 71, 344, 70, 37, 37, + /* 2300 */ 37, 37, 37, 37, 99, 37, 37, 77, 33, 357, + /* 2310 */ 37, 37, 344, 37, 22, 22, 37, 37, 385, 37, + /* 2320 */ 77, 37, 37, 37, 37, 357, 37, 37, 0, 0, + /* 2330 */ 397, 37, 399, 42, 51, 37, 0, 385, 42, 51, + /* 2340 */ 37, 42, 0, 37, 42, 0, 51, 344, 51, 397, + /* 2350 */ 37, 399, 37, 385, 0, 22, 33, 22, 21, 21, + /* 2360 */ 357, 22, 22, 20, 497, 397, 497, 399, 435, 497, + /* 2370 */ 437, 497, 497, 440, 441, 442, 443, 444, 445, 497, + /* 2380 */ 447, 497, 497, 497, 497, 497, 497, 435, 385, 437, + /* 2390 */ 497, 497, 440, 441, 442, 443, 444, 445, 497, 447, + /* 2400 */ 397, 497, 399, 435, 497, 437, 497, 497, 440, 441, + /* 2410 */ 442, 443, 444, 445, 344, 447, 497, 497, 497, 497, + /* 2420 */ 497, 497, 497, 497, 497, 497, 497, 357, 497, 497, + /* 2430 */ 497, 497, 497, 497, 497, 497, 497, 497, 435, 344, + /* 2440 */ 437, 497, 497, 440, 441, 442, 443, 444, 445, 497, + /* 2450 */ 447, 497, 357, 497, 497, 385, 497, 497, 497, 497, + /* 2460 */ 497, 497, 497, 497, 497, 497, 497, 397, 497, 399, + /* 2470 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, + /* 2480 */ 385, 497, 497, 497, 497, 497, 497, 497, 497, 497, + /* 2490 */ 344, 497, 397, 497, 399, 497, 497, 497, 497, 497, + /* 2500 */ 497, 497, 497, 357, 497, 435, 497, 437, 497, 497, + /* 2510 */ 440, 441, 442, 443, 444, 445, 344, 447, 497, 497, + /* 2520 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 357, + /* 2530 */ 435, 385, 437, 497, 497, 440, 441, 442, 443, 444, + /* 2540 */ 445, 344, 447, 397, 497, 399, 497, 497, 497, 497, + /* 2550 */ 497, 497, 497, 497, 357, 497, 497, 385, 497, 497, + /* 2560 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 397, + /* 2570 */ 497, 399, 497, 497, 497, 497, 497, 497, 497, 497, + /* 2580 */ 497, 435, 385, 437, 497, 497, 440, 441, 442, 443, + /* 2590 */ 444, 445, 497, 447, 397, 497, 399, 497, 497, 497, + /* 2600 */ 497, 497, 497, 497, 497, 497, 497, 435, 497, 437, + /* 2610 */ 497, 344, 440, 441, 442, 443, 444, 445, 497, 447, + /* 2620 */ 497, 497, 344, 497, 357, 497, 497, 497, 497, 497, + /* 2630 */ 497, 497, 435, 497, 437, 357, 497, 440, 441, 442, + /* 2640 */ 443, 444, 445, 497, 447, 497, 497, 497, 497, 497, + /* 2650 */ 497, 497, 385, 497, 497, 497, 497, 497, 497, 497, + /* 2660 */ 497, 497, 497, 385, 397, 497, 399, 497, 497, 497, + /* 2670 */ 497, 497, 497, 497, 497, 397, 497, 399, 497, 497, + /* 2680 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, + /* 2690 */ 497, 497, 344, 497, 497, 497, 497, 497, 497, 497, + /* 2700 */ 497, 497, 435, 497, 437, 357, 497, 440, 441, 442, + /* 2710 */ 443, 444, 445, 435, 447, 437, 497, 497, 440, 441, + /* 2720 */ 442, 443, 444, 445, 497, 447, 497, 497, 497, 497, + /* 2730 */ 497, 497, 497, 385, 497, 497, 497, 497, 497, 497, + /* 2740 */ 497, 344, 497, 497, 497, 397, 497, 399, 497, 497, + /* 2750 */ 497, 497, 497, 497, 357, 497, 344, 497, 497, 497, + /* 2760 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 357, + /* 2770 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, + /* 2780 */ 497, 497, 385, 435, 497, 437, 497, 497, 440, 441, + /* 2790 */ 442, 443, 444, 445, 397, 447, 399, 385, 497, 497, + /* 2800 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 397, + /* 2810 */ 497, 399, 497, 497, 497, 497, 497, 497, 497, 497, + /* 2820 */ 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, + /* 2830 */ 497, 497, 435, 497, 437, 344, 497, 440, 441, 442, + /* 2840 */ 443, 444, 445, 497, 447, 497, 497, 435, 357, 437, + /* 2850 */ 344, 497, 440, 441, 442, 443, 444, 445, 497, 447, + /* 2860 */ 497, 344, 497, 357, 497, 497, 497, 497, 497, 497, + /* 2870 */ 497, 497, 497, 497, 357, 497, 385, 497, 497, 497, + /* 2880 */ 497, 497, 497, 497, 344, 497, 497, 497, 397, 497, + /* 2890 */ 399, 385, 497, 497, 497, 497, 497, 357, 497, 497, + /* 2900 */ 497, 497, 385, 397, 497, 399, 497, 497, 497, 497, + /* 2910 */ 497, 497, 497, 497, 397, 497, 399, 497, 497, 497, + /* 2920 */ 497, 497, 497, 497, 497, 385, 435, 497, 437, 497, + /* 2930 */ 497, 440, 441, 442, 443, 444, 445, 397, 447, 399, + /* 2940 */ 497, 435, 497, 437, 497, 497, 440, 441, 442, 443, + /* 2950 */ 444, 445, 435, 447, 437, 497, 497, 440, 441, 442, + /* 2960 */ 443, 444, 445, 497, 447, 497, 497, 497, 497, 497, + /* 2970 */ 497, 497, 497, 497, 497, 435, 497, 437, 497, 497, + /* 2980 */ 440, 441, 442, 443, 444, 445, 497, 447, 341, 341, + /* 2990 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3000 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3010 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3020 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3030 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3040 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3050 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3060 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3070 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3080 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3090 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3100 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3110 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3120 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3130 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3140 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3150 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3160 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3170 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3180 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3190 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3200 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3210 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3220 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3230 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3240 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3250 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3260 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3270 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3280 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3290 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3300 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3310 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + /* 3320 */ 341, 341, 341, 341, 341, 341, 341, 341, 341, }; -#define YY_SHIFT_COUNT (820) +#define YY_SHIFT_COUNT (821) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2322) +#define YY_SHIFT_MAX (2354) static const unsigned short int yy_shift_ofst[] = { - /* 0 */ 1249, 0, 234, 0, 469, 469, 469, 469, 469, 469, - /* 10 */ 469, 469, 469, 469, 469, 469, 703, 937, 937, 1171, - /* 20 */ 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, - /* 30 */ 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, - /* 40 */ 937, 937, 937, 937, 937, 937, 937, 937, 937, 937, - /* 50 */ 937, 117, 304, 533, 118, 383, 504, 383, 383, 118, - /* 60 */ 118, 383, 1058, 383, 1058, 1058, 404, 383, 171, 165, - /* 70 */ 265, 265, 165, 53, 53, 78, 315, 159, 159, 265, - /* 80 */ 265, 265, 265, 265, 265, 265, 265, 265, 265, 285, - /* 90 */ 320, 265, 265, 308, 171, 265, 285, 265, 464, 171, - /* 100 */ 265, 265, 171, 265, 265, 171, 265, 171, 171, 171, - /* 110 */ 265, 556, 233, 195, 195, 471, 54, 759, 759, 759, - /* 120 */ 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, - /* 130 */ 759, 759, 759, 759, 759, 759, 1111, 84, 78, 315, - /* 140 */ 714, 714, 66, 93, 93, 93, 821, 77, 77, 66, - /* 150 */ 308, 545, 171, 171, 425, 171, 590, 171, 590, 590, - /* 160 */ 558, 619, 864, 37, 37, 37, 37, 37, 37, 37, - /* 170 */ 37, 379, 662, 21, 47, 15, 143, 51, 134, 307, - /* 180 */ 307, 707, 876, 748, 52, 945, 1192, 441, 964, 994, - /* 190 */ 1080, 995, 276, 913, 995, 130, 1016, 557, 1121, 1339, - /* 200 */ 1397, 1216, 308, 1397, 308, 1242, 1416, 1395, 1423, 1416, - /* 210 */ 1395, 1279, 1430, 1416, 1430, 1395, 1279, 1279, 1356, 1359, - /* 220 */ 1430, 1375, 1430, 1430, 1430, 1456, 1434, 1456, 1434, 1397, - /* 230 */ 308, 308, 1467, 308, 1474, 1476, 308, 1474, 308, 1479, - /* 240 */ 308, 308, 1430, 308, 1456, 171, 171, 171, 171, 171, - /* 250 */ 171, 171, 171, 171, 171, 171, 1430, 864, 864, 1456, - /* 260 */ 590, 590, 590, 1298, 1425, 1397, 556, 1501, 1355, 1369, - /* 270 */ 1467, 556, 1121, 1430, 1423, 1423, 590, 1306, 1311, 590, - /* 280 */ 1306, 1311, 590, 590, 171, 1308, 1413, 1306, 1315, 1318, - /* 290 */ 1334, 1121, 1320, 1324, 1333, 1361, 1416, 1606, 1513, 1368, - /* 300 */ 1474, 556, 556, 1311, 590, 590, 590, 590, 590, 1311, - /* 310 */ 590, 1470, 556, 558, 556, 1416, 1563, 1566, 590, 619, - /* 320 */ 1430, 556, 1664, 1653, 1456, 2998, 2998, 2998, 2998, 2998, - /* 330 */ 2998, 2998, 2998, 2998, 36, 468, 65, 318, 854, 499, - /* 340 */ 643, 653, 508, 894, 677, 664, 770, 770, 770, 770, - /* 350 */ 770, 770, 770, 770, 770, 297, 205, 725, 480, 480, - /* 360 */ 401, 779, 74, 654, 896, 327, 711, 946, 727, 727, - /* 370 */ 356, 352, 824, 356, 356, 356, 1061, 794, 1092, 1215, - /* 380 */ 1221, 720, 1227, 1126, 1150, 1151, 1157, 863, 985, 1241, - /* 390 */ 1264, 1269, 291, 1199, 1238, 120, 1244, 1245, 1254, 1133, - /* 400 */ 1159, 1087, 1255, 1262, 1275, 1277, 1278, 1285, 1280, 1289, - /* 410 */ 705, 1292, 1112, 1218, 1252, 1312, 1313, 1314, 1319, 1214, - /* 420 */ 1233, 1270, 1293, 1296, 1290, 1304, 1705, 1709, 1710, 1666, - /* 430 */ 1712, 1677, 1495, 1678, 1679, 1680, 1500, 1719, 1684, 1685, - /* 440 */ 1505, 1724, 1507, 1726, 1690, 1728, 1707, 1730, 1695, 1518, - /* 450 */ 1734, 1536, 1744, 1545, 1548, 1553, 1559, 1753, 1754, 1755, - /* 460 */ 1573, 1572, 1763, 1764, 1716, 1766, 1731, 1718, 1767, 1721, - /* 470 */ 1772, 1729, 1773, 1775, 1776, 1732, 1778, 1779, 1780, 1782, - /* 480 */ 1783, 1784, 1625, 1749, 1787, 1628, 1790, 1792, 1793, 1794, - /* 490 */ 1795, 1796, 1797, 1801, 1802, 1809, 1812, 1814, 1815, 1816, - /* 500 */ 1818, 1819, 1771, 1823, 1781, 1824, 1828, 1830, 1831, 1840, - /* 510 */ 1841, 1820, 1843, 1844, 1845, 1702, 1847, 1848, 1838, 1800, - /* 520 */ 1842, 1803, 1852, 1798, 1826, 1865, 1805, 1867, 1807, 1870, - /* 530 */ 1872, 1837, 1825, 1835, 1875, 1846, 1836, 1839, 1879, 1851, - /* 540 */ 1849, 1850, 1882, 1853, 1884, 1854, 1855, 1856, 1857, 1859, - /* 550 */ 1877, 1860, 1893, 1858, 1861, 1895, 1896, 1898, 1902, 1862, - /* 560 */ 1722, 1910, 1857, 1863, 1911, 1913, 1866, 1915, 1917, 1883, - /* 570 */ 1868, 1888, 1929, 1894, 1881, 1891, 1934, 1899, 1890, 1897, - /* 580 */ 1938, 1905, 1892, 1903, 1944, 1946, 1948, 1950, 1951, 1952, - /* 590 */ 1864, 1869, 1916, 1932, 1961, 1919, 1920, 1921, 1922, 1925, - /* 600 */ 1926, 1928, 1933, 1935, 1936, 1937, 1949, 1939, 1970, 1953, - /* 610 */ 1972, 1957, 1930, 1978, 1959, 1945, 1984, 1988, 1989, 1963, - /* 620 */ 1996, 1964, 1998, 1980, 1983, 1967, 1969, 1979, 1912, 1904, - /* 630 */ 2022, 1871, 1918, 1821, 1857, 1975, 2025, 1873, 1991, 2004, - /* 640 */ 2029, 1874, 2008, 1878, 1880, 2031, 2033, 1885, 1889, 1886, - /* 650 */ 1901, 2032, 2001, 1769, 1940, 1942, 1947, 1990, 1954, 1992, - /* 660 */ 1955, 1958, 2005, 2010, 1960, 1962, 1965, 1966, 1982, 2014, - /* 670 */ 2013, 2024, 1971, 2021, 1786, 1985, 1987, 2072, 2048, 1827, - /* 680 */ 2058, 2059, 2060, 2061, 2065, 2066, 2015, 2017, 2075, 1900, - /* 690 */ 2081, 2076, 2126, 2129, 2026, 2090, 2034, 2037, 2038, 2040, - /* 700 */ 2042, 1974, 2043, 2151, 2110, 1993, 2049, 2045, 1857, 2107, - /* 710 */ 2124, 2063, 1914, 2067, 2161, 2142, 1943, 2064, 2068, 2070, - /* 720 */ 2071, 2074, 2077, 2122, 2079, 2080, 2123, 2082, 2158, 1981, - /* 730 */ 2087, 2092, 2088, 2136, 2144, 2100, 2103, 2145, 2105, 2106, - /* 740 */ 2149, 2108, 2109, 2174, 2111, 2113, 2177, 2116, 2117, 2185, - /* 750 */ 2119, 2099, 2102, 2112, 2115, 2121, 2154, 2127, 2190, 2128, - /* 760 */ 2154, 2154, 2212, 2164, 2167, 2199, 2202, 2207, 2214, 2216, - /* 770 */ 2217, 2218, 2220, 2182, 2171, 2227, 2241, 2243, 2244, 2260, - /* 780 */ 2249, 2250, 2251, 2213, 1933, 2252, 1935, 2254, 2255, 2256, - /* 790 */ 2257, 2273, 2259, 2298, 2263, 2253, 2261, 2301, 2265, 2258, - /* 800 */ 2264, 2305, 2270, 2262, 2266, 2310, 2274, 2267, 2272, 2315, - /* 810 */ 2279, 2280, 2319, 2302, 2287, 2312, 2311, 2313, 2314, 2320, - /* 820 */ 2322, + /* 0 */ 1254, 0, 235, 0, 471, 471, 471, 471, 471, 471, + /* 10 */ 471, 471, 471, 471, 471, 471, 706, 941, 941, 1176, + /* 20 */ 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, + /* 30 */ 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, + /* 40 */ 941, 941, 941, 941, 941, 941, 941, 941, 941, 941, + /* 50 */ 941, 87, 117, 581, 86, 39, 78, 39, 39, 86, + /* 60 */ 86, 39, 1416, 39, 1416, 1416, 170, 39, 48, 165, + /* 70 */ 344, 344, 165, 53, 53, 51, 270, 423, 423, 344, + /* 80 */ 344, 344, 344, 344, 344, 344, 344, 344, 344, 406, + /* 90 */ 416, 344, 344, 375, 48, 344, 406, 344, 561, 48, + /* 100 */ 344, 344, 48, 344, 344, 48, 344, 48, 48, 48, + /* 110 */ 344, 573, 234, 196, 196, 473, 54, 574, 574, 574, + /* 120 */ 574, 574, 574, 574, 574, 574, 574, 574, 574, 574, + /* 130 */ 574, 574, 574, 574, 574, 574, 1098, 316, 51, 270, + /* 140 */ 981, 981, 494, 335, 335, 335, 34, 478, 478, 494, + /* 150 */ 375, 667, 48, 48, 620, 48, 812, 48, 812, 812, + /* 160 */ 793, 842, 7, 37, 37, 37, 37, 37, 37, 37, + /* 170 */ 37, 1088, 431, 21, 47, 15, 380, 231, 188, 237, + /* 180 */ 237, 493, 321, 867, 479, 513, 1081, 530, 133, 626, + /* 190 */ 814, 870, 144, 1001, 870, 1055, 847, 905, 1123, 1342, + /* 200 */ 1376, 1192, 375, 1376, 375, 1242, 1415, 1403, 1432, 1415, + /* 210 */ 1403, 1286, 1442, 1415, 1442, 1403, 1286, 1286, 1367, 1373, + /* 220 */ 1442, 1387, 1442, 1442, 1442, 1471, 1446, 1471, 1446, 1376, + /* 230 */ 375, 375, 1491, 375, 1492, 1500, 375, 1492, 375, 1512, + /* 240 */ 375, 375, 1442, 375, 1471, 48, 48, 48, 48, 48, + /* 250 */ 48, 48, 48, 48, 48, 48, 1442, 7, 7, 1471, + /* 260 */ 812, 812, 812, 1353, 1478, 1376, 573, 1570, 1394, 1399, + /* 270 */ 1491, 573, 1123, 1442, 1432, 1432, 812, 1333, 1336, 812, + /* 280 */ 1333, 1336, 812, 812, 48, 1338, 1433, 1333, 1346, 1349, + /* 290 */ 1358, 1123, 1351, 1357, 1348, 1374, 1415, 1627, 1533, 1386, + /* 300 */ 1492, 573, 573, 1336, 812, 812, 812, 812, 812, 1336, + /* 310 */ 812, 1476, 573, 793, 573, 1415, 1587, 1592, 812, 842, + /* 320 */ 1442, 573, 1683, 1672, 1471, 2988, 2988, 2988, 2988, 2988, + /* 330 */ 2988, 2988, 2988, 2988, 36, 798, 65, 319, 1196, 426, + /* 340 */ 665, 614, 777, 861, 977, 886, 1494, 1494, 1494, 1494, + /* 350 */ 1494, 1494, 1494, 1494, 1494, 483, 1135, 457, 719, 953, + /* 360 */ 953, 84, 382, 11, 635, 387, 818, 748, 866, 866, + /* 370 */ 915, 1012, 791, 915, 915, 915, 1105, 738, 1093, 1193, + /* 380 */ 1100, 113, 1157, 1032, 1033, 1083, 1101, 1129, 1189, 1197, + /* 390 */ 1220, 1230, 1004, 1131, 1201, 1158, 1217, 1222, 1229, 1107, + /* 400 */ 1019, 1102, 1236, 1247, 1250, 1256, 1273, 1280, 1255, 1318, + /* 410 */ 1076, 1319, 1168, 1325, 1330, 1331, 1340, 1341, 1343, 35, + /* 420 */ 685, 1231, 1245, 1279, 1224, 262, 1735, 1738, 1739, 1696, + /* 430 */ 1740, 1706, 1529, 1710, 1718, 1723, 1542, 1762, 1727, 1728, + /* 440 */ 1547, 1769, 1553, 1773, 1737, 1775, 1754, 1777, 1741, 1565, + /* 450 */ 1780, 1579, 1785, 1584, 1585, 1594, 1597, 1787, 1791, 1792, + /* 460 */ 1604, 1606, 1798, 1806, 1759, 1809, 1778, 1761, 1810, 1767, + /* 470 */ 1817, 1776, 1823, 1831, 1833, 1786, 1834, 1837, 1840, 1841, + /* 480 */ 1842, 1845, 1686, 1811, 1847, 1690, 1852, 1853, 1864, 1865, + /* 490 */ 1866, 1867, 1868, 1869, 1870, 1871, 1873, 1875, 1877, 1878, + /* 500 */ 1887, 1888, 1843, 1889, 1846, 1890, 1893, 1894, 1895, 1896, + /* 510 */ 1897, 1899, 1879, 1900, 1902, 1903, 1763, 1904, 1905, 1884, + /* 520 */ 1858, 1892, 1859, 1910, 1848, 1880, 1915, 1854, 1916, 1855, + /* 530 */ 1920, 1921, 1885, 1872, 1882, 1926, 1891, 1883, 1898, 1929, + /* 540 */ 1901, 1886, 1906, 1930, 1907, 1931, 1909, 1908, 1912, 1911, + /* 550 */ 1913, 1922, 1917, 1935, 1914, 1919, 1941, 1942, 1943, 1946, + /* 560 */ 1932, 1765, 1947, 1911, 1927, 1955, 1956, 1881, 1958, 1959, + /* 570 */ 1940, 1928, 1936, 1964, 1944, 1934, 1948, 1983, 1949, 1937, + /* 580 */ 1950, 1984, 1963, 1953, 1951, 2005, 2006, 2007, 2009, 2010, + /* 590 */ 2011, 1918, 1923, 1966, 1990, 2014, 1979, 1980, 1981, 1982, + /* 600 */ 1986, 1987, 1988, 1993, 1994, 1992, 1995, 1999, 1996, 2030, + /* 610 */ 2013, 2036, 2015, 1985, 2040, 2020, 2008, 2044, 2046, 2047, + /* 620 */ 2012, 2050, 2016, 2051, 2032, 2039, 2019, 2024, 2025, 1965, + /* 630 */ 1967, 2073, 1938, 1970, 1876, 1911, 2028, 2078, 1939, 2042, + /* 640 */ 2060, 2084, 1924, 2064, 1960, 1957, 2087, 2088, 1969, 1971, + /* 650 */ 1972, 1973, 2086, 2057, 1828, 2001, 1991, 2004, 2041, 2045, + /* 660 */ 2058, 2017, 2038, 2077, 2081, 2043, 2018, 2055, 2056, 2049, + /* 670 */ 2082, 2062, 2067, 2059, 2089, 1925, 2061, 2063, 2144, 2117, + /* 680 */ 1954, 2115, 2119, 2125, 2126, 2128, 2129, 2066, 2068, 2121, + /* 690 */ 1945, 2135, 2127, 2175, 2177, 2074, 2136, 2075, 2079, 2083, + /* 700 */ 2076, 2085, 2021, 2103, 2183, 2142, 2034, 2105, 2098, 1911, + /* 710 */ 2138, 2155, 2112, 1975, 2113, 2189, 2170, 1998, 2114, 2111, + /* 720 */ 2116, 2123, 2120, 2124, 2169, 2122, 2130, 2171, 2137, 2209, + /* 730 */ 2022, 2131, 2118, 2139, 2210, 2211, 2141, 2147, 2215, 2157, + /* 740 */ 2154, 2226, 2160, 2161, 2231, 2173, 2174, 2238, 2176, 2178, + /* 750 */ 2242, 2180, 2156, 2162, 2163, 2165, 2181, 2250, 2182, 2255, + /* 760 */ 2188, 2250, 2250, 2272, 2224, 2227, 2261, 2262, 2263, 2264, + /* 770 */ 2265, 2266, 2268, 2269, 2230, 2205, 2275, 2273, 2274, 2276, + /* 780 */ 2292, 2279, 2280, 2282, 2243, 1993, 2284, 1994, 2285, 2286, + /* 790 */ 2287, 2289, 2293, 2290, 2328, 2294, 2283, 2291, 2329, 2298, + /* 800 */ 2288, 2296, 2336, 2303, 2295, 2299, 2342, 2306, 2297, 2302, + /* 810 */ 2345, 2313, 2315, 2354, 2333, 2323, 2335, 2337, 2339, 2340, + /* 820 */ 2338, 2343, }; #define YY_REDUCE_COUNT (333) -#define YY_REDUCE_MIN (-454) -#define YY_REDUCE_MAX (2551) +#define YY_REDUCE_MIN (-412) +#define YY_REDUCE_MAX (2540) static const short yy_reduce_ofst[] = { - /* 0 */ -272, 142, 376, 413, -84, 611, 648, 761, 936, 1083, - /* 10 */ 1118, 1172, 1207, 1236, 1299, 1364, 236, 481, 1393, 1415, - /* 20 */ 1482, 1551, 1571, 1643, 1665, 1676, 1694, 1757, 1806, 1822, - /* 30 */ 1833, 1887, 1941, 1956, 1995, 2020, 2084, 2101, 2135, 2150, - /* 40 */ 2166, 2268, 2284, 2300, 2376, 2392, 2441, 2457, 2520, 2536, - /* 50 */ 2551, -169, -210, 133, -315, 540, 550, 642, 656, 421, - /* 60 */ 781, 658, -108, -285, -370, -184, 122, 487, 245, -395, - /* 70 */ -350, -158, -131, -346, 181, -189, 161, -78, -42, -317, - /* 80 */ -9, 241, 251, -220, 213, 375, 451, 476, 272, 544, - /* 90 */ -107, 513, 536, -347, 106, 624, 549, 627, 246, 338, - /* 100 */ 637, 641, 635, 673, 710, 360, 741, 683, 825, 846, - /* 110 */ 783, -92, -179, -454, -454, 200, -333, 193, 198, 292, - /* 120 */ 322, 377, 505, 517, 621, 625, 638, 647, 667, 680, - /* 130 */ 681, 690, 717, 760, 768, 791, -243, 61, -351, 206, - /* 140 */ 479, 628, 617, 61, 153, 408, -318, -89, -27, 785, - /* 150 */ 835, 463, 43, 158, 736, 247, 793, 249, 817, 833, - /* 160 */ 851, 862, 691, -375, 354, 529, 745, 755, 826, 938, - /* 170 */ 755, 323, 948, 982, 923, 837, 852, 977, 860, 966, - /* 180 */ 967, 956, 926, 956, 996, 947, 1003, 1006, 969, 943, - /* 190 */ 953, 902, 902, 884, 902, 914, 915, 956, 971, 986, - /* 200 */ 1000, 989, 1059, 1001, 1066, 1012, 1081, 1039, 1040, 1089, - /* 210 */ 1044, 1047, 1096, 1098, 1100, 1053, 1056, 1057, 1094, 1101, - /* 220 */ 1110, 1114, 1122, 1123, 1127, 1135, 1134, 1137, 1136, 1062, - /* 230 */ 1125, 1128, 1093, 1129, 1138, 1079, 1139, 1141, 1140, 1091, - /* 240 */ 1142, 1143, 1146, 1144, 1161, 1147, 1148, 1149, 1153, 1154, - /* 250 */ 1155, 1158, 1160, 1162, 1163, 1164, 1165, 1166, 1167, 1170, - /* 260 */ 1109, 1169, 1176, 1103, 1113, 1117, 1187, 1124, 1130, 1156, - /* 270 */ 1175, 1205, 1168, 1219, 1177, 1178, 1181, 1105, 1179, 1190, - /* 280 */ 1119, 1182, 1191, 1193, 956, 1115, 1120, 1131, 1152, 1145, - /* 290 */ 1183, 1184, 1107, 1132, 1116, 902, 1268, 1195, 1173, 1185, - /* 300 */ 1281, 1273, 1274, 1226, 1243, 1256, 1261, 1263, 1265, 1229, - /* 310 */ 1266, 1259, 1301, 1287, 1307, 1317, 1225, 1286, 1288, 1316, - /* 320 */ 1330, 1325, 1343, 1347, 1344, 1282, 1271, 1291, 1294, 1321, - /* 330 */ 1323, 1326, 1335, 1367, + /* 0 */ -272, 143, -84, 194, 377, 469, 613, 650, 940, 1086, + /* 10 */ 1137, 1241, 1278, 1309, 1360, 1385, 1414, 248, 1439, 1528, + /* 20 */ 718, 453, 889, 1116, 1554, 1623, 1658, 1684, 1695, 1760, + /* 30 */ 1797, 1814, 1829, 1933, 1952, 1968, 2003, 2070, 2095, 2146, + /* 40 */ 2172, 2197, 2267, 2278, 2348, 2397, 2412, 2491, 2506, 2517, + /* 50 */ 2540, -169, -210, 542, -46, 28, 312, 737, 752, 205, + /* 60 */ 848, 874, -108, -285, -371, -299, -145, -88, -360, -396, + /* 70 */ -180, -158, -263, -350, -345, -122, -182, 71, 140, -318, + /* 80 */ -31, 161, 173, -349, 16, 199, 252, 306, 169, 132, + /* 90 */ 314, 388, 390, -278, 182, 404, 305, 439, -37, 215, + /* 100 */ 485, 489, -97, 515, 627, 240, 639, 541, 402, 594, + /* 110 */ 660, -72, -98, -412, -412, -12, 351, 66, 142, 192, + /* 120 */ 213, 233, 340, 391, 412, 419, 428, 433, 440, 495, + /* 130 */ 520, 563, 578, 580, 683, 687, 519, -276, 447, -326, + /* 140 */ 702, 707, 674, -276, 129, 417, 97, 354, 579, 703, + /* 150 */ 675, 638, 597, 676, 628, 713, 371, 701, 727, 728, + /* 160 */ 749, 724, 763, -386, 656, 673, 693, 730, 839, 855, + /* 170 */ 730, 822, 877, 914, 857, 771, 783, 916, 809, 920, + /* 180 */ 923, 919, 893, 919, 967, 938, 992, 993, 961, 943, + /* 190 */ 963, 900, 900, 884, 900, 918, 917, 919, 973, 959, + /* 200 */ 971, 970, 1058, 998, 1067, 1014, 1085, 1046, 1047, 1099, + /* 210 */ 1051, 1059, 1108, 1106, 1109, 1062, 1065, 1066, 1113, 1118, + /* 220 */ 1128, 1121, 1133, 1134, 1136, 1146, 1144, 1149, 1147, 1070, + /* 230 */ 1139, 1140, 1115, 1151, 1161, 1120, 1159, 1167, 1170, 1127, + /* 240 */ 1177, 1178, 1185, 1181, 1198, 1163, 1164, 1165, 1169, 1179, + /* 250 */ 1180, 1182, 1183, 1184, 1186, 1188, 1199, 1205, 1215, 1221, + /* 260 */ 1190, 1191, 1195, 1142, 1145, 1171, 1223, 1166, 1173, 1187, + /* 270 */ 1203, 1240, 1200, 1248, 1206, 1207, 1208, 1130, 1204, 1213, + /* 280 */ 1138, 1209, 1226, 1227, 919, 1148, 1141, 1150, 1154, 1162, + /* 290 */ 1160, 1214, 1143, 1155, 1175, 900, 1289, 1210, 1202, 1219, + /* 300 */ 1293, 1291, 1299, 1253, 1270, 1271, 1272, 1274, 1275, 1258, + /* 310 */ 1276, 1282, 1316, 1306, 1317, 1334, 1239, 1312, 1301, 1327, + /* 320 */ 1347, 1344, 1363, 1361, 1365, 1295, 1294, 1313, 1314, 1352, + /* 330 */ 1354, 1355, 1364, 1370, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 10 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 20 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 30 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 40 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 50 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 60 */ 1825, 2143, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 70 */ 1825, 1825, 1825, 1825, 1825, 2116, 1825, 1825, 1825, 1825, - /* 80 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 90 */ 1825, 1825, 1825, 1921, 1825, 1825, 1825, 1825, 1825, 1825, - /* 100 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 110 */ 1825, 1919, 2109, 2340, 1825, 1825, 1825, 1825, 1825, 1825, - /* 120 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 130 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 2352, 1825, 1825, - /* 140 */ 1895, 1895, 1825, 2352, 2352, 2352, 1919, 2312, 2312, 1825, - /* 150 */ 1921, 2181, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 160 */ 2041, 1825, 1855, 1825, 1825, 1825, 1825, 2065, 1825, 1825, - /* 170 */ 1825, 2169, 1825, 1825, 2381, 2438, 1825, 1825, 2384, 1825, - /* 180 */ 1825, 1825, 1825, 1825, 1825, 2121, 1825, 1825, 1994, 2163, - /* 190 */ 2371, 2344, 2358, 2422, 2345, 2342, 2365, 1825, 2375, 1825, - /* 200 */ 1825, 2195, 1921, 1825, 1921, 2156, 1825, 2114, 1825, 1825, - /* 210 */ 2114, 2111, 1825, 1825, 1825, 2114, 2111, 2111, 1983, 1979, - /* 220 */ 1825, 1977, 1825, 1825, 1825, 1825, 1879, 1825, 1879, 1825, - /* 230 */ 1921, 1921, 1825, 1921, 1825, 1825, 1921, 1825, 1921, 1825, - /* 240 */ 1921, 1921, 1825, 1921, 1825, 1825, 1825, 1825, 1825, 1825, - /* 250 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 260 */ 1825, 1825, 1825, 2193, 2179, 1825, 1919, 1825, 2167, 2165, - /* 270 */ 1825, 1919, 2375, 1825, 1825, 1825, 1825, 2392, 2390, 1825, - /* 280 */ 2392, 2390, 1825, 1825, 1825, 2406, 2402, 2392, 2411, 2408, - /* 290 */ 2377, 2375, 2441, 2428, 2424, 2358, 1825, 1825, 2363, 2361, - /* 300 */ 1825, 1919, 1919, 2390, 1825, 1825, 1825, 1825, 1825, 2390, - /* 310 */ 1825, 1825, 1919, 1825, 1919, 1825, 1825, 2010, 1825, 1825, - /* 320 */ 1825, 1919, 1825, 1864, 1825, 2158, 2184, 2139, 2139, 2044, - /* 330 */ 2044, 2044, 1922, 1830, 1825, 1825, 1825, 1825, 1825, 1825, - /* 340 */ 1825, 1825, 1825, 1825, 1825, 1825, 2405, 2404, 2267, 1825, - /* 350 */ 2316, 2315, 2314, 2305, 2266, 2006, 1825, 1825, 2265, 2264, - /* 360 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 2130, 2129, - /* 370 */ 2258, 1825, 1825, 2259, 2257, 2256, 1825, 1825, 1825, 1825, - /* 380 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 390 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 400 */ 2425, 2429, 1825, 1825, 1825, 1825, 1825, 1825, 2341, 1825, - /* 410 */ 1825, 1825, 2239, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 420 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 430 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 440 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 450 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 460 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 470 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 480 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 490 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 500 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 510 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 520 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 530 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 540 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1869, 2245, 1825, - /* 550 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 560 */ 1825, 1825, 2248, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 570 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 580 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 590 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 600 */ 1825, 1825, 1960, 1959, 1825, 1825, 1825, 1825, 1825, 1825, - /* 610 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 620 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 2249, 1825, - /* 630 */ 1825, 1825, 1825, 1825, 2241, 1825, 1825, 1825, 1825, 1825, - /* 640 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 650 */ 1825, 2421, 2378, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 660 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 670 */ 1825, 2239, 1825, 2403, 1825, 1825, 2419, 1825, 2423, 1825, - /* 680 */ 1825, 1825, 1825, 1825, 1825, 1825, 2351, 2347, 1825, 1825, - /* 690 */ 2343, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 700 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 2238, 1825, - /* 710 */ 2302, 1825, 1825, 1825, 2336, 1825, 1825, 2287, 1825, 1825, - /* 720 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 2249, 1825, 2252, - /* 730 */ 1825, 1825, 1825, 1825, 1825, 2038, 1825, 1825, 1825, 1825, - /* 740 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 750 */ 1825, 2022, 2020, 2019, 2018, 1825, 2051, 1825, 1825, 1825, - /* 760 */ 2047, 2046, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 770 */ 1825, 1825, 1825, 1825, 1825, 1940, 1825, 1825, 1825, 1825, - /* 780 */ 1825, 1825, 1825, 1825, 1932, 1825, 1931, 1825, 1825, 1825, - /* 790 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 800 */ 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, 1825, - /* 810 */ 1825, 1825, 1825, 1825, 1854, 1825, 1825, 1825, 1825, 1825, - /* 820 */ 1825, + /* 0 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 10 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 20 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 30 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 40 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 50 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 60 */ 1827, 2146, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 70 */ 1827, 1827, 1827, 1827, 1827, 2119, 1827, 1827, 1827, 1827, + /* 80 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 90 */ 1827, 1827, 1827, 1923, 1827, 1827, 1827, 1827, 1827, 1827, + /* 100 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 110 */ 1827, 1921, 2112, 2343, 1827, 1827, 1827, 1827, 1827, 1827, + /* 120 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 130 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2355, 1827, 1827, + /* 140 */ 1897, 1897, 1827, 2355, 2355, 2355, 1921, 2315, 2315, 1827, + /* 150 */ 1923, 2184, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 160 */ 2043, 1827, 1857, 1827, 1827, 1827, 1827, 2067, 1827, 1827, + /* 170 */ 1827, 2172, 1827, 1827, 2384, 2441, 1827, 1827, 2387, 1827, + /* 180 */ 1827, 1827, 1827, 1827, 1827, 2124, 1827, 1827, 1996, 2166, + /* 190 */ 2374, 2347, 2361, 2425, 2348, 2345, 2368, 1827, 2378, 1827, + /* 200 */ 1827, 2198, 1923, 1827, 1923, 2159, 1827, 2117, 1827, 1827, + /* 210 */ 2117, 2114, 1827, 1827, 1827, 2117, 2114, 2114, 1985, 1981, + /* 220 */ 1827, 1979, 1827, 1827, 1827, 1827, 1881, 1827, 1881, 1827, + /* 230 */ 1923, 1923, 1827, 1923, 1827, 1827, 1923, 1827, 1923, 1827, + /* 240 */ 1923, 1923, 1827, 1923, 1827, 1827, 1827, 1827, 1827, 1827, + /* 250 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 260 */ 1827, 1827, 1827, 2196, 2182, 1827, 1921, 1827, 2170, 2168, + /* 270 */ 1827, 1921, 2378, 1827, 1827, 1827, 1827, 2395, 2393, 1827, + /* 280 */ 2395, 2393, 1827, 1827, 1827, 2409, 2405, 2395, 2414, 2411, + /* 290 */ 2380, 2378, 2444, 2431, 2427, 2361, 1827, 1827, 2366, 2364, + /* 300 */ 1827, 1921, 1921, 2393, 1827, 1827, 1827, 1827, 1827, 2393, + /* 310 */ 1827, 1827, 1921, 1827, 1921, 1827, 1827, 2012, 1827, 1827, + /* 320 */ 1827, 1921, 1827, 1866, 1827, 2161, 2187, 2142, 2142, 2046, + /* 330 */ 2046, 2046, 1924, 1832, 1827, 1827, 1827, 1827, 1827, 1827, + /* 340 */ 1827, 1827, 1827, 1827, 1827, 1827, 2408, 2407, 2270, 1827, + /* 350 */ 2319, 2318, 2317, 2308, 2269, 2008, 1827, 1827, 1827, 2268, + /* 360 */ 2267, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2133, 2132, + /* 370 */ 2261, 1827, 1827, 2262, 2260, 2259, 1827, 1827, 1827, 1827, + /* 380 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 390 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 400 */ 2428, 2432, 1827, 1827, 1827, 1827, 1827, 1827, 2344, 1827, + /* 410 */ 1827, 1827, 2242, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 420 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 430 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 440 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 450 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 460 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 470 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 480 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 490 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 500 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 510 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 520 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 530 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 540 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1871, 2248, + /* 550 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 560 */ 1827, 1827, 1827, 2251, 1827, 1827, 1827, 1827, 1827, 1827, + /* 570 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 580 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 590 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 600 */ 1827, 1827, 1827, 1962, 1961, 1827, 1827, 1827, 1827, 1827, + /* 610 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 620 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2252, + /* 630 */ 1827, 1827, 1827, 1827, 1827, 2244, 1827, 1827, 1827, 1827, + /* 640 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 650 */ 1827, 1827, 2424, 2381, 1827, 1827, 1827, 1827, 1827, 1827, + /* 660 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 670 */ 1827, 1827, 2242, 1827, 2406, 1827, 1827, 2422, 1827, 2426, + /* 680 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2354, 2350, 1827, + /* 690 */ 1827, 2346, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 700 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2241, + /* 710 */ 1827, 2305, 1827, 1827, 1827, 2339, 1827, 1827, 2290, 1827, + /* 720 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 2252, 1827, + /* 730 */ 2255, 1827, 1827, 1827, 1827, 1827, 2040, 1827, 1827, 1827, + /* 740 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 750 */ 1827, 1827, 2024, 2022, 2021, 2020, 1827, 2053, 1827, 1827, + /* 760 */ 1827, 2049, 2048, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 770 */ 1827, 1827, 1827, 1827, 1827, 1827, 1942, 1827, 1827, 1827, + /* 780 */ 1827, 1827, 1827, 1827, 1827, 1934, 1827, 1933, 1827, 1827, + /* 790 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 800 */ 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, 1827, + /* 810 */ 1827, 1827, 1827, 1827, 1827, 1856, 1827, 1827, 1827, 1827, + /* 820 */ 1827, 1827, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1190,7 +1188,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* BWLIMIT => nothing */ 0, /* START => nothing */ 0, /* TIMESTAMP => nothing */ - 290, /* END => ABORT */ + 291, /* END => ABORT */ 0, /* TABLE => nothing */ 0, /* NK_LP => nothing */ 0, /* NK_RP => nothing */ @@ -1257,6 +1255,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* SUBSCRIPTIONS => nothing */ 0, /* VNODES => nothing */ 0, /* ALIVE => nothing */ + 0, /* VIEWS => nothing */ 0, /* LIKE => nothing */ 0, /* TBNAME => nothing */ 0, /* QTAGS => nothing */ @@ -1287,7 +1286,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* BUFSIZE => nothing */ 0, /* LANGUAGE => nothing */ 0, /* REPLACE => nothing */ - 290, /* VIEW => ABORT */ + 291, /* VIEW => ABORT */ 0, /* STREAM => nothing */ 0, /* INTO => nothing */ 0, /* PAUSE => nothing */ @@ -1378,55 +1377,55 @@ static const YYCODETYPE yyFallback[] = { 0, /* ASC => nothing */ 0, /* NULLS => nothing */ 0, /* ABORT => nothing */ - 290, /* AFTER => ABORT */ - 290, /* ATTACH => ABORT */ - 290, /* BEFORE => ABORT */ - 290, /* BEGIN => ABORT */ - 290, /* BITAND => ABORT */ - 290, /* BITNOT => ABORT */ - 290, /* BITOR => ABORT */ - 290, /* BLOCKS => ABORT */ - 290, /* CHANGE => ABORT */ - 290, /* COMMA => ABORT */ - 290, /* CONCAT => ABORT */ - 290, /* CONFLICT => ABORT */ - 290, /* COPY => ABORT */ - 290, /* DEFERRED => ABORT */ - 290, /* DELIMITERS => ABORT */ - 290, /* DETACH => ABORT */ - 290, /* DIVIDE => ABORT */ - 290, /* DOT => ABORT */ - 290, /* EACH => ABORT */ - 290, /* FAIL => ABORT */ - 290, /* FILE => ABORT */ - 290, /* FOR => ABORT */ - 290, /* GLOB => ABORT */ - 290, /* ID => ABORT */ - 290, /* IMMEDIATE => ABORT */ - 290, /* IMPORT => ABORT */ - 290, /* INITIALLY => ABORT */ - 290, /* INSTEAD => ABORT */ - 290, /* ISNULL => ABORT */ - 290, /* KEY => ABORT */ - 290, /* MODULES => ABORT */ - 290, /* NK_BITNOT => ABORT */ - 290, /* NK_SEMI => ABORT */ - 290, /* NOTNULL => ABORT */ - 290, /* OF => ABORT */ - 290, /* PLUS => ABORT */ - 290, /* PRIVILEGE => ABORT */ - 290, /* RAISE => ABORT */ - 290, /* RESTRICT => ABORT */ - 290, /* ROW => ABORT */ - 290, /* SEMI => ABORT */ - 290, /* STAR => ABORT */ - 290, /* STATEMENT => ABORT */ - 290, /* STRICT => ABORT */ - 290, /* STRING => ABORT */ - 290, /* TIMES => ABORT */ - 290, /* VALUES => ABORT */ - 290, /* VARIABLE => ABORT */ - 290, /* WAL => ABORT */ + 291, /* AFTER => ABORT */ + 291, /* ATTACH => ABORT */ + 291, /* BEFORE => ABORT */ + 291, /* BEGIN => ABORT */ + 291, /* BITAND => ABORT */ + 291, /* BITNOT => ABORT */ + 291, /* BITOR => ABORT */ + 291, /* BLOCKS => ABORT */ + 291, /* CHANGE => ABORT */ + 291, /* COMMA => ABORT */ + 291, /* CONCAT => ABORT */ + 291, /* CONFLICT => ABORT */ + 291, /* COPY => ABORT */ + 291, /* DEFERRED => ABORT */ + 291, /* DELIMITERS => ABORT */ + 291, /* DETACH => ABORT */ + 291, /* DIVIDE => ABORT */ + 291, /* DOT => ABORT */ + 291, /* EACH => ABORT */ + 291, /* FAIL => ABORT */ + 291, /* FILE => ABORT */ + 291, /* FOR => ABORT */ + 291, /* GLOB => ABORT */ + 291, /* ID => ABORT */ + 291, /* IMMEDIATE => ABORT */ + 291, /* IMPORT => ABORT */ + 291, /* INITIALLY => ABORT */ + 291, /* INSTEAD => ABORT */ + 291, /* ISNULL => ABORT */ + 291, /* KEY => ABORT */ + 291, /* MODULES => ABORT */ + 291, /* NK_BITNOT => ABORT */ + 291, /* NK_SEMI => ABORT */ + 291, /* NOTNULL => ABORT */ + 291, /* OF => ABORT */ + 291, /* PLUS => ABORT */ + 291, /* PRIVILEGE => ABORT */ + 291, /* RAISE => ABORT */ + 291, /* RESTRICT => ABORT */ + 291, /* ROW => ABORT */ + 291, /* SEMI => ABORT */ + 291, /* STAR => ABORT */ + 291, /* STATEMENT => ABORT */ + 291, /* STRICT => ABORT */ + 291, /* STRING => ABORT */ + 291, /* TIMES => ABORT */ + 291, /* VALUES => ABORT */ + 291, /* VARIABLE => ABORT */ + 291, /* WAL => ABORT */ }; #endif /* YYFALLBACK */ @@ -1684,332 +1683,333 @@ static const char *const yyTokenName[] = { /* 167 */ "SUBSCRIPTIONS", /* 168 */ "VNODES", /* 169 */ "ALIVE", - /* 170 */ "LIKE", - /* 171 */ "TBNAME", - /* 172 */ "QTAGS", - /* 173 */ "AS", - /* 174 */ "INDEX", - /* 175 */ "FUNCTION", - /* 176 */ "INTERVAL", - /* 177 */ "COUNT", - /* 178 */ "LAST_ROW", - /* 179 */ "META", - /* 180 */ "ONLY", - /* 181 */ "TOPIC", - /* 182 */ "CONSUMER", - /* 183 */ "GROUP", - /* 184 */ "DESC", - /* 185 */ "DESCRIBE", - /* 186 */ "RESET", - /* 187 */ "QUERY", - /* 188 */ "CACHE", - /* 189 */ "EXPLAIN", - /* 190 */ "ANALYZE", - /* 191 */ "VERBOSE", - /* 192 */ "NK_BOOL", - /* 193 */ "RATIO", - /* 194 */ "NK_FLOAT", - /* 195 */ "OUTPUTTYPE", - /* 196 */ "AGGREGATE", - /* 197 */ "BUFSIZE", - /* 198 */ "LANGUAGE", - /* 199 */ "REPLACE", - /* 200 */ "VIEW", - /* 201 */ "STREAM", - /* 202 */ "INTO", - /* 203 */ "PAUSE", - /* 204 */ "RESUME", - /* 205 */ "TRIGGER", - /* 206 */ "AT_ONCE", - /* 207 */ "WINDOW_CLOSE", - /* 208 */ "IGNORE", - /* 209 */ "EXPIRED", - /* 210 */ "FILL_HISTORY", - /* 211 */ "UPDATE", - /* 212 */ "SUBTABLE", - /* 213 */ "UNTREATED", - /* 214 */ "KILL", - /* 215 */ "CONNECTION", - /* 216 */ "TRANSACTION", - /* 217 */ "BALANCE", - /* 218 */ "VGROUP", - /* 219 */ "LEADER", - /* 220 */ "MERGE", - /* 221 */ "REDISTRIBUTE", - /* 222 */ "SPLIT", - /* 223 */ "DELETE", - /* 224 */ "INSERT", - /* 225 */ "NULL", - /* 226 */ "NK_QUESTION", - /* 227 */ "NK_ARROW", - /* 228 */ "ROWTS", - /* 229 */ "QSTART", - /* 230 */ "QEND", - /* 231 */ "QDURATION", - /* 232 */ "WSTART", - /* 233 */ "WEND", - /* 234 */ "WDURATION", - /* 235 */ "IROWTS", - /* 236 */ "ISFILLED", - /* 237 */ "CAST", - /* 238 */ "NOW", - /* 239 */ "TODAY", - /* 240 */ "TIMEZONE", - /* 241 */ "CLIENT_VERSION", - /* 242 */ "SERVER_VERSION", - /* 243 */ "SERVER_STATUS", - /* 244 */ "CURRENT_USER", - /* 245 */ "CASE", - /* 246 */ "WHEN", - /* 247 */ "THEN", - /* 248 */ "ELSE", - /* 249 */ "BETWEEN", - /* 250 */ "IS", - /* 251 */ "NK_LT", - /* 252 */ "NK_GT", - /* 253 */ "NK_LE", - /* 254 */ "NK_GE", - /* 255 */ "NK_NE", - /* 256 */ "MATCH", - /* 257 */ "NMATCH", - /* 258 */ "CONTAINS", - /* 259 */ "IN", - /* 260 */ "JOIN", - /* 261 */ "INNER", - /* 262 */ "SELECT", - /* 263 */ "NK_HINT", - /* 264 */ "DISTINCT", - /* 265 */ "WHERE", - /* 266 */ "PARTITION", - /* 267 */ "BY", - /* 268 */ "SESSION", - /* 269 */ "STATE_WINDOW", - /* 270 */ "EVENT_WINDOW", - /* 271 */ "SLIDING", - /* 272 */ "FILL", - /* 273 */ "VALUE", - /* 274 */ "VALUE_F", - /* 275 */ "NONE", - /* 276 */ "PREV", - /* 277 */ "NULL_F", - /* 278 */ "LINEAR", - /* 279 */ "NEXT", - /* 280 */ "HAVING", - /* 281 */ "RANGE", - /* 282 */ "EVERY", - /* 283 */ "ORDER", - /* 284 */ "SLIMIT", - /* 285 */ "SOFFSET", - /* 286 */ "LIMIT", - /* 287 */ "OFFSET", - /* 288 */ "ASC", - /* 289 */ "NULLS", - /* 290 */ "ABORT", - /* 291 */ "AFTER", - /* 292 */ "ATTACH", - /* 293 */ "BEFORE", - /* 294 */ "BEGIN", - /* 295 */ "BITAND", - /* 296 */ "BITNOT", - /* 297 */ "BITOR", - /* 298 */ "BLOCKS", - /* 299 */ "CHANGE", - /* 300 */ "COMMA", - /* 301 */ "CONCAT", - /* 302 */ "CONFLICT", - /* 303 */ "COPY", - /* 304 */ "DEFERRED", - /* 305 */ "DELIMITERS", - /* 306 */ "DETACH", - /* 307 */ "DIVIDE", - /* 308 */ "DOT", - /* 309 */ "EACH", - /* 310 */ "FAIL", - /* 311 */ "FILE", - /* 312 */ "FOR", - /* 313 */ "GLOB", - /* 314 */ "ID", - /* 315 */ "IMMEDIATE", - /* 316 */ "IMPORT", - /* 317 */ "INITIALLY", - /* 318 */ "INSTEAD", - /* 319 */ "ISNULL", - /* 320 */ "KEY", - /* 321 */ "MODULES", - /* 322 */ "NK_BITNOT", - /* 323 */ "NK_SEMI", - /* 324 */ "NOTNULL", - /* 325 */ "OF", - /* 326 */ "PLUS", - /* 327 */ "PRIVILEGE", - /* 328 */ "RAISE", - /* 329 */ "RESTRICT", - /* 330 */ "ROW", - /* 331 */ "SEMI", - /* 332 */ "STAR", - /* 333 */ "STATEMENT", - /* 334 */ "STRICT", - /* 335 */ "STRING", - /* 336 */ "TIMES", - /* 337 */ "VALUES", - /* 338 */ "VARIABLE", - /* 339 */ "WAL", - /* 340 */ "cmd", - /* 341 */ "account_options", - /* 342 */ "alter_account_options", - /* 343 */ "literal", - /* 344 */ "alter_account_option", - /* 345 */ "ip_range_list", - /* 346 */ "white_list", - /* 347 */ "white_list_opt", - /* 348 */ "user_name", - /* 349 */ "sysinfo_opt", - /* 350 */ "privileges", - /* 351 */ "priv_level", - /* 352 */ "with_opt", - /* 353 */ "priv_type_list", - /* 354 */ "priv_type", - /* 355 */ "db_name", - /* 356 */ "table_name", - /* 357 */ "topic_name", - /* 358 */ "search_condition", - /* 359 */ "dnode_endpoint", - /* 360 */ "force_opt", - /* 361 */ "unsafe_opt", - /* 362 */ "not_exists_opt", - /* 363 */ "db_options", - /* 364 */ "exists_opt", - /* 365 */ "alter_db_options", - /* 366 */ "speed_opt", - /* 367 */ "start_opt", - /* 368 */ "end_opt", - /* 369 */ "integer_list", - /* 370 */ "variable_list", - /* 371 */ "retention_list", - /* 372 */ "signed", - /* 373 */ "alter_db_option", - /* 374 */ "retention", - /* 375 */ "full_table_name", - /* 376 */ "column_def_list", - /* 377 */ "tags_def_opt", - /* 378 */ "table_options", - /* 379 */ "multi_create_clause", - /* 380 */ "tags_def", - /* 381 */ "multi_drop_clause", - /* 382 */ "alter_table_clause", - /* 383 */ "alter_table_options", - /* 384 */ "column_name", - /* 385 */ "type_name", - /* 386 */ "signed_literal", - /* 387 */ "create_subtable_clause", - /* 388 */ "specific_cols_opt", - /* 389 */ "expression_list", - /* 390 */ "drop_table_clause", - /* 391 */ "col_name_list", - /* 392 */ "column_def", - /* 393 */ "duration_list", - /* 394 */ "rollup_func_list", - /* 395 */ "alter_table_option", - /* 396 */ "duration_literal", - /* 397 */ "rollup_func_name", - /* 398 */ "function_name", - /* 399 */ "col_name", - /* 400 */ "db_name_cond_opt", - /* 401 */ "like_pattern_opt", - /* 402 */ "table_name_cond", - /* 403 */ "from_db_opt", - /* 404 */ "tag_list_opt", - /* 405 */ "tag_item", - /* 406 */ "column_alias", - /* 407 */ "index_options", - /* 408 */ "full_index_name", - /* 409 */ "index_name", - /* 410 */ "func_list", - /* 411 */ "sliding_opt", - /* 412 */ "sma_stream_opt", - /* 413 */ "func", - /* 414 */ "sma_func_name", - /* 415 */ "with_meta", - /* 416 */ "query_or_subquery", - /* 417 */ "where_clause_opt", - /* 418 */ "cgroup_name", - /* 419 */ "analyze_opt", - /* 420 */ "explain_options", - /* 421 */ "insert_query", - /* 422 */ "or_replace_opt", - /* 423 */ "agg_func_opt", - /* 424 */ "bufsize_opt", - /* 425 */ "language_opt", - /* 426 */ "full_view_name", - /* 427 */ "view_name", - /* 428 */ "stream_name", - /* 429 */ "stream_options", - /* 430 */ "col_list_opt", - /* 431 */ "tag_def_or_ref_opt", - /* 432 */ "subtable_opt", - /* 433 */ "ignore_opt", - /* 434 */ "expression", - /* 435 */ "dnode_list", - /* 436 */ "literal_func", - /* 437 */ "literal_list", - /* 438 */ "table_alias", - /* 439 */ "expr_or_subquery", - /* 440 */ "pseudo_column", - /* 441 */ "column_reference", - /* 442 */ "function_expression", - /* 443 */ "case_when_expression", - /* 444 */ "star_func", - /* 445 */ "star_func_para_list", - /* 446 */ "noarg_func", - /* 447 */ "other_para_list", - /* 448 */ "star_func_para", - /* 449 */ "when_then_list", - /* 450 */ "case_when_else_opt", - /* 451 */ "common_expression", - /* 452 */ "when_then_expr", - /* 453 */ "predicate", - /* 454 */ "compare_op", - /* 455 */ "in_op", - /* 456 */ "in_predicate_value", - /* 457 */ "boolean_value_expression", - /* 458 */ "boolean_primary", - /* 459 */ "from_clause_opt", - /* 460 */ "table_reference_list", - /* 461 */ "table_reference", - /* 462 */ "table_primary", - /* 463 */ "joined_table", - /* 464 */ "alias_opt", - /* 465 */ "subquery", - /* 466 */ "parenthesized_joined_table", - /* 467 */ "join_type", - /* 468 */ "query_specification", - /* 469 */ "hint_list", - /* 470 */ "set_quantifier_opt", - /* 471 */ "tag_mode_opt", - /* 472 */ "select_list", - /* 473 */ "partition_by_clause_opt", - /* 474 */ "range_opt", - /* 475 */ "every_opt", - /* 476 */ "fill_opt", - /* 477 */ "twindow_clause_opt", - /* 478 */ "group_by_clause_opt", - /* 479 */ "having_clause_opt", - /* 480 */ "select_item", - /* 481 */ "partition_list", - /* 482 */ "partition_item", - /* 483 */ "fill_mode", - /* 484 */ "group_by_list", - /* 485 */ "query_expression", - /* 486 */ "query_simple", - /* 487 */ "order_by_clause_opt", - /* 488 */ "slimit_clause_opt", - /* 489 */ "limit_clause_opt", - /* 490 */ "union_query_expression", - /* 491 */ "query_simple_or_subquery", - /* 492 */ "sort_specification_list", - /* 493 */ "sort_specification", - /* 494 */ "ordering_specification_opt", - /* 495 */ "null_ordering_opt", + /* 170 */ "VIEWS", + /* 171 */ "LIKE", + /* 172 */ "TBNAME", + /* 173 */ "QTAGS", + /* 174 */ "AS", + /* 175 */ "INDEX", + /* 176 */ "FUNCTION", + /* 177 */ "INTERVAL", + /* 178 */ "COUNT", + /* 179 */ "LAST_ROW", + /* 180 */ "META", + /* 181 */ "ONLY", + /* 182 */ "TOPIC", + /* 183 */ "CONSUMER", + /* 184 */ "GROUP", + /* 185 */ "DESC", + /* 186 */ "DESCRIBE", + /* 187 */ "RESET", + /* 188 */ "QUERY", + /* 189 */ "CACHE", + /* 190 */ "EXPLAIN", + /* 191 */ "ANALYZE", + /* 192 */ "VERBOSE", + /* 193 */ "NK_BOOL", + /* 194 */ "RATIO", + /* 195 */ "NK_FLOAT", + /* 196 */ "OUTPUTTYPE", + /* 197 */ "AGGREGATE", + /* 198 */ "BUFSIZE", + /* 199 */ "LANGUAGE", + /* 200 */ "REPLACE", + /* 201 */ "VIEW", + /* 202 */ "STREAM", + /* 203 */ "INTO", + /* 204 */ "PAUSE", + /* 205 */ "RESUME", + /* 206 */ "TRIGGER", + /* 207 */ "AT_ONCE", + /* 208 */ "WINDOW_CLOSE", + /* 209 */ "IGNORE", + /* 210 */ "EXPIRED", + /* 211 */ "FILL_HISTORY", + /* 212 */ "UPDATE", + /* 213 */ "SUBTABLE", + /* 214 */ "UNTREATED", + /* 215 */ "KILL", + /* 216 */ "CONNECTION", + /* 217 */ "TRANSACTION", + /* 218 */ "BALANCE", + /* 219 */ "VGROUP", + /* 220 */ "LEADER", + /* 221 */ "MERGE", + /* 222 */ "REDISTRIBUTE", + /* 223 */ "SPLIT", + /* 224 */ "DELETE", + /* 225 */ "INSERT", + /* 226 */ "NULL", + /* 227 */ "NK_QUESTION", + /* 228 */ "NK_ARROW", + /* 229 */ "ROWTS", + /* 230 */ "QSTART", + /* 231 */ "QEND", + /* 232 */ "QDURATION", + /* 233 */ "WSTART", + /* 234 */ "WEND", + /* 235 */ "WDURATION", + /* 236 */ "IROWTS", + /* 237 */ "ISFILLED", + /* 238 */ "CAST", + /* 239 */ "NOW", + /* 240 */ "TODAY", + /* 241 */ "TIMEZONE", + /* 242 */ "CLIENT_VERSION", + /* 243 */ "SERVER_VERSION", + /* 244 */ "SERVER_STATUS", + /* 245 */ "CURRENT_USER", + /* 246 */ "CASE", + /* 247 */ "WHEN", + /* 248 */ "THEN", + /* 249 */ "ELSE", + /* 250 */ "BETWEEN", + /* 251 */ "IS", + /* 252 */ "NK_LT", + /* 253 */ "NK_GT", + /* 254 */ "NK_LE", + /* 255 */ "NK_GE", + /* 256 */ "NK_NE", + /* 257 */ "MATCH", + /* 258 */ "NMATCH", + /* 259 */ "CONTAINS", + /* 260 */ "IN", + /* 261 */ "JOIN", + /* 262 */ "INNER", + /* 263 */ "SELECT", + /* 264 */ "NK_HINT", + /* 265 */ "DISTINCT", + /* 266 */ "WHERE", + /* 267 */ "PARTITION", + /* 268 */ "BY", + /* 269 */ "SESSION", + /* 270 */ "STATE_WINDOW", + /* 271 */ "EVENT_WINDOW", + /* 272 */ "SLIDING", + /* 273 */ "FILL", + /* 274 */ "VALUE", + /* 275 */ "VALUE_F", + /* 276 */ "NONE", + /* 277 */ "PREV", + /* 278 */ "NULL_F", + /* 279 */ "LINEAR", + /* 280 */ "NEXT", + /* 281 */ "HAVING", + /* 282 */ "RANGE", + /* 283 */ "EVERY", + /* 284 */ "ORDER", + /* 285 */ "SLIMIT", + /* 286 */ "SOFFSET", + /* 287 */ "LIMIT", + /* 288 */ "OFFSET", + /* 289 */ "ASC", + /* 290 */ "NULLS", + /* 291 */ "ABORT", + /* 292 */ "AFTER", + /* 293 */ "ATTACH", + /* 294 */ "BEFORE", + /* 295 */ "BEGIN", + /* 296 */ "BITAND", + /* 297 */ "BITNOT", + /* 298 */ "BITOR", + /* 299 */ "BLOCKS", + /* 300 */ "CHANGE", + /* 301 */ "COMMA", + /* 302 */ "CONCAT", + /* 303 */ "CONFLICT", + /* 304 */ "COPY", + /* 305 */ "DEFERRED", + /* 306 */ "DELIMITERS", + /* 307 */ "DETACH", + /* 308 */ "DIVIDE", + /* 309 */ "DOT", + /* 310 */ "EACH", + /* 311 */ "FAIL", + /* 312 */ "FILE", + /* 313 */ "FOR", + /* 314 */ "GLOB", + /* 315 */ "ID", + /* 316 */ "IMMEDIATE", + /* 317 */ "IMPORT", + /* 318 */ "INITIALLY", + /* 319 */ "INSTEAD", + /* 320 */ "ISNULL", + /* 321 */ "KEY", + /* 322 */ "MODULES", + /* 323 */ "NK_BITNOT", + /* 324 */ "NK_SEMI", + /* 325 */ "NOTNULL", + /* 326 */ "OF", + /* 327 */ "PLUS", + /* 328 */ "PRIVILEGE", + /* 329 */ "RAISE", + /* 330 */ "RESTRICT", + /* 331 */ "ROW", + /* 332 */ "SEMI", + /* 333 */ "STAR", + /* 334 */ "STATEMENT", + /* 335 */ "STRICT", + /* 336 */ "STRING", + /* 337 */ "TIMES", + /* 338 */ "VALUES", + /* 339 */ "VARIABLE", + /* 340 */ "WAL", + /* 341 */ "cmd", + /* 342 */ "account_options", + /* 343 */ "alter_account_options", + /* 344 */ "literal", + /* 345 */ "alter_account_option", + /* 346 */ "ip_range_list", + /* 347 */ "white_list", + /* 348 */ "white_list_opt", + /* 349 */ "user_name", + /* 350 */ "sysinfo_opt", + /* 351 */ "privileges", + /* 352 */ "priv_level", + /* 353 */ "with_opt", + /* 354 */ "priv_type_list", + /* 355 */ "priv_type", + /* 356 */ "db_name", + /* 357 */ "table_name", + /* 358 */ "topic_name", + /* 359 */ "search_condition", + /* 360 */ "dnode_endpoint", + /* 361 */ "force_opt", + /* 362 */ "unsafe_opt", + /* 363 */ "not_exists_opt", + /* 364 */ "db_options", + /* 365 */ "exists_opt", + /* 366 */ "alter_db_options", + /* 367 */ "speed_opt", + /* 368 */ "start_opt", + /* 369 */ "end_opt", + /* 370 */ "integer_list", + /* 371 */ "variable_list", + /* 372 */ "retention_list", + /* 373 */ "signed", + /* 374 */ "alter_db_option", + /* 375 */ "retention", + /* 376 */ "full_table_name", + /* 377 */ "column_def_list", + /* 378 */ "tags_def_opt", + /* 379 */ "table_options", + /* 380 */ "multi_create_clause", + /* 381 */ "tags_def", + /* 382 */ "multi_drop_clause", + /* 383 */ "alter_table_clause", + /* 384 */ "alter_table_options", + /* 385 */ "column_name", + /* 386 */ "type_name", + /* 387 */ "signed_literal", + /* 388 */ "create_subtable_clause", + /* 389 */ "specific_cols_opt", + /* 390 */ "expression_list", + /* 391 */ "drop_table_clause", + /* 392 */ "col_name_list", + /* 393 */ "column_def", + /* 394 */ "duration_list", + /* 395 */ "rollup_func_list", + /* 396 */ "alter_table_option", + /* 397 */ "duration_literal", + /* 398 */ "rollup_func_name", + /* 399 */ "function_name", + /* 400 */ "col_name", + /* 401 */ "db_name_cond_opt", + /* 402 */ "like_pattern_opt", + /* 403 */ "table_name_cond", + /* 404 */ "from_db_opt", + /* 405 */ "tag_list_opt", + /* 406 */ "tag_item", + /* 407 */ "column_alias", + /* 408 */ "index_options", + /* 409 */ "full_index_name", + /* 410 */ "index_name", + /* 411 */ "func_list", + /* 412 */ "sliding_opt", + /* 413 */ "sma_stream_opt", + /* 414 */ "func", + /* 415 */ "sma_func_name", + /* 416 */ "with_meta", + /* 417 */ "query_or_subquery", + /* 418 */ "where_clause_opt", + /* 419 */ "cgroup_name", + /* 420 */ "analyze_opt", + /* 421 */ "explain_options", + /* 422 */ "insert_query", + /* 423 */ "or_replace_opt", + /* 424 */ "agg_func_opt", + /* 425 */ "bufsize_opt", + /* 426 */ "language_opt", + /* 427 */ "full_view_name", + /* 428 */ "view_name", + /* 429 */ "stream_name", + /* 430 */ "stream_options", + /* 431 */ "col_list_opt", + /* 432 */ "tag_def_or_ref_opt", + /* 433 */ "subtable_opt", + /* 434 */ "ignore_opt", + /* 435 */ "expression", + /* 436 */ "dnode_list", + /* 437 */ "literal_func", + /* 438 */ "literal_list", + /* 439 */ "table_alias", + /* 440 */ "expr_or_subquery", + /* 441 */ "pseudo_column", + /* 442 */ "column_reference", + /* 443 */ "function_expression", + /* 444 */ "case_when_expression", + /* 445 */ "star_func", + /* 446 */ "star_func_para_list", + /* 447 */ "noarg_func", + /* 448 */ "other_para_list", + /* 449 */ "star_func_para", + /* 450 */ "when_then_list", + /* 451 */ "case_when_else_opt", + /* 452 */ "common_expression", + /* 453 */ "when_then_expr", + /* 454 */ "predicate", + /* 455 */ "compare_op", + /* 456 */ "in_op", + /* 457 */ "in_predicate_value", + /* 458 */ "boolean_value_expression", + /* 459 */ "boolean_primary", + /* 460 */ "from_clause_opt", + /* 461 */ "table_reference_list", + /* 462 */ "table_reference", + /* 463 */ "table_primary", + /* 464 */ "joined_table", + /* 465 */ "alias_opt", + /* 466 */ "subquery", + /* 467 */ "parenthesized_joined_table", + /* 468 */ "join_type", + /* 469 */ "query_specification", + /* 470 */ "hint_list", + /* 471 */ "set_quantifier_opt", + /* 472 */ "tag_mode_opt", + /* 473 */ "select_list", + /* 474 */ "partition_by_clause_opt", + /* 475 */ "range_opt", + /* 476 */ "every_opt", + /* 477 */ "fill_opt", + /* 478 */ "twindow_clause_opt", + /* 479 */ "group_by_clause_opt", + /* 480 */ "having_clause_opt", + /* 481 */ "select_item", + /* 482 */ "partition_list", + /* 483 */ "partition_item", + /* 484 */ "fill_mode", + /* 485 */ "group_by_list", + /* 486 */ "query_expression", + /* 487 */ "query_simple", + /* 488 */ "order_by_clause_opt", + /* 489 */ "slimit_clause_opt", + /* 490 */ "limit_clause_opt", + /* 491 */ "union_query_expression", + /* 492 */ "query_simple_or_subquery", + /* 493 */ "sort_specification_list", + /* 494 */ "sort_specification", + /* 495 */ "ordering_specification_opt", + /* 496 */ "null_ordering_opt", }; #endif /* defined(YYCOVERAGE) || !defined(NDEBUG) */ @@ -2298,341 +2298,342 @@ static const char *const yyRuleName[] = { /* 278 */ "cmd ::= SHOW VNODES", /* 279 */ "cmd ::= SHOW db_name_cond_opt ALIVE", /* 280 */ "cmd ::= SHOW CLUSTER ALIVE", - /* 281 */ "db_name_cond_opt ::=", - /* 282 */ "db_name_cond_opt ::= db_name NK_DOT", - /* 283 */ "like_pattern_opt ::=", - /* 284 */ "like_pattern_opt ::= LIKE NK_STRING", - /* 285 */ "table_name_cond ::= table_name", - /* 286 */ "from_db_opt ::=", - /* 287 */ "from_db_opt ::= FROM db_name", - /* 288 */ "tag_list_opt ::=", - /* 289 */ "tag_list_opt ::= tag_item", - /* 290 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", - /* 291 */ "tag_item ::= TBNAME", - /* 292 */ "tag_item ::= QTAGS", - /* 293 */ "tag_item ::= column_name", - /* 294 */ "tag_item ::= column_name column_alias", - /* 295 */ "tag_item ::= column_name AS column_alias", - /* 296 */ "cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options", - /* 297 */ "cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP", - /* 298 */ "cmd ::= DROP INDEX exists_opt full_index_name", - /* 299 */ "full_index_name ::= index_name", - /* 300 */ "full_index_name ::= db_name NK_DOT index_name", - /* 301 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", - /* 302 */ "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", - /* 303 */ "func_list ::= func", - /* 304 */ "func_list ::= func_list NK_COMMA func", - /* 305 */ "func ::= sma_func_name NK_LP expression_list NK_RP", - /* 306 */ "sma_func_name ::= function_name", - /* 307 */ "sma_func_name ::= COUNT", - /* 308 */ "sma_func_name ::= FIRST", - /* 309 */ "sma_func_name ::= LAST", - /* 310 */ "sma_func_name ::= LAST_ROW", - /* 311 */ "sma_stream_opt ::=", - /* 312 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", - /* 313 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", - /* 314 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", - /* 315 */ "with_meta ::= AS", - /* 316 */ "with_meta ::= WITH META AS", - /* 317 */ "with_meta ::= ONLY META AS", - /* 318 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", - /* 319 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name", - /* 320 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt", - /* 321 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 322 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 323 */ "cmd ::= DESC full_table_name", - /* 324 */ "cmd ::= DESCRIBE full_table_name", - /* 325 */ "cmd ::= RESET QUERY CACHE", - /* 326 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", - /* 327 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", - /* 328 */ "analyze_opt ::=", - /* 329 */ "analyze_opt ::= ANALYZE", - /* 330 */ "explain_options ::=", - /* 331 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 332 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 333 */ "cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", - /* 334 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 335 */ "agg_func_opt ::=", - /* 336 */ "agg_func_opt ::= AGGREGATE", - /* 337 */ "bufsize_opt ::=", - /* 338 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 339 */ "language_opt ::=", - /* 340 */ "language_opt ::= LANGUAGE NK_STRING", - /* 341 */ "or_replace_opt ::=", - /* 342 */ "or_replace_opt ::= OR REPLACE", - /* 343 */ "cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery", - /* 344 */ "cmd ::= DROP VIEW exists_opt full_view_name", - /* 345 */ "full_view_name ::= view_name", - /* 346 */ "full_view_name ::= db_name NK_DOT view_name", - /* 347 */ "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", - /* 348 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 349 */ "cmd ::= PAUSE STREAM exists_opt stream_name", - /* 350 */ "cmd ::= RESUME STREAM exists_opt ignore_opt stream_name", - /* 351 */ "col_list_opt ::=", - /* 352 */ "col_list_opt ::= NK_LP col_name_list NK_RP", - /* 353 */ "tag_def_or_ref_opt ::=", - /* 354 */ "tag_def_or_ref_opt ::= tags_def", - /* 355 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", - /* 356 */ "stream_options ::=", - /* 357 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 358 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 359 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 360 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 361 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", - /* 362 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", - /* 363 */ "stream_options ::= stream_options DELETE_MARK duration_literal", - /* 364 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", - /* 365 */ "subtable_opt ::=", - /* 366 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", - /* 367 */ "ignore_opt ::=", - /* 368 */ "ignore_opt ::= IGNORE UNTREATED", - /* 369 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 370 */ "cmd ::= KILL QUERY NK_STRING", - /* 371 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 372 */ "cmd ::= BALANCE VGROUP", - /* 373 */ "cmd ::= BALANCE VGROUP LEADER", - /* 374 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 375 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 376 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 377 */ "dnode_list ::= DNODE NK_INTEGER", - /* 378 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 379 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 380 */ "cmd ::= query_or_subquery", - /* 381 */ "cmd ::= insert_query", - /* 382 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 383 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", - /* 384 */ "literal ::= NK_INTEGER", - /* 385 */ "literal ::= NK_FLOAT", - /* 386 */ "literal ::= NK_STRING", - /* 387 */ "literal ::= NK_BOOL", - /* 388 */ "literal ::= TIMESTAMP NK_STRING", - /* 389 */ "literal ::= duration_literal", - /* 390 */ "literal ::= NULL", - /* 391 */ "literal ::= NK_QUESTION", - /* 392 */ "duration_literal ::= NK_VARIABLE", - /* 393 */ "signed ::= NK_INTEGER", - /* 394 */ "signed ::= NK_PLUS NK_INTEGER", - /* 395 */ "signed ::= NK_MINUS NK_INTEGER", - /* 396 */ "signed ::= NK_FLOAT", - /* 397 */ "signed ::= NK_PLUS NK_FLOAT", - /* 398 */ "signed ::= NK_MINUS NK_FLOAT", - /* 399 */ "signed_literal ::= signed", - /* 400 */ "signed_literal ::= NK_STRING", - /* 401 */ "signed_literal ::= NK_BOOL", - /* 402 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 403 */ "signed_literal ::= duration_literal", - /* 404 */ "signed_literal ::= NULL", - /* 405 */ "signed_literal ::= literal_func", - /* 406 */ "signed_literal ::= NK_QUESTION", - /* 407 */ "literal_list ::= signed_literal", - /* 408 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 409 */ "db_name ::= NK_ID", - /* 410 */ "table_name ::= NK_ID", - /* 411 */ "column_name ::= NK_ID", - /* 412 */ "function_name ::= NK_ID", - /* 413 */ "view_name ::= NK_ID", - /* 414 */ "table_alias ::= NK_ID", - /* 415 */ "column_alias ::= NK_ID", - /* 416 */ "user_name ::= NK_ID", - /* 417 */ "topic_name ::= NK_ID", - /* 418 */ "stream_name ::= NK_ID", - /* 419 */ "cgroup_name ::= NK_ID", - /* 420 */ "index_name ::= NK_ID", - /* 421 */ "expr_or_subquery ::= expression", - /* 422 */ "expression ::= literal", - /* 423 */ "expression ::= pseudo_column", - /* 424 */ "expression ::= column_reference", - /* 425 */ "expression ::= function_expression", - /* 426 */ "expression ::= case_when_expression", - /* 427 */ "expression ::= NK_LP expression NK_RP", - /* 428 */ "expression ::= NK_PLUS expr_or_subquery", - /* 429 */ "expression ::= NK_MINUS expr_or_subquery", - /* 430 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 431 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 432 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 433 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 434 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 435 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 436 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 437 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 438 */ "expression_list ::= expr_or_subquery", - /* 439 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 440 */ "column_reference ::= column_name", - /* 441 */ "column_reference ::= table_name NK_DOT column_name", - /* 442 */ "pseudo_column ::= ROWTS", - /* 443 */ "pseudo_column ::= TBNAME", - /* 444 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 445 */ "pseudo_column ::= QSTART", - /* 446 */ "pseudo_column ::= QEND", - /* 447 */ "pseudo_column ::= QDURATION", - /* 448 */ "pseudo_column ::= WSTART", - /* 449 */ "pseudo_column ::= WEND", - /* 450 */ "pseudo_column ::= WDURATION", - /* 451 */ "pseudo_column ::= IROWTS", - /* 452 */ "pseudo_column ::= ISFILLED", - /* 453 */ "pseudo_column ::= QTAGS", - /* 454 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 455 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 456 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 457 */ "function_expression ::= literal_func", - /* 458 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 459 */ "literal_func ::= NOW", - /* 460 */ "noarg_func ::= NOW", - /* 461 */ "noarg_func ::= TODAY", - /* 462 */ "noarg_func ::= TIMEZONE", - /* 463 */ "noarg_func ::= DATABASE", - /* 464 */ "noarg_func ::= CLIENT_VERSION", - /* 465 */ "noarg_func ::= SERVER_VERSION", - /* 466 */ "noarg_func ::= SERVER_STATUS", - /* 467 */ "noarg_func ::= CURRENT_USER", - /* 468 */ "noarg_func ::= USER", - /* 469 */ "star_func ::= COUNT", - /* 470 */ "star_func ::= FIRST", - /* 471 */ "star_func ::= LAST", - /* 472 */ "star_func ::= LAST_ROW", - /* 473 */ "star_func_para_list ::= NK_STAR", - /* 474 */ "star_func_para_list ::= other_para_list", - /* 475 */ "other_para_list ::= star_func_para", - /* 476 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 477 */ "star_func_para ::= expr_or_subquery", - /* 478 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 479 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 480 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 481 */ "when_then_list ::= when_then_expr", - /* 482 */ "when_then_list ::= when_then_list when_then_expr", - /* 483 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 484 */ "case_when_else_opt ::=", - /* 485 */ "case_when_else_opt ::= ELSE common_expression", - /* 486 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 487 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 488 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 489 */ "predicate ::= expr_or_subquery IS NULL", - /* 490 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 491 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 492 */ "compare_op ::= NK_LT", - /* 493 */ "compare_op ::= NK_GT", - /* 494 */ "compare_op ::= NK_LE", - /* 495 */ "compare_op ::= NK_GE", - /* 496 */ "compare_op ::= NK_NE", - /* 497 */ "compare_op ::= NK_EQ", - /* 498 */ "compare_op ::= LIKE", - /* 499 */ "compare_op ::= NOT LIKE", - /* 500 */ "compare_op ::= MATCH", - /* 501 */ "compare_op ::= NMATCH", - /* 502 */ "compare_op ::= CONTAINS", - /* 503 */ "in_op ::= IN", - /* 504 */ "in_op ::= NOT IN", - /* 505 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 506 */ "boolean_value_expression ::= boolean_primary", - /* 507 */ "boolean_value_expression ::= NOT boolean_primary", - /* 508 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 509 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 510 */ "boolean_primary ::= predicate", - /* 511 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 512 */ "common_expression ::= expr_or_subquery", - /* 513 */ "common_expression ::= boolean_value_expression", - /* 514 */ "from_clause_opt ::=", - /* 515 */ "from_clause_opt ::= FROM table_reference_list", - /* 516 */ "table_reference_list ::= table_reference", - /* 517 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 518 */ "table_reference ::= table_primary", - /* 519 */ "table_reference ::= joined_table", - /* 520 */ "table_primary ::= table_name alias_opt", - /* 521 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 522 */ "table_primary ::= subquery alias_opt", - /* 523 */ "table_primary ::= parenthesized_joined_table", - /* 524 */ "alias_opt ::=", - /* 525 */ "alias_opt ::= table_alias", - /* 526 */ "alias_opt ::= AS table_alias", - /* 527 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 528 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 529 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 530 */ "join_type ::=", - /* 531 */ "join_type ::= INNER", - /* 532 */ "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", - /* 533 */ "hint_list ::=", - /* 534 */ "hint_list ::= NK_HINT", - /* 535 */ "tag_mode_opt ::=", - /* 536 */ "tag_mode_opt ::= TAGS", - /* 537 */ "set_quantifier_opt ::=", - /* 538 */ "set_quantifier_opt ::= DISTINCT", - /* 539 */ "set_quantifier_opt ::= ALL", - /* 540 */ "select_list ::= select_item", - /* 541 */ "select_list ::= select_list NK_COMMA select_item", - /* 542 */ "select_item ::= NK_STAR", - /* 543 */ "select_item ::= common_expression", - /* 544 */ "select_item ::= common_expression column_alias", - /* 545 */ "select_item ::= common_expression AS column_alias", - /* 546 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 547 */ "where_clause_opt ::=", - /* 548 */ "where_clause_opt ::= WHERE search_condition", - /* 549 */ "partition_by_clause_opt ::=", - /* 550 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 551 */ "partition_list ::= partition_item", - /* 552 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 553 */ "partition_item ::= expr_or_subquery", - /* 554 */ "partition_item ::= expr_or_subquery column_alias", - /* 555 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 556 */ "twindow_clause_opt ::=", - /* 557 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 558 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 559 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 560 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 561 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 562 */ "sliding_opt ::=", - /* 563 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 564 */ "fill_opt ::=", - /* 565 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 566 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", - /* 567 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", - /* 568 */ "fill_mode ::= NONE", - /* 569 */ "fill_mode ::= PREV", - /* 570 */ "fill_mode ::= NULL", - /* 571 */ "fill_mode ::= NULL_F", - /* 572 */ "fill_mode ::= LINEAR", - /* 573 */ "fill_mode ::= NEXT", - /* 574 */ "group_by_clause_opt ::=", - /* 575 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 576 */ "group_by_list ::= expr_or_subquery", - /* 577 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 578 */ "having_clause_opt ::=", - /* 579 */ "having_clause_opt ::= HAVING search_condition", - /* 580 */ "range_opt ::=", - /* 581 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 582 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", - /* 583 */ "every_opt ::=", - /* 584 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 585 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 586 */ "query_simple ::= query_specification", - /* 587 */ "query_simple ::= union_query_expression", - /* 588 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 589 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 590 */ "query_simple_or_subquery ::= query_simple", - /* 591 */ "query_simple_or_subquery ::= subquery", - /* 592 */ "query_or_subquery ::= query_expression", - /* 593 */ "query_or_subquery ::= subquery", - /* 594 */ "order_by_clause_opt ::=", - /* 595 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 596 */ "slimit_clause_opt ::=", - /* 597 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 598 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 599 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 600 */ "limit_clause_opt ::=", - /* 601 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 602 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 603 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 604 */ "subquery ::= NK_LP query_expression NK_RP", - /* 605 */ "subquery ::= NK_LP subquery NK_RP", - /* 606 */ "search_condition ::= common_expression", - /* 607 */ "sort_specification_list ::= sort_specification", - /* 608 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 609 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 610 */ "ordering_specification_opt ::=", - /* 611 */ "ordering_specification_opt ::= ASC", - /* 612 */ "ordering_specification_opt ::= DESC", - /* 613 */ "null_ordering_opt ::=", - /* 614 */ "null_ordering_opt ::= NULLS FIRST", - /* 615 */ "null_ordering_opt ::= NULLS LAST", + /* 281 */ "cmd ::= SHOW db_name_cond_opt VIEWS", + /* 282 */ "db_name_cond_opt ::=", + /* 283 */ "db_name_cond_opt ::= db_name NK_DOT", + /* 284 */ "like_pattern_opt ::=", + /* 285 */ "like_pattern_opt ::= LIKE NK_STRING", + /* 286 */ "table_name_cond ::= table_name", + /* 287 */ "from_db_opt ::=", + /* 288 */ "from_db_opt ::= FROM db_name", + /* 289 */ "tag_list_opt ::=", + /* 290 */ "tag_list_opt ::= tag_item", + /* 291 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", + /* 292 */ "tag_item ::= TBNAME", + /* 293 */ "tag_item ::= QTAGS", + /* 294 */ "tag_item ::= column_name", + /* 295 */ "tag_item ::= column_name column_alias", + /* 296 */ "tag_item ::= column_name AS column_alias", + /* 297 */ "cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options", + /* 298 */ "cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP", + /* 299 */ "cmd ::= DROP INDEX exists_opt full_index_name", + /* 300 */ "full_index_name ::= index_name", + /* 301 */ "full_index_name ::= db_name NK_DOT index_name", + /* 302 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", + /* 303 */ "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", + /* 304 */ "func_list ::= func", + /* 305 */ "func_list ::= func_list NK_COMMA func", + /* 306 */ "func ::= sma_func_name NK_LP expression_list NK_RP", + /* 307 */ "sma_func_name ::= function_name", + /* 308 */ "sma_func_name ::= COUNT", + /* 309 */ "sma_func_name ::= FIRST", + /* 310 */ "sma_func_name ::= LAST", + /* 311 */ "sma_func_name ::= LAST_ROW", + /* 312 */ "sma_stream_opt ::=", + /* 313 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", + /* 314 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", + /* 315 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", + /* 316 */ "with_meta ::= AS", + /* 317 */ "with_meta ::= WITH META AS", + /* 318 */ "with_meta ::= ONLY META AS", + /* 319 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", + /* 320 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name", + /* 321 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt", + /* 322 */ "cmd ::= DROP TOPIC exists_opt topic_name", + /* 323 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", + /* 324 */ "cmd ::= DESC full_table_name", + /* 325 */ "cmd ::= DESCRIBE full_table_name", + /* 326 */ "cmd ::= RESET QUERY CACHE", + /* 327 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", + /* 328 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", + /* 329 */ "analyze_opt ::=", + /* 330 */ "analyze_opt ::= ANALYZE", + /* 331 */ "explain_options ::=", + /* 332 */ "explain_options ::= explain_options VERBOSE NK_BOOL", + /* 333 */ "explain_options ::= explain_options RATIO NK_FLOAT", + /* 334 */ "cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", + /* 335 */ "cmd ::= DROP FUNCTION exists_opt function_name", + /* 336 */ "agg_func_opt ::=", + /* 337 */ "agg_func_opt ::= AGGREGATE", + /* 338 */ "bufsize_opt ::=", + /* 339 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", + /* 340 */ "language_opt ::=", + /* 341 */ "language_opt ::= LANGUAGE NK_STRING", + /* 342 */ "or_replace_opt ::=", + /* 343 */ "or_replace_opt ::= OR REPLACE", + /* 344 */ "cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery", + /* 345 */ "cmd ::= DROP VIEW exists_opt full_view_name", + /* 346 */ "full_view_name ::= view_name", + /* 347 */ "full_view_name ::= db_name NK_DOT view_name", + /* 348 */ "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 */ "cmd ::= DROP STREAM exists_opt stream_name", + /* 350 */ "cmd ::= PAUSE STREAM exists_opt stream_name", + /* 351 */ "cmd ::= RESUME STREAM exists_opt ignore_opt stream_name", + /* 352 */ "col_list_opt ::=", + /* 353 */ "col_list_opt ::= NK_LP col_name_list NK_RP", + /* 354 */ "tag_def_or_ref_opt ::=", + /* 355 */ "tag_def_or_ref_opt ::= tags_def", + /* 356 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", + /* 357 */ "stream_options ::=", + /* 358 */ "stream_options ::= stream_options TRIGGER AT_ONCE", + /* 359 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", + /* 360 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", + /* 361 */ "stream_options ::= stream_options WATERMARK duration_literal", + /* 362 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", + /* 363 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", + /* 364 */ "stream_options ::= stream_options DELETE_MARK duration_literal", + /* 365 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", + /* 366 */ "subtable_opt ::=", + /* 367 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", + /* 368 */ "ignore_opt ::=", + /* 369 */ "ignore_opt ::= IGNORE UNTREATED", + /* 370 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 371 */ "cmd ::= KILL QUERY NK_STRING", + /* 372 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 373 */ "cmd ::= BALANCE VGROUP", + /* 374 */ "cmd ::= BALANCE VGROUP LEADER", + /* 375 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 376 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 377 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 378 */ "dnode_list ::= DNODE NK_INTEGER", + /* 379 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 380 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 381 */ "cmd ::= query_or_subquery", + /* 382 */ "cmd ::= insert_query", + /* 383 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 384 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", + /* 385 */ "literal ::= NK_INTEGER", + /* 386 */ "literal ::= NK_FLOAT", + /* 387 */ "literal ::= NK_STRING", + /* 388 */ "literal ::= NK_BOOL", + /* 389 */ "literal ::= TIMESTAMP NK_STRING", + /* 390 */ "literal ::= duration_literal", + /* 391 */ "literal ::= NULL", + /* 392 */ "literal ::= NK_QUESTION", + /* 393 */ "duration_literal ::= NK_VARIABLE", + /* 394 */ "signed ::= NK_INTEGER", + /* 395 */ "signed ::= NK_PLUS NK_INTEGER", + /* 396 */ "signed ::= NK_MINUS NK_INTEGER", + /* 397 */ "signed ::= NK_FLOAT", + /* 398 */ "signed ::= NK_PLUS NK_FLOAT", + /* 399 */ "signed ::= NK_MINUS NK_FLOAT", + /* 400 */ "signed_literal ::= signed", + /* 401 */ "signed_literal ::= NK_STRING", + /* 402 */ "signed_literal ::= NK_BOOL", + /* 403 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 404 */ "signed_literal ::= duration_literal", + /* 405 */ "signed_literal ::= NULL", + /* 406 */ "signed_literal ::= literal_func", + /* 407 */ "signed_literal ::= NK_QUESTION", + /* 408 */ "literal_list ::= signed_literal", + /* 409 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 410 */ "db_name ::= NK_ID", + /* 411 */ "table_name ::= NK_ID", + /* 412 */ "column_name ::= NK_ID", + /* 413 */ "function_name ::= NK_ID", + /* 414 */ "view_name ::= NK_ID", + /* 415 */ "table_alias ::= NK_ID", + /* 416 */ "column_alias ::= NK_ID", + /* 417 */ "user_name ::= NK_ID", + /* 418 */ "topic_name ::= NK_ID", + /* 419 */ "stream_name ::= NK_ID", + /* 420 */ "cgroup_name ::= NK_ID", + /* 421 */ "index_name ::= NK_ID", + /* 422 */ "expr_or_subquery ::= expression", + /* 423 */ "expression ::= literal", + /* 424 */ "expression ::= pseudo_column", + /* 425 */ "expression ::= column_reference", + /* 426 */ "expression ::= function_expression", + /* 427 */ "expression ::= case_when_expression", + /* 428 */ "expression ::= NK_LP expression NK_RP", + /* 429 */ "expression ::= NK_PLUS expr_or_subquery", + /* 430 */ "expression ::= NK_MINUS expr_or_subquery", + /* 431 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 432 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 433 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 434 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 435 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 436 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 437 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 438 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 439 */ "expression_list ::= expr_or_subquery", + /* 440 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 441 */ "column_reference ::= column_name", + /* 442 */ "column_reference ::= table_name NK_DOT column_name", + /* 443 */ "pseudo_column ::= ROWTS", + /* 444 */ "pseudo_column ::= TBNAME", + /* 445 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 446 */ "pseudo_column ::= QSTART", + /* 447 */ "pseudo_column ::= QEND", + /* 448 */ "pseudo_column ::= QDURATION", + /* 449 */ "pseudo_column ::= WSTART", + /* 450 */ "pseudo_column ::= WEND", + /* 451 */ "pseudo_column ::= WDURATION", + /* 452 */ "pseudo_column ::= IROWTS", + /* 453 */ "pseudo_column ::= ISFILLED", + /* 454 */ "pseudo_column ::= QTAGS", + /* 455 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 456 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 457 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 458 */ "function_expression ::= literal_func", + /* 459 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 460 */ "literal_func ::= NOW", + /* 461 */ "noarg_func ::= NOW", + /* 462 */ "noarg_func ::= TODAY", + /* 463 */ "noarg_func ::= TIMEZONE", + /* 464 */ "noarg_func ::= DATABASE", + /* 465 */ "noarg_func ::= CLIENT_VERSION", + /* 466 */ "noarg_func ::= SERVER_VERSION", + /* 467 */ "noarg_func ::= SERVER_STATUS", + /* 468 */ "noarg_func ::= CURRENT_USER", + /* 469 */ "noarg_func ::= USER", + /* 470 */ "star_func ::= COUNT", + /* 471 */ "star_func ::= FIRST", + /* 472 */ "star_func ::= LAST", + /* 473 */ "star_func ::= LAST_ROW", + /* 474 */ "star_func_para_list ::= NK_STAR", + /* 475 */ "star_func_para_list ::= other_para_list", + /* 476 */ "other_para_list ::= star_func_para", + /* 477 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 478 */ "star_func_para ::= expr_or_subquery", + /* 479 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 480 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 481 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 482 */ "when_then_list ::= when_then_expr", + /* 483 */ "when_then_list ::= when_then_list when_then_expr", + /* 484 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 485 */ "case_when_else_opt ::=", + /* 486 */ "case_when_else_opt ::= ELSE common_expression", + /* 487 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 488 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 489 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 490 */ "predicate ::= expr_or_subquery IS NULL", + /* 491 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 492 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 493 */ "compare_op ::= NK_LT", + /* 494 */ "compare_op ::= NK_GT", + /* 495 */ "compare_op ::= NK_LE", + /* 496 */ "compare_op ::= NK_GE", + /* 497 */ "compare_op ::= NK_NE", + /* 498 */ "compare_op ::= NK_EQ", + /* 499 */ "compare_op ::= LIKE", + /* 500 */ "compare_op ::= NOT LIKE", + /* 501 */ "compare_op ::= MATCH", + /* 502 */ "compare_op ::= NMATCH", + /* 503 */ "compare_op ::= CONTAINS", + /* 504 */ "in_op ::= IN", + /* 505 */ "in_op ::= NOT IN", + /* 506 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 507 */ "boolean_value_expression ::= boolean_primary", + /* 508 */ "boolean_value_expression ::= NOT boolean_primary", + /* 509 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 510 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 511 */ "boolean_primary ::= predicate", + /* 512 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 513 */ "common_expression ::= expr_or_subquery", + /* 514 */ "common_expression ::= boolean_value_expression", + /* 515 */ "from_clause_opt ::=", + /* 516 */ "from_clause_opt ::= FROM table_reference_list", + /* 517 */ "table_reference_list ::= table_reference", + /* 518 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 519 */ "table_reference ::= table_primary", + /* 520 */ "table_reference ::= joined_table", + /* 521 */ "table_primary ::= table_name alias_opt", + /* 522 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 523 */ "table_primary ::= subquery alias_opt", + /* 524 */ "table_primary ::= parenthesized_joined_table", + /* 525 */ "alias_opt ::=", + /* 526 */ "alias_opt ::= table_alias", + /* 527 */ "alias_opt ::= AS table_alias", + /* 528 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 529 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 530 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 531 */ "join_type ::=", + /* 532 */ "join_type ::= INNER", + /* 533 */ "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", + /* 534 */ "hint_list ::=", + /* 535 */ "hint_list ::= NK_HINT", + /* 536 */ "tag_mode_opt ::=", + /* 537 */ "tag_mode_opt ::= TAGS", + /* 538 */ "set_quantifier_opt ::=", + /* 539 */ "set_quantifier_opt ::= DISTINCT", + /* 540 */ "set_quantifier_opt ::= ALL", + /* 541 */ "select_list ::= select_item", + /* 542 */ "select_list ::= select_list NK_COMMA select_item", + /* 543 */ "select_item ::= NK_STAR", + /* 544 */ "select_item ::= common_expression", + /* 545 */ "select_item ::= common_expression column_alias", + /* 546 */ "select_item ::= common_expression AS column_alias", + /* 547 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 548 */ "where_clause_opt ::=", + /* 549 */ "where_clause_opt ::= WHERE search_condition", + /* 550 */ "partition_by_clause_opt ::=", + /* 551 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 552 */ "partition_list ::= partition_item", + /* 553 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 554 */ "partition_item ::= expr_or_subquery", + /* 555 */ "partition_item ::= expr_or_subquery column_alias", + /* 556 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 557 */ "twindow_clause_opt ::=", + /* 558 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 559 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 560 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 561 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 562 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 563 */ "sliding_opt ::=", + /* 564 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 565 */ "fill_opt ::=", + /* 566 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 567 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", + /* 568 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", + /* 569 */ "fill_mode ::= NONE", + /* 570 */ "fill_mode ::= PREV", + /* 571 */ "fill_mode ::= NULL", + /* 572 */ "fill_mode ::= NULL_F", + /* 573 */ "fill_mode ::= LINEAR", + /* 574 */ "fill_mode ::= NEXT", + /* 575 */ "group_by_clause_opt ::=", + /* 576 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 577 */ "group_by_list ::= expr_or_subquery", + /* 578 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 579 */ "having_clause_opt ::=", + /* 580 */ "having_clause_opt ::= HAVING search_condition", + /* 581 */ "range_opt ::=", + /* 582 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 583 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", + /* 584 */ "every_opt ::=", + /* 585 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 586 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 587 */ "query_simple ::= query_specification", + /* 588 */ "query_simple ::= union_query_expression", + /* 589 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 590 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 591 */ "query_simple_or_subquery ::= query_simple", + /* 592 */ "query_simple_or_subquery ::= subquery", + /* 593 */ "query_or_subquery ::= query_expression", + /* 594 */ "query_or_subquery ::= subquery", + /* 595 */ "order_by_clause_opt ::=", + /* 596 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 597 */ "slimit_clause_opt ::=", + /* 598 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 599 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 600 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 601 */ "limit_clause_opt ::=", + /* 602 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 603 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 604 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 605 */ "subquery ::= NK_LP query_expression NK_RP", + /* 606 */ "subquery ::= NK_LP subquery NK_RP", + /* 607 */ "search_condition ::= common_expression", + /* 608 */ "sort_specification_list ::= sort_specification", + /* 609 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 610 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 611 */ "ordering_specification_opt ::=", + /* 612 */ "ordering_specification_opt ::= ASC", + /* 613 */ "ordering_specification_opt ::= DESC", + /* 614 */ "null_ordering_opt ::=", + /* 615 */ "null_ordering_opt ::= NULLS FIRST", + /* 616 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -2759,218 +2760,218 @@ static void yy_destructor( */ /********* Begin destructor definitions ***************************************/ /* Default NON-TERMINAL Destructor */ - case 340: /* cmd */ - case 343: /* literal */ - case 352: /* with_opt */ - case 358: /* search_condition */ - case 363: /* db_options */ - case 365: /* alter_db_options */ - case 367: /* start_opt */ - case 368: /* end_opt */ - case 372: /* signed */ - case 374: /* retention */ - case 375: /* full_table_name */ - case 378: /* table_options */ - case 382: /* alter_table_clause */ - case 383: /* alter_table_options */ - case 386: /* signed_literal */ - case 387: /* create_subtable_clause */ - case 390: /* drop_table_clause */ - case 392: /* column_def */ - case 396: /* duration_literal */ - case 397: /* rollup_func_name */ - case 399: /* col_name */ - case 400: /* db_name_cond_opt */ - case 401: /* like_pattern_opt */ - case 402: /* table_name_cond */ - case 403: /* from_db_opt */ - case 405: /* tag_item */ - case 407: /* index_options */ - case 408: /* full_index_name */ - case 411: /* sliding_opt */ - case 412: /* sma_stream_opt */ - case 413: /* func */ - case 416: /* query_or_subquery */ - case 417: /* where_clause_opt */ - case 420: /* explain_options */ - case 421: /* insert_query */ - case 426: /* full_view_name */ - case 429: /* stream_options */ - case 432: /* subtable_opt */ - case 434: /* expression */ - case 436: /* literal_func */ - case 439: /* expr_or_subquery */ - case 440: /* pseudo_column */ - case 441: /* column_reference */ - case 442: /* function_expression */ - case 443: /* case_when_expression */ - case 448: /* star_func_para */ - case 450: /* case_when_else_opt */ - case 451: /* common_expression */ - case 452: /* when_then_expr */ - case 453: /* predicate */ - case 456: /* in_predicate_value */ - case 457: /* boolean_value_expression */ - case 458: /* boolean_primary */ - case 459: /* from_clause_opt */ - case 460: /* table_reference_list */ - case 461: /* table_reference */ - case 462: /* table_primary */ - case 463: /* joined_table */ - case 465: /* subquery */ - case 466: /* parenthesized_joined_table */ - case 468: /* query_specification */ - case 474: /* range_opt */ - case 475: /* every_opt */ - case 476: /* fill_opt */ - case 477: /* twindow_clause_opt */ - case 479: /* having_clause_opt */ - case 480: /* select_item */ - case 482: /* partition_item */ - case 485: /* query_expression */ - case 486: /* query_simple */ - case 488: /* slimit_clause_opt */ - case 489: /* limit_clause_opt */ - case 490: /* union_query_expression */ - case 491: /* query_simple_or_subquery */ - case 493: /* sort_specification */ + case 341: /* cmd */ + case 344: /* literal */ + case 353: /* with_opt */ + case 359: /* search_condition */ + case 364: /* db_options */ + case 366: /* alter_db_options */ + case 368: /* start_opt */ + case 369: /* end_opt */ + case 373: /* signed */ + case 375: /* retention */ + case 376: /* full_table_name */ + case 379: /* table_options */ + case 383: /* alter_table_clause */ + case 384: /* alter_table_options */ + case 387: /* signed_literal */ + case 388: /* create_subtable_clause */ + case 391: /* drop_table_clause */ + case 393: /* column_def */ + case 397: /* duration_literal */ + case 398: /* rollup_func_name */ + case 400: /* col_name */ + case 401: /* db_name_cond_opt */ + case 402: /* like_pattern_opt */ + case 403: /* table_name_cond */ + case 404: /* from_db_opt */ + case 406: /* tag_item */ + case 408: /* index_options */ + case 409: /* full_index_name */ + case 412: /* sliding_opt */ + case 413: /* sma_stream_opt */ + case 414: /* func */ + case 417: /* query_or_subquery */ + case 418: /* where_clause_opt */ + case 421: /* explain_options */ + case 422: /* insert_query */ + case 427: /* full_view_name */ + case 430: /* stream_options */ + case 433: /* subtable_opt */ + case 435: /* expression */ + case 437: /* literal_func */ + case 440: /* expr_or_subquery */ + case 441: /* pseudo_column */ + case 442: /* column_reference */ + case 443: /* function_expression */ + case 444: /* case_when_expression */ + case 449: /* star_func_para */ + case 451: /* case_when_else_opt */ + case 452: /* common_expression */ + case 453: /* when_then_expr */ + case 454: /* predicate */ + case 457: /* in_predicate_value */ + case 458: /* boolean_value_expression */ + case 459: /* boolean_primary */ + case 460: /* from_clause_opt */ + case 461: /* table_reference_list */ + case 462: /* table_reference */ + case 463: /* table_primary */ + case 464: /* joined_table */ + case 466: /* subquery */ + case 467: /* parenthesized_joined_table */ + case 469: /* query_specification */ + case 475: /* range_opt */ + case 476: /* every_opt */ + case 477: /* fill_opt */ + case 478: /* twindow_clause_opt */ + case 480: /* having_clause_opt */ + case 481: /* select_item */ + case 483: /* partition_item */ + case 486: /* query_expression */ + case 487: /* query_simple */ + case 489: /* slimit_clause_opt */ + case 490: /* limit_clause_opt */ + case 491: /* union_query_expression */ + case 492: /* query_simple_or_subquery */ + case 494: /* sort_specification */ { - nodesDestroyNode((yypminor->yy168)); + nodesDestroyNode((yypminor->yy840)); } break; - case 341: /* account_options */ - case 342: /* alter_account_options */ - case 344: /* alter_account_option */ - case 366: /* speed_opt */ - case 415: /* with_meta */ - case 424: /* bufsize_opt */ + case 342: /* account_options */ + case 343: /* alter_account_options */ + case 345: /* alter_account_option */ + case 367: /* speed_opt */ + case 416: /* with_meta */ + case 425: /* bufsize_opt */ { } break; - case 345: /* ip_range_list */ - case 346: /* white_list */ - case 347: /* white_list_opt */ - case 369: /* integer_list */ - case 370: /* variable_list */ - case 371: /* retention_list */ - case 376: /* column_def_list */ - case 377: /* tags_def_opt */ - case 379: /* multi_create_clause */ - case 380: /* tags_def */ - case 381: /* multi_drop_clause */ - case 388: /* specific_cols_opt */ - case 389: /* expression_list */ - case 391: /* col_name_list */ - case 393: /* duration_list */ - case 394: /* rollup_func_list */ - case 404: /* tag_list_opt */ - case 410: /* func_list */ - case 430: /* col_list_opt */ - case 431: /* tag_def_or_ref_opt */ - case 435: /* dnode_list */ - case 437: /* literal_list */ - case 445: /* star_func_para_list */ - case 447: /* other_para_list */ - case 449: /* when_then_list */ - case 469: /* hint_list */ - case 472: /* select_list */ - case 473: /* partition_by_clause_opt */ - case 478: /* group_by_clause_opt */ - case 481: /* partition_list */ - case 484: /* group_by_list */ - case 487: /* order_by_clause_opt */ - case 492: /* sort_specification_list */ + case 346: /* ip_range_list */ + case 347: /* white_list */ + case 348: /* white_list_opt */ + case 370: /* integer_list */ + case 371: /* variable_list */ + case 372: /* retention_list */ + case 377: /* column_def_list */ + case 378: /* tags_def_opt */ + case 380: /* multi_create_clause */ + case 381: /* tags_def */ + case 382: /* multi_drop_clause */ + case 389: /* specific_cols_opt */ + case 390: /* expression_list */ + case 392: /* col_name_list */ + case 394: /* duration_list */ + case 395: /* rollup_func_list */ + case 405: /* tag_list_opt */ + case 411: /* func_list */ + case 431: /* col_list_opt */ + case 432: /* tag_def_or_ref_opt */ + case 436: /* dnode_list */ + case 438: /* literal_list */ + case 446: /* star_func_para_list */ + case 448: /* other_para_list */ + case 450: /* when_then_list */ + case 470: /* hint_list */ + case 473: /* select_list */ + case 474: /* partition_by_clause_opt */ + case 479: /* group_by_clause_opt */ + case 482: /* partition_list */ + case 485: /* group_by_list */ + case 488: /* order_by_clause_opt */ + case 493: /* sort_specification_list */ { - nodesDestroyList((yypminor->yy440)); + nodesDestroyList((yypminor->yy740)); } break; - case 348: /* user_name */ - case 355: /* db_name */ - case 356: /* table_name */ - case 357: /* topic_name */ - case 359: /* dnode_endpoint */ - case 384: /* column_name */ - case 398: /* function_name */ - case 406: /* column_alias */ - case 409: /* index_name */ - case 414: /* sma_func_name */ - case 418: /* cgroup_name */ - case 425: /* language_opt */ - case 427: /* view_name */ - case 428: /* stream_name */ - case 438: /* table_alias */ - case 444: /* star_func */ - case 446: /* noarg_func */ - case 464: /* alias_opt */ + case 349: /* user_name */ + case 356: /* db_name */ + case 357: /* table_name */ + case 358: /* topic_name */ + case 360: /* dnode_endpoint */ + case 385: /* column_name */ + case 399: /* function_name */ + case 407: /* column_alias */ + case 410: /* index_name */ + case 415: /* sma_func_name */ + case 419: /* cgroup_name */ + case 426: /* language_opt */ + case 428: /* view_name */ + case 429: /* stream_name */ + case 439: /* table_alias */ + case 445: /* star_func */ + case 447: /* noarg_func */ + case 465: /* alias_opt */ { } break; - case 349: /* sysinfo_opt */ + case 350: /* sysinfo_opt */ { } break; - case 350: /* privileges */ - case 353: /* priv_type_list */ - case 354: /* priv_type */ + case 351: /* privileges */ + case 354: /* priv_type_list */ + case 355: /* priv_type */ { } break; - case 351: /* priv_level */ + case 352: /* priv_level */ { } break; - case 360: /* force_opt */ - case 361: /* unsafe_opt */ - case 362: /* not_exists_opt */ - case 364: /* exists_opt */ - case 419: /* analyze_opt */ - case 422: /* or_replace_opt */ - case 423: /* agg_func_opt */ - case 433: /* ignore_opt */ - case 470: /* set_quantifier_opt */ - case 471: /* tag_mode_opt */ + case 361: /* force_opt */ + case 362: /* unsafe_opt */ + case 363: /* not_exists_opt */ + case 365: /* exists_opt */ + case 420: /* analyze_opt */ + case 423: /* or_replace_opt */ + case 424: /* agg_func_opt */ + case 434: /* ignore_opt */ + case 471: /* set_quantifier_opt */ + case 472: /* tag_mode_opt */ { } break; - case 373: /* alter_db_option */ - case 395: /* alter_table_option */ + case 374: /* alter_db_option */ + case 396: /* alter_table_option */ { } break; - case 385: /* type_name */ + case 386: /* type_name */ { } break; - case 454: /* compare_op */ - case 455: /* in_op */ + case 455: /* compare_op */ + case 456: /* in_op */ { } break; - case 467: /* join_type */ + case 468: /* join_type */ { } break; - case 483: /* fill_mode */ + case 484: /* fill_mode */ { } break; - case 494: /* ordering_specification_opt */ + case 495: /* ordering_specification_opt */ { } break; - case 495: /* null_ordering_opt */ + case 496: /* null_ordering_opt */ { } @@ -3261,622 +3262,623 @@ static void yy_shift( /* For rule J, yyRuleInfoLhs[J] contains the symbol on the left-hand side ** of that rule */ static const YYCODETYPE yyRuleInfoLhs[] = { - 340, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ - 340, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ - 341, /* (2) account_options ::= */ - 341, /* (3) account_options ::= account_options PPS literal */ - 341, /* (4) account_options ::= account_options TSERIES literal */ - 341, /* (5) account_options ::= account_options STORAGE literal */ - 341, /* (6) account_options ::= account_options STREAMS literal */ - 341, /* (7) account_options ::= account_options QTIME literal */ - 341, /* (8) account_options ::= account_options DBS literal */ - 341, /* (9) account_options ::= account_options USERS literal */ - 341, /* (10) account_options ::= account_options CONNS literal */ - 341, /* (11) account_options ::= account_options STATE literal */ - 342, /* (12) alter_account_options ::= alter_account_option */ - 342, /* (13) alter_account_options ::= alter_account_options alter_account_option */ - 344, /* (14) alter_account_option ::= PASS literal */ - 344, /* (15) alter_account_option ::= PPS literal */ - 344, /* (16) alter_account_option ::= TSERIES literal */ - 344, /* (17) alter_account_option ::= STORAGE literal */ - 344, /* (18) alter_account_option ::= STREAMS literal */ - 344, /* (19) alter_account_option ::= QTIME literal */ - 344, /* (20) alter_account_option ::= DBS literal */ - 344, /* (21) alter_account_option ::= USERS literal */ - 344, /* (22) alter_account_option ::= CONNS literal */ - 344, /* (23) alter_account_option ::= STATE literal */ - 345, /* (24) ip_range_list ::= NK_STRING */ - 345, /* (25) ip_range_list ::= ip_range_list NK_COMMA NK_STRING */ - 346, /* (26) white_list ::= HOST ip_range_list */ - 347, /* (27) white_list_opt ::= */ - 347, /* (28) white_list_opt ::= white_list */ - 340, /* (29) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt white_list_opt */ - 340, /* (30) cmd ::= ALTER USER user_name PASS NK_STRING */ - 340, /* (31) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ - 340, /* (32) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ - 340, /* (33) cmd ::= ALTER USER user_name ADD white_list */ - 340, /* (34) cmd ::= ALTER USER user_name DROP white_list */ - 340, /* (35) cmd ::= DROP USER user_name */ - 349, /* (36) sysinfo_opt ::= */ - 349, /* (37) sysinfo_opt ::= SYSINFO NK_INTEGER */ - 340, /* (38) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */ - 340, /* (39) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ - 350, /* (40) privileges ::= ALL */ - 350, /* (41) privileges ::= priv_type_list */ - 350, /* (42) privileges ::= SUBSCRIBE */ - 353, /* (43) priv_type_list ::= priv_type */ - 353, /* (44) priv_type_list ::= priv_type_list NK_COMMA priv_type */ - 354, /* (45) priv_type ::= READ */ - 354, /* (46) priv_type ::= WRITE */ - 351, /* (47) priv_level ::= NK_STAR NK_DOT NK_STAR */ - 351, /* (48) priv_level ::= db_name NK_DOT NK_STAR */ - 351, /* (49) priv_level ::= db_name NK_DOT table_name */ - 351, /* (50) priv_level ::= topic_name */ - 352, /* (51) with_opt ::= */ - 352, /* (52) with_opt ::= WITH search_condition */ - 340, /* (53) cmd ::= CREATE DNODE dnode_endpoint */ - 340, /* (54) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ - 340, /* (55) cmd ::= DROP DNODE NK_INTEGER force_opt */ - 340, /* (56) cmd ::= DROP DNODE dnode_endpoint force_opt */ - 340, /* (57) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ - 340, /* (58) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ - 340, /* (59) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ - 340, /* (60) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ - 340, /* (61) cmd ::= ALTER ALL DNODES NK_STRING */ - 340, /* (62) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ - 340, /* (63) cmd ::= RESTORE DNODE NK_INTEGER */ - 359, /* (64) dnode_endpoint ::= NK_STRING */ - 359, /* (65) dnode_endpoint ::= NK_ID */ - 359, /* (66) dnode_endpoint ::= NK_IPTOKEN */ - 360, /* (67) force_opt ::= */ - 360, /* (68) force_opt ::= FORCE */ - 361, /* (69) unsafe_opt ::= UNSAFE */ - 340, /* (70) cmd ::= ALTER LOCAL NK_STRING */ - 340, /* (71) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ - 340, /* (72) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ - 340, /* (73) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ - 340, /* (74) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */ - 340, /* (75) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ - 340, /* (76) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ - 340, /* (77) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ - 340, /* (78) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ - 340, /* (79) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ - 340, /* (80) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ - 340, /* (81) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */ - 340, /* (82) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */ - 340, /* (83) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ - 340, /* (84) cmd ::= DROP DATABASE exists_opt db_name */ - 340, /* (85) cmd ::= USE db_name */ - 340, /* (86) cmd ::= ALTER DATABASE db_name alter_db_options */ - 340, /* (87) cmd ::= FLUSH DATABASE db_name */ - 340, /* (88) cmd ::= TRIM DATABASE db_name speed_opt */ - 340, /* (89) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ - 362, /* (90) not_exists_opt ::= IF NOT EXISTS */ - 362, /* (91) not_exists_opt ::= */ - 364, /* (92) exists_opt ::= IF EXISTS */ - 364, /* (93) exists_opt ::= */ - 363, /* (94) db_options ::= */ - 363, /* (95) db_options ::= db_options BUFFER NK_INTEGER */ - 363, /* (96) db_options ::= db_options CACHEMODEL NK_STRING */ - 363, /* (97) db_options ::= db_options CACHESIZE NK_INTEGER */ - 363, /* (98) db_options ::= db_options COMP NK_INTEGER */ - 363, /* (99) db_options ::= db_options DURATION NK_INTEGER */ - 363, /* (100) db_options ::= db_options DURATION NK_VARIABLE */ - 363, /* (101) db_options ::= db_options MAXROWS NK_INTEGER */ - 363, /* (102) db_options ::= db_options MINROWS NK_INTEGER */ - 363, /* (103) db_options ::= db_options KEEP integer_list */ - 363, /* (104) db_options ::= db_options KEEP variable_list */ - 363, /* (105) db_options ::= db_options PAGES NK_INTEGER */ - 363, /* (106) db_options ::= db_options PAGESIZE NK_INTEGER */ - 363, /* (107) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ - 363, /* (108) db_options ::= db_options PRECISION NK_STRING */ - 363, /* (109) db_options ::= db_options REPLICA NK_INTEGER */ - 363, /* (110) db_options ::= db_options VGROUPS NK_INTEGER */ - 363, /* (111) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ - 363, /* (112) db_options ::= db_options RETENTIONS retention_list */ - 363, /* (113) db_options ::= db_options SCHEMALESS NK_INTEGER */ - 363, /* (114) db_options ::= db_options WAL_LEVEL NK_INTEGER */ - 363, /* (115) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ - 363, /* (116) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ - 363, /* (117) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - 363, /* (118) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ - 363, /* (119) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - 363, /* (120) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ - 363, /* (121) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ - 363, /* (122) db_options ::= db_options STT_TRIGGER NK_INTEGER */ - 363, /* (123) db_options ::= db_options TABLE_PREFIX signed */ - 363, /* (124) db_options ::= db_options TABLE_SUFFIX signed */ - 365, /* (125) alter_db_options ::= alter_db_option */ - 365, /* (126) alter_db_options ::= alter_db_options alter_db_option */ - 373, /* (127) alter_db_option ::= BUFFER NK_INTEGER */ - 373, /* (128) alter_db_option ::= CACHEMODEL NK_STRING */ - 373, /* (129) alter_db_option ::= CACHESIZE NK_INTEGER */ - 373, /* (130) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ - 373, /* (131) alter_db_option ::= KEEP integer_list */ - 373, /* (132) alter_db_option ::= KEEP variable_list */ - 373, /* (133) alter_db_option ::= PAGES NK_INTEGER */ - 373, /* (134) alter_db_option ::= REPLICA NK_INTEGER */ - 373, /* (135) alter_db_option ::= WAL_LEVEL NK_INTEGER */ - 373, /* (136) alter_db_option ::= STT_TRIGGER NK_INTEGER */ - 373, /* (137) alter_db_option ::= MINROWS NK_INTEGER */ - 373, /* (138) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ - 373, /* (139) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ - 373, /* (140) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ - 373, /* (141) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ - 369, /* (142) integer_list ::= NK_INTEGER */ - 369, /* (143) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - 370, /* (144) variable_list ::= NK_VARIABLE */ - 370, /* (145) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - 371, /* (146) retention_list ::= retention */ - 371, /* (147) retention_list ::= retention_list NK_COMMA retention */ - 374, /* (148) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - 366, /* (149) speed_opt ::= */ - 366, /* (150) speed_opt ::= BWLIMIT NK_INTEGER */ - 367, /* (151) start_opt ::= */ - 367, /* (152) start_opt ::= START WITH NK_INTEGER */ - 367, /* (153) start_opt ::= START WITH NK_STRING */ - 367, /* (154) start_opt ::= START WITH TIMESTAMP NK_STRING */ - 368, /* (155) end_opt ::= */ - 368, /* (156) end_opt ::= END WITH NK_INTEGER */ - 368, /* (157) end_opt ::= END WITH NK_STRING */ - 368, /* (158) end_opt ::= END WITH TIMESTAMP NK_STRING */ - 340, /* (159) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - 340, /* (160) cmd ::= CREATE TABLE multi_create_clause */ - 340, /* (161) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - 340, /* (162) cmd ::= DROP TABLE multi_drop_clause */ - 340, /* (163) cmd ::= DROP STABLE exists_opt full_table_name */ - 340, /* (164) cmd ::= ALTER TABLE alter_table_clause */ - 340, /* (165) cmd ::= ALTER STABLE alter_table_clause */ - 382, /* (166) alter_table_clause ::= full_table_name alter_table_options */ - 382, /* (167) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - 382, /* (168) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - 382, /* (169) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - 382, /* (170) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - 382, /* (171) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - 382, /* (172) alter_table_clause ::= full_table_name DROP TAG column_name */ - 382, /* (173) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - 382, /* (174) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - 382, /* (175) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - 379, /* (176) multi_create_clause ::= create_subtable_clause */ - 379, /* (177) multi_create_clause ::= multi_create_clause create_subtable_clause */ - 387, /* (178) 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 */ - 381, /* (179) multi_drop_clause ::= drop_table_clause */ - 381, /* (180) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ - 390, /* (181) drop_table_clause ::= exists_opt full_table_name */ - 388, /* (182) specific_cols_opt ::= */ - 388, /* (183) specific_cols_opt ::= NK_LP col_name_list NK_RP */ - 375, /* (184) full_table_name ::= table_name */ - 375, /* (185) full_table_name ::= db_name NK_DOT table_name */ - 376, /* (186) column_def_list ::= column_def */ - 376, /* (187) column_def_list ::= column_def_list NK_COMMA column_def */ - 392, /* (188) column_def ::= column_name type_name */ - 385, /* (189) type_name ::= BOOL */ - 385, /* (190) type_name ::= TINYINT */ - 385, /* (191) type_name ::= SMALLINT */ - 385, /* (192) type_name ::= INT */ - 385, /* (193) type_name ::= INTEGER */ - 385, /* (194) type_name ::= BIGINT */ - 385, /* (195) type_name ::= FLOAT */ - 385, /* (196) type_name ::= DOUBLE */ - 385, /* (197) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - 385, /* (198) type_name ::= TIMESTAMP */ - 385, /* (199) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - 385, /* (200) type_name ::= TINYINT UNSIGNED */ - 385, /* (201) type_name ::= SMALLINT UNSIGNED */ - 385, /* (202) type_name ::= INT UNSIGNED */ - 385, /* (203) type_name ::= BIGINT UNSIGNED */ - 385, /* (204) type_name ::= JSON */ - 385, /* (205) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - 385, /* (206) type_name ::= MEDIUMBLOB */ - 385, /* (207) type_name ::= BLOB */ - 385, /* (208) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - 385, /* (209) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ - 385, /* (210) type_name ::= DECIMAL */ - 385, /* (211) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - 385, /* (212) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - 377, /* (213) tags_def_opt ::= */ - 377, /* (214) tags_def_opt ::= tags_def */ - 380, /* (215) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - 378, /* (216) table_options ::= */ - 378, /* (217) table_options ::= table_options COMMENT NK_STRING */ - 378, /* (218) table_options ::= table_options MAX_DELAY duration_list */ - 378, /* (219) table_options ::= table_options WATERMARK duration_list */ - 378, /* (220) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - 378, /* (221) table_options ::= table_options TTL NK_INTEGER */ - 378, /* (222) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - 378, /* (223) table_options ::= table_options DELETE_MARK duration_list */ - 383, /* (224) alter_table_options ::= alter_table_option */ - 383, /* (225) alter_table_options ::= alter_table_options alter_table_option */ - 395, /* (226) alter_table_option ::= COMMENT NK_STRING */ - 395, /* (227) alter_table_option ::= TTL NK_INTEGER */ - 393, /* (228) duration_list ::= duration_literal */ - 393, /* (229) duration_list ::= duration_list NK_COMMA duration_literal */ - 394, /* (230) rollup_func_list ::= rollup_func_name */ - 394, /* (231) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - 397, /* (232) rollup_func_name ::= function_name */ - 397, /* (233) rollup_func_name ::= FIRST */ - 397, /* (234) rollup_func_name ::= LAST */ - 391, /* (235) col_name_list ::= col_name */ - 391, /* (236) col_name_list ::= col_name_list NK_COMMA col_name */ - 399, /* (237) col_name ::= column_name */ - 340, /* (238) cmd ::= SHOW DNODES */ - 340, /* (239) cmd ::= SHOW USERS */ - 340, /* (240) cmd ::= SHOW USER PRIVILEGES */ - 340, /* (241) cmd ::= SHOW DATABASES */ - 340, /* (242) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - 340, /* (243) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - 340, /* (244) cmd ::= SHOW db_name_cond_opt VGROUPS */ - 340, /* (245) cmd ::= SHOW MNODES */ - 340, /* (246) cmd ::= SHOW QNODES */ - 340, /* (247) cmd ::= SHOW FUNCTIONS */ - 340, /* (248) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - 340, /* (249) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ - 340, /* (250) cmd ::= SHOW STREAMS */ - 340, /* (251) cmd ::= SHOW ACCOUNTS */ - 340, /* (252) cmd ::= SHOW APPS */ - 340, /* (253) cmd ::= SHOW CONNECTIONS */ - 340, /* (254) cmd ::= SHOW LICENCES */ - 340, /* (255) cmd ::= SHOW GRANTS */ - 340, /* (256) cmd ::= SHOW CREATE DATABASE db_name */ - 340, /* (257) cmd ::= SHOW CREATE TABLE full_table_name */ - 340, /* (258) cmd ::= SHOW CREATE STABLE full_table_name */ - 340, /* (259) cmd ::= SHOW QUERIES */ - 340, /* (260) cmd ::= SHOW SCORES */ - 340, /* (261) cmd ::= SHOW TOPICS */ - 340, /* (262) cmd ::= SHOW VARIABLES */ - 340, /* (263) cmd ::= SHOW CLUSTER VARIABLES */ - 340, /* (264) cmd ::= SHOW LOCAL VARIABLES */ - 340, /* (265) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - 340, /* (266) cmd ::= SHOW BNODES */ - 340, /* (267) cmd ::= SHOW SNODES */ - 340, /* (268) cmd ::= SHOW CLUSTER */ - 340, /* (269) cmd ::= SHOW TRANSACTIONS */ - 340, /* (270) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - 340, /* (271) cmd ::= SHOW CONSUMERS */ - 340, /* (272) cmd ::= SHOW SUBSCRIPTIONS */ - 340, /* (273) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - 340, /* (274) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ - 340, /* (275) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - 340, /* (276) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ - 340, /* (277) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ - 340, /* (278) cmd ::= SHOW VNODES */ - 340, /* (279) cmd ::= SHOW db_name_cond_opt ALIVE */ - 340, /* (280) cmd ::= SHOW CLUSTER ALIVE */ - 400, /* (281) db_name_cond_opt ::= */ - 400, /* (282) db_name_cond_opt ::= db_name NK_DOT */ - 401, /* (283) like_pattern_opt ::= */ - 401, /* (284) like_pattern_opt ::= LIKE NK_STRING */ - 402, /* (285) table_name_cond ::= table_name */ - 403, /* (286) from_db_opt ::= */ - 403, /* (287) from_db_opt ::= FROM db_name */ - 404, /* (288) tag_list_opt ::= */ - 404, /* (289) tag_list_opt ::= tag_item */ - 404, /* (290) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - 405, /* (291) tag_item ::= TBNAME */ - 405, /* (292) tag_item ::= QTAGS */ - 405, /* (293) tag_item ::= column_name */ - 405, /* (294) tag_item ::= column_name column_alias */ - 405, /* (295) tag_item ::= column_name AS column_alias */ - 340, /* (296) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ - 340, /* (297) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ - 340, /* (298) cmd ::= DROP INDEX exists_opt full_index_name */ - 408, /* (299) full_index_name ::= index_name */ - 408, /* (300) full_index_name ::= db_name NK_DOT index_name */ - 407, /* (301) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - 407, /* (302) 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 */ - 410, /* (303) func_list ::= func */ - 410, /* (304) func_list ::= func_list NK_COMMA func */ - 413, /* (305) func ::= sma_func_name NK_LP expression_list NK_RP */ - 414, /* (306) sma_func_name ::= function_name */ - 414, /* (307) sma_func_name ::= COUNT */ - 414, /* (308) sma_func_name ::= FIRST */ - 414, /* (309) sma_func_name ::= LAST */ - 414, /* (310) sma_func_name ::= LAST_ROW */ - 412, /* (311) sma_stream_opt ::= */ - 412, /* (312) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - 412, /* (313) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - 412, /* (314) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - 415, /* (315) with_meta ::= AS */ - 415, /* (316) with_meta ::= WITH META AS */ - 415, /* (317) with_meta ::= ONLY META AS */ - 340, /* (318) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - 340, /* (319) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - 340, /* (320) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - 340, /* (321) cmd ::= DROP TOPIC exists_opt topic_name */ - 340, /* (322) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - 340, /* (323) cmd ::= DESC full_table_name */ - 340, /* (324) cmd ::= DESCRIBE full_table_name */ - 340, /* (325) cmd ::= RESET QUERY CACHE */ - 340, /* (326) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - 340, /* (327) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 419, /* (328) analyze_opt ::= */ - 419, /* (329) analyze_opt ::= ANALYZE */ - 420, /* (330) explain_options ::= */ - 420, /* (331) explain_options ::= explain_options VERBOSE NK_BOOL */ - 420, /* (332) explain_options ::= explain_options RATIO NK_FLOAT */ - 340, /* (333) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - 340, /* (334) cmd ::= DROP FUNCTION exists_opt function_name */ - 423, /* (335) agg_func_opt ::= */ - 423, /* (336) agg_func_opt ::= AGGREGATE */ - 424, /* (337) bufsize_opt ::= */ - 424, /* (338) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 425, /* (339) language_opt ::= */ - 425, /* (340) language_opt ::= LANGUAGE NK_STRING */ - 422, /* (341) or_replace_opt ::= */ - 422, /* (342) or_replace_opt ::= OR REPLACE */ - 340, /* (343) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ - 340, /* (344) cmd ::= DROP VIEW exists_opt full_view_name */ - 426, /* (345) full_view_name ::= view_name */ - 426, /* (346) full_view_name ::= db_name NK_DOT view_name */ - 340, /* (347) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - 340, /* (348) cmd ::= DROP STREAM exists_opt stream_name */ - 340, /* (349) cmd ::= PAUSE STREAM exists_opt stream_name */ - 340, /* (350) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 430, /* (351) col_list_opt ::= */ - 430, /* (352) col_list_opt ::= NK_LP col_name_list NK_RP */ - 431, /* (353) tag_def_or_ref_opt ::= */ - 431, /* (354) tag_def_or_ref_opt ::= tags_def */ - 431, /* (355) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 429, /* (356) stream_options ::= */ - 429, /* (357) stream_options ::= stream_options TRIGGER AT_ONCE */ - 429, /* (358) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - 429, /* (359) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - 429, /* (360) stream_options ::= stream_options WATERMARK duration_literal */ - 429, /* (361) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - 429, /* (362) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - 429, /* (363) stream_options ::= stream_options DELETE_MARK duration_literal */ - 429, /* (364) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 432, /* (365) subtable_opt ::= */ - 432, /* (366) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 433, /* (367) ignore_opt ::= */ - 433, /* (368) ignore_opt ::= IGNORE UNTREATED */ - 340, /* (369) cmd ::= KILL CONNECTION NK_INTEGER */ - 340, /* (370) cmd ::= KILL QUERY NK_STRING */ - 340, /* (371) cmd ::= KILL TRANSACTION NK_INTEGER */ - 340, /* (372) cmd ::= BALANCE VGROUP */ - 340, /* (373) cmd ::= BALANCE VGROUP LEADER */ - 340, /* (374) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - 340, /* (375) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - 340, /* (376) cmd ::= SPLIT VGROUP NK_INTEGER */ - 435, /* (377) dnode_list ::= DNODE NK_INTEGER */ - 435, /* (378) dnode_list ::= dnode_list DNODE NK_INTEGER */ - 340, /* (379) cmd ::= DELETE FROM full_table_name where_clause_opt */ - 340, /* (380) cmd ::= query_or_subquery */ - 340, /* (381) cmd ::= insert_query */ - 421, /* (382) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - 421, /* (383) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - 343, /* (384) literal ::= NK_INTEGER */ - 343, /* (385) literal ::= NK_FLOAT */ - 343, /* (386) literal ::= NK_STRING */ - 343, /* (387) literal ::= NK_BOOL */ - 343, /* (388) literal ::= TIMESTAMP NK_STRING */ - 343, /* (389) literal ::= duration_literal */ - 343, /* (390) literal ::= NULL */ - 343, /* (391) literal ::= NK_QUESTION */ - 396, /* (392) duration_literal ::= NK_VARIABLE */ - 372, /* (393) signed ::= NK_INTEGER */ - 372, /* (394) signed ::= NK_PLUS NK_INTEGER */ - 372, /* (395) signed ::= NK_MINUS NK_INTEGER */ - 372, /* (396) signed ::= NK_FLOAT */ - 372, /* (397) signed ::= NK_PLUS NK_FLOAT */ - 372, /* (398) signed ::= NK_MINUS NK_FLOAT */ - 386, /* (399) signed_literal ::= signed */ - 386, /* (400) signed_literal ::= NK_STRING */ - 386, /* (401) signed_literal ::= NK_BOOL */ - 386, /* (402) signed_literal ::= TIMESTAMP NK_STRING */ - 386, /* (403) signed_literal ::= duration_literal */ - 386, /* (404) signed_literal ::= NULL */ - 386, /* (405) signed_literal ::= literal_func */ - 386, /* (406) signed_literal ::= NK_QUESTION */ - 437, /* (407) literal_list ::= signed_literal */ - 437, /* (408) literal_list ::= literal_list NK_COMMA signed_literal */ - 355, /* (409) db_name ::= NK_ID */ - 356, /* (410) table_name ::= NK_ID */ - 384, /* (411) column_name ::= NK_ID */ - 398, /* (412) function_name ::= NK_ID */ - 427, /* (413) view_name ::= NK_ID */ - 438, /* (414) table_alias ::= NK_ID */ - 406, /* (415) column_alias ::= NK_ID */ - 348, /* (416) user_name ::= NK_ID */ - 357, /* (417) topic_name ::= NK_ID */ - 428, /* (418) stream_name ::= NK_ID */ - 418, /* (419) cgroup_name ::= NK_ID */ - 409, /* (420) index_name ::= NK_ID */ - 439, /* (421) expr_or_subquery ::= expression */ - 434, /* (422) expression ::= literal */ - 434, /* (423) expression ::= pseudo_column */ - 434, /* (424) expression ::= column_reference */ - 434, /* (425) expression ::= function_expression */ - 434, /* (426) expression ::= case_when_expression */ - 434, /* (427) expression ::= NK_LP expression NK_RP */ - 434, /* (428) expression ::= NK_PLUS expr_or_subquery */ - 434, /* (429) expression ::= NK_MINUS expr_or_subquery */ - 434, /* (430) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - 434, /* (431) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - 434, /* (432) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - 434, /* (433) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - 434, /* (434) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - 434, /* (435) expression ::= column_reference NK_ARROW NK_STRING */ - 434, /* (436) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - 434, /* (437) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - 389, /* (438) expression_list ::= expr_or_subquery */ - 389, /* (439) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - 441, /* (440) column_reference ::= column_name */ - 441, /* (441) column_reference ::= table_name NK_DOT column_name */ - 440, /* (442) pseudo_column ::= ROWTS */ - 440, /* (443) pseudo_column ::= TBNAME */ - 440, /* (444) pseudo_column ::= table_name NK_DOT TBNAME */ - 440, /* (445) pseudo_column ::= QSTART */ - 440, /* (446) pseudo_column ::= QEND */ - 440, /* (447) pseudo_column ::= QDURATION */ - 440, /* (448) pseudo_column ::= WSTART */ - 440, /* (449) pseudo_column ::= WEND */ - 440, /* (450) pseudo_column ::= WDURATION */ - 440, /* (451) pseudo_column ::= IROWTS */ - 440, /* (452) pseudo_column ::= ISFILLED */ - 440, /* (453) pseudo_column ::= QTAGS */ - 442, /* (454) function_expression ::= function_name NK_LP expression_list NK_RP */ - 442, /* (455) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - 442, /* (456) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - 442, /* (457) function_expression ::= literal_func */ - 436, /* (458) literal_func ::= noarg_func NK_LP NK_RP */ - 436, /* (459) literal_func ::= NOW */ - 446, /* (460) noarg_func ::= NOW */ - 446, /* (461) noarg_func ::= TODAY */ - 446, /* (462) noarg_func ::= TIMEZONE */ - 446, /* (463) noarg_func ::= DATABASE */ - 446, /* (464) noarg_func ::= CLIENT_VERSION */ - 446, /* (465) noarg_func ::= SERVER_VERSION */ - 446, /* (466) noarg_func ::= SERVER_STATUS */ - 446, /* (467) noarg_func ::= CURRENT_USER */ - 446, /* (468) noarg_func ::= USER */ - 444, /* (469) star_func ::= COUNT */ - 444, /* (470) star_func ::= FIRST */ - 444, /* (471) star_func ::= LAST */ - 444, /* (472) star_func ::= LAST_ROW */ - 445, /* (473) star_func_para_list ::= NK_STAR */ - 445, /* (474) star_func_para_list ::= other_para_list */ - 447, /* (475) other_para_list ::= star_func_para */ - 447, /* (476) other_para_list ::= other_para_list NK_COMMA star_func_para */ - 448, /* (477) star_func_para ::= expr_or_subquery */ - 448, /* (478) star_func_para ::= table_name NK_DOT NK_STAR */ - 443, /* (479) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - 443, /* (480) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - 449, /* (481) when_then_list ::= when_then_expr */ - 449, /* (482) when_then_list ::= when_then_list when_then_expr */ - 452, /* (483) when_then_expr ::= WHEN common_expression THEN common_expression */ - 450, /* (484) case_when_else_opt ::= */ - 450, /* (485) case_when_else_opt ::= ELSE common_expression */ - 453, /* (486) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - 453, /* (487) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - 453, /* (488) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - 453, /* (489) predicate ::= expr_or_subquery IS NULL */ - 453, /* (490) predicate ::= expr_or_subquery IS NOT NULL */ - 453, /* (491) predicate ::= expr_or_subquery in_op in_predicate_value */ - 454, /* (492) compare_op ::= NK_LT */ - 454, /* (493) compare_op ::= NK_GT */ - 454, /* (494) compare_op ::= NK_LE */ - 454, /* (495) compare_op ::= NK_GE */ - 454, /* (496) compare_op ::= NK_NE */ - 454, /* (497) compare_op ::= NK_EQ */ - 454, /* (498) compare_op ::= LIKE */ - 454, /* (499) compare_op ::= NOT LIKE */ - 454, /* (500) compare_op ::= MATCH */ - 454, /* (501) compare_op ::= NMATCH */ - 454, /* (502) compare_op ::= CONTAINS */ - 455, /* (503) in_op ::= IN */ - 455, /* (504) in_op ::= NOT IN */ - 456, /* (505) in_predicate_value ::= NK_LP literal_list NK_RP */ - 457, /* (506) boolean_value_expression ::= boolean_primary */ - 457, /* (507) boolean_value_expression ::= NOT boolean_primary */ - 457, /* (508) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - 457, /* (509) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - 458, /* (510) boolean_primary ::= predicate */ - 458, /* (511) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - 451, /* (512) common_expression ::= expr_or_subquery */ - 451, /* (513) common_expression ::= boolean_value_expression */ - 459, /* (514) from_clause_opt ::= */ - 459, /* (515) from_clause_opt ::= FROM table_reference_list */ - 460, /* (516) table_reference_list ::= table_reference */ - 460, /* (517) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - 461, /* (518) table_reference ::= table_primary */ - 461, /* (519) table_reference ::= joined_table */ - 462, /* (520) table_primary ::= table_name alias_opt */ - 462, /* (521) table_primary ::= db_name NK_DOT table_name alias_opt */ - 462, /* (522) table_primary ::= subquery alias_opt */ - 462, /* (523) table_primary ::= parenthesized_joined_table */ - 464, /* (524) alias_opt ::= */ - 464, /* (525) alias_opt ::= table_alias */ - 464, /* (526) alias_opt ::= AS table_alias */ - 466, /* (527) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - 466, /* (528) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - 463, /* (529) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 467, /* (530) join_type ::= */ - 467, /* (531) join_type ::= INNER */ - 468, /* (532) 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 */ - 469, /* (533) hint_list ::= */ - 469, /* (534) hint_list ::= NK_HINT */ - 471, /* (535) tag_mode_opt ::= */ - 471, /* (536) tag_mode_opt ::= TAGS */ - 470, /* (537) set_quantifier_opt ::= */ - 470, /* (538) set_quantifier_opt ::= DISTINCT */ - 470, /* (539) set_quantifier_opt ::= ALL */ - 472, /* (540) select_list ::= select_item */ - 472, /* (541) select_list ::= select_list NK_COMMA select_item */ - 480, /* (542) select_item ::= NK_STAR */ - 480, /* (543) select_item ::= common_expression */ - 480, /* (544) select_item ::= common_expression column_alias */ - 480, /* (545) select_item ::= common_expression AS column_alias */ - 480, /* (546) select_item ::= table_name NK_DOT NK_STAR */ - 417, /* (547) where_clause_opt ::= */ - 417, /* (548) where_clause_opt ::= WHERE search_condition */ - 473, /* (549) partition_by_clause_opt ::= */ - 473, /* (550) partition_by_clause_opt ::= PARTITION BY partition_list */ - 481, /* (551) partition_list ::= partition_item */ - 481, /* (552) partition_list ::= partition_list NK_COMMA partition_item */ - 482, /* (553) partition_item ::= expr_or_subquery */ - 482, /* (554) partition_item ::= expr_or_subquery column_alias */ - 482, /* (555) partition_item ::= expr_or_subquery AS column_alias */ - 477, /* (556) twindow_clause_opt ::= */ - 477, /* (557) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - 477, /* (558) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - 477, /* (559) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - 477, /* (560) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - 477, /* (561) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 411, /* (562) sliding_opt ::= */ - 411, /* (563) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - 476, /* (564) fill_opt ::= */ - 476, /* (565) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - 476, /* (566) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - 476, /* (567) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - 483, /* (568) fill_mode ::= NONE */ - 483, /* (569) fill_mode ::= PREV */ - 483, /* (570) fill_mode ::= NULL */ - 483, /* (571) fill_mode ::= NULL_F */ - 483, /* (572) fill_mode ::= LINEAR */ - 483, /* (573) fill_mode ::= NEXT */ - 478, /* (574) group_by_clause_opt ::= */ - 478, /* (575) group_by_clause_opt ::= GROUP BY group_by_list */ - 484, /* (576) group_by_list ::= expr_or_subquery */ - 484, /* (577) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 479, /* (578) having_clause_opt ::= */ - 479, /* (579) having_clause_opt ::= HAVING search_condition */ - 474, /* (580) range_opt ::= */ - 474, /* (581) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - 474, /* (582) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 475, /* (583) every_opt ::= */ - 475, /* (584) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - 485, /* (585) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - 486, /* (586) query_simple ::= query_specification */ - 486, /* (587) query_simple ::= union_query_expression */ - 490, /* (588) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - 490, /* (589) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - 491, /* (590) query_simple_or_subquery ::= query_simple */ - 491, /* (591) query_simple_or_subquery ::= subquery */ - 416, /* (592) query_or_subquery ::= query_expression */ - 416, /* (593) query_or_subquery ::= subquery */ - 487, /* (594) order_by_clause_opt ::= */ - 487, /* (595) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 488, /* (596) slimit_clause_opt ::= */ - 488, /* (597) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - 488, /* (598) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - 488, /* (599) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 489, /* (600) limit_clause_opt ::= */ - 489, /* (601) limit_clause_opt ::= LIMIT NK_INTEGER */ - 489, /* (602) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - 489, /* (603) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 465, /* (604) subquery ::= NK_LP query_expression NK_RP */ - 465, /* (605) subquery ::= NK_LP subquery NK_RP */ - 358, /* (606) search_condition ::= common_expression */ - 492, /* (607) sort_specification_list ::= sort_specification */ - 492, /* (608) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - 493, /* (609) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 494, /* (610) ordering_specification_opt ::= */ - 494, /* (611) ordering_specification_opt ::= ASC */ - 494, /* (612) ordering_specification_opt ::= DESC */ - 495, /* (613) null_ordering_opt ::= */ - 495, /* (614) null_ordering_opt ::= NULLS FIRST */ - 495, /* (615) null_ordering_opt ::= NULLS LAST */ + 341, /* (0) cmd ::= CREATE ACCOUNT NK_ID PASS NK_STRING account_options */ + 341, /* (1) cmd ::= ALTER ACCOUNT NK_ID alter_account_options */ + 342, /* (2) account_options ::= */ + 342, /* (3) account_options ::= account_options PPS literal */ + 342, /* (4) account_options ::= account_options TSERIES literal */ + 342, /* (5) account_options ::= account_options STORAGE literal */ + 342, /* (6) account_options ::= account_options STREAMS literal */ + 342, /* (7) account_options ::= account_options QTIME literal */ + 342, /* (8) account_options ::= account_options DBS literal */ + 342, /* (9) account_options ::= account_options USERS literal */ + 342, /* (10) account_options ::= account_options CONNS literal */ + 342, /* (11) account_options ::= account_options STATE literal */ + 343, /* (12) alter_account_options ::= alter_account_option */ + 343, /* (13) alter_account_options ::= alter_account_options alter_account_option */ + 345, /* (14) alter_account_option ::= PASS literal */ + 345, /* (15) alter_account_option ::= PPS literal */ + 345, /* (16) alter_account_option ::= TSERIES literal */ + 345, /* (17) alter_account_option ::= STORAGE literal */ + 345, /* (18) alter_account_option ::= STREAMS literal */ + 345, /* (19) alter_account_option ::= QTIME literal */ + 345, /* (20) alter_account_option ::= DBS literal */ + 345, /* (21) alter_account_option ::= USERS literal */ + 345, /* (22) alter_account_option ::= CONNS literal */ + 345, /* (23) alter_account_option ::= STATE literal */ + 346, /* (24) ip_range_list ::= NK_STRING */ + 346, /* (25) ip_range_list ::= ip_range_list NK_COMMA NK_STRING */ + 347, /* (26) white_list ::= HOST ip_range_list */ + 348, /* (27) white_list_opt ::= */ + 348, /* (28) white_list_opt ::= white_list */ + 341, /* (29) cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt white_list_opt */ + 341, /* (30) cmd ::= ALTER USER user_name PASS NK_STRING */ + 341, /* (31) cmd ::= ALTER USER user_name ENABLE NK_INTEGER */ + 341, /* (32) cmd ::= ALTER USER user_name SYSINFO NK_INTEGER */ + 341, /* (33) cmd ::= ALTER USER user_name ADD white_list */ + 341, /* (34) cmd ::= ALTER USER user_name DROP white_list */ + 341, /* (35) cmd ::= DROP USER user_name */ + 350, /* (36) sysinfo_opt ::= */ + 350, /* (37) sysinfo_opt ::= SYSINFO NK_INTEGER */ + 341, /* (38) cmd ::= GRANT privileges ON priv_level with_opt TO user_name */ + 341, /* (39) cmd ::= REVOKE privileges ON priv_level with_opt FROM user_name */ + 351, /* (40) privileges ::= ALL */ + 351, /* (41) privileges ::= priv_type_list */ + 351, /* (42) privileges ::= SUBSCRIBE */ + 354, /* (43) priv_type_list ::= priv_type */ + 354, /* (44) priv_type_list ::= priv_type_list NK_COMMA priv_type */ + 355, /* (45) priv_type ::= READ */ + 355, /* (46) priv_type ::= WRITE */ + 352, /* (47) priv_level ::= NK_STAR NK_DOT NK_STAR */ + 352, /* (48) priv_level ::= db_name NK_DOT NK_STAR */ + 352, /* (49) priv_level ::= db_name NK_DOT table_name */ + 352, /* (50) priv_level ::= topic_name */ + 353, /* (51) with_opt ::= */ + 353, /* (52) with_opt ::= WITH search_condition */ + 341, /* (53) cmd ::= CREATE DNODE dnode_endpoint */ + 341, /* (54) cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ + 341, /* (55) cmd ::= DROP DNODE NK_INTEGER force_opt */ + 341, /* (56) cmd ::= DROP DNODE dnode_endpoint force_opt */ + 341, /* (57) cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ + 341, /* (58) cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ + 341, /* (59) cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ + 341, /* (60) cmd ::= ALTER DNODE NK_INTEGER NK_STRING NK_STRING */ + 341, /* (61) cmd ::= ALTER ALL DNODES NK_STRING */ + 341, /* (62) cmd ::= ALTER ALL DNODES NK_STRING NK_STRING */ + 341, /* (63) cmd ::= RESTORE DNODE NK_INTEGER */ + 360, /* (64) dnode_endpoint ::= NK_STRING */ + 360, /* (65) dnode_endpoint ::= NK_ID */ + 360, /* (66) dnode_endpoint ::= NK_IPTOKEN */ + 361, /* (67) force_opt ::= */ + 361, /* (68) force_opt ::= FORCE */ + 362, /* (69) unsafe_opt ::= UNSAFE */ + 341, /* (70) cmd ::= ALTER LOCAL NK_STRING */ + 341, /* (71) cmd ::= ALTER LOCAL NK_STRING NK_STRING */ + 341, /* (72) cmd ::= CREATE QNODE ON DNODE NK_INTEGER */ + 341, /* (73) cmd ::= DROP QNODE ON DNODE NK_INTEGER */ + 341, /* (74) cmd ::= RESTORE QNODE ON DNODE NK_INTEGER */ + 341, /* (75) cmd ::= CREATE BNODE ON DNODE NK_INTEGER */ + 341, /* (76) cmd ::= DROP BNODE ON DNODE NK_INTEGER */ + 341, /* (77) cmd ::= CREATE SNODE ON DNODE NK_INTEGER */ + 341, /* (78) cmd ::= DROP SNODE ON DNODE NK_INTEGER */ + 341, /* (79) cmd ::= CREATE MNODE ON DNODE NK_INTEGER */ + 341, /* (80) cmd ::= DROP MNODE ON DNODE NK_INTEGER */ + 341, /* (81) cmd ::= RESTORE MNODE ON DNODE NK_INTEGER */ + 341, /* (82) cmd ::= RESTORE VNODE ON DNODE NK_INTEGER */ + 341, /* (83) cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ + 341, /* (84) cmd ::= DROP DATABASE exists_opt db_name */ + 341, /* (85) cmd ::= USE db_name */ + 341, /* (86) cmd ::= ALTER DATABASE db_name alter_db_options */ + 341, /* (87) cmd ::= FLUSH DATABASE db_name */ + 341, /* (88) cmd ::= TRIM DATABASE db_name speed_opt */ + 341, /* (89) cmd ::= COMPACT DATABASE db_name start_opt end_opt */ + 363, /* (90) not_exists_opt ::= IF NOT EXISTS */ + 363, /* (91) not_exists_opt ::= */ + 365, /* (92) exists_opt ::= IF EXISTS */ + 365, /* (93) exists_opt ::= */ + 364, /* (94) db_options ::= */ + 364, /* (95) db_options ::= db_options BUFFER NK_INTEGER */ + 364, /* (96) db_options ::= db_options CACHEMODEL NK_STRING */ + 364, /* (97) db_options ::= db_options CACHESIZE NK_INTEGER */ + 364, /* (98) db_options ::= db_options COMP NK_INTEGER */ + 364, /* (99) db_options ::= db_options DURATION NK_INTEGER */ + 364, /* (100) db_options ::= db_options DURATION NK_VARIABLE */ + 364, /* (101) db_options ::= db_options MAXROWS NK_INTEGER */ + 364, /* (102) db_options ::= db_options MINROWS NK_INTEGER */ + 364, /* (103) db_options ::= db_options KEEP integer_list */ + 364, /* (104) db_options ::= db_options KEEP variable_list */ + 364, /* (105) db_options ::= db_options PAGES NK_INTEGER */ + 364, /* (106) db_options ::= db_options PAGESIZE NK_INTEGER */ + 364, /* (107) db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ + 364, /* (108) db_options ::= db_options PRECISION NK_STRING */ + 364, /* (109) db_options ::= db_options REPLICA NK_INTEGER */ + 364, /* (110) db_options ::= db_options VGROUPS NK_INTEGER */ + 364, /* (111) db_options ::= db_options SINGLE_STABLE NK_INTEGER */ + 364, /* (112) db_options ::= db_options RETENTIONS retention_list */ + 364, /* (113) db_options ::= db_options SCHEMALESS NK_INTEGER */ + 364, /* (114) db_options ::= db_options WAL_LEVEL NK_INTEGER */ + 364, /* (115) db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ + 364, /* (116) db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ + 364, /* (117) db_options ::= db_options WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + 364, /* (118) db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ + 364, /* (119) db_options ::= db_options WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + 364, /* (120) db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ + 364, /* (121) db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ + 364, /* (122) db_options ::= db_options STT_TRIGGER NK_INTEGER */ + 364, /* (123) db_options ::= db_options TABLE_PREFIX signed */ + 364, /* (124) db_options ::= db_options TABLE_SUFFIX signed */ + 366, /* (125) alter_db_options ::= alter_db_option */ + 366, /* (126) alter_db_options ::= alter_db_options alter_db_option */ + 374, /* (127) alter_db_option ::= BUFFER NK_INTEGER */ + 374, /* (128) alter_db_option ::= CACHEMODEL NK_STRING */ + 374, /* (129) alter_db_option ::= CACHESIZE NK_INTEGER */ + 374, /* (130) alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ + 374, /* (131) alter_db_option ::= KEEP integer_list */ + 374, /* (132) alter_db_option ::= KEEP variable_list */ + 374, /* (133) alter_db_option ::= PAGES NK_INTEGER */ + 374, /* (134) alter_db_option ::= REPLICA NK_INTEGER */ + 374, /* (135) alter_db_option ::= WAL_LEVEL NK_INTEGER */ + 374, /* (136) alter_db_option ::= STT_TRIGGER NK_INTEGER */ + 374, /* (137) alter_db_option ::= MINROWS NK_INTEGER */ + 374, /* (138) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ + 374, /* (139) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + 374, /* (140) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ + 374, /* (141) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + 370, /* (142) integer_list ::= NK_INTEGER */ + 370, /* (143) integer_list ::= integer_list NK_COMMA NK_INTEGER */ + 371, /* (144) variable_list ::= NK_VARIABLE */ + 371, /* (145) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + 372, /* (146) retention_list ::= retention */ + 372, /* (147) retention_list ::= retention_list NK_COMMA retention */ + 375, /* (148) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + 367, /* (149) speed_opt ::= */ + 367, /* (150) speed_opt ::= BWLIMIT NK_INTEGER */ + 368, /* (151) start_opt ::= */ + 368, /* (152) start_opt ::= START WITH NK_INTEGER */ + 368, /* (153) start_opt ::= START WITH NK_STRING */ + 368, /* (154) start_opt ::= START WITH TIMESTAMP NK_STRING */ + 369, /* (155) end_opt ::= */ + 369, /* (156) end_opt ::= END WITH NK_INTEGER */ + 369, /* (157) end_opt ::= END WITH NK_STRING */ + 369, /* (158) end_opt ::= END WITH TIMESTAMP NK_STRING */ + 341, /* (159) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + 341, /* (160) cmd ::= CREATE TABLE multi_create_clause */ + 341, /* (161) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ + 341, /* (162) cmd ::= DROP TABLE multi_drop_clause */ + 341, /* (163) cmd ::= DROP STABLE exists_opt full_table_name */ + 341, /* (164) cmd ::= ALTER TABLE alter_table_clause */ + 341, /* (165) cmd ::= ALTER STABLE alter_table_clause */ + 383, /* (166) alter_table_clause ::= full_table_name alter_table_options */ + 383, /* (167) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + 383, /* (168) alter_table_clause ::= full_table_name DROP COLUMN column_name */ + 383, /* (169) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + 383, /* (170) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + 383, /* (171) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + 383, /* (172) alter_table_clause ::= full_table_name DROP TAG column_name */ + 383, /* (173) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + 383, /* (174) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + 383, /* (175) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + 380, /* (176) multi_create_clause ::= create_subtable_clause */ + 380, /* (177) multi_create_clause ::= multi_create_clause create_subtable_clause */ + 388, /* (178) 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 */ + 382, /* (179) multi_drop_clause ::= drop_table_clause */ + 382, /* (180) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ + 391, /* (181) drop_table_clause ::= exists_opt full_table_name */ + 389, /* (182) specific_cols_opt ::= */ + 389, /* (183) specific_cols_opt ::= NK_LP col_name_list NK_RP */ + 376, /* (184) full_table_name ::= table_name */ + 376, /* (185) full_table_name ::= db_name NK_DOT table_name */ + 377, /* (186) column_def_list ::= column_def */ + 377, /* (187) column_def_list ::= column_def_list NK_COMMA column_def */ + 393, /* (188) column_def ::= column_name type_name */ + 386, /* (189) type_name ::= BOOL */ + 386, /* (190) type_name ::= TINYINT */ + 386, /* (191) type_name ::= SMALLINT */ + 386, /* (192) type_name ::= INT */ + 386, /* (193) type_name ::= INTEGER */ + 386, /* (194) type_name ::= BIGINT */ + 386, /* (195) type_name ::= FLOAT */ + 386, /* (196) type_name ::= DOUBLE */ + 386, /* (197) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + 386, /* (198) type_name ::= TIMESTAMP */ + 386, /* (199) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + 386, /* (200) type_name ::= TINYINT UNSIGNED */ + 386, /* (201) type_name ::= SMALLINT UNSIGNED */ + 386, /* (202) type_name ::= INT UNSIGNED */ + 386, /* (203) type_name ::= BIGINT UNSIGNED */ + 386, /* (204) type_name ::= JSON */ + 386, /* (205) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + 386, /* (206) type_name ::= MEDIUMBLOB */ + 386, /* (207) type_name ::= BLOB */ + 386, /* (208) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + 386, /* (209) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ + 386, /* (210) type_name ::= DECIMAL */ + 386, /* (211) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + 386, /* (212) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + 378, /* (213) tags_def_opt ::= */ + 378, /* (214) tags_def_opt ::= tags_def */ + 381, /* (215) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + 379, /* (216) table_options ::= */ + 379, /* (217) table_options ::= table_options COMMENT NK_STRING */ + 379, /* (218) table_options ::= table_options MAX_DELAY duration_list */ + 379, /* (219) table_options ::= table_options WATERMARK duration_list */ + 379, /* (220) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + 379, /* (221) table_options ::= table_options TTL NK_INTEGER */ + 379, /* (222) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + 379, /* (223) table_options ::= table_options DELETE_MARK duration_list */ + 384, /* (224) alter_table_options ::= alter_table_option */ + 384, /* (225) alter_table_options ::= alter_table_options alter_table_option */ + 396, /* (226) alter_table_option ::= COMMENT NK_STRING */ + 396, /* (227) alter_table_option ::= TTL NK_INTEGER */ + 394, /* (228) duration_list ::= duration_literal */ + 394, /* (229) duration_list ::= duration_list NK_COMMA duration_literal */ + 395, /* (230) rollup_func_list ::= rollup_func_name */ + 395, /* (231) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + 398, /* (232) rollup_func_name ::= function_name */ + 398, /* (233) rollup_func_name ::= FIRST */ + 398, /* (234) rollup_func_name ::= LAST */ + 392, /* (235) col_name_list ::= col_name */ + 392, /* (236) col_name_list ::= col_name_list NK_COMMA col_name */ + 400, /* (237) col_name ::= column_name */ + 341, /* (238) cmd ::= SHOW DNODES */ + 341, /* (239) cmd ::= SHOW USERS */ + 341, /* (240) cmd ::= SHOW USER PRIVILEGES */ + 341, /* (241) cmd ::= SHOW DATABASES */ + 341, /* (242) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + 341, /* (243) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + 341, /* (244) cmd ::= SHOW db_name_cond_opt VGROUPS */ + 341, /* (245) cmd ::= SHOW MNODES */ + 341, /* (246) cmd ::= SHOW QNODES */ + 341, /* (247) cmd ::= SHOW FUNCTIONS */ + 341, /* (248) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + 341, /* (249) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ + 341, /* (250) cmd ::= SHOW STREAMS */ + 341, /* (251) cmd ::= SHOW ACCOUNTS */ + 341, /* (252) cmd ::= SHOW APPS */ + 341, /* (253) cmd ::= SHOW CONNECTIONS */ + 341, /* (254) cmd ::= SHOW LICENCES */ + 341, /* (255) cmd ::= SHOW GRANTS */ + 341, /* (256) cmd ::= SHOW CREATE DATABASE db_name */ + 341, /* (257) cmd ::= SHOW CREATE TABLE full_table_name */ + 341, /* (258) cmd ::= SHOW CREATE STABLE full_table_name */ + 341, /* (259) cmd ::= SHOW QUERIES */ + 341, /* (260) cmd ::= SHOW SCORES */ + 341, /* (261) cmd ::= SHOW TOPICS */ + 341, /* (262) cmd ::= SHOW VARIABLES */ + 341, /* (263) cmd ::= SHOW CLUSTER VARIABLES */ + 341, /* (264) cmd ::= SHOW LOCAL VARIABLES */ + 341, /* (265) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + 341, /* (266) cmd ::= SHOW BNODES */ + 341, /* (267) cmd ::= SHOW SNODES */ + 341, /* (268) cmd ::= SHOW CLUSTER */ + 341, /* (269) cmd ::= SHOW TRANSACTIONS */ + 341, /* (270) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + 341, /* (271) cmd ::= SHOW CONSUMERS */ + 341, /* (272) cmd ::= SHOW SUBSCRIPTIONS */ + 341, /* (273) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + 341, /* (274) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ + 341, /* (275) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + 341, /* (276) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ + 341, /* (277) cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ + 341, /* (278) cmd ::= SHOW VNODES */ + 341, /* (279) cmd ::= SHOW db_name_cond_opt ALIVE */ + 341, /* (280) cmd ::= SHOW CLUSTER ALIVE */ + 341, /* (281) cmd ::= SHOW db_name_cond_opt VIEWS */ + 401, /* (282) db_name_cond_opt ::= */ + 401, /* (283) db_name_cond_opt ::= db_name NK_DOT */ + 402, /* (284) like_pattern_opt ::= */ + 402, /* (285) like_pattern_opt ::= LIKE NK_STRING */ + 403, /* (286) table_name_cond ::= table_name */ + 404, /* (287) from_db_opt ::= */ + 404, /* (288) from_db_opt ::= FROM db_name */ + 405, /* (289) tag_list_opt ::= */ + 405, /* (290) tag_list_opt ::= tag_item */ + 405, /* (291) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + 406, /* (292) tag_item ::= TBNAME */ + 406, /* (293) tag_item ::= QTAGS */ + 406, /* (294) tag_item ::= column_name */ + 406, /* (295) tag_item ::= column_name column_alias */ + 406, /* (296) tag_item ::= column_name AS column_alias */ + 341, /* (297) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ + 341, /* (298) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ + 341, /* (299) cmd ::= DROP INDEX exists_opt full_index_name */ + 409, /* (300) full_index_name ::= index_name */ + 409, /* (301) full_index_name ::= db_name NK_DOT index_name */ + 408, /* (302) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + 408, /* (303) 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 */ + 411, /* (304) func_list ::= func */ + 411, /* (305) func_list ::= func_list NK_COMMA func */ + 414, /* (306) func ::= sma_func_name NK_LP expression_list NK_RP */ + 415, /* (307) sma_func_name ::= function_name */ + 415, /* (308) sma_func_name ::= COUNT */ + 415, /* (309) sma_func_name ::= FIRST */ + 415, /* (310) sma_func_name ::= LAST */ + 415, /* (311) sma_func_name ::= LAST_ROW */ + 413, /* (312) sma_stream_opt ::= */ + 413, /* (313) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + 413, /* (314) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + 413, /* (315) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + 416, /* (316) with_meta ::= AS */ + 416, /* (317) with_meta ::= WITH META AS */ + 416, /* (318) with_meta ::= ONLY META AS */ + 341, /* (319) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + 341, /* (320) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + 341, /* (321) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + 341, /* (322) cmd ::= DROP TOPIC exists_opt topic_name */ + 341, /* (323) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + 341, /* (324) cmd ::= DESC full_table_name */ + 341, /* (325) cmd ::= DESCRIBE full_table_name */ + 341, /* (326) cmd ::= RESET QUERY CACHE */ + 341, /* (327) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + 341, /* (328) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + 420, /* (329) analyze_opt ::= */ + 420, /* (330) analyze_opt ::= ANALYZE */ + 421, /* (331) explain_options ::= */ + 421, /* (332) explain_options ::= explain_options VERBOSE NK_BOOL */ + 421, /* (333) explain_options ::= explain_options RATIO NK_FLOAT */ + 341, /* (334) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + 341, /* (335) cmd ::= DROP FUNCTION exists_opt function_name */ + 424, /* (336) agg_func_opt ::= */ + 424, /* (337) agg_func_opt ::= AGGREGATE */ + 425, /* (338) bufsize_opt ::= */ + 425, /* (339) bufsize_opt ::= BUFSIZE NK_INTEGER */ + 426, /* (340) language_opt ::= */ + 426, /* (341) language_opt ::= LANGUAGE NK_STRING */ + 423, /* (342) or_replace_opt ::= */ + 423, /* (343) or_replace_opt ::= OR REPLACE */ + 341, /* (344) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ + 341, /* (345) cmd ::= DROP VIEW exists_opt full_view_name */ + 427, /* (346) full_view_name ::= view_name */ + 427, /* (347) full_view_name ::= db_name NK_DOT view_name */ + 341, /* (348) 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 */ + 341, /* (349) cmd ::= DROP STREAM exists_opt stream_name */ + 341, /* (350) cmd ::= PAUSE STREAM exists_opt stream_name */ + 341, /* (351) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + 431, /* (352) col_list_opt ::= */ + 431, /* (353) col_list_opt ::= NK_LP col_name_list NK_RP */ + 432, /* (354) tag_def_or_ref_opt ::= */ + 432, /* (355) tag_def_or_ref_opt ::= tags_def */ + 432, /* (356) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + 430, /* (357) stream_options ::= */ + 430, /* (358) stream_options ::= stream_options TRIGGER AT_ONCE */ + 430, /* (359) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + 430, /* (360) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + 430, /* (361) stream_options ::= stream_options WATERMARK duration_literal */ + 430, /* (362) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + 430, /* (363) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + 430, /* (364) stream_options ::= stream_options DELETE_MARK duration_literal */ + 430, /* (365) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + 433, /* (366) subtable_opt ::= */ + 433, /* (367) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + 434, /* (368) ignore_opt ::= */ + 434, /* (369) ignore_opt ::= IGNORE UNTREATED */ + 341, /* (370) cmd ::= KILL CONNECTION NK_INTEGER */ + 341, /* (371) cmd ::= KILL QUERY NK_STRING */ + 341, /* (372) cmd ::= KILL TRANSACTION NK_INTEGER */ + 341, /* (373) cmd ::= BALANCE VGROUP */ + 341, /* (374) cmd ::= BALANCE VGROUP LEADER */ + 341, /* (375) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + 341, /* (376) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + 341, /* (377) cmd ::= SPLIT VGROUP NK_INTEGER */ + 436, /* (378) dnode_list ::= DNODE NK_INTEGER */ + 436, /* (379) dnode_list ::= dnode_list DNODE NK_INTEGER */ + 341, /* (380) cmd ::= DELETE FROM full_table_name where_clause_opt */ + 341, /* (381) cmd ::= query_or_subquery */ + 341, /* (382) cmd ::= insert_query */ + 422, /* (383) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + 422, /* (384) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + 344, /* (385) literal ::= NK_INTEGER */ + 344, /* (386) literal ::= NK_FLOAT */ + 344, /* (387) literal ::= NK_STRING */ + 344, /* (388) literal ::= NK_BOOL */ + 344, /* (389) literal ::= TIMESTAMP NK_STRING */ + 344, /* (390) literal ::= duration_literal */ + 344, /* (391) literal ::= NULL */ + 344, /* (392) literal ::= NK_QUESTION */ + 397, /* (393) duration_literal ::= NK_VARIABLE */ + 373, /* (394) signed ::= NK_INTEGER */ + 373, /* (395) signed ::= NK_PLUS NK_INTEGER */ + 373, /* (396) signed ::= NK_MINUS NK_INTEGER */ + 373, /* (397) signed ::= NK_FLOAT */ + 373, /* (398) signed ::= NK_PLUS NK_FLOAT */ + 373, /* (399) signed ::= NK_MINUS NK_FLOAT */ + 387, /* (400) signed_literal ::= signed */ + 387, /* (401) signed_literal ::= NK_STRING */ + 387, /* (402) signed_literal ::= NK_BOOL */ + 387, /* (403) signed_literal ::= TIMESTAMP NK_STRING */ + 387, /* (404) signed_literal ::= duration_literal */ + 387, /* (405) signed_literal ::= NULL */ + 387, /* (406) signed_literal ::= literal_func */ + 387, /* (407) signed_literal ::= NK_QUESTION */ + 438, /* (408) literal_list ::= signed_literal */ + 438, /* (409) literal_list ::= literal_list NK_COMMA signed_literal */ + 356, /* (410) db_name ::= NK_ID */ + 357, /* (411) table_name ::= NK_ID */ + 385, /* (412) column_name ::= NK_ID */ + 399, /* (413) function_name ::= NK_ID */ + 428, /* (414) view_name ::= NK_ID */ + 439, /* (415) table_alias ::= NK_ID */ + 407, /* (416) column_alias ::= NK_ID */ + 349, /* (417) user_name ::= NK_ID */ + 358, /* (418) topic_name ::= NK_ID */ + 429, /* (419) stream_name ::= NK_ID */ + 419, /* (420) cgroup_name ::= NK_ID */ + 410, /* (421) index_name ::= NK_ID */ + 440, /* (422) expr_or_subquery ::= expression */ + 435, /* (423) expression ::= literal */ + 435, /* (424) expression ::= pseudo_column */ + 435, /* (425) expression ::= column_reference */ + 435, /* (426) expression ::= function_expression */ + 435, /* (427) expression ::= case_when_expression */ + 435, /* (428) expression ::= NK_LP expression NK_RP */ + 435, /* (429) expression ::= NK_PLUS expr_or_subquery */ + 435, /* (430) expression ::= NK_MINUS expr_or_subquery */ + 435, /* (431) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + 435, /* (432) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + 435, /* (433) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + 435, /* (434) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + 435, /* (435) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + 435, /* (436) expression ::= column_reference NK_ARROW NK_STRING */ + 435, /* (437) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + 435, /* (438) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + 390, /* (439) expression_list ::= expr_or_subquery */ + 390, /* (440) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + 442, /* (441) column_reference ::= column_name */ + 442, /* (442) column_reference ::= table_name NK_DOT column_name */ + 441, /* (443) pseudo_column ::= ROWTS */ + 441, /* (444) pseudo_column ::= TBNAME */ + 441, /* (445) pseudo_column ::= table_name NK_DOT TBNAME */ + 441, /* (446) pseudo_column ::= QSTART */ + 441, /* (447) pseudo_column ::= QEND */ + 441, /* (448) pseudo_column ::= QDURATION */ + 441, /* (449) pseudo_column ::= WSTART */ + 441, /* (450) pseudo_column ::= WEND */ + 441, /* (451) pseudo_column ::= WDURATION */ + 441, /* (452) pseudo_column ::= IROWTS */ + 441, /* (453) pseudo_column ::= ISFILLED */ + 441, /* (454) pseudo_column ::= QTAGS */ + 443, /* (455) function_expression ::= function_name NK_LP expression_list NK_RP */ + 443, /* (456) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + 443, /* (457) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + 443, /* (458) function_expression ::= literal_func */ + 437, /* (459) literal_func ::= noarg_func NK_LP NK_RP */ + 437, /* (460) literal_func ::= NOW */ + 447, /* (461) noarg_func ::= NOW */ + 447, /* (462) noarg_func ::= TODAY */ + 447, /* (463) noarg_func ::= TIMEZONE */ + 447, /* (464) noarg_func ::= DATABASE */ + 447, /* (465) noarg_func ::= CLIENT_VERSION */ + 447, /* (466) noarg_func ::= SERVER_VERSION */ + 447, /* (467) noarg_func ::= SERVER_STATUS */ + 447, /* (468) noarg_func ::= CURRENT_USER */ + 447, /* (469) noarg_func ::= USER */ + 445, /* (470) star_func ::= COUNT */ + 445, /* (471) star_func ::= FIRST */ + 445, /* (472) star_func ::= LAST */ + 445, /* (473) star_func ::= LAST_ROW */ + 446, /* (474) star_func_para_list ::= NK_STAR */ + 446, /* (475) star_func_para_list ::= other_para_list */ + 448, /* (476) other_para_list ::= star_func_para */ + 448, /* (477) other_para_list ::= other_para_list NK_COMMA star_func_para */ + 449, /* (478) star_func_para ::= expr_or_subquery */ + 449, /* (479) star_func_para ::= table_name NK_DOT NK_STAR */ + 444, /* (480) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + 444, /* (481) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + 450, /* (482) when_then_list ::= when_then_expr */ + 450, /* (483) when_then_list ::= when_then_list when_then_expr */ + 453, /* (484) when_then_expr ::= WHEN common_expression THEN common_expression */ + 451, /* (485) case_when_else_opt ::= */ + 451, /* (486) case_when_else_opt ::= ELSE common_expression */ + 454, /* (487) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + 454, /* (488) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + 454, /* (489) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + 454, /* (490) predicate ::= expr_or_subquery IS NULL */ + 454, /* (491) predicate ::= expr_or_subquery IS NOT NULL */ + 454, /* (492) predicate ::= expr_or_subquery in_op in_predicate_value */ + 455, /* (493) compare_op ::= NK_LT */ + 455, /* (494) compare_op ::= NK_GT */ + 455, /* (495) compare_op ::= NK_LE */ + 455, /* (496) compare_op ::= NK_GE */ + 455, /* (497) compare_op ::= NK_NE */ + 455, /* (498) compare_op ::= NK_EQ */ + 455, /* (499) compare_op ::= LIKE */ + 455, /* (500) compare_op ::= NOT LIKE */ + 455, /* (501) compare_op ::= MATCH */ + 455, /* (502) compare_op ::= NMATCH */ + 455, /* (503) compare_op ::= CONTAINS */ + 456, /* (504) in_op ::= IN */ + 456, /* (505) in_op ::= NOT IN */ + 457, /* (506) in_predicate_value ::= NK_LP literal_list NK_RP */ + 458, /* (507) boolean_value_expression ::= boolean_primary */ + 458, /* (508) boolean_value_expression ::= NOT boolean_primary */ + 458, /* (509) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + 458, /* (510) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + 459, /* (511) boolean_primary ::= predicate */ + 459, /* (512) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + 452, /* (513) common_expression ::= expr_or_subquery */ + 452, /* (514) common_expression ::= boolean_value_expression */ + 460, /* (515) from_clause_opt ::= */ + 460, /* (516) from_clause_opt ::= FROM table_reference_list */ + 461, /* (517) table_reference_list ::= table_reference */ + 461, /* (518) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + 462, /* (519) table_reference ::= table_primary */ + 462, /* (520) table_reference ::= joined_table */ + 463, /* (521) table_primary ::= table_name alias_opt */ + 463, /* (522) table_primary ::= db_name NK_DOT table_name alias_opt */ + 463, /* (523) table_primary ::= subquery alias_opt */ + 463, /* (524) table_primary ::= parenthesized_joined_table */ + 465, /* (525) alias_opt ::= */ + 465, /* (526) alias_opt ::= table_alias */ + 465, /* (527) alias_opt ::= AS table_alias */ + 467, /* (528) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + 467, /* (529) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + 464, /* (530) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + 468, /* (531) join_type ::= */ + 468, /* (532) join_type ::= INNER */ + 469, /* (533) 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 */ + 470, /* (534) hint_list ::= */ + 470, /* (535) hint_list ::= NK_HINT */ + 472, /* (536) tag_mode_opt ::= */ + 472, /* (537) tag_mode_opt ::= TAGS */ + 471, /* (538) set_quantifier_opt ::= */ + 471, /* (539) set_quantifier_opt ::= DISTINCT */ + 471, /* (540) set_quantifier_opt ::= ALL */ + 473, /* (541) select_list ::= select_item */ + 473, /* (542) select_list ::= select_list NK_COMMA select_item */ + 481, /* (543) select_item ::= NK_STAR */ + 481, /* (544) select_item ::= common_expression */ + 481, /* (545) select_item ::= common_expression column_alias */ + 481, /* (546) select_item ::= common_expression AS column_alias */ + 481, /* (547) select_item ::= table_name NK_DOT NK_STAR */ + 418, /* (548) where_clause_opt ::= */ + 418, /* (549) where_clause_opt ::= WHERE search_condition */ + 474, /* (550) partition_by_clause_opt ::= */ + 474, /* (551) partition_by_clause_opt ::= PARTITION BY partition_list */ + 482, /* (552) partition_list ::= partition_item */ + 482, /* (553) partition_list ::= partition_list NK_COMMA partition_item */ + 483, /* (554) partition_item ::= expr_or_subquery */ + 483, /* (555) partition_item ::= expr_or_subquery column_alias */ + 483, /* (556) partition_item ::= expr_or_subquery AS column_alias */ + 478, /* (557) twindow_clause_opt ::= */ + 478, /* (558) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + 478, /* (559) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + 478, /* (560) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + 478, /* (561) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + 478, /* (562) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 412, /* (563) sliding_opt ::= */ + 412, /* (564) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + 477, /* (565) fill_opt ::= */ + 477, /* (566) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + 477, /* (567) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + 477, /* (568) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + 484, /* (569) fill_mode ::= NONE */ + 484, /* (570) fill_mode ::= PREV */ + 484, /* (571) fill_mode ::= NULL */ + 484, /* (572) fill_mode ::= NULL_F */ + 484, /* (573) fill_mode ::= LINEAR */ + 484, /* (574) fill_mode ::= NEXT */ + 479, /* (575) group_by_clause_opt ::= */ + 479, /* (576) group_by_clause_opt ::= GROUP BY group_by_list */ + 485, /* (577) group_by_list ::= expr_or_subquery */ + 485, /* (578) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 480, /* (579) having_clause_opt ::= */ + 480, /* (580) having_clause_opt ::= HAVING search_condition */ + 475, /* (581) range_opt ::= */ + 475, /* (582) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + 475, /* (583) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 476, /* (584) every_opt ::= */ + 476, /* (585) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + 486, /* (586) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + 487, /* (587) query_simple ::= query_specification */ + 487, /* (588) query_simple ::= union_query_expression */ + 491, /* (589) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + 491, /* (590) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + 492, /* (591) query_simple_or_subquery ::= query_simple */ + 492, /* (592) query_simple_or_subquery ::= subquery */ + 417, /* (593) query_or_subquery ::= query_expression */ + 417, /* (594) query_or_subquery ::= subquery */ + 488, /* (595) order_by_clause_opt ::= */ + 488, /* (596) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 489, /* (597) slimit_clause_opt ::= */ + 489, /* (598) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + 489, /* (599) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + 489, /* (600) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 490, /* (601) limit_clause_opt ::= */ + 490, /* (602) limit_clause_opt ::= LIMIT NK_INTEGER */ + 490, /* (603) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + 490, /* (604) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 466, /* (605) subquery ::= NK_LP query_expression NK_RP */ + 466, /* (606) subquery ::= NK_LP subquery NK_RP */ + 359, /* (607) search_condition ::= common_expression */ + 493, /* (608) sort_specification_list ::= sort_specification */ + 493, /* (609) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + 494, /* (610) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 495, /* (611) ordering_specification_opt ::= */ + 495, /* (612) ordering_specification_opt ::= ASC */ + 495, /* (613) ordering_specification_opt ::= DESC */ + 496, /* (614) null_ordering_opt ::= */ + 496, /* (615) null_ordering_opt ::= NULLS FIRST */ + 496, /* (616) null_ordering_opt ::= NULLS LAST */ }; /* For rule J, yyRuleInfoNRhs[J] contains the negative of the number @@ -4163,341 +4165,342 @@ static const signed char yyRuleInfoNRhs[] = { -2, /* (278) cmd ::= SHOW VNODES */ -3, /* (279) cmd ::= SHOW db_name_cond_opt ALIVE */ -3, /* (280) cmd ::= SHOW CLUSTER ALIVE */ - 0, /* (281) db_name_cond_opt ::= */ - -2, /* (282) db_name_cond_opt ::= db_name NK_DOT */ - 0, /* (283) like_pattern_opt ::= */ - -2, /* (284) like_pattern_opt ::= LIKE NK_STRING */ - -1, /* (285) table_name_cond ::= table_name */ - 0, /* (286) from_db_opt ::= */ - -2, /* (287) from_db_opt ::= FROM db_name */ - 0, /* (288) tag_list_opt ::= */ - -1, /* (289) tag_list_opt ::= tag_item */ - -3, /* (290) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - -1, /* (291) tag_item ::= TBNAME */ - -1, /* (292) tag_item ::= QTAGS */ - -1, /* (293) tag_item ::= column_name */ - -2, /* (294) tag_item ::= column_name column_alias */ - -3, /* (295) tag_item ::= column_name AS column_alias */ - -8, /* (296) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ - -9, /* (297) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ - -4, /* (298) cmd ::= DROP INDEX exists_opt full_index_name */ - -1, /* (299) full_index_name ::= index_name */ - -3, /* (300) full_index_name ::= db_name NK_DOT index_name */ - -10, /* (301) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - -12, /* (302) 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, /* (303) func_list ::= func */ - -3, /* (304) func_list ::= func_list NK_COMMA func */ - -4, /* (305) func ::= sma_func_name NK_LP expression_list NK_RP */ - -1, /* (306) sma_func_name ::= function_name */ - -1, /* (307) sma_func_name ::= COUNT */ - -1, /* (308) sma_func_name ::= FIRST */ - -1, /* (309) sma_func_name ::= LAST */ - -1, /* (310) sma_func_name ::= LAST_ROW */ - 0, /* (311) sma_stream_opt ::= */ - -3, /* (312) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - -3, /* (313) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - -3, /* (314) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - -1, /* (315) with_meta ::= AS */ - -3, /* (316) with_meta ::= WITH META AS */ - -3, /* (317) with_meta ::= ONLY META AS */ - -6, /* (318) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - -7, /* (319) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - -8, /* (320) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - -4, /* (321) cmd ::= DROP TOPIC exists_opt topic_name */ - -7, /* (322) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - -2, /* (323) cmd ::= DESC full_table_name */ - -2, /* (324) cmd ::= DESCRIBE full_table_name */ - -3, /* (325) cmd ::= RESET QUERY CACHE */ - -4, /* (326) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - -4, /* (327) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 0, /* (328) analyze_opt ::= */ - -1, /* (329) analyze_opt ::= ANALYZE */ - 0, /* (330) explain_options ::= */ - -3, /* (331) explain_options ::= explain_options VERBOSE NK_BOOL */ - -3, /* (332) explain_options ::= explain_options RATIO NK_FLOAT */ - -12, /* (333) 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, /* (334) cmd ::= DROP FUNCTION exists_opt function_name */ - 0, /* (335) agg_func_opt ::= */ - -1, /* (336) agg_func_opt ::= AGGREGATE */ - 0, /* (337) bufsize_opt ::= */ - -2, /* (338) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 0, /* (339) language_opt ::= */ - -2, /* (340) language_opt ::= LANGUAGE NK_STRING */ - 0, /* (341) or_replace_opt ::= */ - -2, /* (342) or_replace_opt ::= OR REPLACE */ - -6, /* (343) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ - -4, /* (344) cmd ::= DROP VIEW exists_opt full_view_name */ - -1, /* (345) full_view_name ::= view_name */ - -3, /* (346) full_view_name ::= db_name NK_DOT view_name */ - -12, /* (347) 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, /* (348) cmd ::= DROP STREAM exists_opt stream_name */ - -4, /* (349) cmd ::= PAUSE STREAM exists_opt stream_name */ - -5, /* (350) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 0, /* (351) col_list_opt ::= */ - -3, /* (352) col_list_opt ::= NK_LP col_name_list NK_RP */ - 0, /* (353) tag_def_or_ref_opt ::= */ - -1, /* (354) tag_def_or_ref_opt ::= tags_def */ - -4, /* (355) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 0, /* (356) stream_options ::= */ - -3, /* (357) stream_options ::= stream_options TRIGGER AT_ONCE */ - -3, /* (358) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - -4, /* (359) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - -3, /* (360) stream_options ::= stream_options WATERMARK duration_literal */ - -4, /* (361) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - -3, /* (362) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - -3, /* (363) stream_options ::= stream_options DELETE_MARK duration_literal */ - -4, /* (364) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 0, /* (365) subtable_opt ::= */ - -4, /* (366) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 0, /* (367) ignore_opt ::= */ - -2, /* (368) ignore_opt ::= IGNORE UNTREATED */ - -3, /* (369) cmd ::= KILL CONNECTION NK_INTEGER */ - -3, /* (370) cmd ::= KILL QUERY NK_STRING */ - -3, /* (371) cmd ::= KILL TRANSACTION NK_INTEGER */ - -2, /* (372) cmd ::= BALANCE VGROUP */ - -3, /* (373) cmd ::= BALANCE VGROUP LEADER */ - -4, /* (374) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - -4, /* (375) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - -3, /* (376) cmd ::= SPLIT VGROUP NK_INTEGER */ - -2, /* (377) dnode_list ::= DNODE NK_INTEGER */ - -3, /* (378) dnode_list ::= dnode_list DNODE NK_INTEGER */ - -4, /* (379) cmd ::= DELETE FROM full_table_name where_clause_opt */ - -1, /* (380) cmd ::= query_or_subquery */ - -1, /* (381) cmd ::= insert_query */ - -7, /* (382) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - -4, /* (383) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - -1, /* (384) literal ::= NK_INTEGER */ - -1, /* (385) literal ::= NK_FLOAT */ - -1, /* (386) literal ::= NK_STRING */ - -1, /* (387) literal ::= NK_BOOL */ - -2, /* (388) literal ::= TIMESTAMP NK_STRING */ - -1, /* (389) literal ::= duration_literal */ - -1, /* (390) literal ::= NULL */ - -1, /* (391) literal ::= NK_QUESTION */ - -1, /* (392) duration_literal ::= NK_VARIABLE */ - -1, /* (393) signed ::= NK_INTEGER */ - -2, /* (394) signed ::= NK_PLUS NK_INTEGER */ - -2, /* (395) signed ::= NK_MINUS NK_INTEGER */ - -1, /* (396) signed ::= NK_FLOAT */ - -2, /* (397) signed ::= NK_PLUS NK_FLOAT */ - -2, /* (398) signed ::= NK_MINUS NK_FLOAT */ - -1, /* (399) signed_literal ::= signed */ - -1, /* (400) signed_literal ::= NK_STRING */ - -1, /* (401) signed_literal ::= NK_BOOL */ - -2, /* (402) signed_literal ::= TIMESTAMP NK_STRING */ - -1, /* (403) signed_literal ::= duration_literal */ - -1, /* (404) signed_literal ::= NULL */ - -1, /* (405) signed_literal ::= literal_func */ - -1, /* (406) signed_literal ::= NK_QUESTION */ - -1, /* (407) literal_list ::= signed_literal */ - -3, /* (408) literal_list ::= literal_list NK_COMMA signed_literal */ - -1, /* (409) db_name ::= NK_ID */ - -1, /* (410) table_name ::= NK_ID */ - -1, /* (411) column_name ::= NK_ID */ - -1, /* (412) function_name ::= NK_ID */ - -1, /* (413) view_name ::= NK_ID */ - -1, /* (414) table_alias ::= NK_ID */ - -1, /* (415) column_alias ::= NK_ID */ - -1, /* (416) user_name ::= NK_ID */ - -1, /* (417) topic_name ::= NK_ID */ - -1, /* (418) stream_name ::= NK_ID */ - -1, /* (419) cgroup_name ::= NK_ID */ - -1, /* (420) index_name ::= NK_ID */ - -1, /* (421) expr_or_subquery ::= expression */ - -1, /* (422) expression ::= literal */ - -1, /* (423) expression ::= pseudo_column */ - -1, /* (424) expression ::= column_reference */ - -1, /* (425) expression ::= function_expression */ - -1, /* (426) expression ::= case_when_expression */ - -3, /* (427) expression ::= NK_LP expression NK_RP */ - -2, /* (428) expression ::= NK_PLUS expr_or_subquery */ - -2, /* (429) expression ::= NK_MINUS expr_or_subquery */ - -3, /* (430) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - -3, /* (431) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - -3, /* (432) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - -3, /* (433) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - -3, /* (434) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - -3, /* (435) expression ::= column_reference NK_ARROW NK_STRING */ - -3, /* (436) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - -3, /* (437) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - -1, /* (438) expression_list ::= expr_or_subquery */ - -3, /* (439) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - -1, /* (440) column_reference ::= column_name */ - -3, /* (441) column_reference ::= table_name NK_DOT column_name */ - -1, /* (442) pseudo_column ::= ROWTS */ - -1, /* (443) pseudo_column ::= TBNAME */ - -3, /* (444) pseudo_column ::= table_name NK_DOT TBNAME */ - -1, /* (445) pseudo_column ::= QSTART */ - -1, /* (446) pseudo_column ::= QEND */ - -1, /* (447) pseudo_column ::= QDURATION */ - -1, /* (448) pseudo_column ::= WSTART */ - -1, /* (449) pseudo_column ::= WEND */ - -1, /* (450) pseudo_column ::= WDURATION */ - -1, /* (451) pseudo_column ::= IROWTS */ - -1, /* (452) pseudo_column ::= ISFILLED */ - -1, /* (453) pseudo_column ::= QTAGS */ - -4, /* (454) function_expression ::= function_name NK_LP expression_list NK_RP */ - -4, /* (455) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - -6, /* (456) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - -1, /* (457) function_expression ::= literal_func */ - -3, /* (458) literal_func ::= noarg_func NK_LP NK_RP */ - -1, /* (459) literal_func ::= NOW */ - -1, /* (460) noarg_func ::= NOW */ - -1, /* (461) noarg_func ::= TODAY */ - -1, /* (462) noarg_func ::= TIMEZONE */ - -1, /* (463) noarg_func ::= DATABASE */ - -1, /* (464) noarg_func ::= CLIENT_VERSION */ - -1, /* (465) noarg_func ::= SERVER_VERSION */ - -1, /* (466) noarg_func ::= SERVER_STATUS */ - -1, /* (467) noarg_func ::= CURRENT_USER */ - -1, /* (468) noarg_func ::= USER */ - -1, /* (469) star_func ::= COUNT */ - -1, /* (470) star_func ::= FIRST */ - -1, /* (471) star_func ::= LAST */ - -1, /* (472) star_func ::= LAST_ROW */ - -1, /* (473) star_func_para_list ::= NK_STAR */ - -1, /* (474) star_func_para_list ::= other_para_list */ - -1, /* (475) other_para_list ::= star_func_para */ - -3, /* (476) other_para_list ::= other_para_list NK_COMMA star_func_para */ - -1, /* (477) star_func_para ::= expr_or_subquery */ - -3, /* (478) star_func_para ::= table_name NK_DOT NK_STAR */ - -4, /* (479) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - -5, /* (480) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - -1, /* (481) when_then_list ::= when_then_expr */ - -2, /* (482) when_then_list ::= when_then_list when_then_expr */ - -4, /* (483) when_then_expr ::= WHEN common_expression THEN common_expression */ - 0, /* (484) case_when_else_opt ::= */ - -2, /* (485) case_when_else_opt ::= ELSE common_expression */ - -3, /* (486) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - -5, /* (487) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - -6, /* (488) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - -3, /* (489) predicate ::= expr_or_subquery IS NULL */ - -4, /* (490) predicate ::= expr_or_subquery IS NOT NULL */ - -3, /* (491) predicate ::= expr_or_subquery in_op in_predicate_value */ - -1, /* (492) compare_op ::= NK_LT */ - -1, /* (493) compare_op ::= NK_GT */ - -1, /* (494) compare_op ::= NK_LE */ - -1, /* (495) compare_op ::= NK_GE */ - -1, /* (496) compare_op ::= NK_NE */ - -1, /* (497) compare_op ::= NK_EQ */ - -1, /* (498) compare_op ::= LIKE */ - -2, /* (499) compare_op ::= NOT LIKE */ - -1, /* (500) compare_op ::= MATCH */ - -1, /* (501) compare_op ::= NMATCH */ - -1, /* (502) compare_op ::= CONTAINS */ - -1, /* (503) in_op ::= IN */ - -2, /* (504) in_op ::= NOT IN */ - -3, /* (505) in_predicate_value ::= NK_LP literal_list NK_RP */ - -1, /* (506) boolean_value_expression ::= boolean_primary */ - -2, /* (507) boolean_value_expression ::= NOT boolean_primary */ - -3, /* (508) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - -3, /* (509) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - -1, /* (510) boolean_primary ::= predicate */ - -3, /* (511) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - -1, /* (512) common_expression ::= expr_or_subquery */ - -1, /* (513) common_expression ::= boolean_value_expression */ - 0, /* (514) from_clause_opt ::= */ - -2, /* (515) from_clause_opt ::= FROM table_reference_list */ - -1, /* (516) table_reference_list ::= table_reference */ - -3, /* (517) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - -1, /* (518) table_reference ::= table_primary */ - -1, /* (519) table_reference ::= joined_table */ - -2, /* (520) table_primary ::= table_name alias_opt */ - -4, /* (521) table_primary ::= db_name NK_DOT table_name alias_opt */ - -2, /* (522) table_primary ::= subquery alias_opt */ - -1, /* (523) table_primary ::= parenthesized_joined_table */ - 0, /* (524) alias_opt ::= */ - -1, /* (525) alias_opt ::= table_alias */ - -2, /* (526) alias_opt ::= AS table_alias */ - -3, /* (527) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - -3, /* (528) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - -6, /* (529) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 0, /* (530) join_type ::= */ - -1, /* (531) join_type ::= INNER */ - -14, /* (532) 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, /* (533) hint_list ::= */ - -1, /* (534) hint_list ::= NK_HINT */ - 0, /* (535) tag_mode_opt ::= */ - -1, /* (536) tag_mode_opt ::= TAGS */ - 0, /* (537) set_quantifier_opt ::= */ - -1, /* (538) set_quantifier_opt ::= DISTINCT */ - -1, /* (539) set_quantifier_opt ::= ALL */ - -1, /* (540) select_list ::= select_item */ - -3, /* (541) select_list ::= select_list NK_COMMA select_item */ - -1, /* (542) select_item ::= NK_STAR */ - -1, /* (543) select_item ::= common_expression */ - -2, /* (544) select_item ::= common_expression column_alias */ - -3, /* (545) select_item ::= common_expression AS column_alias */ - -3, /* (546) select_item ::= table_name NK_DOT NK_STAR */ - 0, /* (547) where_clause_opt ::= */ - -2, /* (548) where_clause_opt ::= WHERE search_condition */ - 0, /* (549) partition_by_clause_opt ::= */ - -3, /* (550) partition_by_clause_opt ::= PARTITION BY partition_list */ - -1, /* (551) partition_list ::= partition_item */ - -3, /* (552) partition_list ::= partition_list NK_COMMA partition_item */ - -1, /* (553) partition_item ::= expr_or_subquery */ - -2, /* (554) partition_item ::= expr_or_subquery column_alias */ - -3, /* (555) partition_item ::= expr_or_subquery AS column_alias */ - 0, /* (556) twindow_clause_opt ::= */ - -6, /* (557) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - -4, /* (558) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - -6, /* (559) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - -8, /* (560) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - -7, /* (561) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 0, /* (562) sliding_opt ::= */ - -4, /* (563) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - 0, /* (564) fill_opt ::= */ - -4, /* (565) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - -6, /* (566) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - -6, /* (567) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - -1, /* (568) fill_mode ::= NONE */ - -1, /* (569) fill_mode ::= PREV */ - -1, /* (570) fill_mode ::= NULL */ - -1, /* (571) fill_mode ::= NULL_F */ - -1, /* (572) fill_mode ::= LINEAR */ - -1, /* (573) fill_mode ::= NEXT */ - 0, /* (574) group_by_clause_opt ::= */ - -3, /* (575) group_by_clause_opt ::= GROUP BY group_by_list */ - -1, /* (576) group_by_list ::= expr_or_subquery */ - -3, /* (577) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 0, /* (578) having_clause_opt ::= */ - -2, /* (579) having_clause_opt ::= HAVING search_condition */ - 0, /* (580) range_opt ::= */ - -6, /* (581) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - -4, /* (582) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 0, /* (583) every_opt ::= */ - -4, /* (584) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - -4, /* (585) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - -1, /* (586) query_simple ::= query_specification */ - -1, /* (587) query_simple ::= union_query_expression */ - -4, /* (588) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - -3, /* (589) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - -1, /* (590) query_simple_or_subquery ::= query_simple */ - -1, /* (591) query_simple_or_subquery ::= subquery */ - -1, /* (592) query_or_subquery ::= query_expression */ - -1, /* (593) query_or_subquery ::= subquery */ - 0, /* (594) order_by_clause_opt ::= */ - -3, /* (595) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 0, /* (596) slimit_clause_opt ::= */ - -2, /* (597) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - -4, /* (598) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - -4, /* (599) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 0, /* (600) limit_clause_opt ::= */ - -2, /* (601) limit_clause_opt ::= LIMIT NK_INTEGER */ - -4, /* (602) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - -4, /* (603) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - -3, /* (604) subquery ::= NK_LP query_expression NK_RP */ - -3, /* (605) subquery ::= NK_LP subquery NK_RP */ - -1, /* (606) search_condition ::= common_expression */ - -1, /* (607) sort_specification_list ::= sort_specification */ - -3, /* (608) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - -3, /* (609) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 0, /* (610) ordering_specification_opt ::= */ - -1, /* (611) ordering_specification_opt ::= ASC */ - -1, /* (612) ordering_specification_opt ::= DESC */ - 0, /* (613) null_ordering_opt ::= */ - -2, /* (614) null_ordering_opt ::= NULLS FIRST */ - -2, /* (615) null_ordering_opt ::= NULLS LAST */ + -3, /* (281) cmd ::= SHOW db_name_cond_opt VIEWS */ + 0, /* (282) db_name_cond_opt ::= */ + -2, /* (283) db_name_cond_opt ::= db_name NK_DOT */ + 0, /* (284) like_pattern_opt ::= */ + -2, /* (285) like_pattern_opt ::= LIKE NK_STRING */ + -1, /* (286) table_name_cond ::= table_name */ + 0, /* (287) from_db_opt ::= */ + -2, /* (288) from_db_opt ::= FROM db_name */ + 0, /* (289) tag_list_opt ::= */ + -1, /* (290) tag_list_opt ::= tag_item */ + -3, /* (291) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + -1, /* (292) tag_item ::= TBNAME */ + -1, /* (293) tag_item ::= QTAGS */ + -1, /* (294) tag_item ::= column_name */ + -2, /* (295) tag_item ::= column_name column_alias */ + -3, /* (296) tag_item ::= column_name AS column_alias */ + -8, /* (297) cmd ::= CREATE SMA INDEX not_exists_opt col_name ON full_table_name index_options */ + -9, /* (298) cmd ::= CREATE INDEX not_exists_opt col_name ON full_table_name NK_LP col_name_list NK_RP */ + -4, /* (299) cmd ::= DROP INDEX exists_opt full_index_name */ + -1, /* (300) full_index_name ::= index_name */ + -3, /* (301) full_index_name ::= db_name NK_DOT index_name */ + -10, /* (302) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + -12, /* (303) 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, /* (304) func_list ::= func */ + -3, /* (305) func_list ::= func_list NK_COMMA func */ + -4, /* (306) func ::= sma_func_name NK_LP expression_list NK_RP */ + -1, /* (307) sma_func_name ::= function_name */ + -1, /* (308) sma_func_name ::= COUNT */ + -1, /* (309) sma_func_name ::= FIRST */ + -1, /* (310) sma_func_name ::= LAST */ + -1, /* (311) sma_func_name ::= LAST_ROW */ + 0, /* (312) sma_stream_opt ::= */ + -3, /* (313) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + -3, /* (314) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + -3, /* (315) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + -1, /* (316) with_meta ::= AS */ + -3, /* (317) with_meta ::= WITH META AS */ + -3, /* (318) with_meta ::= ONLY META AS */ + -6, /* (319) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + -7, /* (320) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + -8, /* (321) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + -4, /* (322) cmd ::= DROP TOPIC exists_opt topic_name */ + -7, /* (323) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + -2, /* (324) cmd ::= DESC full_table_name */ + -2, /* (325) cmd ::= DESCRIBE full_table_name */ + -3, /* (326) cmd ::= RESET QUERY CACHE */ + -4, /* (327) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + -4, /* (328) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + 0, /* (329) analyze_opt ::= */ + -1, /* (330) analyze_opt ::= ANALYZE */ + 0, /* (331) explain_options ::= */ + -3, /* (332) explain_options ::= explain_options VERBOSE NK_BOOL */ + -3, /* (333) explain_options ::= explain_options RATIO NK_FLOAT */ + -12, /* (334) 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, /* (335) cmd ::= DROP FUNCTION exists_opt function_name */ + 0, /* (336) agg_func_opt ::= */ + -1, /* (337) agg_func_opt ::= AGGREGATE */ + 0, /* (338) bufsize_opt ::= */ + -2, /* (339) bufsize_opt ::= BUFSIZE NK_INTEGER */ + 0, /* (340) language_opt ::= */ + -2, /* (341) language_opt ::= LANGUAGE NK_STRING */ + 0, /* (342) or_replace_opt ::= */ + -2, /* (343) or_replace_opt ::= OR REPLACE */ + -6, /* (344) cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ + -4, /* (345) cmd ::= DROP VIEW exists_opt full_view_name */ + -1, /* (346) full_view_name ::= view_name */ + -3, /* (347) full_view_name ::= db_name NK_DOT view_name */ + -12, /* (348) 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, /* (349) cmd ::= DROP STREAM exists_opt stream_name */ + -4, /* (350) cmd ::= PAUSE STREAM exists_opt stream_name */ + -5, /* (351) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + 0, /* (352) col_list_opt ::= */ + -3, /* (353) col_list_opt ::= NK_LP col_name_list NK_RP */ + 0, /* (354) tag_def_or_ref_opt ::= */ + -1, /* (355) tag_def_or_ref_opt ::= tags_def */ + -4, /* (356) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + 0, /* (357) stream_options ::= */ + -3, /* (358) stream_options ::= stream_options TRIGGER AT_ONCE */ + -3, /* (359) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + -4, /* (360) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + -3, /* (361) stream_options ::= stream_options WATERMARK duration_literal */ + -4, /* (362) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + -3, /* (363) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + -3, /* (364) stream_options ::= stream_options DELETE_MARK duration_literal */ + -4, /* (365) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + 0, /* (366) subtable_opt ::= */ + -4, /* (367) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + 0, /* (368) ignore_opt ::= */ + -2, /* (369) ignore_opt ::= IGNORE UNTREATED */ + -3, /* (370) cmd ::= KILL CONNECTION NK_INTEGER */ + -3, /* (371) cmd ::= KILL QUERY NK_STRING */ + -3, /* (372) cmd ::= KILL TRANSACTION NK_INTEGER */ + -2, /* (373) cmd ::= BALANCE VGROUP */ + -3, /* (374) cmd ::= BALANCE VGROUP LEADER */ + -4, /* (375) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + -4, /* (376) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + -3, /* (377) cmd ::= SPLIT VGROUP NK_INTEGER */ + -2, /* (378) dnode_list ::= DNODE NK_INTEGER */ + -3, /* (379) dnode_list ::= dnode_list DNODE NK_INTEGER */ + -4, /* (380) cmd ::= DELETE FROM full_table_name where_clause_opt */ + -1, /* (381) cmd ::= query_or_subquery */ + -1, /* (382) cmd ::= insert_query */ + -7, /* (383) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + -4, /* (384) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + -1, /* (385) literal ::= NK_INTEGER */ + -1, /* (386) literal ::= NK_FLOAT */ + -1, /* (387) literal ::= NK_STRING */ + -1, /* (388) literal ::= NK_BOOL */ + -2, /* (389) literal ::= TIMESTAMP NK_STRING */ + -1, /* (390) literal ::= duration_literal */ + -1, /* (391) literal ::= NULL */ + -1, /* (392) literal ::= NK_QUESTION */ + -1, /* (393) duration_literal ::= NK_VARIABLE */ + -1, /* (394) signed ::= NK_INTEGER */ + -2, /* (395) signed ::= NK_PLUS NK_INTEGER */ + -2, /* (396) signed ::= NK_MINUS NK_INTEGER */ + -1, /* (397) signed ::= NK_FLOAT */ + -2, /* (398) signed ::= NK_PLUS NK_FLOAT */ + -2, /* (399) signed ::= NK_MINUS NK_FLOAT */ + -1, /* (400) signed_literal ::= signed */ + -1, /* (401) signed_literal ::= NK_STRING */ + -1, /* (402) signed_literal ::= NK_BOOL */ + -2, /* (403) signed_literal ::= TIMESTAMP NK_STRING */ + -1, /* (404) signed_literal ::= duration_literal */ + -1, /* (405) signed_literal ::= NULL */ + -1, /* (406) signed_literal ::= literal_func */ + -1, /* (407) signed_literal ::= NK_QUESTION */ + -1, /* (408) literal_list ::= signed_literal */ + -3, /* (409) literal_list ::= literal_list NK_COMMA signed_literal */ + -1, /* (410) db_name ::= NK_ID */ + -1, /* (411) table_name ::= NK_ID */ + -1, /* (412) column_name ::= NK_ID */ + -1, /* (413) function_name ::= NK_ID */ + -1, /* (414) view_name ::= NK_ID */ + -1, /* (415) table_alias ::= NK_ID */ + -1, /* (416) column_alias ::= NK_ID */ + -1, /* (417) user_name ::= NK_ID */ + -1, /* (418) topic_name ::= NK_ID */ + -1, /* (419) stream_name ::= NK_ID */ + -1, /* (420) cgroup_name ::= NK_ID */ + -1, /* (421) index_name ::= NK_ID */ + -1, /* (422) expr_or_subquery ::= expression */ + -1, /* (423) expression ::= literal */ + -1, /* (424) expression ::= pseudo_column */ + -1, /* (425) expression ::= column_reference */ + -1, /* (426) expression ::= function_expression */ + -1, /* (427) expression ::= case_when_expression */ + -3, /* (428) expression ::= NK_LP expression NK_RP */ + -2, /* (429) expression ::= NK_PLUS expr_or_subquery */ + -2, /* (430) expression ::= NK_MINUS expr_or_subquery */ + -3, /* (431) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + -3, /* (432) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + -3, /* (433) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + -3, /* (434) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + -3, /* (435) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + -3, /* (436) expression ::= column_reference NK_ARROW NK_STRING */ + -3, /* (437) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + -3, /* (438) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + -1, /* (439) expression_list ::= expr_or_subquery */ + -3, /* (440) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + -1, /* (441) column_reference ::= column_name */ + -3, /* (442) column_reference ::= table_name NK_DOT column_name */ + -1, /* (443) pseudo_column ::= ROWTS */ + -1, /* (444) pseudo_column ::= TBNAME */ + -3, /* (445) pseudo_column ::= table_name NK_DOT TBNAME */ + -1, /* (446) pseudo_column ::= QSTART */ + -1, /* (447) pseudo_column ::= QEND */ + -1, /* (448) pseudo_column ::= QDURATION */ + -1, /* (449) pseudo_column ::= WSTART */ + -1, /* (450) pseudo_column ::= WEND */ + -1, /* (451) pseudo_column ::= WDURATION */ + -1, /* (452) pseudo_column ::= IROWTS */ + -1, /* (453) pseudo_column ::= ISFILLED */ + -1, /* (454) pseudo_column ::= QTAGS */ + -4, /* (455) function_expression ::= function_name NK_LP expression_list NK_RP */ + -4, /* (456) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + -6, /* (457) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + -1, /* (458) function_expression ::= literal_func */ + -3, /* (459) literal_func ::= noarg_func NK_LP NK_RP */ + -1, /* (460) literal_func ::= NOW */ + -1, /* (461) noarg_func ::= NOW */ + -1, /* (462) noarg_func ::= TODAY */ + -1, /* (463) noarg_func ::= TIMEZONE */ + -1, /* (464) noarg_func ::= DATABASE */ + -1, /* (465) noarg_func ::= CLIENT_VERSION */ + -1, /* (466) noarg_func ::= SERVER_VERSION */ + -1, /* (467) noarg_func ::= SERVER_STATUS */ + -1, /* (468) noarg_func ::= CURRENT_USER */ + -1, /* (469) noarg_func ::= USER */ + -1, /* (470) star_func ::= COUNT */ + -1, /* (471) star_func ::= FIRST */ + -1, /* (472) star_func ::= LAST */ + -1, /* (473) star_func ::= LAST_ROW */ + -1, /* (474) star_func_para_list ::= NK_STAR */ + -1, /* (475) star_func_para_list ::= other_para_list */ + -1, /* (476) other_para_list ::= star_func_para */ + -3, /* (477) other_para_list ::= other_para_list NK_COMMA star_func_para */ + -1, /* (478) star_func_para ::= expr_or_subquery */ + -3, /* (479) star_func_para ::= table_name NK_DOT NK_STAR */ + -4, /* (480) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + -5, /* (481) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + -1, /* (482) when_then_list ::= when_then_expr */ + -2, /* (483) when_then_list ::= when_then_list when_then_expr */ + -4, /* (484) when_then_expr ::= WHEN common_expression THEN common_expression */ + 0, /* (485) case_when_else_opt ::= */ + -2, /* (486) case_when_else_opt ::= ELSE common_expression */ + -3, /* (487) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + -5, /* (488) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + -6, /* (489) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + -3, /* (490) predicate ::= expr_or_subquery IS NULL */ + -4, /* (491) predicate ::= expr_or_subquery IS NOT NULL */ + -3, /* (492) predicate ::= expr_or_subquery in_op in_predicate_value */ + -1, /* (493) compare_op ::= NK_LT */ + -1, /* (494) compare_op ::= NK_GT */ + -1, /* (495) compare_op ::= NK_LE */ + -1, /* (496) compare_op ::= NK_GE */ + -1, /* (497) compare_op ::= NK_NE */ + -1, /* (498) compare_op ::= NK_EQ */ + -1, /* (499) compare_op ::= LIKE */ + -2, /* (500) compare_op ::= NOT LIKE */ + -1, /* (501) compare_op ::= MATCH */ + -1, /* (502) compare_op ::= NMATCH */ + -1, /* (503) compare_op ::= CONTAINS */ + -1, /* (504) in_op ::= IN */ + -2, /* (505) in_op ::= NOT IN */ + -3, /* (506) in_predicate_value ::= NK_LP literal_list NK_RP */ + -1, /* (507) boolean_value_expression ::= boolean_primary */ + -2, /* (508) boolean_value_expression ::= NOT boolean_primary */ + -3, /* (509) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + -3, /* (510) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + -1, /* (511) boolean_primary ::= predicate */ + -3, /* (512) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + -1, /* (513) common_expression ::= expr_or_subquery */ + -1, /* (514) common_expression ::= boolean_value_expression */ + 0, /* (515) from_clause_opt ::= */ + -2, /* (516) from_clause_opt ::= FROM table_reference_list */ + -1, /* (517) table_reference_list ::= table_reference */ + -3, /* (518) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + -1, /* (519) table_reference ::= table_primary */ + -1, /* (520) table_reference ::= joined_table */ + -2, /* (521) table_primary ::= table_name alias_opt */ + -4, /* (522) table_primary ::= db_name NK_DOT table_name alias_opt */ + -2, /* (523) table_primary ::= subquery alias_opt */ + -1, /* (524) table_primary ::= parenthesized_joined_table */ + 0, /* (525) alias_opt ::= */ + -1, /* (526) alias_opt ::= table_alias */ + -2, /* (527) alias_opt ::= AS table_alias */ + -3, /* (528) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + -3, /* (529) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + -6, /* (530) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + 0, /* (531) join_type ::= */ + -1, /* (532) join_type ::= INNER */ + -14, /* (533) 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, /* (534) hint_list ::= */ + -1, /* (535) hint_list ::= NK_HINT */ + 0, /* (536) tag_mode_opt ::= */ + -1, /* (537) tag_mode_opt ::= TAGS */ + 0, /* (538) set_quantifier_opt ::= */ + -1, /* (539) set_quantifier_opt ::= DISTINCT */ + -1, /* (540) set_quantifier_opt ::= ALL */ + -1, /* (541) select_list ::= select_item */ + -3, /* (542) select_list ::= select_list NK_COMMA select_item */ + -1, /* (543) select_item ::= NK_STAR */ + -1, /* (544) select_item ::= common_expression */ + -2, /* (545) select_item ::= common_expression column_alias */ + -3, /* (546) select_item ::= common_expression AS column_alias */ + -3, /* (547) select_item ::= table_name NK_DOT NK_STAR */ + 0, /* (548) where_clause_opt ::= */ + -2, /* (549) where_clause_opt ::= WHERE search_condition */ + 0, /* (550) partition_by_clause_opt ::= */ + -3, /* (551) partition_by_clause_opt ::= PARTITION BY partition_list */ + -1, /* (552) partition_list ::= partition_item */ + -3, /* (553) partition_list ::= partition_list NK_COMMA partition_item */ + -1, /* (554) partition_item ::= expr_or_subquery */ + -2, /* (555) partition_item ::= expr_or_subquery column_alias */ + -3, /* (556) partition_item ::= expr_or_subquery AS column_alias */ + 0, /* (557) twindow_clause_opt ::= */ + -6, /* (558) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + -4, /* (559) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + -6, /* (560) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + -8, /* (561) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + -7, /* (562) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 0, /* (563) sliding_opt ::= */ + -4, /* (564) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + 0, /* (565) fill_opt ::= */ + -4, /* (566) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + -6, /* (567) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + -6, /* (568) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + -1, /* (569) fill_mode ::= NONE */ + -1, /* (570) fill_mode ::= PREV */ + -1, /* (571) fill_mode ::= NULL */ + -1, /* (572) fill_mode ::= NULL_F */ + -1, /* (573) fill_mode ::= LINEAR */ + -1, /* (574) fill_mode ::= NEXT */ + 0, /* (575) group_by_clause_opt ::= */ + -3, /* (576) group_by_clause_opt ::= GROUP BY group_by_list */ + -1, /* (577) group_by_list ::= expr_or_subquery */ + -3, /* (578) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 0, /* (579) having_clause_opt ::= */ + -2, /* (580) having_clause_opt ::= HAVING search_condition */ + 0, /* (581) range_opt ::= */ + -6, /* (582) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + -4, /* (583) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 0, /* (584) every_opt ::= */ + -4, /* (585) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + -4, /* (586) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + -1, /* (587) query_simple ::= query_specification */ + -1, /* (588) query_simple ::= union_query_expression */ + -4, /* (589) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + -3, /* (590) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + -1, /* (591) query_simple_or_subquery ::= query_simple */ + -1, /* (592) query_simple_or_subquery ::= subquery */ + -1, /* (593) query_or_subquery ::= query_expression */ + -1, /* (594) query_or_subquery ::= subquery */ + 0, /* (595) order_by_clause_opt ::= */ + -3, /* (596) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 0, /* (597) slimit_clause_opt ::= */ + -2, /* (598) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + -4, /* (599) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + -4, /* (600) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 0, /* (601) limit_clause_opt ::= */ + -2, /* (602) limit_clause_opt ::= LIMIT NK_INTEGER */ + -4, /* (603) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + -4, /* (604) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + -3, /* (605) subquery ::= NK_LP query_expression NK_RP */ + -3, /* (606) subquery ::= NK_LP subquery NK_RP */ + -1, /* (607) search_condition ::= common_expression */ + -1, /* (608) sort_specification_list ::= sort_specification */ + -3, /* (609) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + -3, /* (610) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 0, /* (611) ordering_specification_opt ::= */ + -1, /* (612) ordering_specification_opt ::= ASC */ + -1, /* (613) ordering_specification_opt ::= DESC */ + 0, /* (614) null_ordering_opt ::= */ + -2, /* (615) null_ordering_opt ::= NULLS FIRST */ + -2, /* (616) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -4589,11 +4592,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,341,&yymsp[0].minor); + yy_destructor(yypParser,342,&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,342,&yymsp[0].minor); + yy_destructor(yypParser,343,&yymsp[0].minor); break; case 2: /* account_options ::= */ { } @@ -4607,20 +4610,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,341,&yymsp[-2].minor); +{ yy_destructor(yypParser,342,&yymsp[-2].minor); { } - yy_destructor(yypParser,343,&yymsp[0].minor); + yy_destructor(yypParser,344,&yymsp[0].minor); } break; case 12: /* alter_account_options ::= alter_account_option */ -{ yy_destructor(yypParser,344,&yymsp[0].minor); +{ yy_destructor(yypParser,345,&yymsp[0].minor); { } } break; case 13: /* alter_account_options ::= alter_account_options alter_account_option */ -{ yy_destructor(yypParser,342,&yymsp[-1].minor); +{ yy_destructor(yypParser,343,&yymsp[-1].minor); { } - yy_destructor(yypParser,344,&yymsp[0].minor); + yy_destructor(yypParser,345,&yymsp[0].minor); } break; case 14: /* alter_account_option ::= PASS literal */ @@ -4634,151 +4637,151 @@ 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,343,&yymsp[0].minor); + yy_destructor(yypParser,344,&yymsp[0].minor); break; case 24: /* ip_range_list ::= NK_STRING */ -{ yylhsminor.yy440 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy440 = yylhsminor.yy440; +{ yylhsminor.yy740 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy740 = yylhsminor.yy740; break; case 25: /* ip_range_list ::= ip_range_list NK_COMMA NK_STRING */ -{ yylhsminor.yy440 = addNodeToList(pCxt, yymsp[-2].minor.yy440, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy440 = yylhsminor.yy440; +{ yylhsminor.yy740 = addNodeToList(pCxt, yymsp[-2].minor.yy740, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy740 = yylhsminor.yy740; break; case 26: /* white_list ::= HOST ip_range_list */ -{ yymsp[-1].minor.yy440 = yymsp[0].minor.yy440; } +{ yymsp[-1].minor.yy740 = yymsp[0].minor.yy740; } break; case 27: /* white_list_opt ::= */ case 182: /* specific_cols_opt ::= */ yytestcase(yyruleno==182); case 213: /* tags_def_opt ::= */ yytestcase(yyruleno==213); - case 288: /* tag_list_opt ::= */ yytestcase(yyruleno==288); - case 351: /* col_list_opt ::= */ yytestcase(yyruleno==351); - case 353: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==353); - case 549: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==549); - case 574: /* group_by_clause_opt ::= */ yytestcase(yyruleno==574); - case 594: /* order_by_clause_opt ::= */ yytestcase(yyruleno==594); -{ yymsp[1].minor.yy440 = NULL; } + case 289: /* tag_list_opt ::= */ yytestcase(yyruleno==289); + case 352: /* col_list_opt ::= */ yytestcase(yyruleno==352); + case 354: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==354); + case 550: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==550); + case 575: /* group_by_clause_opt ::= */ yytestcase(yyruleno==575); + case 595: /* order_by_clause_opt ::= */ yytestcase(yyruleno==595); +{ yymsp[1].minor.yy740 = NULL; } break; case 28: /* white_list_opt ::= white_list */ case 214: /* tags_def_opt ::= tags_def */ yytestcase(yyruleno==214); - case 354: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==354); - case 474: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==474); -{ yylhsminor.yy440 = yymsp[0].minor.yy440; } - yymsp[0].minor.yy440 = yylhsminor.yy440; + case 355: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==355); + case 475: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==475); +{ yylhsminor.yy740 = yymsp[0].minor.yy740; } + yymsp[0].minor.yy740 = yylhsminor.yy740; break; case 29: /* cmd ::= CREATE USER user_name PASS NK_STRING sysinfo_opt white_list_opt */ { - pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-4].minor.yy737, &yymsp[-2].minor.yy0, yymsp[-1].minor.yy919); - pCxt->pRootNode = addCreateUserStmtWhiteList(pCxt, pCxt->pRootNode, yymsp[0].minor.yy440); + pCxt->pRootNode = createCreateUserStmt(pCxt, &yymsp[-4].minor.yy351, &yymsp[-2].minor.yy0, yymsp[-1].minor.yy201); + pCxt->pRootNode = addCreateUserStmtWhiteList(pCxt, pCxt->pRootNode, yymsp[0].minor.yy740); } break; case 30: /* cmd ::= ALTER USER user_name PASS NK_STRING */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy737, TSDB_ALTER_USER_PASSWD, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy351, 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.yy737, TSDB_ALTER_USER_ENABLE, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy351, 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.yy737, TSDB_ALTER_USER_SYSINFO, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy351, 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.yy737, TSDB_ALTER_USER_ADD_WHITE_LIST, yymsp[0].minor.yy440); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy351, TSDB_ALTER_USER_ADD_WHITE_LIST, yymsp[0].minor.yy740); } break; case 34: /* cmd ::= ALTER USER user_name DROP white_list */ -{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy737, TSDB_ALTER_USER_DROP_WHITE_LIST, yymsp[0].minor.yy440); } +{ pCxt->pRootNode = createAlterUserStmt(pCxt, &yymsp[-2].minor.yy351, TSDB_ALTER_USER_DROP_WHITE_LIST, yymsp[0].minor.yy740); } break; case 35: /* cmd ::= DROP USER user_name */ -{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy737); } +{ pCxt->pRootNode = createDropUserStmt(pCxt, &yymsp[0].minor.yy351); } break; case 36: /* sysinfo_opt ::= */ -{ yymsp[1].minor.yy919 = 1; } +{ yymsp[1].minor.yy201 = 1; } break; case 37: /* sysinfo_opt ::= SYSINFO NK_INTEGER */ -{ yymsp[-1].minor.yy919 = taosStr2Int8(yymsp[0].minor.yy0.z, NULL, 10); } +{ yymsp[-1].minor.yy201 = 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.yy601, &yymsp[0].minor.yy737, yymsp[-2].minor.yy168); } +{ pCxt->pRootNode = createGrantStmt(pCxt, yymsp[-5].minor.yy921, &yymsp[-3].minor.yy497, &yymsp[0].minor.yy351, yymsp[-2].minor.yy840); } 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.yy601, &yymsp[0].minor.yy737, yymsp[-2].minor.yy168); } +{ pCxt->pRootNode = createRevokeStmt(pCxt, yymsp[-5].minor.yy921, &yymsp[-3].minor.yy497, &yymsp[0].minor.yy351, yymsp[-2].minor.yy840); } break; case 40: /* privileges ::= ALL */ -{ yymsp[0].minor.yy221 = PRIVILEGE_TYPE_ALL; } +{ yymsp[0].minor.yy921 = 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.yy921 = yymsp[0].minor.yy921; } + yymsp[0].minor.yy921 = yylhsminor.yy921; break; case 42: /* privileges ::= SUBSCRIBE */ -{ yymsp[0].minor.yy221 = PRIVILEGE_TYPE_SUBSCRIBE; } +{ yymsp[0].minor.yy921 = 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.yy921 = yymsp[-2].minor.yy921 | yymsp[0].minor.yy921; } + yymsp[-2].minor.yy921 = yylhsminor.yy921; break; case 45: /* priv_type ::= READ */ -{ yymsp[0].minor.yy221 = PRIVILEGE_TYPE_READ; } +{ yymsp[0].minor.yy921 = PRIVILEGE_TYPE_READ; } break; case 46: /* priv_type ::= WRITE */ -{ yymsp[0].minor.yy221 = PRIVILEGE_TYPE_WRITE; } +{ yymsp[0].minor.yy921 = PRIVILEGE_TYPE_WRITE; } break; case 47: /* priv_level ::= NK_STAR NK_DOT NK_STAR */ -{ yylhsminor.yy601.first = yymsp[-2].minor.yy0; yylhsminor.yy601.second = yymsp[0].minor.yy0; } - yymsp[-2].minor.yy601 = yylhsminor.yy601; +{ yylhsminor.yy497.first = yymsp[-2].minor.yy0; yylhsminor.yy497.second = yymsp[0].minor.yy0; } + yymsp[-2].minor.yy497 = yylhsminor.yy497; break; case 48: /* priv_level ::= db_name NK_DOT NK_STAR */ -{ yylhsminor.yy601.first = yymsp[-2].minor.yy737; yylhsminor.yy601.second = yymsp[0].minor.yy0; } - yymsp[-2].minor.yy601 = yylhsminor.yy601; +{ yylhsminor.yy497.first = yymsp[-2].minor.yy351; yylhsminor.yy497.second = yymsp[0].minor.yy0; } + yymsp[-2].minor.yy497 = yylhsminor.yy497; break; case 49: /* priv_level ::= db_name NK_DOT table_name */ -{ yylhsminor.yy601.first = yymsp[-2].minor.yy737; yylhsminor.yy601.second = yymsp[0].minor.yy737; } - yymsp[-2].minor.yy601 = yylhsminor.yy601; +{ yylhsminor.yy497.first = yymsp[-2].minor.yy351; yylhsminor.yy497.second = yymsp[0].minor.yy351; } + yymsp[-2].minor.yy497 = yylhsminor.yy497; break; case 50: /* priv_level ::= topic_name */ -{ yylhsminor.yy601.first = yymsp[0].minor.yy737; yylhsminor.yy601.second = nil_token; } - yymsp[0].minor.yy601 = yylhsminor.yy601; +{ yylhsminor.yy497.first = yymsp[0].minor.yy351; yylhsminor.yy497.second = nil_token; } + yymsp[0].minor.yy497 = yylhsminor.yy497; break; case 51: /* with_opt ::= */ case 151: /* start_opt ::= */ yytestcase(yyruleno==151); case 155: /* end_opt ::= */ yytestcase(yyruleno==155); - case 283: /* like_pattern_opt ::= */ yytestcase(yyruleno==283); - case 365: /* subtable_opt ::= */ yytestcase(yyruleno==365); - case 484: /* case_when_else_opt ::= */ yytestcase(yyruleno==484); - case 514: /* from_clause_opt ::= */ yytestcase(yyruleno==514); - case 547: /* where_clause_opt ::= */ yytestcase(yyruleno==547); - case 556: /* twindow_clause_opt ::= */ yytestcase(yyruleno==556); - case 562: /* sliding_opt ::= */ yytestcase(yyruleno==562); - case 564: /* fill_opt ::= */ yytestcase(yyruleno==564); - case 578: /* having_clause_opt ::= */ yytestcase(yyruleno==578); - case 580: /* range_opt ::= */ yytestcase(yyruleno==580); - case 583: /* every_opt ::= */ yytestcase(yyruleno==583); - case 596: /* slimit_clause_opt ::= */ yytestcase(yyruleno==596); - case 600: /* limit_clause_opt ::= */ yytestcase(yyruleno==600); -{ yymsp[1].minor.yy168 = NULL; } + case 284: /* like_pattern_opt ::= */ yytestcase(yyruleno==284); + case 366: /* subtable_opt ::= */ yytestcase(yyruleno==366); + case 485: /* case_when_else_opt ::= */ yytestcase(yyruleno==485); + case 515: /* from_clause_opt ::= */ yytestcase(yyruleno==515); + case 548: /* where_clause_opt ::= */ yytestcase(yyruleno==548); + case 557: /* twindow_clause_opt ::= */ yytestcase(yyruleno==557); + case 563: /* sliding_opt ::= */ yytestcase(yyruleno==563); + case 565: /* fill_opt ::= */ yytestcase(yyruleno==565); + case 579: /* having_clause_opt ::= */ yytestcase(yyruleno==579); + case 581: /* range_opt ::= */ yytestcase(yyruleno==581); + case 584: /* every_opt ::= */ yytestcase(yyruleno==584); + case 597: /* slimit_clause_opt ::= */ yytestcase(yyruleno==597); + case 601: /* limit_clause_opt ::= */ yytestcase(yyruleno==601); +{ yymsp[1].minor.yy840 = NULL; } break; case 52: /* with_opt ::= WITH search_condition */ - case 515: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==515); - case 548: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==548); - case 579: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==579); -{ yymsp[-1].minor.yy168 = yymsp[0].minor.yy168; } + case 516: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==516); + case 549: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==549); + case 580: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==580); +{ yymsp[-1].minor.yy840 = yymsp[0].minor.yy840; } break; case 53: /* cmd ::= CREATE DNODE dnode_endpoint */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy737, NULL); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[0].minor.yy351, NULL); } break; case 54: /* cmd ::= CREATE DNODE dnode_endpoint PORT NK_INTEGER */ -{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy0); } +{ pCxt->pRootNode = createCreateDnodeStmt(pCxt, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy0); } break; case 55: /* cmd ::= DROP DNODE NK_INTEGER force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy953, false); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy719, false); } break; case 56: /* cmd ::= DROP DNODE dnode_endpoint force_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy737, yymsp[0].minor.yy953, false); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy351, yymsp[0].minor.yy719, false); } break; case 57: /* cmd ::= DROP DNODE NK_INTEGER unsafe_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy953); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy0, false, yymsp[0].minor.yy719); } break; case 58: /* cmd ::= DROP DNODE dnode_endpoint unsafe_opt */ -{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy737, false, yymsp[0].minor.yy953); } +{ pCxt->pRootNode = createDropDnodeStmt(pCxt, &yymsp[-1].minor.yy351, false, yymsp[0].minor.yy719); } break; case 59: /* cmd ::= ALTER DNODE NK_INTEGER NK_STRING */ { pCxt->pRootNode = createAlterDnodeStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, NULL); } @@ -4798,56 +4801,56 @@ static YYACTIONTYPE yy_reduce( case 64: /* dnode_endpoint ::= NK_STRING */ case 65: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==65); case 66: /* dnode_endpoint ::= NK_IPTOKEN */ yytestcase(yyruleno==66); - case 307: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==307); - case 308: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==308); - case 309: /* sma_func_name ::= LAST */ yytestcase(yyruleno==309); - case 310: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==310); - case 409: /* db_name ::= NK_ID */ yytestcase(yyruleno==409); - case 410: /* table_name ::= NK_ID */ yytestcase(yyruleno==410); - case 411: /* column_name ::= NK_ID */ yytestcase(yyruleno==411); - case 412: /* function_name ::= NK_ID */ yytestcase(yyruleno==412); - case 413: /* view_name ::= NK_ID */ yytestcase(yyruleno==413); - case 414: /* table_alias ::= NK_ID */ yytestcase(yyruleno==414); - case 415: /* column_alias ::= NK_ID */ yytestcase(yyruleno==415); - case 416: /* user_name ::= NK_ID */ yytestcase(yyruleno==416); - case 417: /* topic_name ::= NK_ID */ yytestcase(yyruleno==417); - case 418: /* stream_name ::= NK_ID */ yytestcase(yyruleno==418); - case 419: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==419); - case 420: /* index_name ::= NK_ID */ yytestcase(yyruleno==420); - case 460: /* noarg_func ::= NOW */ yytestcase(yyruleno==460); - case 461: /* noarg_func ::= TODAY */ yytestcase(yyruleno==461); - case 462: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==462); - case 463: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==463); - case 464: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==464); - case 465: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==465); - case 466: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==466); - case 467: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==467); - case 468: /* noarg_func ::= USER */ yytestcase(yyruleno==468); - case 469: /* star_func ::= COUNT */ yytestcase(yyruleno==469); - case 470: /* star_func ::= FIRST */ yytestcase(yyruleno==470); - case 471: /* star_func ::= LAST */ yytestcase(yyruleno==471); - case 472: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==472); -{ yylhsminor.yy737 = yymsp[0].minor.yy0; } - yymsp[0].minor.yy737 = yylhsminor.yy737; + case 308: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==308); + case 309: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==309); + case 310: /* sma_func_name ::= LAST */ yytestcase(yyruleno==310); + case 311: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==311); + case 410: /* db_name ::= NK_ID */ yytestcase(yyruleno==410); + case 411: /* table_name ::= NK_ID */ yytestcase(yyruleno==411); + case 412: /* column_name ::= NK_ID */ yytestcase(yyruleno==412); + case 413: /* function_name ::= NK_ID */ yytestcase(yyruleno==413); + case 414: /* view_name ::= NK_ID */ yytestcase(yyruleno==414); + case 415: /* table_alias ::= NK_ID */ yytestcase(yyruleno==415); + case 416: /* column_alias ::= NK_ID */ yytestcase(yyruleno==416); + case 417: /* user_name ::= NK_ID */ yytestcase(yyruleno==417); + case 418: /* topic_name ::= NK_ID */ yytestcase(yyruleno==418); + case 419: /* stream_name ::= NK_ID */ yytestcase(yyruleno==419); + case 420: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==420); + case 421: /* index_name ::= NK_ID */ yytestcase(yyruleno==421); + case 461: /* noarg_func ::= NOW */ yytestcase(yyruleno==461); + case 462: /* noarg_func ::= TODAY */ yytestcase(yyruleno==462); + case 463: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==463); + case 464: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==464); + case 465: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==465); + case 466: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==466); + case 467: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==467); + case 468: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==468); + case 469: /* noarg_func ::= USER */ yytestcase(yyruleno==469); + case 470: /* star_func ::= COUNT */ yytestcase(yyruleno==470); + case 471: /* star_func ::= FIRST */ yytestcase(yyruleno==471); + case 472: /* star_func ::= LAST */ yytestcase(yyruleno==472); + case 473: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==473); +{ yylhsminor.yy351 = yymsp[0].minor.yy0; } + yymsp[0].minor.yy351 = yylhsminor.yy351; break; case 67: /* force_opt ::= */ case 91: /* not_exists_opt ::= */ yytestcase(yyruleno==91); case 93: /* exists_opt ::= */ yytestcase(yyruleno==93); - case 328: /* analyze_opt ::= */ yytestcase(yyruleno==328); - case 335: /* agg_func_opt ::= */ yytestcase(yyruleno==335); - case 341: /* or_replace_opt ::= */ yytestcase(yyruleno==341); - case 367: /* ignore_opt ::= */ yytestcase(yyruleno==367); - case 535: /* tag_mode_opt ::= */ yytestcase(yyruleno==535); - case 537: /* set_quantifier_opt ::= */ yytestcase(yyruleno==537); -{ yymsp[1].minor.yy953 = false; } + case 329: /* analyze_opt ::= */ yytestcase(yyruleno==329); + case 336: /* agg_func_opt ::= */ yytestcase(yyruleno==336); + case 342: /* or_replace_opt ::= */ yytestcase(yyruleno==342); + case 368: /* ignore_opt ::= */ yytestcase(yyruleno==368); + case 536: /* tag_mode_opt ::= */ yytestcase(yyruleno==536); + case 538: /* set_quantifier_opt ::= */ yytestcase(yyruleno==538); +{ yymsp[1].minor.yy719 = false; } break; case 68: /* force_opt ::= FORCE */ case 69: /* unsafe_opt ::= UNSAFE */ yytestcase(yyruleno==69); - case 329: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==329); - case 336: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==336); - case 536: /* tag_mode_opt ::= TAGS */ yytestcase(yyruleno==536); - case 538: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==538); -{ yymsp[0].minor.yy953 = true; } + case 330: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==330); + case 337: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==337); + case 537: /* tag_mode_opt ::= TAGS */ yytestcase(yyruleno==537); + case 539: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==539); +{ yymsp[0].minor.yy719 = true; } break; case 70: /* cmd ::= ALTER LOCAL NK_STRING */ { pCxt->pRootNode = createAlterLocalStmt(pCxt, &yymsp[0].minor.yy0, NULL); } @@ -4889,234 +4892,234 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createRestoreComponentNodeStmt(pCxt, QUERY_NODE_RESTORE_VNODE_STMT, &yymsp[0].minor.yy0); } break; case 83: /* cmd ::= CREATE DATABASE not_exists_opt db_name db_options */ -{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy953, &yymsp[-1].minor.yy737, yymsp[0].minor.yy168); } +{ pCxt->pRootNode = createCreateDatabaseStmt(pCxt, yymsp[-2].minor.yy719, &yymsp[-1].minor.yy351, yymsp[0].minor.yy840); } break; case 84: /* cmd ::= DROP DATABASE exists_opt db_name */ -{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy953, &yymsp[0].minor.yy737); } +{ pCxt->pRootNode = createDropDatabaseStmt(pCxt, yymsp[-1].minor.yy719, &yymsp[0].minor.yy351); } break; case 85: /* cmd ::= USE db_name */ -{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy737); } +{ pCxt->pRootNode = createUseDatabaseStmt(pCxt, &yymsp[0].minor.yy351); } break; case 86: /* cmd ::= ALTER DATABASE db_name alter_db_options */ -{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy737, yymsp[0].minor.yy168); } +{ pCxt->pRootNode = createAlterDatabaseStmt(pCxt, &yymsp[-1].minor.yy351, yymsp[0].minor.yy840); } break; case 87: /* cmd ::= FLUSH DATABASE db_name */ -{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy737); } +{ pCxt->pRootNode = createFlushDatabaseStmt(pCxt, &yymsp[0].minor.yy351); } break; case 88: /* cmd ::= TRIM DATABASE db_name speed_opt */ -{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy737, yymsp[0].minor.yy324); } +{ pCxt->pRootNode = createTrimDatabaseStmt(pCxt, &yymsp[-1].minor.yy351, yymsp[0].minor.yy942); } break; case 89: /* cmd ::= COMPACT DATABASE db_name start_opt end_opt */ -{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy737, yymsp[-1].minor.yy168, yymsp[0].minor.yy168); } +{ pCxt->pRootNode = createCompactStmt(pCxt, &yymsp[-2].minor.yy351, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); } break; case 90: /* not_exists_opt ::= IF NOT EXISTS */ -{ yymsp[-2].minor.yy953 = true; } +{ yymsp[-2].minor.yy719 = true; } break; case 92: /* exists_opt ::= IF EXISTS */ - case 342: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==342); - case 368: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==368); -{ yymsp[-1].minor.yy953 = true; } + case 343: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==343); + case 369: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==369); +{ yymsp[-1].minor.yy719 = true; } break; case 94: /* db_options ::= */ -{ yymsp[1].minor.yy168 = createDefaultDatabaseOptions(pCxt); } +{ yymsp[1].minor.yy840 = createDefaultDatabaseOptions(pCxt); } break; case 95: /* db_options ::= db_options BUFFER NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_BUFFER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 96: /* db_options ::= db_options CACHEMODEL NK_STRING */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_CACHEMODEL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 97: /* db_options ::= db_options CACHESIZE NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_CACHESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 98: /* db_options ::= db_options COMP NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_COMP, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_COMP, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 99: /* db_options ::= db_options DURATION NK_INTEGER */ case 100: /* db_options ::= db_options DURATION NK_VARIABLE */ yytestcase(yyruleno==100); -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_DAYS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 101: /* db_options ::= db_options MAXROWS NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_MAXROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 102: /* db_options ::= db_options MINROWS NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_MINROWS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 103: /* db_options ::= db_options KEEP integer_list */ case 104: /* db_options ::= db_options KEEP variable_list */ yytestcase(yyruleno==104); -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_KEEP, yymsp[0].minor.yy440); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_KEEP, yymsp[0].minor.yy740); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 105: /* db_options ::= db_options PAGES NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_PAGES, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 106: /* db_options ::= db_options PAGESIZE NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 107: /* db_options ::= db_options TSDB_PAGESIZE NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_TSDB_PAGESIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 108: /* db_options ::= db_options PRECISION NK_STRING */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_PRECISION, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 109: /* db_options ::= db_options REPLICA NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_REPLICA, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 110: /* db_options ::= db_options VGROUPS NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_VGROUPS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 111: /* db_options ::= db_options SINGLE_STABLE NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_SINGLE_STABLE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 112: /* db_options ::= db_options RETENTIONS retention_list */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_RETENTIONS, yymsp[0].minor.yy440); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_RETENTIONS, yymsp[0].minor.yy740); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 113: /* db_options ::= db_options SCHEMALESS NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_SCHEMALESS, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 114: /* db_options ::= db_options WAL_LEVEL NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_WAL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 115: /* db_options ::= db_options WAL_FSYNC_PERIOD NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_FSYNC, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 116: /* db_options ::= db_options WAL_RETENTION_PERIOD NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL_RETENTION_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 117: /* 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.yy168 = setDatabaseOption(pCxt, yymsp[-3].minor.yy168, DB_OPTION_WAL_RETENTION_PERIOD, &t); + yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-3].minor.yy840, DB_OPTION_WAL_RETENTION_PERIOD, &t); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; case 118: /* db_options ::= db_options WAL_RETENTION_SIZE NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL_RETENTION_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 119: /* 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.yy168 = setDatabaseOption(pCxt, yymsp[-3].minor.yy168, DB_OPTION_WAL_RETENTION_SIZE, &t); + yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-3].minor.yy840, DB_OPTION_WAL_RETENTION_SIZE, &t); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; case 120: /* db_options ::= db_options WAL_ROLL_PERIOD NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL_ROLL_PERIOD, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 121: /* db_options ::= db_options WAL_SEGMENT_SIZE NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_WAL_SEGMENT_SIZE, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 122: /* db_options ::= db_options STT_TRIGGER NK_INTEGER */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_STT_TRIGGER, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 123: /* db_options ::= db_options TABLE_PREFIX signed */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy168); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_TABLE_PREFIX, yymsp[0].minor.yy840); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 124: /* db_options ::= db_options TABLE_SUFFIX signed */ -{ yylhsminor.yy168 = setDatabaseOption(pCxt, yymsp[-2].minor.yy168, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy168); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setDatabaseOption(pCxt, yymsp[-2].minor.yy840, DB_OPTION_TABLE_SUFFIX, yymsp[0].minor.yy840); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 125: /* alter_db_options ::= alter_db_option */ -{ yylhsminor.yy168 = createAlterDatabaseOptions(pCxt); yylhsminor.yy168 = setAlterDatabaseOption(pCxt, yylhsminor.yy168, &yymsp[0].minor.yy349); } - yymsp[0].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterDatabaseOptions(pCxt); yylhsminor.yy840 = setAlterDatabaseOption(pCxt, yylhsminor.yy840, &yymsp[0].minor.yy431); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; case 126: /* alter_db_options ::= alter_db_options alter_db_option */ -{ yylhsminor.yy168 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy168, &yymsp[0].minor.yy349); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setAlterDatabaseOption(pCxt, yymsp[-1].minor.yy840, &yymsp[0].minor.yy431); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; case 127: /* alter_db_option ::= BUFFER NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_BUFFER; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 128: /* alter_db_option ::= CACHEMODEL NK_STRING */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_CACHEMODEL; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 129: /* alter_db_option ::= CACHESIZE NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_CACHESIZE; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 130: /* alter_db_option ::= WAL_FSYNC_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_FSYNC; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 131: /* alter_db_option ::= KEEP integer_list */ case 132: /* alter_db_option ::= KEEP variable_list */ yytestcase(yyruleno==132); -{ yymsp[-1].minor.yy349.type = DB_OPTION_KEEP; yymsp[-1].minor.yy349.pList = yymsp[0].minor.yy440; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_KEEP; yymsp[-1].minor.yy431.pList = yymsp[0].minor.yy740; } break; case 133: /* alter_db_option ::= PAGES NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_PAGES; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_PAGES; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 134: /* alter_db_option ::= REPLICA NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_REPLICA; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 135: /* alter_db_option ::= WAL_LEVEL NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_WAL; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_WAL; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 136: /* alter_db_option ::= STT_TRIGGER NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_STT_TRIGGER; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 137: /* alter_db_option ::= MINROWS NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 138: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 139: /* 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.yy349.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy349.val = t; + yymsp[-2].minor.yy431.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy431.val = t; } break; case 140: /* alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 141: /* 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.yy349.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy349.val = t; + yymsp[-2].minor.yy431.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy431.val = t; } break; case 142: /* integer_list ::= NK_INTEGER */ -{ yylhsminor.yy440 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy440 = yylhsminor.yy440; +{ yylhsminor.yy740 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy740 = yylhsminor.yy740; break; case 143: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 378: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==378); -{ yylhsminor.yy440 = addNodeToList(pCxt, yymsp[-2].minor.yy440, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy440 = yylhsminor.yy440; + case 379: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==379); +{ yylhsminor.yy740 = addNodeToList(pCxt, yymsp[-2].minor.yy740, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy740 = yylhsminor.yy740; break; case 144: /* variable_list ::= NK_VARIABLE */ -{ yylhsminor.yy440 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy440 = yylhsminor.yy440; +{ yylhsminor.yy740 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy740 = yylhsminor.yy740; break; case 145: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ -{ yylhsminor.yy440 = addNodeToList(pCxt, yymsp[-2].minor.yy440, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy440 = yylhsminor.yy440; +{ yylhsminor.yy740 = addNodeToList(pCxt, yymsp[-2].minor.yy740, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy740 = yylhsminor.yy740; break; case 146: /* retention_list ::= retention */ case 176: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==176); @@ -5124,289 +5127,289 @@ static YYACTIONTYPE yy_reduce( case 186: /* column_def_list ::= column_def */ yytestcase(yyruleno==186); case 230: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==230); case 235: /* col_name_list ::= col_name */ yytestcase(yyruleno==235); - case 289: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==289); - case 303: /* func_list ::= func */ yytestcase(yyruleno==303); - case 407: /* literal_list ::= signed_literal */ yytestcase(yyruleno==407); - case 475: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==475); - case 481: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==481); - case 540: /* select_list ::= select_item */ yytestcase(yyruleno==540); - case 551: /* partition_list ::= partition_item */ yytestcase(yyruleno==551); - case 607: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==607); -{ yylhsminor.yy440 = createNodeList(pCxt, yymsp[0].minor.yy168); } - yymsp[0].minor.yy440 = yylhsminor.yy440; + case 290: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==290); + case 304: /* func_list ::= func */ yytestcase(yyruleno==304); + case 408: /* literal_list ::= signed_literal */ yytestcase(yyruleno==408); + case 476: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==476); + case 482: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==482); + case 541: /* select_list ::= select_item */ yytestcase(yyruleno==541); + case 552: /* partition_list ::= partition_item */ yytestcase(yyruleno==552); + case 608: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==608); +{ yylhsminor.yy740 = createNodeList(pCxt, yymsp[0].minor.yy840); } + yymsp[0].minor.yy740 = yylhsminor.yy740; break; case 147: /* retention_list ::= retention_list NK_COMMA retention */ case 180: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==180); case 187: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==187); case 231: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==231); case 236: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==236); - case 290: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==290); - case 304: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==304); - case 408: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==408); - case 476: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==476); - case 541: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==541); - case 552: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==552); - case 608: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==608); -{ yylhsminor.yy440 = addNodeToList(pCxt, yymsp[-2].minor.yy440, yymsp[0].minor.yy168); } - yymsp[-2].minor.yy440 = yylhsminor.yy440; + case 291: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==291); + case 305: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==305); + case 409: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==409); + case 477: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==477); + case 542: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==542); + case 553: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==553); + case 609: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==609); +{ yylhsminor.yy740 = addNodeToList(pCxt, yymsp[-2].minor.yy740, yymsp[0].minor.yy840); } + yymsp[-2].minor.yy740 = yylhsminor.yy740; break; case 148: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ -{ yylhsminor.yy168 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 149: /* speed_opt ::= */ - case 337: /* bufsize_opt ::= */ yytestcase(yyruleno==337); -{ yymsp[1].minor.yy324 = 0; } + case 338: /* bufsize_opt ::= */ yytestcase(yyruleno==338); +{ yymsp[1].minor.yy942 = 0; } break; case 150: /* speed_opt ::= BWLIMIT NK_INTEGER */ - case 338: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==338); -{ yymsp[-1].minor.yy324 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } + case 339: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==339); +{ yymsp[-1].minor.yy942 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 152: /* start_opt ::= START WITH NK_INTEGER */ case 156: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==156); -{ yymsp[-2].minor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } break; case 153: /* start_opt ::= START WITH NK_STRING */ case 157: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==157); -{ yymsp[-2].minor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-2].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 154: /* start_opt ::= START WITH TIMESTAMP NK_STRING */ case 158: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==158); -{ yymsp[-3].minor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } +{ yymsp[-3].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; case 159: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ case 161: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==161); -{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy953, yymsp[-5].minor.yy168, yymsp[-3].minor.yy440, yymsp[-1].minor.yy440, yymsp[0].minor.yy168); } +{ pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy719, yymsp[-5].minor.yy840, yymsp[-3].minor.yy740, yymsp[-1].minor.yy740, yymsp[0].minor.yy840); } break; case 160: /* cmd ::= CREATE TABLE multi_create_clause */ -{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy440); } +{ pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy740); } break; case 162: /* cmd ::= DROP TABLE multi_drop_clause */ -{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy440); } +{ pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy740); } break; case 163: /* cmd ::= DROP STABLE exists_opt full_table_name */ -{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy953, yymsp[0].minor.yy168); } +{ pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy719, yymsp[0].minor.yy840); } break; case 164: /* cmd ::= ALTER TABLE alter_table_clause */ - case 380: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==380); - case 381: /* cmd ::= insert_query */ yytestcase(yyruleno==381); -{ pCxt->pRootNode = yymsp[0].minor.yy168; } + case 381: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==381); + case 382: /* cmd ::= insert_query */ yytestcase(yyruleno==382); +{ pCxt->pRootNode = yymsp[0].minor.yy840; } break; case 165: /* cmd ::= ALTER STABLE alter_table_clause */ -{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy168); } +{ pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy840); } break; case 166: /* alter_table_clause ::= full_table_name alter_table_options */ -{ yylhsminor.yy168 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy168, yymsp[0].minor.yy168); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; case 167: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy168 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy168, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy737, yymsp[0].minor.yy208); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy351, yymsp[0].minor.yy616); } + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; case 168: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ -{ yylhsminor.yy168 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy168, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy737); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy840, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy351); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; case 169: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy168 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy168, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy737, yymsp[0].minor.yy208); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy351, yymsp[0].minor.yy616); } + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; case 170: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ -{ yylhsminor.yy168 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy168, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy737, &yymsp[0].minor.yy737); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy351, &yymsp[0].minor.yy351); } + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; case 171: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy168 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy168, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy737, yymsp[0].minor.yy208); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy351, yymsp[0].minor.yy616); } + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; case 172: /* alter_table_clause ::= full_table_name DROP TAG column_name */ -{ yylhsminor.yy168 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy168, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy737); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy840, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy351); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; case 173: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy168 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy168, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy737, yymsp[0].minor.yy208); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy351, yymsp[0].minor.yy616); } + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; case 174: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -{ yylhsminor.yy168 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy168, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy737, &yymsp[0].minor.yy737); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy840, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy351, &yymsp[0].minor.yy351); } + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; case 175: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -{ yylhsminor.yy168 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy168, &yymsp[-2].minor.yy737, yymsp[0].minor.yy168); } - yymsp[-5].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy840, &yymsp[-2].minor.yy351, yymsp[0].minor.yy840); } + yymsp[-5].minor.yy840 = yylhsminor.yy840; break; case 177: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 482: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==482); -{ yylhsminor.yy440 = addNodeToList(pCxt, yymsp[-1].minor.yy440, yymsp[0].minor.yy168); } - yymsp[-1].minor.yy440 = yylhsminor.yy440; + case 483: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==483); +{ yylhsminor.yy740 = addNodeToList(pCxt, yymsp[-1].minor.yy740, yymsp[0].minor.yy840); } + yymsp[-1].minor.yy740 = yylhsminor.yy740; break; case 178: /* 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.yy168 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy953, yymsp[-8].minor.yy168, yymsp[-6].minor.yy168, yymsp[-5].minor.yy440, yymsp[-2].minor.yy440, yymsp[0].minor.yy168); } - yymsp[-9].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy719, yymsp[-8].minor.yy840, yymsp[-6].minor.yy840, yymsp[-5].minor.yy740, yymsp[-2].minor.yy740, yymsp[0].minor.yy840); } + yymsp[-9].minor.yy840 = yylhsminor.yy840; break; case 181: /* drop_table_clause ::= exists_opt full_table_name */ -{ yylhsminor.yy168 = createDropTableClause(pCxt, yymsp[-1].minor.yy953, yymsp[0].minor.yy168); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createDropTableClause(pCxt, yymsp[-1].minor.yy719, yymsp[0].minor.yy840); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; case 183: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ - case 352: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==352); -{ yymsp[-2].minor.yy440 = yymsp[-1].minor.yy440; } + case 353: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==353); +{ yymsp[-2].minor.yy740 = yymsp[-1].minor.yy740; } break; case 184: /* full_table_name ::= table_name */ -{ yylhsminor.yy168 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy737, NULL); } - yymsp[0].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy351, NULL); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; case 185: /* full_table_name ::= db_name NK_DOT table_name */ -{ yylhsminor.yy168 = createRealTableNode(pCxt, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy737, NULL); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createRealTableNode(pCxt, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy351, NULL); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 188: /* column_def ::= column_name type_name */ -{ yylhsminor.yy168 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy737, yymsp[0].minor.yy208, NULL); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy351, yymsp[0].minor.yy616, NULL); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; case 189: /* type_name ::= BOOL */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_BOOL); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_BOOL); } break; case 190: /* type_name ::= TINYINT */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_TINYINT); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; case 191: /* type_name ::= SMALLINT */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_SMALLINT); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; case 192: /* type_name ::= INT */ case 193: /* type_name ::= INTEGER */ yytestcase(yyruleno==193); -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_INT); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_INT); } break; case 194: /* type_name ::= BIGINT */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_BIGINT); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; case 195: /* type_name ::= FLOAT */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_FLOAT); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; case 196: /* type_name ::= DOUBLE */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_DOUBLE); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; case 197: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy208 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy616 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; case 198: /* type_name ::= TIMESTAMP */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; case 199: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy208 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy616 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; case 200: /* type_name ::= TINYINT UNSIGNED */ -{ yymsp[-1].minor.yy208 = createDataType(TSDB_DATA_TYPE_UTINYINT); } +{ yymsp[-1].minor.yy616 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; case 201: /* type_name ::= SMALLINT UNSIGNED */ -{ yymsp[-1].minor.yy208 = createDataType(TSDB_DATA_TYPE_USMALLINT); } +{ yymsp[-1].minor.yy616 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; case 202: /* type_name ::= INT UNSIGNED */ -{ yymsp[-1].minor.yy208 = createDataType(TSDB_DATA_TYPE_UINT); } +{ yymsp[-1].minor.yy616 = createDataType(TSDB_DATA_TYPE_UINT); } break; case 203: /* type_name ::= BIGINT UNSIGNED */ -{ yymsp[-1].minor.yy208 = createDataType(TSDB_DATA_TYPE_UBIGINT); } +{ yymsp[-1].minor.yy616 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; case 204: /* type_name ::= JSON */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_JSON); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_JSON); } break; case 205: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy208 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy616 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; case 206: /* type_name ::= MEDIUMBLOB */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; case 207: /* type_name ::= BLOB */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_BLOB); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_BLOB); } break; case 208: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy208 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy616 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; case 209: /* type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy208 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); } +{ yymsp[-3].minor.yy616 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); } break; case 210: /* type_name ::= DECIMAL */ -{ yymsp[0].minor.yy208 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[0].minor.yy616 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 211: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ -{ yymsp[-3].minor.yy208 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-3].minor.yy616 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 212: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ -{ yymsp[-5].minor.yy208 = createDataType(TSDB_DATA_TYPE_DECIMAL); } +{ yymsp[-5].minor.yy616 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; case 215: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ - case 355: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==355); -{ yymsp[-3].minor.yy440 = yymsp[-1].minor.yy440; } + case 356: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==356); +{ yymsp[-3].minor.yy740 = yymsp[-1].minor.yy740; } break; case 216: /* table_options ::= */ -{ yymsp[1].minor.yy168 = createDefaultTableOptions(pCxt); } +{ yymsp[1].minor.yy840 = createDefaultTableOptions(pCxt); } break; case 217: /* table_options ::= table_options COMMENT NK_STRING */ -{ yylhsminor.yy168 = setTableOption(pCxt, yymsp[-2].minor.yy168, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 218: /* table_options ::= table_options MAX_DELAY duration_list */ -{ yylhsminor.yy168 = setTableOption(pCxt, yymsp[-2].minor.yy168, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy440); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy740); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 219: /* table_options ::= table_options WATERMARK duration_list */ -{ yylhsminor.yy168 = setTableOption(pCxt, yymsp[-2].minor.yy168, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy440); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy740); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 220: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ -{ yylhsminor.yy168 = setTableOption(pCxt, yymsp[-4].minor.yy168, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy440); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-4].minor.yy840, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy740); } + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; case 221: /* table_options ::= table_options TTL NK_INTEGER */ -{ yylhsminor.yy168 = setTableOption(pCxt, yymsp[-2].minor.yy168, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 222: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ -{ yylhsminor.yy168 = setTableOption(pCxt, yymsp[-4].minor.yy168, TABLE_OPTION_SMA, yymsp[-1].minor.yy440); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-4].minor.yy840, TABLE_OPTION_SMA, yymsp[-1].minor.yy740); } + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; case 223: /* table_options ::= table_options DELETE_MARK duration_list */ -{ yylhsminor.yy168 = setTableOption(pCxt, yymsp[-2].minor.yy168, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy440); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-2].minor.yy840, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy740); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; case 224: /* alter_table_options ::= alter_table_option */ -{ yylhsminor.yy168 = createAlterTableOptions(pCxt); yylhsminor.yy168 = setTableOption(pCxt, yylhsminor.yy168, yymsp[0].minor.yy349.type, &yymsp[0].minor.yy349.val); } - yymsp[0].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createAlterTableOptions(pCxt); yylhsminor.yy840 = setTableOption(pCxt, yylhsminor.yy840, yymsp[0].minor.yy431.type, &yymsp[0].minor.yy431.val); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; case 225: /* alter_table_options ::= alter_table_options alter_table_option */ -{ yylhsminor.yy168 = setTableOption(pCxt, yymsp[-1].minor.yy168, yymsp[0].minor.yy349.type, &yymsp[0].minor.yy349.val); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = setTableOption(pCxt, yymsp[-1].minor.yy840, yymsp[0].minor.yy431.type, &yymsp[0].minor.yy431.val); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; case 226: /* alter_table_option ::= COMMENT NK_STRING */ -{ yymsp[-1].minor.yy349.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 227: /* alter_table_option ::= TTL NK_INTEGER */ -{ yymsp[-1].minor.yy349.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy349.val = yymsp[0].minor.yy0; } +{ yymsp[-1].minor.yy431.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy431.val = yymsp[0].minor.yy0; } break; case 228: /* duration_list ::= duration_literal */ - case 438: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==438); -{ yylhsminor.yy440 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy168)); } - yymsp[0].minor.yy440 = yylhsminor.yy440; + case 439: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==439); +{ yylhsminor.yy740 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); } + yymsp[0].minor.yy740 = yylhsminor.yy740; break; case 229: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 439: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==439); -{ yylhsminor.yy440 = addNodeToList(pCxt, yymsp[-2].minor.yy440, releaseRawExprNode(pCxt, yymsp[0].minor.yy168)); } - yymsp[-2].minor.yy440 = yylhsminor.yy440; + case 440: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==440); +{ yylhsminor.yy740 = addNodeToList(pCxt, yymsp[-2].minor.yy740, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); } + yymsp[-2].minor.yy740 = yylhsminor.yy740; break; case 232: /* rollup_func_name ::= function_name */ -{ yylhsminor.yy168 = createFunctionNode(pCxt, &yymsp[0].minor.yy737, NULL); } - yymsp[0].minor.yy168 = yylhsminor.yy168; +{ yylhsminor.yy840 = createFunctionNode(pCxt, &yymsp[0].minor.yy351, NULL); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; case 233: /* rollup_func_name ::= FIRST */ case 234: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==234); - case 292: /* tag_item ::= QTAGS */ yytestcase(yyruleno==292); -{ yylhsminor.yy168 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 293: /* tag_item ::= QTAGS */ yytestcase(yyruleno==293); +{ yylhsminor.yy840 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; case 237: /* col_name ::= column_name */ - case 293: /* tag_item ::= column_name */ yytestcase(yyruleno==293); -{ yylhsminor.yy168 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy737); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 294: /* tag_item ::= column_name */ yytestcase(yyruleno==294); +{ yylhsminor.yy840 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy351); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; case 238: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } @@ -5421,13 +5424,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; case 242: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy168, yymsp[0].minor.yy168, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy840, yymsp[0].minor.yy840, OP_TYPE_LIKE); } break; case 243: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy168, yymsp[0].minor.yy168, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy840, yymsp[0].minor.yy840, OP_TYPE_LIKE); } break; case 244: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy168, NULL, OP_TYPE_LIKE); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy840, NULL, OP_TYPE_LIKE); } break; case 245: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } @@ -5439,10 +5442,10 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; case 248: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy168, yymsp[-1].minor.yy168, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy840, yymsp[-1].minor.yy840, OP_TYPE_EQUAL); } break; case 249: /* cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy737), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy737), OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy351), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy351), OP_TYPE_EQUAL); } break; case 250: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } @@ -5461,13 +5464,13 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; case 256: /* cmd ::= SHOW CREATE DATABASE db_name */ -{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy737); } +{ pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy351); } break; case 257: /* cmd ::= SHOW CREATE TABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy168); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy840); } break; case 258: /* cmd ::= SHOW CREATE STABLE full_table_name */ -{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy168); } +{ pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy840); } break; case 259: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } @@ -5486,7 +5489,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; case 265: /* 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.yy168); } +{ pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy840); } break; case 266: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } @@ -5501,7 +5504,7 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; case 270: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ -{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy168); } +{ pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy840); } break; case 271: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } @@ -5510,16 +5513,16 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; case 273: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy168, yymsp[-1].minor.yy168, OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy840, yymsp[-1].minor.yy840, OP_TYPE_EQUAL); } break; case 274: /* cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy737), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy737), OP_TYPE_EQUAL); } +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy351), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy351), OP_TYPE_EQUAL); } break; case 275: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy168, yymsp[0].minor.yy168, yymsp[-3].minor.yy440); } +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy840, yymsp[0].minor.yy840, yymsp[-3].minor.yy740); } break; case 276: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ -{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy737), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy737), yymsp[-4].minor.yy440); } +{ pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy351), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy351), yymsp[-4].minor.yy740); } break; case 277: /* cmd ::= SHOW VNODES ON DNODE NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } @@ -5528,798 +5531,801 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, NULL); } break; case 279: /* cmd ::= SHOW db_name_cond_opt ALIVE */ -{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy168, QUERY_NODE_SHOW_DB_ALIVE_STMT); } +{ pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy840, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; case 280: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; - case 281: /* db_name_cond_opt ::= */ - case 286: /* from_db_opt ::= */ yytestcase(yyruleno==286); -{ yymsp[1].minor.yy168 = createDefaultDatabaseCondValue(pCxt); } + case 281: /* cmd ::= SHOW db_name_cond_opt VIEWS */ +{ pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VIEWS_STMT, yymsp[-1].minor.yy840, NULL, OP_TYPE_LIKE); } break; - case 282: /* db_name_cond_opt ::= db_name NK_DOT */ -{ yylhsminor.yy168 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy737); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + case 282: /* db_name_cond_opt ::= */ + case 287: /* from_db_opt ::= */ yytestcase(yyruleno==287); +{ yymsp[1].minor.yy840 = createDefaultDatabaseCondValue(pCxt); } break; - case 284: /* like_pattern_opt ::= LIKE NK_STRING */ -{ yymsp[-1].minor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + case 283: /* db_name_cond_opt ::= db_name NK_DOT */ +{ yylhsminor.yy840 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy351); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 285: /* table_name_cond ::= table_name */ -{ yylhsminor.yy168 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy737); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 285: /* like_pattern_opt ::= LIKE NK_STRING */ +{ yymsp[-1].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; - case 287: /* from_db_opt ::= FROM db_name */ -{ yymsp[-1].minor.yy168 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy737); } + case 286: /* table_name_cond ::= table_name */ +{ yylhsminor.yy840 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy351); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 291: /* tag_item ::= TBNAME */ -{ yylhsminor.yy168 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 288: /* from_db_opt ::= FROM db_name */ +{ yymsp[-1].minor.yy840 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy351); } break; - case 294: /* tag_item ::= column_name column_alias */ -{ yylhsminor.yy168 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy737), &yymsp[0].minor.yy737); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + case 292: /* tag_item ::= TBNAME */ +{ yylhsminor.yy840 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 295: /* tag_item ::= column_name AS column_alias */ -{ yylhsminor.yy168 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy737), &yymsp[0].minor.yy737); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 295: /* tag_item ::= column_name column_alias */ +{ yylhsminor.yy840 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy351), &yymsp[0].minor.yy351); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 296: /* 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.yy953, yymsp[-3].minor.yy168, yymsp[-1].minor.yy168, NULL, yymsp[0].minor.yy168); } + case 296: /* tag_item ::= column_name AS column_alias */ +{ yylhsminor.yy840 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy351), &yymsp[0].minor.yy351); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 297: /* 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.yy953, yymsp[-5].minor.yy168, yymsp[-3].minor.yy168, yymsp[-1].minor.yy440, NULL); } + case 297: /* 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.yy719, yymsp[-3].minor.yy840, yymsp[-1].minor.yy840, NULL, yymsp[0].minor.yy840); } break; - case 298: /* cmd ::= DROP INDEX exists_opt full_index_name */ -{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy953, yymsp[0].minor.yy168); } + case 298: /* 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.yy719, yymsp[-5].minor.yy840, yymsp[-3].minor.yy840, yymsp[-1].minor.yy740, NULL); } break; - case 299: /* full_index_name ::= index_name */ -{ yylhsminor.yy168 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy737); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 299: /* cmd ::= DROP INDEX exists_opt full_index_name */ +{ pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy719, yymsp[0].minor.yy840); } break; - case 300: /* full_index_name ::= db_name NK_DOT index_name */ -{ yylhsminor.yy168 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy737); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 300: /* full_index_name ::= index_name */ +{ yylhsminor.yy840 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy351); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 301: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ -{ yymsp[-9].minor.yy168 = createIndexOption(pCxt, yymsp[-7].minor.yy440, releaseRawExprNode(pCxt, yymsp[-3].minor.yy168), NULL, yymsp[-1].minor.yy168, yymsp[0].minor.yy168); } + case 301: /* full_index_name ::= db_name NK_DOT index_name */ +{ yylhsminor.yy840 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy351); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 302: /* 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.yy168 = createIndexOption(pCxt, yymsp[-9].minor.yy440, releaseRawExprNode(pCxt, yymsp[-5].minor.yy168), releaseRawExprNode(pCxt, yymsp[-3].minor.yy168), yymsp[-1].minor.yy168, yymsp[0].minor.yy168); } + case 302: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ +{ yymsp[-9].minor.yy840 = createIndexOption(pCxt, yymsp[-7].minor.yy740, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), NULL, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); } break; - case 305: /* func ::= sma_func_name NK_LP expression_list NK_RP */ -{ yylhsminor.yy168 = createFunctionNode(pCxt, &yymsp[-3].minor.yy737, yymsp[-1].minor.yy440); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + case 303: /* 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.yy840 = createIndexOption(pCxt, yymsp[-9].minor.yy740, releaseRawExprNode(pCxt, yymsp[-5].minor.yy840), releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), yymsp[-1].minor.yy840, yymsp[0].minor.yy840); } break; - case 306: /* sma_func_name ::= function_name */ - case 525: /* alias_opt ::= table_alias */ yytestcase(yyruleno==525); -{ yylhsminor.yy737 = yymsp[0].minor.yy737; } - yymsp[0].minor.yy737 = yylhsminor.yy737; + case 306: /* func ::= sma_func_name NK_LP expression_list NK_RP */ +{ yylhsminor.yy840 = createFunctionNode(pCxt, &yymsp[-3].minor.yy351, yymsp[-1].minor.yy740); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 311: /* sma_stream_opt ::= */ - case 356: /* stream_options ::= */ yytestcase(yyruleno==356); -{ yymsp[1].minor.yy168 = createStreamOptions(pCxt); } + case 307: /* sma_func_name ::= function_name */ + case 526: /* alias_opt ::= table_alias */ yytestcase(yyruleno==526); +{ yylhsminor.yy351 = yymsp[0].minor.yy351; } + yymsp[0].minor.yy351 = yylhsminor.yy351; break; - case 312: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy168)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy168); yylhsminor.yy168 = yymsp[-2].minor.yy168; } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 312: /* sma_stream_opt ::= */ + case 357: /* stream_options ::= */ yytestcase(yyruleno==357); +{ yymsp[1].minor.yy840 = createStreamOptions(pCxt); } break; - case 313: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy168)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy168); yylhsminor.yy168 = yymsp[-2].minor.yy168; } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 313: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ +{ ((SStreamOptions*)yymsp[-2].minor.yy840)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); yylhsminor.yy840 = yymsp[-2].minor.yy840; } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 314: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ -{ ((SStreamOptions*)yymsp[-2].minor.yy168)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy168); yylhsminor.yy168 = yymsp[-2].minor.yy168; } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 314: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ +{ ((SStreamOptions*)yymsp[-2].minor.yy840)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); yylhsminor.yy840 = yymsp[-2].minor.yy840; } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 315: /* with_meta ::= AS */ -{ yymsp[0].minor.yy324 = 0; } + case 315: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ +{ ((SStreamOptions*)yymsp[-2].minor.yy840)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); yylhsminor.yy840 = yymsp[-2].minor.yy840; } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 316: /* with_meta ::= WITH META AS */ -{ yymsp[-2].minor.yy324 = 1; } + case 316: /* with_meta ::= AS */ +{ yymsp[0].minor.yy942 = 0; } break; - case 317: /* with_meta ::= ONLY META AS */ -{ yymsp[-2].minor.yy324 = 2; } + case 317: /* with_meta ::= WITH META AS */ +{ yymsp[-2].minor.yy942 = 1; } break; - case 318: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy953, &yymsp[-2].minor.yy737, yymsp[0].minor.yy168); } + case 318: /* with_meta ::= ONLY META AS */ +{ yymsp[-2].minor.yy942 = 2; } break; - case 319: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ -{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy953, &yymsp[-3].minor.yy737, &yymsp[0].minor.yy737, yymsp[-2].minor.yy324); } + case 319: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ +{ pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy719, &yymsp[-2].minor.yy351, yymsp[0].minor.yy840); } break; - case 320: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ -{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy953, &yymsp[-4].minor.yy737, yymsp[-1].minor.yy168, yymsp[-3].minor.yy324, yymsp[0].minor.yy168); } + case 320: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ +{ pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy719, &yymsp[-3].minor.yy351, &yymsp[0].minor.yy351, yymsp[-2].minor.yy942); } break; - case 321: /* cmd ::= DROP TOPIC exists_opt topic_name */ -{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy953, &yymsp[0].minor.yy737); } + case 321: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ +{ pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy719, &yymsp[-4].minor.yy351, yymsp[-1].minor.yy840, yymsp[-3].minor.yy942, yymsp[0].minor.yy840); } break; - case 322: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ -{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy953, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy737); } + case 322: /* cmd ::= DROP TOPIC exists_opt topic_name */ +{ pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy719, &yymsp[0].minor.yy351); } break; - case 323: /* cmd ::= DESC full_table_name */ - case 324: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==324); -{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy168); } + case 323: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ +{ pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy719, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy351); } break; - case 325: /* cmd ::= RESET QUERY CACHE */ + case 324: /* cmd ::= DESC full_table_name */ + case 325: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==325); +{ pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy840); } + break; + case 326: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; - case 326: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - case 327: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==327); -{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy953, yymsp[-1].minor.yy168, yymsp[0].minor.yy168); } + case 327: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + case 328: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==328); +{ pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy719, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); } break; - case 330: /* explain_options ::= */ -{ yymsp[1].minor.yy168 = createDefaultExplainOptions(pCxt); } + case 331: /* explain_options ::= */ +{ yymsp[1].minor.yy840 = createDefaultExplainOptions(pCxt); } break; - case 331: /* explain_options ::= explain_options VERBOSE NK_BOOL */ -{ yylhsminor.yy168 = setExplainVerbose(pCxt, yymsp[-2].minor.yy168, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 332: /* explain_options ::= explain_options VERBOSE NK_BOOL */ +{ yylhsminor.yy840 = setExplainVerbose(pCxt, yymsp[-2].minor.yy840, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 332: /* explain_options ::= explain_options RATIO NK_FLOAT */ -{ yylhsminor.yy168 = setExplainRatio(pCxt, yymsp[-2].minor.yy168, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 333: /* explain_options ::= explain_options RATIO NK_FLOAT */ +{ yylhsminor.yy840 = setExplainRatio(pCxt, yymsp[-2].minor.yy840, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 333: /* 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.yy953, yymsp[-9].minor.yy953, &yymsp[-6].minor.yy737, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy208, yymsp[-1].minor.yy324, &yymsp[0].minor.yy737, yymsp[-10].minor.yy953); } + case 334: /* 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.yy719, yymsp[-9].minor.yy719, &yymsp[-6].minor.yy351, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy616, yymsp[-1].minor.yy942, &yymsp[0].minor.yy351, yymsp[-10].minor.yy719); } break; - case 334: /* cmd ::= DROP FUNCTION exists_opt function_name */ -{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy953, &yymsp[0].minor.yy737); } + case 335: /* cmd ::= DROP FUNCTION exists_opt function_name */ +{ pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy719, &yymsp[0].minor.yy351); } break; - case 339: /* language_opt ::= */ -{ yymsp[1].minor.yy737 = nil_token; } + case 340: /* language_opt ::= */ +{ yymsp[1].minor.yy351 = nil_token; } break; - case 340: /* language_opt ::= LANGUAGE NK_STRING */ -{ yymsp[-1].minor.yy737 = yymsp[0].minor.yy0; } + case 341: /* language_opt ::= LANGUAGE NK_STRING */ +{ yymsp[-1].minor.yy351 = yymsp[0].minor.yy0; } break; - case 343: /* cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ -{ pCxt->pRootNode = createCreateViewStmt(pCxt, yymsp[-4].minor.yy953, yymsp[-2].minor.yy168, &yymsp[-1].minor.yy0, yymsp[0].minor.yy168); } + case 344: /* cmd ::= CREATE or_replace_opt VIEW full_view_name AS query_or_subquery */ +{ pCxt->pRootNode = createCreateViewStmt(pCxt, yymsp[-4].minor.yy719, yymsp[-2].minor.yy840, &yymsp[-1].minor.yy0, yymsp[0].minor.yy840); } break; - case 344: /* cmd ::= DROP VIEW exists_opt full_view_name */ -{ pCxt->pRootNode = createDropViewStmt(pCxt, yymsp[-1].minor.yy953, yymsp[0].minor.yy168); } + case 345: /* cmd ::= DROP VIEW exists_opt full_view_name */ +{ pCxt->pRootNode = createDropViewStmt(pCxt, yymsp[-1].minor.yy719, yymsp[0].minor.yy840); } break; - case 345: /* full_view_name ::= view_name */ -{ yylhsminor.yy168 = createViewNode(pCxt, NULL, &yymsp[0].minor.yy737); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 346: /* full_view_name ::= view_name */ +{ yylhsminor.yy840 = createViewNode(pCxt, NULL, &yymsp[0].minor.yy351); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 346: /* full_view_name ::= db_name NK_DOT view_name */ -{ yylhsminor.yy168 = createViewNode(pCxt, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy737); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 347: /* full_view_name ::= db_name NK_DOT view_name */ +{ yylhsminor.yy840 = createViewNode(pCxt, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy351); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 347: /* 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.yy953, &yymsp[-8].minor.yy737, yymsp[-5].minor.yy168, yymsp[-7].minor.yy168, yymsp[-3].minor.yy440, yymsp[-2].minor.yy168, yymsp[0].minor.yy168, yymsp[-4].minor.yy440); } + case 348: /* 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.yy719, &yymsp[-8].minor.yy351, yymsp[-5].minor.yy840, yymsp[-7].minor.yy840, yymsp[-3].minor.yy740, yymsp[-2].minor.yy840, yymsp[0].minor.yy840, yymsp[-4].minor.yy740); } break; - case 348: /* cmd ::= DROP STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy953, &yymsp[0].minor.yy737); } + case 349: /* cmd ::= DROP STREAM exists_opt stream_name */ +{ pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy719, &yymsp[0].minor.yy351); } break; - case 349: /* cmd ::= PAUSE STREAM exists_opt stream_name */ -{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy953, &yymsp[0].minor.yy737); } + case 350: /* cmd ::= PAUSE STREAM exists_opt stream_name */ +{ pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy719, &yymsp[0].minor.yy351); } break; - case 350: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ -{ pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy953, yymsp[-1].minor.yy953, &yymsp[0].minor.yy737); } + case 351: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ +{ pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy719, yymsp[-1].minor.yy719, &yymsp[0].minor.yy351); } break; - case 357: /* stream_options ::= stream_options TRIGGER AT_ONCE */ - case 358: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==358); -{ yylhsminor.yy168 = setStreamOptions(pCxt, yymsp[-2].minor.yy168, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 358: /* stream_options ::= stream_options TRIGGER AT_ONCE */ + case 359: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==359); +{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-2].minor.yy840, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 359: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ -{ yylhsminor.yy168 = setStreamOptions(pCxt, yymsp[-3].minor.yy168, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy168)); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + case 360: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ +{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-3].minor.yy840, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 360: /* stream_options ::= stream_options WATERMARK duration_literal */ -{ yylhsminor.yy168 = setStreamOptions(pCxt, yymsp[-2].minor.yy168, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy168)); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 361: /* stream_options ::= stream_options WATERMARK duration_literal */ +{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-2].minor.yy840, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 361: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ -{ yylhsminor.yy168 = setStreamOptions(pCxt, yymsp[-3].minor.yy168, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + case 362: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ +{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-3].minor.yy840, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 362: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ -{ yylhsminor.yy168 = setStreamOptions(pCxt, yymsp[-2].minor.yy168, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 363: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ +{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-2].minor.yy840, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 363: /* stream_options ::= stream_options DELETE_MARK duration_literal */ -{ yylhsminor.yy168 = setStreamOptions(pCxt, yymsp[-2].minor.yy168, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy168)); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 364: /* stream_options ::= stream_options DELETE_MARK duration_literal */ +{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-2].minor.yy840, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 364: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ -{ yylhsminor.yy168 = setStreamOptions(pCxt, yymsp[-3].minor.yy168, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + case 365: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ +{ yylhsminor.yy840 = setStreamOptions(pCxt, yymsp[-3].minor.yy840, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 366: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 563: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==563); - case 584: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==584); -{ yymsp[-3].minor.yy168 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy168); } + case 367: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + case 564: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==564); + case 585: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==585); +{ yymsp[-3].minor.yy840 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy840); } break; - case 369: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 370: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 370: /* cmd ::= KILL QUERY NK_STRING */ + case 371: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 371: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 372: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 372: /* cmd ::= BALANCE VGROUP */ + case 373: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 373: /* cmd ::= BALANCE VGROUP LEADER */ + case 374: /* cmd ::= BALANCE VGROUP LEADER */ { pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt); } break; - case 374: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 375: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 375: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ -{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy440); } + case 376: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ +{ pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy740); } break; - case 376: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 377: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 377: /* dnode_list ::= DNODE NK_INTEGER */ -{ yymsp[-1].minor.yy440 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } + case 378: /* dnode_list ::= DNODE NK_INTEGER */ +{ yymsp[-1].minor.yy740 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 379: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ -{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy168, yymsp[0].minor.yy168); } + case 380: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ +{ pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); } break; - case 382: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ -{ yymsp[-6].minor.yy168 = createInsertStmt(pCxt, yymsp[-4].minor.yy168, yymsp[-2].minor.yy440, yymsp[0].minor.yy168); } + case 383: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ +{ yymsp[-6].minor.yy840 = createInsertStmt(pCxt, yymsp[-4].minor.yy840, yymsp[-2].minor.yy740, yymsp[0].minor.yy840); } break; - case 383: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ -{ yymsp[-3].minor.yy168 = createInsertStmt(pCxt, yymsp[-1].minor.yy168, NULL, yymsp[0].minor.yy168); } + case 384: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ +{ yymsp[-3].minor.yy840 = createInsertStmt(pCxt, yymsp[-1].minor.yy840, NULL, yymsp[0].minor.yy840); } break; - case 384: /* literal ::= NK_INTEGER */ -{ yylhsminor.yy168 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 385: /* literal ::= NK_INTEGER */ +{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 385: /* literal ::= NK_FLOAT */ -{ yylhsminor.yy168 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 386: /* literal ::= NK_FLOAT */ +{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 386: /* literal ::= NK_STRING */ -{ yylhsminor.yy168 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 387: /* literal ::= NK_STRING */ +{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 387: /* literal ::= NK_BOOL */ -{ yylhsminor.yy168 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 388: /* literal ::= NK_BOOL */ +{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 388: /* literal ::= TIMESTAMP NK_STRING */ -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + case 389: /* literal ::= TIMESTAMP NK_STRING */ +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 389: /* literal ::= duration_literal */ - case 399: /* signed_literal ::= signed */ yytestcase(yyruleno==399); - case 421: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==421); - case 422: /* expression ::= literal */ yytestcase(yyruleno==422); - case 423: /* expression ::= pseudo_column */ yytestcase(yyruleno==423); - case 424: /* expression ::= column_reference */ yytestcase(yyruleno==424); - case 425: /* expression ::= function_expression */ yytestcase(yyruleno==425); - case 426: /* expression ::= case_when_expression */ yytestcase(yyruleno==426); - case 457: /* function_expression ::= literal_func */ yytestcase(yyruleno==457); - case 506: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==506); - case 510: /* boolean_primary ::= predicate */ yytestcase(yyruleno==510); - case 512: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==512); - case 513: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==513); - case 516: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==516); - case 518: /* table_reference ::= table_primary */ yytestcase(yyruleno==518); - case 519: /* table_reference ::= joined_table */ yytestcase(yyruleno==519); - case 523: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==523); - case 586: /* query_simple ::= query_specification */ yytestcase(yyruleno==586); - case 587: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==587); - case 590: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==590); - case 592: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==592); -{ yylhsminor.yy168 = yymsp[0].minor.yy168; } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 390: /* literal ::= duration_literal */ + case 400: /* signed_literal ::= signed */ yytestcase(yyruleno==400); + case 422: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==422); + case 423: /* expression ::= literal */ yytestcase(yyruleno==423); + case 424: /* expression ::= pseudo_column */ yytestcase(yyruleno==424); + case 425: /* expression ::= column_reference */ yytestcase(yyruleno==425); + case 426: /* expression ::= function_expression */ yytestcase(yyruleno==426); + case 427: /* expression ::= case_when_expression */ yytestcase(yyruleno==427); + case 458: /* function_expression ::= literal_func */ yytestcase(yyruleno==458); + case 507: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==507); + case 511: /* boolean_primary ::= predicate */ yytestcase(yyruleno==511); + case 513: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==513); + case 514: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==514); + case 517: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==517); + case 519: /* table_reference ::= table_primary */ yytestcase(yyruleno==519); + case 520: /* table_reference ::= joined_table */ yytestcase(yyruleno==520); + case 524: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==524); + case 587: /* query_simple ::= query_specification */ yytestcase(yyruleno==587); + case 588: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==588); + case 591: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==591); + case 593: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==593); +{ yylhsminor.yy840 = yymsp[0].minor.yy840; } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 390: /* literal ::= NULL */ -{ yylhsminor.yy168 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 391: /* literal ::= NULL */ +{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 391: /* literal ::= NK_QUESTION */ -{ yylhsminor.yy168 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 392: /* literal ::= NK_QUESTION */ +{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 392: /* duration_literal ::= NK_VARIABLE */ -{ yylhsminor.yy168 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 393: /* duration_literal ::= NK_VARIABLE */ +{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 393: /* signed ::= NK_INTEGER */ -{ yylhsminor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 394: /* signed ::= NK_INTEGER */ +{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 394: /* signed ::= NK_PLUS NK_INTEGER */ -{ yymsp[-1].minor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } + case 395: /* signed ::= NK_PLUS NK_INTEGER */ +{ yymsp[-1].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } break; - case 395: /* signed ::= NK_MINUS NK_INTEGER */ + case 396: /* 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.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); + yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &t); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 396: /* signed ::= NK_FLOAT */ -{ yylhsminor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 397: /* signed ::= NK_FLOAT */ +{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 397: /* signed ::= NK_PLUS NK_FLOAT */ -{ yymsp[-1].minor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } + case 398: /* signed ::= NK_PLUS NK_FLOAT */ +{ yymsp[-1].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 398: /* signed ::= NK_MINUS NK_FLOAT */ + case 399: /* 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.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); + yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &t); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 400: /* signed_literal ::= NK_STRING */ -{ yylhsminor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 401: /* signed_literal ::= NK_STRING */ +{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 401: /* signed_literal ::= NK_BOOL */ -{ yylhsminor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 402: /* signed_literal ::= NK_BOOL */ +{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 402: /* signed_literal ::= TIMESTAMP NK_STRING */ -{ yymsp[-1].minor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } + case 403: /* signed_literal ::= TIMESTAMP NK_STRING */ +{ yymsp[-1].minor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 403: /* signed_literal ::= duration_literal */ - case 405: /* signed_literal ::= literal_func */ yytestcase(yyruleno==405); - case 477: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==477); - case 543: /* select_item ::= common_expression */ yytestcase(yyruleno==543); - case 553: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==553); - case 591: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==591); - case 593: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==593); - case 606: /* search_condition ::= common_expression */ yytestcase(yyruleno==606); -{ yylhsminor.yy168 = releaseRawExprNode(pCxt, yymsp[0].minor.yy168); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 404: /* signed_literal ::= duration_literal */ + case 406: /* signed_literal ::= literal_func */ yytestcase(yyruleno==406); + case 478: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==478); + case 544: /* select_item ::= common_expression */ yytestcase(yyruleno==544); + case 554: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==554); + case 592: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==592); + case 594: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==594); + case 607: /* search_condition ::= common_expression */ yytestcase(yyruleno==607); +{ yylhsminor.yy840 = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 404: /* signed_literal ::= NULL */ -{ yylhsminor.yy168 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 405: /* signed_literal ::= NULL */ +{ yylhsminor.yy840 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 406: /* signed_literal ::= NK_QUESTION */ -{ yylhsminor.yy168 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 407: /* signed_literal ::= NK_QUESTION */ +{ yylhsminor.yy840 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 427: /* expression ::= NK_LP expression NK_RP */ - case 511: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==511); - case 605: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==605); -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy168)); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 428: /* expression ::= NK_LP expression NK_RP */ + case 512: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==512); + case 606: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==606); +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 428: /* expression ::= NK_PLUS expr_or_subquery */ + case 429: /* expression ::= NK_PLUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy168)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 429: /* expression ::= NK_MINUS expr_or_subquery */ + case 430: /* expression ::= NK_MINUS expr_or_subquery */ { - SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy168), NULL)); + SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy840), NULL)); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 430: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 431: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_ADD, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 431: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 432: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_SUB, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 432: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 433: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_MULTI, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 433: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 434: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_DIV, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 434: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 435: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_REM, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 435: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 436: /* expression ::= column_reference NK_ARROW NK_STRING */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 436: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 437: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 437: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 438: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, OP_TYPE_BIT_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 440: /* column_reference ::= column_name */ -{ yylhsminor.yy168 = createRawExprNode(pCxt, &yymsp[0].minor.yy737, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy737)); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 441: /* column_reference ::= column_name */ +{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy351, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy351)); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 441: /* column_reference ::= table_name NK_DOT column_name */ -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy737, createColumnNode(pCxt, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy737)); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 442: /* column_reference ::= table_name NK_DOT column_name */ +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy351, createColumnNode(pCxt, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy351)); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 442: /* pseudo_column ::= ROWTS */ - case 443: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==443); - case 445: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==445); - case 446: /* pseudo_column ::= QEND */ yytestcase(yyruleno==446); - case 447: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==447); - case 448: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==448); - case 449: /* pseudo_column ::= WEND */ yytestcase(yyruleno==449); - case 450: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==450); - case 451: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==451); - case 452: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==452); - case 453: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==453); - case 459: /* literal_func ::= NOW */ yytestcase(yyruleno==459); -{ yylhsminor.yy168 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 443: /* pseudo_column ::= ROWTS */ + case 444: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==444); + case 446: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==446); + case 447: /* pseudo_column ::= QEND */ yytestcase(yyruleno==447); + case 448: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==448); + case 449: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==449); + case 450: /* pseudo_column ::= WEND */ yytestcase(yyruleno==450); + case 451: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==451); + case 452: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==452); + case 453: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==453); + case 454: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==454); + case 460: /* literal_func ::= NOW */ yytestcase(yyruleno==460); +{ yylhsminor.yy840 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 444: /* pseudo_column ::= table_name NK_DOT TBNAME */ -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy737)))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 445: /* pseudo_column ::= table_name NK_DOT TBNAME */ +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy351)))); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 454: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 455: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==455); -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy737, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy737, yymsp[-1].minor.yy440)); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + case 455: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 456: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==456); +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy351, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy351, yymsp[-1].minor.yy740)); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 456: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy168), yymsp[-1].minor.yy208)); } - yymsp[-5].minor.yy168 = yylhsminor.yy168; + case 457: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), yymsp[-1].minor.yy616)); } + yymsp[-5].minor.yy840 = yylhsminor.yy840; break; - case 458: /* literal_func ::= noarg_func NK_LP NK_RP */ -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy737, NULL)); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 459: /* literal_func ::= noarg_func NK_LP NK_RP */ +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy351, NULL)); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 473: /* star_func_para_list ::= NK_STAR */ -{ yylhsminor.yy440 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } - yymsp[0].minor.yy440 = yylhsminor.yy440; + case 474: /* star_func_para_list ::= NK_STAR */ +{ yylhsminor.yy740 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } + yymsp[0].minor.yy740 = yylhsminor.yy740; break; - case 478: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 546: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==546); -{ yylhsminor.yy168 = createColumnNode(pCxt, &yymsp[-2].minor.yy737, &yymsp[0].minor.yy0); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 479: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 547: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==547); +{ yylhsminor.yy840 = createColumnNode(pCxt, &yymsp[-2].minor.yy351, &yymsp[0].minor.yy0); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 479: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy440, yymsp[-1].minor.yy168)); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + case 480: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy740, yymsp[-1].minor.yy840)); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 480: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy168), yymsp[-2].minor.yy440, yymsp[-1].minor.yy168)); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; + case 481: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), yymsp[-2].minor.yy740, yymsp[-1].minor.yy840)); } + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; - case 483: /* when_then_expr ::= WHEN common_expression THEN common_expression */ -{ yymsp[-3].minor.yy168 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168)); } + case 484: /* when_then_expr ::= WHEN common_expression THEN common_expression */ +{ yymsp[-3].minor.yy840 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840)); } break; - case 485: /* case_when_else_opt ::= ELSE common_expression */ -{ yymsp[-1].minor.yy168 = releaseRawExprNode(pCxt, yymsp[0].minor.yy168); } + case 486: /* case_when_else_opt ::= ELSE common_expression */ +{ yymsp[-1].minor.yy840 = releaseRawExprNode(pCxt, yymsp[0].minor.yy840); } break; - case 486: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 491: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==491); + case 487: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 492: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==492); { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy476, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createOperatorNode(pCxt, yymsp[-1].minor.yy534, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 487: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 488: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy168), releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-4].minor.yy840), releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-4].minor.yy168 = yylhsminor.yy168; + yymsp[-4].minor.yy840 = yylhsminor.yy840; break; - case 488: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 489: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy168), releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createNotBetweenAnd(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy840), releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-5].minor.yy168 = yylhsminor.yy168; + yymsp[-5].minor.yy840 = yylhsminor.yy840; break; - case 489: /* predicate ::= expr_or_subquery IS NULL */ + case 490: /* predicate ::= expr_or_subquery IS NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), NULL)); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 490: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 491: /* predicate ::= expr_or_subquery IS NOT NULL */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy168), NULL)); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), NULL)); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 492: /* compare_op ::= NK_LT */ -{ yymsp[0].minor.yy476 = OP_TYPE_LOWER_THAN; } + case 493: /* compare_op ::= NK_LT */ +{ yymsp[0].minor.yy534 = OP_TYPE_LOWER_THAN; } break; - case 493: /* compare_op ::= NK_GT */ -{ yymsp[0].minor.yy476 = OP_TYPE_GREATER_THAN; } + case 494: /* compare_op ::= NK_GT */ +{ yymsp[0].minor.yy534 = OP_TYPE_GREATER_THAN; } break; - case 494: /* compare_op ::= NK_LE */ -{ yymsp[0].minor.yy476 = OP_TYPE_LOWER_EQUAL; } + case 495: /* compare_op ::= NK_LE */ +{ yymsp[0].minor.yy534 = OP_TYPE_LOWER_EQUAL; } break; - case 495: /* compare_op ::= NK_GE */ -{ yymsp[0].minor.yy476 = OP_TYPE_GREATER_EQUAL; } + case 496: /* compare_op ::= NK_GE */ +{ yymsp[0].minor.yy534 = OP_TYPE_GREATER_EQUAL; } break; - case 496: /* compare_op ::= NK_NE */ -{ yymsp[0].minor.yy476 = OP_TYPE_NOT_EQUAL; } + case 497: /* compare_op ::= NK_NE */ +{ yymsp[0].minor.yy534 = OP_TYPE_NOT_EQUAL; } break; - case 497: /* compare_op ::= NK_EQ */ -{ yymsp[0].minor.yy476 = OP_TYPE_EQUAL; } + case 498: /* compare_op ::= NK_EQ */ +{ yymsp[0].minor.yy534 = OP_TYPE_EQUAL; } break; - case 498: /* compare_op ::= LIKE */ -{ yymsp[0].minor.yy476 = OP_TYPE_LIKE; } + case 499: /* compare_op ::= LIKE */ +{ yymsp[0].minor.yy534 = OP_TYPE_LIKE; } break; - case 499: /* compare_op ::= NOT LIKE */ -{ yymsp[-1].minor.yy476 = OP_TYPE_NOT_LIKE; } + case 500: /* compare_op ::= NOT LIKE */ +{ yymsp[-1].minor.yy534 = OP_TYPE_NOT_LIKE; } break; - case 500: /* compare_op ::= MATCH */ -{ yymsp[0].minor.yy476 = OP_TYPE_MATCH; } + case 501: /* compare_op ::= MATCH */ +{ yymsp[0].minor.yy534 = OP_TYPE_MATCH; } break; - case 501: /* compare_op ::= NMATCH */ -{ yymsp[0].minor.yy476 = OP_TYPE_NMATCH; } + case 502: /* compare_op ::= NMATCH */ +{ yymsp[0].minor.yy534 = OP_TYPE_NMATCH; } break; - case 502: /* compare_op ::= CONTAINS */ -{ yymsp[0].minor.yy476 = OP_TYPE_JSON_CONTAINS; } + case 503: /* compare_op ::= CONTAINS */ +{ yymsp[0].minor.yy534 = OP_TYPE_JSON_CONTAINS; } break; - case 503: /* in_op ::= IN */ -{ yymsp[0].minor.yy476 = OP_TYPE_IN; } + case 504: /* in_op ::= IN */ +{ yymsp[0].minor.yy534 = OP_TYPE_IN; } break; - case 504: /* in_op ::= NOT IN */ -{ yymsp[-1].minor.yy476 = OP_TYPE_NOT_IN; } + case 505: /* in_op ::= NOT IN */ +{ yymsp[-1].minor.yy534 = OP_TYPE_NOT_IN; } break; - case 505: /* in_predicate_value ::= NK_LP literal_list NK_RP */ -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy440)); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 506: /* in_predicate_value ::= NK_LP literal_list NK_RP */ +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy740)); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 507: /* boolean_value_expression ::= NOT boolean_primary */ + case 508: /* boolean_value_expression ::= NOT boolean_primary */ { - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy168), NULL)); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy840), NULL)); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 508: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 509: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_OR, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 509: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 510: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { - SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy168); - SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy168); - yylhsminor.yy168 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); + SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy840); + SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy840); + yylhsminor.yy840 = createRawExprNodeExt(pCxt, &s, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_AND, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 517: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ -{ yylhsminor.yy168 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy168, yymsp[0].minor.yy168, NULL); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 518: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ +{ yylhsminor.yy840 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy840, yymsp[0].minor.yy840, NULL); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 520: /* table_primary ::= table_name alias_opt */ -{ yylhsminor.yy168 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy737, &yymsp[0].minor.yy737); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + case 521: /* table_primary ::= table_name alias_opt */ +{ yylhsminor.yy840 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy351, &yymsp[0].minor.yy351); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 521: /* table_primary ::= db_name NK_DOT table_name alias_opt */ -{ yylhsminor.yy168 = createRealTableNode(pCxt, &yymsp[-3].minor.yy737, &yymsp[-1].minor.yy737, &yymsp[0].minor.yy737); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + case 522: /* table_primary ::= db_name NK_DOT table_name alias_opt */ +{ yylhsminor.yy840 = createRealTableNode(pCxt, &yymsp[-3].minor.yy351, &yymsp[-1].minor.yy351, &yymsp[0].minor.yy351); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 522: /* table_primary ::= subquery alias_opt */ -{ yylhsminor.yy168 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy168), &yymsp[0].minor.yy737); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + case 523: /* table_primary ::= subquery alias_opt */ +{ yylhsminor.yy840 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840), &yymsp[0].minor.yy351); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 524: /* alias_opt ::= */ -{ yymsp[1].minor.yy737 = nil_token; } + case 525: /* alias_opt ::= */ +{ yymsp[1].minor.yy351 = nil_token; } break; - case 526: /* alias_opt ::= AS table_alias */ -{ yymsp[-1].minor.yy737 = yymsp[0].minor.yy737; } + case 527: /* alias_opt ::= AS table_alias */ +{ yymsp[-1].minor.yy351 = yymsp[0].minor.yy351; } break; - case 527: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 528: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==528); -{ yymsp[-2].minor.yy168 = yymsp[-1].minor.yy168; } + case 528: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 529: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==529); +{ yymsp[-2].minor.yy840 = yymsp[-1].minor.yy840; } break; - case 529: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ -{ yylhsminor.yy168 = createJoinTableNode(pCxt, yymsp[-4].minor.yy724, yymsp[-5].minor.yy168, yymsp[-2].minor.yy168, yymsp[0].minor.yy168); } - yymsp[-5].minor.yy168 = yylhsminor.yy168; + case 530: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ +{ yylhsminor.yy840 = createJoinTableNode(pCxt, yymsp[-4].minor.yy582, yymsp[-5].minor.yy840, yymsp[-2].minor.yy840, yymsp[0].minor.yy840); } + yymsp[-5].minor.yy840 = yylhsminor.yy840; break; - case 530: /* join_type ::= */ -{ yymsp[1].minor.yy724 = JOIN_TYPE_INNER; } + case 531: /* join_type ::= */ +{ yymsp[1].minor.yy582 = JOIN_TYPE_INNER; } break; - case 531: /* join_type ::= INNER */ -{ yymsp[0].minor.yy724 = JOIN_TYPE_INNER; } + case 532: /* join_type ::= INNER */ +{ yymsp[0].minor.yy582 = JOIN_TYPE_INNER; } break; - case 532: /* 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 533: /* 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.yy168 = createSelectStmt(pCxt, yymsp[-11].minor.yy953, yymsp[-9].minor.yy440, yymsp[-8].minor.yy168, yymsp[-12].minor.yy440); - yymsp[-13].minor.yy168 = setSelectStmtTagMode(pCxt, yymsp[-13].minor.yy168, yymsp[-10].minor.yy953); - yymsp[-13].minor.yy168 = addWhereClause(pCxt, yymsp[-13].minor.yy168, yymsp[-7].minor.yy168); - yymsp[-13].minor.yy168 = addPartitionByClause(pCxt, yymsp[-13].minor.yy168, yymsp[-6].minor.yy440); - yymsp[-13].minor.yy168 = addWindowClauseClause(pCxt, yymsp[-13].minor.yy168, yymsp[-2].minor.yy168); - yymsp[-13].minor.yy168 = addGroupByClause(pCxt, yymsp[-13].minor.yy168, yymsp[-1].minor.yy440); - yymsp[-13].minor.yy168 = addHavingClause(pCxt, yymsp[-13].minor.yy168, yymsp[0].minor.yy168); - yymsp[-13].minor.yy168 = addRangeClause(pCxt, yymsp[-13].minor.yy168, yymsp[-5].minor.yy168); - yymsp[-13].minor.yy168 = addEveryClause(pCxt, yymsp[-13].minor.yy168, yymsp[-4].minor.yy168); - yymsp[-13].minor.yy168 = addFillClause(pCxt, yymsp[-13].minor.yy168, yymsp[-3].minor.yy168); + yymsp[-13].minor.yy840 = createSelectStmt(pCxt, yymsp[-11].minor.yy719, yymsp[-9].minor.yy740, yymsp[-8].minor.yy840, yymsp[-12].minor.yy740); + yymsp[-13].minor.yy840 = setSelectStmtTagMode(pCxt, yymsp[-13].minor.yy840, yymsp[-10].minor.yy719); + yymsp[-13].minor.yy840 = addWhereClause(pCxt, yymsp[-13].minor.yy840, yymsp[-7].minor.yy840); + yymsp[-13].minor.yy840 = addPartitionByClause(pCxt, yymsp[-13].minor.yy840, yymsp[-6].minor.yy740); + yymsp[-13].minor.yy840 = addWindowClauseClause(pCxt, yymsp[-13].minor.yy840, yymsp[-2].minor.yy840); + yymsp[-13].minor.yy840 = addGroupByClause(pCxt, yymsp[-13].minor.yy840, yymsp[-1].minor.yy740); + yymsp[-13].minor.yy840 = addHavingClause(pCxt, yymsp[-13].minor.yy840, yymsp[0].minor.yy840); + yymsp[-13].minor.yy840 = addRangeClause(pCxt, yymsp[-13].minor.yy840, yymsp[-5].minor.yy840); + yymsp[-13].minor.yy840 = addEveryClause(pCxt, yymsp[-13].minor.yy840, yymsp[-4].minor.yy840); + yymsp[-13].minor.yy840 = addFillClause(pCxt, yymsp[-13].minor.yy840, yymsp[-3].minor.yy840); } break; - case 533: /* hint_list ::= */ -{ yymsp[1].minor.yy440 = createHintNodeList(pCxt, NULL); } + case 534: /* hint_list ::= */ +{ yymsp[1].minor.yy740 = createHintNodeList(pCxt, NULL); } break; - case 534: /* hint_list ::= NK_HINT */ -{ yylhsminor.yy440 = createHintNodeList(pCxt, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy440 = yylhsminor.yy440; + case 535: /* hint_list ::= NK_HINT */ +{ yylhsminor.yy740 = createHintNodeList(pCxt, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy740 = yylhsminor.yy740; break; - case 539: /* set_quantifier_opt ::= ALL */ -{ yymsp[0].minor.yy953 = false; } + case 540: /* set_quantifier_opt ::= ALL */ +{ yymsp[0].minor.yy719 = false; } break; - case 542: /* select_item ::= NK_STAR */ -{ yylhsminor.yy168 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } - yymsp[0].minor.yy168 = yylhsminor.yy168; + case 543: /* select_item ::= NK_STAR */ +{ yylhsminor.yy840 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } + yymsp[0].minor.yy840 = yylhsminor.yy840; break; - case 544: /* select_item ::= common_expression column_alias */ - case 554: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==554); -{ yylhsminor.yy168 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy168), &yymsp[0].minor.yy737); } - yymsp[-1].minor.yy168 = yylhsminor.yy168; + case 545: /* select_item ::= common_expression column_alias */ + case 555: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==555); +{ yylhsminor.yy840 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840), &yymsp[0].minor.yy351); } + yymsp[-1].minor.yy840 = yylhsminor.yy840; break; - case 545: /* select_item ::= common_expression AS column_alias */ - case 555: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==555); -{ yylhsminor.yy168 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), &yymsp[0].minor.yy737); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 546: /* select_item ::= common_expression AS column_alias */ + case 556: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==556); +{ yylhsminor.yy840 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), &yymsp[0].minor.yy351); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 550: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 575: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==575); - case 595: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==595); -{ yymsp[-2].minor.yy440 = yymsp[0].minor.yy440; } + case 551: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 576: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==576); + case 596: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==596); +{ yymsp[-2].minor.yy740 = yymsp[0].minor.yy740; } break; - case 557: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ -{ yymsp[-5].minor.yy168 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy168), releaseRawExprNode(pCxt, yymsp[-1].minor.yy168)); } + case 558: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ +{ yymsp[-5].minor.yy840 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); } break; - case 558: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy168 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy168)); } + case 559: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy840 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); } break; - case 559: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-5].minor.yy168 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy168), NULL, yymsp[-1].minor.yy168, yymsp[0].minor.yy168); } + case 560: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-5].minor.yy840 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), NULL, yymsp[-1].minor.yy840, yymsp[0].minor.yy840); } break; - case 560: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ -{ yymsp[-7].minor.yy168 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy168), releaseRawExprNode(pCxt, yymsp[-3].minor.yy168), yymsp[-1].minor.yy168, yymsp[0].minor.yy168); } + case 561: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ +{ yymsp[-7].minor.yy840 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy840), releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), yymsp[-1].minor.yy840, yymsp[0].minor.yy840); } break; - case 561: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ -{ yymsp[-6].minor.yy168 = createEventWindowNode(pCxt, yymsp[-3].minor.yy168, yymsp[0].minor.yy168); } + case 562: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ +{ yymsp[-6].minor.yy840 = createEventWindowNode(pCxt, yymsp[-3].minor.yy840, yymsp[0].minor.yy840); } break; - case 565: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ -{ yymsp[-3].minor.yy168 = createFillNode(pCxt, yymsp[-1].minor.yy262, NULL); } + case 566: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ +{ yymsp[-3].minor.yy840 = createFillNode(pCxt, yymsp[-1].minor.yy186, NULL); } break; - case 566: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ -{ yymsp[-5].minor.yy168 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy440)); } + case 567: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ +{ yymsp[-5].minor.yy840 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy740)); } break; - case 567: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ -{ yymsp[-5].minor.yy168 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy440)); } + case 568: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ +{ yymsp[-5].minor.yy840 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy740)); } break; - case 568: /* fill_mode ::= NONE */ -{ yymsp[0].minor.yy262 = FILL_MODE_NONE; } + case 569: /* fill_mode ::= NONE */ +{ yymsp[0].minor.yy186 = FILL_MODE_NONE; } break; - case 569: /* fill_mode ::= PREV */ -{ yymsp[0].minor.yy262 = FILL_MODE_PREV; } + case 570: /* fill_mode ::= PREV */ +{ yymsp[0].minor.yy186 = FILL_MODE_PREV; } break; - case 570: /* fill_mode ::= NULL */ -{ yymsp[0].minor.yy262 = FILL_MODE_NULL; } + case 571: /* fill_mode ::= NULL */ +{ yymsp[0].minor.yy186 = FILL_MODE_NULL; } break; - case 571: /* fill_mode ::= NULL_F */ -{ yymsp[0].minor.yy262 = FILL_MODE_NULL_F; } + case 572: /* fill_mode ::= NULL_F */ +{ yymsp[0].minor.yy186 = FILL_MODE_NULL_F; } break; - case 572: /* fill_mode ::= LINEAR */ -{ yymsp[0].minor.yy262 = FILL_MODE_LINEAR; } + case 573: /* fill_mode ::= LINEAR */ +{ yymsp[0].minor.yy186 = FILL_MODE_LINEAR; } break; - case 573: /* fill_mode ::= NEXT */ -{ yymsp[0].minor.yy262 = FILL_MODE_NEXT; } + case 574: /* fill_mode ::= NEXT */ +{ yymsp[0].minor.yy186 = FILL_MODE_NEXT; } break; - case 576: /* group_by_list ::= expr_or_subquery */ -{ yylhsminor.yy440 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); } - yymsp[0].minor.yy440 = yylhsminor.yy440; + case 577: /* group_by_list ::= expr_or_subquery */ +{ yylhsminor.yy740 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } + yymsp[0].minor.yy740 = yylhsminor.yy740; break; - case 577: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ -{ yylhsminor.yy440 = addNodeToList(pCxt, yymsp[-2].minor.yy440, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy168))); } - yymsp[-2].minor.yy440 = yylhsminor.yy440; + case 578: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ +{ yylhsminor.yy740 = addNodeToList(pCxt, yymsp[-2].minor.yy740, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy840))); } + yymsp[-2].minor.yy740 = yylhsminor.yy740; break; - case 581: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ -{ yymsp[-5].minor.yy168 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy168), releaseRawExprNode(pCxt, yymsp[-1].minor.yy168)); } + case 582: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ +{ yymsp[-5].minor.yy840 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy840), releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); } break; - case 582: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ -{ yymsp[-3].minor.yy168 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy168)); } + case 583: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ +{ yymsp[-3].minor.yy840 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy840)); } break; - case 585: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 586: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { - yylhsminor.yy168 = addOrderByClause(pCxt, yymsp[-3].minor.yy168, yymsp[-2].minor.yy440); - yylhsminor.yy168 = addSlimitClause(pCxt, yylhsminor.yy168, yymsp[-1].minor.yy168); - yylhsminor.yy168 = addLimitClause(pCxt, yylhsminor.yy168, yymsp[0].minor.yy168); + yylhsminor.yy840 = addOrderByClause(pCxt, yymsp[-3].minor.yy840, yymsp[-2].minor.yy740); + yylhsminor.yy840 = addSlimitClause(pCxt, yylhsminor.yy840, yymsp[-1].minor.yy840); + yylhsminor.yy840 = addLimitClause(pCxt, yylhsminor.yy840, yymsp[0].minor.yy840); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 588: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ -{ yylhsminor.yy168 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy168, yymsp[0].minor.yy168); } - yymsp[-3].minor.yy168 = yylhsminor.yy168; + case 589: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ +{ yylhsminor.yy840 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy840, yymsp[0].minor.yy840); } + yymsp[-3].minor.yy840 = yylhsminor.yy840; break; - case 589: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ -{ yylhsminor.yy168 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy168, yymsp[0].minor.yy168); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 590: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ +{ yylhsminor.yy840 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy840, yymsp[0].minor.yy840); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 597: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 601: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==601); -{ yymsp[-1].minor.yy168 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } + case 598: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 602: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==602); +{ yymsp[-1].minor.yy840 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 598: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 602: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==602); -{ yymsp[-3].minor.yy168 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } + case 599: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 603: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==603); +{ yymsp[-3].minor.yy840 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 599: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 603: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==603); -{ yymsp[-3].minor.yy168 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } + case 600: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 604: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==604); +{ yymsp[-3].minor.yy840 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 604: /* subquery ::= NK_LP query_expression NK_RP */ -{ yylhsminor.yy168 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy168); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 605: /* subquery ::= NK_LP query_expression NK_RP */ +{ yylhsminor.yy840 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy840); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 609: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ -{ yylhsminor.yy168 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy168), yymsp[-1].minor.yy258, yymsp[0].minor.yy425); } - yymsp[-2].minor.yy168 = yylhsminor.yy168; + case 610: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ +{ yylhsminor.yy840 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy840), yymsp[-1].minor.yy960, yymsp[0].minor.yy67); } + yymsp[-2].minor.yy840 = yylhsminor.yy840; break; - case 610: /* ordering_specification_opt ::= */ -{ yymsp[1].minor.yy258 = ORDER_ASC; } + case 611: /* ordering_specification_opt ::= */ +{ yymsp[1].minor.yy960 = ORDER_ASC; } break; - case 611: /* ordering_specification_opt ::= ASC */ -{ yymsp[0].minor.yy258 = ORDER_ASC; } + case 612: /* ordering_specification_opt ::= ASC */ +{ yymsp[0].minor.yy960 = ORDER_ASC; } break; - case 612: /* ordering_specification_opt ::= DESC */ -{ yymsp[0].minor.yy258 = ORDER_DESC; } + case 613: /* ordering_specification_opt ::= DESC */ +{ yymsp[0].minor.yy960 = ORDER_DESC; } break; - case 613: /* null_ordering_opt ::= */ -{ yymsp[1].minor.yy425 = NULL_ORDER_DEFAULT; } + case 614: /* null_ordering_opt ::= */ +{ yymsp[1].minor.yy67 = NULL_ORDER_DEFAULT; } break; - case 614: /* null_ordering_opt ::= NULLS FIRST */ -{ yymsp[-1].minor.yy425 = NULL_ORDER_FIRST; } + case 615: /* null_ordering_opt ::= NULLS FIRST */ +{ yymsp[-1].minor.yy67 = NULL_ORDER_FIRST; } break; - case 615: /* null_ordering_opt ::= NULLS LAST */ -{ yymsp[-1].minor.yy425 = NULL_ORDER_LAST; } + case 616: /* null_ordering_opt ::= NULLS LAST */ +{ yymsp[-1].minor.yy67 = NULL_ORDER_LAST; } break; default: break; diff --git a/source/libs/parser/test/mockCatalog.cpp b/source/libs/parser/test/mockCatalog.cpp index be4f3cd80b..21b5c13a2f 100644 --- a/source/libs/parser/test/mockCatalog.cpp +++ b/source/libs/parser/test/mockCatalog.cpp @@ -110,6 +110,10 @@ void generateInformationSchema(MockCatalogService* mcs) { .addColumn("user_name", TSDB_DATA_TYPE_BINARY, TSDB_USER_LEN) .addColumn("privilege", TSDB_DATA_TYPE_BINARY, 10) .done(); + mcs->createTableBuilder(TSDB_INFORMATION_SCHEMA_DB, TSDB_INS_TABLE_VIEWS, TSDB_SYSTEM_TABLE, 2) + .addColumn("view_name", TSDB_DATA_TYPE_BINARY, TSDB_VIEW_NAME_LEN) + .addColumn("create_time", TSDB_DATA_TYPE_TIMESTAMP) + .done(); } void generatePerformanceSchema(MockCatalogService* mcs) {