diff --git a/docs/zh/12-taos-sql/14-stream.md b/docs/zh/12-taos-sql/14-stream.md index 634f50356d..43bdc9b04a 100644 --- a/docs/zh/12-taos-sql/14-stream.md +++ b/docs/zh/12-taos-sql/14-stream.md @@ -249,3 +249,12 @@ T = 最新事件时间 - DELETE_MARK - [unique](../function/#unique) - [mode](../function/#mode) +## 暂停、恢复流计算 +1.流计算暂停计算任务 +PAUSE STREAM [IF EXISTS] stream_name; +没有指定IF EXISTS,如果该stream不存在,则报错;如果存在,则暂停流计算。指定了IF EXISTS,如果该stream不存在,则返回成功;如果存在,则暂停流计算 + +2.流计算恢复计算任务 +RESUME STREAM [IF EXISTS] [IGNORE UNTREATED] stream_name; +没有指定IF EXISTS,如果该stream不存在,则报错,如果存在,则恢复流计算;指定了IF EXISTS,如果stream不存在,则返回成功;如果存在,则恢复流计算。如果指定IGNORE UNTREATED,则恢复流计算时,忽略流计算暂停期间写入的数据。 + diff --git a/include/common/tmsg.h b/include/common/tmsg.h index 348fb973a8..c1458e9d4f 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -440,6 +440,7 @@ typedef struct SField { uint8_t type; int8_t flags; int32_t bytes; + char comment[TSDB_COL_COMMENT_LEN]; } SField; typedef struct SRetention { @@ -518,6 +519,7 @@ struct SSchema { col_id_t colId; int32_t bytes; char name[TSDB_COL_NAME_LEN]; + char comment[TSDB_COL_COMMENT_LEN]; }; struct SSchema2 { @@ -2620,6 +2622,9 @@ typedef struct { int8_t type; int8_t flags; int32_t bytes; + bool hasColComment; + char* colComment; + int32_t colCommentLen; // TSDB_ALTER_TABLE_DROP_COLUMN // TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES int8_t colModType; diff --git a/include/common/ttokendef.h b/include/common/ttokendef.h index ba24da5e85..42b9bc8939 100644 --- a/include/common/ttokendef.h +++ b/include/common/ttokendef.h @@ -130,25 +130,25 @@ #define TK_NK_EQ 112 #define TK_USING 113 #define TK_TAGS 114 -#define TK_BOOL 115 -#define TK_TINYINT 116 -#define TK_SMALLINT 117 -#define TK_INT 118 -#define TK_INTEGER 119 -#define TK_BIGINT 120 -#define TK_FLOAT 121 -#define TK_DOUBLE 122 -#define TK_BINARY 123 -#define TK_NCHAR 124 -#define TK_UNSIGNED 125 -#define TK_JSON 126 -#define TK_VARCHAR 127 -#define TK_MEDIUMBLOB 128 -#define TK_BLOB 129 -#define TK_VARBINARY 130 -#define TK_GEOMETRY 131 -#define TK_DECIMAL 132 -#define TK_COMMENT 133 +#define TK_COMMENT 115 +#define TK_BOOL 116 +#define TK_TINYINT 117 +#define TK_SMALLINT 118 +#define TK_INT 119 +#define TK_INTEGER 120 +#define TK_BIGINT 121 +#define TK_FLOAT 122 +#define TK_DOUBLE 123 +#define TK_BINARY 124 +#define TK_NCHAR 125 +#define TK_UNSIGNED 126 +#define TK_JSON 127 +#define TK_VARCHAR 128 +#define TK_MEDIUMBLOB 129 +#define TK_BLOB 130 +#define TK_VARBINARY 131 +#define TK_GEOMETRY 132 +#define TK_DECIMAL 133 #define TK_MAX_DELAY 134 #define TK_WATERMARK 135 #define TK_ROLLUP 136 @@ -358,6 +358,7 @@ + #define TK_NK_SPACE 600 #define TK_NK_COMMENT 601 #define TK_NK_ILLEGAL 602 diff --git a/include/libs/nodes/cmdnodes.h b/include/libs/nodes/cmdnodes.h index f0a715e651..ff02070882 100644 --- a/include/libs/nodes/cmdnodes.h +++ b/include/libs/nodes/cmdnodes.h @@ -23,10 +23,11 @@ extern "C" { #include "query.h" #include "querynodes.h" -#define DESCRIBE_RESULT_COLS 4 -#define DESCRIBE_RESULT_FIELD_LEN (TSDB_COL_NAME_LEN - 1 + VARSTR_HEADER_SIZE) -#define DESCRIBE_RESULT_TYPE_LEN (20 + VARSTR_HEADER_SIZE) -#define DESCRIBE_RESULT_NOTE_LEN (8 + VARSTR_HEADER_SIZE) +#define DESCRIBE_RESULT_COLS 5 +#define DESCRIBE_RESULT_FIELD_LEN (TSDB_COL_NAME_LEN - 1 + VARSTR_HEADER_SIZE) +#define DESCRIBE_RESULT_TYPE_LEN (20 + VARSTR_HEADER_SIZE) +#define DESCRIBE_RESULT_NOTE_LEN (8 + VARSTR_HEADER_SIZE) +#define DESCRIBE_RESULT_COL_COMMENT_LEN (TSDB_COL_COMMENT_LEN) #define SHOW_CREATE_DB_RESULT_COLS 2 #define SHOW_CREATE_DB_RESULT_FIELD1_LEN (TSDB_DB_NAME_LEN + VARSTR_HEADER_SIZE) @@ -155,7 +156,7 @@ typedef struct SColumnDefNode { ENodeType type; char colName[TSDB_COL_NAME_LEN]; SDataType dataType; - char comments[TSDB_TB_COMMENT_LEN]; + char comments[TSDB_COL_COMMENT_LEN]; bool sma; } SColumnDefNode; @@ -214,6 +215,7 @@ typedef struct SAlterTableStmt { char newColName[TSDB_COL_NAME_LEN]; STableOptions* pOptions; SDataType dataType; + char colComment[TSDB_COL_COMMENT_LEN]; SValueNode* pVal; } SAlterTableStmt; diff --git a/include/util/tdef.h b/include/util/tdef.h index e4af88bf10..1e12f12087 100644 --- a/include/util/tdef.h +++ b/include/util/tdef.h @@ -230,6 +230,7 @@ typedef enum ELogicConditionType { #define TSDB_APP_NAME_LEN TSDB_UNI_LEN #define TSDB_TB_COMMENT_LEN 1025 +#define TSDB_COL_COMMENT_LEN 1025 #define TSDB_QUERY_ID_LEN 26 #define TSDB_TRANS_OPER_LEN 16 diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index 7d80e114fb..a01bc39cee 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -534,6 +534,7 @@ int32_t tSerializeSMCreateStbReq(void *buf, int32_t bufLen, SMCreateStbReq *pReq if (tEncodeI8(&encoder, pField->flags) < 0) return -1; if (tEncodeI32(&encoder, pField->bytes) < 0) return -1; if (tEncodeCStr(&encoder, pField->name) < 0) return -1; + if (tEncodeCStr(&encoder, pField->comment) < 0) return -1; } for (int32_t i = 0; i < pReq->numOfTags; ++i) { @@ -542,6 +543,7 @@ int32_t tSerializeSMCreateStbReq(void *buf, int32_t bufLen, SMCreateStbReq *pReq if (tEncodeI8(&encoder, pField->flags) < 0) return -1; if (tEncodeI32(&encoder, pField->bytes) < 0) return -1; if (tEncodeCStr(&encoder, pField->name) < 0) return -1; + if (tEncodeCStr(&encoder, pField->comment) < 0) return -1; } for (int32_t i = 0; i < pReq->numOfFuncs; ++i) { @@ -608,6 +610,7 @@ int32_t tDeserializeSMCreateStbReq(void *buf, int32_t bufLen, SMCreateStbReq *pR if (tDecodeI8(&decoder, &field.flags) < 0) return -1; if (tDecodeI32(&decoder, &field.bytes) < 0) return -1; if (tDecodeCStrTo(&decoder, field.name) < 0) return -1; + if (tDecodeCStrTo(&decoder, field.comment) < 0) return -1; if (taosArrayPush(pReq->pColumns, &field) == NULL) { terrno = TSDB_CODE_OUT_OF_MEMORY; return -1; @@ -620,6 +623,7 @@ int32_t tDeserializeSMCreateStbReq(void *buf, int32_t bufLen, SMCreateStbReq *pR if (tDecodeI8(&decoder, &field.flags) < 0) return -1; if (tDecodeI32(&decoder, &field.bytes) < 0) return -1; if (tDecodeCStrTo(&decoder, field.name) < 0) return -1; + if (tDecodeCStrTo(&decoder, field.comment) < 0) return -1; if (taosArrayPush(pReq->pTags, &field) == NULL) { terrno = TSDB_CODE_OUT_OF_MEMORY; return -1; @@ -2301,7 +2305,7 @@ int32_t tDeserializeSTableCfgRsp(void *buf, int32_t bufLen, STableCfgRsp *pRsp) } int32_t totalCols = pRsp->numOfTags + pRsp->numOfColumns; - pRsp->pSchemas = taosMemoryMalloc(sizeof(SSchema) * totalCols); + pRsp->pSchemas = taosMemoryCalloc(totalCols, sizeof(SSchema)); if (pRsp->pSchemas == NULL) return -1; for (int32_t i = 0; i < totalCols; ++i) { @@ -3684,7 +3688,7 @@ static int32_t tDecodeSTableMetaRsp(SDecoder *pDecoder, STableMetaRsp *pRsp) { int32_t totalCols = pRsp->numOfTags + pRsp->numOfColumns; if (totalCols > 0) { - pRsp->pSchemas = taosMemoryMalloc(sizeof(SSchema) * totalCols); + pRsp->pSchemas = taosMemoryCalloc(totalCols, sizeof(SSchema)); if (pRsp->pSchemas == NULL) return -1; for (int32_t i = 0; i < totalCols; ++i) { diff --git a/source/dnode/mnode/impl/src/mndStb.c b/source/dnode/mnode/impl/src/mndStb.c index c6dce0d578..a56ca552f6 100644 --- a/source/dnode/mnode/impl/src/mndStb.c +++ b/source/dnode/mnode/impl/src/mndStb.c @@ -835,6 +835,7 @@ int32_t mndBuildStbFromReq(SMnode *pMnode, SStbObj *pDst, SMCreateStbReq *pCreat pSchema->bytes = pField->bytes; pSchema->flags = pField->flags; memcpy(pSchema->name, pField->name, TSDB_COL_NAME_LEN); + memcpy(pSchema->comment, pField->comment, TSDB_COL_COMMENT_LEN); pSchema->colId = pDst->nextColId; pDst->nextColId++; } @@ -848,6 +849,7 @@ int32_t mndBuildStbFromReq(SMnode *pMnode, SStbObj *pDst, SMCreateStbReq *pCreat SSCHMEA_SET_IDX_ON(pSchema); } memcpy(pSchema->name, pField->name, TSDB_COL_NAME_LEN); + memcpy(pSchema->comment, pField->comment, TSDB_COL_COMMENT_LEN); pSchema->colId = pDst->nextColId; pDst->nextColId++; } diff --git a/source/dnode/vnode/src/vnd/vnodeQuery.c b/source/dnode/vnode/src/vnd/vnodeQuery.c index 48f8ec021d..02a6b1173f 100644 --- a/source/dnode/vnode/src/vnd/vnodeQuery.c +++ b/source/dnode/vnode/src/vnd/vnodeQuery.c @@ -216,7 +216,7 @@ int vnodeGetTableCfg(SVnode *pVnode, SRpcMsg *pMsg, bool direct) { cfgRsp.numOfTags = schemaTag.nCols; cfgRsp.numOfColumns = schema.nCols; - cfgRsp.pSchemas = (SSchema *)taosMemoryMalloc(sizeof(SSchema) * (cfgRsp.numOfColumns + cfgRsp.numOfTags)); + cfgRsp.pSchemas = (SSchema *)taosMemoryCalloc(cfgRsp.numOfColumns + cfgRsp.numOfTags, sizeof(SSchema)); memcpy(cfgRsp.pSchemas, schema.pSchema, sizeof(SSchema) * schema.nCols); if (schemaTag.nCols) { diff --git a/source/libs/command/src/command.c b/source/libs/command/src/command.c index 921ec41021..1fa97904e4 100644 --- a/source/libs/command/src/command.c +++ b/source/libs/command/src/command.c @@ -78,6 +78,10 @@ static int32_t buildDescResultDataBlock(SSDataBlock** pOutput) { infoData = createColumnInfoData(TSDB_DATA_TYPE_VARCHAR, DESCRIBE_RESULT_NOTE_LEN, 4); code = blockDataAppendColInfo(pBlock, &infoData); } + if (TSDB_CODE_SUCCESS == code) { + infoData = createColumnInfoData(TSDB_DATA_TYPE_VARCHAR, DESCRIBE_RESULT_COL_COMMENT_LEN, 5); + code = blockDataAppendColInfo(pBlock, &infoData); + } if (TSDB_CODE_SUCCESS == code) { *pOutput = pBlock; @@ -99,7 +103,9 @@ static int32_t setDescResultIntoDataBlock(bool sysInfoUser, SSDataBlock* pBlock, SColumnInfoData* pCol3 = taosArrayGet(pBlock->pDataBlock, 2); // Note SColumnInfoData* pCol4 = taosArrayGet(pBlock->pDataBlock, 3); - char buf[DESCRIBE_RESULT_FIELD_LEN] = {0}; + // Comment + SColumnInfoData* pCol5 = taosArrayGet(pBlock->pDataBlock, 4); + char buf[DESCRIBE_RESULT_COL_COMMENT_LEN + VARSTR_HEADER_SIZE] = {0}; for (int32_t i = 0; i < numOfRows; ++i) { if (invisibleColumn(sysInfoUser, pMeta->tableType, pMeta->schema[i].flags)) { continue; @@ -112,6 +118,8 @@ static int32_t setDescResultIntoDataBlock(bool sysInfoUser, SSDataBlock* pBlock, colDataSetVal(pCol3, pBlock->info.rows, (const char*)&bytes, false); STR_TO_VARSTR(buf, i >= pMeta->tableInfo.numOfColumns ? "TAG" : ""); colDataSetVal(pCol4, pBlock->info.rows, buf, false); + STR_TO_VARSTR(buf, pMeta->schema[i].comment); + colDataSetVal(pCol5, pBlock->info.rows, buf, false); ++(pBlock->info.rows); } if (pBlock->info.rows <= 0) { @@ -456,14 +464,19 @@ void appendColumnFields(char* buf, int32_t* len, STableCfg* pCfg) { for (int32_t i = 0; i < pCfg->numOfColumns; ++i) { SSchema* pSchema = pCfg->pSchemas + i; char type[32]; + char comments[TSDB_COL_COMMENT_LEN + 16] = {0}; sprintf(type, "%s", tDataTypes[pSchema->type].name); if (TSDB_DATA_TYPE_VARCHAR == pSchema->type || TSDB_DATA_TYPE_GEOMETRY == pSchema->type) { sprintf(type + strlen(type), "(%d)", (int32_t)(pSchema->bytes - VARSTR_HEADER_SIZE)); } else if (TSDB_DATA_TYPE_NCHAR == pSchema->type) { sprintf(type + strlen(type), "(%d)", (int32_t)((pSchema->bytes - VARSTR_HEADER_SIZE) / TSDB_NCHAR_SIZE)); } + if (pSchema->comment[0]) { + sprintf(comments, " COMMENT '%s'", pSchema->comment); + } - *len += sprintf(buf + VARSTR_HEADER_SIZE + *len, "%s`%s` %s", ((i > 0) ? ", " : ""), pSchema->name, type); + *len += + sprintf(buf + VARSTR_HEADER_SIZE + *len, "%s`%s` %s%s", ((i > 0) ? ", " : ""), pSchema->name, type, comments); } } @@ -471,14 +484,18 @@ void appendTagFields(char* buf, int32_t* len, STableCfg* pCfg) { for (int32_t i = 0; i < pCfg->numOfTags; ++i) { SSchema* pSchema = pCfg->pSchemas + pCfg->numOfColumns + i; char type[32]; + char comments[TSDB_COL_COMMENT_LEN + 16] = {0}; sprintf(type, "%s", tDataTypes[pSchema->type].name); if (TSDB_DATA_TYPE_VARCHAR == pSchema->type || TSDB_DATA_TYPE_GEOMETRY == pSchema->type) { sprintf(type + strlen(type), "(%d)", (int32_t)(pSchema->bytes - VARSTR_HEADER_SIZE)); } else if (TSDB_DATA_TYPE_NCHAR == pSchema->type) { sprintf(type + strlen(type), "(%d)", (int32_t)((pSchema->bytes - VARSTR_HEADER_SIZE) / TSDB_NCHAR_SIZE)); } + if (pSchema->comment[0]) { + sprintf(comments, " COMMENT '%s'", pSchema->comment); + } - *len += sprintf(buf + VARSTR_HEADER_SIZE + *len, "%s`%s` %s", ((i > 0) ? ", " : ""), pSchema->name, type); + *len += sprintf(buf + VARSTR_HEADER_SIZE + *len, "%s`%s` %s%s", ((i > 0) ? ", " : ""), pSchema->name, type, comments); } } diff --git a/source/libs/parser/inc/parAst.h b/source/libs/parser/inc/parAst.h index c1a92e19da..1eec3bd435 100644 --- a/source/libs/parser/inc/parAst.h +++ b/source/libs/parser/inc/parAst.h @@ -172,8 +172,7 @@ SNode* createDropTableClause(SAstCreateContext* pCxt, bool ignoreNotExists, SNod SNode* createDropTableStmt(SAstCreateContext* pCxt, SNodeList* pTables); SNode* createDropSuperTableStmt(SAstCreateContext* pCxt, bool ignoreNotExists, SNode* pRealTable); SNode* createAlterTableModifyOptions(SAstCreateContext* pCxt, SNode* pRealTable, SNode* pOptions); -SNode* createAlterTableAddModifyCol(SAstCreateContext* pCxt, SNode* pRealTable, int8_t alterType, SToken* pColName, - SDataType dataType); +SNode* createAlterTableAddModifyCol(SAstCreateContext* pCxt, SNode* pRealTable, int8_t alterType, SNode* pColDefNode); SNode* createAlterTableDropCol(SAstCreateContext* pCxt, SNode* pRealTable, int8_t alterType, SToken* pColName); SNode* createAlterTableRenameCol(SAstCreateContext* pCxt, SNode* pRealTable, int8_t alterType, SToken* pOldColName, SToken* pNewColName); diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index a458fc3a0e..4f5e664458 100755 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -312,17 +312,17 @@ cmd ::= ALTER STABLE alter_table_clause(A). alter_table_clause(A) ::= full_table_name(B) alter_table_options(C). { A = createAlterTableModifyOptions(pCxt, B, C); } alter_table_clause(A) ::= - full_table_name(B) ADD COLUMN column_name(C) type_name(D). { A = createAlterTableAddModifyCol(pCxt, B, TSDB_ALTER_TABLE_ADD_COLUMN, &C, D); } + full_table_name(B) ADD COLUMN column_def(C). { A = createAlterTableAddModifyCol(pCxt, B, TSDB_ALTER_TABLE_ADD_COLUMN, C); } alter_table_clause(A) ::= full_table_name(B) DROP COLUMN column_name(C). { A = createAlterTableDropCol(pCxt, B, TSDB_ALTER_TABLE_DROP_COLUMN, &C); } alter_table_clause(A) ::= - full_table_name(B) MODIFY COLUMN column_name(C) type_name(D). { A = createAlterTableAddModifyCol(pCxt, B, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &C, D); } + full_table_name(B) MODIFY COLUMN column_def(C). { A = createAlterTableAddModifyCol(pCxt, B, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, C); } alter_table_clause(A) ::= full_table_name(B) RENAME COLUMN column_name(C) column_name(D). { A = createAlterTableRenameCol(pCxt, B, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &C, &D); } alter_table_clause(A) ::= - full_table_name(B) ADD TAG column_name(C) type_name(D). { A = createAlterTableAddModifyCol(pCxt, B, TSDB_ALTER_TABLE_ADD_TAG, &C, D); } + full_table_name(B) ADD TAG column_def(C). { A = createAlterTableAddModifyCol(pCxt, B, TSDB_ALTER_TABLE_ADD_TAG, C); } alter_table_clause(A) ::= full_table_name(B) DROP TAG column_name(C). { A = createAlterTableDropCol(pCxt, B, TSDB_ALTER_TABLE_DROP_TAG, &C); } alter_table_clause(A) ::= - full_table_name(B) MODIFY TAG column_name(C) type_name(D). { A = createAlterTableAddModifyCol(pCxt, B, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &C, D); } + full_table_name(B) MODIFY TAG column_def(C). { A = createAlterTableAddModifyCol(pCxt, B, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, C); } alter_table_clause(A) ::= full_table_name(B) RENAME TAG column_name(C) column_name(D). { A = createAlterTableRenameCol(pCxt, B, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &C, &D); } alter_table_clause(A) ::= @@ -358,7 +358,7 @@ column_def_list(A) ::= column_def(B). column_def_list(A) ::= column_def_list(B) NK_COMMA column_def(C). { A = addNodeToList(pCxt, B, C); } column_def(A) ::= column_name(B) type_name(C). { A = createColumnDefNode(pCxt, &B, C, NULL); } -//column_def(A) ::= column_name(B) type_name(C) COMMENT NK_STRING(D). { A = createColumnDefNode(pCxt, &B, C, &D); } +column_def(A) ::= column_name(B) type_name(C) COMMENT NK_STRING(D). { A = createColumnDefNode(pCxt, &B, C, &D); } %type type_name { SDataType } %destructor type_name { } diff --git a/source/libs/parser/src/parAstCreater.c b/source/libs/parser/src/parAstCreater.c index e5c2b0708f..fa1e285c1d 100644 --- a/source/libs/parser/src/parAstCreater.c +++ b/source/libs/parser/src/parAstCreater.c @@ -1450,17 +1450,15 @@ SNode* createAlterTableModifyOptions(SAstCreateContext* pCxt, SNode* pRealTable, return createAlterTableStmtFinalize(pRealTable, pStmt); } -SNode* createAlterTableAddModifyCol(SAstCreateContext* pCxt, SNode* pRealTable, int8_t alterType, SToken* pColName, - SDataType dataType) { +SNode* createAlterTableAddModifyCol(SAstCreateContext* pCxt, SNode* pRealTable, int8_t alterType, SNode* pColDefNode) { CHECK_PARSER_STATUS(pCxt); - if (!checkColumnName(pCxt, pColName)) { - return NULL; - } + SColumnDefNode* pCol = (SColumnDefNode*)pColDefNode; SAlterTableStmt* pStmt = (SAlterTableStmt*)nodesMakeNode(QUERY_NODE_ALTER_TABLE_STMT); CHECK_OUT_OF_MEM(pStmt); pStmt->alterType = alterType; - COPY_STRING_FORM_ID_TOKEN(pStmt->colName, pColName); - pStmt->dataType = dataType; + strcpy(pStmt->colName, pCol->colName); + strcpy(pStmt->colComment, pCol->comments); + pStmt->dataType = pCol->dataType; return createAlterTableStmtFinalize(pRealTable, pStmt); } diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index efc6e56847..a2138392d2 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -4702,6 +4702,7 @@ static int32_t columnDefNodeToField(SNodeList* pList, SArray** pArray) { SColumnDefNode* pCol = (SColumnDefNode*)pNode; SField field = {.type = pCol->dataType.type, .bytes = calcTypeBytes(pCol->dataType)}; strcpy(field.name, pCol->colName); + strcpy(field.comment, pCol->comments); if (pCol->sma) { field.flags |= COL_SMA_ON; } @@ -5049,6 +5050,7 @@ static void toSchema(const SColumnDefNode* pCol, col_id_t colId, SSchema* pSchem pSchema->bytes = calcTypeBytes(pCol->dataType); pSchema->flags = flags; strcpy(pSchema->name, pCol->colName); + strcpy(pSchema->comment, pCol->comments); } typedef struct SSampleAstInfo { @@ -7697,6 +7699,10 @@ static int32_t extractDescribeResultSchema(int32_t* numOfCols, SSchema** pSchema (*pSchema)[3].bytes = DESCRIBE_RESULT_NOTE_LEN; strcpy((*pSchema)[3].name, "note"); + (*pSchema)[4].type = TSDB_DATA_TYPE_BINARY; + (*pSchema)[4].bytes = DESCRIBE_RESULT_COL_COMMENT_LEN; + strcpy((*pSchema)[4].name, "comment"); + return TSDB_CODE_SUCCESS; } @@ -8879,6 +8885,15 @@ static int32_t buildAddColReq(STranslateContext* pCxt, SAlterTableStmt* pStmt, S pReq->type = pStmt->dataType.type; pReq->flags = COL_SMA_ON; pReq->bytes = calcTypeBytes(pStmt->dataType); + if (pStmt->colComment[0]) { + pReq->colComment = taosStrdup(pStmt->colComment); + if (pReq->colComment == NULL) { + return TSDB_CODE_OUT_OF_MEMORY; + } + pReq->colCommentLen = strlen(pReq->colComment); + } else { + pReq->colCommentLen = -1; + } return TSDB_CODE_SUCCESS; } @@ -8929,6 +8944,15 @@ static int32_t buildUpdateColReq(STranslateContext* pCxt, SAlterTableStmt* pStmt return TSDB_CODE_OUT_OF_MEMORY; } pReq->colId = pSchema->colId; + if (pStmt->colComment[0]) { + pReq->colComment = taosStrdup(pStmt->colComment); + if (pReq->colComment == NULL) { + return TSDB_CODE_OUT_OF_MEMORY; + } + pReq->colCommentLen = strlen(pReq->colComment); + } else { + pReq->colCommentLen = -1; + } return TSDB_CODE_SUCCESS; } diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index 7f5cefd003..80ba0cc989 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -140,17 +140,17 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 801 -#define YYNRULE 602 -#define YYNRULE_WITH_ACTION 602 +#define YYNSTATE 799 +#define YYNRULE 603 +#define YYNRULE_WITH_ACTION 603 #define YYNTOKEN 339 -#define YY_MAX_SHIFT 800 -#define YY_MIN_SHIFTREDUCE 1182 -#define YY_MAX_SHIFTREDUCE 1783 -#define YY_ERROR_ACTION 1784 -#define YY_ACCEPT_ACTION 1785 -#define YY_NO_ACTION 1786 -#define YY_MIN_REDUCE 1787 +#define YY_MAX_SHIFT 798 +#define YY_MIN_SHIFTREDUCE 1180 +#define YY_MAX_SHIFTREDUCE 1782 +#define YY_ERROR_ACTION 1783 +#define YY_ACCEPT_ACTION 1784 +#define YY_NO_ACTION 1785 +#define YY_MIN_REDUCE 1786 #define YY_MAX_REDUCE 2388 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -218,599 +218,618 @@ typedef union { ** yy_default[] Default action for each state. ** *********** Begin parsing tables **********************************************/ -#define YY_ACTTAB_COUNT (2847) +#define YY_ACTTAB_COUNT (3035) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 2197, 535, 2175, 221, 536, 1823, 448, 538, 90, 1830, - /* 10 */ 708, 447, 48, 46, 1710, 454, 2183, 169, 2175, 1799, - /* 20 */ 402, 690, 1557, 41, 40, 372, 2179, 47, 45, 44, - /* 30 */ 43, 42, 1955, 1638, 1959, 1555, 38, 307, 2215, 2086, - /* 40 */ 41, 40, 2179, 2175, 47, 45, 44, 43, 42, 1810, - /* 50 */ 2165, 395, 707, 631, 2083, 678, 2359, 2184, 184, 2197, - /* 60 */ 349, 650, 1633, 2158, 2181, 399, 690, 2179, 19, 671, - /* 70 */ 2004, 396, 2365, 188, 701, 1563, 30, 2360, 657, 166, - /* 80 */ 2181, 1215, 656, 362, 1582, 2359, 2196, 1966, 2232, 2215, - /* 90 */ 701, 170, 2198, 711, 2200, 2201, 706, 2215, 701, 2165, - /* 100 */ 797, 655, 188, 15, 51, 2181, 2360, 657, 223, 2165, - /* 110 */ 631, 707, 538, 2359, 1830, 701, 48, 46, 2364, 540, - /* 120 */ 1217, 2359, 1220, 1221, 402, 537, 1557, 1667, 1809, 2365, - /* 130 */ 188, 1942, 632, 2324, 2360, 657, 1750, 1638, 2363, 1555, - /* 140 */ 1640, 1641, 2360, 2362, 649, 2196, 2048, 2232, 532, 51, - /* 150 */ 112, 2198, 711, 2200, 2201, 706, 530, 701, 2363, 526, - /* 160 */ 522, 1240, 185, 1239, 2285, 405, 1633, 62, 398, 2281, - /* 170 */ 1613, 1623, 19, 163, 66, 149, 1639, 1642, 2165, 1563, - /* 180 */ 384, 1966, 190, 543, 1668, 1788, 536, 1823, 2015, 660, - /* 190 */ 2313, 1558, 125, 1556, 1241, 124, 123, 122, 121, 120, - /* 200 */ 119, 118, 117, 116, 797, 2086, 125, 15, 2197, 124, - /* 210 */ 123, 122, 121, 120, 119, 118, 117, 116, 708, 1317, - /* 220 */ 2084, 678, 103, 1561, 1562, 1787, 1612, 1615, 1616, 1617, - /* 230 */ 1618, 1619, 1620, 1621, 1622, 703, 699, 1631, 1632, 1634, - /* 240 */ 1635, 1636, 1637, 2, 1640, 1641, 2215, 1957, 1583, 134, - /* 250 */ 133, 132, 131, 130, 129, 128, 127, 126, 2165, 1319, - /* 260 */ 707, 289, 37, 400, 1662, 1663, 1664, 1665, 1666, 1670, - /* 270 */ 1671, 1672, 1673, 62, 1613, 1623, 1328, 181, 41, 40, - /* 280 */ 1639, 1642, 47, 45, 44, 43, 42, 1223, 407, 1327, - /* 290 */ 1585, 2010, 2012, 1581, 2196, 1558, 2232, 1556, 2070, 112, - /* 300 */ 2198, 711, 2200, 2201, 706, 476, 701, 62, 168, 147, - /* 310 */ 677, 151, 2256, 2285, 475, 2197, 1905, 398, 2281, 47, - /* 320 */ 45, 44, 43, 42, 289, 671, 146, 1561, 1562, 2256, - /* 330 */ 1612, 1615, 1616, 1617, 1618, 1619, 1620, 1621, 1622, 703, - /* 340 */ 699, 1631, 1632, 1634, 1635, 1636, 1637, 2, 12, 48, - /* 350 */ 46, 1582, 646, 2215, 507, 458, 2065, 402, 166, 1557, - /* 360 */ 1941, 1373, 550, 1582, 2079, 2165, 1967, 707, 1408, 1409, - /* 370 */ 1638, 1240, 1555, 1239, 411, 410, 1364, 736, 735, 734, - /* 380 */ 1368, 733, 1370, 1371, 732, 729, 140, 1379, 726, 1381, - /* 390 */ 1382, 723, 720, 717, 446, 1940, 445, 1564, 498, 1633, - /* 400 */ 690, 2196, 202, 2232, 1241, 19, 112, 2198, 711, 2200, - /* 410 */ 2201, 706, 1563, 701, 593, 592, 591, 12, 185, 10, - /* 420 */ 2285, 583, 141, 587, 398, 2281, 444, 586, 661, 2197, - /* 430 */ 289, 1584, 585, 590, 378, 377, 659, 797, 584, 708, - /* 440 */ 15, 109, 266, 652, 647, 640, 2314, 676, 2364, 181, - /* 450 */ 2017, 2359, 677, 48, 46, 1643, 2017, 368, 145, 212, - /* 460 */ 211, 402, 746, 1557, 289, 2015, 1956, 2215, 2363, 370, - /* 470 */ 2069, 2016, 2360, 2361, 1638, 552, 1555, 1640, 1641, 2165, - /* 480 */ 62, 707, 497, 41, 40, 691, 1964, 47, 45, 44, - /* 490 */ 43, 42, 651, 744, 156, 155, 741, 740, 739, 153, - /* 500 */ 2197, 1466, 1467, 1633, 675, 193, 2079, 1613, 1623, 436, - /* 510 */ 708, 746, 1832, 1639, 1642, 2196, 1563, 2232, 668, 144, - /* 520 */ 113, 2198, 711, 2200, 2201, 706, 616, 701, 1558, 656, - /* 530 */ 1556, 52, 2359, 693, 2285, 2257, 438, 434, 2215, 2282, - /* 540 */ 1563, 797, 691, 1964, 49, 14, 13, 2197, 655, 188, - /* 550 */ 2165, 737, 707, 2360, 657, 1567, 1808, 708, 2300, 2321, - /* 560 */ 1561, 1562, 56, 1612, 1615, 1616, 1617, 1618, 1619, 1620, - /* 570 */ 1621, 1622, 703, 699, 1631, 1632, 1634, 1635, 1636, 1637, - /* 580 */ 2, 1640, 1641, 288, 2297, 2215, 2196, 607, 2232, 464, - /* 590 */ 2065, 112, 2198, 711, 2200, 2201, 706, 2165, 701, 707, - /* 600 */ 605, 598, 603, 2379, 207, 2285, 2165, 491, 2065, 398, - /* 610 */ 2281, 1613, 1623, 2017, 1785, 579, 608, 1639, 1642, 578, - /* 620 */ 383, 670, 186, 2293, 2294, 2300, 142, 2298, 2015, 54, - /* 630 */ 250, 3, 1558, 2196, 1556, 2232, 205, 289, 112, 2198, - /* 640 */ 711, 2200, 2201, 706, 86, 701, 601, 85, 1681, 677, - /* 650 */ 2379, 2296, 2285, 595, 210, 1714, 398, 2281, 1780, 249, - /* 660 */ 1648, 1582, 2186, 1738, 1561, 1562, 1582, 1612, 1615, 1616, - /* 670 */ 1617, 1618, 1619, 1620, 1621, 1622, 703, 699, 1631, 1632, - /* 680 */ 1634, 1635, 1636, 1637, 2, 48, 46, 417, 289, 691, - /* 690 */ 1964, 154, 416, 402, 1332, 1557, 2159, 2011, 2012, 70, - /* 700 */ 2197, 686, 69, 2079, 630, 1807, 1638, 1331, 1555, 452, - /* 710 */ 708, 643, 642, 1736, 1737, 1739, 1740, 1741, 2188, 41, - /* 720 */ 40, 2017, 9, 47, 45, 44, 43, 42, 392, 691, - /* 730 */ 1964, 2197, 2017, 2130, 631, 1633, 2015, 2359, 2215, 397, - /* 740 */ 695, 708, 2257, 631, 691, 1964, 2359, 2015, 1563, 135, - /* 750 */ 2165, 55, 707, 2365, 188, 2165, 575, 738, 2360, 657, - /* 760 */ 2008, 1779, 2365, 188, 135, 691, 1964, 2360, 657, 2215, - /* 770 */ 12, 580, 509, 797, 298, 299, 49, 253, 1274, 297, - /* 780 */ 1585, 2165, 254, 707, 1866, 453, 2196, 1939, 2232, 48, - /* 790 */ 46, 170, 2198, 711, 2200, 2201, 706, 402, 701, 1557, - /* 800 */ 41, 40, 2151, 1806, 47, 45, 44, 43, 42, 1583, - /* 810 */ 1638, 1614, 1555, 1640, 1641, 1749, 1614, 2196, 1275, 2232, - /* 820 */ 1243, 1244, 113, 2198, 711, 2200, 2201, 706, 60, 701, - /* 830 */ 668, 144, 2300, 2325, 154, 628, 2285, 691, 1964, 1633, - /* 840 */ 2284, 2281, 1805, 1613, 1623, 691, 1964, 1528, 1529, 1639, - /* 850 */ 1642, 424, 1563, 2165, 593, 592, 591, 466, 2295, 691, - /* 860 */ 1964, 583, 141, 587, 1558, 481, 1556, 586, 405, 44, - /* 870 */ 43, 42, 585, 590, 378, 377, 166, 797, 584, 482, - /* 880 */ 15, 2197, 41, 40, 1966, 756, 47, 45, 44, 43, - /* 890 */ 42, 708, 2165, 2334, 1523, 1804, 1561, 1562, 1953, 1612, - /* 900 */ 1615, 1616, 1617, 1618, 1619, 1620, 1621, 1622, 703, 699, - /* 910 */ 1631, 1632, 1634, 1635, 1636, 1637, 2, 1640, 1641, 2215, - /* 920 */ 744, 156, 155, 741, 740, 739, 153, 571, 570, 1483, - /* 930 */ 1484, 2165, 203, 707, 286, 2293, 667, 1803, 136, 666, - /* 940 */ 1949, 2359, 1701, 668, 144, 2165, 455, 1613, 1623, 1802, - /* 950 */ 1951, 691, 1964, 1639, 1642, 573, 572, 655, 188, 456, - /* 960 */ 691, 1964, 2360, 657, 165, 1482, 1485, 2196, 1558, 2232, - /* 970 */ 1556, 551, 112, 2198, 711, 2200, 2201, 706, 1726, 701, - /* 980 */ 1961, 1585, 34, 1707, 2379, 1947, 2285, 2165, 41, 40, - /* 990 */ 398, 2281, 47, 45, 44, 43, 42, 1220, 1221, 2165, - /* 1000 */ 1561, 1562, 1863, 1612, 1615, 1616, 1617, 1618, 1619, 1620, - /* 1010 */ 1621, 1622, 703, 699, 1631, 1632, 1634, 1635, 1636, 1637, - /* 1020 */ 2, 262, 353, 167, 1580, 691, 1964, 1801, 328, 589, - /* 1030 */ 588, 489, 668, 144, 505, 90, 252, 504, 742, 1669, - /* 1040 */ 251, 2008, 325, 73, 1968, 255, 72, 187, 2293, 2294, - /* 1050 */ 1798, 142, 2298, 472, 83, 506, 137, 350, 41, 40, - /* 1060 */ 474, 1960, 47, 45, 44, 43, 42, 259, 219, 517, - /* 1070 */ 515, 512, 774, 773, 772, 771, 414, 2165, 770, 769, - /* 1080 */ 148, 764, 763, 762, 761, 760, 759, 758, 158, 754, - /* 1090 */ 753, 752, 413, 412, 749, 748, 747, 176, 175, 1797, - /* 1100 */ 2165, 93, 691, 1964, 357, 237, 371, 382, 62, 609, - /* 1110 */ 768, 766, 702, 375, 1582, 691, 1964, 35, 460, 691, - /* 1120 */ 1964, 173, 263, 691, 1964, 691, 1964, 1674, 614, 569, - /* 1130 */ 565, 561, 557, 265, 236, 674, 189, 2293, 2294, 302, - /* 1140 */ 142, 2298, 2148, 688, 1906, 689, 581, 111, 502, 2165, - /* 1150 */ 1800, 496, 495, 494, 493, 488, 487, 486, 485, 484, - /* 1160 */ 480, 479, 478, 477, 352, 469, 468, 467, 1315, 462, - /* 1170 */ 461, 369, 1796, 321, 91, 631, 1994, 234, 2359, 1795, - /* 1180 */ 2305, 1701, 376, 1557, 374, 373, 283, 577, 81, 80, - /* 1190 */ 451, 2364, 2197, 200, 2365, 188, 1555, 74, 1794, 2360, - /* 1200 */ 657, 663, 708, 2017, 638, 1566, 443, 441, 1584, 579, - /* 1210 */ 406, 691, 1964, 578, 691, 1964, 743, 351, 2015, 2008, - /* 1220 */ 432, 582, 2165, 430, 426, 422, 419, 444, 1850, 2165, - /* 1230 */ 2215, 308, 1793, 2327, 409, 757, 1563, 242, 1926, 2197, - /* 1240 */ 240, 1706, 2165, 1313, 707, 233, 227, 84, 2165, 708, - /* 1250 */ 594, 2352, 232, 548, 698, 244, 36, 246, 243, 1841, - /* 1260 */ 245, 797, 41, 40, 1614, 289, 47, 45, 44, 43, - /* 1270 */ 42, 225, 248, 1792, 1839, 247, 1791, 2215, 2196, 1790, - /* 1280 */ 2232, 596, 2165, 112, 2198, 711, 2200, 2201, 706, 2165, - /* 1290 */ 701, 707, 1773, 411, 410, 2379, 599, 2285, 611, 1565, - /* 1300 */ 610, 398, 2281, 1571, 744, 156, 155, 741, 740, 739, - /* 1310 */ 153, 154, 2197, 50, 1638, 264, 1564, 50, 750, 270, - /* 1320 */ 672, 644, 708, 2165, 2304, 2196, 2165, 2232, 154, 2165, - /* 1330 */ 112, 2198, 711, 2200, 2201, 706, 277, 701, 1782, 1783, - /* 1340 */ 1293, 50, 2379, 1633, 2285, 2197, 14, 13, 398, 2281, - /* 1350 */ 2215, 295, 1558, 408, 1556, 708, 1563, 1904, 94, 431, - /* 1360 */ 288, 166, 2165, 1569, 707, 71, 108, 631, 152, 1966, - /* 1370 */ 2359, 1526, 154, 1735, 64, 50, 105, 1734, 139, 272, - /* 1380 */ 751, 697, 1903, 2215, 1561, 1562, 2365, 188, 673, 2216, - /* 1390 */ 415, 2360, 657, 50, 1833, 2165, 715, 707, 2196, 385, - /* 1400 */ 2232, 1480, 1291, 112, 2198, 711, 2200, 2201, 706, 1659, - /* 1410 */ 701, 300, 2074, 152, 1824, 2379, 154, 2285, 138, 152, - /* 1420 */ 1829, 398, 2281, 2005, 2317, 683, 669, 285, 304, 282, - /* 1430 */ 1, 2196, 1358, 2232, 1675, 1624, 112, 2198, 711, 2200, - /* 1440 */ 2201, 706, 664, 701, 792, 5, 418, 423, 2260, 2197, - /* 1450 */ 2285, 1588, 440, 320, 398, 2281, 1386, 1568, 366, 708, - /* 1460 */ 196, 439, 442, 195, 198, 1504, 315, 1581, 457, 209, - /* 1470 */ 459, 1585, 1572, 1390, 1567, 2075, 1397, 463, 1395, 157, - /* 1480 */ 465, 500, 470, 1580, 490, 483, 2067, 2215, 492, 499, - /* 1490 */ 501, 510, 511, 514, 508, 214, 2197, 513, 216, 2165, - /* 1500 */ 213, 707, 516, 518, 1575, 1577, 708, 1586, 533, 4, - /* 1510 */ 534, 541, 544, 224, 542, 1583, 545, 699, 1631, 1632, - /* 1520 */ 1634, 1635, 1636, 1637, 1587, 546, 1589, 547, 226, 229, - /* 1530 */ 549, 553, 2139, 231, 2215, 2196, 88, 2232, 89, 235, - /* 1540 */ 112, 2198, 711, 2200, 2201, 706, 2165, 701, 707, 574, - /* 1550 */ 114, 356, 2258, 613, 2285, 576, 92, 619, 398, 2281, - /* 1560 */ 2197, 1954, 615, 239, 1950, 241, 2136, 159, 316, 160, - /* 1570 */ 708, 1952, 1948, 161, 162, 256, 618, 620, 258, 150, - /* 1580 */ 260, 1511, 2196, 626, 2232, 2197, 645, 112, 2198, 711, - /* 1590 */ 2200, 2201, 706, 2135, 701, 708, 623, 8, 2215, 694, - /* 1600 */ 276, 2285, 2318, 635, 681, 398, 2281, 2333, 625, 624, - /* 1610 */ 2165, 2328, 707, 268, 2332, 641, 388, 271, 648, 654, - /* 1620 */ 636, 2307, 633, 2215, 389, 634, 281, 279, 174, 2382, - /* 1630 */ 1701, 278, 665, 662, 2197, 2165, 1584, 707, 143, 1704, - /* 1640 */ 178, 290, 1590, 98, 705, 2080, 2196, 2301, 2232, 317, - /* 1650 */ 679, 113, 2198, 711, 2200, 2201, 706, 680, 701, 318, - /* 1660 */ 191, 685, 280, 2094, 2093, 2285, 684, 100, 102, 696, - /* 1670 */ 2281, 709, 2215, 2232, 2092, 319, 113, 2198, 711, 2200, - /* 1680 */ 2201, 706, 394, 701, 2165, 2358, 707, 61, 1965, 2266, - /* 1690 */ 2285, 104, 713, 284, 361, 2281, 2009, 1927, 2197, 311, - /* 1700 */ 793, 322, 794, 796, 53, 326, 358, 331, 708, 359, - /* 1710 */ 2157, 2156, 346, 345, 324, 2155, 335, 78, 2152, 420, - /* 1720 */ 2196, 421, 2232, 1548, 617, 343, 2198, 711, 2200, 2201, - /* 1730 */ 706, 704, 701, 692, 2250, 1549, 2215, 194, 425, 2150, - /* 1740 */ 427, 428, 800, 429, 2149, 367, 2147, 433, 2165, 2146, - /* 1750 */ 707, 435, 2145, 1539, 437, 2126, 314, 197, 2125, 199, - /* 1760 */ 2197, 79, 1507, 1506, 2107, 2106, 2105, 449, 450, 2104, - /* 1770 */ 708, 2103, 180, 1457, 2058, 2057, 2054, 201, 2053, 82, - /* 1780 */ 790, 786, 782, 778, 2196, 312, 2232, 2052, 2051, 171, - /* 1790 */ 2198, 711, 2200, 2201, 706, 2056, 701, 2197, 2215, 2055, - /* 1800 */ 204, 2050, 2049, 386, 2047, 2046, 2045, 708, 206, 2044, - /* 1810 */ 2165, 473, 707, 1459, 471, 2060, 2043, 2042, 2041, 2040, - /* 1820 */ 2039, 2038, 2037, 2036, 2035, 110, 2034, 2033, 305, 2032, - /* 1830 */ 2031, 2030, 2029, 208, 2028, 2215, 87, 2027, 2026, 2025, - /* 1840 */ 387, 658, 2380, 2059, 2024, 2023, 2196, 2165, 2232, 707, - /* 1850 */ 2022, 344, 2198, 711, 2200, 2201, 706, 2021, 701, 2020, - /* 1860 */ 2197, 687, 1329, 503, 2019, 2018, 1869, 1868, 1333, 215, - /* 1870 */ 708, 1325, 217, 354, 1867, 1865, 355, 2197, 1862, 1861, - /* 1880 */ 521, 525, 519, 2196, 523, 2232, 1854, 708, 344, 2198, - /* 1890 */ 711, 2200, 2201, 706, 529, 701, 292, 218, 2215, 1843, - /* 1900 */ 520, 524, 528, 291, 527, 531, 1819, 76, 2185, 1222, - /* 1910 */ 2165, 1818, 707, 220, 2124, 2215, 182, 222, 2114, 77, - /* 1920 */ 183, 2102, 257, 539, 228, 230, 2101, 2165, 2078, 707, - /* 1930 */ 1943, 1864, 1267, 1860, 1858, 554, 555, 556, 558, 559, - /* 1940 */ 560, 1856, 562, 563, 564, 1853, 2196, 566, 2232, 2197, - /* 1950 */ 1838, 337, 2198, 711, 2200, 2201, 706, 567, 701, 708, - /* 1960 */ 1836, 568, 1837, 2196, 1835, 2232, 2197, 1815, 171, 2198, - /* 1970 */ 711, 2200, 2201, 706, 1945, 701, 705, 1402, 1401, 1944, - /* 1980 */ 765, 1316, 1314, 1312, 1311, 1851, 1310, 2215, 1309, 1308, - /* 1990 */ 1305, 1303, 393, 63, 238, 653, 2197, 379, 1304, 2165, - /* 2000 */ 1302, 707, 767, 1842, 2215, 380, 708, 1840, 597, 381, - /* 2010 */ 1814, 600, 1813, 2197, 606, 602, 2165, 604, 707, 1812, - /* 2020 */ 115, 2381, 29, 708, 1533, 1535, 1532, 1537, 2123, 1513, - /* 2030 */ 57, 1517, 67, 1515, 2215, 2196, 2113, 2232, 621, 401, - /* 2040 */ 344, 2198, 711, 2200, 2201, 706, 2165, 701, 707, 2100, - /* 2050 */ 164, 2215, 2196, 2099, 2232, 622, 403, 343, 2198, 711, - /* 2060 */ 2200, 2201, 706, 2165, 701, 707, 2251, 261, 1492, 627, - /* 2070 */ 629, 2364, 1752, 20, 1491, 2197, 17, 269, 6, 7, - /* 2080 */ 639, 31, 2196, 21, 2232, 708, 22, 344, 2198, 711, - /* 2090 */ 2200, 2201, 706, 2197, 701, 274, 267, 637, 172, 2196, - /* 2100 */ 273, 2232, 1733, 708, 344, 2198, 711, 2200, 2201, 706, - /* 2110 */ 1725, 701, 32, 2215, 275, 33, 2186, 1772, 95, 23, - /* 2120 */ 65, 1773, 24, 1767, 2197, 2165, 1766, 707, 390, 1698, - /* 2130 */ 1771, 2215, 1770, 391, 708, 2098, 1697, 287, 2077, 177, - /* 2140 */ 2197, 96, 97, 2165, 59, 707, 293, 18, 25, 296, - /* 2150 */ 708, 2076, 294, 105, 1731, 2197, 306, 301, 68, 682, - /* 2160 */ 99, 612, 2215, 2232, 101, 708, 339, 2198, 711, 2200, - /* 2170 */ 2201, 706, 303, 701, 2165, 58, 707, 26, 2215, 2196, - /* 2180 */ 1650, 2232, 11, 1649, 329, 2198, 711, 2200, 2201, 706, - /* 2190 */ 2165, 701, 707, 2215, 13, 1573, 179, 192, 1605, 2235, - /* 2200 */ 712, 714, 404, 718, 2197, 2165, 1628, 707, 700, 1660, - /* 2210 */ 2196, 1626, 2232, 39, 708, 327, 2198, 711, 2200, 2201, - /* 2220 */ 706, 16, 701, 1625, 1597, 27, 2196, 710, 2232, 28, - /* 2230 */ 2197, 330, 2198, 711, 2200, 2201, 706, 716, 701, 719, - /* 2240 */ 708, 2196, 2215, 2232, 1387, 1384, 336, 2198, 711, 2200, - /* 2250 */ 2201, 706, 1383, 701, 2165, 2197, 707, 721, 722, 724, - /* 2260 */ 1380, 725, 727, 1374, 728, 708, 1372, 730, 2215, 1378, - /* 2270 */ 1377, 1376, 731, 106, 309, 107, 1396, 1375, 75, 1392, - /* 2280 */ 2165, 1265, 707, 745, 1297, 1296, 1295, 1294, 1292, 1290, - /* 2290 */ 2196, 1289, 2232, 2215, 1288, 340, 2198, 711, 2200, 2201, - /* 2300 */ 706, 1323, 701, 755, 310, 2165, 1286, 707, 1285, 1284, - /* 2310 */ 1283, 1282, 1281, 1280, 1320, 1318, 2196, 1277, 2232, 2197, - /* 2320 */ 1276, 332, 2198, 711, 2200, 2201, 706, 1273, 701, 708, - /* 2330 */ 2197, 1272, 1271, 1270, 1859, 775, 776, 1857, 777, 779, - /* 2340 */ 708, 2196, 781, 2232, 780, 1855, 341, 2198, 711, 2200, - /* 2350 */ 2201, 706, 785, 701, 783, 784, 2197, 2215, 1852, 787, - /* 2360 */ 788, 789, 1834, 791, 1212, 1811, 708, 795, 2215, 2165, - /* 2370 */ 313, 707, 1559, 323, 798, 799, 1786, 1786, 1786, 1786, - /* 2380 */ 2165, 1786, 707, 1786, 1786, 1786, 1786, 1786, 1786, 2197, - /* 2390 */ 1786, 1786, 1786, 1786, 2215, 1786, 1786, 1786, 1786, 708, - /* 2400 */ 1786, 1786, 1786, 1786, 1786, 2196, 2165, 2232, 707, 1786, - /* 2410 */ 333, 2198, 711, 2200, 2201, 706, 2196, 701, 2232, 1786, - /* 2420 */ 1786, 342, 2198, 711, 2200, 2201, 706, 2215, 701, 1786, - /* 2430 */ 1786, 1786, 1786, 1786, 1786, 1786, 2197, 1786, 1786, 2165, - /* 2440 */ 1786, 707, 2196, 1786, 2232, 1786, 708, 334, 2198, 711, - /* 2450 */ 2200, 2201, 706, 1786, 701, 1786, 2197, 1786, 1786, 1786, - /* 2460 */ 1786, 1786, 1786, 1786, 1786, 1786, 708, 1786, 1786, 1786, - /* 2470 */ 1786, 1786, 1786, 1786, 2215, 2196, 1786, 2232, 1786, 1786, - /* 2480 */ 347, 2198, 711, 2200, 2201, 706, 2165, 701, 707, 1786, - /* 2490 */ 1786, 1786, 1786, 1786, 2215, 1786, 1786, 1786, 1786, 1786, - /* 2500 */ 1786, 1786, 1786, 1786, 1786, 2197, 2165, 1786, 707, 1786, - /* 2510 */ 1786, 1786, 1786, 1786, 1786, 708, 1786, 1786, 1786, 1786, - /* 2520 */ 1786, 1786, 2196, 1786, 2232, 1786, 1786, 348, 2198, 711, - /* 2530 */ 2200, 2201, 706, 1786, 701, 2197, 1786, 1786, 1786, 1786, - /* 2540 */ 1786, 1786, 2196, 2215, 2232, 708, 1786, 2209, 2198, 711, - /* 2550 */ 2200, 2201, 706, 1786, 701, 2165, 1786, 707, 1786, 1786, - /* 2560 */ 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, - /* 2570 */ 1786, 1786, 1786, 2215, 1786, 1786, 1786, 1786, 1786, 1786, - /* 2580 */ 1786, 1786, 1786, 1786, 2197, 2165, 1786, 707, 1786, 1786, - /* 2590 */ 1786, 2196, 1786, 2232, 708, 1786, 2208, 2198, 711, 2200, - /* 2600 */ 2201, 706, 1786, 701, 1786, 1786, 1786, 1786, 2197, 1786, - /* 2610 */ 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 708, 1786, - /* 2620 */ 1786, 2196, 2215, 2232, 1786, 1786, 2207, 2198, 711, 2200, - /* 2630 */ 2201, 706, 1786, 701, 2165, 2197, 707, 1786, 1786, 1786, - /* 2640 */ 1786, 1786, 1786, 1786, 1786, 708, 2215, 1786, 1786, 1786, - /* 2650 */ 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 2165, 2197, - /* 2660 */ 707, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 708, - /* 2670 */ 2196, 1786, 2232, 2215, 1786, 363, 2198, 711, 2200, 2201, - /* 2680 */ 706, 1786, 701, 1786, 1786, 2165, 1786, 707, 1786, 1786, - /* 2690 */ 1786, 1786, 1786, 1786, 2196, 1786, 2232, 2215, 1786, 364, - /* 2700 */ 2198, 711, 2200, 2201, 706, 1786, 701, 1786, 1786, 2165, - /* 2710 */ 1786, 707, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, - /* 2720 */ 1786, 2196, 1786, 2232, 1786, 2197, 360, 2198, 711, 2200, - /* 2730 */ 2201, 706, 1786, 701, 1786, 708, 1786, 1786, 1786, 1786, - /* 2740 */ 1786, 1786, 1786, 1786, 1786, 2196, 1786, 2232, 2197, 1786, - /* 2750 */ 365, 2198, 711, 2200, 2201, 706, 1786, 701, 708, 1786, - /* 2760 */ 1786, 1786, 1786, 2215, 1786, 1786, 1786, 1786, 1786, 1786, - /* 2770 */ 1786, 1786, 1786, 1786, 1786, 2165, 1786, 707, 1786, 1786, - /* 2780 */ 1786, 1786, 1786, 1786, 1786, 1786, 2215, 1786, 1786, 1786, - /* 2790 */ 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 2165, 1786, - /* 2800 */ 707, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, 1786, - /* 2810 */ 1786, 709, 1786, 2232, 1786, 1786, 339, 2198, 711, 2200, - /* 2820 */ 2201, 706, 1786, 701, 1786, 1786, 1786, 1786, 1786, 1786, - /* 2830 */ 1786, 1786, 1786, 1786, 2196, 1786, 2232, 1786, 1786, 338, - /* 2840 */ 2198, 711, 2200, 2201, 706, 1786, 701, + /* 0 */ 734, 2197, 2175, 531, 2017, 2158, 532, 1822, 90, 450, + /* 10 */ 364, 704, 48, 46, 1709, 169, 2183, 1798, 2015, 181, + /* 20 */ 398, 2086, 1556, 41, 40, 368, 2179, 47, 45, 44, + /* 30 */ 43, 42, 66, 1637, 1958, 1554, 2084, 674, 366, 2069, + /* 40 */ 2215, 2130, 41, 40, 1315, 2086, 47, 45, 44, 43, + /* 50 */ 42, 2165, 627, 703, 345, 2359, 2175, 391, 401, 2197, + /* 60 */ 2083, 674, 1632, 686, 2181, 395, 1965, 163, 19, 667, + /* 70 */ 1954, 2365, 188, 380, 697, 1562, 2360, 653, 30, 2300, + /* 80 */ 2179, 2015, 652, 358, 1317, 2359, 1581, 2196, 2364, 2232, + /* 90 */ 250, 2359, 170, 2198, 707, 2200, 2201, 702, 2215, 697, + /* 100 */ 795, 651, 188, 15, 536, 2297, 2360, 653, 2363, 2165, + /* 110 */ 533, 703, 2360, 2362, 38, 303, 48, 46, 2181, 47, + /* 120 */ 45, 44, 43, 42, 398, 686, 1556, 1666, 697, 687, + /* 130 */ 1963, 62, 62, 628, 2324, 407, 406, 1637, 1749, 1554, + /* 140 */ 1639, 1640, 1581, 207, 1941, 2196, 51, 2232, 103, 135, + /* 150 */ 112, 2198, 707, 2200, 2201, 702, 571, 697, 1563, 221, + /* 160 */ 687, 1963, 185, 534, 2285, 1829, 1632, 673, 394, 2281, + /* 170 */ 1612, 1622, 19, 1956, 687, 1963, 1638, 1641, 548, 1562, + /* 180 */ 135, 168, 190, 86, 1667, 1787, 85, 576, 149, 1904, + /* 190 */ 2313, 1557, 125, 1555, 193, 124, 123, 122, 121, 120, + /* 200 */ 119, 118, 117, 116, 795, 2048, 125, 15, 2197, 124, + /* 210 */ 123, 122, 121, 120, 119, 118, 117, 116, 704, 546, + /* 220 */ 689, 2079, 2257, 1560, 1561, 1786, 1611, 1614, 1615, 1616, + /* 230 */ 1617, 1618, 1619, 1620, 1621, 699, 695, 1630, 1631, 1633, + /* 240 */ 1634, 1635, 1636, 2, 1639, 1640, 1326, 2215, 1582, 134, + /* 250 */ 133, 132, 131, 130, 129, 128, 127, 126, 2165, 1325, + /* 260 */ 703, 744, 37, 396, 1661, 1662, 1663, 1664, 1665, 1669, + /* 270 */ 1670, 1671, 1672, 539, 1612, 1622, 532, 1822, 41, 40, + /* 280 */ 1638, 1641, 47, 45, 44, 43, 42, 248, 285, 285, + /* 290 */ 1584, 247, 1465, 1466, 2196, 1557, 2232, 1555, 184, 112, + /* 300 */ 2198, 707, 2200, 2201, 702, 642, 697, 2151, 1713, 147, + /* 310 */ 2004, 155, 2256, 2285, 1581, 2197, 1566, 394, 2281, 403, + /* 320 */ 694, 1809, 2010, 2012, 503, 667, 146, 1560, 1561, 2256, + /* 330 */ 1611, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 1621, 699, + /* 340 */ 695, 1630, 1631, 1633, 1634, 1635, 1636, 2, 12, 48, + /* 350 */ 46, 691, 93, 2257, 2215, 353, 420, 398, 378, 1556, + /* 360 */ 605, 1372, 664, 144, 472, 2165, 672, 703, 1407, 1408, + /* 370 */ 1637, 2165, 1554, 471, 673, 664, 144, 1363, 732, 731, + /* 380 */ 730, 1367, 729, 1369, 1370, 728, 725, 2364, 1378, 722, + /* 390 */ 1380, 1381, 719, 716, 713, 9, 648, 643, 636, 1632, + /* 400 */ 647, 2196, 646, 2232, 1583, 19, 112, 2198, 707, 2200, + /* 410 */ 2201, 702, 1562, 697, 589, 588, 587, 1213, 185, 181, + /* 420 */ 2285, 579, 141, 583, 394, 2281, 671, 582, 2079, 664, + /* 430 */ 144, 2215, 581, 586, 374, 373, 2363, 795, 580, 2070, + /* 440 */ 15, 1737, 262, 494, 41, 40, 2314, 603, 47, 45, + /* 450 */ 44, 43, 42, 48, 46, 1642, 1215, 594, 1218, 1219, + /* 460 */ 601, 398, 599, 1556, 1613, 666, 186, 2293, 2294, 1668, + /* 470 */ 142, 2298, 604, 626, 1637, 1658, 1554, 1639, 1640, 187, + /* 480 */ 2293, 2294, 444, 142, 2298, 645, 246, 443, 1772, 639, + /* 490 */ 638, 1735, 1736, 1738, 1739, 1740, 1808, 687, 1963, 612, + /* 500 */ 2197, 686, 597, 1632, 212, 211, 52, 1612, 1622, 591, + /* 510 */ 704, 12, 1831, 1638, 1641, 245, 1562, 56, 41, 40, + /* 520 */ 664, 144, 47, 45, 44, 43, 42, 493, 1557, 627, + /* 530 */ 1555, 673, 2359, 189, 2293, 2294, 1562, 142, 2298, 2215, + /* 540 */ 1581, 795, 687, 1963, 49, 2017, 2165, 35, 2365, 188, + /* 550 */ 2165, 379, 703, 2360, 653, 70, 284, 1673, 69, 2015, + /* 560 */ 1560, 1561, 448, 1611, 1614, 1615, 1616, 1617, 1618, 1619, + /* 570 */ 1620, 1621, 699, 695, 1630, 1631, 1633, 1634, 1635, 1636, + /* 580 */ 2, 1639, 1640, 682, 51, 2079, 2196, 1238, 2232, 1237, + /* 590 */ 735, 112, 2198, 707, 2200, 2201, 702, 60, 697, 44, + /* 600 */ 43, 42, 140, 2379, 624, 2285, 2197, 687, 1963, 394, + /* 610 */ 2281, 1612, 1622, 392, 1748, 1700, 704, 1638, 1641, 1779, + /* 620 */ 1239, 1965, 166, 62, 282, 2293, 663, 449, 136, 662, + /* 630 */ 2017, 2359, 1557, 432, 1555, 41, 40, 1706, 528, 47, + /* 640 */ 45, 44, 43, 42, 2016, 2215, 526, 651, 188, 522, + /* 650 */ 518, 223, 2360, 653, 371, 534, 2165, 1829, 703, 1583, + /* 660 */ 434, 430, 1807, 285, 1560, 1561, 754, 1611, 1614, 1615, + /* 670 */ 1616, 1617, 1618, 1619, 1620, 1621, 699, 695, 1630, 1631, + /* 680 */ 1633, 1634, 1635, 1636, 2, 48, 46, 454, 2065, 255, + /* 690 */ 62, 2300, 2196, 398, 2232, 1556, 698, 112, 2198, 707, + /* 700 */ 2200, 2201, 702, 258, 697, 1330, 1637, 1799, 1554, 2260, + /* 710 */ 2197, 2285, 2165, 237, 655, 394, 2281, 2296, 1329, 2175, + /* 720 */ 704, 1806, 1778, 372, 1805, 370, 369, 736, 573, 173, + /* 730 */ 2008, 1725, 575, 2184, 202, 1632, 2197, 565, 561, 557, + /* 740 */ 553, 285, 236, 2179, 742, 1784, 704, 2017, 1562, 2215, + /* 750 */ 575, 41, 40, 388, 574, 47, 45, 44, 43, 42, + /* 760 */ 2165, 2015, 703, 160, 159, 739, 738, 737, 157, 460, + /* 770 */ 2065, 2165, 574, 795, 2165, 2215, 49, 442, 2017, 441, + /* 780 */ 285, 2181, 91, 505, 393, 234, 2165, 640, 703, 48, + /* 790 */ 46, 697, 2015, 487, 2065, 2327, 2196, 398, 2232, 1556, + /* 800 */ 1584, 113, 2198, 707, 2200, 2201, 702, 2300, 697, 440, + /* 810 */ 1637, 284, 1554, 1639, 1640, 2285, 205, 401, 413, 2284, + /* 820 */ 2281, 1940, 2196, 412, 2232, 1965, 166, 113, 2198, 707, + /* 830 */ 2200, 2201, 702, 2295, 697, 687, 1963, 2011, 2012, 1632, + /* 840 */ 210, 2285, 1582, 1612, 1622, 692, 2281, 285, 1804, 1638, + /* 850 */ 1641, 1865, 1562, 233, 227, 462, 687, 1963, 14, 13, + /* 860 */ 232, 544, 687, 1963, 1557, 627, 1555, 652, 2359, 2017, + /* 870 */ 2359, 1241, 1242, 687, 1963, 402, 477, 795, 740, 225, + /* 880 */ 15, 2008, 478, 2015, 2365, 188, 651, 188, 1647, 2360, + /* 890 */ 653, 2360, 653, 547, 1581, 1705, 1560, 1561, 2165, 1611, + /* 900 */ 1614, 1615, 1616, 1617, 1618, 1619, 1620, 1621, 699, 695, + /* 910 */ 1630, 1631, 1633, 1634, 1635, 1636, 2, 1639, 1640, 567, + /* 920 */ 566, 589, 588, 587, 687, 1963, 687, 1963, 579, 141, + /* 930 */ 583, 687, 1963, 12, 582, 10, 742, 569, 568, 581, + /* 940 */ 586, 374, 373, 1905, 1960, 580, 251, 1612, 1622, 585, + /* 950 */ 584, 259, 203, 1638, 1641, 160, 159, 739, 738, 737, + /* 960 */ 157, 1680, 1482, 1483, 294, 295, 404, 279, 1557, 293, + /* 970 */ 1555, 687, 1963, 34, 1965, 166, 139, 687, 1963, 41, + /* 980 */ 40, 1939, 36, 47, 45, 44, 43, 42, 41, 40, + /* 990 */ 1938, 670, 47, 45, 44, 43, 42, 298, 1481, 1484, + /* 1000 */ 1560, 1561, 1862, 1611, 1614, 1615, 1616, 1617, 1618, 1619, + /* 1010 */ 1620, 1621, 699, 695, 1630, 1631, 1633, 1634, 1635, 1636, + /* 1020 */ 2, 2148, 349, 167, 1579, 687, 1963, 2364, 324, 249, + /* 1030 */ 2359, 485, 656, 1238, 501, 1237, 90, 500, 687, 1963, + /* 1040 */ 766, 764, 321, 73, 1613, 684, 72, 2363, 744, 1952, + /* 1050 */ 166, 2360, 2361, 468, 1803, 502, 1584, 346, 685, 1802, + /* 1060 */ 470, 54, 1959, 3, 1801, 1581, 1239, 1800, 219, 513, + /* 1070 */ 511, 508, 772, 771, 770, 769, 410, 273, 768, 767, + /* 1080 */ 148, 762, 761, 760, 759, 758, 757, 756, 162, 752, + /* 1090 */ 751, 750, 409, 408, 747, 746, 745, 176, 175, 1527, + /* 1100 */ 1528, 1218, 1219, 1903, 2165, 742, 367, 1902, 62, 2165, + /* 1110 */ 687, 1963, 687, 1963, 2165, 41, 40, 2165, 456, 47, + /* 1120 */ 45, 44, 43, 42, 160, 159, 739, 738, 737, 157, + /* 1130 */ 304, 1556, 405, 2159, 1948, 166, 1797, 1796, 1950, 166, + /* 1140 */ 659, 1795, 1946, 166, 1554, 2216, 1794, 111, 498, 1966, + /* 1150 */ 166, 492, 491, 490, 489, 484, 483, 482, 481, 480, + /* 1160 */ 476, 475, 474, 473, 348, 465, 464, 463, 1793, 458, + /* 1170 */ 457, 365, 755, 741, 381, 1925, 2008, 158, 1792, 1791, + /* 1180 */ 627, 2074, 2197, 2359, 1562, 109, 2165, 2165, 81, 80, + /* 1190 */ 447, 2165, 704, 200, 2321, 610, 2165, 1221, 1790, 2365, + /* 1200 */ 188, 1789, 145, 1580, 2360, 653, 439, 437, 261, 795, + /* 1210 */ 1955, 317, 2305, 1700, 1994, 1613, 411, 347, 2165, 74, + /* 1220 */ 428, 2215, 451, 426, 422, 418, 415, 440, 2165, 2165, + /* 1230 */ 1849, 83, 2165, 137, 703, 452, 242, 55, 427, 240, + /* 1240 */ 1565, 151, 627, 2197, 150, 2359, 244, 668, 2165, 243, + /* 1250 */ 577, 2165, 590, 704, 153, 2334, 607, 152, 606, 578, + /* 1260 */ 158, 2365, 188, 1823, 158, 285, 2360, 653, 2196, 84, + /* 1270 */ 2232, 657, 1313, 112, 2198, 707, 2200, 2201, 702, 165, + /* 1280 */ 697, 1311, 2215, 1840, 1838, 2379, 1564, 2285, 1272, 50, + /* 1290 */ 1832, 394, 2281, 2165, 627, 703, 50, 2359, 266, 158, + /* 1300 */ 1557, 260, 1555, 1781, 1782, 592, 595, 50, 2186, 291, + /* 1310 */ 71, 2197, 156, 2365, 188, 158, 14, 13, 2360, 653, + /* 1320 */ 1522, 704, 64, 634, 1525, 50, 1828, 2005, 1273, 2196, + /* 1330 */ 50, 2232, 1560, 1561, 112, 2198, 707, 2200, 2201, 702, + /* 1340 */ 790, 697, 2317, 665, 94, 281, 2379, 278, 2285, 1734, + /* 1350 */ 2215, 711, 394, 2281, 1, 156, 1733, 158, 268, 669, + /* 1360 */ 5, 2165, 138, 703, 2188, 156, 748, 1479, 414, 296, + /* 1370 */ 679, 749, 300, 108, 2197, 1356, 419, 362, 436, 1587, + /* 1380 */ 435, 660, 1674, 105, 704, 1623, 2352, 195, 1291, 196, + /* 1390 */ 316, 198, 438, 1289, 311, 1503, 1580, 2196, 1568, 2232, + /* 1400 */ 2197, 1584, 112, 2198, 707, 2200, 2201, 702, 209, 697, + /* 1410 */ 704, 1385, 2304, 2215, 2379, 1389, 2285, 1396, 453, 455, + /* 1420 */ 394, 2281, 1394, 459, 2165, 161, 703, 2075, 496, 461, + /* 1430 */ 466, 1579, 479, 488, 486, 2197, 2067, 495, 497, 2215, + /* 1440 */ 506, 507, 504, 213, 1567, 704, 214, 509, 510, 216, + /* 1450 */ 2165, 512, 703, 514, 1585, 529, 4, 537, 530, 540, + /* 1460 */ 2196, 224, 2232, 538, 1582, 112, 2198, 707, 2200, 2201, + /* 1470 */ 702, 1586, 697, 541, 2215, 542, 226, 2379, 1588, 2285, + /* 1480 */ 229, 543, 549, 394, 2281, 2165, 2196, 703, 2232, 545, + /* 1490 */ 231, 112, 2198, 707, 2200, 2201, 702, 88, 697, 570, + /* 1500 */ 89, 407, 406, 2379, 2197, 2285, 235, 572, 1953, 394, + /* 1510 */ 2281, 1570, 114, 239, 704, 352, 1949, 2139, 609, 241, + /* 1520 */ 2136, 2196, 1637, 2232, 1563, 1951, 112, 2198, 707, 2200, + /* 1530 */ 2201, 702, 2197, 697, 1947, 2135, 92, 252, 2258, 616, + /* 1540 */ 2285, 154, 704, 2215, 394, 2281, 312, 611, 615, 256, + /* 1550 */ 614, 1632, 619, 622, 2165, 1510, 703, 631, 621, 2318, + /* 1560 */ 2333, 254, 2328, 641, 1562, 677, 264, 2197, 620, 637, + /* 1570 */ 384, 2215, 2332, 267, 644, 8, 2307, 701, 650, 272, + /* 1580 */ 632, 174, 2165, 630, 703, 277, 629, 274, 385, 693, + /* 1590 */ 2196, 1700, 2232, 661, 2382, 112, 2198, 707, 2200, 2201, + /* 1600 */ 702, 658, 697, 1583, 1589, 2358, 2215, 690, 276, 2285, + /* 1610 */ 143, 1703, 2301, 394, 2281, 275, 2080, 2165, 705, 703, + /* 1620 */ 2232, 313, 178, 113, 2198, 707, 2200, 2201, 702, 314, + /* 1630 */ 697, 280, 191, 286, 98, 675, 676, 2285, 680, 2094, + /* 1640 */ 2093, 357, 2281, 100, 681, 102, 1964, 61, 2092, 390, + /* 1650 */ 315, 2266, 104, 2196, 2009, 2232, 709, 318, 339, 2198, + /* 1660 */ 707, 2200, 2201, 702, 700, 697, 688, 2250, 1926, 791, + /* 1670 */ 307, 792, 794, 342, 322, 354, 53, 327, 2157, 341, + /* 1680 */ 1571, 355, 1566, 320, 2197, 2156, 2155, 78, 331, 2152, + /* 1690 */ 416, 417, 1547, 1548, 704, 194, 421, 2150, 423, 424, + /* 1700 */ 425, 2149, 363, 2147, 2197, 429, 2146, 2145, 433, 431, + /* 1710 */ 1538, 2126, 1574, 1576, 704, 197, 2125, 199, 1506, 79, + /* 1720 */ 1505, 2107, 2106, 2215, 2105, 695, 1630, 1631, 1633, 1634, + /* 1730 */ 1635, 1636, 445, 446, 2165, 2104, 703, 2103, 1456, 2058, + /* 1740 */ 2057, 2054, 201, 2215, 2053, 2052, 82, 2051, 2056, 204, + /* 1750 */ 2055, 2050, 2049, 2047, 2165, 2197, 703, 2046, 2045, 206, + /* 1760 */ 467, 2044, 469, 2060, 2043, 704, 2042, 2041, 2040, 2039, + /* 1770 */ 2196, 2038, 2232, 2037, 2036, 171, 2198, 707, 2200, 2201, + /* 1780 */ 702, 2035, 697, 2034, 2033, 2032, 2031, 2030, 2029, 208, + /* 1790 */ 2196, 2028, 2232, 2027, 2215, 113, 2198, 707, 2200, 2201, + /* 1800 */ 702, 87, 697, 2026, 2025, 2165, 182, 703, 2059, 2285, + /* 1810 */ 2024, 2023, 1458, 2197, 2282, 2022, 2021, 2020, 499, 2019, + /* 1820 */ 2018, 1327, 1331, 704, 350, 351, 1868, 654, 2380, 2197, + /* 1830 */ 1323, 1867, 215, 1866, 217, 1864, 1861, 218, 516, 704, + /* 1840 */ 515, 2196, 1860, 2232, 2197, 520, 170, 2198, 707, 2200, + /* 1850 */ 2201, 702, 2215, 697, 704, 1853, 382, 517, 519, 1842, + /* 1860 */ 521, 524, 523, 2165, 2197, 703, 1818, 525, 2215, 527, + /* 1870 */ 1220, 220, 383, 1817, 704, 2124, 76, 2185, 2114, 2165, + /* 1880 */ 222, 703, 77, 2215, 2102, 183, 535, 228, 2325, 2101, + /* 1890 */ 230, 2078, 1942, 1863, 2165, 550, 703, 1859, 551, 2196, + /* 1900 */ 552, 2232, 1857, 2215, 340, 2198, 707, 2200, 2201, 702, + /* 1910 */ 1265, 697, 554, 555, 2165, 2196, 703, 2232, 556, 1855, + /* 1920 */ 340, 2198, 707, 2200, 2201, 702, 560, 697, 1852, 558, + /* 1930 */ 2196, 559, 2232, 2197, 562, 333, 2198, 707, 2200, 2201, + /* 1940 */ 702, 1837, 697, 704, 564, 563, 1835, 1836, 1834, 1814, + /* 1950 */ 2196, 1944, 2232, 1401, 238, 171, 2198, 707, 2200, 2201, + /* 1960 */ 702, 2197, 697, 63, 1400, 1943, 1314, 1312, 1310, 1309, + /* 1970 */ 1308, 701, 2215, 1307, 1306, 1303, 389, 1301, 1302, 649, + /* 1980 */ 763, 765, 1850, 2165, 375, 703, 1841, 1300, 376, 1839, + /* 1990 */ 377, 596, 1813, 598, 1812, 593, 2197, 1811, 600, 602, + /* 2000 */ 2215, 115, 1532, 29, 1534, 1531, 704, 1536, 2381, 2123, + /* 2010 */ 67, 2165, 1516, 703, 1512, 1514, 2113, 57, 617, 2196, + /* 2020 */ 2100, 2232, 618, 2197, 340, 2198, 707, 2200, 2201, 702, + /* 2030 */ 623, 697, 257, 704, 2099, 2215, 2364, 1491, 6, 397, + /* 2040 */ 164, 1490, 20, 17, 635, 625, 2165, 2196, 703, 2232, + /* 2050 */ 7, 633, 339, 2198, 707, 2200, 2201, 702, 1751, 697, + /* 2060 */ 31, 2251, 2215, 263, 271, 265, 399, 21, 22, 270, + /* 2070 */ 33, 65, 23, 2165, 172, 703, 2186, 1732, 269, 32, + /* 2080 */ 24, 95, 2196, 1766, 2232, 1765, 386, 340, 2198, 707, + /* 2090 */ 2200, 2201, 702, 1770, 697, 1724, 1769, 2197, 387, 1771, + /* 2100 */ 283, 59, 177, 1772, 1697, 1696, 2098, 704, 2077, 2196, + /* 2110 */ 96, 2232, 18, 613, 340, 2198, 707, 2200, 2201, 702, + /* 2120 */ 58, 697, 97, 289, 25, 2076, 290, 105, 99, 302, + /* 2130 */ 292, 798, 1730, 11, 297, 68, 2215, 26, 101, 678, + /* 2140 */ 1649, 1648, 13, 1572, 2235, 310, 1659, 2165, 2197, 703, + /* 2150 */ 1627, 1625, 696, 299, 179, 39, 192, 16, 704, 1604, + /* 2160 */ 1624, 180, 27, 710, 1596, 400, 2197, 28, 714, 788, + /* 2170 */ 784, 780, 776, 1386, 308, 712, 704, 1383, 715, 708, + /* 2180 */ 717, 1382, 718, 608, 706, 2232, 720, 2215, 335, 2198, + /* 2190 */ 707, 2200, 2201, 702, 1379, 697, 1373, 721, 2165, 723, + /* 2200 */ 703, 724, 726, 1371, 727, 2215, 1377, 1376, 1362, 305, + /* 2210 */ 1375, 1374, 733, 106, 110, 1395, 2165, 301, 703, 107, + /* 2220 */ 75, 1391, 1263, 743, 1295, 1294, 1293, 1292, 1290, 1288, + /* 2230 */ 1287, 1286, 1321, 753, 2196, 1284, 2232, 2197, 1283, 325, + /* 2240 */ 2198, 707, 2200, 2201, 702, 306, 697, 704, 1282, 1281, + /* 2250 */ 683, 1280, 2196, 1279, 2232, 1278, 1318, 323, 2198, 707, + /* 2260 */ 2200, 2201, 702, 2197, 697, 1316, 1275, 1274, 1271, 1270, + /* 2270 */ 1269, 1268, 1858, 704, 773, 774, 2215, 775, 1856, 777, + /* 2280 */ 779, 1854, 781, 1851, 778, 288, 782, 2165, 783, 703, + /* 2290 */ 785, 786, 287, 787, 1833, 2197, 789, 1210, 1810, 1785, + /* 2300 */ 797, 309, 2215, 793, 1785, 704, 1558, 319, 796, 1785, + /* 2310 */ 1785, 253, 1785, 2165, 2197, 703, 1785, 1785, 1785, 1785, + /* 2320 */ 1785, 1785, 1785, 2196, 704, 2232, 1785, 1785, 326, 2198, + /* 2330 */ 707, 2200, 2201, 702, 2215, 697, 1785, 1785, 1785, 1785, + /* 2340 */ 1785, 1785, 1785, 1785, 1785, 2165, 1785, 703, 1785, 2196, + /* 2350 */ 1785, 2232, 1785, 2215, 332, 2198, 707, 2200, 2201, 702, + /* 2360 */ 1785, 697, 1785, 1785, 2165, 1785, 703, 1785, 1785, 1785, + /* 2370 */ 1785, 1785, 2197, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2380 */ 1785, 2196, 704, 2232, 1785, 1785, 336, 2198, 707, 2200, + /* 2390 */ 2201, 702, 1785, 697, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2400 */ 2196, 1785, 2232, 1785, 2197, 328, 2198, 707, 2200, 2201, + /* 2410 */ 702, 2215, 697, 1785, 704, 1785, 1785, 1785, 1785, 1785, + /* 2420 */ 1785, 1785, 2165, 1785, 703, 1785, 1785, 1785, 1785, 1785, + /* 2430 */ 2197, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2440 */ 704, 1785, 1785, 2215, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2450 */ 1785, 1785, 1785, 1785, 2165, 1785, 703, 1785, 2196, 1785, + /* 2460 */ 2232, 1785, 2197, 337, 2198, 707, 2200, 2201, 702, 2215, + /* 2470 */ 697, 1785, 704, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2480 */ 2165, 1785, 703, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2490 */ 2196, 1785, 2232, 1785, 1785, 329, 2198, 707, 2200, 2201, + /* 2500 */ 702, 2215, 697, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2510 */ 1785, 1785, 2165, 1785, 703, 1785, 2196, 1785, 2232, 1785, + /* 2520 */ 1785, 338, 2198, 707, 2200, 2201, 702, 1785, 697, 1785, + /* 2530 */ 2197, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2540 */ 704, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 2196, 1785, + /* 2550 */ 2232, 1785, 1785, 330, 2198, 707, 2200, 2201, 702, 1785, + /* 2560 */ 697, 2197, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 2215, + /* 2570 */ 1785, 704, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2580 */ 2165, 1785, 703, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2590 */ 1785, 1785, 1785, 2197, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2600 */ 2215, 1785, 1785, 704, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2610 */ 1785, 2165, 1785, 703, 1785, 1785, 2196, 1785, 2232, 2197, + /* 2620 */ 1785, 343, 2198, 707, 2200, 2201, 702, 1785, 697, 704, + /* 2630 */ 1785, 1785, 2215, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2640 */ 1785, 1785, 1785, 2165, 1785, 703, 1785, 2196, 1785, 2232, + /* 2650 */ 1785, 1785, 344, 2198, 707, 2200, 2201, 702, 2215, 697, + /* 2660 */ 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 2165, + /* 2670 */ 1785, 703, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 2196, + /* 2680 */ 1785, 2232, 1785, 1785, 2209, 2198, 707, 2200, 2201, 702, + /* 2690 */ 2197, 697, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2700 */ 704, 1785, 1785, 1785, 1785, 2196, 1785, 2232, 1785, 2197, + /* 2710 */ 2208, 2198, 707, 2200, 2201, 702, 1785, 697, 1785, 704, + /* 2720 */ 1785, 1785, 1785, 1785, 1785, 2197, 1785, 1785, 1785, 2215, + /* 2730 */ 1785, 1785, 1785, 1785, 1785, 704, 1785, 1785, 1785, 1785, + /* 2740 */ 2165, 1785, 703, 1785, 1785, 1785, 1785, 1785, 2215, 1785, + /* 2750 */ 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 2165, + /* 2760 */ 1785, 703, 1785, 1785, 2215, 1785, 1785, 1785, 1785, 1785, + /* 2770 */ 1785, 1785, 1785, 1785, 1785, 2165, 2196, 703, 2232, 1785, + /* 2780 */ 1785, 2207, 2198, 707, 2200, 2201, 702, 1785, 697, 1785, + /* 2790 */ 1785, 1785, 1785, 1785, 1785, 2196, 1785, 2232, 1785, 2197, + /* 2800 */ 359, 2198, 707, 2200, 2201, 702, 1785, 697, 1785, 704, + /* 2810 */ 1785, 2196, 1785, 2232, 1785, 2197, 360, 2198, 707, 2200, + /* 2820 */ 2201, 702, 1785, 697, 1785, 704, 1785, 1785, 1785, 1785, + /* 2830 */ 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 2215, 1785, + /* 2840 */ 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 2165, + /* 2850 */ 1785, 703, 1785, 1785, 2215, 1785, 1785, 1785, 1785, 1785, + /* 2860 */ 1785, 1785, 1785, 1785, 1785, 2165, 2197, 703, 1785, 1785, + /* 2870 */ 1785, 1785, 1785, 1785, 1785, 1785, 704, 1785, 1785, 1785, + /* 2880 */ 1785, 1785, 1785, 1785, 1785, 2196, 1785, 2232, 1785, 1785, + /* 2890 */ 356, 2198, 707, 2200, 2201, 702, 1785, 697, 1785, 1785, + /* 2900 */ 1785, 2196, 1785, 2232, 1785, 2215, 361, 2198, 707, 2200, + /* 2910 */ 2201, 702, 1785, 697, 1785, 1785, 2165, 1785, 703, 1785, + /* 2920 */ 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 2930 */ 1785, 1785, 1785, 1785, 1785, 1785, 2197, 1785, 1785, 1785, + /* 2940 */ 1785, 1785, 1785, 1785, 1785, 1785, 704, 1785, 1785, 1785, + /* 2950 */ 1785, 1785, 705, 1785, 2232, 1785, 1785, 335, 2198, 707, + /* 2960 */ 2200, 2201, 702, 1785, 697, 1785, 1785, 1785, 1785, 1785, + /* 2970 */ 1785, 1785, 1785, 1785, 1785, 2215, 1785, 1785, 1785, 1785, + /* 2980 */ 1785, 1785, 1785, 1785, 1785, 1785, 2165, 1785, 703, 1785, + /* 2990 */ 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 3000 */ 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 3010 */ 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, 1785, + /* 3020 */ 1785, 1785, 2196, 1785, 2232, 1785, 1785, 334, 2198, 707, + /* 3030 */ 2200, 2201, 702, 1785, 697, }; static const YYCODETYPE yy_lookahead[] = { - /* 0 */ 342, 346, 368, 347, 349, 350, 412, 351, 360, 353, - /* 10 */ 352, 417, 12, 13, 14, 351, 382, 341, 368, 343, - /* 20 */ 20, 20, 22, 8, 9, 377, 392, 12, 13, 14, - /* 30 */ 15, 16, 382, 33, 386, 35, 448, 449, 380, 394, - /* 40 */ 8, 9, 392, 368, 12, 13, 14, 15, 16, 342, - /* 50 */ 392, 406, 394, 459, 409, 410, 462, 382, 379, 342, - /* 60 */ 396, 352, 62, 412, 430, 431, 20, 392, 68, 352, - /* 70 */ 391, 372, 478, 479, 440, 75, 44, 483, 484, 380, - /* 80 */ 430, 4, 459, 68, 20, 462, 428, 388, 430, 380, - /* 90 */ 440, 433, 434, 435, 436, 437, 438, 380, 440, 392, - /* 100 */ 100, 478, 479, 103, 103, 430, 483, 484, 347, 392, - /* 110 */ 459, 394, 351, 462, 353, 440, 12, 13, 459, 14, - /* 120 */ 43, 462, 45, 46, 20, 20, 22, 112, 342, 478, - /* 130 */ 479, 0, 474, 475, 483, 484, 104, 33, 479, 35, - /* 140 */ 140, 141, 483, 484, 435, 428, 0, 430, 49, 103, - /* 150 */ 433, 434, 435, 436, 437, 438, 57, 440, 3, 60, - /* 160 */ 61, 20, 445, 22, 447, 372, 62, 103, 451, 452, - /* 170 */ 170, 171, 68, 380, 4, 44, 176, 177, 392, 75, - /* 180 */ 387, 388, 465, 346, 169, 0, 349, 350, 395, 44, - /* 190 */ 473, 191, 21, 193, 53, 24, 25, 26, 27, 28, - /* 200 */ 29, 30, 31, 32, 100, 394, 21, 103, 342, 24, - /* 210 */ 25, 26, 27, 28, 29, 30, 31, 32, 352, 35, - /* 220 */ 409, 410, 358, 223, 224, 0, 226, 227, 228, 229, + /* 0 */ 388, 342, 368, 346, 381, 412, 349, 350, 360, 351, + /* 10 */ 387, 352, 12, 13, 14, 341, 382, 343, 395, 381, + /* 20 */ 20, 394, 22, 8, 9, 377, 392, 12, 13, 14, + /* 30 */ 15, 16, 4, 33, 386, 35, 409, 410, 400, 401, + /* 40 */ 381, 376, 8, 9, 35, 394, 12, 13, 14, 15, + /* 50 */ 16, 392, 459, 394, 396, 462, 368, 406, 372, 342, + /* 60 */ 409, 410, 62, 20, 430, 431, 380, 381, 68, 352, + /* 70 */ 382, 478, 479, 387, 440, 75, 483, 484, 44, 432, + /* 80 */ 392, 395, 459, 68, 75, 462, 20, 428, 459, 430, + /* 90 */ 425, 462, 433, 434, 435, 436, 437, 438, 381, 440, + /* 100 */ 100, 478, 479, 103, 14, 458, 483, 484, 479, 392, + /* 110 */ 20, 394, 483, 484, 448, 449, 12, 13, 430, 12, + /* 120 */ 13, 14, 15, 16, 20, 20, 22, 112, 440, 351, + /* 130 */ 352, 103, 103, 474, 475, 12, 13, 33, 104, 35, + /* 140 */ 140, 141, 20, 62, 0, 428, 103, 430, 358, 371, + /* 150 */ 433, 434, 435, 436, 437, 438, 378, 440, 35, 347, + /* 160 */ 351, 352, 445, 351, 447, 353, 62, 351, 451, 452, + /* 170 */ 170, 171, 68, 383, 351, 352, 176, 177, 67, 75, + /* 180 */ 371, 361, 465, 102, 169, 0, 105, 378, 44, 369, + /* 190 */ 473, 191, 21, 193, 371, 24, 25, 26, 27, 28, + /* 200 */ 29, 30, 31, 32, 100, 0, 21, 103, 342, 24, + /* 210 */ 25, 26, 27, 28, 29, 30, 31, 32, 352, 403, + /* 220 */ 444, 405, 446, 223, 224, 0, 226, 227, 228, 229, /* 230 */ 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, - /* 240 */ 240, 241, 242, 243, 140, 141, 380, 383, 20, 24, - /* 250 */ 25, 26, 27, 28, 29, 30, 31, 32, 392, 75, - /* 260 */ 394, 260, 247, 248, 249, 250, 251, 252, 253, 254, - /* 270 */ 255, 256, 257, 103, 170, 171, 22, 380, 8, 9, - /* 280 */ 176, 177, 12, 13, 14, 15, 16, 14, 390, 35, - /* 290 */ 20, 393, 394, 20, 428, 191, 430, 193, 401, 433, - /* 300 */ 434, 435, 436, 437, 438, 159, 440, 103, 361, 443, - /* 310 */ 351, 445, 446, 447, 168, 342, 369, 451, 452, 12, - /* 320 */ 13, 14, 15, 16, 260, 352, 443, 223, 224, 446, + /* 240 */ 240, 241, 242, 243, 140, 141, 22, 381, 20, 24, + /* 250 */ 25, 26, 27, 28, 29, 30, 31, 32, 392, 35, + /* 260 */ 394, 67, 247, 248, 249, 250, 251, 252, 253, 254, + /* 270 */ 255, 256, 257, 346, 170, 171, 349, 350, 8, 9, + /* 280 */ 176, 177, 12, 13, 14, 15, 16, 135, 260, 260, + /* 290 */ 20, 139, 170, 171, 428, 191, 430, 193, 379, 433, + /* 300 */ 434, 435, 436, 437, 438, 175, 440, 0, 14, 443, + /* 310 */ 391, 445, 446, 447, 20, 342, 193, 451, 452, 390, + /* 320 */ 68, 342, 393, 394, 100, 352, 443, 223, 224, 446, /* 330 */ 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, /* 340 */ 236, 237, 238, 239, 240, 241, 242, 243, 244, 12, - /* 350 */ 13, 20, 175, 380, 100, 351, 352, 20, 380, 22, - /* 360 */ 0, 100, 403, 20, 405, 392, 388, 394, 140, 141, - /* 370 */ 33, 20, 35, 22, 12, 13, 115, 116, 117, 118, - /* 380 */ 119, 120, 121, 122, 123, 124, 35, 126, 127, 128, - /* 390 */ 129, 130, 131, 132, 190, 0, 192, 35, 84, 62, - /* 400 */ 20, 428, 398, 430, 53, 68, 433, 434, 435, 436, - /* 410 */ 437, 438, 75, 440, 70, 71, 72, 244, 445, 246, - /* 420 */ 447, 77, 78, 79, 451, 452, 222, 83, 283, 342, - /* 430 */ 260, 20, 88, 89, 90, 91, 281, 100, 94, 352, - /* 440 */ 103, 358, 172, 266, 267, 268, 473, 20, 459, 380, - /* 450 */ 380, 462, 351, 12, 13, 14, 380, 387, 375, 145, - /* 460 */ 146, 20, 67, 22, 260, 395, 383, 380, 479, 400, - /* 470 */ 401, 395, 483, 484, 33, 67, 35, 140, 141, 392, - /* 480 */ 103, 394, 168, 8, 9, 351, 352, 12, 13, 14, - /* 490 */ 15, 16, 20, 133, 134, 135, 136, 137, 138, 139, - /* 500 */ 342, 170, 171, 62, 403, 371, 405, 170, 171, 186, - /* 510 */ 352, 67, 354, 176, 177, 428, 75, 430, 351, 352, - /* 520 */ 433, 434, 435, 436, 437, 438, 114, 440, 191, 459, - /* 530 */ 193, 103, 462, 444, 447, 446, 213, 214, 380, 452, - /* 540 */ 75, 100, 351, 352, 103, 1, 2, 342, 478, 479, - /* 550 */ 392, 114, 394, 483, 484, 193, 342, 352, 432, 354, + /* 350 */ 13, 444, 200, 446, 381, 203, 49, 20, 206, 22, + /* 360 */ 208, 100, 351, 352, 159, 392, 20, 394, 140, 141, + /* 370 */ 33, 392, 35, 168, 351, 351, 352, 116, 117, 118, + /* 380 */ 119, 120, 121, 122, 123, 124, 125, 3, 127, 128, + /* 390 */ 129, 130, 131, 132, 133, 39, 266, 267, 268, 62, + /* 400 */ 20, 428, 352, 430, 20, 68, 433, 434, 435, 436, + /* 410 */ 437, 438, 75, 440, 70, 71, 72, 4, 445, 381, + /* 420 */ 447, 77, 78, 79, 451, 452, 403, 83, 405, 351, + /* 430 */ 352, 381, 88, 89, 90, 91, 3, 100, 94, 401, + /* 440 */ 103, 223, 172, 84, 8, 9, 473, 21, 12, 13, + /* 450 */ 14, 15, 16, 12, 13, 14, 43, 4, 45, 46, + /* 460 */ 34, 20, 36, 22, 170, 454, 455, 456, 457, 169, + /* 470 */ 459, 460, 19, 48, 33, 223, 35, 140, 141, 455, + /* 480 */ 456, 457, 412, 459, 460, 435, 33, 417, 104, 271, + /* 490 */ 272, 273, 274, 275, 276, 277, 342, 351, 352, 114, + /* 500 */ 342, 20, 49, 62, 145, 146, 103, 170, 171, 56, + /* 510 */ 352, 244, 354, 176, 177, 62, 75, 371, 8, 9, + /* 520 */ 351, 352, 12, 13, 14, 15, 16, 168, 191, 459, + /* 530 */ 193, 351, 462, 455, 456, 457, 75, 459, 460, 381, + /* 540 */ 20, 100, 351, 352, 103, 381, 392, 247, 478, 479, + /* 550 */ 392, 387, 394, 483, 484, 102, 172, 257, 105, 395, /* 560 */ 223, 224, 371, 226, 227, 228, 229, 230, 231, 232, /* 570 */ 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, - /* 580 */ 243, 140, 141, 172, 458, 380, 428, 21, 430, 351, - /* 590 */ 352, 433, 434, 435, 436, 437, 438, 392, 440, 394, - /* 600 */ 34, 4, 36, 445, 62, 447, 392, 351, 352, 451, - /* 610 */ 452, 170, 171, 380, 339, 133, 19, 176, 177, 137, - /* 620 */ 387, 454, 455, 456, 457, 432, 459, 460, 395, 42, - /* 630 */ 33, 44, 191, 428, 193, 430, 398, 260, 433, 434, - /* 640 */ 435, 436, 437, 438, 102, 440, 49, 105, 104, 351, - /* 650 */ 445, 458, 447, 56, 398, 14, 451, 452, 183, 62, - /* 660 */ 14, 20, 47, 223, 223, 224, 20, 226, 227, 228, + /* 580 */ 243, 140, 141, 403, 103, 405, 428, 20, 430, 22, + /* 590 */ 114, 433, 434, 435, 436, 437, 438, 172, 440, 14, + /* 600 */ 15, 16, 35, 445, 179, 447, 342, 351, 352, 451, + /* 610 */ 452, 170, 171, 372, 104, 259, 352, 176, 177, 183, + /* 620 */ 53, 380, 381, 103, 455, 456, 457, 371, 459, 460, + /* 630 */ 381, 462, 191, 186, 193, 8, 9, 4, 49, 12, + /* 640 */ 13, 14, 15, 16, 395, 381, 57, 478, 479, 60, + /* 650 */ 61, 347, 483, 484, 37, 351, 392, 353, 394, 20, + /* 660 */ 213, 214, 342, 260, 223, 224, 75, 226, 227, 228, /* 670 */ 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, - /* 680 */ 239, 240, 241, 242, 243, 12, 13, 412, 260, 351, - /* 690 */ 352, 44, 417, 20, 22, 22, 412, 393, 394, 102, - /* 700 */ 342, 403, 105, 405, 48, 342, 33, 35, 35, 371, - /* 710 */ 352, 271, 272, 273, 274, 275, 276, 277, 103, 8, - /* 720 */ 9, 380, 39, 12, 13, 14, 15, 16, 387, 351, - /* 730 */ 352, 342, 380, 376, 459, 62, 395, 462, 380, 387, - /* 740 */ 444, 352, 446, 459, 351, 352, 462, 395, 75, 371, - /* 750 */ 392, 104, 394, 478, 479, 392, 378, 389, 483, 484, - /* 760 */ 392, 286, 478, 479, 371, 351, 352, 483, 484, 380, - /* 770 */ 244, 378, 100, 100, 134, 135, 103, 134, 35, 139, - /* 780 */ 20, 392, 425, 394, 0, 371, 428, 0, 430, 12, - /* 790 */ 13, 433, 434, 435, 436, 437, 438, 20, 440, 22, - /* 800 */ 8, 9, 0, 342, 12, 13, 14, 15, 16, 20, - /* 810 */ 33, 170, 35, 140, 141, 104, 170, 428, 75, 430, - /* 820 */ 54, 55, 433, 434, 435, 436, 437, 438, 172, 440, - /* 830 */ 351, 352, 432, 475, 44, 179, 447, 351, 352, 62, - /* 840 */ 451, 452, 342, 170, 171, 351, 352, 204, 205, 176, - /* 850 */ 177, 49, 75, 392, 70, 71, 72, 371, 458, 351, - /* 860 */ 352, 77, 78, 79, 191, 371, 193, 83, 372, 14, - /* 870 */ 15, 16, 88, 89, 90, 91, 380, 100, 94, 371, - /* 880 */ 103, 342, 8, 9, 388, 75, 12, 13, 14, 15, - /* 890 */ 16, 352, 392, 354, 104, 342, 223, 224, 381, 226, + /* 680 */ 239, 240, 241, 242, 243, 12, 13, 351, 352, 388, + /* 690 */ 103, 432, 428, 20, 430, 22, 388, 433, 434, 435, + /* 700 */ 436, 437, 438, 418, 440, 22, 33, 343, 35, 445, + /* 710 */ 342, 447, 392, 33, 281, 451, 452, 458, 35, 368, + /* 720 */ 352, 342, 286, 106, 342, 108, 109, 389, 111, 49, + /* 730 */ 392, 104, 115, 382, 398, 62, 342, 57, 58, 59, + /* 740 */ 60, 260, 62, 392, 115, 339, 352, 381, 75, 381, + /* 750 */ 115, 8, 9, 387, 137, 12, 13, 14, 15, 16, + /* 760 */ 392, 395, 394, 134, 135, 136, 137, 138, 139, 351, + /* 770 */ 352, 392, 137, 100, 392, 381, 103, 190, 381, 192, + /* 780 */ 260, 430, 102, 100, 387, 105, 392, 476, 394, 12, + /* 790 */ 13, 440, 395, 351, 352, 402, 428, 20, 430, 22, + /* 800 */ 20, 433, 434, 435, 436, 437, 438, 432, 440, 222, + /* 810 */ 33, 172, 35, 140, 141, 447, 398, 372, 412, 451, + /* 820 */ 452, 0, 428, 417, 430, 380, 381, 433, 434, 435, + /* 830 */ 436, 437, 438, 458, 440, 351, 352, 393, 394, 62, + /* 840 */ 398, 447, 20, 170, 171, 451, 452, 260, 342, 176, + /* 850 */ 177, 0, 75, 173, 174, 371, 351, 352, 1, 2, + /* 860 */ 180, 181, 351, 352, 191, 459, 193, 459, 462, 381, + /* 870 */ 462, 54, 55, 351, 352, 387, 371, 100, 389, 199, + /* 880 */ 103, 392, 371, 395, 478, 479, 478, 479, 14, 483, + /* 890 */ 484, 483, 484, 371, 20, 262, 223, 224, 392, 226, /* 900 */ 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, - /* 910 */ 237, 238, 239, 240, 241, 242, 243, 140, 141, 380, - /* 920 */ 133, 134, 135, 136, 137, 138, 139, 356, 357, 140, - /* 930 */ 141, 392, 172, 394, 455, 456, 457, 342, 459, 460, - /* 940 */ 381, 462, 259, 351, 352, 392, 22, 170, 171, 342, - /* 950 */ 381, 351, 352, 176, 177, 356, 357, 478, 479, 35, - /* 960 */ 351, 352, 483, 484, 172, 176, 177, 428, 191, 430, - /* 970 */ 193, 371, 433, 434, 435, 436, 437, 438, 104, 440, - /* 980 */ 371, 20, 2, 4, 445, 381, 447, 392, 8, 9, - /* 990 */ 451, 452, 12, 13, 14, 15, 16, 45, 46, 392, + /* 910 */ 237, 238, 239, 240, 241, 242, 243, 140, 141, 356, + /* 920 */ 357, 70, 71, 72, 351, 352, 351, 352, 77, 78, + /* 930 */ 79, 351, 352, 244, 83, 246, 115, 356, 357, 88, + /* 940 */ 89, 90, 91, 369, 371, 94, 371, 170, 171, 365, + /* 950 */ 366, 371, 172, 176, 177, 134, 135, 136, 137, 138, + /* 960 */ 139, 104, 140, 141, 134, 135, 372, 487, 191, 139, + /* 970 */ 193, 351, 352, 2, 380, 381, 355, 351, 352, 8, + /* 980 */ 9, 0, 2, 12, 13, 14, 15, 16, 8, 9, + /* 990 */ 0, 371, 12, 13, 14, 15, 16, 371, 176, 177, /* 1000 */ 223, 224, 0, 226, 227, 228, 229, 230, 231, 232, /* 1010 */ 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, - /* 1020 */ 243, 418, 18, 18, 20, 351, 352, 342, 23, 365, - /* 1030 */ 366, 27, 351, 352, 30, 360, 135, 33, 389, 169, - /* 1040 */ 139, 392, 37, 38, 381, 371, 41, 455, 456, 457, - /* 1050 */ 342, 459, 460, 49, 42, 51, 44, 52, 8, 9, - /* 1060 */ 56, 386, 12, 13, 14, 15, 16, 381, 63, 64, - /* 1070 */ 65, 66, 70, 71, 72, 73, 74, 392, 76, 77, + /* 1020 */ 243, 0, 18, 18, 20, 351, 352, 459, 23, 134, + /* 1030 */ 462, 27, 44, 20, 30, 22, 360, 33, 351, 352, + /* 1040 */ 365, 366, 37, 38, 170, 371, 41, 479, 67, 380, + /* 1050 */ 381, 483, 484, 49, 342, 51, 20, 52, 371, 342, + /* 1060 */ 56, 42, 386, 44, 342, 20, 53, 342, 63, 64, + /* 1070 */ 65, 66, 70, 71, 72, 73, 74, 470, 76, 77, /* 1080 */ 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, - /* 1090 */ 88, 89, 90, 91, 92, 93, 94, 95, 96, 342, - /* 1100 */ 392, 200, 351, 352, 203, 33, 102, 206, 103, 208, - /* 1110 */ 365, 366, 381, 37, 20, 351, 352, 247, 114, 351, - /* 1120 */ 352, 49, 371, 351, 352, 351, 352, 257, 412, 57, - /* 1130 */ 58, 59, 60, 172, 62, 371, 455, 456, 457, 371, - /* 1140 */ 459, 460, 0, 371, 369, 371, 13, 142, 144, 392, - /* 1150 */ 343, 147, 148, 149, 150, 151, 152, 153, 154, 155, - /* 1160 */ 156, 157, 158, 159, 160, 161, 162, 163, 35, 165, - /* 1170 */ 166, 167, 342, 373, 102, 459, 376, 105, 462, 342, - /* 1180 */ 258, 259, 106, 22, 108, 109, 487, 111, 183, 184, - /* 1190 */ 185, 3, 342, 188, 478, 479, 35, 114, 342, 483, - /* 1200 */ 484, 44, 352, 380, 354, 35, 201, 202, 20, 133, - /* 1210 */ 387, 351, 352, 137, 351, 352, 389, 212, 395, 392, - /* 1220 */ 215, 13, 392, 218, 219, 220, 221, 222, 0, 392, - /* 1230 */ 380, 371, 342, 402, 371, 367, 75, 107, 370, 342, - /* 1240 */ 110, 262, 392, 35, 394, 173, 174, 164, 392, 352, - /* 1250 */ 22, 354, 180, 181, 68, 107, 2, 107, 110, 0, - /* 1260 */ 110, 100, 8, 9, 170, 260, 12, 13, 14, 15, - /* 1270 */ 16, 199, 107, 342, 0, 110, 342, 380, 428, 342, - /* 1280 */ 430, 22, 392, 433, 434, 435, 436, 437, 438, 392, - /* 1290 */ 440, 394, 104, 12, 13, 445, 22, 447, 207, 35, - /* 1300 */ 209, 451, 452, 22, 133, 134, 135, 136, 137, 138, - /* 1310 */ 139, 44, 342, 44, 33, 62, 35, 44, 13, 44, - /* 1320 */ 412, 476, 352, 392, 354, 428, 392, 430, 44, 392, - /* 1330 */ 433, 434, 435, 436, 437, 438, 470, 440, 140, 141, - /* 1340 */ 35, 44, 445, 62, 447, 342, 1, 2, 451, 452, - /* 1350 */ 380, 44, 191, 372, 193, 352, 75, 368, 105, 217, - /* 1360 */ 172, 380, 392, 193, 394, 44, 103, 459, 44, 388, - /* 1370 */ 462, 104, 44, 104, 44, 44, 113, 104, 355, 104, - /* 1380 */ 13, 100, 368, 380, 223, 224, 478, 479, 104, 380, - /* 1390 */ 355, 483, 484, 44, 0, 392, 44, 394, 428, 411, - /* 1400 */ 430, 104, 35, 433, 434, 435, 436, 437, 438, 223, - /* 1410 */ 440, 104, 402, 44, 350, 445, 44, 447, 44, 44, - /* 1420 */ 352, 451, 452, 391, 402, 104, 461, 480, 104, 453, - /* 1430 */ 464, 428, 104, 430, 104, 104, 433, 434, 435, 436, - /* 1440 */ 437, 438, 285, 440, 50, 263, 413, 49, 445, 342, - /* 1450 */ 447, 20, 422, 104, 451, 452, 104, 193, 429, 352, - /* 1460 */ 360, 206, 422, 427, 360, 189, 415, 20, 352, 42, - /* 1470 */ 399, 20, 191, 104, 193, 402, 104, 352, 104, 104, - /* 1480 */ 399, 169, 397, 20, 352, 351, 351, 380, 399, 397, - /* 1490 */ 397, 101, 364, 362, 99, 351, 342, 98, 351, 392, - /* 1500 */ 363, 394, 351, 351, 223, 224, 352, 20, 344, 48, - /* 1510 */ 348, 344, 422, 360, 348, 20, 394, 236, 237, 238, - /* 1520 */ 239, 240, 241, 242, 20, 353, 20, 414, 360, 360, - /* 1530 */ 353, 351, 392, 360, 380, 428, 360, 430, 360, 360, - /* 1540 */ 433, 434, 435, 436, 437, 438, 392, 440, 394, 344, - /* 1550 */ 351, 344, 445, 210, 447, 380, 103, 197, 451, 452, - /* 1560 */ 342, 380, 426, 380, 380, 380, 392, 380, 422, 380, - /* 1570 */ 352, 380, 380, 380, 380, 358, 196, 421, 420, 424, - /* 1580 */ 358, 195, 428, 351, 430, 342, 270, 433, 434, 435, - /* 1590 */ 436, 437, 438, 392, 440, 352, 394, 278, 380, 445, - /* 1600 */ 471, 447, 402, 392, 269, 451, 452, 469, 413, 419, - /* 1610 */ 392, 402, 394, 407, 469, 392, 392, 407, 392, 182, - /* 1620 */ 280, 472, 264, 380, 287, 279, 413, 467, 469, 488, - /* 1630 */ 259, 468, 284, 282, 342, 392, 20, 394, 352, 261, - /* 1640 */ 353, 358, 20, 358, 352, 405, 428, 432, 430, 407, - /* 1650 */ 392, 433, 434, 435, 436, 437, 438, 392, 440, 407, - /* 1660 */ 463, 404, 466, 392, 392, 447, 174, 358, 358, 451, - /* 1670 */ 452, 428, 380, 430, 392, 376, 433, 434, 435, 436, - /* 1680 */ 437, 438, 392, 440, 392, 482, 394, 103, 352, 450, - /* 1690 */ 447, 103, 384, 481, 451, 452, 392, 370, 342, 358, - /* 1700 */ 36, 351, 345, 344, 416, 340, 408, 374, 352, 408, - /* 1710 */ 0, 0, 423, 374, 359, 0, 374, 42, 0, 35, - /* 1720 */ 428, 216, 430, 35, 1, 433, 434, 435, 436, 437, - /* 1730 */ 438, 439, 440, 441, 442, 35, 380, 35, 216, 0, - /* 1740 */ 35, 35, 19, 216, 0, 216, 0, 35, 392, 0, - /* 1750 */ 394, 22, 0, 211, 35, 0, 33, 199, 0, 199, - /* 1760 */ 342, 200, 193, 191, 0, 0, 0, 187, 186, 0, - /* 1770 */ 352, 0, 49, 47, 0, 0, 0, 47, 0, 42, - /* 1780 */ 57, 58, 59, 60, 428, 62, 430, 0, 0, 433, - /* 1790 */ 434, 435, 436, 437, 438, 0, 440, 342, 380, 0, - /* 1800 */ 47, 0, 0, 385, 0, 0, 0, 352, 159, 0, - /* 1810 */ 392, 159, 394, 22, 35, 0, 0, 0, 0, 0, - /* 1820 */ 0, 0, 0, 0, 0, 102, 0, 0, 105, 0, - /* 1830 */ 0, 0, 0, 47, 0, 380, 42, 0, 0, 0, - /* 1840 */ 385, 485, 486, 0, 0, 0, 428, 392, 430, 394, - /* 1850 */ 0, 433, 434, 435, 436, 437, 438, 0, 440, 0, - /* 1860 */ 342, 138, 22, 143, 0, 0, 0, 0, 22, 62, - /* 1870 */ 352, 35, 62, 48, 0, 0, 48, 342, 0, 0, - /* 1880 */ 39, 39, 35, 428, 35, 430, 0, 352, 433, 434, - /* 1890 */ 435, 436, 437, 438, 39, 440, 173, 62, 380, 0, - /* 1900 */ 49, 49, 49, 180, 35, 35, 0, 39, 47, 14, - /* 1910 */ 392, 0, 394, 42, 0, 380, 44, 40, 0, 39, - /* 1920 */ 47, 0, 199, 47, 39, 182, 0, 392, 0, 394, - /* 1930 */ 0, 0, 69, 0, 0, 35, 49, 39, 35, 49, - /* 1940 */ 39, 0, 35, 49, 39, 0, 428, 35, 430, 342, - /* 1950 */ 0, 433, 434, 435, 436, 437, 438, 49, 440, 352, - /* 1960 */ 0, 39, 0, 428, 0, 430, 342, 0, 433, 434, - /* 1970 */ 435, 436, 437, 438, 0, 440, 352, 35, 22, 0, - /* 1980 */ 44, 35, 35, 35, 35, 0, 35, 380, 35, 35, - /* 1990 */ 35, 22, 385, 112, 110, 477, 342, 22, 35, 392, - /* 2000 */ 35, 394, 44, 0, 380, 22, 352, 0, 51, 22, - /* 2010 */ 0, 35, 0, 342, 22, 35, 392, 35, 394, 0, - /* 2020 */ 20, 486, 103, 352, 35, 35, 35, 104, 0, 35, - /* 2030 */ 172, 198, 103, 22, 380, 428, 0, 430, 22, 385, - /* 2040 */ 433, 434, 435, 436, 437, 438, 392, 440, 394, 0, - /* 2050 */ 194, 380, 428, 0, 430, 172, 385, 433, 434, 435, - /* 2060 */ 436, 437, 438, 392, 440, 394, 442, 174, 172, 178, - /* 2070 */ 178, 3, 104, 44, 172, 342, 265, 104, 48, 48, - /* 2080 */ 99, 103, 428, 44, 430, 352, 44, 433, 434, 435, - /* 2090 */ 436, 437, 438, 342, 440, 44, 103, 101, 103, 428, - /* 2100 */ 103, 430, 104, 352, 433, 434, 435, 436, 437, 438, - /* 2110 */ 104, 440, 103, 380, 47, 44, 47, 104, 103, 265, - /* 2120 */ 3, 104, 44, 35, 342, 392, 35, 394, 35, 104, - /* 2130 */ 35, 380, 35, 35, 352, 0, 104, 47, 0, 47, - /* 2140 */ 342, 103, 39, 392, 44, 394, 47, 265, 103, 103, - /* 2150 */ 352, 0, 104, 113, 104, 342, 47, 103, 103, 175, - /* 2160 */ 39, 428, 380, 430, 103, 352, 433, 434, 435, 436, - /* 2170 */ 437, 438, 173, 440, 392, 258, 394, 44, 380, 428, - /* 2180 */ 101, 430, 245, 101, 433, 434, 435, 436, 437, 438, - /* 2190 */ 392, 440, 394, 380, 2, 22, 47, 47, 22, 103, - /* 2200 */ 114, 35, 35, 35, 342, 392, 104, 394, 103, 223, - /* 2210 */ 428, 104, 430, 103, 352, 433, 434, 435, 436, 437, - /* 2220 */ 438, 103, 440, 104, 104, 103, 428, 225, 430, 103, - /* 2230 */ 342, 433, 434, 435, 436, 437, 438, 103, 440, 103, - /* 2240 */ 352, 428, 380, 430, 104, 104, 433, 434, 435, 436, - /* 2250 */ 437, 438, 104, 440, 392, 342, 394, 35, 103, 35, - /* 2260 */ 104, 103, 35, 104, 103, 352, 104, 35, 380, 125, - /* 2270 */ 125, 125, 103, 103, 44, 103, 35, 125, 103, 22, - /* 2280 */ 392, 69, 394, 68, 35, 35, 35, 35, 35, 35, - /* 2290 */ 428, 35, 430, 380, 35, 433, 434, 435, 436, 437, - /* 2300 */ 438, 75, 440, 97, 44, 392, 35, 394, 35, 35, - /* 2310 */ 22, 35, 35, 35, 75, 35, 428, 35, 430, 342, - /* 2320 */ 35, 433, 434, 435, 436, 437, 438, 35, 440, 352, - /* 2330 */ 342, 35, 22, 35, 0, 35, 49, 0, 39, 35, - /* 2340 */ 352, 428, 39, 430, 49, 0, 433, 434, 435, 436, - /* 2350 */ 437, 438, 39, 440, 35, 49, 342, 380, 0, 35, - /* 2360 */ 49, 39, 0, 35, 35, 0, 352, 21, 380, 392, - /* 2370 */ 22, 394, 22, 22, 21, 20, 489, 489, 489, 489, - /* 2380 */ 392, 489, 394, 489, 489, 489, 489, 489, 489, 342, - /* 2390 */ 489, 489, 489, 489, 380, 489, 489, 489, 489, 352, - /* 2400 */ 489, 489, 489, 489, 489, 428, 392, 430, 394, 489, - /* 2410 */ 433, 434, 435, 436, 437, 438, 428, 440, 430, 489, - /* 2420 */ 489, 433, 434, 435, 436, 437, 438, 380, 440, 489, - /* 2430 */ 489, 489, 489, 489, 489, 489, 342, 489, 489, 392, - /* 2440 */ 489, 394, 428, 489, 430, 489, 352, 433, 434, 435, - /* 2450 */ 436, 437, 438, 489, 440, 489, 342, 489, 489, 489, - /* 2460 */ 489, 489, 489, 489, 489, 489, 352, 489, 489, 489, - /* 2470 */ 489, 489, 489, 489, 380, 428, 489, 430, 489, 489, - /* 2480 */ 433, 434, 435, 436, 437, 438, 392, 440, 394, 489, - /* 2490 */ 489, 489, 489, 489, 380, 489, 489, 489, 489, 489, - /* 2500 */ 489, 489, 489, 489, 489, 342, 392, 489, 394, 489, - /* 2510 */ 489, 489, 489, 489, 489, 352, 489, 489, 489, 489, - /* 2520 */ 489, 489, 428, 489, 430, 489, 489, 433, 434, 435, - /* 2530 */ 436, 437, 438, 489, 440, 342, 489, 489, 489, 489, - /* 2540 */ 489, 489, 428, 380, 430, 352, 489, 433, 434, 435, - /* 2550 */ 436, 437, 438, 489, 440, 392, 489, 394, 489, 489, - /* 2560 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, - /* 2570 */ 489, 489, 489, 380, 489, 489, 489, 489, 489, 489, - /* 2580 */ 489, 489, 489, 489, 342, 392, 489, 394, 489, 489, - /* 2590 */ 489, 428, 489, 430, 352, 489, 433, 434, 435, 436, - /* 2600 */ 437, 438, 489, 440, 489, 489, 489, 489, 342, 489, - /* 2610 */ 489, 489, 489, 489, 489, 489, 489, 489, 352, 489, - /* 2620 */ 489, 428, 380, 430, 489, 489, 433, 434, 435, 436, - /* 2630 */ 437, 438, 489, 440, 392, 342, 394, 489, 489, 489, - /* 2640 */ 489, 489, 489, 489, 489, 352, 380, 489, 489, 489, - /* 2650 */ 489, 489, 489, 489, 489, 489, 489, 489, 392, 342, - /* 2660 */ 394, 489, 489, 489, 489, 489, 489, 489, 489, 352, - /* 2670 */ 428, 489, 430, 380, 489, 433, 434, 435, 436, 437, - /* 2680 */ 438, 489, 440, 489, 489, 392, 489, 394, 489, 489, - /* 2690 */ 489, 489, 489, 489, 428, 489, 430, 380, 489, 433, - /* 2700 */ 434, 435, 436, 437, 438, 489, 440, 489, 489, 392, - /* 2710 */ 489, 394, 489, 489, 489, 489, 489, 489, 489, 489, - /* 2720 */ 489, 428, 489, 430, 489, 342, 433, 434, 435, 436, - /* 2730 */ 437, 438, 489, 440, 489, 352, 489, 489, 489, 489, - /* 2740 */ 489, 489, 489, 489, 489, 428, 489, 430, 342, 489, - /* 2750 */ 433, 434, 435, 436, 437, 438, 489, 440, 352, 489, - /* 2760 */ 489, 489, 489, 380, 489, 489, 489, 489, 489, 489, - /* 2770 */ 489, 489, 489, 489, 489, 392, 489, 394, 489, 489, - /* 2780 */ 489, 489, 489, 489, 489, 489, 380, 489, 489, 489, - /* 2790 */ 489, 489, 489, 489, 489, 489, 489, 489, 392, 489, - /* 2800 */ 394, 489, 489, 489, 489, 489, 489, 489, 489, 489, - /* 2810 */ 489, 428, 489, 430, 489, 489, 433, 434, 435, 436, - /* 2820 */ 437, 438, 489, 440, 489, 489, 489, 489, 489, 489, - /* 2830 */ 489, 489, 489, 489, 428, 489, 430, 489, 489, 433, - /* 2840 */ 434, 435, 436, 437, 438, 489, 440, 339, 339, 339, - /* 2850 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2860 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2870 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2880 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2890 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2900 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2910 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2920 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2930 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2940 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2950 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2960 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2970 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2980 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 2990 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 3000 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 3010 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 3020 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 3030 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 1090 */ 88, 89, 90, 91, 92, 93, 94, 95, 96, 204, + /* 1100 */ 205, 45, 46, 368, 392, 115, 102, 368, 103, 392, + /* 1110 */ 351, 352, 351, 352, 392, 8, 9, 392, 114, 12, + /* 1120 */ 13, 14, 15, 16, 134, 135, 136, 137, 138, 139, + /* 1130 */ 371, 22, 371, 412, 380, 381, 342, 342, 380, 381, + /* 1140 */ 44, 342, 380, 381, 35, 381, 342, 142, 144, 380, + /* 1150 */ 381, 147, 148, 149, 150, 151, 152, 153, 154, 155, + /* 1160 */ 156, 157, 158, 159, 160, 161, 162, 163, 342, 165, + /* 1170 */ 166, 167, 367, 389, 411, 370, 392, 44, 342, 342, + /* 1180 */ 459, 402, 342, 462, 75, 358, 392, 392, 183, 184, + /* 1190 */ 185, 392, 352, 188, 354, 412, 392, 14, 342, 478, + /* 1200 */ 479, 342, 375, 20, 483, 484, 201, 202, 172, 100, + /* 1210 */ 383, 373, 258, 259, 376, 170, 355, 212, 392, 114, + /* 1220 */ 215, 381, 22, 218, 219, 220, 221, 222, 392, 392, + /* 1230 */ 0, 42, 392, 44, 394, 35, 107, 104, 217, 110, + /* 1240 */ 35, 107, 459, 342, 110, 462, 107, 412, 392, 110, + /* 1250 */ 13, 392, 22, 352, 107, 354, 207, 110, 209, 13, + /* 1260 */ 44, 478, 479, 350, 44, 260, 483, 484, 428, 164, + /* 1270 */ 430, 283, 35, 433, 434, 435, 436, 437, 438, 172, + /* 1280 */ 440, 35, 381, 0, 0, 445, 35, 447, 35, 44, + /* 1290 */ 0, 451, 452, 392, 459, 394, 44, 462, 44, 44, + /* 1300 */ 191, 62, 193, 140, 141, 22, 22, 44, 47, 44, + /* 1310 */ 44, 342, 44, 478, 479, 44, 1, 2, 483, 484, + /* 1320 */ 104, 352, 44, 354, 104, 44, 352, 391, 75, 428, + /* 1330 */ 44, 430, 223, 224, 433, 434, 435, 436, 437, 438, + /* 1340 */ 50, 440, 402, 461, 105, 480, 445, 453, 447, 104, + /* 1350 */ 381, 44, 451, 452, 464, 44, 104, 44, 104, 104, + /* 1360 */ 263, 392, 44, 394, 103, 44, 13, 104, 413, 104, + /* 1370 */ 104, 13, 104, 103, 342, 104, 49, 429, 422, 20, + /* 1380 */ 206, 285, 104, 113, 352, 104, 354, 427, 35, 360, + /* 1390 */ 104, 360, 422, 35, 415, 189, 20, 428, 193, 430, + /* 1400 */ 342, 20, 433, 434, 435, 436, 437, 438, 42, 440, + /* 1410 */ 352, 104, 354, 381, 445, 104, 447, 104, 352, 399, + /* 1420 */ 451, 452, 104, 352, 392, 104, 394, 402, 169, 399, + /* 1430 */ 397, 20, 351, 399, 352, 342, 351, 397, 397, 381, + /* 1440 */ 101, 364, 99, 363, 193, 352, 351, 98, 362, 351, + /* 1450 */ 392, 351, 394, 351, 20, 344, 48, 344, 348, 422, + /* 1460 */ 428, 360, 430, 348, 20, 433, 434, 435, 436, 437, + /* 1470 */ 438, 20, 440, 394, 381, 353, 360, 445, 20, 447, + /* 1480 */ 360, 414, 351, 451, 452, 392, 428, 394, 430, 353, + /* 1490 */ 360, 433, 434, 435, 436, 437, 438, 360, 440, 344, + /* 1500 */ 360, 12, 13, 445, 342, 447, 360, 381, 381, 451, + /* 1510 */ 452, 22, 351, 381, 352, 344, 381, 392, 210, 381, + /* 1520 */ 392, 428, 33, 430, 35, 381, 433, 434, 435, 436, + /* 1530 */ 437, 438, 342, 440, 381, 392, 103, 358, 445, 421, + /* 1540 */ 447, 424, 352, 381, 451, 452, 422, 426, 197, 358, + /* 1550 */ 196, 62, 394, 351, 392, 195, 394, 392, 413, 402, + /* 1560 */ 469, 420, 402, 270, 75, 269, 407, 342, 419, 392, + /* 1570 */ 392, 381, 469, 407, 392, 278, 472, 352, 182, 471, + /* 1580 */ 280, 469, 392, 279, 394, 413, 264, 468, 287, 100, + /* 1590 */ 428, 259, 430, 284, 488, 433, 434, 435, 436, 437, + /* 1600 */ 438, 282, 440, 20, 20, 482, 381, 445, 466, 447, + /* 1610 */ 352, 261, 432, 451, 452, 467, 405, 392, 428, 394, + /* 1620 */ 430, 407, 353, 433, 434, 435, 436, 437, 438, 407, + /* 1630 */ 440, 481, 463, 358, 358, 392, 392, 447, 174, 392, + /* 1640 */ 392, 451, 452, 358, 404, 358, 352, 103, 392, 392, + /* 1650 */ 376, 450, 103, 428, 392, 430, 384, 351, 433, 434, + /* 1660 */ 435, 436, 437, 438, 439, 440, 441, 442, 370, 36, + /* 1670 */ 358, 345, 344, 423, 340, 408, 416, 374, 0, 374, + /* 1680 */ 191, 408, 193, 359, 342, 0, 0, 42, 374, 0, + /* 1690 */ 35, 216, 35, 35, 352, 35, 216, 0, 35, 35, + /* 1700 */ 216, 0, 216, 0, 342, 35, 0, 0, 35, 22, + /* 1710 */ 211, 0, 223, 224, 352, 199, 0, 199, 193, 200, + /* 1720 */ 191, 0, 0, 381, 0, 236, 237, 238, 239, 240, + /* 1730 */ 241, 242, 187, 186, 392, 0, 394, 0, 47, 0, + /* 1740 */ 0, 0, 47, 381, 0, 0, 42, 0, 0, 47, + /* 1750 */ 0, 0, 0, 0, 392, 342, 394, 0, 0, 159, + /* 1760 */ 35, 0, 159, 0, 0, 352, 0, 0, 0, 0, + /* 1770 */ 428, 0, 430, 0, 0, 433, 434, 435, 436, 437, + /* 1780 */ 438, 0, 440, 0, 0, 0, 0, 0, 0, 47, + /* 1790 */ 428, 0, 430, 0, 381, 433, 434, 435, 436, 437, + /* 1800 */ 438, 42, 440, 0, 0, 392, 44, 394, 0, 447, + /* 1810 */ 0, 0, 22, 342, 452, 0, 0, 0, 143, 0, + /* 1820 */ 0, 22, 22, 352, 48, 48, 0, 485, 486, 342, + /* 1830 */ 35, 0, 62, 0, 62, 0, 0, 62, 49, 352, + /* 1840 */ 35, 428, 0, 430, 342, 49, 433, 434, 435, 436, + /* 1850 */ 437, 438, 381, 440, 352, 0, 385, 39, 35, 0, + /* 1860 */ 39, 49, 35, 392, 342, 394, 0, 39, 381, 35, + /* 1870 */ 14, 42, 385, 0, 352, 0, 39, 47, 0, 392, + /* 1880 */ 40, 394, 39, 381, 0, 47, 47, 39, 475, 0, + /* 1890 */ 182, 0, 0, 0, 392, 35, 394, 0, 49, 428, + /* 1900 */ 39, 430, 0, 381, 433, 434, 435, 436, 437, 438, + /* 1910 */ 69, 440, 35, 49, 392, 428, 394, 430, 39, 0, + /* 1920 */ 433, 434, 435, 436, 437, 438, 39, 440, 0, 35, + /* 1930 */ 428, 49, 430, 342, 35, 433, 434, 435, 436, 437, + /* 1940 */ 438, 0, 440, 352, 39, 49, 0, 0, 0, 0, + /* 1950 */ 428, 0, 430, 35, 110, 433, 434, 435, 436, 437, + /* 1960 */ 438, 342, 440, 112, 22, 0, 35, 35, 35, 35, + /* 1970 */ 35, 352, 381, 35, 35, 35, 385, 22, 35, 477, + /* 1980 */ 44, 44, 0, 392, 22, 394, 0, 35, 22, 0, + /* 1990 */ 22, 35, 0, 35, 0, 51, 342, 0, 35, 22, + /* 2000 */ 381, 20, 35, 103, 35, 35, 352, 104, 486, 0, + /* 2010 */ 103, 392, 198, 394, 35, 22, 0, 172, 22, 428, + /* 2020 */ 0, 430, 172, 342, 433, 434, 435, 436, 437, 438, + /* 2030 */ 178, 440, 174, 352, 0, 381, 3, 172, 48, 385, + /* 2040 */ 194, 172, 44, 265, 99, 178, 392, 428, 394, 430, + /* 2050 */ 48, 101, 433, 434, 435, 436, 437, 438, 104, 440, + /* 2060 */ 103, 442, 381, 103, 47, 104, 385, 44, 44, 44, + /* 2070 */ 44, 3, 265, 392, 103, 394, 47, 104, 103, 103, + /* 2080 */ 44, 103, 428, 35, 430, 35, 35, 433, 434, 435, + /* 2090 */ 436, 437, 438, 35, 440, 104, 35, 342, 35, 104, + /* 2100 */ 47, 44, 47, 104, 104, 104, 0, 352, 0, 428, + /* 2110 */ 103, 430, 265, 1, 433, 434, 435, 436, 437, 438, + /* 2120 */ 258, 440, 39, 47, 103, 0, 104, 113, 39, 47, + /* 2130 */ 103, 19, 104, 245, 103, 103, 381, 44, 103, 175, + /* 2140 */ 101, 101, 2, 22, 103, 33, 223, 392, 342, 394, + /* 2150 */ 104, 104, 103, 173, 47, 103, 47, 103, 352, 22, + /* 2160 */ 104, 49, 103, 35, 104, 35, 342, 103, 35, 57, + /* 2170 */ 58, 59, 60, 104, 62, 103, 352, 104, 103, 114, + /* 2180 */ 35, 104, 103, 428, 225, 430, 35, 381, 433, 434, + /* 2190 */ 435, 436, 437, 438, 104, 440, 104, 103, 392, 35, + /* 2200 */ 394, 103, 35, 104, 103, 381, 126, 126, 22, 44, + /* 2210 */ 126, 126, 115, 103, 102, 35, 392, 105, 394, 103, + /* 2220 */ 103, 22, 69, 68, 35, 35, 35, 35, 35, 35, + /* 2230 */ 35, 35, 75, 97, 428, 35, 430, 342, 35, 433, + /* 2240 */ 434, 435, 436, 437, 438, 44, 440, 352, 35, 22, + /* 2250 */ 138, 35, 428, 35, 430, 35, 75, 433, 434, 435, + /* 2260 */ 436, 437, 438, 342, 440, 35, 35, 35, 35, 35, + /* 2270 */ 22, 35, 0, 352, 35, 49, 381, 39, 0, 35, + /* 2280 */ 39, 0, 35, 0, 49, 173, 49, 392, 39, 394, + /* 2290 */ 35, 49, 180, 39, 0, 342, 35, 35, 0, 489, + /* 2300 */ 20, 22, 381, 21, 489, 352, 22, 22, 21, 489, + /* 2310 */ 489, 199, 489, 392, 342, 394, 489, 489, 489, 489, + /* 2320 */ 489, 489, 489, 428, 352, 430, 489, 489, 433, 434, + /* 2330 */ 435, 436, 437, 438, 381, 440, 489, 489, 489, 489, + /* 2340 */ 489, 489, 489, 489, 489, 392, 489, 394, 489, 428, + /* 2350 */ 489, 430, 489, 381, 433, 434, 435, 436, 437, 438, + /* 2360 */ 489, 440, 489, 489, 392, 489, 394, 489, 489, 489, + /* 2370 */ 489, 489, 342, 489, 489, 489, 489, 489, 489, 489, + /* 2380 */ 489, 428, 352, 430, 489, 489, 433, 434, 435, 436, + /* 2390 */ 437, 438, 489, 440, 489, 489, 489, 489, 489, 489, + /* 2400 */ 428, 489, 430, 489, 342, 433, 434, 435, 436, 437, + /* 2410 */ 438, 381, 440, 489, 352, 489, 489, 489, 489, 489, + /* 2420 */ 489, 489, 392, 489, 394, 489, 489, 489, 489, 489, + /* 2430 */ 342, 489, 489, 489, 489, 489, 489, 489, 489, 489, + /* 2440 */ 352, 489, 489, 381, 489, 489, 489, 489, 489, 489, + /* 2450 */ 489, 489, 489, 489, 392, 489, 394, 489, 428, 489, + /* 2460 */ 430, 489, 342, 433, 434, 435, 436, 437, 438, 381, + /* 2470 */ 440, 489, 352, 489, 489, 489, 489, 489, 489, 489, + /* 2480 */ 392, 489, 394, 489, 489, 489, 489, 489, 489, 489, + /* 2490 */ 428, 489, 430, 489, 489, 433, 434, 435, 436, 437, + /* 2500 */ 438, 381, 440, 489, 489, 489, 489, 489, 489, 489, + /* 2510 */ 489, 489, 392, 489, 394, 489, 428, 489, 430, 489, + /* 2520 */ 489, 433, 434, 435, 436, 437, 438, 489, 440, 489, + /* 2530 */ 342, 489, 489, 489, 489, 489, 489, 489, 489, 489, + /* 2540 */ 352, 489, 489, 489, 489, 489, 489, 489, 428, 489, + /* 2550 */ 430, 489, 489, 433, 434, 435, 436, 437, 438, 489, + /* 2560 */ 440, 342, 489, 489, 489, 489, 489, 489, 489, 381, + /* 2570 */ 489, 352, 489, 489, 489, 489, 489, 489, 489, 489, + /* 2580 */ 392, 489, 394, 489, 489, 489, 489, 489, 489, 489, + /* 2590 */ 489, 489, 489, 342, 489, 489, 489, 489, 489, 489, + /* 2600 */ 381, 489, 489, 352, 489, 489, 489, 489, 489, 489, + /* 2610 */ 489, 392, 489, 394, 489, 489, 428, 489, 430, 342, + /* 2620 */ 489, 433, 434, 435, 436, 437, 438, 489, 440, 352, + /* 2630 */ 489, 489, 381, 489, 489, 489, 489, 489, 489, 489, + /* 2640 */ 489, 489, 489, 392, 489, 394, 489, 428, 489, 430, + /* 2650 */ 489, 489, 433, 434, 435, 436, 437, 438, 381, 440, + /* 2660 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 392, + /* 2670 */ 489, 394, 489, 489, 489, 489, 489, 489, 489, 428, + /* 2680 */ 489, 430, 489, 489, 433, 434, 435, 436, 437, 438, + /* 2690 */ 342, 440, 489, 489, 489, 489, 489, 489, 489, 489, + /* 2700 */ 352, 489, 489, 489, 489, 428, 489, 430, 489, 342, + /* 2710 */ 433, 434, 435, 436, 437, 438, 489, 440, 489, 352, + /* 2720 */ 489, 489, 489, 489, 489, 342, 489, 489, 489, 381, + /* 2730 */ 489, 489, 489, 489, 489, 352, 489, 489, 489, 489, + /* 2740 */ 392, 489, 394, 489, 489, 489, 489, 489, 381, 489, + /* 2750 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 392, + /* 2760 */ 489, 394, 489, 489, 381, 489, 489, 489, 489, 489, + /* 2770 */ 489, 489, 489, 489, 489, 392, 428, 394, 430, 489, + /* 2780 */ 489, 433, 434, 435, 436, 437, 438, 489, 440, 489, + /* 2790 */ 489, 489, 489, 489, 489, 428, 489, 430, 489, 342, + /* 2800 */ 433, 434, 435, 436, 437, 438, 489, 440, 489, 352, + /* 2810 */ 489, 428, 489, 430, 489, 342, 433, 434, 435, 436, + /* 2820 */ 437, 438, 489, 440, 489, 352, 489, 489, 489, 489, + /* 2830 */ 489, 489, 489, 489, 489, 489, 489, 489, 381, 489, + /* 2840 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 392, + /* 2850 */ 489, 394, 489, 489, 381, 489, 489, 489, 489, 489, + /* 2860 */ 489, 489, 489, 489, 489, 392, 342, 394, 489, 489, + /* 2870 */ 489, 489, 489, 489, 489, 489, 352, 489, 489, 489, + /* 2880 */ 489, 489, 489, 489, 489, 428, 489, 430, 489, 489, + /* 2890 */ 433, 434, 435, 436, 437, 438, 489, 440, 489, 489, + /* 2900 */ 489, 428, 489, 430, 489, 381, 433, 434, 435, 436, + /* 2910 */ 437, 438, 489, 440, 489, 489, 392, 489, 394, 489, + /* 2920 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, + /* 2930 */ 489, 489, 489, 489, 489, 489, 342, 489, 489, 489, + /* 2940 */ 489, 489, 489, 489, 489, 489, 352, 489, 489, 489, + /* 2950 */ 489, 489, 428, 489, 430, 489, 489, 433, 434, 435, + /* 2960 */ 436, 437, 438, 489, 440, 489, 489, 489, 489, 489, + /* 2970 */ 489, 489, 489, 489, 489, 381, 489, 489, 489, 489, + /* 2980 */ 489, 489, 489, 489, 489, 489, 392, 489, 394, 489, + /* 2990 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, + /* 3000 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, + /* 3010 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, + /* 3020 */ 489, 489, 428, 489, 430, 489, 489, 433, 434, 435, + /* 3030 */ 436, 437, 438, 489, 440, 339, 339, 339, 339, 339, /* 3040 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, /* 3050 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, /* 3060 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, @@ -825,214 +844,230 @@ static const YYCODETYPE yy_lookahead[] = { /* 3150 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, /* 3160 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, /* 3170 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - /* 3180 */ 339, 339, 339, 339, 339, 339, + /* 3180 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3190 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3200 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3210 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3220 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3230 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3240 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3250 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3260 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3270 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3280 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3290 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3300 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3310 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3320 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3330 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3340 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3350 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3360 */ 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, + /* 3370 */ 339, 339, 339, 339, }; -#define YY_SHIFT_COUNT (800) +#define YY_SHIFT_COUNT (798) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2365) +#define YY_SHIFT_MAX (2298) static const unsigned short int yy_shift_ofst[] = { /* 0 */ 1005, 0, 104, 0, 337, 337, 337, 337, 337, 337, /* 10 */ 337, 337, 337, 337, 337, 337, 441, 673, 673, 777, /* 20 */ 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, /* 30 */ 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, /* 40 */ 673, 673, 673, 673, 673, 673, 673, 673, 673, 673, - /* 50 */ 673, 1, 64, 204, 46, 377, 428, 377, 46, 46, - /* 60 */ 377, 1281, 377, 1281, 1281, 170, 377, 343, 789, 380, - /* 70 */ 380, 789, 77, 77, 331, 228, 105, 105, 380, 380, - /* 80 */ 380, 380, 380, 380, 380, 380, 380, 380, 427, 380, - /* 90 */ 380, 408, 343, 380, 380, 472, 343, 380, 427, 380, - /* 100 */ 427, 343, 380, 380, 343, 380, 343, 343, 343, 380, - /* 110 */ 444, 1004, 15, 15, 344, 171, 1161, 1161, 1161, 1161, - /* 120 */ 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, 1161, - /* 130 */ 1161, 1161, 1161, 1161, 1161, 1076, 1188, 331, 228, 766, - /* 140 */ 766, 184, 411, 411, 411, 395, 173, 173, 184, 408, - /* 150 */ 412, 526, 343, 465, 343, 465, 465, 437, 810, 261, - /* 160 */ 261, 261, 261, 261, 261, 261, 261, 1723, 784, 185, - /* 170 */ 270, 475, 440, 351, 177, 362, 362, 641, 656, 646, - /* 180 */ 141, 760, 952, 273, 482, 961, 922, 683, 155, 922, - /* 190 */ 587, 979, 1094, 1182, 1398, 1431, 1255, 408, 1431, 408, - /* 200 */ 1276, 1447, 1427, 1451, 1447, 1427, 1312, 1463, 1447, 1463, - /* 210 */ 1427, 1312, 1312, 1390, 1395, 1463, 1399, 1463, 1463, 1463, - /* 220 */ 1487, 1461, 1487, 1461, 1431, 408, 1495, 408, 1504, 1506, - /* 230 */ 408, 1504, 408, 408, 408, 1463, 408, 1487, 343, 343, - /* 240 */ 343, 343, 343, 343, 343, 343, 343, 343, 343, 1463, - /* 250 */ 1487, 465, 465, 465, 1343, 1453, 1431, 444, 1360, 1380, - /* 260 */ 1495, 444, 1386, 1182, 1463, 1451, 1451, 465, 1316, 1335, - /* 270 */ 465, 1316, 1335, 465, 465, 343, 1319, 1437, 1316, 1340, - /* 280 */ 1346, 1358, 1182, 1337, 1348, 1351, 1371, 1447, 1616, 1378, - /* 290 */ 1504, 444, 444, 1622, 1335, 465, 465, 465, 465, 465, - /* 300 */ 1335, 465, 1492, 444, 437, 444, 1447, 1584, 1588, 465, - /* 310 */ 810, 1463, 444, 1664, 1487, 2847, 2847, 2847, 2847, 2847, - /* 320 */ 2847, 2847, 2847, 2847, 1002, 1072, 225, 32, 597, 711, - /* 330 */ 874, 360, 980, 1254, 792, 787, 1050, 1050, 1050, 1050, - /* 340 */ 1050, 1050, 1050, 1050, 1050, 1171, 901, 307, 307, 314, - /* 350 */ 99, 323, 146, 542, 254, 672, 566, 643, 640, 640, - /* 360 */ 855, 544, 870, 855, 855, 855, 802, 1142, 647, 924, - /* 370 */ 1012, 1083, 131, 1130, 1148, 1150, 1165, 1133, 1208, 1228, - /* 380 */ 1259, 1274, 1091, 790, 1267, 1253, 1269, 1273, 1275, 1198, - /* 390 */ 145, 1157, 1284, 1297, 1307, 1321, 1324, 1328, 1345, 1330, - /* 400 */ 1186, 1331, 615, 1349, 1352, 1369, 1372, 1374, 1375, 1263, - /* 410 */ 1170, 1264, 1305, 1367, 743, 1394, 1710, 1711, 1715, 1675, - /* 420 */ 1718, 1684, 1505, 1688, 1700, 1702, 1522, 1739, 1705, 1706, - /* 430 */ 1527, 1744, 1529, 1746, 1712, 1749, 1729, 1752, 1719, 1542, - /* 440 */ 1755, 1558, 1758, 1560, 1561, 1569, 1572, 1764, 1765, 1766, - /* 450 */ 1580, 1582, 1769, 1771, 1726, 1774, 1775, 1776, 1730, 1778, - /* 460 */ 1737, 1787, 1788, 1795, 1753, 1799, 1801, 1802, 1804, 1805, - /* 470 */ 1806, 1649, 1779, 1809, 1652, 1815, 1816, 1817, 1818, 1819, - /* 480 */ 1820, 1821, 1822, 1823, 1824, 1826, 1827, 1829, 1830, 1831, - /* 490 */ 1832, 1786, 1834, 1794, 1837, 1838, 1839, 1843, 1844, 1845, - /* 500 */ 1791, 1850, 1857, 1859, 1720, 1864, 1865, 1840, 1825, 1846, - /* 510 */ 1828, 1866, 1807, 1836, 1867, 1810, 1874, 1835, 1875, 1878, - /* 520 */ 1847, 1851, 1841, 1879, 1849, 1852, 1842, 1886, 1869, 1853, - /* 530 */ 1855, 1899, 1870, 1906, 1871, 1868, 1872, 1861, 1873, 1895, - /* 540 */ 1876, 1911, 1877, 1880, 1914, 1918, 1921, 1885, 1743, 1926, - /* 550 */ 1928, 1930, 1863, 1931, 1933, 1900, 1887, 1898, 1934, 1903, - /* 560 */ 1890, 1901, 1941, 1907, 1894, 1905, 1945, 1912, 1908, 1922, - /* 570 */ 1950, 1960, 1962, 1964, 1967, 1974, 1881, 1884, 1942, 1956, - /* 580 */ 1979, 1946, 1947, 1948, 1949, 1951, 1953, 1954, 1936, 1958, - /* 590 */ 1955, 1963, 1969, 1965, 1985, 1975, 2003, 1983, 1957, 2007, - /* 600 */ 1987, 1976, 2010, 1980, 2012, 1982, 2019, 1992, 2000, 1989, - /* 610 */ 1990, 1991, 1923, 1919, 2028, 1858, 1929, 1833, 1994, 2011, - /* 620 */ 2036, 1856, 2016, 1883, 1893, 2049, 2053, 1896, 1891, 1902, - /* 630 */ 1892, 2068, 2029, 1811, 1978, 1968, 1993, 2030, 1996, 2031, - /* 640 */ 1981, 1973, 2039, 2042, 1998, 1995, 1997, 2009, 2006, 2051, - /* 650 */ 2067, 2069, 2015, 2071, 1854, 2013, 2017, 2117, 2078, 1882, - /* 660 */ 2088, 2091, 2093, 2095, 2097, 2098, 2025, 2032, 2090, 1917, - /* 670 */ 2100, 2092, 2135, 2138, 2038, 2103, 1861, 2099, 2045, 2048, - /* 680 */ 2050, 2046, 2054, 1984, 2055, 2151, 2121, 1999, 2061, 2040, - /* 690 */ 1861, 2109, 2133, 2079, 1937, 2082, 2192, 2173, 1986, 2096, - /* 700 */ 2102, 2105, 2107, 2110, 2119, 2149, 2118, 2122, 2150, 2120, - /* 710 */ 2176, 2002, 2126, 2086, 2140, 2166, 2167, 2134, 2141, 2168, - /* 720 */ 2136, 2148, 2222, 2155, 2156, 2224, 2158, 2159, 2227, 2161, - /* 730 */ 2162, 2232, 2169, 2144, 2145, 2146, 2152, 2170, 2230, 2172, - /* 740 */ 2241, 2175, 2230, 2230, 2257, 2212, 2215, 2249, 2250, 2251, - /* 750 */ 2252, 2253, 2254, 2256, 2259, 2226, 2206, 2260, 2271, 2273, - /* 760 */ 2274, 2288, 2276, 2277, 2278, 2239, 1936, 2280, 1958, 2282, - /* 770 */ 2285, 2292, 2296, 2310, 2298, 2334, 2300, 2287, 2299, 2337, - /* 780 */ 2304, 2295, 2303, 2345, 2319, 2306, 2313, 2358, 2324, 2311, - /* 790 */ 2322, 2362, 2328, 2329, 2365, 2348, 2346, 2350, 2351, 2353, - /* 800 */ 2355, + /* 50 */ 673, 481, 520, 587, 43, 29, 403, 29, 43, 43, + /* 60 */ 29, 1489, 29, 1489, 1489, 28, 29, 66, 822, 105, + /* 70 */ 105, 822, 413, 413, 122, 228, 90, 90, 105, 105, + /* 80 */ 105, 105, 105, 105, 105, 105, 105, 105, 346, 105, + /* 90 */ 105, 111, 66, 105, 105, 380, 66, 105, 346, 105, + /* 100 */ 346, 66, 105, 105, 66, 105, 66, 66, 66, 105, + /* 110 */ 194, 1004, 15, 15, 344, 171, 1109, 1109, 1109, 1109, + /* 120 */ 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, 1109, + /* 130 */ 1109, 1109, 1109, 1109, 1109, 617, 384, 122, 228, 817, + /* 140 */ 817, 9, 639, 639, 639, 981, 689, 689, 9, 111, + /* 150 */ 66, 66, 66, 66, 385, 267, 66, 461, 66, 461, + /* 160 */ 461, 476, 591, 261, 261, 261, 261, 2112, 851, 185, + /* 170 */ 270, 436, 218, 567, 130, 123, 123, 294, 425, 874, + /* 180 */ 1013, 780, 1056, 1183, 635, 1036, 954, 356, 433, 954, + /* 190 */ 1019, 633, 1045, 1097, 1327, 1359, 1174, 111, 1359, 111, + /* 200 */ 1206, 1376, 1366, 1381, 1376, 1366, 1259, 1411, 1376, 1411, + /* 210 */ 1366, 1259, 1259, 1339, 1343, 1411, 1349, 1411, 1411, 1411, + /* 220 */ 1434, 1408, 1434, 1408, 1359, 111, 1444, 111, 1451, 1458, + /* 230 */ 111, 1451, 111, 111, 111, 1411, 111, 1434, 66, 66, + /* 240 */ 66, 66, 66, 66, 66, 1411, 1434, 461, 461, 461, + /* 250 */ 1308, 1433, 1359, 194, 1351, 1354, 1444, 194, 1360, 1097, + /* 260 */ 1411, 1381, 1381, 461, 1293, 1296, 461, 1293, 1296, 461, + /* 270 */ 461, 66, 1297, 1396, 1293, 1300, 1304, 1322, 1097, 1301, + /* 280 */ 1309, 1319, 1332, 1376, 1583, 1350, 1451, 194, 194, 1584, + /* 290 */ 1296, 461, 461, 461, 461, 461, 1296, 461, 1464, 194, + /* 300 */ 476, 194, 1376, 1544, 1549, 461, 591, 1411, 194, 1633, + /* 310 */ 1434, 3035, 3035, 3035, 3035, 3035, 3035, 3035, 3035, 3035, + /* 320 */ 1002, 680, 225, 34, 453, 510, 627, 821, 971, 980, + /* 330 */ 1107, 990, 743, 743, 743, 743, 743, 743, 743, 743, + /* 340 */ 743, 629, 152, 107, 107, 359, 589, 447, 205, 81, + /* 350 */ 224, 683, 426, 895, 830, 830, 585, 857, 300, 585, + /* 360 */ 585, 585, 307, 1021, 1133, 1200, 1189, 1105, 144, 1129, + /* 370 */ 1134, 1139, 1147, 1237, 1246, 1230, 1283, 1284, 1049, 1216, + /* 380 */ 1220, 1239, 1245, 1252, 1254, 1163, 988, 1096, 1255, 1263, + /* 390 */ 1265, 1266, 1268, 1271, 1315, 1278, 252, 1281, 1261, 1286, + /* 400 */ 1307, 1311, 1313, 1318, 1321, 1270, 1205, 1251, 1353, 1358, + /* 410 */ 1253, 1290, 1678, 1685, 1686, 1645, 1689, 1655, 1475, 1657, + /* 420 */ 1658, 1660, 1480, 1697, 1663, 1664, 1484, 1701, 1486, 1703, + /* 430 */ 1670, 1706, 1687, 1707, 1673, 1499, 1711, 1516, 1716, 1518, + /* 440 */ 1519, 1525, 1529, 1721, 1722, 1724, 1545, 1547, 1735, 1737, + /* 450 */ 1691, 1739, 1740, 1741, 1695, 1744, 1704, 1745, 1747, 1748, + /* 460 */ 1702, 1750, 1751, 1752, 1753, 1757, 1758, 1600, 1725, 1761, + /* 470 */ 1603, 1763, 1764, 1766, 1767, 1768, 1769, 1771, 1773, 1774, + /* 480 */ 1781, 1783, 1784, 1785, 1786, 1787, 1788, 1742, 1791, 1759, + /* 490 */ 1793, 1803, 1804, 1808, 1810, 1811, 1790, 1815, 1816, 1817, + /* 500 */ 1675, 1819, 1820, 1799, 1776, 1800, 1777, 1826, 1770, 1795, + /* 510 */ 1831, 1772, 1833, 1775, 1835, 1836, 1805, 1789, 1818, 1842, + /* 520 */ 1823, 1796, 1821, 1855, 1827, 1812, 1828, 1859, 1834, 1866, + /* 530 */ 1829, 1837, 1762, 1830, 1838, 1856, 1839, 1873, 1840, 1843, + /* 540 */ 1875, 1878, 1884, 1848, 1708, 1889, 1891, 1892, 1841, 1893, + /* 550 */ 1897, 1860, 1849, 1861, 1902, 1877, 1864, 1879, 1919, 1894, + /* 560 */ 1882, 1887, 1928, 1899, 1896, 1905, 1941, 1946, 1947, 1948, + /* 570 */ 1949, 1951, 1851, 1844, 1918, 1942, 1965, 1931, 1932, 1933, + /* 580 */ 1934, 1935, 1938, 1939, 1936, 1937, 1940, 1943, 1955, 1952, + /* 590 */ 1982, 1962, 1986, 1966, 1944, 1989, 1968, 1956, 1992, 1958, + /* 600 */ 1994, 1963, 1997, 1977, 1981, 1967, 1969, 1970, 1903, 1900, + /* 610 */ 2009, 1845, 1907, 1814, 1979, 1993, 2016, 1846, 1996, 1850, + /* 620 */ 1858, 2020, 2034, 1865, 1852, 1869, 1867, 2033, 1998, 1778, + /* 630 */ 1957, 1954, 1960, 1990, 1950, 2002, 1945, 1961, 2023, 2024, + /* 640 */ 1973, 1971, 1975, 1976, 1991, 2025, 2017, 2029, 1978, 2026, + /* 650 */ 1807, 1995, 1999, 2068, 2036, 1847, 2048, 2050, 2051, 2058, + /* 660 */ 2061, 2063, 2000, 2001, 2053, 1862, 2057, 2055, 2106, 2108, + /* 670 */ 2007, 2083, 1830, 2076, 2021, 2022, 2028, 2027, 2031, 1964, + /* 680 */ 2032, 2125, 2089, 1980, 2035, 2014, 1830, 2082, 2093, 2039, + /* 690 */ 1888, 2040, 2140, 2121, 1923, 2041, 2046, 2049, 2047, 2052, + /* 700 */ 2056, 2107, 2054, 2059, 2109, 2060, 2137, 1959, 2064, 2065, + /* 710 */ 2069, 2128, 2130, 2072, 2073, 2133, 2075, 2077, 2145, 2079, + /* 720 */ 2090, 2151, 2094, 2092, 2164, 2098, 2099, 2167, 2101, 2080, + /* 730 */ 2081, 2084, 2085, 2186, 2097, 2110, 2165, 2116, 2180, 2117, + /* 740 */ 2165, 2165, 2199, 2153, 2155, 2189, 2190, 2191, 2192, 2193, + /* 750 */ 2194, 2195, 2196, 2157, 2136, 2201, 2200, 2203, 2213, 2227, + /* 760 */ 2216, 2218, 2220, 2181, 1936, 2230, 1937, 2231, 2232, 2233, + /* 770 */ 2234, 2248, 2236, 2272, 2239, 2226, 2238, 2278, 2244, 2235, + /* 780 */ 2241, 2281, 2247, 2237, 2249, 2283, 2255, 2242, 2254, 2294, + /* 790 */ 2261, 2262, 2298, 2279, 2282, 2284, 2285, 2287, 2280, }; -#define YY_REDUCE_COUNT (323) -#define YY_REDUCE_MIN (-412) -#define YY_REDUCE_MAX (2406) +#define YY_REDUCE_COUNT (319) +#define YY_REDUCE_MIN (-407) +#define YY_REDUCE_MAX (2594) static const short yy_reduce_ofst[] = { - /* 0 */ 275, -283, -134, -27, 158, 205, 539, 850, 897, 970, - /* 10 */ 1003, 1107, 1154, 389, 1218, 1243, 1292, -342, 1356, 87, - /* 20 */ 358, 1418, 1455, 1518, 1535, 1607, 1624, 1654, 1671, 1733, - /* 30 */ 1751, 1782, 1798, 1813, 1862, 1888, 1913, 1977, 1988, 2014, - /* 40 */ 2047, 2094, 2114, 2163, 2193, 2242, 2266, 2293, 2317, 2383, - /* 50 */ 2406, 479, 70, -406, 167, -349, 284, 716, 592, 681, - /* 60 */ 908, -366, -377, -350, -325, -341, -11, -207, -355, 378, - /* 70 */ 393, -189, -345, -163, 69, -102, -344, -239, 134, 191, - /* 80 */ 338, 414, 4, 238, 486, 494, 508, 256, -41, 600, - /* 90 */ 609, -352, 233, 674, 751, -291, 341, 764, 101, 768, - /* 100 */ 298, -301, 772, 774, 352, 860, 496, 823, 981, 863, - /* 110 */ 83, -336, -412, -412, -53, -324, -293, -214, 214, 363, - /* 120 */ 461, 500, 553, 595, 607, 685, 708, 757, 830, 837, - /* 130 */ 856, 890, 931, 934, 937, -321, 126, -103, 304, 571, - /* 140 */ 599, 664, 126, 193, 400, -136, 89, 296, 745, 675, - /* 150 */ 357, -117, -22, 368, 76, 649, 827, 800, 868, 517, - /* 160 */ 559, 569, 604, 663, 686, 731, 663, 603, 775, 807, - /* 170 */ 831, 699, 845, 1023, 866, 989, 1014, 1009, 988, 1009, - /* 180 */ 1035, 1010, 1064, 1068, 1032, 1022, 965, 965, 947, 965, - /* 190 */ 976, 966, 1009, 1033, 1029, 1030, 1036, 1100, 1040, 1104, - /* 200 */ 1051, 1116, 1071, 1073, 1125, 1081, 1085, 1134, 1132, 1135, - /* 210 */ 1089, 1092, 1093, 1128, 1137, 1144, 1131, 1147, 1151, 1152, - /* 220 */ 1164, 1162, 1167, 1166, 1090, 1153, 1122, 1168, 1172, 1113, - /* 230 */ 1169, 1177, 1173, 1176, 1178, 1180, 1179, 1205, 1175, 1181, - /* 240 */ 1183, 1184, 1185, 1187, 1189, 1191, 1192, 1193, 1194, 1199, - /* 250 */ 1207, 1140, 1174, 1201, 1136, 1155, 1146, 1217, 1156, 1158, - /* 260 */ 1202, 1222, 1190, 1195, 1232, 1200, 1209, 1211, 1138, 1206, - /* 270 */ 1223, 1145, 1210, 1224, 1226, 1009, 1149, 1129, 1159, 1163, - /* 280 */ 1160, 1196, 1213, 1141, 1203, 1212, 965, 1286, 1215, 1197, - /* 290 */ 1287, 1283, 1285, 1240, 1242, 1258, 1265, 1271, 1272, 1282, - /* 300 */ 1252, 1290, 1257, 1309, 1299, 1310, 1336, 1239, 1308, 1304, - /* 310 */ 1327, 1350, 1341, 1357, 1359, 1288, 1289, 1298, 1301, 1333, - /* 320 */ 1339, 1342, 1355, 1365, + /* 0 */ 406, -283, -134, -27, 158, 840, 901, 969, 1032, 1058, + /* 10 */ 264, 1093, 1162, 368, 394, 1190, 1225, -341, 1342, 1362, + /* 20 */ 1413, 1471, 1487, 1502, 1522, 1591, 1619, 1654, 1681, 1755, + /* 30 */ 1806, 1824, 1895, 1921, 1953, 1972, 2030, 2062, 2088, 2120, + /* 40 */ 2188, 2219, 2251, 2277, 2348, 2367, 2383, 2457, 2473, 2524, + /* 50 */ 2594, 169, -377, 70, 11, -407, 721, 783, 24, 78, + /* 60 */ 835, -366, 408, -312, 351, -371, 568, -314, -349, -222, + /* 70 */ -191, -373, -343, -73, -362, -71, -188, 304, -177, 146, + /* 80 */ 191, 256, 336, 418, 484, 505, 511, 442, -184, 522, + /* 90 */ 573, -352, 164, 575, 580, 50, 366, 620, 23, 626, + /* 100 */ 180, 241, 674, 687, 397, 759, 445, 488, 594, 761, + /* 110 */ 827, -342, -334, -334, -180, -326, -21, 154, 320, 379, + /* 120 */ 382, 506, 712, 717, 722, 725, 794, 795, 799, 804, + /* 130 */ 826, 836, 837, 856, 859, -81, -353, 38, 444, 563, + /* 140 */ 581, 584, -353, 259, 375, -210, -224, -93, 675, 676, + /* 150 */ 669, 754, 758, 762, -335, -117, 769, 338, 249, 489, + /* 160 */ 784, 838, 805, -388, 301, 308, -388, 285, 574, 364, + /* 170 */ 393, 480, 311, 621, 607, 735, 739, 764, 763, 764, + /* 180 */ 861, 779, 913, 974, 936, 940, 882, 882, 865, 882, + /* 190 */ 894, 890, 764, 955, 948, 956, 960, 1029, 970, 1031, + /* 200 */ 979, 1066, 1020, 1025, 1071, 1030, 1033, 1081, 1082, 1085, + /* 210 */ 1034, 1040, 1041, 1077, 1080, 1095, 1086, 1098, 1100, 1102, + /* 220 */ 1111, 1110, 1113, 1115, 1037, 1101, 1079, 1116, 1122, 1067, + /* 230 */ 1120, 1136, 1130, 1137, 1140, 1131, 1146, 1155, 1126, 1127, + /* 240 */ 1132, 1135, 1138, 1144, 1153, 1161, 1171, 1125, 1128, 1143, + /* 250 */ 1121, 1117, 1124, 1179, 1118, 1141, 1158, 1191, 1149, 1145, + /* 260 */ 1202, 1157, 1160, 1165, 1091, 1159, 1177, 1103, 1166, 1178, + /* 270 */ 1182, 764, 1104, 1108, 1112, 1119, 1148, 1142, 1172, 1106, + /* 280 */ 1123, 1150, 882, 1258, 1180, 1169, 1269, 1275, 1276, 1211, + /* 290 */ 1214, 1243, 1244, 1247, 1248, 1256, 1222, 1257, 1240, 1285, + /* 300 */ 1274, 1287, 1294, 1201, 1272, 1262, 1298, 1306, 1312, 1326, + /* 310 */ 1328, 1260, 1250, 1267, 1273, 1303, 1305, 1314, 1324, 1334, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 10 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 20 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 30 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 40 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 50 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 60 */ 2095, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 70 */ 1784, 1784, 1784, 1784, 2068, 1784, 1784, 1784, 1784, 1784, - /* 80 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 90 */ 1784, 1873, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 100 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 110 */ 1871, 2061, 2287, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 120 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 130 */ 1784, 1784, 1784, 1784, 1784, 1784, 2299, 1784, 1784, 1847, - /* 140 */ 1847, 1784, 2299, 2299, 2299, 1871, 2259, 2259, 1784, 1873, - /* 150 */ 2129, 1784, 1784, 1784, 1784, 1784, 1784, 1993, 1784, 1784, - /* 160 */ 1784, 1784, 1784, 2017, 1784, 1784, 1784, 2121, 1784, 1784, - /* 170 */ 2326, 2383, 1784, 1784, 2329, 1784, 1784, 1784, 1784, 1784, - /* 180 */ 1784, 2073, 1784, 1784, 1946, 2316, 2291, 2305, 2367, 2292, - /* 190 */ 2289, 2310, 1784, 2320, 1784, 1784, 2143, 1873, 1784, 1873, - /* 200 */ 2108, 1784, 2066, 1784, 1784, 2066, 2063, 1784, 1784, 1784, - /* 210 */ 2066, 2063, 2063, 1935, 1931, 1784, 1929, 1784, 1784, 1784, - /* 220 */ 1784, 1831, 1784, 1831, 1784, 1873, 1784, 1873, 1784, 1784, - /* 230 */ 1873, 1784, 1873, 1873, 1873, 1784, 1873, 1784, 1784, 1784, - /* 240 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 250 */ 1784, 1784, 1784, 1784, 2141, 2127, 1784, 1871, 2119, 2117, - /* 260 */ 1784, 1871, 2115, 2320, 1784, 1784, 1784, 1784, 2337, 2335, - /* 270 */ 1784, 2337, 2335, 1784, 1784, 1784, 2351, 2347, 2337, 2356, - /* 280 */ 2353, 2322, 2320, 2386, 2373, 2369, 2305, 1784, 1784, 2308, - /* 290 */ 1784, 1871, 1871, 1784, 2335, 1784, 1784, 1784, 1784, 1784, - /* 300 */ 2335, 1784, 1784, 1871, 1784, 1871, 1784, 1784, 1962, 1784, - /* 310 */ 1784, 1784, 1871, 1816, 1784, 2110, 2132, 2091, 2091, 1996, - /* 320 */ 1996, 1996, 1874, 1789, 1784, 1784, 1784, 1784, 1784, 1784, - /* 330 */ 1784, 1784, 1784, 1784, 1784, 1784, 2350, 2349, 2214, 1784, - /* 340 */ 2263, 2262, 2261, 2252, 2213, 1958, 1784, 2212, 2211, 1784, - /* 350 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 2082, 2081, - /* 360 */ 2205, 1784, 1784, 2206, 2204, 2203, 1784, 1784, 1784, 1784, - /* 370 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 380 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 390 */ 2370, 2374, 1784, 1784, 1784, 1784, 1784, 1784, 2288, 1784, - /* 400 */ 1784, 1784, 2187, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 410 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 420 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 430 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 440 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 450 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 460 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 470 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 480 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 490 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 500 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 510 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 520 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 530 */ 1784, 1784, 1784, 1784, 1784, 1784, 1821, 2192, 1784, 1784, - /* 540 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 550 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 560 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 570 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 580 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1912, 1911, - /* 590 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 600 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 610 */ 1784, 1784, 2196, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 620 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 630 */ 1784, 2366, 2323, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 640 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 650 */ 1784, 2187, 1784, 2348, 1784, 1784, 2364, 1784, 2368, 1784, - /* 660 */ 1784, 1784, 1784, 1784, 1784, 1784, 2298, 2294, 1784, 1784, - /* 670 */ 2290, 1784, 1784, 1784, 1784, 1784, 2195, 1784, 1784, 1784, - /* 680 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 690 */ 2186, 1784, 2249, 1784, 1784, 1784, 2283, 1784, 1784, 2234, - /* 700 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 2196, - /* 710 */ 1784, 2199, 1784, 1784, 1784, 1784, 1784, 1990, 1784, 1784, - /* 720 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 730 */ 1784, 1784, 1784, 1974, 1972, 1971, 1970, 1784, 2003, 1784, - /* 740 */ 1784, 1784, 1999, 1998, 1784, 1784, 1784, 1784, 1784, 1784, - /* 750 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1892, 1784, 1784, - /* 760 */ 1784, 1784, 1784, 1784, 1784, 1784, 1884, 1784, 1883, 1784, - /* 770 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 780 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 790 */ 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, 1784, - /* 800 */ 1784, + /* 0 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 10 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 20 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 30 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 40 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 50 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 60 */ 2095, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 70 */ 1783, 1783, 1783, 1783, 2068, 1783, 1783, 1783, 1783, 1783, + /* 80 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 90 */ 1783, 1872, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 100 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 110 */ 1870, 2061, 2287, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 120 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 130 */ 1783, 1783, 1783, 1783, 1783, 1783, 2299, 1783, 1783, 1846, + /* 140 */ 1846, 1783, 2299, 2299, 2299, 1870, 2259, 2259, 1783, 1872, + /* 150 */ 1783, 1783, 1783, 1783, 2129, 1783, 1783, 1783, 1783, 1783, + /* 160 */ 1783, 1993, 1783, 2017, 1783, 1783, 1783, 2121, 1783, 1783, + /* 170 */ 2326, 2383, 1783, 1783, 2329, 1783, 1783, 1783, 1783, 1783, + /* 180 */ 1783, 2073, 1783, 1783, 1945, 2316, 2291, 2305, 2367, 2292, + /* 190 */ 2289, 2310, 1783, 2320, 1783, 1783, 2143, 1872, 1783, 1872, + /* 200 */ 2108, 1783, 2066, 1783, 1783, 2066, 2063, 1783, 1783, 1783, + /* 210 */ 2066, 2063, 2063, 1934, 1930, 1783, 1928, 1783, 1783, 1783, + /* 220 */ 1783, 1830, 1783, 1830, 1783, 1872, 1783, 1872, 1783, 1783, + /* 230 */ 1872, 1783, 1872, 1872, 1872, 1783, 1872, 1783, 1783, 1783, + /* 240 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 250 */ 2141, 2127, 1783, 1870, 2119, 2117, 1783, 1870, 2115, 2320, + /* 260 */ 1783, 1783, 1783, 1783, 2337, 2335, 1783, 2337, 2335, 1783, + /* 270 */ 1783, 1783, 2351, 2347, 2337, 2356, 2353, 2322, 2320, 2386, + /* 280 */ 2373, 2369, 2305, 1783, 1783, 2308, 1783, 1870, 1870, 1783, + /* 290 */ 2335, 1783, 1783, 1783, 1783, 1783, 2335, 1783, 1783, 1870, + /* 300 */ 1783, 1870, 1783, 1783, 1961, 1783, 1783, 1783, 1870, 1815, + /* 310 */ 1783, 2110, 2132, 2091, 2091, 1996, 1996, 1996, 1873, 1788, + /* 320 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 330 */ 1783, 1783, 2350, 2349, 2214, 1783, 2263, 2262, 2261, 2252, + /* 340 */ 2213, 1957, 1783, 2212, 2211, 1783, 1783, 1783, 1783, 1783, + /* 350 */ 1783, 1783, 1783, 1783, 2082, 2081, 2205, 1783, 1783, 2206, + /* 360 */ 2204, 2203, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 370 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 380 */ 1783, 1783, 1783, 1783, 1783, 1783, 2370, 2374, 1783, 1783, + /* 390 */ 1783, 1783, 1783, 1783, 2288, 1783, 1783, 1783, 2187, 1783, + /* 400 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 410 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 420 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 430 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 440 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 450 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 460 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 470 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 480 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 490 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 500 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 510 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 520 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 530 */ 1783, 1783, 1820, 2192, 1783, 1783, 1783, 1783, 1783, 1783, + /* 540 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 550 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 560 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 570 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 580 */ 1783, 1783, 1783, 1783, 1911, 1910, 1783, 1783, 1783, 1783, + /* 590 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 600 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 2196, 1783, + /* 610 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 620 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 2366, 2323, 1783, + /* 630 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 640 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 2187, 1783, 2348, + /* 650 */ 1783, 1783, 2364, 1783, 2368, 1783, 1783, 1783, 1783, 1783, + /* 660 */ 1783, 1783, 2298, 2294, 1783, 1783, 2290, 1783, 1783, 1783, + /* 670 */ 1783, 1783, 2195, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 680 */ 1783, 1783, 1783, 1783, 1783, 1783, 2186, 1783, 2249, 1783, + /* 690 */ 1783, 1783, 2283, 1783, 1783, 2234, 1783, 1783, 1783, 1783, + /* 700 */ 1783, 1783, 1783, 1783, 1783, 2196, 1783, 2199, 1783, 1783, + /* 710 */ 1783, 1783, 1783, 1990, 1783, 1783, 1783, 1783, 1783, 1783, + /* 720 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1974, + /* 730 */ 1972, 1971, 1970, 1783, 1967, 1783, 2003, 1783, 1783, 1783, + /* 740 */ 1999, 1998, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 750 */ 1783, 1783, 1783, 1783, 1783, 1891, 1783, 1783, 1783, 1783, + /* 760 */ 1783, 1783, 1783, 1783, 1883, 1783, 1882, 1783, 1783, 1783, + /* 770 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 780 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, + /* 790 */ 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, 1783, }; /********** End of lemon-generated parsing tables *****************************/ @@ -1167,6 +1202,7 @@ static const YYCODETYPE yyFallback[] = { 0, /* NK_EQ => nothing */ 0, /* USING => nothing */ 0, /* TAGS => nothing */ + 0, /* COMMENT => nothing */ 0, /* BOOL => nothing */ 0, /* TINYINT => nothing */ 0, /* SMALLINT => nothing */ @@ -1185,7 +1221,6 @@ static const YYCODETYPE yyFallback[] = { 0, /* VARBINARY => nothing */ 0, /* GEOMETRY => nothing */ 0, /* DECIMAL => nothing */ - 0, /* COMMENT => nothing */ 0, /* MAX_DELAY => nothing */ 0, /* WATERMARK => nothing */ 0, /* ROLLUP => nothing */ @@ -1593,25 +1628,25 @@ static const char *const yyTokenName[] = { /* 112 */ "NK_EQ", /* 113 */ "USING", /* 114 */ "TAGS", - /* 115 */ "BOOL", - /* 116 */ "TINYINT", - /* 117 */ "SMALLINT", - /* 118 */ "INT", - /* 119 */ "INTEGER", - /* 120 */ "BIGINT", - /* 121 */ "FLOAT", - /* 122 */ "DOUBLE", - /* 123 */ "BINARY", - /* 124 */ "NCHAR", - /* 125 */ "UNSIGNED", - /* 126 */ "JSON", - /* 127 */ "VARCHAR", - /* 128 */ "MEDIUMBLOB", - /* 129 */ "BLOB", - /* 130 */ "VARBINARY", - /* 131 */ "GEOMETRY", - /* 132 */ "DECIMAL", - /* 133 */ "COMMENT", + /* 115 */ "COMMENT", + /* 116 */ "BOOL", + /* 117 */ "TINYINT", + /* 118 */ "SMALLINT", + /* 119 */ "INT", + /* 120 */ "INTEGER", + /* 121 */ "BIGINT", + /* 122 */ "FLOAT", + /* 123 */ "DOUBLE", + /* 124 */ "BINARY", + /* 125 */ "NCHAR", + /* 126 */ "UNSIGNED", + /* 127 */ "JSON", + /* 128 */ "VARCHAR", + /* 129 */ "MEDIUMBLOB", + /* 130 */ "BLOB", + /* 131 */ "VARBINARY", + /* 132 */ "GEOMETRY", + /* 133 */ "DECIMAL", /* 134 */ "MAX_DELAY", /* 135 */ "WATERMARK", /* 136 */ "ROLLUP", @@ -1858,15 +1893,15 @@ static const char *const yyTokenName[] = { /* 377 */ "multi_drop_clause", /* 378 */ "alter_table_clause", /* 379 */ "alter_table_options", - /* 380 */ "column_name", - /* 381 */ "type_name", + /* 380 */ "column_def", + /* 381 */ "column_name", /* 382 */ "signed_literal", /* 383 */ "create_subtable_clause", /* 384 */ "specific_cols_opt", /* 385 */ "expression_list", /* 386 */ "drop_table_clause", /* 387 */ "col_name_list", - /* 388 */ "column_def", + /* 388 */ "type_name", /* 389 */ "duration_list", /* 390 */ "rollup_func_list", /* 391 */ "alter_table_option", @@ -2134,13 +2169,13 @@ static const char *const yyRuleName[] = { /* 157 */ "cmd ::= ALTER TABLE alter_table_clause", /* 158 */ "cmd ::= ALTER STABLE alter_table_clause", /* 159 */ "alter_table_clause ::= full_table_name alter_table_options", - /* 160 */ "alter_table_clause ::= full_table_name ADD COLUMN column_name type_name", + /* 160 */ "alter_table_clause ::= full_table_name ADD COLUMN column_def", /* 161 */ "alter_table_clause ::= full_table_name DROP COLUMN column_name", - /* 162 */ "alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name", + /* 162 */ "alter_table_clause ::= full_table_name MODIFY COLUMN column_def", /* 163 */ "alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name", - /* 164 */ "alter_table_clause ::= full_table_name ADD TAG column_name type_name", + /* 164 */ "alter_table_clause ::= full_table_name ADD TAG column_def", /* 165 */ "alter_table_clause ::= full_table_name DROP TAG column_name", - /* 166 */ "alter_table_clause ::= full_table_name MODIFY TAG column_name type_name", + /* 166 */ "alter_table_clause ::= full_table_name MODIFY TAG column_def", /* 167 */ "alter_table_clause ::= full_table_name RENAME TAG column_name column_name", /* 168 */ "alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal", /* 169 */ "multi_create_clause ::= create_subtable_clause", @@ -2156,426 +2191,427 @@ static const char *const yyRuleName[] = { /* 179 */ "column_def_list ::= column_def", /* 180 */ "column_def_list ::= column_def_list NK_COMMA column_def", /* 181 */ "column_def ::= column_name type_name", - /* 182 */ "type_name ::= BOOL", - /* 183 */ "type_name ::= TINYINT", - /* 184 */ "type_name ::= SMALLINT", - /* 185 */ "type_name ::= INT", - /* 186 */ "type_name ::= INTEGER", - /* 187 */ "type_name ::= BIGINT", - /* 188 */ "type_name ::= FLOAT", - /* 189 */ "type_name ::= DOUBLE", - /* 190 */ "type_name ::= BINARY NK_LP NK_INTEGER NK_RP", - /* 191 */ "type_name ::= TIMESTAMP", - /* 192 */ "type_name ::= NCHAR NK_LP NK_INTEGER NK_RP", - /* 193 */ "type_name ::= TINYINT UNSIGNED", - /* 194 */ "type_name ::= SMALLINT UNSIGNED", - /* 195 */ "type_name ::= INT UNSIGNED", - /* 196 */ "type_name ::= BIGINT UNSIGNED", - /* 197 */ "type_name ::= JSON", - /* 198 */ "type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP", - /* 199 */ "type_name ::= MEDIUMBLOB", - /* 200 */ "type_name ::= BLOB", - /* 201 */ "type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP", - /* 202 */ "type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP", - /* 203 */ "type_name ::= DECIMAL", - /* 204 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP", - /* 205 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP", - /* 206 */ "tags_def_opt ::=", - /* 207 */ "tags_def_opt ::= tags_def", - /* 208 */ "tags_def ::= TAGS NK_LP column_def_list NK_RP", - /* 209 */ "table_options ::=", - /* 210 */ "table_options ::= table_options COMMENT NK_STRING", - /* 211 */ "table_options ::= table_options MAX_DELAY duration_list", - /* 212 */ "table_options ::= table_options WATERMARK duration_list", - /* 213 */ "table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP", - /* 214 */ "table_options ::= table_options TTL NK_INTEGER", - /* 215 */ "table_options ::= table_options SMA NK_LP col_name_list NK_RP", - /* 216 */ "table_options ::= table_options DELETE_MARK duration_list", - /* 217 */ "alter_table_options ::= alter_table_option", - /* 218 */ "alter_table_options ::= alter_table_options alter_table_option", - /* 219 */ "alter_table_option ::= COMMENT NK_STRING", - /* 220 */ "alter_table_option ::= TTL NK_INTEGER", - /* 221 */ "duration_list ::= duration_literal", - /* 222 */ "duration_list ::= duration_list NK_COMMA duration_literal", - /* 223 */ "rollup_func_list ::= rollup_func_name", - /* 224 */ "rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name", - /* 225 */ "rollup_func_name ::= function_name", - /* 226 */ "rollup_func_name ::= FIRST", - /* 227 */ "rollup_func_name ::= LAST", - /* 228 */ "col_name_list ::= col_name", - /* 229 */ "col_name_list ::= col_name_list NK_COMMA col_name", - /* 230 */ "col_name ::= column_name", - /* 231 */ "cmd ::= SHOW DNODES", - /* 232 */ "cmd ::= SHOW USERS", - /* 233 */ "cmd ::= SHOW USER PRIVILEGES", - /* 234 */ "cmd ::= SHOW DATABASES", - /* 235 */ "cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt", - /* 236 */ "cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt", - /* 237 */ "cmd ::= SHOW db_name_cond_opt VGROUPS", - /* 238 */ "cmd ::= SHOW MNODES", - /* 239 */ "cmd ::= SHOW QNODES", - /* 240 */ "cmd ::= SHOW FUNCTIONS", - /* 241 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", - /* 242 */ "cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name", - /* 243 */ "cmd ::= SHOW STREAMS", - /* 244 */ "cmd ::= SHOW ACCOUNTS", - /* 245 */ "cmd ::= SHOW APPS", - /* 246 */ "cmd ::= SHOW CONNECTIONS", - /* 247 */ "cmd ::= SHOW LICENCES", - /* 248 */ "cmd ::= SHOW GRANTS", - /* 249 */ "cmd ::= SHOW CREATE DATABASE db_name", - /* 250 */ "cmd ::= SHOW CREATE TABLE full_table_name", - /* 251 */ "cmd ::= SHOW CREATE STABLE full_table_name", - /* 252 */ "cmd ::= SHOW QUERIES", - /* 253 */ "cmd ::= SHOW SCORES", - /* 254 */ "cmd ::= SHOW TOPICS", - /* 255 */ "cmd ::= SHOW VARIABLES", - /* 256 */ "cmd ::= SHOW CLUSTER VARIABLES", - /* 257 */ "cmd ::= SHOW LOCAL VARIABLES", - /* 258 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", - /* 259 */ "cmd ::= SHOW BNODES", - /* 260 */ "cmd ::= SHOW SNODES", - /* 261 */ "cmd ::= SHOW CLUSTER", - /* 262 */ "cmd ::= SHOW TRANSACTIONS", - /* 263 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", - /* 264 */ "cmd ::= SHOW CONSUMERS", - /* 265 */ "cmd ::= SHOW SUBSCRIPTIONS", - /* 266 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", - /* 267 */ "cmd ::= SHOW TAGS FROM db_name NK_DOT table_name", - /* 268 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", - /* 269 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name", - /* 270 */ "cmd ::= SHOW VNODES NK_INTEGER", - /* 271 */ "cmd ::= SHOW VNODES NK_STRING", - /* 272 */ "cmd ::= SHOW db_name_cond_opt ALIVE", - /* 273 */ "cmd ::= SHOW CLUSTER ALIVE", - /* 274 */ "db_name_cond_opt ::=", - /* 275 */ "db_name_cond_opt ::= db_name NK_DOT", - /* 276 */ "like_pattern_opt ::=", - /* 277 */ "like_pattern_opt ::= LIKE NK_STRING", - /* 278 */ "table_name_cond ::= table_name", - /* 279 */ "from_db_opt ::=", - /* 280 */ "from_db_opt ::= FROM db_name", - /* 281 */ "tag_list_opt ::=", - /* 282 */ "tag_list_opt ::= tag_item", - /* 283 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", - /* 284 */ "tag_item ::= TBNAME", - /* 285 */ "tag_item ::= QTAGS", - /* 286 */ "tag_item ::= column_name", - /* 287 */ "tag_item ::= column_name column_alias", - /* 288 */ "tag_item ::= column_name AS column_alias", - /* 289 */ "cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options", - /* 290 */ "cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP", - /* 291 */ "cmd ::= DROP INDEX exists_opt full_index_name", - /* 292 */ "full_index_name ::= index_name", - /* 293 */ "full_index_name ::= db_name NK_DOT index_name", - /* 294 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", - /* 295 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt", - /* 296 */ "func_list ::= func", - /* 297 */ "func_list ::= func_list NK_COMMA func", - /* 298 */ "func ::= sma_func_name NK_LP expression_list NK_RP", - /* 299 */ "sma_func_name ::= function_name", - /* 300 */ "sma_func_name ::= COUNT", - /* 301 */ "sma_func_name ::= FIRST", - /* 302 */ "sma_func_name ::= LAST", - /* 303 */ "sma_func_name ::= LAST_ROW", - /* 304 */ "sma_stream_opt ::=", - /* 305 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", - /* 306 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", - /* 307 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", - /* 308 */ "with_meta ::= AS", - /* 309 */ "with_meta ::= WITH META AS", - /* 310 */ "with_meta ::= ONLY META AS", - /* 311 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", - /* 312 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name", - /* 313 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt", - /* 314 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 315 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 316 */ "cmd ::= DESC full_table_name", - /* 317 */ "cmd ::= DESCRIBE full_table_name", - /* 318 */ "cmd ::= RESET QUERY CACHE", - /* 319 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", - /* 320 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", - /* 321 */ "analyze_opt ::=", - /* 322 */ "analyze_opt ::= ANALYZE", - /* 323 */ "explain_options ::=", - /* 324 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 325 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 326 */ "cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", - /* 327 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 328 */ "agg_func_opt ::=", - /* 329 */ "agg_func_opt ::= AGGREGATE", - /* 330 */ "bufsize_opt ::=", - /* 331 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 332 */ "language_opt ::=", - /* 333 */ "language_opt ::= LANGUAGE NK_STRING", - /* 334 */ "or_replace_opt ::=", - /* 335 */ "or_replace_opt ::= OR REPLACE", - /* 336 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery", - /* 337 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 338 */ "cmd ::= PAUSE STREAM exists_opt stream_name", - /* 339 */ "cmd ::= RESUME STREAM exists_opt ignore_opt stream_name", - /* 340 */ "col_list_opt ::=", - /* 341 */ "col_list_opt ::= NK_LP col_name_list NK_RP", - /* 342 */ "tag_def_or_ref_opt ::=", - /* 343 */ "tag_def_or_ref_opt ::= tags_def", - /* 344 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", - /* 345 */ "stream_options ::=", - /* 346 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 347 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 348 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 349 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 350 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", - /* 351 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", - /* 352 */ "stream_options ::= stream_options DELETE_MARK duration_literal", - /* 353 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", - /* 354 */ "subtable_opt ::=", - /* 355 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", - /* 356 */ "ignore_opt ::=", - /* 357 */ "ignore_opt ::= IGNORE UNTREATED", - /* 358 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 359 */ "cmd ::= KILL QUERY NK_STRING", - /* 360 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 361 */ "cmd ::= BALANCE VGROUP", - /* 362 */ "cmd ::= BALANCE VGROUP LEADER", - /* 363 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 364 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 365 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 366 */ "dnode_list ::= DNODE NK_INTEGER", - /* 367 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 368 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 369 */ "cmd ::= query_or_subquery", - /* 370 */ "cmd ::= insert_query", - /* 371 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 372 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", - /* 373 */ "literal ::= NK_INTEGER", - /* 374 */ "literal ::= NK_FLOAT", - /* 375 */ "literal ::= NK_STRING", - /* 376 */ "literal ::= NK_BOOL", - /* 377 */ "literal ::= TIMESTAMP NK_STRING", - /* 378 */ "literal ::= duration_literal", - /* 379 */ "literal ::= NULL", - /* 380 */ "literal ::= NK_QUESTION", - /* 381 */ "duration_literal ::= NK_VARIABLE", - /* 382 */ "signed ::= NK_INTEGER", - /* 383 */ "signed ::= NK_PLUS NK_INTEGER", - /* 384 */ "signed ::= NK_MINUS NK_INTEGER", - /* 385 */ "signed ::= NK_FLOAT", - /* 386 */ "signed ::= NK_PLUS NK_FLOAT", - /* 387 */ "signed ::= NK_MINUS NK_FLOAT", - /* 388 */ "signed_literal ::= signed", - /* 389 */ "signed_literal ::= NK_STRING", - /* 390 */ "signed_literal ::= NK_BOOL", - /* 391 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 392 */ "signed_literal ::= duration_literal", - /* 393 */ "signed_literal ::= NULL", - /* 394 */ "signed_literal ::= literal_func", - /* 395 */ "signed_literal ::= NK_QUESTION", - /* 396 */ "literal_list ::= signed_literal", - /* 397 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 398 */ "db_name ::= NK_ID", - /* 399 */ "table_name ::= NK_ID", - /* 400 */ "column_name ::= NK_ID", - /* 401 */ "function_name ::= NK_ID", - /* 402 */ "table_alias ::= NK_ID", - /* 403 */ "column_alias ::= NK_ID", - /* 404 */ "user_name ::= NK_ID", - /* 405 */ "topic_name ::= NK_ID", - /* 406 */ "stream_name ::= NK_ID", - /* 407 */ "cgroup_name ::= NK_ID", - /* 408 */ "index_name ::= NK_ID", - /* 409 */ "expr_or_subquery ::= expression", - /* 410 */ "expression ::= literal", - /* 411 */ "expression ::= pseudo_column", - /* 412 */ "expression ::= column_reference", - /* 413 */ "expression ::= function_expression", - /* 414 */ "expression ::= case_when_expression", - /* 415 */ "expression ::= NK_LP expression NK_RP", - /* 416 */ "expression ::= NK_PLUS expr_or_subquery", - /* 417 */ "expression ::= NK_MINUS expr_or_subquery", - /* 418 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 419 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 420 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 421 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 422 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 423 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 424 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 425 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 426 */ "expression_list ::= expr_or_subquery", - /* 427 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 428 */ "column_reference ::= column_name", - /* 429 */ "column_reference ::= table_name NK_DOT column_name", - /* 430 */ "pseudo_column ::= ROWTS", - /* 431 */ "pseudo_column ::= TBNAME", - /* 432 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 433 */ "pseudo_column ::= QSTART", - /* 434 */ "pseudo_column ::= QEND", - /* 435 */ "pseudo_column ::= QDURATION", - /* 436 */ "pseudo_column ::= WSTART", - /* 437 */ "pseudo_column ::= WEND", - /* 438 */ "pseudo_column ::= WDURATION", - /* 439 */ "pseudo_column ::= IROWTS", - /* 440 */ "pseudo_column ::= ISFILLED", - /* 441 */ "pseudo_column ::= QTAGS", - /* 442 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 443 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 444 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 445 */ "function_expression ::= literal_func", - /* 446 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 447 */ "literal_func ::= NOW", - /* 448 */ "noarg_func ::= NOW", - /* 449 */ "noarg_func ::= TODAY", - /* 450 */ "noarg_func ::= TIMEZONE", - /* 451 */ "noarg_func ::= DATABASE", - /* 452 */ "noarg_func ::= CLIENT_VERSION", - /* 453 */ "noarg_func ::= SERVER_VERSION", - /* 454 */ "noarg_func ::= SERVER_STATUS", - /* 455 */ "noarg_func ::= CURRENT_USER", - /* 456 */ "noarg_func ::= USER", - /* 457 */ "star_func ::= COUNT", - /* 458 */ "star_func ::= FIRST", - /* 459 */ "star_func ::= LAST", - /* 460 */ "star_func ::= LAST_ROW", - /* 461 */ "star_func_para_list ::= NK_STAR", - /* 462 */ "star_func_para_list ::= other_para_list", - /* 463 */ "other_para_list ::= star_func_para", - /* 464 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 465 */ "star_func_para ::= expr_or_subquery", - /* 466 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 467 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 468 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 469 */ "when_then_list ::= when_then_expr", - /* 470 */ "when_then_list ::= when_then_list when_then_expr", - /* 471 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 472 */ "case_when_else_opt ::=", - /* 473 */ "case_when_else_opt ::= ELSE common_expression", - /* 474 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 475 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 476 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 477 */ "predicate ::= expr_or_subquery IS NULL", - /* 478 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 479 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 480 */ "compare_op ::= NK_LT", - /* 481 */ "compare_op ::= NK_GT", - /* 482 */ "compare_op ::= NK_LE", - /* 483 */ "compare_op ::= NK_GE", - /* 484 */ "compare_op ::= NK_NE", - /* 485 */ "compare_op ::= NK_EQ", - /* 486 */ "compare_op ::= LIKE", - /* 487 */ "compare_op ::= NOT LIKE", - /* 488 */ "compare_op ::= MATCH", - /* 489 */ "compare_op ::= NMATCH", - /* 490 */ "compare_op ::= CONTAINS", - /* 491 */ "in_op ::= IN", - /* 492 */ "in_op ::= NOT IN", - /* 493 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 494 */ "boolean_value_expression ::= boolean_primary", - /* 495 */ "boolean_value_expression ::= NOT boolean_primary", - /* 496 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 497 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 498 */ "boolean_primary ::= predicate", - /* 499 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 500 */ "common_expression ::= expr_or_subquery", - /* 501 */ "common_expression ::= boolean_value_expression", - /* 502 */ "from_clause_opt ::=", - /* 503 */ "from_clause_opt ::= FROM table_reference_list", - /* 504 */ "table_reference_list ::= table_reference", - /* 505 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 506 */ "table_reference ::= table_primary", - /* 507 */ "table_reference ::= joined_table", - /* 508 */ "table_primary ::= table_name alias_opt", - /* 509 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 510 */ "table_primary ::= subquery alias_opt", - /* 511 */ "table_primary ::= parenthesized_joined_table", - /* 512 */ "alias_opt ::=", - /* 513 */ "alias_opt ::= table_alias", - /* 514 */ "alias_opt ::= AS table_alias", - /* 515 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 516 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 517 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 518 */ "join_type ::=", - /* 519 */ "join_type ::= INNER", - /* 520 */ "query_specification ::= SELECT hint_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", - /* 521 */ "hint_list ::=", - /* 522 */ "hint_list ::= NK_HINT", - /* 523 */ "set_quantifier_opt ::=", - /* 524 */ "set_quantifier_opt ::= DISTINCT", - /* 525 */ "set_quantifier_opt ::= ALL", - /* 526 */ "select_list ::= select_item", - /* 527 */ "select_list ::= select_list NK_COMMA select_item", - /* 528 */ "select_item ::= NK_STAR", - /* 529 */ "select_item ::= common_expression", - /* 530 */ "select_item ::= common_expression column_alias", - /* 531 */ "select_item ::= common_expression AS column_alias", - /* 532 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 533 */ "where_clause_opt ::=", - /* 534 */ "where_clause_opt ::= WHERE search_condition", - /* 535 */ "partition_by_clause_opt ::=", - /* 536 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 537 */ "partition_list ::= partition_item", - /* 538 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 539 */ "partition_item ::= expr_or_subquery", - /* 540 */ "partition_item ::= expr_or_subquery column_alias", - /* 541 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 542 */ "twindow_clause_opt ::=", - /* 543 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 544 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 545 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 546 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 547 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 548 */ "sliding_opt ::=", - /* 549 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 550 */ "fill_opt ::=", - /* 551 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 552 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", - /* 553 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", - /* 554 */ "fill_mode ::= NONE", - /* 555 */ "fill_mode ::= PREV", - /* 556 */ "fill_mode ::= NULL", - /* 557 */ "fill_mode ::= NULL_F", - /* 558 */ "fill_mode ::= LINEAR", - /* 559 */ "fill_mode ::= NEXT", - /* 560 */ "group_by_clause_opt ::=", - /* 561 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 562 */ "group_by_list ::= expr_or_subquery", - /* 563 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 564 */ "having_clause_opt ::=", - /* 565 */ "having_clause_opt ::= HAVING search_condition", - /* 566 */ "range_opt ::=", - /* 567 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 568 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", - /* 569 */ "every_opt ::=", - /* 570 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 571 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 572 */ "query_simple ::= query_specification", - /* 573 */ "query_simple ::= union_query_expression", - /* 574 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 575 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 576 */ "query_simple_or_subquery ::= query_simple", - /* 577 */ "query_simple_or_subquery ::= subquery", - /* 578 */ "query_or_subquery ::= query_expression", - /* 579 */ "query_or_subquery ::= subquery", - /* 580 */ "order_by_clause_opt ::=", - /* 581 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 582 */ "slimit_clause_opt ::=", - /* 583 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 584 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 585 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 586 */ "limit_clause_opt ::=", - /* 587 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 588 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 589 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 590 */ "subquery ::= NK_LP query_expression NK_RP", - /* 591 */ "subquery ::= NK_LP subquery NK_RP", - /* 592 */ "search_condition ::= common_expression", - /* 593 */ "sort_specification_list ::= sort_specification", - /* 594 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 595 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 596 */ "ordering_specification_opt ::=", - /* 597 */ "ordering_specification_opt ::= ASC", - /* 598 */ "ordering_specification_opt ::= DESC", - /* 599 */ "null_ordering_opt ::=", - /* 600 */ "null_ordering_opt ::= NULLS FIRST", - /* 601 */ "null_ordering_opt ::= NULLS LAST", + /* 182 */ "column_def ::= column_name type_name COMMENT NK_STRING", + /* 183 */ "type_name ::= BOOL", + /* 184 */ "type_name ::= TINYINT", + /* 185 */ "type_name ::= SMALLINT", + /* 186 */ "type_name ::= INT", + /* 187 */ "type_name ::= INTEGER", + /* 188 */ "type_name ::= BIGINT", + /* 189 */ "type_name ::= FLOAT", + /* 190 */ "type_name ::= DOUBLE", + /* 191 */ "type_name ::= BINARY NK_LP NK_INTEGER NK_RP", + /* 192 */ "type_name ::= TIMESTAMP", + /* 193 */ "type_name ::= NCHAR NK_LP NK_INTEGER NK_RP", + /* 194 */ "type_name ::= TINYINT UNSIGNED", + /* 195 */ "type_name ::= SMALLINT UNSIGNED", + /* 196 */ "type_name ::= INT UNSIGNED", + /* 197 */ "type_name ::= BIGINT UNSIGNED", + /* 198 */ "type_name ::= JSON", + /* 199 */ "type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP", + /* 200 */ "type_name ::= MEDIUMBLOB", + /* 201 */ "type_name ::= BLOB", + /* 202 */ "type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP", + /* 203 */ "type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP", + /* 204 */ "type_name ::= DECIMAL", + /* 205 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP", + /* 206 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP", + /* 207 */ "tags_def_opt ::=", + /* 208 */ "tags_def_opt ::= tags_def", + /* 209 */ "tags_def ::= TAGS NK_LP column_def_list NK_RP", + /* 210 */ "table_options ::=", + /* 211 */ "table_options ::= table_options COMMENT NK_STRING", + /* 212 */ "table_options ::= table_options MAX_DELAY duration_list", + /* 213 */ "table_options ::= table_options WATERMARK duration_list", + /* 214 */ "table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP", + /* 215 */ "table_options ::= table_options TTL NK_INTEGER", + /* 216 */ "table_options ::= table_options SMA NK_LP col_name_list NK_RP", + /* 217 */ "table_options ::= table_options DELETE_MARK duration_list", + /* 218 */ "alter_table_options ::= alter_table_option", + /* 219 */ "alter_table_options ::= alter_table_options alter_table_option", + /* 220 */ "alter_table_option ::= COMMENT NK_STRING", + /* 221 */ "alter_table_option ::= TTL NK_INTEGER", + /* 222 */ "duration_list ::= duration_literal", + /* 223 */ "duration_list ::= duration_list NK_COMMA duration_literal", + /* 224 */ "rollup_func_list ::= rollup_func_name", + /* 225 */ "rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name", + /* 226 */ "rollup_func_name ::= function_name", + /* 227 */ "rollup_func_name ::= FIRST", + /* 228 */ "rollup_func_name ::= LAST", + /* 229 */ "col_name_list ::= col_name", + /* 230 */ "col_name_list ::= col_name_list NK_COMMA col_name", + /* 231 */ "col_name ::= column_name", + /* 232 */ "cmd ::= SHOW DNODES", + /* 233 */ "cmd ::= SHOW USERS", + /* 234 */ "cmd ::= SHOW USER PRIVILEGES", + /* 235 */ "cmd ::= SHOW DATABASES", + /* 236 */ "cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt", + /* 237 */ "cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt", + /* 238 */ "cmd ::= SHOW db_name_cond_opt VGROUPS", + /* 239 */ "cmd ::= SHOW MNODES", + /* 240 */ "cmd ::= SHOW QNODES", + /* 241 */ "cmd ::= SHOW FUNCTIONS", + /* 242 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", + /* 243 */ "cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name", + /* 244 */ "cmd ::= SHOW STREAMS", + /* 245 */ "cmd ::= SHOW ACCOUNTS", + /* 246 */ "cmd ::= SHOW APPS", + /* 247 */ "cmd ::= SHOW CONNECTIONS", + /* 248 */ "cmd ::= SHOW LICENCES", + /* 249 */ "cmd ::= SHOW GRANTS", + /* 250 */ "cmd ::= SHOW CREATE DATABASE db_name", + /* 251 */ "cmd ::= SHOW CREATE TABLE full_table_name", + /* 252 */ "cmd ::= SHOW CREATE STABLE full_table_name", + /* 253 */ "cmd ::= SHOW QUERIES", + /* 254 */ "cmd ::= SHOW SCORES", + /* 255 */ "cmd ::= SHOW TOPICS", + /* 256 */ "cmd ::= SHOW VARIABLES", + /* 257 */ "cmd ::= SHOW CLUSTER VARIABLES", + /* 258 */ "cmd ::= SHOW LOCAL VARIABLES", + /* 259 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", + /* 260 */ "cmd ::= SHOW BNODES", + /* 261 */ "cmd ::= SHOW SNODES", + /* 262 */ "cmd ::= SHOW CLUSTER", + /* 263 */ "cmd ::= SHOW TRANSACTIONS", + /* 264 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", + /* 265 */ "cmd ::= SHOW CONSUMERS", + /* 266 */ "cmd ::= SHOW SUBSCRIPTIONS", + /* 267 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", + /* 268 */ "cmd ::= SHOW TAGS FROM db_name NK_DOT table_name", + /* 269 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", + /* 270 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name", + /* 271 */ "cmd ::= SHOW VNODES NK_INTEGER", + /* 272 */ "cmd ::= SHOW VNODES NK_STRING", + /* 273 */ "cmd ::= SHOW db_name_cond_opt ALIVE", + /* 274 */ "cmd ::= SHOW CLUSTER ALIVE", + /* 275 */ "db_name_cond_opt ::=", + /* 276 */ "db_name_cond_opt ::= db_name NK_DOT", + /* 277 */ "like_pattern_opt ::=", + /* 278 */ "like_pattern_opt ::= LIKE NK_STRING", + /* 279 */ "table_name_cond ::= table_name", + /* 280 */ "from_db_opt ::=", + /* 281 */ "from_db_opt ::= FROM db_name", + /* 282 */ "tag_list_opt ::=", + /* 283 */ "tag_list_opt ::= tag_item", + /* 284 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", + /* 285 */ "tag_item ::= TBNAME", + /* 286 */ "tag_item ::= QTAGS", + /* 287 */ "tag_item ::= column_name", + /* 288 */ "tag_item ::= column_name column_alias", + /* 289 */ "tag_item ::= column_name AS column_alias", + /* 290 */ "cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options", + /* 291 */ "cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP", + /* 292 */ "cmd ::= DROP INDEX exists_opt full_index_name", + /* 293 */ "full_index_name ::= index_name", + /* 294 */ "full_index_name ::= db_name NK_DOT index_name", + /* 295 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", + /* 296 */ "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", + /* 297 */ "func_list ::= func", + /* 298 */ "func_list ::= func_list NK_COMMA func", + /* 299 */ "func ::= sma_func_name NK_LP expression_list NK_RP", + /* 300 */ "sma_func_name ::= function_name", + /* 301 */ "sma_func_name ::= COUNT", + /* 302 */ "sma_func_name ::= FIRST", + /* 303 */ "sma_func_name ::= LAST", + /* 304 */ "sma_func_name ::= LAST_ROW", + /* 305 */ "sma_stream_opt ::=", + /* 306 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", + /* 307 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", + /* 308 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", + /* 309 */ "with_meta ::= AS", + /* 310 */ "with_meta ::= WITH META AS", + /* 311 */ "with_meta ::= ONLY META AS", + /* 312 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", + /* 313 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name", + /* 314 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt", + /* 315 */ "cmd ::= DROP TOPIC exists_opt topic_name", + /* 316 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", + /* 317 */ "cmd ::= DESC full_table_name", + /* 318 */ "cmd ::= DESCRIBE full_table_name", + /* 319 */ "cmd ::= RESET QUERY CACHE", + /* 320 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", + /* 321 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", + /* 322 */ "analyze_opt ::=", + /* 323 */ "analyze_opt ::= ANALYZE", + /* 324 */ "explain_options ::=", + /* 325 */ "explain_options ::= explain_options VERBOSE NK_BOOL", + /* 326 */ "explain_options ::= explain_options RATIO NK_FLOAT", + /* 327 */ "cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", + /* 328 */ "cmd ::= DROP FUNCTION exists_opt function_name", + /* 329 */ "agg_func_opt ::=", + /* 330 */ "agg_func_opt ::= AGGREGATE", + /* 331 */ "bufsize_opt ::=", + /* 332 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", + /* 333 */ "language_opt ::=", + /* 334 */ "language_opt ::= LANGUAGE NK_STRING", + /* 335 */ "or_replace_opt ::=", + /* 336 */ "or_replace_opt ::= OR REPLACE", + /* 337 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery", + /* 338 */ "cmd ::= DROP STREAM exists_opt stream_name", + /* 339 */ "cmd ::= PAUSE STREAM exists_opt stream_name", + /* 340 */ "cmd ::= RESUME STREAM exists_opt ignore_opt stream_name", + /* 341 */ "col_list_opt ::=", + /* 342 */ "col_list_opt ::= NK_LP col_name_list NK_RP", + /* 343 */ "tag_def_or_ref_opt ::=", + /* 344 */ "tag_def_or_ref_opt ::= tags_def", + /* 345 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", + /* 346 */ "stream_options ::=", + /* 347 */ "stream_options ::= stream_options TRIGGER AT_ONCE", + /* 348 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", + /* 349 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", + /* 350 */ "stream_options ::= stream_options WATERMARK duration_literal", + /* 351 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", + /* 352 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", + /* 353 */ "stream_options ::= stream_options DELETE_MARK duration_literal", + /* 354 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", + /* 355 */ "subtable_opt ::=", + /* 356 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", + /* 357 */ "ignore_opt ::=", + /* 358 */ "ignore_opt ::= IGNORE UNTREATED", + /* 359 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 360 */ "cmd ::= KILL QUERY NK_STRING", + /* 361 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 362 */ "cmd ::= BALANCE VGROUP", + /* 363 */ "cmd ::= BALANCE VGROUP LEADER", + /* 364 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 365 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 366 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 367 */ "dnode_list ::= DNODE NK_INTEGER", + /* 368 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 369 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 370 */ "cmd ::= query_or_subquery", + /* 371 */ "cmd ::= insert_query", + /* 372 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 373 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", + /* 374 */ "literal ::= NK_INTEGER", + /* 375 */ "literal ::= NK_FLOAT", + /* 376 */ "literal ::= NK_STRING", + /* 377 */ "literal ::= NK_BOOL", + /* 378 */ "literal ::= TIMESTAMP NK_STRING", + /* 379 */ "literal ::= duration_literal", + /* 380 */ "literal ::= NULL", + /* 381 */ "literal ::= NK_QUESTION", + /* 382 */ "duration_literal ::= NK_VARIABLE", + /* 383 */ "signed ::= NK_INTEGER", + /* 384 */ "signed ::= NK_PLUS NK_INTEGER", + /* 385 */ "signed ::= NK_MINUS NK_INTEGER", + /* 386 */ "signed ::= NK_FLOAT", + /* 387 */ "signed ::= NK_PLUS NK_FLOAT", + /* 388 */ "signed ::= NK_MINUS NK_FLOAT", + /* 389 */ "signed_literal ::= signed", + /* 390 */ "signed_literal ::= NK_STRING", + /* 391 */ "signed_literal ::= NK_BOOL", + /* 392 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 393 */ "signed_literal ::= duration_literal", + /* 394 */ "signed_literal ::= NULL", + /* 395 */ "signed_literal ::= literal_func", + /* 396 */ "signed_literal ::= NK_QUESTION", + /* 397 */ "literal_list ::= signed_literal", + /* 398 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 399 */ "db_name ::= NK_ID", + /* 400 */ "table_name ::= NK_ID", + /* 401 */ "column_name ::= NK_ID", + /* 402 */ "function_name ::= NK_ID", + /* 403 */ "table_alias ::= NK_ID", + /* 404 */ "column_alias ::= NK_ID", + /* 405 */ "user_name ::= NK_ID", + /* 406 */ "topic_name ::= NK_ID", + /* 407 */ "stream_name ::= NK_ID", + /* 408 */ "cgroup_name ::= NK_ID", + /* 409 */ "index_name ::= NK_ID", + /* 410 */ "expr_or_subquery ::= expression", + /* 411 */ "expression ::= literal", + /* 412 */ "expression ::= pseudo_column", + /* 413 */ "expression ::= column_reference", + /* 414 */ "expression ::= function_expression", + /* 415 */ "expression ::= case_when_expression", + /* 416 */ "expression ::= NK_LP expression NK_RP", + /* 417 */ "expression ::= NK_PLUS expr_or_subquery", + /* 418 */ "expression ::= NK_MINUS expr_or_subquery", + /* 419 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 420 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 421 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 422 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 423 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 424 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 425 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 426 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 427 */ "expression_list ::= expr_or_subquery", + /* 428 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 429 */ "column_reference ::= column_name", + /* 430 */ "column_reference ::= table_name NK_DOT column_name", + /* 431 */ "pseudo_column ::= ROWTS", + /* 432 */ "pseudo_column ::= TBNAME", + /* 433 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 434 */ "pseudo_column ::= QSTART", + /* 435 */ "pseudo_column ::= QEND", + /* 436 */ "pseudo_column ::= QDURATION", + /* 437 */ "pseudo_column ::= WSTART", + /* 438 */ "pseudo_column ::= WEND", + /* 439 */ "pseudo_column ::= WDURATION", + /* 440 */ "pseudo_column ::= IROWTS", + /* 441 */ "pseudo_column ::= ISFILLED", + /* 442 */ "pseudo_column ::= QTAGS", + /* 443 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 444 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 445 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 446 */ "function_expression ::= literal_func", + /* 447 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 448 */ "literal_func ::= NOW", + /* 449 */ "noarg_func ::= NOW", + /* 450 */ "noarg_func ::= TODAY", + /* 451 */ "noarg_func ::= TIMEZONE", + /* 452 */ "noarg_func ::= DATABASE", + /* 453 */ "noarg_func ::= CLIENT_VERSION", + /* 454 */ "noarg_func ::= SERVER_VERSION", + /* 455 */ "noarg_func ::= SERVER_STATUS", + /* 456 */ "noarg_func ::= CURRENT_USER", + /* 457 */ "noarg_func ::= USER", + /* 458 */ "star_func ::= COUNT", + /* 459 */ "star_func ::= FIRST", + /* 460 */ "star_func ::= LAST", + /* 461 */ "star_func ::= LAST_ROW", + /* 462 */ "star_func_para_list ::= NK_STAR", + /* 463 */ "star_func_para_list ::= other_para_list", + /* 464 */ "other_para_list ::= star_func_para", + /* 465 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 466 */ "star_func_para ::= expr_or_subquery", + /* 467 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 468 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 469 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 470 */ "when_then_list ::= when_then_expr", + /* 471 */ "when_then_list ::= when_then_list when_then_expr", + /* 472 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 473 */ "case_when_else_opt ::=", + /* 474 */ "case_when_else_opt ::= ELSE common_expression", + /* 475 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 476 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 477 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 478 */ "predicate ::= expr_or_subquery IS NULL", + /* 479 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 480 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 481 */ "compare_op ::= NK_LT", + /* 482 */ "compare_op ::= NK_GT", + /* 483 */ "compare_op ::= NK_LE", + /* 484 */ "compare_op ::= NK_GE", + /* 485 */ "compare_op ::= NK_NE", + /* 486 */ "compare_op ::= NK_EQ", + /* 487 */ "compare_op ::= LIKE", + /* 488 */ "compare_op ::= NOT LIKE", + /* 489 */ "compare_op ::= MATCH", + /* 490 */ "compare_op ::= NMATCH", + /* 491 */ "compare_op ::= CONTAINS", + /* 492 */ "in_op ::= IN", + /* 493 */ "in_op ::= NOT IN", + /* 494 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 495 */ "boolean_value_expression ::= boolean_primary", + /* 496 */ "boolean_value_expression ::= NOT boolean_primary", + /* 497 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 498 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 499 */ "boolean_primary ::= predicate", + /* 500 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 501 */ "common_expression ::= expr_or_subquery", + /* 502 */ "common_expression ::= boolean_value_expression", + /* 503 */ "from_clause_opt ::=", + /* 504 */ "from_clause_opt ::= FROM table_reference_list", + /* 505 */ "table_reference_list ::= table_reference", + /* 506 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 507 */ "table_reference ::= table_primary", + /* 508 */ "table_reference ::= joined_table", + /* 509 */ "table_primary ::= table_name alias_opt", + /* 510 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 511 */ "table_primary ::= subquery alias_opt", + /* 512 */ "table_primary ::= parenthesized_joined_table", + /* 513 */ "alias_opt ::=", + /* 514 */ "alias_opt ::= table_alias", + /* 515 */ "alias_opt ::= AS table_alias", + /* 516 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 517 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 518 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 519 */ "join_type ::=", + /* 520 */ "join_type ::= INNER", + /* 521 */ "query_specification ::= SELECT hint_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", + /* 522 */ "hint_list ::=", + /* 523 */ "hint_list ::= NK_HINT", + /* 524 */ "set_quantifier_opt ::=", + /* 525 */ "set_quantifier_opt ::= DISTINCT", + /* 526 */ "set_quantifier_opt ::= ALL", + /* 527 */ "select_list ::= select_item", + /* 528 */ "select_list ::= select_list NK_COMMA select_item", + /* 529 */ "select_item ::= NK_STAR", + /* 530 */ "select_item ::= common_expression", + /* 531 */ "select_item ::= common_expression column_alias", + /* 532 */ "select_item ::= common_expression AS column_alias", + /* 533 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 534 */ "where_clause_opt ::=", + /* 535 */ "where_clause_opt ::= WHERE search_condition", + /* 536 */ "partition_by_clause_opt ::=", + /* 537 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 538 */ "partition_list ::= partition_item", + /* 539 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 540 */ "partition_item ::= expr_or_subquery", + /* 541 */ "partition_item ::= expr_or_subquery column_alias", + /* 542 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 543 */ "twindow_clause_opt ::=", + /* 544 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 545 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 546 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 547 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 548 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 549 */ "sliding_opt ::=", + /* 550 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 551 */ "fill_opt ::=", + /* 552 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 553 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP", + /* 554 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP", + /* 555 */ "fill_mode ::= NONE", + /* 556 */ "fill_mode ::= PREV", + /* 557 */ "fill_mode ::= NULL", + /* 558 */ "fill_mode ::= NULL_F", + /* 559 */ "fill_mode ::= LINEAR", + /* 560 */ "fill_mode ::= NEXT", + /* 561 */ "group_by_clause_opt ::=", + /* 562 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 563 */ "group_by_list ::= expr_or_subquery", + /* 564 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 565 */ "having_clause_opt ::=", + /* 566 */ "having_clause_opt ::= HAVING search_condition", + /* 567 */ "range_opt ::=", + /* 568 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 569 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_RP", + /* 570 */ "every_opt ::=", + /* 571 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 572 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 573 */ "query_simple ::= query_specification", + /* 574 */ "query_simple ::= union_query_expression", + /* 575 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 576 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 577 */ "query_simple_or_subquery ::= query_simple", + /* 578 */ "query_simple_or_subquery ::= subquery", + /* 579 */ "query_or_subquery ::= query_expression", + /* 580 */ "query_or_subquery ::= subquery", + /* 581 */ "order_by_clause_opt ::=", + /* 582 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 583 */ "slimit_clause_opt ::=", + /* 584 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 585 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 586 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 587 */ "limit_clause_opt ::=", + /* 588 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 589 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 590 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 591 */ "subquery ::= NK_LP query_expression NK_RP", + /* 592 */ "subquery ::= NK_LP subquery NK_RP", + /* 593 */ "search_condition ::= common_expression", + /* 594 */ "sort_specification_list ::= sort_specification", + /* 595 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 596 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 597 */ "ordering_specification_opt ::=", + /* 598 */ "ordering_specification_opt ::= ASC", + /* 599 */ "ordering_specification_opt ::= DESC", + /* 600 */ "null_ordering_opt ::=", + /* 601 */ "null_ordering_opt ::= NULLS FIRST", + /* 602 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -2716,10 +2752,10 @@ static void yy_destructor( case 374: /* table_options */ case 378: /* alter_table_clause */ case 379: /* alter_table_options */ + case 380: /* column_def */ case 382: /* signed_literal */ case 383: /* create_subtable_clause */ case 386: /* drop_table_clause */ - case 388: /* column_def */ case 392: /* duration_literal */ case 393: /* rollup_func_name */ case 395: /* col_name */ @@ -2795,7 +2831,7 @@ static void yy_destructor( case 352: /* table_name */ case 353: /* topic_name */ case 355: /* dnode_endpoint */ - case 380: /* column_name */ + case 381: /* column_name */ case 394: /* function_name */ case 402: /* column_alias */ case 405: /* index_name */ @@ -2881,7 +2917,7 @@ static void yy_destructor( } break; - case 381: /* type_name */ + case 388: /* type_name */ { } @@ -3358,13 +3394,13 @@ static const YYCODETYPE yyRuleInfoLhs[] = { 339, /* (157) cmd ::= ALTER TABLE alter_table_clause */ 339, /* (158) cmd ::= ALTER STABLE alter_table_clause */ 378, /* (159) alter_table_clause ::= full_table_name alter_table_options */ - 378, /* (160) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + 378, /* (160) alter_table_clause ::= full_table_name ADD COLUMN column_def */ 378, /* (161) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - 378, /* (162) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + 378, /* (162) alter_table_clause ::= full_table_name MODIFY COLUMN column_def */ 378, /* (163) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - 378, /* (164) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + 378, /* (164) alter_table_clause ::= full_table_name ADD TAG column_def */ 378, /* (165) alter_table_clause ::= full_table_name DROP TAG column_name */ - 378, /* (166) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + 378, /* (166) alter_table_clause ::= full_table_name MODIFY TAG column_def */ 378, /* (167) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ 378, /* (168) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ 375, /* (169) multi_create_clause ::= create_subtable_clause */ @@ -3379,427 +3415,428 @@ static const YYCODETYPE yyRuleInfoLhs[] = { 371, /* (178) full_table_name ::= db_name NK_DOT table_name */ 372, /* (179) column_def_list ::= column_def */ 372, /* (180) column_def_list ::= column_def_list NK_COMMA column_def */ - 388, /* (181) column_def ::= column_name type_name */ - 381, /* (182) type_name ::= BOOL */ - 381, /* (183) type_name ::= TINYINT */ - 381, /* (184) type_name ::= SMALLINT */ - 381, /* (185) type_name ::= INT */ - 381, /* (186) type_name ::= INTEGER */ - 381, /* (187) type_name ::= BIGINT */ - 381, /* (188) type_name ::= FLOAT */ - 381, /* (189) type_name ::= DOUBLE */ - 381, /* (190) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - 381, /* (191) type_name ::= TIMESTAMP */ - 381, /* (192) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - 381, /* (193) type_name ::= TINYINT UNSIGNED */ - 381, /* (194) type_name ::= SMALLINT UNSIGNED */ - 381, /* (195) type_name ::= INT UNSIGNED */ - 381, /* (196) type_name ::= BIGINT UNSIGNED */ - 381, /* (197) type_name ::= JSON */ - 381, /* (198) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - 381, /* (199) type_name ::= MEDIUMBLOB */ - 381, /* (200) type_name ::= BLOB */ - 381, /* (201) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - 381, /* (202) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ - 381, /* (203) type_name ::= DECIMAL */ - 381, /* (204) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - 381, /* (205) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - 373, /* (206) tags_def_opt ::= */ - 373, /* (207) tags_def_opt ::= tags_def */ - 376, /* (208) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - 374, /* (209) table_options ::= */ - 374, /* (210) table_options ::= table_options COMMENT NK_STRING */ - 374, /* (211) table_options ::= table_options MAX_DELAY duration_list */ - 374, /* (212) table_options ::= table_options WATERMARK duration_list */ - 374, /* (213) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - 374, /* (214) table_options ::= table_options TTL NK_INTEGER */ - 374, /* (215) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - 374, /* (216) table_options ::= table_options DELETE_MARK duration_list */ - 379, /* (217) alter_table_options ::= alter_table_option */ - 379, /* (218) alter_table_options ::= alter_table_options alter_table_option */ - 391, /* (219) alter_table_option ::= COMMENT NK_STRING */ - 391, /* (220) alter_table_option ::= TTL NK_INTEGER */ - 389, /* (221) duration_list ::= duration_literal */ - 389, /* (222) duration_list ::= duration_list NK_COMMA duration_literal */ - 390, /* (223) rollup_func_list ::= rollup_func_name */ - 390, /* (224) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - 393, /* (225) rollup_func_name ::= function_name */ - 393, /* (226) rollup_func_name ::= FIRST */ - 393, /* (227) rollup_func_name ::= LAST */ - 387, /* (228) col_name_list ::= col_name */ - 387, /* (229) col_name_list ::= col_name_list NK_COMMA col_name */ - 395, /* (230) col_name ::= column_name */ - 339, /* (231) cmd ::= SHOW DNODES */ - 339, /* (232) cmd ::= SHOW USERS */ - 339, /* (233) cmd ::= SHOW USER PRIVILEGES */ - 339, /* (234) cmd ::= SHOW DATABASES */ - 339, /* (235) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - 339, /* (236) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - 339, /* (237) cmd ::= SHOW db_name_cond_opt VGROUPS */ - 339, /* (238) cmd ::= SHOW MNODES */ - 339, /* (239) cmd ::= SHOW QNODES */ - 339, /* (240) cmd ::= SHOW FUNCTIONS */ - 339, /* (241) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - 339, /* (242) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ - 339, /* (243) cmd ::= SHOW STREAMS */ - 339, /* (244) cmd ::= SHOW ACCOUNTS */ - 339, /* (245) cmd ::= SHOW APPS */ - 339, /* (246) cmd ::= SHOW CONNECTIONS */ - 339, /* (247) cmd ::= SHOW LICENCES */ - 339, /* (248) cmd ::= SHOW GRANTS */ - 339, /* (249) cmd ::= SHOW CREATE DATABASE db_name */ - 339, /* (250) cmd ::= SHOW CREATE TABLE full_table_name */ - 339, /* (251) cmd ::= SHOW CREATE STABLE full_table_name */ - 339, /* (252) cmd ::= SHOW QUERIES */ - 339, /* (253) cmd ::= SHOW SCORES */ - 339, /* (254) cmd ::= SHOW TOPICS */ - 339, /* (255) cmd ::= SHOW VARIABLES */ - 339, /* (256) cmd ::= SHOW CLUSTER VARIABLES */ - 339, /* (257) cmd ::= SHOW LOCAL VARIABLES */ - 339, /* (258) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - 339, /* (259) cmd ::= SHOW BNODES */ - 339, /* (260) cmd ::= SHOW SNODES */ - 339, /* (261) cmd ::= SHOW CLUSTER */ - 339, /* (262) cmd ::= SHOW TRANSACTIONS */ - 339, /* (263) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - 339, /* (264) cmd ::= SHOW CONSUMERS */ - 339, /* (265) cmd ::= SHOW SUBSCRIPTIONS */ - 339, /* (266) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - 339, /* (267) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ - 339, /* (268) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - 339, /* (269) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ - 339, /* (270) cmd ::= SHOW VNODES NK_INTEGER */ - 339, /* (271) cmd ::= SHOW VNODES NK_STRING */ - 339, /* (272) cmd ::= SHOW db_name_cond_opt ALIVE */ - 339, /* (273) cmd ::= SHOW CLUSTER ALIVE */ - 396, /* (274) db_name_cond_opt ::= */ - 396, /* (275) db_name_cond_opt ::= db_name NK_DOT */ - 397, /* (276) like_pattern_opt ::= */ - 397, /* (277) like_pattern_opt ::= LIKE NK_STRING */ - 398, /* (278) table_name_cond ::= table_name */ - 399, /* (279) from_db_opt ::= */ - 399, /* (280) from_db_opt ::= FROM db_name */ - 400, /* (281) tag_list_opt ::= */ - 400, /* (282) tag_list_opt ::= tag_item */ - 400, /* (283) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - 401, /* (284) tag_item ::= TBNAME */ - 401, /* (285) tag_item ::= QTAGS */ - 401, /* (286) tag_item ::= column_name */ - 401, /* (287) tag_item ::= column_name column_alias */ - 401, /* (288) tag_item ::= column_name AS column_alias */ - 339, /* (289) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ - 339, /* (290) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ - 339, /* (291) cmd ::= DROP INDEX exists_opt full_index_name */ - 403, /* (292) full_index_name ::= index_name */ - 403, /* (293) full_index_name ::= db_name NK_DOT index_name */ - 404, /* (294) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - 404, /* (295) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ - 406, /* (296) func_list ::= func */ - 406, /* (297) func_list ::= func_list NK_COMMA func */ - 409, /* (298) func ::= sma_func_name NK_LP expression_list NK_RP */ - 410, /* (299) sma_func_name ::= function_name */ - 410, /* (300) sma_func_name ::= COUNT */ - 410, /* (301) sma_func_name ::= FIRST */ - 410, /* (302) sma_func_name ::= LAST */ - 410, /* (303) sma_func_name ::= LAST_ROW */ - 408, /* (304) sma_stream_opt ::= */ - 408, /* (305) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - 408, /* (306) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - 408, /* (307) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - 411, /* (308) with_meta ::= AS */ - 411, /* (309) with_meta ::= WITH META AS */ - 411, /* (310) with_meta ::= ONLY META AS */ - 339, /* (311) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - 339, /* (312) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - 339, /* (313) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - 339, /* (314) cmd ::= DROP TOPIC exists_opt topic_name */ - 339, /* (315) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - 339, /* (316) cmd ::= DESC full_table_name */ - 339, /* (317) cmd ::= DESCRIBE full_table_name */ - 339, /* (318) cmd ::= RESET QUERY CACHE */ - 339, /* (319) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - 339, /* (320) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 415, /* (321) analyze_opt ::= */ - 415, /* (322) analyze_opt ::= ANALYZE */ - 416, /* (323) explain_options ::= */ - 416, /* (324) explain_options ::= explain_options VERBOSE NK_BOOL */ - 416, /* (325) explain_options ::= explain_options RATIO NK_FLOAT */ - 339, /* (326) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - 339, /* (327) cmd ::= DROP FUNCTION exists_opt function_name */ - 419, /* (328) agg_func_opt ::= */ - 419, /* (329) agg_func_opt ::= AGGREGATE */ - 420, /* (330) bufsize_opt ::= */ - 420, /* (331) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 421, /* (332) language_opt ::= */ - 421, /* (333) language_opt ::= LANGUAGE NK_STRING */ - 418, /* (334) or_replace_opt ::= */ - 418, /* (335) or_replace_opt ::= OR REPLACE */ - 339, /* (336) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - 339, /* (337) cmd ::= DROP STREAM exists_opt stream_name */ - 339, /* (338) cmd ::= PAUSE STREAM exists_opt stream_name */ - 339, /* (339) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 424, /* (340) col_list_opt ::= */ - 424, /* (341) col_list_opt ::= NK_LP col_name_list NK_RP */ - 425, /* (342) tag_def_or_ref_opt ::= */ - 425, /* (343) tag_def_or_ref_opt ::= tags_def */ - 425, /* (344) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 423, /* (345) stream_options ::= */ - 423, /* (346) stream_options ::= stream_options TRIGGER AT_ONCE */ - 423, /* (347) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - 423, /* (348) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - 423, /* (349) stream_options ::= stream_options WATERMARK duration_literal */ - 423, /* (350) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - 423, /* (351) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - 423, /* (352) stream_options ::= stream_options DELETE_MARK duration_literal */ - 423, /* (353) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 426, /* (354) subtable_opt ::= */ - 426, /* (355) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 427, /* (356) ignore_opt ::= */ - 427, /* (357) ignore_opt ::= IGNORE UNTREATED */ - 339, /* (358) cmd ::= KILL CONNECTION NK_INTEGER */ - 339, /* (359) cmd ::= KILL QUERY NK_STRING */ - 339, /* (360) cmd ::= KILL TRANSACTION NK_INTEGER */ - 339, /* (361) cmd ::= BALANCE VGROUP */ - 339, /* (362) cmd ::= BALANCE VGROUP LEADER */ - 339, /* (363) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - 339, /* (364) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - 339, /* (365) cmd ::= SPLIT VGROUP NK_INTEGER */ - 429, /* (366) dnode_list ::= DNODE NK_INTEGER */ - 429, /* (367) dnode_list ::= dnode_list DNODE NK_INTEGER */ - 339, /* (368) cmd ::= DELETE FROM full_table_name where_clause_opt */ - 339, /* (369) cmd ::= query_or_subquery */ - 339, /* (370) cmd ::= insert_query */ - 417, /* (371) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - 417, /* (372) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - 342, /* (373) literal ::= NK_INTEGER */ - 342, /* (374) literal ::= NK_FLOAT */ - 342, /* (375) literal ::= NK_STRING */ - 342, /* (376) literal ::= NK_BOOL */ - 342, /* (377) literal ::= TIMESTAMP NK_STRING */ - 342, /* (378) literal ::= duration_literal */ - 342, /* (379) literal ::= NULL */ - 342, /* (380) literal ::= NK_QUESTION */ - 392, /* (381) duration_literal ::= NK_VARIABLE */ - 368, /* (382) signed ::= NK_INTEGER */ - 368, /* (383) signed ::= NK_PLUS NK_INTEGER */ - 368, /* (384) signed ::= NK_MINUS NK_INTEGER */ - 368, /* (385) signed ::= NK_FLOAT */ - 368, /* (386) signed ::= NK_PLUS NK_FLOAT */ - 368, /* (387) signed ::= NK_MINUS NK_FLOAT */ - 382, /* (388) signed_literal ::= signed */ - 382, /* (389) signed_literal ::= NK_STRING */ - 382, /* (390) signed_literal ::= NK_BOOL */ - 382, /* (391) signed_literal ::= TIMESTAMP NK_STRING */ - 382, /* (392) signed_literal ::= duration_literal */ - 382, /* (393) signed_literal ::= NULL */ - 382, /* (394) signed_literal ::= literal_func */ - 382, /* (395) signed_literal ::= NK_QUESTION */ - 431, /* (396) literal_list ::= signed_literal */ - 431, /* (397) literal_list ::= literal_list NK_COMMA signed_literal */ - 351, /* (398) db_name ::= NK_ID */ - 352, /* (399) table_name ::= NK_ID */ - 380, /* (400) column_name ::= NK_ID */ - 394, /* (401) function_name ::= NK_ID */ - 432, /* (402) table_alias ::= NK_ID */ - 402, /* (403) column_alias ::= NK_ID */ - 344, /* (404) user_name ::= NK_ID */ - 353, /* (405) topic_name ::= NK_ID */ - 422, /* (406) stream_name ::= NK_ID */ - 414, /* (407) cgroup_name ::= NK_ID */ - 405, /* (408) index_name ::= NK_ID */ - 433, /* (409) expr_or_subquery ::= expression */ - 428, /* (410) expression ::= literal */ - 428, /* (411) expression ::= pseudo_column */ - 428, /* (412) expression ::= column_reference */ - 428, /* (413) expression ::= function_expression */ - 428, /* (414) expression ::= case_when_expression */ - 428, /* (415) expression ::= NK_LP expression NK_RP */ - 428, /* (416) expression ::= NK_PLUS expr_or_subquery */ - 428, /* (417) expression ::= NK_MINUS expr_or_subquery */ - 428, /* (418) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - 428, /* (419) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - 428, /* (420) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - 428, /* (421) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - 428, /* (422) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - 428, /* (423) expression ::= column_reference NK_ARROW NK_STRING */ - 428, /* (424) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - 428, /* (425) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - 385, /* (426) expression_list ::= expr_or_subquery */ - 385, /* (427) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - 435, /* (428) column_reference ::= column_name */ - 435, /* (429) column_reference ::= table_name NK_DOT column_name */ - 434, /* (430) pseudo_column ::= ROWTS */ - 434, /* (431) pseudo_column ::= TBNAME */ - 434, /* (432) pseudo_column ::= table_name NK_DOT TBNAME */ - 434, /* (433) pseudo_column ::= QSTART */ - 434, /* (434) pseudo_column ::= QEND */ - 434, /* (435) pseudo_column ::= QDURATION */ - 434, /* (436) pseudo_column ::= WSTART */ - 434, /* (437) pseudo_column ::= WEND */ - 434, /* (438) pseudo_column ::= WDURATION */ - 434, /* (439) pseudo_column ::= IROWTS */ - 434, /* (440) pseudo_column ::= ISFILLED */ - 434, /* (441) pseudo_column ::= QTAGS */ - 436, /* (442) function_expression ::= function_name NK_LP expression_list NK_RP */ - 436, /* (443) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - 436, /* (444) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - 436, /* (445) function_expression ::= literal_func */ - 430, /* (446) literal_func ::= noarg_func NK_LP NK_RP */ - 430, /* (447) literal_func ::= NOW */ - 440, /* (448) noarg_func ::= NOW */ - 440, /* (449) noarg_func ::= TODAY */ - 440, /* (450) noarg_func ::= TIMEZONE */ - 440, /* (451) noarg_func ::= DATABASE */ - 440, /* (452) noarg_func ::= CLIENT_VERSION */ - 440, /* (453) noarg_func ::= SERVER_VERSION */ - 440, /* (454) noarg_func ::= SERVER_STATUS */ - 440, /* (455) noarg_func ::= CURRENT_USER */ - 440, /* (456) noarg_func ::= USER */ - 438, /* (457) star_func ::= COUNT */ - 438, /* (458) star_func ::= FIRST */ - 438, /* (459) star_func ::= LAST */ - 438, /* (460) star_func ::= LAST_ROW */ - 439, /* (461) star_func_para_list ::= NK_STAR */ - 439, /* (462) star_func_para_list ::= other_para_list */ - 441, /* (463) other_para_list ::= star_func_para */ - 441, /* (464) other_para_list ::= other_para_list NK_COMMA star_func_para */ - 442, /* (465) star_func_para ::= expr_or_subquery */ - 442, /* (466) star_func_para ::= table_name NK_DOT NK_STAR */ - 437, /* (467) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - 437, /* (468) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - 443, /* (469) when_then_list ::= when_then_expr */ - 443, /* (470) when_then_list ::= when_then_list when_then_expr */ - 446, /* (471) when_then_expr ::= WHEN common_expression THEN common_expression */ - 444, /* (472) case_when_else_opt ::= */ - 444, /* (473) case_when_else_opt ::= ELSE common_expression */ - 447, /* (474) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - 447, /* (475) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - 447, /* (476) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - 447, /* (477) predicate ::= expr_or_subquery IS NULL */ - 447, /* (478) predicate ::= expr_or_subquery IS NOT NULL */ - 447, /* (479) predicate ::= expr_or_subquery in_op in_predicate_value */ - 448, /* (480) compare_op ::= NK_LT */ - 448, /* (481) compare_op ::= NK_GT */ - 448, /* (482) compare_op ::= NK_LE */ - 448, /* (483) compare_op ::= NK_GE */ - 448, /* (484) compare_op ::= NK_NE */ - 448, /* (485) compare_op ::= NK_EQ */ - 448, /* (486) compare_op ::= LIKE */ - 448, /* (487) compare_op ::= NOT LIKE */ - 448, /* (488) compare_op ::= MATCH */ - 448, /* (489) compare_op ::= NMATCH */ - 448, /* (490) compare_op ::= CONTAINS */ - 449, /* (491) in_op ::= IN */ - 449, /* (492) in_op ::= NOT IN */ - 450, /* (493) in_predicate_value ::= NK_LP literal_list NK_RP */ - 451, /* (494) boolean_value_expression ::= boolean_primary */ - 451, /* (495) boolean_value_expression ::= NOT boolean_primary */ - 451, /* (496) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - 451, /* (497) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - 452, /* (498) boolean_primary ::= predicate */ - 452, /* (499) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - 445, /* (500) common_expression ::= expr_or_subquery */ - 445, /* (501) common_expression ::= boolean_value_expression */ - 453, /* (502) from_clause_opt ::= */ - 453, /* (503) from_clause_opt ::= FROM table_reference_list */ - 454, /* (504) table_reference_list ::= table_reference */ - 454, /* (505) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - 455, /* (506) table_reference ::= table_primary */ - 455, /* (507) table_reference ::= joined_table */ - 456, /* (508) table_primary ::= table_name alias_opt */ - 456, /* (509) table_primary ::= db_name NK_DOT table_name alias_opt */ - 456, /* (510) table_primary ::= subquery alias_opt */ - 456, /* (511) table_primary ::= parenthesized_joined_table */ - 458, /* (512) alias_opt ::= */ - 458, /* (513) alias_opt ::= table_alias */ - 458, /* (514) alias_opt ::= AS table_alias */ - 460, /* (515) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - 460, /* (516) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - 457, /* (517) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 461, /* (518) join_type ::= */ - 461, /* (519) join_type ::= INNER */ - 462, /* (520) query_specification ::= SELECT hint_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ - 463, /* (521) hint_list ::= */ - 463, /* (522) hint_list ::= NK_HINT */ - 464, /* (523) set_quantifier_opt ::= */ - 464, /* (524) set_quantifier_opt ::= DISTINCT */ - 464, /* (525) set_quantifier_opt ::= ALL */ - 465, /* (526) select_list ::= select_item */ - 465, /* (527) select_list ::= select_list NK_COMMA select_item */ - 473, /* (528) select_item ::= NK_STAR */ - 473, /* (529) select_item ::= common_expression */ - 473, /* (530) select_item ::= common_expression column_alias */ - 473, /* (531) select_item ::= common_expression AS column_alias */ - 473, /* (532) select_item ::= table_name NK_DOT NK_STAR */ - 413, /* (533) where_clause_opt ::= */ - 413, /* (534) where_clause_opt ::= WHERE search_condition */ - 466, /* (535) partition_by_clause_opt ::= */ - 466, /* (536) partition_by_clause_opt ::= PARTITION BY partition_list */ - 474, /* (537) partition_list ::= partition_item */ - 474, /* (538) partition_list ::= partition_list NK_COMMA partition_item */ - 475, /* (539) partition_item ::= expr_or_subquery */ - 475, /* (540) partition_item ::= expr_or_subquery column_alias */ - 475, /* (541) partition_item ::= expr_or_subquery AS column_alias */ - 470, /* (542) twindow_clause_opt ::= */ - 470, /* (543) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - 470, /* (544) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - 470, /* (545) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - 470, /* (546) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - 470, /* (547) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 407, /* (548) sliding_opt ::= */ - 407, /* (549) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - 469, /* (550) fill_opt ::= */ - 469, /* (551) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - 469, /* (552) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - 469, /* (553) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - 476, /* (554) fill_mode ::= NONE */ - 476, /* (555) fill_mode ::= PREV */ - 476, /* (556) fill_mode ::= NULL */ - 476, /* (557) fill_mode ::= NULL_F */ - 476, /* (558) fill_mode ::= LINEAR */ - 476, /* (559) fill_mode ::= NEXT */ - 471, /* (560) group_by_clause_opt ::= */ - 471, /* (561) group_by_clause_opt ::= GROUP BY group_by_list */ - 477, /* (562) group_by_list ::= expr_or_subquery */ - 477, /* (563) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 472, /* (564) having_clause_opt ::= */ - 472, /* (565) having_clause_opt ::= HAVING search_condition */ - 467, /* (566) range_opt ::= */ - 467, /* (567) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - 467, /* (568) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 468, /* (569) every_opt ::= */ - 468, /* (570) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - 478, /* (571) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - 479, /* (572) query_simple ::= query_specification */ - 479, /* (573) query_simple ::= union_query_expression */ - 483, /* (574) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - 483, /* (575) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - 484, /* (576) query_simple_or_subquery ::= query_simple */ - 484, /* (577) query_simple_or_subquery ::= subquery */ - 412, /* (578) query_or_subquery ::= query_expression */ - 412, /* (579) query_or_subquery ::= subquery */ - 480, /* (580) order_by_clause_opt ::= */ - 480, /* (581) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 481, /* (582) slimit_clause_opt ::= */ - 481, /* (583) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - 481, /* (584) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - 481, /* (585) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 482, /* (586) limit_clause_opt ::= */ - 482, /* (587) limit_clause_opt ::= LIMIT NK_INTEGER */ - 482, /* (588) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - 482, /* (589) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 459, /* (590) subquery ::= NK_LP query_expression NK_RP */ - 459, /* (591) subquery ::= NK_LP subquery NK_RP */ - 354, /* (592) search_condition ::= common_expression */ - 485, /* (593) sort_specification_list ::= sort_specification */ - 485, /* (594) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - 486, /* (595) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 487, /* (596) ordering_specification_opt ::= */ - 487, /* (597) ordering_specification_opt ::= ASC */ - 487, /* (598) ordering_specification_opt ::= DESC */ - 488, /* (599) null_ordering_opt ::= */ - 488, /* (600) null_ordering_opt ::= NULLS FIRST */ - 488, /* (601) null_ordering_opt ::= NULLS LAST */ + 380, /* (181) column_def ::= column_name type_name */ + 380, /* (182) column_def ::= column_name type_name COMMENT NK_STRING */ + 388, /* (183) type_name ::= BOOL */ + 388, /* (184) type_name ::= TINYINT */ + 388, /* (185) type_name ::= SMALLINT */ + 388, /* (186) type_name ::= INT */ + 388, /* (187) type_name ::= INTEGER */ + 388, /* (188) type_name ::= BIGINT */ + 388, /* (189) type_name ::= FLOAT */ + 388, /* (190) type_name ::= DOUBLE */ + 388, /* (191) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + 388, /* (192) type_name ::= TIMESTAMP */ + 388, /* (193) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + 388, /* (194) type_name ::= TINYINT UNSIGNED */ + 388, /* (195) type_name ::= SMALLINT UNSIGNED */ + 388, /* (196) type_name ::= INT UNSIGNED */ + 388, /* (197) type_name ::= BIGINT UNSIGNED */ + 388, /* (198) type_name ::= JSON */ + 388, /* (199) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + 388, /* (200) type_name ::= MEDIUMBLOB */ + 388, /* (201) type_name ::= BLOB */ + 388, /* (202) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + 388, /* (203) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ + 388, /* (204) type_name ::= DECIMAL */ + 388, /* (205) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + 388, /* (206) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + 373, /* (207) tags_def_opt ::= */ + 373, /* (208) tags_def_opt ::= tags_def */ + 376, /* (209) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + 374, /* (210) table_options ::= */ + 374, /* (211) table_options ::= table_options COMMENT NK_STRING */ + 374, /* (212) table_options ::= table_options MAX_DELAY duration_list */ + 374, /* (213) table_options ::= table_options WATERMARK duration_list */ + 374, /* (214) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + 374, /* (215) table_options ::= table_options TTL NK_INTEGER */ + 374, /* (216) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + 374, /* (217) table_options ::= table_options DELETE_MARK duration_list */ + 379, /* (218) alter_table_options ::= alter_table_option */ + 379, /* (219) alter_table_options ::= alter_table_options alter_table_option */ + 391, /* (220) alter_table_option ::= COMMENT NK_STRING */ + 391, /* (221) alter_table_option ::= TTL NK_INTEGER */ + 389, /* (222) duration_list ::= duration_literal */ + 389, /* (223) duration_list ::= duration_list NK_COMMA duration_literal */ + 390, /* (224) rollup_func_list ::= rollup_func_name */ + 390, /* (225) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + 393, /* (226) rollup_func_name ::= function_name */ + 393, /* (227) rollup_func_name ::= FIRST */ + 393, /* (228) rollup_func_name ::= LAST */ + 387, /* (229) col_name_list ::= col_name */ + 387, /* (230) col_name_list ::= col_name_list NK_COMMA col_name */ + 395, /* (231) col_name ::= column_name */ + 339, /* (232) cmd ::= SHOW DNODES */ + 339, /* (233) cmd ::= SHOW USERS */ + 339, /* (234) cmd ::= SHOW USER PRIVILEGES */ + 339, /* (235) cmd ::= SHOW DATABASES */ + 339, /* (236) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + 339, /* (237) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + 339, /* (238) cmd ::= SHOW db_name_cond_opt VGROUPS */ + 339, /* (239) cmd ::= SHOW MNODES */ + 339, /* (240) cmd ::= SHOW QNODES */ + 339, /* (241) cmd ::= SHOW FUNCTIONS */ + 339, /* (242) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + 339, /* (243) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ + 339, /* (244) cmd ::= SHOW STREAMS */ + 339, /* (245) cmd ::= SHOW ACCOUNTS */ + 339, /* (246) cmd ::= SHOW APPS */ + 339, /* (247) cmd ::= SHOW CONNECTIONS */ + 339, /* (248) cmd ::= SHOW LICENCES */ + 339, /* (249) cmd ::= SHOW GRANTS */ + 339, /* (250) cmd ::= SHOW CREATE DATABASE db_name */ + 339, /* (251) cmd ::= SHOW CREATE TABLE full_table_name */ + 339, /* (252) cmd ::= SHOW CREATE STABLE full_table_name */ + 339, /* (253) cmd ::= SHOW QUERIES */ + 339, /* (254) cmd ::= SHOW SCORES */ + 339, /* (255) cmd ::= SHOW TOPICS */ + 339, /* (256) cmd ::= SHOW VARIABLES */ + 339, /* (257) cmd ::= SHOW CLUSTER VARIABLES */ + 339, /* (258) cmd ::= SHOW LOCAL VARIABLES */ + 339, /* (259) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + 339, /* (260) cmd ::= SHOW BNODES */ + 339, /* (261) cmd ::= SHOW SNODES */ + 339, /* (262) cmd ::= SHOW CLUSTER */ + 339, /* (263) cmd ::= SHOW TRANSACTIONS */ + 339, /* (264) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + 339, /* (265) cmd ::= SHOW CONSUMERS */ + 339, /* (266) cmd ::= SHOW SUBSCRIPTIONS */ + 339, /* (267) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + 339, /* (268) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ + 339, /* (269) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + 339, /* (270) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ + 339, /* (271) cmd ::= SHOW VNODES NK_INTEGER */ + 339, /* (272) cmd ::= SHOW VNODES NK_STRING */ + 339, /* (273) cmd ::= SHOW db_name_cond_opt ALIVE */ + 339, /* (274) cmd ::= SHOW CLUSTER ALIVE */ + 396, /* (275) db_name_cond_opt ::= */ + 396, /* (276) db_name_cond_opt ::= db_name NK_DOT */ + 397, /* (277) like_pattern_opt ::= */ + 397, /* (278) like_pattern_opt ::= LIKE NK_STRING */ + 398, /* (279) table_name_cond ::= table_name */ + 399, /* (280) from_db_opt ::= */ + 399, /* (281) from_db_opt ::= FROM db_name */ + 400, /* (282) tag_list_opt ::= */ + 400, /* (283) tag_list_opt ::= tag_item */ + 400, /* (284) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + 401, /* (285) tag_item ::= TBNAME */ + 401, /* (286) tag_item ::= QTAGS */ + 401, /* (287) tag_item ::= column_name */ + 401, /* (288) tag_item ::= column_name column_alias */ + 401, /* (289) tag_item ::= column_name AS column_alias */ + 339, /* (290) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + 339, /* (291) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + 339, /* (292) cmd ::= DROP INDEX exists_opt full_index_name */ + 403, /* (293) full_index_name ::= index_name */ + 403, /* (294) full_index_name ::= db_name NK_DOT index_name */ + 404, /* (295) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + 404, /* (296) 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 */ + 406, /* (297) func_list ::= func */ + 406, /* (298) func_list ::= func_list NK_COMMA func */ + 409, /* (299) func ::= sma_func_name NK_LP expression_list NK_RP */ + 410, /* (300) sma_func_name ::= function_name */ + 410, /* (301) sma_func_name ::= COUNT */ + 410, /* (302) sma_func_name ::= FIRST */ + 410, /* (303) sma_func_name ::= LAST */ + 410, /* (304) sma_func_name ::= LAST_ROW */ + 408, /* (305) sma_stream_opt ::= */ + 408, /* (306) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + 408, /* (307) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + 408, /* (308) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + 411, /* (309) with_meta ::= AS */ + 411, /* (310) with_meta ::= WITH META AS */ + 411, /* (311) with_meta ::= ONLY META AS */ + 339, /* (312) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + 339, /* (313) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + 339, /* (314) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + 339, /* (315) cmd ::= DROP TOPIC exists_opt topic_name */ + 339, /* (316) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + 339, /* (317) cmd ::= DESC full_table_name */ + 339, /* (318) cmd ::= DESCRIBE full_table_name */ + 339, /* (319) cmd ::= RESET QUERY CACHE */ + 339, /* (320) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + 339, /* (321) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + 415, /* (322) analyze_opt ::= */ + 415, /* (323) analyze_opt ::= ANALYZE */ + 416, /* (324) explain_options ::= */ + 416, /* (325) explain_options ::= explain_options VERBOSE NK_BOOL */ + 416, /* (326) explain_options ::= explain_options RATIO NK_FLOAT */ + 339, /* (327) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + 339, /* (328) cmd ::= DROP FUNCTION exists_opt function_name */ + 419, /* (329) agg_func_opt ::= */ + 419, /* (330) agg_func_opt ::= AGGREGATE */ + 420, /* (331) bufsize_opt ::= */ + 420, /* (332) bufsize_opt ::= BUFSIZE NK_INTEGER */ + 421, /* (333) language_opt ::= */ + 421, /* (334) language_opt ::= LANGUAGE NK_STRING */ + 418, /* (335) or_replace_opt ::= */ + 418, /* (336) or_replace_opt ::= OR REPLACE */ + 339, /* (337) 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 */ + 339, /* (338) cmd ::= DROP STREAM exists_opt stream_name */ + 339, /* (339) cmd ::= PAUSE STREAM exists_opt stream_name */ + 339, /* (340) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + 424, /* (341) col_list_opt ::= */ + 424, /* (342) col_list_opt ::= NK_LP col_name_list NK_RP */ + 425, /* (343) tag_def_or_ref_opt ::= */ + 425, /* (344) tag_def_or_ref_opt ::= tags_def */ + 425, /* (345) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + 423, /* (346) stream_options ::= */ + 423, /* (347) stream_options ::= stream_options TRIGGER AT_ONCE */ + 423, /* (348) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + 423, /* (349) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + 423, /* (350) stream_options ::= stream_options WATERMARK duration_literal */ + 423, /* (351) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + 423, /* (352) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + 423, /* (353) stream_options ::= stream_options DELETE_MARK duration_literal */ + 423, /* (354) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + 426, /* (355) subtable_opt ::= */ + 426, /* (356) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + 427, /* (357) ignore_opt ::= */ + 427, /* (358) ignore_opt ::= IGNORE UNTREATED */ + 339, /* (359) cmd ::= KILL CONNECTION NK_INTEGER */ + 339, /* (360) cmd ::= KILL QUERY NK_STRING */ + 339, /* (361) cmd ::= KILL TRANSACTION NK_INTEGER */ + 339, /* (362) cmd ::= BALANCE VGROUP */ + 339, /* (363) cmd ::= BALANCE VGROUP LEADER */ + 339, /* (364) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + 339, /* (365) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + 339, /* (366) cmd ::= SPLIT VGROUP NK_INTEGER */ + 429, /* (367) dnode_list ::= DNODE NK_INTEGER */ + 429, /* (368) dnode_list ::= dnode_list DNODE NK_INTEGER */ + 339, /* (369) cmd ::= DELETE FROM full_table_name where_clause_opt */ + 339, /* (370) cmd ::= query_or_subquery */ + 339, /* (371) cmd ::= insert_query */ + 417, /* (372) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + 417, /* (373) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + 342, /* (374) literal ::= NK_INTEGER */ + 342, /* (375) literal ::= NK_FLOAT */ + 342, /* (376) literal ::= NK_STRING */ + 342, /* (377) literal ::= NK_BOOL */ + 342, /* (378) literal ::= TIMESTAMP NK_STRING */ + 342, /* (379) literal ::= duration_literal */ + 342, /* (380) literal ::= NULL */ + 342, /* (381) literal ::= NK_QUESTION */ + 392, /* (382) duration_literal ::= NK_VARIABLE */ + 368, /* (383) signed ::= NK_INTEGER */ + 368, /* (384) signed ::= NK_PLUS NK_INTEGER */ + 368, /* (385) signed ::= NK_MINUS NK_INTEGER */ + 368, /* (386) signed ::= NK_FLOAT */ + 368, /* (387) signed ::= NK_PLUS NK_FLOAT */ + 368, /* (388) signed ::= NK_MINUS NK_FLOAT */ + 382, /* (389) signed_literal ::= signed */ + 382, /* (390) signed_literal ::= NK_STRING */ + 382, /* (391) signed_literal ::= NK_BOOL */ + 382, /* (392) signed_literal ::= TIMESTAMP NK_STRING */ + 382, /* (393) signed_literal ::= duration_literal */ + 382, /* (394) signed_literal ::= NULL */ + 382, /* (395) signed_literal ::= literal_func */ + 382, /* (396) signed_literal ::= NK_QUESTION */ + 431, /* (397) literal_list ::= signed_literal */ + 431, /* (398) literal_list ::= literal_list NK_COMMA signed_literal */ + 351, /* (399) db_name ::= NK_ID */ + 352, /* (400) table_name ::= NK_ID */ + 381, /* (401) column_name ::= NK_ID */ + 394, /* (402) function_name ::= NK_ID */ + 432, /* (403) table_alias ::= NK_ID */ + 402, /* (404) column_alias ::= NK_ID */ + 344, /* (405) user_name ::= NK_ID */ + 353, /* (406) topic_name ::= NK_ID */ + 422, /* (407) stream_name ::= NK_ID */ + 414, /* (408) cgroup_name ::= NK_ID */ + 405, /* (409) index_name ::= NK_ID */ + 433, /* (410) expr_or_subquery ::= expression */ + 428, /* (411) expression ::= literal */ + 428, /* (412) expression ::= pseudo_column */ + 428, /* (413) expression ::= column_reference */ + 428, /* (414) expression ::= function_expression */ + 428, /* (415) expression ::= case_when_expression */ + 428, /* (416) expression ::= NK_LP expression NK_RP */ + 428, /* (417) expression ::= NK_PLUS expr_or_subquery */ + 428, /* (418) expression ::= NK_MINUS expr_or_subquery */ + 428, /* (419) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + 428, /* (420) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + 428, /* (421) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + 428, /* (422) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + 428, /* (423) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + 428, /* (424) expression ::= column_reference NK_ARROW NK_STRING */ + 428, /* (425) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + 428, /* (426) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + 385, /* (427) expression_list ::= expr_or_subquery */ + 385, /* (428) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + 435, /* (429) column_reference ::= column_name */ + 435, /* (430) column_reference ::= table_name NK_DOT column_name */ + 434, /* (431) pseudo_column ::= ROWTS */ + 434, /* (432) pseudo_column ::= TBNAME */ + 434, /* (433) pseudo_column ::= table_name NK_DOT TBNAME */ + 434, /* (434) pseudo_column ::= QSTART */ + 434, /* (435) pseudo_column ::= QEND */ + 434, /* (436) pseudo_column ::= QDURATION */ + 434, /* (437) pseudo_column ::= WSTART */ + 434, /* (438) pseudo_column ::= WEND */ + 434, /* (439) pseudo_column ::= WDURATION */ + 434, /* (440) pseudo_column ::= IROWTS */ + 434, /* (441) pseudo_column ::= ISFILLED */ + 434, /* (442) pseudo_column ::= QTAGS */ + 436, /* (443) function_expression ::= function_name NK_LP expression_list NK_RP */ + 436, /* (444) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + 436, /* (445) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + 436, /* (446) function_expression ::= literal_func */ + 430, /* (447) literal_func ::= noarg_func NK_LP NK_RP */ + 430, /* (448) literal_func ::= NOW */ + 440, /* (449) noarg_func ::= NOW */ + 440, /* (450) noarg_func ::= TODAY */ + 440, /* (451) noarg_func ::= TIMEZONE */ + 440, /* (452) noarg_func ::= DATABASE */ + 440, /* (453) noarg_func ::= CLIENT_VERSION */ + 440, /* (454) noarg_func ::= SERVER_VERSION */ + 440, /* (455) noarg_func ::= SERVER_STATUS */ + 440, /* (456) noarg_func ::= CURRENT_USER */ + 440, /* (457) noarg_func ::= USER */ + 438, /* (458) star_func ::= COUNT */ + 438, /* (459) star_func ::= FIRST */ + 438, /* (460) star_func ::= LAST */ + 438, /* (461) star_func ::= LAST_ROW */ + 439, /* (462) star_func_para_list ::= NK_STAR */ + 439, /* (463) star_func_para_list ::= other_para_list */ + 441, /* (464) other_para_list ::= star_func_para */ + 441, /* (465) other_para_list ::= other_para_list NK_COMMA star_func_para */ + 442, /* (466) star_func_para ::= expr_or_subquery */ + 442, /* (467) star_func_para ::= table_name NK_DOT NK_STAR */ + 437, /* (468) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + 437, /* (469) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + 443, /* (470) when_then_list ::= when_then_expr */ + 443, /* (471) when_then_list ::= when_then_list when_then_expr */ + 446, /* (472) when_then_expr ::= WHEN common_expression THEN common_expression */ + 444, /* (473) case_when_else_opt ::= */ + 444, /* (474) case_when_else_opt ::= ELSE common_expression */ + 447, /* (475) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + 447, /* (476) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + 447, /* (477) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + 447, /* (478) predicate ::= expr_or_subquery IS NULL */ + 447, /* (479) predicate ::= expr_or_subquery IS NOT NULL */ + 447, /* (480) predicate ::= expr_or_subquery in_op in_predicate_value */ + 448, /* (481) compare_op ::= NK_LT */ + 448, /* (482) compare_op ::= NK_GT */ + 448, /* (483) compare_op ::= NK_LE */ + 448, /* (484) compare_op ::= NK_GE */ + 448, /* (485) compare_op ::= NK_NE */ + 448, /* (486) compare_op ::= NK_EQ */ + 448, /* (487) compare_op ::= LIKE */ + 448, /* (488) compare_op ::= NOT LIKE */ + 448, /* (489) compare_op ::= MATCH */ + 448, /* (490) compare_op ::= NMATCH */ + 448, /* (491) compare_op ::= CONTAINS */ + 449, /* (492) in_op ::= IN */ + 449, /* (493) in_op ::= NOT IN */ + 450, /* (494) in_predicate_value ::= NK_LP literal_list NK_RP */ + 451, /* (495) boolean_value_expression ::= boolean_primary */ + 451, /* (496) boolean_value_expression ::= NOT boolean_primary */ + 451, /* (497) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + 451, /* (498) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + 452, /* (499) boolean_primary ::= predicate */ + 452, /* (500) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + 445, /* (501) common_expression ::= expr_or_subquery */ + 445, /* (502) common_expression ::= boolean_value_expression */ + 453, /* (503) from_clause_opt ::= */ + 453, /* (504) from_clause_opt ::= FROM table_reference_list */ + 454, /* (505) table_reference_list ::= table_reference */ + 454, /* (506) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + 455, /* (507) table_reference ::= table_primary */ + 455, /* (508) table_reference ::= joined_table */ + 456, /* (509) table_primary ::= table_name alias_opt */ + 456, /* (510) table_primary ::= db_name NK_DOT table_name alias_opt */ + 456, /* (511) table_primary ::= subquery alias_opt */ + 456, /* (512) table_primary ::= parenthesized_joined_table */ + 458, /* (513) alias_opt ::= */ + 458, /* (514) alias_opt ::= table_alias */ + 458, /* (515) alias_opt ::= AS table_alias */ + 460, /* (516) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + 460, /* (517) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + 457, /* (518) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + 461, /* (519) join_type ::= */ + 461, /* (520) join_type ::= INNER */ + 462, /* (521) query_specification ::= SELECT hint_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + 463, /* (522) hint_list ::= */ + 463, /* (523) hint_list ::= NK_HINT */ + 464, /* (524) set_quantifier_opt ::= */ + 464, /* (525) set_quantifier_opt ::= DISTINCT */ + 464, /* (526) set_quantifier_opt ::= ALL */ + 465, /* (527) select_list ::= select_item */ + 465, /* (528) select_list ::= select_list NK_COMMA select_item */ + 473, /* (529) select_item ::= NK_STAR */ + 473, /* (530) select_item ::= common_expression */ + 473, /* (531) select_item ::= common_expression column_alias */ + 473, /* (532) select_item ::= common_expression AS column_alias */ + 473, /* (533) select_item ::= table_name NK_DOT NK_STAR */ + 413, /* (534) where_clause_opt ::= */ + 413, /* (535) where_clause_opt ::= WHERE search_condition */ + 466, /* (536) partition_by_clause_opt ::= */ + 466, /* (537) partition_by_clause_opt ::= PARTITION BY partition_list */ + 474, /* (538) partition_list ::= partition_item */ + 474, /* (539) partition_list ::= partition_list NK_COMMA partition_item */ + 475, /* (540) partition_item ::= expr_or_subquery */ + 475, /* (541) partition_item ::= expr_or_subquery column_alias */ + 475, /* (542) partition_item ::= expr_or_subquery AS column_alias */ + 470, /* (543) twindow_clause_opt ::= */ + 470, /* (544) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + 470, /* (545) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + 470, /* (546) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + 470, /* (547) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + 470, /* (548) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 407, /* (549) sliding_opt ::= */ + 407, /* (550) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + 469, /* (551) fill_opt ::= */ + 469, /* (552) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + 469, /* (553) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + 469, /* (554) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + 476, /* (555) fill_mode ::= NONE */ + 476, /* (556) fill_mode ::= PREV */ + 476, /* (557) fill_mode ::= NULL */ + 476, /* (558) fill_mode ::= NULL_F */ + 476, /* (559) fill_mode ::= LINEAR */ + 476, /* (560) fill_mode ::= NEXT */ + 471, /* (561) group_by_clause_opt ::= */ + 471, /* (562) group_by_clause_opt ::= GROUP BY group_by_list */ + 477, /* (563) group_by_list ::= expr_or_subquery */ + 477, /* (564) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 472, /* (565) having_clause_opt ::= */ + 472, /* (566) having_clause_opt ::= HAVING search_condition */ + 467, /* (567) range_opt ::= */ + 467, /* (568) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + 467, /* (569) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 468, /* (570) every_opt ::= */ + 468, /* (571) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + 478, /* (572) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + 479, /* (573) query_simple ::= query_specification */ + 479, /* (574) query_simple ::= union_query_expression */ + 483, /* (575) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + 483, /* (576) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + 484, /* (577) query_simple_or_subquery ::= query_simple */ + 484, /* (578) query_simple_or_subquery ::= subquery */ + 412, /* (579) query_or_subquery ::= query_expression */ + 412, /* (580) query_or_subquery ::= subquery */ + 480, /* (581) order_by_clause_opt ::= */ + 480, /* (582) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 481, /* (583) slimit_clause_opt ::= */ + 481, /* (584) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + 481, /* (585) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + 481, /* (586) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 482, /* (587) limit_clause_opt ::= */ + 482, /* (588) limit_clause_opt ::= LIMIT NK_INTEGER */ + 482, /* (589) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + 482, /* (590) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 459, /* (591) subquery ::= NK_LP query_expression NK_RP */ + 459, /* (592) subquery ::= NK_LP subquery NK_RP */ + 354, /* (593) search_condition ::= common_expression */ + 485, /* (594) sort_specification_list ::= sort_specification */ + 485, /* (595) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + 486, /* (596) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 487, /* (597) ordering_specification_opt ::= */ + 487, /* (598) ordering_specification_opt ::= ASC */ + 487, /* (599) ordering_specification_opt ::= DESC */ + 488, /* (600) null_ordering_opt ::= */ + 488, /* (601) null_ordering_opt ::= NULLS FIRST */ + 488, /* (602) null_ordering_opt ::= NULLS LAST */ }; /* For rule J, yyRuleInfoNRhs[J] contains the negative of the number @@ -3965,13 +4002,13 @@ static const signed char yyRuleInfoNRhs[] = { -3, /* (157) cmd ::= ALTER TABLE alter_table_clause */ -3, /* (158) cmd ::= ALTER STABLE alter_table_clause */ -2, /* (159) alter_table_clause ::= full_table_name alter_table_options */ - -5, /* (160) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + -4, /* (160) alter_table_clause ::= full_table_name ADD COLUMN column_def */ -4, /* (161) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - -5, /* (162) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + -4, /* (162) alter_table_clause ::= full_table_name MODIFY COLUMN column_def */ -5, /* (163) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - -5, /* (164) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + -4, /* (164) alter_table_clause ::= full_table_name ADD TAG column_def */ -4, /* (165) alter_table_clause ::= full_table_name DROP TAG column_name */ - -5, /* (166) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + -4, /* (166) alter_table_clause ::= full_table_name MODIFY TAG column_def */ -5, /* (167) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ -6, /* (168) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ -1, /* (169) multi_create_clause ::= create_subtable_clause */ @@ -3987,426 +4024,427 @@ static const signed char yyRuleInfoNRhs[] = { -1, /* (179) column_def_list ::= column_def */ -3, /* (180) column_def_list ::= column_def_list NK_COMMA column_def */ -2, /* (181) column_def ::= column_name type_name */ - -1, /* (182) type_name ::= BOOL */ - -1, /* (183) type_name ::= TINYINT */ - -1, /* (184) type_name ::= SMALLINT */ - -1, /* (185) type_name ::= INT */ - -1, /* (186) type_name ::= INTEGER */ - -1, /* (187) type_name ::= BIGINT */ - -1, /* (188) type_name ::= FLOAT */ - -1, /* (189) type_name ::= DOUBLE */ - -4, /* (190) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - -1, /* (191) type_name ::= TIMESTAMP */ - -4, /* (192) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - -2, /* (193) type_name ::= TINYINT UNSIGNED */ - -2, /* (194) type_name ::= SMALLINT UNSIGNED */ - -2, /* (195) type_name ::= INT UNSIGNED */ - -2, /* (196) type_name ::= BIGINT UNSIGNED */ - -1, /* (197) type_name ::= JSON */ - -4, /* (198) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - -1, /* (199) type_name ::= MEDIUMBLOB */ - -1, /* (200) type_name ::= BLOB */ - -4, /* (201) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - -4, /* (202) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ - -1, /* (203) type_name ::= DECIMAL */ - -4, /* (204) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - -6, /* (205) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - 0, /* (206) tags_def_opt ::= */ - -1, /* (207) tags_def_opt ::= tags_def */ - -4, /* (208) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - 0, /* (209) table_options ::= */ - -3, /* (210) table_options ::= table_options COMMENT NK_STRING */ - -3, /* (211) table_options ::= table_options MAX_DELAY duration_list */ - -3, /* (212) table_options ::= table_options WATERMARK duration_list */ - -5, /* (213) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - -3, /* (214) table_options ::= table_options TTL NK_INTEGER */ - -5, /* (215) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - -3, /* (216) table_options ::= table_options DELETE_MARK duration_list */ - -1, /* (217) alter_table_options ::= alter_table_option */ - -2, /* (218) alter_table_options ::= alter_table_options alter_table_option */ - -2, /* (219) alter_table_option ::= COMMENT NK_STRING */ - -2, /* (220) alter_table_option ::= TTL NK_INTEGER */ - -1, /* (221) duration_list ::= duration_literal */ - -3, /* (222) duration_list ::= duration_list NK_COMMA duration_literal */ - -1, /* (223) rollup_func_list ::= rollup_func_name */ - -3, /* (224) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - -1, /* (225) rollup_func_name ::= function_name */ - -1, /* (226) rollup_func_name ::= FIRST */ - -1, /* (227) rollup_func_name ::= LAST */ - -1, /* (228) col_name_list ::= col_name */ - -3, /* (229) col_name_list ::= col_name_list NK_COMMA col_name */ - -1, /* (230) col_name ::= column_name */ - -2, /* (231) cmd ::= SHOW DNODES */ - -2, /* (232) cmd ::= SHOW USERS */ - -3, /* (233) cmd ::= SHOW USER PRIVILEGES */ - -2, /* (234) cmd ::= SHOW DATABASES */ - -4, /* (235) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - -4, /* (236) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - -3, /* (237) cmd ::= SHOW db_name_cond_opt VGROUPS */ - -2, /* (238) cmd ::= SHOW MNODES */ - -2, /* (239) cmd ::= SHOW QNODES */ - -2, /* (240) cmd ::= SHOW FUNCTIONS */ - -5, /* (241) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - -6, /* (242) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ - -2, /* (243) cmd ::= SHOW STREAMS */ - -2, /* (244) cmd ::= SHOW ACCOUNTS */ - -2, /* (245) cmd ::= SHOW APPS */ - -2, /* (246) cmd ::= SHOW CONNECTIONS */ - -2, /* (247) cmd ::= SHOW LICENCES */ - -2, /* (248) cmd ::= SHOW GRANTS */ - -4, /* (249) cmd ::= SHOW CREATE DATABASE db_name */ - -4, /* (250) cmd ::= SHOW CREATE TABLE full_table_name */ - -4, /* (251) cmd ::= SHOW CREATE STABLE full_table_name */ - -2, /* (252) cmd ::= SHOW QUERIES */ - -2, /* (253) cmd ::= SHOW SCORES */ - -2, /* (254) cmd ::= SHOW TOPICS */ - -2, /* (255) cmd ::= SHOW VARIABLES */ - -3, /* (256) cmd ::= SHOW CLUSTER VARIABLES */ - -3, /* (257) cmd ::= SHOW LOCAL VARIABLES */ - -5, /* (258) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - -2, /* (259) cmd ::= SHOW BNODES */ - -2, /* (260) cmd ::= SHOW SNODES */ - -2, /* (261) cmd ::= SHOW CLUSTER */ - -2, /* (262) cmd ::= SHOW TRANSACTIONS */ - -4, /* (263) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - -2, /* (264) cmd ::= SHOW CONSUMERS */ - -2, /* (265) cmd ::= SHOW SUBSCRIPTIONS */ - -5, /* (266) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - -6, /* (267) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ - -7, /* (268) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - -8, /* (269) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ - -3, /* (270) cmd ::= SHOW VNODES NK_INTEGER */ - -3, /* (271) cmd ::= SHOW VNODES NK_STRING */ - -3, /* (272) cmd ::= SHOW db_name_cond_opt ALIVE */ - -3, /* (273) cmd ::= SHOW CLUSTER ALIVE */ - 0, /* (274) db_name_cond_opt ::= */ - -2, /* (275) db_name_cond_opt ::= db_name NK_DOT */ - 0, /* (276) like_pattern_opt ::= */ - -2, /* (277) like_pattern_opt ::= LIKE NK_STRING */ - -1, /* (278) table_name_cond ::= table_name */ - 0, /* (279) from_db_opt ::= */ - -2, /* (280) from_db_opt ::= FROM db_name */ - 0, /* (281) tag_list_opt ::= */ - -1, /* (282) tag_list_opt ::= tag_item */ - -3, /* (283) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - -1, /* (284) tag_item ::= TBNAME */ - -1, /* (285) tag_item ::= QTAGS */ - -1, /* (286) tag_item ::= column_name */ - -2, /* (287) tag_item ::= column_name column_alias */ - -3, /* (288) tag_item ::= column_name AS column_alias */ - -8, /* (289) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ - -9, /* (290) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ - -4, /* (291) cmd ::= DROP INDEX exists_opt full_index_name */ - -1, /* (292) full_index_name ::= index_name */ - -3, /* (293) full_index_name ::= db_name NK_DOT index_name */ - -10, /* (294) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - -12, /* (295) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ - -1, /* (296) func_list ::= func */ - -3, /* (297) func_list ::= func_list NK_COMMA func */ - -4, /* (298) func ::= sma_func_name NK_LP expression_list NK_RP */ - -1, /* (299) sma_func_name ::= function_name */ - -1, /* (300) sma_func_name ::= COUNT */ - -1, /* (301) sma_func_name ::= FIRST */ - -1, /* (302) sma_func_name ::= LAST */ - -1, /* (303) sma_func_name ::= LAST_ROW */ - 0, /* (304) sma_stream_opt ::= */ - -3, /* (305) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - -3, /* (306) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - -3, /* (307) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - -1, /* (308) with_meta ::= AS */ - -3, /* (309) with_meta ::= WITH META AS */ - -3, /* (310) with_meta ::= ONLY META AS */ - -6, /* (311) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - -7, /* (312) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ - -8, /* (313) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ - -4, /* (314) cmd ::= DROP TOPIC exists_opt topic_name */ - -7, /* (315) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - -2, /* (316) cmd ::= DESC full_table_name */ - -2, /* (317) cmd ::= DESCRIBE full_table_name */ - -3, /* (318) cmd ::= RESET QUERY CACHE */ - -4, /* (319) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - -4, /* (320) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - 0, /* (321) analyze_opt ::= */ - -1, /* (322) analyze_opt ::= ANALYZE */ - 0, /* (323) explain_options ::= */ - -3, /* (324) explain_options ::= explain_options VERBOSE NK_BOOL */ - -3, /* (325) explain_options ::= explain_options RATIO NK_FLOAT */ - -12, /* (326) cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - -4, /* (327) cmd ::= DROP FUNCTION exists_opt function_name */ - 0, /* (328) agg_func_opt ::= */ - -1, /* (329) agg_func_opt ::= AGGREGATE */ - 0, /* (330) bufsize_opt ::= */ - -2, /* (331) bufsize_opt ::= BUFSIZE NK_INTEGER */ - 0, /* (332) language_opt ::= */ - -2, /* (333) language_opt ::= LANGUAGE NK_STRING */ - 0, /* (334) or_replace_opt ::= */ - -2, /* (335) or_replace_opt ::= OR REPLACE */ - -12, /* (336) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - -4, /* (337) cmd ::= DROP STREAM exists_opt stream_name */ - -4, /* (338) cmd ::= PAUSE STREAM exists_opt stream_name */ - -5, /* (339) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ - 0, /* (340) col_list_opt ::= */ - -3, /* (341) col_list_opt ::= NK_LP col_name_list NK_RP */ - 0, /* (342) tag_def_or_ref_opt ::= */ - -1, /* (343) tag_def_or_ref_opt ::= tags_def */ - -4, /* (344) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - 0, /* (345) stream_options ::= */ - -3, /* (346) stream_options ::= stream_options TRIGGER AT_ONCE */ - -3, /* (347) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - -4, /* (348) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - -3, /* (349) stream_options ::= stream_options WATERMARK duration_literal */ - -4, /* (350) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - -3, /* (351) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - -3, /* (352) stream_options ::= stream_options DELETE_MARK duration_literal */ - -4, /* (353) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - 0, /* (354) subtable_opt ::= */ - -4, /* (355) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - 0, /* (356) ignore_opt ::= */ - -2, /* (357) ignore_opt ::= IGNORE UNTREATED */ - -3, /* (358) cmd ::= KILL CONNECTION NK_INTEGER */ - -3, /* (359) cmd ::= KILL QUERY NK_STRING */ - -3, /* (360) cmd ::= KILL TRANSACTION NK_INTEGER */ - -2, /* (361) cmd ::= BALANCE VGROUP */ - -3, /* (362) cmd ::= BALANCE VGROUP LEADER */ - -4, /* (363) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - -4, /* (364) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - -3, /* (365) cmd ::= SPLIT VGROUP NK_INTEGER */ - -2, /* (366) dnode_list ::= DNODE NK_INTEGER */ - -3, /* (367) dnode_list ::= dnode_list DNODE NK_INTEGER */ - -4, /* (368) cmd ::= DELETE FROM full_table_name where_clause_opt */ - -1, /* (369) cmd ::= query_or_subquery */ - -1, /* (370) cmd ::= insert_query */ - -7, /* (371) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - -4, /* (372) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - -1, /* (373) literal ::= NK_INTEGER */ - -1, /* (374) literal ::= NK_FLOAT */ - -1, /* (375) literal ::= NK_STRING */ - -1, /* (376) literal ::= NK_BOOL */ - -2, /* (377) literal ::= TIMESTAMP NK_STRING */ - -1, /* (378) literal ::= duration_literal */ - -1, /* (379) literal ::= NULL */ - -1, /* (380) literal ::= NK_QUESTION */ - -1, /* (381) duration_literal ::= NK_VARIABLE */ - -1, /* (382) signed ::= NK_INTEGER */ - -2, /* (383) signed ::= NK_PLUS NK_INTEGER */ - -2, /* (384) signed ::= NK_MINUS NK_INTEGER */ - -1, /* (385) signed ::= NK_FLOAT */ - -2, /* (386) signed ::= NK_PLUS NK_FLOAT */ - -2, /* (387) signed ::= NK_MINUS NK_FLOAT */ - -1, /* (388) signed_literal ::= signed */ - -1, /* (389) signed_literal ::= NK_STRING */ - -1, /* (390) signed_literal ::= NK_BOOL */ - -2, /* (391) signed_literal ::= TIMESTAMP NK_STRING */ - -1, /* (392) signed_literal ::= duration_literal */ - -1, /* (393) signed_literal ::= NULL */ - -1, /* (394) signed_literal ::= literal_func */ - -1, /* (395) signed_literal ::= NK_QUESTION */ - -1, /* (396) literal_list ::= signed_literal */ - -3, /* (397) literal_list ::= literal_list NK_COMMA signed_literal */ - -1, /* (398) db_name ::= NK_ID */ - -1, /* (399) table_name ::= NK_ID */ - -1, /* (400) column_name ::= NK_ID */ - -1, /* (401) function_name ::= NK_ID */ - -1, /* (402) table_alias ::= NK_ID */ - -1, /* (403) column_alias ::= NK_ID */ - -1, /* (404) user_name ::= NK_ID */ - -1, /* (405) topic_name ::= NK_ID */ - -1, /* (406) stream_name ::= NK_ID */ - -1, /* (407) cgroup_name ::= NK_ID */ - -1, /* (408) index_name ::= NK_ID */ - -1, /* (409) expr_or_subquery ::= expression */ - -1, /* (410) expression ::= literal */ - -1, /* (411) expression ::= pseudo_column */ - -1, /* (412) expression ::= column_reference */ - -1, /* (413) expression ::= function_expression */ - -1, /* (414) expression ::= case_when_expression */ - -3, /* (415) expression ::= NK_LP expression NK_RP */ - -2, /* (416) expression ::= NK_PLUS expr_or_subquery */ - -2, /* (417) expression ::= NK_MINUS expr_or_subquery */ - -3, /* (418) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - -3, /* (419) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - -3, /* (420) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - -3, /* (421) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - -3, /* (422) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - -3, /* (423) expression ::= column_reference NK_ARROW NK_STRING */ - -3, /* (424) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - -3, /* (425) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - -1, /* (426) expression_list ::= expr_or_subquery */ - -3, /* (427) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - -1, /* (428) column_reference ::= column_name */ - -3, /* (429) column_reference ::= table_name NK_DOT column_name */ - -1, /* (430) pseudo_column ::= ROWTS */ - -1, /* (431) pseudo_column ::= TBNAME */ - -3, /* (432) pseudo_column ::= table_name NK_DOT TBNAME */ - -1, /* (433) pseudo_column ::= QSTART */ - -1, /* (434) pseudo_column ::= QEND */ - -1, /* (435) pseudo_column ::= QDURATION */ - -1, /* (436) pseudo_column ::= WSTART */ - -1, /* (437) pseudo_column ::= WEND */ - -1, /* (438) pseudo_column ::= WDURATION */ - -1, /* (439) pseudo_column ::= IROWTS */ - -1, /* (440) pseudo_column ::= ISFILLED */ - -1, /* (441) pseudo_column ::= QTAGS */ - -4, /* (442) function_expression ::= function_name NK_LP expression_list NK_RP */ - -4, /* (443) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - -6, /* (444) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - -1, /* (445) function_expression ::= literal_func */ - -3, /* (446) literal_func ::= noarg_func NK_LP NK_RP */ - -1, /* (447) literal_func ::= NOW */ - -1, /* (448) noarg_func ::= NOW */ - -1, /* (449) noarg_func ::= TODAY */ - -1, /* (450) noarg_func ::= TIMEZONE */ - -1, /* (451) noarg_func ::= DATABASE */ - -1, /* (452) noarg_func ::= CLIENT_VERSION */ - -1, /* (453) noarg_func ::= SERVER_VERSION */ - -1, /* (454) noarg_func ::= SERVER_STATUS */ - -1, /* (455) noarg_func ::= CURRENT_USER */ - -1, /* (456) noarg_func ::= USER */ - -1, /* (457) star_func ::= COUNT */ - -1, /* (458) star_func ::= FIRST */ - -1, /* (459) star_func ::= LAST */ - -1, /* (460) star_func ::= LAST_ROW */ - -1, /* (461) star_func_para_list ::= NK_STAR */ - -1, /* (462) star_func_para_list ::= other_para_list */ - -1, /* (463) other_para_list ::= star_func_para */ - -3, /* (464) other_para_list ::= other_para_list NK_COMMA star_func_para */ - -1, /* (465) star_func_para ::= expr_or_subquery */ - -3, /* (466) star_func_para ::= table_name NK_DOT NK_STAR */ - -4, /* (467) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - -5, /* (468) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - -1, /* (469) when_then_list ::= when_then_expr */ - -2, /* (470) when_then_list ::= when_then_list when_then_expr */ - -4, /* (471) when_then_expr ::= WHEN common_expression THEN common_expression */ - 0, /* (472) case_when_else_opt ::= */ - -2, /* (473) case_when_else_opt ::= ELSE common_expression */ - -3, /* (474) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - -5, /* (475) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - -6, /* (476) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - -3, /* (477) predicate ::= expr_or_subquery IS NULL */ - -4, /* (478) predicate ::= expr_or_subquery IS NOT NULL */ - -3, /* (479) predicate ::= expr_or_subquery in_op in_predicate_value */ - -1, /* (480) compare_op ::= NK_LT */ - -1, /* (481) compare_op ::= NK_GT */ - -1, /* (482) compare_op ::= NK_LE */ - -1, /* (483) compare_op ::= NK_GE */ - -1, /* (484) compare_op ::= NK_NE */ - -1, /* (485) compare_op ::= NK_EQ */ - -1, /* (486) compare_op ::= LIKE */ - -2, /* (487) compare_op ::= NOT LIKE */ - -1, /* (488) compare_op ::= MATCH */ - -1, /* (489) compare_op ::= NMATCH */ - -1, /* (490) compare_op ::= CONTAINS */ - -1, /* (491) in_op ::= IN */ - -2, /* (492) in_op ::= NOT IN */ - -3, /* (493) in_predicate_value ::= NK_LP literal_list NK_RP */ - -1, /* (494) boolean_value_expression ::= boolean_primary */ - -2, /* (495) boolean_value_expression ::= NOT boolean_primary */ - -3, /* (496) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - -3, /* (497) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - -1, /* (498) boolean_primary ::= predicate */ - -3, /* (499) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - -1, /* (500) common_expression ::= expr_or_subquery */ - -1, /* (501) common_expression ::= boolean_value_expression */ - 0, /* (502) from_clause_opt ::= */ - -2, /* (503) from_clause_opt ::= FROM table_reference_list */ - -1, /* (504) table_reference_list ::= table_reference */ - -3, /* (505) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - -1, /* (506) table_reference ::= table_primary */ - -1, /* (507) table_reference ::= joined_table */ - -2, /* (508) table_primary ::= table_name alias_opt */ - -4, /* (509) table_primary ::= db_name NK_DOT table_name alias_opt */ - -2, /* (510) table_primary ::= subquery alias_opt */ - -1, /* (511) table_primary ::= parenthesized_joined_table */ - 0, /* (512) alias_opt ::= */ - -1, /* (513) alias_opt ::= table_alias */ - -2, /* (514) alias_opt ::= AS table_alias */ - -3, /* (515) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - -3, /* (516) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - -6, /* (517) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - 0, /* (518) join_type ::= */ - -1, /* (519) join_type ::= INNER */ - -13, /* (520) query_specification ::= SELECT hint_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ - 0, /* (521) hint_list ::= */ - -1, /* (522) hint_list ::= NK_HINT */ - 0, /* (523) set_quantifier_opt ::= */ - -1, /* (524) set_quantifier_opt ::= DISTINCT */ - -1, /* (525) set_quantifier_opt ::= ALL */ - -1, /* (526) select_list ::= select_item */ - -3, /* (527) select_list ::= select_list NK_COMMA select_item */ - -1, /* (528) select_item ::= NK_STAR */ - -1, /* (529) select_item ::= common_expression */ - -2, /* (530) select_item ::= common_expression column_alias */ - -3, /* (531) select_item ::= common_expression AS column_alias */ - -3, /* (532) select_item ::= table_name NK_DOT NK_STAR */ - 0, /* (533) where_clause_opt ::= */ - -2, /* (534) where_clause_opt ::= WHERE search_condition */ - 0, /* (535) partition_by_clause_opt ::= */ - -3, /* (536) partition_by_clause_opt ::= PARTITION BY partition_list */ - -1, /* (537) partition_list ::= partition_item */ - -3, /* (538) partition_list ::= partition_list NK_COMMA partition_item */ - -1, /* (539) partition_item ::= expr_or_subquery */ - -2, /* (540) partition_item ::= expr_or_subquery column_alias */ - -3, /* (541) partition_item ::= expr_or_subquery AS column_alias */ - 0, /* (542) twindow_clause_opt ::= */ - -6, /* (543) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - -4, /* (544) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - -6, /* (545) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - -8, /* (546) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - -7, /* (547) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - 0, /* (548) sliding_opt ::= */ - -4, /* (549) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - 0, /* (550) fill_opt ::= */ - -4, /* (551) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - -6, /* (552) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ - -6, /* (553) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ - -1, /* (554) fill_mode ::= NONE */ - -1, /* (555) fill_mode ::= PREV */ - -1, /* (556) fill_mode ::= NULL */ - -1, /* (557) fill_mode ::= NULL_F */ - -1, /* (558) fill_mode ::= LINEAR */ - -1, /* (559) fill_mode ::= NEXT */ - 0, /* (560) group_by_clause_opt ::= */ - -3, /* (561) group_by_clause_opt ::= GROUP BY group_by_list */ - -1, /* (562) group_by_list ::= expr_or_subquery */ - -3, /* (563) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - 0, /* (564) having_clause_opt ::= */ - -2, /* (565) having_clause_opt ::= HAVING search_condition */ - 0, /* (566) range_opt ::= */ - -6, /* (567) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - -4, /* (568) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ - 0, /* (569) every_opt ::= */ - -4, /* (570) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - -4, /* (571) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - -1, /* (572) query_simple ::= query_specification */ - -1, /* (573) query_simple ::= union_query_expression */ - -4, /* (574) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - -3, /* (575) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - -1, /* (576) query_simple_or_subquery ::= query_simple */ - -1, /* (577) query_simple_or_subquery ::= subquery */ - -1, /* (578) query_or_subquery ::= query_expression */ - -1, /* (579) query_or_subquery ::= subquery */ - 0, /* (580) order_by_clause_opt ::= */ - -3, /* (581) order_by_clause_opt ::= ORDER BY sort_specification_list */ - 0, /* (582) slimit_clause_opt ::= */ - -2, /* (583) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - -4, /* (584) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - -4, /* (585) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - 0, /* (586) limit_clause_opt ::= */ - -2, /* (587) limit_clause_opt ::= LIMIT NK_INTEGER */ - -4, /* (588) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - -4, /* (589) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - -3, /* (590) subquery ::= NK_LP query_expression NK_RP */ - -3, /* (591) subquery ::= NK_LP subquery NK_RP */ - -1, /* (592) search_condition ::= common_expression */ - -1, /* (593) sort_specification_list ::= sort_specification */ - -3, /* (594) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - -3, /* (595) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - 0, /* (596) ordering_specification_opt ::= */ - -1, /* (597) ordering_specification_opt ::= ASC */ - -1, /* (598) ordering_specification_opt ::= DESC */ - 0, /* (599) null_ordering_opt ::= */ - -2, /* (600) null_ordering_opt ::= NULLS FIRST */ - -2, /* (601) null_ordering_opt ::= NULLS LAST */ + -4, /* (182) column_def ::= column_name type_name COMMENT NK_STRING */ + -1, /* (183) type_name ::= BOOL */ + -1, /* (184) type_name ::= TINYINT */ + -1, /* (185) type_name ::= SMALLINT */ + -1, /* (186) type_name ::= INT */ + -1, /* (187) type_name ::= INTEGER */ + -1, /* (188) type_name ::= BIGINT */ + -1, /* (189) type_name ::= FLOAT */ + -1, /* (190) type_name ::= DOUBLE */ + -4, /* (191) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + -1, /* (192) type_name ::= TIMESTAMP */ + -4, /* (193) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + -2, /* (194) type_name ::= TINYINT UNSIGNED */ + -2, /* (195) type_name ::= SMALLINT UNSIGNED */ + -2, /* (196) type_name ::= INT UNSIGNED */ + -2, /* (197) type_name ::= BIGINT UNSIGNED */ + -1, /* (198) type_name ::= JSON */ + -4, /* (199) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + -1, /* (200) type_name ::= MEDIUMBLOB */ + -1, /* (201) type_name ::= BLOB */ + -4, /* (202) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + -4, /* (203) type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ + -1, /* (204) type_name ::= DECIMAL */ + -4, /* (205) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + -6, /* (206) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + 0, /* (207) tags_def_opt ::= */ + -1, /* (208) tags_def_opt ::= tags_def */ + -4, /* (209) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + 0, /* (210) table_options ::= */ + -3, /* (211) table_options ::= table_options COMMENT NK_STRING */ + -3, /* (212) table_options ::= table_options MAX_DELAY duration_list */ + -3, /* (213) table_options ::= table_options WATERMARK duration_list */ + -5, /* (214) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + -3, /* (215) table_options ::= table_options TTL NK_INTEGER */ + -5, /* (216) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + -3, /* (217) table_options ::= table_options DELETE_MARK duration_list */ + -1, /* (218) alter_table_options ::= alter_table_option */ + -2, /* (219) alter_table_options ::= alter_table_options alter_table_option */ + -2, /* (220) alter_table_option ::= COMMENT NK_STRING */ + -2, /* (221) alter_table_option ::= TTL NK_INTEGER */ + -1, /* (222) duration_list ::= duration_literal */ + -3, /* (223) duration_list ::= duration_list NK_COMMA duration_literal */ + -1, /* (224) rollup_func_list ::= rollup_func_name */ + -3, /* (225) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + -1, /* (226) rollup_func_name ::= function_name */ + -1, /* (227) rollup_func_name ::= FIRST */ + -1, /* (228) rollup_func_name ::= LAST */ + -1, /* (229) col_name_list ::= col_name */ + -3, /* (230) col_name_list ::= col_name_list NK_COMMA col_name */ + -1, /* (231) col_name ::= column_name */ + -2, /* (232) cmd ::= SHOW DNODES */ + -2, /* (233) cmd ::= SHOW USERS */ + -3, /* (234) cmd ::= SHOW USER PRIVILEGES */ + -2, /* (235) cmd ::= SHOW DATABASES */ + -4, /* (236) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + -4, /* (237) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + -3, /* (238) cmd ::= SHOW db_name_cond_opt VGROUPS */ + -2, /* (239) cmd ::= SHOW MNODES */ + -2, /* (240) cmd ::= SHOW QNODES */ + -2, /* (241) cmd ::= SHOW FUNCTIONS */ + -5, /* (242) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + -6, /* (243) cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ + -2, /* (244) cmd ::= SHOW STREAMS */ + -2, /* (245) cmd ::= SHOW ACCOUNTS */ + -2, /* (246) cmd ::= SHOW APPS */ + -2, /* (247) cmd ::= SHOW CONNECTIONS */ + -2, /* (248) cmd ::= SHOW LICENCES */ + -2, /* (249) cmd ::= SHOW GRANTS */ + -4, /* (250) cmd ::= SHOW CREATE DATABASE db_name */ + -4, /* (251) cmd ::= SHOW CREATE TABLE full_table_name */ + -4, /* (252) cmd ::= SHOW CREATE STABLE full_table_name */ + -2, /* (253) cmd ::= SHOW QUERIES */ + -2, /* (254) cmd ::= SHOW SCORES */ + -2, /* (255) cmd ::= SHOW TOPICS */ + -2, /* (256) cmd ::= SHOW VARIABLES */ + -3, /* (257) cmd ::= SHOW CLUSTER VARIABLES */ + -3, /* (258) cmd ::= SHOW LOCAL VARIABLES */ + -5, /* (259) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + -2, /* (260) cmd ::= SHOW BNODES */ + -2, /* (261) cmd ::= SHOW SNODES */ + -2, /* (262) cmd ::= SHOW CLUSTER */ + -2, /* (263) cmd ::= SHOW TRANSACTIONS */ + -4, /* (264) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + -2, /* (265) cmd ::= SHOW CONSUMERS */ + -2, /* (266) cmd ::= SHOW SUBSCRIPTIONS */ + -5, /* (267) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + -6, /* (268) cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ + -7, /* (269) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + -8, /* (270) cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ + -3, /* (271) cmd ::= SHOW VNODES NK_INTEGER */ + -3, /* (272) cmd ::= SHOW VNODES NK_STRING */ + -3, /* (273) cmd ::= SHOW db_name_cond_opt ALIVE */ + -3, /* (274) cmd ::= SHOW CLUSTER ALIVE */ + 0, /* (275) db_name_cond_opt ::= */ + -2, /* (276) db_name_cond_opt ::= db_name NK_DOT */ + 0, /* (277) like_pattern_opt ::= */ + -2, /* (278) like_pattern_opt ::= LIKE NK_STRING */ + -1, /* (279) table_name_cond ::= table_name */ + 0, /* (280) from_db_opt ::= */ + -2, /* (281) from_db_opt ::= FROM db_name */ + 0, /* (282) tag_list_opt ::= */ + -1, /* (283) tag_list_opt ::= tag_item */ + -3, /* (284) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + -1, /* (285) tag_item ::= TBNAME */ + -1, /* (286) tag_item ::= QTAGS */ + -1, /* (287) tag_item ::= column_name */ + -2, /* (288) tag_item ::= column_name column_alias */ + -3, /* (289) tag_item ::= column_name AS column_alias */ + -8, /* (290) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + -9, /* (291) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + -4, /* (292) cmd ::= DROP INDEX exists_opt full_index_name */ + -1, /* (293) full_index_name ::= index_name */ + -3, /* (294) full_index_name ::= db_name NK_DOT index_name */ + -10, /* (295) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + -12, /* (296) 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, /* (297) func_list ::= func */ + -3, /* (298) func_list ::= func_list NK_COMMA func */ + -4, /* (299) func ::= sma_func_name NK_LP expression_list NK_RP */ + -1, /* (300) sma_func_name ::= function_name */ + -1, /* (301) sma_func_name ::= COUNT */ + -1, /* (302) sma_func_name ::= FIRST */ + -1, /* (303) sma_func_name ::= LAST */ + -1, /* (304) sma_func_name ::= LAST_ROW */ + 0, /* (305) sma_stream_opt ::= */ + -3, /* (306) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + -3, /* (307) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + -3, /* (308) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + -1, /* (309) with_meta ::= AS */ + -3, /* (310) with_meta ::= WITH META AS */ + -3, /* (311) with_meta ::= ONLY META AS */ + -6, /* (312) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + -7, /* (313) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + -8, /* (314) cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + -4, /* (315) cmd ::= DROP TOPIC exists_opt topic_name */ + -7, /* (316) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + -2, /* (317) cmd ::= DESC full_table_name */ + -2, /* (318) cmd ::= DESCRIBE full_table_name */ + -3, /* (319) cmd ::= RESET QUERY CACHE */ + -4, /* (320) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + -4, /* (321) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + 0, /* (322) analyze_opt ::= */ + -1, /* (323) analyze_opt ::= ANALYZE */ + 0, /* (324) explain_options ::= */ + -3, /* (325) explain_options ::= explain_options VERBOSE NK_BOOL */ + -3, /* (326) explain_options ::= explain_options RATIO NK_FLOAT */ + -12, /* (327) 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, /* (328) cmd ::= DROP FUNCTION exists_opt function_name */ + 0, /* (329) agg_func_opt ::= */ + -1, /* (330) agg_func_opt ::= AGGREGATE */ + 0, /* (331) bufsize_opt ::= */ + -2, /* (332) bufsize_opt ::= BUFSIZE NK_INTEGER */ + 0, /* (333) language_opt ::= */ + -2, /* (334) language_opt ::= LANGUAGE NK_STRING */ + 0, /* (335) or_replace_opt ::= */ + -2, /* (336) or_replace_opt ::= OR REPLACE */ + -12, /* (337) 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, /* (338) cmd ::= DROP STREAM exists_opt stream_name */ + -4, /* (339) cmd ::= PAUSE STREAM exists_opt stream_name */ + -5, /* (340) cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + 0, /* (341) col_list_opt ::= */ + -3, /* (342) col_list_opt ::= NK_LP col_name_list NK_RP */ + 0, /* (343) tag_def_or_ref_opt ::= */ + -1, /* (344) tag_def_or_ref_opt ::= tags_def */ + -4, /* (345) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + 0, /* (346) stream_options ::= */ + -3, /* (347) stream_options ::= stream_options TRIGGER AT_ONCE */ + -3, /* (348) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + -4, /* (349) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + -3, /* (350) stream_options ::= stream_options WATERMARK duration_literal */ + -4, /* (351) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + -3, /* (352) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + -3, /* (353) stream_options ::= stream_options DELETE_MARK duration_literal */ + -4, /* (354) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + 0, /* (355) subtable_opt ::= */ + -4, /* (356) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + 0, /* (357) ignore_opt ::= */ + -2, /* (358) ignore_opt ::= IGNORE UNTREATED */ + -3, /* (359) cmd ::= KILL CONNECTION NK_INTEGER */ + -3, /* (360) cmd ::= KILL QUERY NK_STRING */ + -3, /* (361) cmd ::= KILL TRANSACTION NK_INTEGER */ + -2, /* (362) cmd ::= BALANCE VGROUP */ + -3, /* (363) cmd ::= BALANCE VGROUP LEADER */ + -4, /* (364) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + -4, /* (365) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + -3, /* (366) cmd ::= SPLIT VGROUP NK_INTEGER */ + -2, /* (367) dnode_list ::= DNODE NK_INTEGER */ + -3, /* (368) dnode_list ::= dnode_list DNODE NK_INTEGER */ + -4, /* (369) cmd ::= DELETE FROM full_table_name where_clause_opt */ + -1, /* (370) cmd ::= query_or_subquery */ + -1, /* (371) cmd ::= insert_query */ + -7, /* (372) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + -4, /* (373) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + -1, /* (374) literal ::= NK_INTEGER */ + -1, /* (375) literal ::= NK_FLOAT */ + -1, /* (376) literal ::= NK_STRING */ + -1, /* (377) literal ::= NK_BOOL */ + -2, /* (378) literal ::= TIMESTAMP NK_STRING */ + -1, /* (379) literal ::= duration_literal */ + -1, /* (380) literal ::= NULL */ + -1, /* (381) literal ::= NK_QUESTION */ + -1, /* (382) duration_literal ::= NK_VARIABLE */ + -1, /* (383) signed ::= NK_INTEGER */ + -2, /* (384) signed ::= NK_PLUS NK_INTEGER */ + -2, /* (385) signed ::= NK_MINUS NK_INTEGER */ + -1, /* (386) signed ::= NK_FLOAT */ + -2, /* (387) signed ::= NK_PLUS NK_FLOAT */ + -2, /* (388) signed ::= NK_MINUS NK_FLOAT */ + -1, /* (389) signed_literal ::= signed */ + -1, /* (390) signed_literal ::= NK_STRING */ + -1, /* (391) signed_literal ::= NK_BOOL */ + -2, /* (392) signed_literal ::= TIMESTAMP NK_STRING */ + -1, /* (393) signed_literal ::= duration_literal */ + -1, /* (394) signed_literal ::= NULL */ + -1, /* (395) signed_literal ::= literal_func */ + -1, /* (396) signed_literal ::= NK_QUESTION */ + -1, /* (397) literal_list ::= signed_literal */ + -3, /* (398) literal_list ::= literal_list NK_COMMA signed_literal */ + -1, /* (399) db_name ::= NK_ID */ + -1, /* (400) table_name ::= NK_ID */ + -1, /* (401) column_name ::= NK_ID */ + -1, /* (402) function_name ::= NK_ID */ + -1, /* (403) table_alias ::= NK_ID */ + -1, /* (404) column_alias ::= NK_ID */ + -1, /* (405) user_name ::= NK_ID */ + -1, /* (406) topic_name ::= NK_ID */ + -1, /* (407) stream_name ::= NK_ID */ + -1, /* (408) cgroup_name ::= NK_ID */ + -1, /* (409) index_name ::= NK_ID */ + -1, /* (410) expr_or_subquery ::= expression */ + -1, /* (411) expression ::= literal */ + -1, /* (412) expression ::= pseudo_column */ + -1, /* (413) expression ::= column_reference */ + -1, /* (414) expression ::= function_expression */ + -1, /* (415) expression ::= case_when_expression */ + -3, /* (416) expression ::= NK_LP expression NK_RP */ + -2, /* (417) expression ::= NK_PLUS expr_or_subquery */ + -2, /* (418) expression ::= NK_MINUS expr_or_subquery */ + -3, /* (419) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + -3, /* (420) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + -3, /* (421) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + -3, /* (422) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + -3, /* (423) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + -3, /* (424) expression ::= column_reference NK_ARROW NK_STRING */ + -3, /* (425) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + -3, /* (426) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + -1, /* (427) expression_list ::= expr_or_subquery */ + -3, /* (428) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + -1, /* (429) column_reference ::= column_name */ + -3, /* (430) column_reference ::= table_name NK_DOT column_name */ + -1, /* (431) pseudo_column ::= ROWTS */ + -1, /* (432) pseudo_column ::= TBNAME */ + -3, /* (433) pseudo_column ::= table_name NK_DOT TBNAME */ + -1, /* (434) pseudo_column ::= QSTART */ + -1, /* (435) pseudo_column ::= QEND */ + -1, /* (436) pseudo_column ::= QDURATION */ + -1, /* (437) pseudo_column ::= WSTART */ + -1, /* (438) pseudo_column ::= WEND */ + -1, /* (439) pseudo_column ::= WDURATION */ + -1, /* (440) pseudo_column ::= IROWTS */ + -1, /* (441) pseudo_column ::= ISFILLED */ + -1, /* (442) pseudo_column ::= QTAGS */ + -4, /* (443) function_expression ::= function_name NK_LP expression_list NK_RP */ + -4, /* (444) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + -6, /* (445) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + -1, /* (446) function_expression ::= literal_func */ + -3, /* (447) literal_func ::= noarg_func NK_LP NK_RP */ + -1, /* (448) literal_func ::= NOW */ + -1, /* (449) noarg_func ::= NOW */ + -1, /* (450) noarg_func ::= TODAY */ + -1, /* (451) noarg_func ::= TIMEZONE */ + -1, /* (452) noarg_func ::= DATABASE */ + -1, /* (453) noarg_func ::= CLIENT_VERSION */ + -1, /* (454) noarg_func ::= SERVER_VERSION */ + -1, /* (455) noarg_func ::= SERVER_STATUS */ + -1, /* (456) noarg_func ::= CURRENT_USER */ + -1, /* (457) noarg_func ::= USER */ + -1, /* (458) star_func ::= COUNT */ + -1, /* (459) star_func ::= FIRST */ + -1, /* (460) star_func ::= LAST */ + -1, /* (461) star_func ::= LAST_ROW */ + -1, /* (462) star_func_para_list ::= NK_STAR */ + -1, /* (463) star_func_para_list ::= other_para_list */ + -1, /* (464) other_para_list ::= star_func_para */ + -3, /* (465) other_para_list ::= other_para_list NK_COMMA star_func_para */ + -1, /* (466) star_func_para ::= expr_or_subquery */ + -3, /* (467) star_func_para ::= table_name NK_DOT NK_STAR */ + -4, /* (468) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + -5, /* (469) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + -1, /* (470) when_then_list ::= when_then_expr */ + -2, /* (471) when_then_list ::= when_then_list when_then_expr */ + -4, /* (472) when_then_expr ::= WHEN common_expression THEN common_expression */ + 0, /* (473) case_when_else_opt ::= */ + -2, /* (474) case_when_else_opt ::= ELSE common_expression */ + -3, /* (475) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + -5, /* (476) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + -6, /* (477) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + -3, /* (478) predicate ::= expr_or_subquery IS NULL */ + -4, /* (479) predicate ::= expr_or_subquery IS NOT NULL */ + -3, /* (480) predicate ::= expr_or_subquery in_op in_predicate_value */ + -1, /* (481) compare_op ::= NK_LT */ + -1, /* (482) compare_op ::= NK_GT */ + -1, /* (483) compare_op ::= NK_LE */ + -1, /* (484) compare_op ::= NK_GE */ + -1, /* (485) compare_op ::= NK_NE */ + -1, /* (486) compare_op ::= NK_EQ */ + -1, /* (487) compare_op ::= LIKE */ + -2, /* (488) compare_op ::= NOT LIKE */ + -1, /* (489) compare_op ::= MATCH */ + -1, /* (490) compare_op ::= NMATCH */ + -1, /* (491) compare_op ::= CONTAINS */ + -1, /* (492) in_op ::= IN */ + -2, /* (493) in_op ::= NOT IN */ + -3, /* (494) in_predicate_value ::= NK_LP literal_list NK_RP */ + -1, /* (495) boolean_value_expression ::= boolean_primary */ + -2, /* (496) boolean_value_expression ::= NOT boolean_primary */ + -3, /* (497) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + -3, /* (498) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + -1, /* (499) boolean_primary ::= predicate */ + -3, /* (500) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + -1, /* (501) common_expression ::= expr_or_subquery */ + -1, /* (502) common_expression ::= boolean_value_expression */ + 0, /* (503) from_clause_opt ::= */ + -2, /* (504) from_clause_opt ::= FROM table_reference_list */ + -1, /* (505) table_reference_list ::= table_reference */ + -3, /* (506) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + -1, /* (507) table_reference ::= table_primary */ + -1, /* (508) table_reference ::= joined_table */ + -2, /* (509) table_primary ::= table_name alias_opt */ + -4, /* (510) table_primary ::= db_name NK_DOT table_name alias_opt */ + -2, /* (511) table_primary ::= subquery alias_opt */ + -1, /* (512) table_primary ::= parenthesized_joined_table */ + 0, /* (513) alias_opt ::= */ + -1, /* (514) alias_opt ::= table_alias */ + -2, /* (515) alias_opt ::= AS table_alias */ + -3, /* (516) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + -3, /* (517) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + -6, /* (518) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + 0, /* (519) join_type ::= */ + -1, /* (520) join_type ::= INNER */ + -13, /* (521) query_specification ::= SELECT hint_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + 0, /* (522) hint_list ::= */ + -1, /* (523) hint_list ::= NK_HINT */ + 0, /* (524) set_quantifier_opt ::= */ + -1, /* (525) set_quantifier_opt ::= DISTINCT */ + -1, /* (526) set_quantifier_opt ::= ALL */ + -1, /* (527) select_list ::= select_item */ + -3, /* (528) select_list ::= select_list NK_COMMA select_item */ + -1, /* (529) select_item ::= NK_STAR */ + -1, /* (530) select_item ::= common_expression */ + -2, /* (531) select_item ::= common_expression column_alias */ + -3, /* (532) select_item ::= common_expression AS column_alias */ + -3, /* (533) select_item ::= table_name NK_DOT NK_STAR */ + 0, /* (534) where_clause_opt ::= */ + -2, /* (535) where_clause_opt ::= WHERE search_condition */ + 0, /* (536) partition_by_clause_opt ::= */ + -3, /* (537) partition_by_clause_opt ::= PARTITION BY partition_list */ + -1, /* (538) partition_list ::= partition_item */ + -3, /* (539) partition_list ::= partition_list NK_COMMA partition_item */ + -1, /* (540) partition_item ::= expr_or_subquery */ + -2, /* (541) partition_item ::= expr_or_subquery column_alias */ + -3, /* (542) partition_item ::= expr_or_subquery AS column_alias */ + 0, /* (543) twindow_clause_opt ::= */ + -6, /* (544) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + -4, /* (545) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + -6, /* (546) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + -8, /* (547) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + -7, /* (548) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + 0, /* (549) sliding_opt ::= */ + -4, /* (550) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + 0, /* (551) fill_opt ::= */ + -4, /* (552) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + -6, /* (553) fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + -6, /* (554) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + -1, /* (555) fill_mode ::= NONE */ + -1, /* (556) fill_mode ::= PREV */ + -1, /* (557) fill_mode ::= NULL */ + -1, /* (558) fill_mode ::= NULL_F */ + -1, /* (559) fill_mode ::= LINEAR */ + -1, /* (560) fill_mode ::= NEXT */ + 0, /* (561) group_by_clause_opt ::= */ + -3, /* (562) group_by_clause_opt ::= GROUP BY group_by_list */ + -1, /* (563) group_by_list ::= expr_or_subquery */ + -3, /* (564) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + 0, /* (565) having_clause_opt ::= */ + -2, /* (566) having_clause_opt ::= HAVING search_condition */ + 0, /* (567) range_opt ::= */ + -6, /* (568) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + -4, /* (569) range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + 0, /* (570) every_opt ::= */ + -4, /* (571) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + -4, /* (572) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + -1, /* (573) query_simple ::= query_specification */ + -1, /* (574) query_simple ::= union_query_expression */ + -4, /* (575) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + -3, /* (576) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + -1, /* (577) query_simple_or_subquery ::= query_simple */ + -1, /* (578) query_simple_or_subquery ::= subquery */ + -1, /* (579) query_or_subquery ::= query_expression */ + -1, /* (580) query_or_subquery ::= subquery */ + 0, /* (581) order_by_clause_opt ::= */ + -3, /* (582) order_by_clause_opt ::= ORDER BY sort_specification_list */ + 0, /* (583) slimit_clause_opt ::= */ + -2, /* (584) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + -4, /* (585) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + -4, /* (586) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + 0, /* (587) limit_clause_opt ::= */ + -2, /* (588) limit_clause_opt ::= LIMIT NK_INTEGER */ + -4, /* (589) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + -4, /* (590) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + -3, /* (591) subquery ::= NK_LP query_expression NK_RP */ + -3, /* (592) subquery ::= NK_LP subquery NK_RP */ + -1, /* (593) search_condition ::= common_expression */ + -1, /* (594) sort_specification_list ::= sort_specification */ + -3, /* (595) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + -3, /* (596) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + 0, /* (597) ordering_specification_opt ::= */ + -1, /* (598) ordering_specification_opt ::= ASC */ + -1, /* (599) ordering_specification_opt ::= DESC */ + 0, /* (600) null_ordering_opt ::= */ + -2, /* (601) null_ordering_opt ::= NULLS FIRST */ + -2, /* (602) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -4612,25 +4650,25 @@ static YYACTIONTYPE yy_reduce( case 44: /* with_opt ::= */ case 144: /* start_opt ::= */ yytestcase(yyruleno==144); case 148: /* end_opt ::= */ yytestcase(yyruleno==148); - case 276: /* like_pattern_opt ::= */ yytestcase(yyruleno==276); - case 354: /* subtable_opt ::= */ yytestcase(yyruleno==354); - case 472: /* case_when_else_opt ::= */ yytestcase(yyruleno==472); - case 502: /* from_clause_opt ::= */ yytestcase(yyruleno==502); - case 533: /* where_clause_opt ::= */ yytestcase(yyruleno==533); - case 542: /* twindow_clause_opt ::= */ yytestcase(yyruleno==542); - case 548: /* sliding_opt ::= */ yytestcase(yyruleno==548); - case 550: /* fill_opt ::= */ yytestcase(yyruleno==550); - case 564: /* having_clause_opt ::= */ yytestcase(yyruleno==564); - case 566: /* range_opt ::= */ yytestcase(yyruleno==566); - case 569: /* every_opt ::= */ yytestcase(yyruleno==569); - case 582: /* slimit_clause_opt ::= */ yytestcase(yyruleno==582); - case 586: /* limit_clause_opt ::= */ yytestcase(yyruleno==586); + case 277: /* like_pattern_opt ::= */ yytestcase(yyruleno==277); + case 355: /* subtable_opt ::= */ yytestcase(yyruleno==355); + case 473: /* case_when_else_opt ::= */ yytestcase(yyruleno==473); + case 503: /* from_clause_opt ::= */ yytestcase(yyruleno==503); + case 534: /* where_clause_opt ::= */ yytestcase(yyruleno==534); + case 543: /* twindow_clause_opt ::= */ yytestcase(yyruleno==543); + case 549: /* sliding_opt ::= */ yytestcase(yyruleno==549); + case 551: /* fill_opt ::= */ yytestcase(yyruleno==551); + case 565: /* having_clause_opt ::= */ yytestcase(yyruleno==565); + case 567: /* range_opt ::= */ yytestcase(yyruleno==567); + case 570: /* every_opt ::= */ yytestcase(yyruleno==570); + case 583: /* slimit_clause_opt ::= */ yytestcase(yyruleno==583); + case 587: /* limit_clause_opt ::= */ yytestcase(yyruleno==587); { yymsp[1].minor.yy698 = NULL; } break; case 45: /* with_opt ::= WITH search_condition */ - case 503: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==503); - case 534: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==534); - case 565: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==565); + case 504: /* from_clause_opt ::= FROM table_reference_list */ yytestcase(yyruleno==504); + case 535: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==535); + case 566: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==566); { yymsp[-1].minor.yy698 = yymsp[0].minor.yy698; } break; case 46: /* cmd ::= CREATE DNODE dnode_endpoint */ @@ -4669,52 +4707,52 @@ static YYACTIONTYPE yy_reduce( case 57: /* dnode_endpoint ::= NK_STRING */ case 58: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==58); case 59: /* dnode_endpoint ::= NK_IPTOKEN */ yytestcase(yyruleno==59); - case 300: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==300); - case 301: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==301); - case 302: /* sma_func_name ::= LAST */ yytestcase(yyruleno==302); - case 303: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==303); - case 398: /* db_name ::= NK_ID */ yytestcase(yyruleno==398); - case 399: /* table_name ::= NK_ID */ yytestcase(yyruleno==399); - case 400: /* column_name ::= NK_ID */ yytestcase(yyruleno==400); - case 401: /* function_name ::= NK_ID */ yytestcase(yyruleno==401); - case 402: /* table_alias ::= NK_ID */ yytestcase(yyruleno==402); - case 403: /* column_alias ::= NK_ID */ yytestcase(yyruleno==403); - case 404: /* user_name ::= NK_ID */ yytestcase(yyruleno==404); - case 405: /* topic_name ::= NK_ID */ yytestcase(yyruleno==405); - case 406: /* stream_name ::= NK_ID */ yytestcase(yyruleno==406); - case 407: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==407); - case 408: /* index_name ::= NK_ID */ yytestcase(yyruleno==408); - case 448: /* noarg_func ::= NOW */ yytestcase(yyruleno==448); - case 449: /* noarg_func ::= TODAY */ yytestcase(yyruleno==449); - case 450: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==450); - case 451: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==451); - case 452: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==452); - case 453: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==453); - case 454: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==454); - case 455: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==455); - case 456: /* noarg_func ::= USER */ yytestcase(yyruleno==456); - case 457: /* star_func ::= COUNT */ yytestcase(yyruleno==457); - case 458: /* star_func ::= FIRST */ yytestcase(yyruleno==458); - case 459: /* star_func ::= LAST */ yytestcase(yyruleno==459); - case 460: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==460); + case 301: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==301); + case 302: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==302); + case 303: /* sma_func_name ::= LAST */ yytestcase(yyruleno==303); + case 304: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==304); + case 399: /* db_name ::= NK_ID */ yytestcase(yyruleno==399); + case 400: /* table_name ::= NK_ID */ yytestcase(yyruleno==400); + case 401: /* column_name ::= NK_ID */ yytestcase(yyruleno==401); + case 402: /* function_name ::= NK_ID */ yytestcase(yyruleno==402); + case 403: /* table_alias ::= NK_ID */ yytestcase(yyruleno==403); + case 404: /* column_alias ::= NK_ID */ yytestcase(yyruleno==404); + case 405: /* user_name ::= NK_ID */ yytestcase(yyruleno==405); + case 406: /* topic_name ::= NK_ID */ yytestcase(yyruleno==406); + case 407: /* stream_name ::= NK_ID */ yytestcase(yyruleno==407); + case 408: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==408); + case 409: /* index_name ::= NK_ID */ yytestcase(yyruleno==409); + case 449: /* noarg_func ::= NOW */ yytestcase(yyruleno==449); + case 450: /* noarg_func ::= TODAY */ yytestcase(yyruleno==450); + case 451: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==451); + case 452: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==452); + case 453: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==453); + case 454: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==454); + case 455: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==455); + case 456: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==456); + case 457: /* noarg_func ::= USER */ yytestcase(yyruleno==457); + case 458: /* star_func ::= COUNT */ yytestcase(yyruleno==458); + case 459: /* star_func ::= FIRST */ yytestcase(yyruleno==459); + case 460: /* star_func ::= LAST */ yytestcase(yyruleno==460); + case 461: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==461); { yylhsminor.yy731 = yymsp[0].minor.yy0; } yymsp[0].minor.yy731 = yylhsminor.yy731; break; case 60: /* force_opt ::= */ case 84: /* not_exists_opt ::= */ yytestcase(yyruleno==84); case 86: /* exists_opt ::= */ yytestcase(yyruleno==86); - case 321: /* analyze_opt ::= */ yytestcase(yyruleno==321); - case 328: /* agg_func_opt ::= */ yytestcase(yyruleno==328); - case 334: /* or_replace_opt ::= */ yytestcase(yyruleno==334); - case 356: /* ignore_opt ::= */ yytestcase(yyruleno==356); - case 523: /* set_quantifier_opt ::= */ yytestcase(yyruleno==523); + case 322: /* analyze_opt ::= */ yytestcase(yyruleno==322); + case 329: /* agg_func_opt ::= */ yytestcase(yyruleno==329); + case 335: /* or_replace_opt ::= */ yytestcase(yyruleno==335); + case 357: /* ignore_opt ::= */ yytestcase(yyruleno==357); + case 524: /* set_quantifier_opt ::= */ yytestcase(yyruleno==524); { yymsp[1].minor.yy83 = false; } break; case 61: /* force_opt ::= FORCE */ case 62: /* unsafe_opt ::= UNSAFE */ yytestcase(yyruleno==62); - case 322: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==322); - case 329: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==329); - case 524: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==524); + case 323: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==323); + case 330: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==330); + case 525: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==525); { yymsp[0].minor.yy83 = true; } break; case 63: /* cmd ::= ALTER LOCAL NK_STRING */ @@ -4781,8 +4819,8 @@ static YYACTIONTYPE yy_reduce( { yymsp[-2].minor.yy83 = true; } break; case 85: /* exists_opt ::= IF EXISTS */ - case 335: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==335); - case 357: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==357); + case 336: /* or_replace_opt ::= OR REPLACE */ yytestcase(yyruleno==336); + case 358: /* ignore_opt ::= IGNORE UNTREATED */ yytestcase(yyruleno==358); { yymsp[-1].minor.yy83 = true; } break; case 87: /* db_options ::= */ @@ -4974,7 +5012,7 @@ static YYACTIONTYPE yy_reduce( yymsp[0].minor.yy88 = yylhsminor.yy88; break; case 136: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 367: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==367); + case 368: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==368); { yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } yymsp[-2].minor.yy88 = yylhsminor.yy88; break; @@ -4990,31 +5028,31 @@ static YYACTIONTYPE yy_reduce( case 169: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==169); case 172: /* multi_drop_clause ::= drop_table_clause */ yytestcase(yyruleno==172); case 179: /* column_def_list ::= column_def */ yytestcase(yyruleno==179); - case 223: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==223); - case 228: /* col_name_list ::= col_name */ yytestcase(yyruleno==228); - case 282: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==282); - case 296: /* func_list ::= func */ yytestcase(yyruleno==296); - case 396: /* literal_list ::= signed_literal */ yytestcase(yyruleno==396); - case 463: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==463); - case 469: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==469); - case 526: /* select_list ::= select_item */ yytestcase(yyruleno==526); - case 537: /* partition_list ::= partition_item */ yytestcase(yyruleno==537); - case 593: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==593); + case 224: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==224); + case 229: /* col_name_list ::= col_name */ yytestcase(yyruleno==229); + case 283: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==283); + case 297: /* func_list ::= func */ yytestcase(yyruleno==297); + case 397: /* literal_list ::= signed_literal */ yytestcase(yyruleno==397); + case 464: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==464); + case 470: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==470); + case 527: /* select_list ::= select_item */ yytestcase(yyruleno==527); + case 538: /* partition_list ::= partition_item */ yytestcase(yyruleno==538); + case 594: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==594); { yylhsminor.yy88 = createNodeList(pCxt, yymsp[0].minor.yy698); } yymsp[0].minor.yy88 = yylhsminor.yy88; break; case 140: /* retention_list ::= retention_list NK_COMMA retention */ case 173: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==173); case 180: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==180); - case 224: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==224); - case 229: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==229); - case 283: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==283); - case 297: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==297); - case 397: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==397); - case 464: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==464); - case 527: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==527); - case 538: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==538); - case 594: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==594); + case 225: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==225); + case 230: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==230); + case 284: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==284); + case 298: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==298); + case 398: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==398); + case 465: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==465); + case 528: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==528); + case 539: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==539); + case 595: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==595); { yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, yymsp[0].minor.yy698); } yymsp[-2].minor.yy88 = yylhsminor.yy88; break; @@ -5023,11 +5061,11 @@ static YYACTIONTYPE yy_reduce( yymsp[-2].minor.yy698 = yylhsminor.yy698; break; case 142: /* speed_opt ::= */ - case 330: /* bufsize_opt ::= */ yytestcase(yyruleno==330); + case 331: /* bufsize_opt ::= */ yytestcase(yyruleno==331); { yymsp[1].minor.yy724 = 0; } break; case 143: /* speed_opt ::= MAX_SPEED NK_INTEGER */ - case 331: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==331); + case 332: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==332); { yymsp[-1].minor.yy724 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; case 145: /* start_opt ::= START WITH NK_INTEGER */ @@ -5056,8 +5094,8 @@ static YYACTIONTYPE yy_reduce( { pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy83, yymsp[0].minor.yy698); } break; case 157: /* cmd ::= ALTER TABLE alter_table_clause */ - case 369: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==369); - case 370: /* cmd ::= insert_query */ yytestcase(yyruleno==370); + case 370: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==370); + case 371: /* cmd ::= insert_query */ yytestcase(yyruleno==371); { pCxt->pRootNode = yymsp[0].minor.yy698; } break; case 158: /* cmd ::= ALTER STABLE alter_table_clause */ @@ -5067,33 +5105,33 @@ static YYACTIONTYPE yy_reduce( { yylhsminor.yy698 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy698, yymsp[0].minor.yy698); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 160: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ -{ yylhsminor.yy698 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy698, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy731, yymsp[0].minor.yy394); } - yymsp[-4].minor.yy698 = yylhsminor.yy698; + case 160: /* alter_table_clause ::= full_table_name ADD COLUMN column_def */ +{ yylhsminor.yy698 = createAlterTableAddModifyCol(pCxt, yymsp[-3].minor.yy698, TSDB_ALTER_TABLE_ADD_COLUMN, yymsp[0].minor.yy698); } + yymsp[-3].minor.yy698 = yylhsminor.yy698; break; case 161: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ { yylhsminor.yy698 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy698, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy731); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 162: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ -{ yylhsminor.yy698 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy698, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy731, yymsp[0].minor.yy394); } - yymsp[-4].minor.yy698 = yylhsminor.yy698; + case 162: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_def */ +{ yylhsminor.yy698 = createAlterTableAddModifyCol(pCxt, yymsp[-3].minor.yy698, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, yymsp[0].minor.yy698); } + yymsp[-3].minor.yy698 = yylhsminor.yy698; break; case 163: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ { yylhsminor.yy698 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy698, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy731, &yymsp[0].minor.yy731); } yymsp[-4].minor.yy698 = yylhsminor.yy698; break; - case 164: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ -{ yylhsminor.yy698 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy698, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy731, yymsp[0].minor.yy394); } - yymsp[-4].minor.yy698 = yylhsminor.yy698; + case 164: /* alter_table_clause ::= full_table_name ADD TAG column_def */ +{ yylhsminor.yy698 = createAlterTableAddModifyCol(pCxt, yymsp[-3].minor.yy698, TSDB_ALTER_TABLE_ADD_TAG, yymsp[0].minor.yy698); } + yymsp[-3].minor.yy698 = yylhsminor.yy698; break; case 165: /* alter_table_clause ::= full_table_name DROP TAG column_name */ { yylhsminor.yy698 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy698, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy731); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 166: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ -{ yylhsminor.yy698 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy698, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy731, yymsp[0].minor.yy394); } - yymsp[-4].minor.yy698 = yylhsminor.yy698; + case 166: /* alter_table_clause ::= full_table_name MODIFY TAG column_def */ +{ yylhsminor.yy698 = createAlterTableAddModifyCol(pCxt, yymsp[-3].minor.yy698, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, yymsp[0].minor.yy698); } + yymsp[-3].minor.yy698 = yylhsminor.yy698; break; case 167: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ { yylhsminor.yy698 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy698, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy731, &yymsp[0].minor.yy731); } @@ -5104,7 +5142,7 @@ static YYACTIONTYPE yy_reduce( yymsp[-5].minor.yy698 = yylhsminor.yy698; break; case 170: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 470: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==470); + case 471: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==471); { yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-1].minor.yy88, yymsp[0].minor.yy698); } yymsp[-1].minor.yy88 = yylhsminor.yy88; break; @@ -5117,17 +5155,17 @@ static YYACTIONTYPE yy_reduce( yymsp[-1].minor.yy698 = yylhsminor.yy698; break; case 175: /* specific_cols_opt ::= */ - case 206: /* tags_def_opt ::= */ yytestcase(yyruleno==206); - case 281: /* tag_list_opt ::= */ yytestcase(yyruleno==281); - case 340: /* col_list_opt ::= */ yytestcase(yyruleno==340); - case 342: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==342); - case 535: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==535); - case 560: /* group_by_clause_opt ::= */ yytestcase(yyruleno==560); - case 580: /* order_by_clause_opt ::= */ yytestcase(yyruleno==580); + case 207: /* tags_def_opt ::= */ yytestcase(yyruleno==207); + case 282: /* tag_list_opt ::= */ yytestcase(yyruleno==282); + case 341: /* col_list_opt ::= */ yytestcase(yyruleno==341); + case 343: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==343); + case 536: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==536); + case 561: /* group_by_clause_opt ::= */ yytestcase(yyruleno==561); + case 581: /* order_by_clause_opt ::= */ yytestcase(yyruleno==581); { yymsp[1].minor.yy88 = NULL; } break; case 176: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ - case 341: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==341); + case 342: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==342); { yymsp[-2].minor.yy88 = yymsp[-1].minor.yy88; } break; case 177: /* full_table_name ::= table_name */ @@ -5142,563 +5180,567 @@ static YYACTIONTYPE yy_reduce( { yylhsminor.yy698 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy731, yymsp[0].minor.yy394, NULL); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 182: /* type_name ::= BOOL */ + case 182: /* column_def ::= column_name type_name COMMENT NK_STRING */ +{ yylhsminor.yy698 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy731, yymsp[-2].minor.yy394, &yymsp[0].minor.yy0); } + yymsp[-3].minor.yy698 = yylhsminor.yy698; + break; + case 183: /* type_name ::= BOOL */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_BOOL); } break; - case 183: /* type_name ::= TINYINT */ + case 184: /* type_name ::= TINYINT */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; - case 184: /* type_name ::= SMALLINT */ + case 185: /* type_name ::= SMALLINT */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; - case 185: /* type_name ::= INT */ - case 186: /* type_name ::= INTEGER */ yytestcase(yyruleno==186); + case 186: /* type_name ::= INT */ + case 187: /* type_name ::= INTEGER */ yytestcase(yyruleno==187); { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_INT); } break; - case 187: /* type_name ::= BIGINT */ + case 188: /* type_name ::= BIGINT */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; - case 188: /* type_name ::= FLOAT */ + case 189: /* type_name ::= FLOAT */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; - case 189: /* type_name ::= DOUBLE */ + case 190: /* type_name ::= DOUBLE */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; - case 190: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + case 191: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy394 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; - case 191: /* type_name ::= TIMESTAMP */ + case 192: /* type_name ::= TIMESTAMP */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; - case 192: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + case 193: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy394 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; - case 193: /* type_name ::= TINYINT UNSIGNED */ + case 194: /* type_name ::= TINYINT UNSIGNED */ { yymsp[-1].minor.yy394 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; - case 194: /* type_name ::= SMALLINT UNSIGNED */ + case 195: /* type_name ::= SMALLINT UNSIGNED */ { yymsp[-1].minor.yy394 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; - case 195: /* type_name ::= INT UNSIGNED */ + case 196: /* type_name ::= INT UNSIGNED */ { yymsp[-1].minor.yy394 = createDataType(TSDB_DATA_TYPE_UINT); } break; - case 196: /* type_name ::= BIGINT UNSIGNED */ + case 197: /* type_name ::= BIGINT UNSIGNED */ { yymsp[-1].minor.yy394 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; - case 197: /* type_name ::= JSON */ + case 198: /* type_name ::= JSON */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_JSON); } break; - case 198: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + case 199: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy394 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; - case 199: /* type_name ::= MEDIUMBLOB */ + case 200: /* type_name ::= MEDIUMBLOB */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; - case 200: /* type_name ::= BLOB */ + case 201: /* type_name ::= BLOB */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_BLOB); } break; - case 201: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + case 202: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy394 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; - case 202: /* type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ + case 203: /* type_name ::= GEOMETRY NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy394 = createVarLenDataType(TSDB_DATA_TYPE_GEOMETRY, &yymsp[-1].minor.yy0); } break; - case 203: /* type_name ::= DECIMAL */ + case 204: /* type_name ::= DECIMAL */ { yymsp[0].minor.yy394 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 204: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + case 205: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy394 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 205: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + case 206: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ { yymsp[-5].minor.yy394 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 207: /* tags_def_opt ::= tags_def */ - case 343: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==343); - case 462: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==462); + case 208: /* tags_def_opt ::= tags_def */ + case 344: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==344); + case 463: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==463); { yylhsminor.yy88 = yymsp[0].minor.yy88; } yymsp[0].minor.yy88 = yylhsminor.yy88; break; - case 208: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ - case 344: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==344); + case 209: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ + case 345: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==345); { yymsp[-3].minor.yy88 = yymsp[-1].minor.yy88; } break; - case 209: /* table_options ::= */ + case 210: /* table_options ::= */ { yymsp[1].minor.yy698 = createDefaultTableOptions(pCxt); } break; - case 210: /* table_options ::= table_options COMMENT NK_STRING */ + case 211: /* table_options ::= table_options COMMENT NK_STRING */ { yylhsminor.yy698 = setTableOption(pCxt, yymsp[-2].minor.yy698, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 211: /* table_options ::= table_options MAX_DELAY duration_list */ + case 212: /* table_options ::= table_options MAX_DELAY duration_list */ { yylhsminor.yy698 = setTableOption(pCxt, yymsp[-2].minor.yy698, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy88); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 212: /* table_options ::= table_options WATERMARK duration_list */ + case 213: /* table_options ::= table_options WATERMARK duration_list */ { yylhsminor.yy698 = setTableOption(pCxt, yymsp[-2].minor.yy698, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy88); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 213: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + case 214: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ { yylhsminor.yy698 = setTableOption(pCxt, yymsp[-4].minor.yy698, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy88); } yymsp[-4].minor.yy698 = yylhsminor.yy698; break; - case 214: /* table_options ::= table_options TTL NK_INTEGER */ + case 215: /* table_options ::= table_options TTL NK_INTEGER */ { yylhsminor.yy698 = setTableOption(pCxt, yymsp[-2].minor.yy698, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 215: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + case 216: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ { yylhsminor.yy698 = setTableOption(pCxt, yymsp[-4].minor.yy698, TABLE_OPTION_SMA, yymsp[-1].minor.yy88); } yymsp[-4].minor.yy698 = yylhsminor.yy698; break; - case 216: /* table_options ::= table_options DELETE_MARK duration_list */ + case 217: /* table_options ::= table_options DELETE_MARK duration_list */ { yylhsminor.yy698 = setTableOption(pCxt, yymsp[-2].minor.yy698, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy88); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 217: /* alter_table_options ::= alter_table_option */ + case 218: /* alter_table_options ::= alter_table_option */ { yylhsminor.yy698 = createAlterTableOptions(pCxt); yylhsminor.yy698 = setTableOption(pCxt, yylhsminor.yy698, yymsp[0].minor.yy23.type, &yymsp[0].minor.yy23.val); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 218: /* alter_table_options ::= alter_table_options alter_table_option */ + case 219: /* alter_table_options ::= alter_table_options alter_table_option */ { yylhsminor.yy698 = setTableOption(pCxt, yymsp[-1].minor.yy698, yymsp[0].minor.yy23.type, &yymsp[0].minor.yy23.val); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 219: /* alter_table_option ::= COMMENT NK_STRING */ + case 220: /* alter_table_option ::= COMMENT NK_STRING */ { yymsp[-1].minor.yy23.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy23.val = yymsp[0].minor.yy0; } break; - case 220: /* alter_table_option ::= TTL NK_INTEGER */ + case 221: /* alter_table_option ::= TTL NK_INTEGER */ { yymsp[-1].minor.yy23.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy23.val = yymsp[0].minor.yy0; } break; - case 221: /* duration_list ::= duration_literal */ - case 426: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==426); + case 222: /* duration_list ::= duration_literal */ + case 427: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==427); { yylhsminor.yy88 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy698)); } yymsp[0].minor.yy88 = yylhsminor.yy88; break; - case 222: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 427: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==427); + case 223: /* duration_list ::= duration_list NK_COMMA duration_literal */ + case 428: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==428); { yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, releaseRawExprNode(pCxt, yymsp[0].minor.yy698)); } yymsp[-2].minor.yy88 = yylhsminor.yy88; break; - case 225: /* rollup_func_name ::= function_name */ + case 226: /* rollup_func_name ::= function_name */ { yylhsminor.yy698 = createFunctionNode(pCxt, &yymsp[0].minor.yy731, NULL); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 226: /* rollup_func_name ::= FIRST */ - case 227: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==227); - case 285: /* tag_item ::= QTAGS */ yytestcase(yyruleno==285); + case 227: /* rollup_func_name ::= FIRST */ + case 228: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==228); + case 286: /* tag_item ::= QTAGS */ yytestcase(yyruleno==286); { yylhsminor.yy698 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 230: /* col_name ::= column_name */ - case 286: /* tag_item ::= column_name */ yytestcase(yyruleno==286); + case 231: /* col_name ::= column_name */ + case 287: /* tag_item ::= column_name */ yytestcase(yyruleno==287); { yylhsminor.yy698 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy731); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 231: /* cmd ::= SHOW DNODES */ + case 232: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } break; - case 232: /* cmd ::= SHOW USERS */ + case 233: /* cmd ::= SHOW USERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_USERS_STMT); } break; - case 233: /* cmd ::= SHOW USER PRIVILEGES */ + case 234: /* cmd ::= SHOW USER PRIVILEGES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_USER_PRIVILEGES_STMT); } break; - case 234: /* cmd ::= SHOW DATABASES */ + case 235: /* cmd ::= SHOW DATABASES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; - case 235: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + case 236: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy698, yymsp[0].minor.yy698, OP_TYPE_LIKE); } break; - case 236: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + case 237: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy698, yymsp[0].minor.yy698, OP_TYPE_LIKE); } break; - case 237: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ + case 238: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy698, NULL, OP_TYPE_LIKE); } break; - case 238: /* cmd ::= SHOW MNODES */ + case 239: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } break; - case 239: /* cmd ::= SHOW QNODES */ + case 240: /* cmd ::= SHOW QNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QNODES_STMT); } break; - case 240: /* cmd ::= SHOW FUNCTIONS */ + case 241: /* cmd ::= SHOW FUNCTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; - case 241: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + case 242: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy698, yymsp[-1].minor.yy698, OP_TYPE_EQUAL); } break; - case 242: /* cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ + case 243: /* cmd ::= SHOW INDEXES FROM db_name NK_DOT table_name */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy731), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy731), OP_TYPE_EQUAL); } break; - case 243: /* cmd ::= SHOW STREAMS */ + case 244: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } break; - case 244: /* cmd ::= SHOW ACCOUNTS */ + case 245: /* cmd ::= SHOW ACCOUNTS */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } break; - case 245: /* cmd ::= SHOW APPS */ + case 246: /* cmd ::= SHOW APPS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_APPS_STMT); } break; - case 246: /* cmd ::= SHOW CONNECTIONS */ + case 247: /* cmd ::= SHOW CONNECTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONNECTIONS_STMT); } break; - case 247: /* cmd ::= SHOW LICENCES */ - case 248: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==248); + case 248: /* cmd ::= SHOW LICENCES */ + case 249: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==249); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; - case 249: /* cmd ::= SHOW CREATE DATABASE db_name */ + case 250: /* cmd ::= SHOW CREATE DATABASE db_name */ { pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy731); } break; - case 250: /* cmd ::= SHOW CREATE TABLE full_table_name */ + case 251: /* cmd ::= SHOW CREATE TABLE full_table_name */ { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy698); } break; - case 251: /* cmd ::= SHOW CREATE STABLE full_table_name */ + case 252: /* cmd ::= SHOW CREATE STABLE full_table_name */ { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy698); } break; - case 252: /* cmd ::= SHOW QUERIES */ + case 253: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } break; - case 253: /* cmd ::= SHOW SCORES */ + case 254: /* cmd ::= SHOW SCORES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SCORES_STMT); } break; - case 254: /* cmd ::= SHOW TOPICS */ + case 255: /* cmd ::= SHOW TOPICS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TOPICS_STMT); } break; - case 255: /* cmd ::= SHOW VARIABLES */ - case 256: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==256); + case 256: /* cmd ::= SHOW VARIABLES */ + case 257: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==257); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_VARIABLES_STMT); } break; - case 257: /* cmd ::= SHOW LOCAL VARIABLES */ + case 258: /* cmd ::= SHOW LOCAL VARIABLES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; - case 258: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + case 259: /* 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.yy698); } break; - case 259: /* cmd ::= SHOW BNODES */ + case 260: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } break; - case 260: /* cmd ::= SHOW SNODES */ + case 261: /* cmd ::= SHOW SNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SNODES_STMT); } break; - case 261: /* cmd ::= SHOW CLUSTER */ + case 262: /* cmd ::= SHOW CLUSTER */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_STMT); } break; - case 262: /* cmd ::= SHOW TRANSACTIONS */ + case 263: /* cmd ::= SHOW TRANSACTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; - case 263: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + case 264: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ { pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy698); } break; - case 264: /* cmd ::= SHOW CONSUMERS */ + case 265: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } break; - case 265: /* cmd ::= SHOW SUBSCRIPTIONS */ + case 266: /* cmd ::= SHOW SUBSCRIPTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; - case 266: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + case 267: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy698, yymsp[-1].minor.yy698, OP_TYPE_EQUAL); } break; - case 267: /* cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ + case 268: /* cmd ::= SHOW TAGS FROM db_name NK_DOT table_name */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy731), createIdentifierValueNode(pCxt, &yymsp[0].minor.yy731), OP_TYPE_EQUAL); } break; - case 268: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + case 269: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy698, yymsp[0].minor.yy698, yymsp[-3].minor.yy88); } break; - case 269: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ + case 270: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM db_name NK_DOT table_name */ { pCxt->pRootNode = createShowTableTagsStmt(pCxt, createIdentifierValueNode(pCxt, &yymsp[0].minor.yy731), createIdentifierValueNode(pCxt, &yymsp[-2].minor.yy731), yymsp[-4].minor.yy88); } break; - case 270: /* cmd ::= SHOW VNODES NK_INTEGER */ + case 271: /* cmd ::= SHOW VNODES NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } break; - case 271: /* cmd ::= SHOW VNODES NK_STRING */ + case 272: /* cmd ::= SHOW VNODES NK_STRING */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, createValueNode(pCxt, TSDB_DATA_TYPE_VARCHAR, &yymsp[0].minor.yy0)); } break; - case 272: /* cmd ::= SHOW db_name_cond_opt ALIVE */ + case 273: /* cmd ::= SHOW db_name_cond_opt ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy698, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; - case 273: /* cmd ::= SHOW CLUSTER ALIVE */ + case 274: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; - case 274: /* db_name_cond_opt ::= */ - case 279: /* from_db_opt ::= */ yytestcase(yyruleno==279); + case 275: /* db_name_cond_opt ::= */ + case 280: /* from_db_opt ::= */ yytestcase(yyruleno==280); { yymsp[1].minor.yy698 = createDefaultDatabaseCondValue(pCxt); } break; - case 275: /* db_name_cond_opt ::= db_name NK_DOT */ + case 276: /* db_name_cond_opt ::= db_name NK_DOT */ { yylhsminor.yy698 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy731); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 277: /* like_pattern_opt ::= LIKE NK_STRING */ + case 278: /* like_pattern_opt ::= LIKE NK_STRING */ { yymsp[-1].minor.yy698 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; - case 278: /* table_name_cond ::= table_name */ + case 279: /* table_name_cond ::= table_name */ { yylhsminor.yy698 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy731); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 280: /* from_db_opt ::= FROM db_name */ + case 281: /* from_db_opt ::= FROM db_name */ { yymsp[-1].minor.yy698 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy731); } break; - case 284: /* tag_item ::= TBNAME */ + case 285: /* tag_item ::= TBNAME */ { yylhsminor.yy698 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 287: /* tag_item ::= column_name column_alias */ + case 288: /* tag_item ::= column_name column_alias */ { yylhsminor.yy698 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy731), &yymsp[0].minor.yy731); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 288: /* tag_item ::= column_name AS column_alias */ + case 289: /* tag_item ::= column_name AS column_alias */ { yylhsminor.yy698 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy731), &yymsp[0].minor.yy731); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 289: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + case 290: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ { pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy83, yymsp[-3].minor.yy698, yymsp[-1].minor.yy698, NULL, yymsp[0].minor.yy698); } break; - case 290: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + case 291: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ { pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy83, yymsp[-5].minor.yy698, yymsp[-3].minor.yy698, yymsp[-1].minor.yy88, NULL); } break; - case 291: /* cmd ::= DROP INDEX exists_opt full_index_name */ + case 292: /* cmd ::= DROP INDEX exists_opt full_index_name */ { pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy83, yymsp[0].minor.yy698); } break; - case 292: /* full_index_name ::= index_name */ + case 293: /* full_index_name ::= index_name */ { yylhsminor.yy698 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy731); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 293: /* full_index_name ::= db_name NK_DOT index_name */ + case 294: /* full_index_name ::= db_name NK_DOT index_name */ { yylhsminor.yy698 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy731, &yymsp[0].minor.yy731); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 294: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + case 295: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ { yymsp[-9].minor.yy698 = createIndexOption(pCxt, yymsp[-7].minor.yy88, releaseRawExprNode(pCxt, yymsp[-3].minor.yy698), NULL, yymsp[-1].minor.yy698, yymsp[0].minor.yy698); } break; - case 295: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ + case 296: /* 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.yy698 = createIndexOption(pCxt, yymsp[-9].minor.yy88, releaseRawExprNode(pCxt, yymsp[-5].minor.yy698), releaseRawExprNode(pCxt, yymsp[-3].minor.yy698), yymsp[-1].minor.yy698, yymsp[0].minor.yy698); } break; - case 298: /* func ::= sma_func_name NK_LP expression_list NK_RP */ + case 299: /* func ::= sma_func_name NK_LP expression_list NK_RP */ { yylhsminor.yy698 = createFunctionNode(pCxt, &yymsp[-3].minor.yy731, yymsp[-1].minor.yy88); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 299: /* sma_func_name ::= function_name */ - case 513: /* alias_opt ::= table_alias */ yytestcase(yyruleno==513); + case 300: /* sma_func_name ::= function_name */ + case 514: /* alias_opt ::= table_alias */ yytestcase(yyruleno==514); { yylhsminor.yy731 = yymsp[0].minor.yy731; } yymsp[0].minor.yy731 = yylhsminor.yy731; break; - case 304: /* sma_stream_opt ::= */ - case 345: /* stream_options ::= */ yytestcase(yyruleno==345); + case 305: /* sma_stream_opt ::= */ + case 346: /* stream_options ::= */ yytestcase(yyruleno==346); { yymsp[1].minor.yy698 = createStreamOptions(pCxt); } break; - case 305: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + case 306: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy698)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy698); yylhsminor.yy698 = yymsp[-2].minor.yy698; } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 306: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + case 307: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy698)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy698); yylhsminor.yy698 = yymsp[-2].minor.yy698; } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 307: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + case 308: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy698)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy698); yylhsminor.yy698 = yymsp[-2].minor.yy698; } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 308: /* with_meta ::= AS */ + case 309: /* with_meta ::= AS */ { yymsp[0].minor.yy724 = 0; } break; - case 309: /* with_meta ::= WITH META AS */ + case 310: /* with_meta ::= WITH META AS */ { yymsp[-2].minor.yy724 = 1; } break; - case 310: /* with_meta ::= ONLY META AS */ + case 311: /* with_meta ::= ONLY META AS */ { yymsp[-2].minor.yy724 = 2; } break; - case 311: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + case 312: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ { pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy83, &yymsp[-2].minor.yy731, yymsp[0].minor.yy698); } break; - case 312: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ + case 313: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta DATABASE db_name */ { pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy83, &yymsp[-3].minor.yy731, &yymsp[0].minor.yy731, yymsp[-2].minor.yy724); } break; - case 313: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ + case 314: /* cmd ::= CREATE TOPIC not_exists_opt topic_name with_meta STABLE full_table_name where_clause_opt */ { pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-5].minor.yy83, &yymsp[-4].minor.yy731, yymsp[-1].minor.yy698, yymsp[-3].minor.yy724, yymsp[0].minor.yy698); } break; - case 314: /* cmd ::= DROP TOPIC exists_opt topic_name */ + case 315: /* cmd ::= DROP TOPIC exists_opt topic_name */ { pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy83, &yymsp[0].minor.yy731); } break; - case 315: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + case 316: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ { pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy83, &yymsp[-2].minor.yy731, &yymsp[0].minor.yy731); } break; - case 316: /* cmd ::= DESC full_table_name */ - case 317: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==317); + case 317: /* cmd ::= DESC full_table_name */ + case 318: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==318); { pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy698); } break; - case 318: /* cmd ::= RESET QUERY CACHE */ + case 319: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; - case 319: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - case 320: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==320); + case 320: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + case 321: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==321); { pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy83, yymsp[-1].minor.yy698, yymsp[0].minor.yy698); } break; - case 323: /* explain_options ::= */ + case 324: /* explain_options ::= */ { yymsp[1].minor.yy698 = createDefaultExplainOptions(pCxt); } break; - case 324: /* explain_options ::= explain_options VERBOSE NK_BOOL */ + case 325: /* explain_options ::= explain_options VERBOSE NK_BOOL */ { yylhsminor.yy698 = setExplainVerbose(pCxt, yymsp[-2].minor.yy698, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 325: /* explain_options ::= explain_options RATIO NK_FLOAT */ + case 326: /* explain_options ::= explain_options RATIO NK_FLOAT */ { yylhsminor.yy698 = setExplainRatio(pCxt, yymsp[-2].minor.yy698, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 326: /* cmd ::= CREATE or_replace_opt agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + case 327: /* 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.yy83, yymsp[-9].minor.yy83, &yymsp[-6].minor.yy731, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy394, yymsp[-1].minor.yy724, &yymsp[0].minor.yy731, yymsp[-10].minor.yy83); } break; - case 327: /* cmd ::= DROP FUNCTION exists_opt function_name */ + case 328: /* cmd ::= DROP FUNCTION exists_opt function_name */ { pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy83, &yymsp[0].minor.yy731); } break; - case 332: /* language_opt ::= */ + case 333: /* language_opt ::= */ { yymsp[1].minor.yy731 = nil_token; } break; - case 333: /* language_opt ::= LANGUAGE NK_STRING */ + case 334: /* language_opt ::= LANGUAGE NK_STRING */ { yymsp[-1].minor.yy731 = yymsp[0].minor.yy0; } break; - case 336: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + case 337: /* 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.yy83, &yymsp[-8].minor.yy731, yymsp[-5].minor.yy698, yymsp[-7].minor.yy698, yymsp[-3].minor.yy88, yymsp[-2].minor.yy698, yymsp[0].minor.yy698, yymsp[-4].minor.yy88); } break; - case 337: /* cmd ::= DROP STREAM exists_opt stream_name */ + case 338: /* cmd ::= DROP STREAM exists_opt stream_name */ { pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy83, &yymsp[0].minor.yy731); } break; - case 338: /* cmd ::= PAUSE STREAM exists_opt stream_name */ + case 339: /* cmd ::= PAUSE STREAM exists_opt stream_name */ { pCxt->pRootNode = createPauseStreamStmt(pCxt, yymsp[-1].minor.yy83, &yymsp[0].minor.yy731); } break; - case 339: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ + case 340: /* cmd ::= RESUME STREAM exists_opt ignore_opt stream_name */ { pCxt->pRootNode = createResumeStreamStmt(pCxt, yymsp[-2].minor.yy83, yymsp[-1].minor.yy83, &yymsp[0].minor.yy731); } break; - case 346: /* stream_options ::= stream_options TRIGGER AT_ONCE */ - case 347: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==347); + case 347: /* stream_options ::= stream_options TRIGGER AT_ONCE */ + case 348: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==348); { yylhsminor.yy698 = setStreamOptions(pCxt, yymsp[-2].minor.yy698, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 348: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + case 349: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ { yylhsminor.yy698 = setStreamOptions(pCxt, yymsp[-3].minor.yy698, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy698)); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 349: /* stream_options ::= stream_options WATERMARK duration_literal */ + case 350: /* stream_options ::= stream_options WATERMARK duration_literal */ { yylhsminor.yy698 = setStreamOptions(pCxt, yymsp[-2].minor.yy698, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy698)); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 350: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + case 351: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ { yylhsminor.yy698 = setStreamOptions(pCxt, yymsp[-3].minor.yy698, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 351: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + case 352: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ { yylhsminor.yy698 = setStreamOptions(pCxt, yymsp[-2].minor.yy698, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 352: /* stream_options ::= stream_options DELETE_MARK duration_literal */ + case 353: /* stream_options ::= stream_options DELETE_MARK duration_literal */ { yylhsminor.yy698 = setStreamOptions(pCxt, yymsp[-2].minor.yy698, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy698)); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 353: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + case 354: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ { yylhsminor.yy698 = setStreamOptions(pCxt, yymsp[-3].minor.yy698, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 355: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 549: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==549); - case 570: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==570); + case 356: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + case 550: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==550); + case 571: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==571); { yymsp[-3].minor.yy698 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy698); } break; - case 358: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 359: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 359: /* cmd ::= KILL QUERY NK_STRING */ + case 360: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 360: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 361: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 361: /* cmd ::= BALANCE VGROUP */ + case 362: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 362: /* cmd ::= BALANCE VGROUP LEADER */ + case 363: /* cmd ::= BALANCE VGROUP LEADER */ { pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt); } break; - case 363: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 364: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 364: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + case 365: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ { pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy88); } break; - case 365: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 366: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 366: /* dnode_list ::= DNODE NK_INTEGER */ + case 367: /* dnode_list ::= DNODE NK_INTEGER */ { yymsp[-1].minor.yy88 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 368: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ + case 369: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ { pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy698, yymsp[0].minor.yy698); } break; - case 371: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + case 372: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ { yymsp[-6].minor.yy698 = createInsertStmt(pCxt, yymsp[-4].minor.yy698, yymsp[-2].minor.yy88, yymsp[0].minor.yy698); } break; - case 372: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ + case 373: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ { yymsp[-3].minor.yy698 = createInsertStmt(pCxt, yymsp[-1].minor.yy698, NULL, yymsp[0].minor.yy698); } break; - case 373: /* literal ::= NK_INTEGER */ + case 374: /* literal ::= NK_INTEGER */ { yylhsminor.yy698 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 374: /* literal ::= NK_FLOAT */ + case 375: /* literal ::= NK_FLOAT */ { yylhsminor.yy698 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 375: /* literal ::= NK_STRING */ + case 376: /* literal ::= NK_STRING */ { yylhsminor.yy698 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 376: /* literal ::= NK_BOOL */ + case 377: /* literal ::= NK_BOOL */ { yylhsminor.yy698 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 377: /* literal ::= TIMESTAMP NK_STRING */ + case 378: /* literal ::= TIMESTAMP NK_STRING */ { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 378: /* literal ::= duration_literal */ - case 388: /* signed_literal ::= signed */ yytestcase(yyruleno==388); - case 409: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==409); - case 410: /* expression ::= literal */ yytestcase(yyruleno==410); - case 411: /* expression ::= pseudo_column */ yytestcase(yyruleno==411); - case 412: /* expression ::= column_reference */ yytestcase(yyruleno==412); - case 413: /* expression ::= function_expression */ yytestcase(yyruleno==413); - case 414: /* expression ::= case_when_expression */ yytestcase(yyruleno==414); - case 445: /* function_expression ::= literal_func */ yytestcase(yyruleno==445); - case 494: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==494); - case 498: /* boolean_primary ::= predicate */ yytestcase(yyruleno==498); - case 500: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==500); - case 501: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==501); - case 504: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==504); - case 506: /* table_reference ::= table_primary */ yytestcase(yyruleno==506); - case 507: /* table_reference ::= joined_table */ yytestcase(yyruleno==507); - case 511: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==511); - case 572: /* query_simple ::= query_specification */ yytestcase(yyruleno==572); - case 573: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==573); - case 576: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==576); - case 578: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==578); + case 379: /* literal ::= duration_literal */ + case 389: /* signed_literal ::= signed */ yytestcase(yyruleno==389); + case 410: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==410); + case 411: /* expression ::= literal */ yytestcase(yyruleno==411); + case 412: /* expression ::= pseudo_column */ yytestcase(yyruleno==412); + case 413: /* expression ::= column_reference */ yytestcase(yyruleno==413); + case 414: /* expression ::= function_expression */ yytestcase(yyruleno==414); + case 415: /* expression ::= case_when_expression */ yytestcase(yyruleno==415); + case 446: /* function_expression ::= literal_func */ yytestcase(yyruleno==446); + case 495: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==495); + case 499: /* boolean_primary ::= predicate */ yytestcase(yyruleno==499); + case 501: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==501); + case 502: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==502); + case 505: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==505); + case 507: /* table_reference ::= table_primary */ yytestcase(yyruleno==507); + case 508: /* table_reference ::= joined_table */ yytestcase(yyruleno==508); + case 512: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==512); + case 573: /* query_simple ::= query_specification */ yytestcase(yyruleno==573); + case 574: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==574); + case 577: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==577); + case 579: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==579); { yylhsminor.yy698 = yymsp[0].minor.yy698; } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 379: /* literal ::= NULL */ + case 380: /* literal ::= NULL */ { yylhsminor.yy698 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 380: /* literal ::= NK_QUESTION */ + case 381: /* literal ::= NK_QUESTION */ { yylhsminor.yy698 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 381: /* duration_literal ::= NK_VARIABLE */ + case 382: /* duration_literal ::= NK_VARIABLE */ { yylhsminor.yy698 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 382: /* signed ::= NK_INTEGER */ + case 383: /* signed ::= NK_INTEGER */ { yylhsminor.yy698 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 383: /* signed ::= NK_PLUS NK_INTEGER */ + case 384: /* signed ::= NK_PLUS NK_INTEGER */ { yymsp[-1].minor.yy698 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } break; - case 384: /* signed ::= NK_MINUS NK_INTEGER */ + case 385: /* 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; @@ -5706,14 +5748,14 @@ static YYACTIONTYPE yy_reduce( } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 385: /* signed ::= NK_FLOAT */ + case 386: /* signed ::= NK_FLOAT */ { yylhsminor.yy698 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 386: /* signed ::= NK_PLUS NK_FLOAT */ + case 387: /* signed ::= NK_PLUS NK_FLOAT */ { yymsp[-1].minor.yy698 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 387: /* signed ::= NK_MINUS NK_FLOAT */ + case 388: /* 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; @@ -5721,57 +5763,57 @@ static YYACTIONTYPE yy_reduce( } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 389: /* signed_literal ::= NK_STRING */ + case 390: /* signed_literal ::= NK_STRING */ { yylhsminor.yy698 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 390: /* signed_literal ::= NK_BOOL */ + case 391: /* signed_literal ::= NK_BOOL */ { yylhsminor.yy698 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 391: /* signed_literal ::= TIMESTAMP NK_STRING */ + case 392: /* signed_literal ::= TIMESTAMP NK_STRING */ { yymsp[-1].minor.yy698 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 392: /* signed_literal ::= duration_literal */ - case 394: /* signed_literal ::= literal_func */ yytestcase(yyruleno==394); - case 465: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==465); - case 529: /* select_item ::= common_expression */ yytestcase(yyruleno==529); - case 539: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==539); - case 577: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==577); - case 579: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==579); - case 592: /* search_condition ::= common_expression */ yytestcase(yyruleno==592); + case 393: /* signed_literal ::= duration_literal */ + case 395: /* signed_literal ::= literal_func */ yytestcase(yyruleno==395); + case 466: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==466); + case 530: /* select_item ::= common_expression */ yytestcase(yyruleno==530); + case 540: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==540); + case 578: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==578); + case 580: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==580); + case 593: /* search_condition ::= common_expression */ yytestcase(yyruleno==593); { yylhsminor.yy698 = releaseRawExprNode(pCxt, yymsp[0].minor.yy698); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 393: /* signed_literal ::= NULL */ + case 394: /* signed_literal ::= NULL */ { yylhsminor.yy698 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 395: /* signed_literal ::= NK_QUESTION */ + case 396: /* signed_literal ::= NK_QUESTION */ { yylhsminor.yy698 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 415: /* expression ::= NK_LP expression NK_RP */ - case 499: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==499); - case 591: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==591); + case 416: /* expression ::= NK_LP expression NK_RP */ + case 500: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==500); + case 592: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==592); { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy698)); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 416: /* expression ::= NK_PLUS expr_or_subquery */ + case 417: /* expression ::= NK_PLUS expr_or_subquery */ { SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy698)); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 417: /* expression ::= NK_MINUS expr_or_subquery */ + case 418: /* expression ::= NK_MINUS expr_or_subquery */ { SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy698), NULL)); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 418: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 419: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5779,7 +5821,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 419: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 420: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5787,7 +5829,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 420: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 421: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5795,7 +5837,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 421: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 422: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5803,7 +5845,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 422: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 423: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5811,14 +5853,14 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 423: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 424: /* expression ::= column_reference NK_ARROW NK_STRING */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); yylhsminor.yy698 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy698), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 424: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 425: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5826,7 +5868,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 425: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 426: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5834,71 +5876,71 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 428: /* column_reference ::= column_name */ + case 429: /* column_reference ::= column_name */ { yylhsminor.yy698 = createRawExprNode(pCxt, &yymsp[0].minor.yy731, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy731)); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 429: /* column_reference ::= table_name NK_DOT column_name */ + case 430: /* column_reference ::= table_name NK_DOT column_name */ { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy731, &yymsp[0].minor.yy731, createColumnNode(pCxt, &yymsp[-2].minor.yy731, &yymsp[0].minor.yy731)); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 430: /* pseudo_column ::= ROWTS */ - case 431: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==431); - case 433: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==433); - case 434: /* pseudo_column ::= QEND */ yytestcase(yyruleno==434); - case 435: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==435); - case 436: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==436); - case 437: /* pseudo_column ::= WEND */ yytestcase(yyruleno==437); - case 438: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==438); - case 439: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==439); - case 440: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==440); - case 441: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==441); - case 447: /* literal_func ::= NOW */ yytestcase(yyruleno==447); + case 431: /* pseudo_column ::= ROWTS */ + case 432: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==432); + case 434: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==434); + case 435: /* pseudo_column ::= QEND */ yytestcase(yyruleno==435); + case 436: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==436); + case 437: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==437); + case 438: /* pseudo_column ::= WEND */ yytestcase(yyruleno==438); + case 439: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==439); + case 440: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==440); + case 441: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==441); + case 442: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==442); + case 448: /* literal_func ::= NOW */ yytestcase(yyruleno==448); { yylhsminor.yy698 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 432: /* pseudo_column ::= table_name NK_DOT TBNAME */ + case 433: /* pseudo_column ::= table_name NK_DOT TBNAME */ { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy731, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy731)))); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 442: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 443: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==443); + case 443: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 444: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==444); { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy731, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy731, yymsp[-1].minor.yy88)); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 444: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + case 445: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy698), yymsp[-1].minor.yy394)); } yymsp[-5].minor.yy698 = yylhsminor.yy698; break; - case 446: /* literal_func ::= noarg_func NK_LP NK_RP */ + case 447: /* literal_func ::= noarg_func NK_LP NK_RP */ { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy731, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy731, NULL)); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 461: /* star_func_para_list ::= NK_STAR */ + case 462: /* star_func_para_list ::= NK_STAR */ { yylhsminor.yy88 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy88 = yylhsminor.yy88; break; - case 466: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 532: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==532); + case 467: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 533: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==533); { yylhsminor.yy698 = createColumnNode(pCxt, &yymsp[-2].minor.yy731, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 467: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ + case 468: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy88, yymsp[-1].minor.yy698)); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 468: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + case 469: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy698), yymsp[-2].minor.yy88, yymsp[-1].minor.yy698)); } yymsp[-4].minor.yy698 = yylhsminor.yy698; break; - case 471: /* when_then_expr ::= WHEN common_expression THEN common_expression */ + case 472: /* when_then_expr ::= WHEN common_expression THEN common_expression */ { yymsp[-3].minor.yy698 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy698), releaseRawExprNode(pCxt, yymsp[0].minor.yy698)); } break; - case 473: /* case_when_else_opt ::= ELSE common_expression */ + case 474: /* case_when_else_opt ::= ELSE common_expression */ { yymsp[-1].minor.yy698 = releaseRawExprNode(pCxt, yymsp[0].minor.yy698); } break; - case 474: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 479: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==479); + case 475: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 480: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==480); { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5906,7 +5948,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 475: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 476: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5914,7 +5956,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-4].minor.yy698 = yylhsminor.yy698; break; - case 476: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 477: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5922,71 +5964,71 @@ static YYACTIONTYPE yy_reduce( } yymsp[-5].minor.yy698 = yylhsminor.yy698; break; - case 477: /* predicate ::= expr_or_subquery IS NULL */ + case 478: /* predicate ::= expr_or_subquery IS NULL */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); yylhsminor.yy698 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy698), NULL)); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 478: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 479: /* predicate ::= expr_or_subquery IS NOT NULL */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy698); yylhsminor.yy698 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy698), NULL)); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 480: /* compare_op ::= NK_LT */ + case 481: /* compare_op ::= NK_LT */ { yymsp[0].minor.yy464 = OP_TYPE_LOWER_THAN; } break; - case 481: /* compare_op ::= NK_GT */ + case 482: /* compare_op ::= NK_GT */ { yymsp[0].minor.yy464 = OP_TYPE_GREATER_THAN; } break; - case 482: /* compare_op ::= NK_LE */ + case 483: /* compare_op ::= NK_LE */ { yymsp[0].minor.yy464 = OP_TYPE_LOWER_EQUAL; } break; - case 483: /* compare_op ::= NK_GE */ + case 484: /* compare_op ::= NK_GE */ { yymsp[0].minor.yy464 = OP_TYPE_GREATER_EQUAL; } break; - case 484: /* compare_op ::= NK_NE */ + case 485: /* compare_op ::= NK_NE */ { yymsp[0].minor.yy464 = OP_TYPE_NOT_EQUAL; } break; - case 485: /* compare_op ::= NK_EQ */ + case 486: /* compare_op ::= NK_EQ */ { yymsp[0].minor.yy464 = OP_TYPE_EQUAL; } break; - case 486: /* compare_op ::= LIKE */ + case 487: /* compare_op ::= LIKE */ { yymsp[0].minor.yy464 = OP_TYPE_LIKE; } break; - case 487: /* compare_op ::= NOT LIKE */ + case 488: /* compare_op ::= NOT LIKE */ { yymsp[-1].minor.yy464 = OP_TYPE_NOT_LIKE; } break; - case 488: /* compare_op ::= MATCH */ + case 489: /* compare_op ::= MATCH */ { yymsp[0].minor.yy464 = OP_TYPE_MATCH; } break; - case 489: /* compare_op ::= NMATCH */ + case 490: /* compare_op ::= NMATCH */ { yymsp[0].minor.yy464 = OP_TYPE_NMATCH; } break; - case 490: /* compare_op ::= CONTAINS */ + case 491: /* compare_op ::= CONTAINS */ { yymsp[0].minor.yy464 = OP_TYPE_JSON_CONTAINS; } break; - case 491: /* in_op ::= IN */ + case 492: /* in_op ::= IN */ { yymsp[0].minor.yy464 = OP_TYPE_IN; } break; - case 492: /* in_op ::= NOT IN */ + case 493: /* in_op ::= NOT IN */ { yymsp[-1].minor.yy464 = OP_TYPE_NOT_IN; } break; - case 493: /* in_predicate_value ::= NK_LP literal_list NK_RP */ + case 494: /* in_predicate_value ::= NK_LP literal_list NK_RP */ { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy88)); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 495: /* boolean_value_expression ::= NOT boolean_primary */ + case 496: /* boolean_value_expression ::= NOT boolean_primary */ { SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy698), NULL)); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 496: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 497: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -5994,7 +6036,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 497: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 498: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy698); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy698); @@ -6002,43 +6044,43 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 505: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ + case 506: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ { yylhsminor.yy698 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy698, yymsp[0].minor.yy698, NULL); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 508: /* table_primary ::= table_name alias_opt */ + case 509: /* table_primary ::= table_name alias_opt */ { yylhsminor.yy698 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy731, &yymsp[0].minor.yy731); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 509: /* table_primary ::= db_name NK_DOT table_name alias_opt */ + case 510: /* table_primary ::= db_name NK_DOT table_name alias_opt */ { yylhsminor.yy698 = createRealTableNode(pCxt, &yymsp[-3].minor.yy731, &yymsp[-1].minor.yy731, &yymsp[0].minor.yy731); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 510: /* table_primary ::= subquery alias_opt */ + case 511: /* table_primary ::= subquery alias_opt */ { yylhsminor.yy698 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy698), &yymsp[0].minor.yy731); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 512: /* alias_opt ::= */ + case 513: /* alias_opt ::= */ { yymsp[1].minor.yy731 = nil_token; } break; - case 514: /* alias_opt ::= AS table_alias */ + case 515: /* alias_opt ::= AS table_alias */ { yymsp[-1].minor.yy731 = yymsp[0].minor.yy731; } break; - case 515: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 516: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==516); + case 516: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 517: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==517); { yymsp[-2].minor.yy698 = yymsp[-1].minor.yy698; } break; - case 517: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + case 518: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ { yylhsminor.yy698 = createJoinTableNode(pCxt, yymsp[-4].minor.yy24, yymsp[-5].minor.yy698, yymsp[-2].minor.yy698, yymsp[0].minor.yy698); } yymsp[-5].minor.yy698 = yylhsminor.yy698; break; - case 518: /* join_type ::= */ + case 519: /* join_type ::= */ { yymsp[1].minor.yy24 = JOIN_TYPE_INNER; } break; - case 519: /* join_type ::= INNER */ + case 520: /* join_type ::= INNER */ { yymsp[0].minor.yy24 = JOIN_TYPE_INNER; } break; - case 520: /* query_specification ::= SELECT hint_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + case 521: /* query_specification ::= SELECT hint_list set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ { yymsp[-12].minor.yy698 = createSelectStmt(pCxt, yymsp[-10].minor.yy83, yymsp[-9].minor.yy88, yymsp[-8].minor.yy698, yymsp[-11].minor.yy88); yymsp[-12].minor.yy698 = addWhereClause(pCxt, yymsp[-12].minor.yy698, yymsp[-7].minor.yy698); @@ -6051,92 +6093,92 @@ static YYACTIONTYPE yy_reduce( yymsp[-12].minor.yy698 = addFillClause(pCxt, yymsp[-12].minor.yy698, yymsp[-3].minor.yy698); } break; - case 521: /* hint_list ::= */ + case 522: /* hint_list ::= */ { yymsp[1].minor.yy88 = createHintNodeList(pCxt, NULL); } break; - case 522: /* hint_list ::= NK_HINT */ + case 523: /* hint_list ::= NK_HINT */ { yylhsminor.yy88 = createHintNodeList(pCxt, &yymsp[0].minor.yy0); } yymsp[0].minor.yy88 = yylhsminor.yy88; break; - case 525: /* set_quantifier_opt ::= ALL */ + case 526: /* set_quantifier_opt ::= ALL */ { yymsp[0].minor.yy83 = false; } break; - case 528: /* select_item ::= NK_STAR */ + case 529: /* select_item ::= NK_STAR */ { yylhsminor.yy698 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy698 = yylhsminor.yy698; break; - case 530: /* select_item ::= common_expression column_alias */ - case 540: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==540); + case 531: /* select_item ::= common_expression column_alias */ + case 541: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==541); { yylhsminor.yy698 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy698), &yymsp[0].minor.yy731); } yymsp[-1].minor.yy698 = yylhsminor.yy698; break; - case 531: /* select_item ::= common_expression AS column_alias */ - case 541: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==541); + case 532: /* select_item ::= common_expression AS column_alias */ + case 542: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==542); { yylhsminor.yy698 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy698), &yymsp[0].minor.yy731); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 536: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 561: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==561); - case 581: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==581); + case 537: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 562: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==562); + case 582: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==582); { yymsp[-2].minor.yy88 = yymsp[0].minor.yy88; } break; - case 543: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + case 544: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ { yymsp[-5].minor.yy698 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy698), releaseRawExprNode(pCxt, yymsp[-1].minor.yy698)); } break; - case 544: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + case 545: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ { yymsp[-3].minor.yy698 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy698)); } break; - case 545: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + case 546: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ { yymsp[-5].minor.yy698 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy698), NULL, yymsp[-1].minor.yy698, yymsp[0].minor.yy698); } break; - case 546: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + case 547: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ { yymsp[-7].minor.yy698 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy698), releaseRawExprNode(pCxt, yymsp[-3].minor.yy698), yymsp[-1].minor.yy698, yymsp[0].minor.yy698); } break; - case 547: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + case 548: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ { yymsp[-6].minor.yy698 = createEventWindowNode(pCxt, yymsp[-3].minor.yy698, yymsp[0].minor.yy698); } break; - case 551: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ + case 552: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ { yymsp[-3].minor.yy698 = createFillNode(pCxt, yymsp[-1].minor.yy498, NULL); } break; - case 552: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ + case 553: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA expression_list NK_RP */ { yymsp[-5].minor.yy698 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy88)); } break; - case 553: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ + case 554: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA expression_list NK_RP */ { yymsp[-5].minor.yy698 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy88)); } break; - case 554: /* fill_mode ::= NONE */ + case 555: /* fill_mode ::= NONE */ { yymsp[0].minor.yy498 = FILL_MODE_NONE; } break; - case 555: /* fill_mode ::= PREV */ + case 556: /* fill_mode ::= PREV */ { yymsp[0].minor.yy498 = FILL_MODE_PREV; } break; - case 556: /* fill_mode ::= NULL */ + case 557: /* fill_mode ::= NULL */ { yymsp[0].minor.yy498 = FILL_MODE_NULL; } break; - case 557: /* fill_mode ::= NULL_F */ + case 558: /* fill_mode ::= NULL_F */ { yymsp[0].minor.yy498 = FILL_MODE_NULL_F; } break; - case 558: /* fill_mode ::= LINEAR */ + case 559: /* fill_mode ::= LINEAR */ { yymsp[0].minor.yy498 = FILL_MODE_LINEAR; } break; - case 559: /* fill_mode ::= NEXT */ + case 560: /* fill_mode ::= NEXT */ { yymsp[0].minor.yy498 = FILL_MODE_NEXT; } break; - case 562: /* group_by_list ::= expr_or_subquery */ + case 563: /* group_by_list ::= expr_or_subquery */ { yylhsminor.yy88 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy698))); } yymsp[0].minor.yy88 = yylhsminor.yy88; break; - case 563: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + case 564: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ { yylhsminor.yy88 = addNodeToList(pCxt, yymsp[-2].minor.yy88, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy698))); } yymsp[-2].minor.yy88 = yylhsminor.yy88; break; - case 567: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + case 568: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ { yymsp[-5].minor.yy698 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy698), releaseRawExprNode(pCxt, yymsp[-1].minor.yy698)); } break; - case 568: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ + case 569: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_RP */ { yymsp[-3].minor.yy698 = createInterpTimePoint(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy698)); } break; - case 571: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 572: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { yylhsminor.yy698 = addOrderByClause(pCxt, yymsp[-3].minor.yy698, yymsp[-2].minor.yy88); yylhsminor.yy698 = addSlimitClause(pCxt, yylhsminor.yy698, yymsp[-1].minor.yy698); @@ -6144,50 +6186,50 @@ static YYACTIONTYPE yy_reduce( } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 574: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + case 575: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ { yylhsminor.yy698 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy698, yymsp[0].minor.yy698); } yymsp[-3].minor.yy698 = yylhsminor.yy698; break; - case 575: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + case 576: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ { yylhsminor.yy698 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy698, yymsp[0].minor.yy698); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 583: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 587: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==587); + case 584: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 588: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==588); { yymsp[-1].minor.yy698 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 584: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 588: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==588); + case 585: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 589: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==589); { yymsp[-3].minor.yy698 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 585: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 589: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==589); + case 586: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 590: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==590); { yymsp[-3].minor.yy698 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 590: /* subquery ::= NK_LP query_expression NK_RP */ + case 591: /* subquery ::= NK_LP query_expression NK_RP */ { yylhsminor.yy698 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy698); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 595: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + case 596: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ { yylhsminor.yy698 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy698), yymsp[-1].minor.yy44, yymsp[0].minor.yy409); } yymsp[-2].minor.yy698 = yylhsminor.yy698; break; - case 596: /* ordering_specification_opt ::= */ + case 597: /* ordering_specification_opt ::= */ { yymsp[1].minor.yy44 = ORDER_ASC; } break; - case 597: /* ordering_specification_opt ::= ASC */ + case 598: /* ordering_specification_opt ::= ASC */ { yymsp[0].minor.yy44 = ORDER_ASC; } break; - case 598: /* ordering_specification_opt ::= DESC */ + case 599: /* ordering_specification_opt ::= DESC */ { yymsp[0].minor.yy44 = ORDER_DESC; } break; - case 599: /* null_ordering_opt ::= */ + case 600: /* null_ordering_opt ::= */ { yymsp[1].minor.yy409 = NULL_ORDER_DEFAULT; } break; - case 600: /* null_ordering_opt ::= NULLS FIRST */ + case 601: /* null_ordering_opt ::= NULLS FIRST */ { yymsp[-1].minor.yy409 = NULL_ORDER_FIRST; } break; - case 601: /* null_ordering_opt ::= NULLS LAST */ + case 602: /* null_ordering_opt ::= NULLS LAST */ { yymsp[-1].minor.yy409 = NULL_ORDER_LAST; } break; default: diff --git a/tests/system-test/0-others/show.py b/tests/system-test/0-others/show.py index 9d26b3a2ae..5445352f43 100644 --- a/tests/system-test/0-others/show.py +++ b/tests/system-test/0-others/show.py @@ -210,6 +210,66 @@ class TDTestCase: licences_info = tdSql.queryResult tdSql.checkEqual(grants_info,licences_info) + def show_create_table_with_col_comment(self): + tdSql.execute("create database comment_test_db") + tdSql.execute("use comment_test_db") + tdSql.execute("create table normal_table(ts timestamp, c2 int comment 'c2 comment')") + tdSql.execute("create stable super_table(ts timestamp comment 'ts', c2 int comment 'c2 comment') tags(tg int comment 'tg comment')") + + create_sql = "create table `normal_table` (`ts` timestamp, `c2` int)" + tdSql.query('show create table normal_table') + tdSql.checkEqual(tdSql.queryResult[0][1].lower(), create_sql) + tdSql.query('show create table super_table') + create_sql = "create stable `super_table` (`ts` timestamp, `c2` int) tags (`tg` int)" + tdSql.checkEqual(tdSql.queryResult[0][1].lower(), create_sql) + + tdSql.query("desc normal_table") + tdSql.checkCols(5) + tdSql.checkData(0, 4, "") + + tdSql.query("desc super_table") + tdSql.checkCols(5) + tdSql.checkData(0, 4, "") + + tdSql.execute("drop database comment_test_db") + + def alter_table_with_col_comment(self): + tdSql.execute("create database comment_test_db") + tdSql.execute("use comment_test_db") + tdSql.execute("create table normal_table(ts timestamp, c2 int comment 'c2 comment')") + tdSql.execute("create stable super_table(ts timestamp comment 'ts', c2 int comment 'c2 comment') tags(tg int comment 'tg comment')") + + create_sql = "create table `normal_table` (`ts` timestamp, `c2` int, `c3` int)" + tdSql.execute("alter table normal_table add column c3 int comment 'c3 comment'", queryTimes=1) + tdSql.query("show create table normal_table") + tdSql.checkEqual(tdSql.queryResult[0][1].lower(), create_sql) + + create_sql = "create table `normal_table` (`ts` timestamp, `c2` int, `c3` int, `c4` varchar(255))" + tdSql.execute("alter table normal_table add column c4 varchar(255) comment 'c4 comment'", queryTimes=1) + tdSql.query("show create table normal_table") + tdSql.checkEqual(tdSql.queryResult[0][1].lower(), create_sql) + + create_sql = "create table `normal_table` (`ts` timestamp, `c2` int, `c3` int, `c4` varchar(255), `c5` varchar(255))" + tdSql.execute("alter table normal_table add column c5 varchar(255)", queryTimes=1) + tdSql.query("show create table normal_table") + tdSql.checkEqual(tdSql.queryResult[0][1].lower(), create_sql) + + create_sql = "create stable `super_table` (`ts` timestamp, `c2` int, `c3` int) tags (`tg` int) sma(`ts`,`c2`)" + tdSql.execute("alter table super_table add column c3 int comment 'c3 comment'", queryTimes=1) + tdSql.query("show create table super_table") + tdSql.checkEqual(tdSql.queryResult[0][1].lower(), create_sql) + + create_sql = "create stable `super_table` (`ts` timestamp, `c2` int, `c3` int, `c4` varchar(255)) tags (`tg` int) sma(`ts`,`c2`)" + tdSql.execute("alter table super_table add column c4 varchar(255) comment 'c4 comment'", queryTimes=1) + tdSql.query("show create table super_table") + tdSql.checkEqual(tdSql.queryResult[0][1].lower(), create_sql) + + create_sql = "create stable `super_table` (`ts` timestamp, `c2` int, `c3` int, `c4` varchar(256)) tags (`tg` int) sma(`ts`,`c2`)" + tdSql.execute("alter table super_table modify column c4 varchar(256) comment 'c4 256 comment'", queryTimes=1) + tdSql.query("show create table super_table") + tdSql.checkEqual(tdSql.queryResult[0][1].lower(), create_sql) + tdSql.execute("drop database comment_test_db") + def run(self): self.check_gitinfo() self.show_base() @@ -218,6 +278,8 @@ class TDTestCase: self.show_create_sql() self.show_create_sysdb_sql() self.show_create_systb_sql() + self.show_create_table_with_col_comment() + self.alter_table_with_col_comment() def stop(self): tdSql.close()