diff --git a/cmake/cmake.version b/cmake/cmake.version index d38ac40b90..de85025a8c 100644 --- a/cmake/cmake.version +++ b/cmake/cmake.version @@ -2,7 +2,7 @@ IF (DEFINED VERNUMBER) SET(TD_VER_NUMBER ${VERNUMBER}) ELSE () - SET(TD_VER_NUMBER "3.0.3.0") + SET(TD_VER_NUMBER "3.0.3.1") ENDIF () IF (DEFINED VERCOMPATIBLE) diff --git a/docs/en/14-reference/03-connector/07-python.mdx b/docs/en/14-reference/03-connector/07-python.mdx index c885d416c8..69be15f9e8 100644 --- a/docs/en/14-reference/03-connector/07-python.mdx +++ b/docs/en/14-reference/03-connector/07-python.mdx @@ -10,10 +10,11 @@ import TabItem from "@theme/TabItem"; `taospy` is the official Python connector for TDengine. taospy provides a rich API that makes it easy for Python applications to use TDengine. `taospy` wraps both the [native interface](/reference/connector/cpp) and [REST interface](/reference/rest-api) of TDengine, which correspond to the `taos` and `taosrest` modules of the `taospy` package, respectively. In addition to wrapping the native and REST interfaces, `taospy` also provides a set of programming interfaces that conforms to the [Python Data Access Specification (PEP 249)](https://peps.python.org/pep-0249/). It is easy to integrate `taospy` with many third-party tools, such as [SQLAlchemy](https://www.sqlalchemy.org/) and [pandas](https://pandas.pydata.org/). -The direct connection to the server using the native interface provided by the client driver is referred to hereinafter as a "native connection"; the connection to the server using the REST interface provided by taosAdapter is referred to hereinafter as a "REST connection". +`taos-ws-py` is an optional package to enable using WebSocket to connect TDengine. + +The direct connection to the server using the native interface provided by the client driver is referred to hereinafter as a "native connection"; the connection to the server using the REST or WebSocket interface provided by taosAdapter is referred to hereinafter as a "REST connection" or "WebSocket connection". The source code for the Python connector is hosted on [GitHub](https://github.com/taosdata/taos-connector-python). - ## Supported platforms - The [supported platforms](/reference/connector/#supported-platforms) for the native connection are the same as the ones supported by the TDengine client. @@ -114,6 +115,15 @@ For REST connections, verifying that the `taosrest` module can be imported succe import taosrest ``` + + + +For WebSocket connection, verifying that the `taosws` module can be imported successfully can be done in the Python Interactive Shell by typing. + +```python +import taosws +``` + @@ -182,6 +192,28 @@ If the test is successful, it will output the server version information, e.g. } ``` + + + +For WebSocket connection, make sure the cluster and taosAdapter component, are running. This can be testetd using the following `curl` command. + +``` +curl -i -N -d "show databases" -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: :" -H "Origin: http://:" http://:/rest/sql +``` + +The FQDN above is the FQDN of the machine running taosAdapter, PORT is the port taosAdapter listening, default is `6041`. + +If the test is successful, it will output the server version information, e.g. + +```json +HTTP/1.1 200 OK +Content-Type: application/json; charset=utf-8 +Date: Tue, 21 Mar 2023 09:29:17 GMT +Transfer-Encoding: chunked + +{"status":"succ","head":["server_version()"],"column_meta":[["server_version()",8,8]],"data":[["2.6.0.27"]],"rows":1} +``` + diff --git a/docs/en/14-reference/03-connector/_linux_install.mdx b/docs/en/14-reference/03-connector/_linux_install.mdx index 97f6cd3339..398593cfe6 100644 --- a/docs/en/14-reference/03-connector/_linux_install.mdx +++ b/docs/en/14-reference/03-connector/_linux_install.mdx @@ -14,7 +14,7 @@ import PkgListV3 from "/components/PkgListV3"; Once the package is unzipped, you will see the following files in the directory: - _ install_client.sh_: install script - - _ taos.tar.gz_: client driver package + - _ package.tar.gz_: client driver package - _ driver_: TDengine client driver - _examples_: some example programs of different programming languages (C/C#/go/JDBC/MATLAB/python/R) You can run `install_client.sh` to install it. diff --git a/docs/en/28-releases/01-tdengine.md b/docs/en/28-releases/01-tdengine.md index 088c4ba2dc..9910a3d89a 100644 --- a/docs/en/28-releases/01-tdengine.md +++ b/docs/en/28-releases/01-tdengine.md @@ -10,6 +10,10 @@ For TDengine 2.x installation packages by version, please visit [here](https://w import Release from "/components/ReleaseV3"; +## 3.0.3.1 + + + ## 3.0.3.0 diff --git a/docs/en/28-releases/02-tools.md b/docs/en/28-releases/02-tools.md index 7d45110bb0..a060d2dd77 100644 --- a/docs/en/28-releases/02-tools.md +++ b/docs/en/28-releases/02-tools.md @@ -10,6 +10,10 @@ For other historical version installers, please visit [here](https://www.taosdat import Release from "/components/ReleaseV3"; +## 2.4.10 + + + ## 2.4.9 diff --git a/docs/zh/08-connector/30-python.mdx b/docs/zh/08-connector/30-python.mdx index b57f02ac80..fdfb141e11 100644 --- a/docs/zh/08-connector/30-python.mdx +++ b/docs/zh/08-connector/30-python.mdx @@ -10,7 +10,9 @@ import TabItem from "@theme/TabItem"; `taospy` 是 TDengine 的官方 Python 连接器。`taospy` 提供了丰富的 API, 使得 Python 应用可以很方便地使用 TDengine。`taospy` 对 TDengine 的[原生接口](../cpp)和 [REST 接口](../rest-api)都进行了封装, 分别对应 `taospy` 包的 `taos` 模块 和 `taosrest` 模块。 除了对原生接口和 REST 接口的封装,`taospy` 还提供了符合 [Python 数据访问规范(PEP 249)](https://peps.python.org/pep-0249/) 的编程接口。这使得 `taospy` 和很多第三方工具集成变得简单,比如 [SQLAlchemy](https://www.sqlalchemy.org/) 和 [pandas](https://pandas.pydata.org/)。 -使用客户端驱动提供的原生接口直接与服务端建立的连接的方式下文中称为“原生连接”;使用 taosAdapter 提供的 REST 接口与服务端建立的连接的方式下文中称为“REST 连接”。 +`taos-ws-py` 是使用 WebSocket 方式连接 TDengine 的 Python 连接器包。可以选装。 + +使用客户端驱动提供的原生接口直接与服务端建立的连接的方式下文中称为“原生连接”;使用 taosAdapter 提供的 REST 接口或 WebSocket 接口与服务端建立的连接的方式下文中称为“REST 连接”或“WebSocket 连接”。 Python 连接器的源码托管在 [GitHub](https://github.com/taosdata/taos-connector-python)。 @@ -115,6 +117,15 @@ import taos import taosrest ``` + + + +对于 WebSocket 连接,只需验证是否能成功导入 `taosws` 模块。可在 Python 交互式 Shell 中输入: + +```python +import taosws +``` + @@ -183,6 +194,27 @@ curl -u root:taosdata http://:/rest/sql -d "select server_version()" } ``` + + + +对于 WebSocket 连接, 除了确保集群已经启动,还要确保 taosAdapter 组件已经启动。可以使用如下 curl 命令测试: + +``` +curl -i -N -d "show databases" -H "Authorization: Basic cm9vdDp0YW9zZGF0YQ==" -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: :" -H "Origin: http://:" http://:/rest/sql +``` + +上面的 FQDN 为运行 taosAdapter 的机器的 FQDN, PORT 为 taosAdapter 配置的监听端口, 默认为 6041。 +如果测试成功,会输出服务器版本信息,比如: + +```json +HTTP/1.1 200 OK +Content-Type: application/json; charset=utf-8 +Date: Tue, 21 Mar 2023 09:29:17 GMT +Transfer-Encoding: chunked + +{"status":"succ","head":["server_version()"],"column_meta":[["server_version()",8,8]],"data":[["2.6.0.27"]],"rows":1} +``` + diff --git a/docs/zh/08-connector/_linux_install.mdx b/docs/zh/08-connector/_linux_install.mdx index 0b1f415f54..b16ab2ac5b 100644 --- a/docs/zh/08-connector/_linux_install.mdx +++ b/docs/zh/08-connector/_linux_install.mdx @@ -14,7 +14,7 @@ import PkgListV3 from "/components/PkgListV3"; 解压软件包之后,会在解压目录下看到以下文件(目录): - _ install_client.sh_:安装脚本,用于应用驱动程序 - - _ taos.tar.gz_:应用驱动安装包 + - _ package.tar.gz_:应用驱动安装包 - _ driver_:TDengine 应用驱动 driver - _examples_: 各种编程语言的示例程序(c/C#/go/JDBC/MATLAB/python/R) 运行 install_client.sh 进行安装。 diff --git a/docs/zh/28-releases/01-tdengine.md b/docs/zh/28-releases/01-tdengine.md index 5c8c5edd05..62d5c5f592 100644 --- a/docs/zh/28-releases/01-tdengine.md +++ b/docs/zh/28-releases/01-tdengine.md @@ -10,6 +10,10 @@ TDengine 2.x 各版本安装包请访问[这里](https://www.taosdata.com/all-do import Release from "/components/ReleaseV3"; +## 3.0.3.1 + + + ## 3.0.3.0 diff --git a/docs/zh/28-releases/02-tools.md b/docs/zh/28-releases/02-tools.md index a9c9ea5ac7..0e4eda6001 100644 --- a/docs/zh/28-releases/02-tools.md +++ b/docs/zh/28-releases/02-tools.md @@ -10,6 +10,10 @@ taosTools 各版本安装包下载链接如下: import Release from "/components/ReleaseV3"; +## 2.4.10 + + + ## 2.4.9 diff --git a/include/common/tmsg.h b/include/common/tmsg.h index ad19b20622..853be37886 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -846,6 +846,8 @@ typedef struct { int8_t replications; int32_t sstTrigger; int32_t minRows; + int32_t walRetentionPeriod; + int32_t walRetentionSize; } SAlterDbReq; int32_t tSerializeSAlterDbReq(void* buf, int32_t bufLen, SAlterDbReq* pReq); diff --git a/packaging/tools/makepkg.sh b/packaging/tools/makepkg.sh index 4cc713c9a3..082a1c8cfc 100755 --- a/packaging/tools/makepkg.sh +++ b/packaging/tools/makepkg.sh @@ -53,7 +53,7 @@ if [ -d ${top_dir}/tools/taos-tools/packaging/deb ]; then cd ${top_dir}/tools/taos-tools/packaging/deb [ -z "$taos_tools_ver" ] && taos_tools_ver="0.1.0" - taostools_ver=$(git tag |grep -v taos | sort | tail -1) + taostools_ver=$(git for-each-ref --sort=taggerdate --format '%(tag)' refs/tags|grep -v taos | tail -1) taostools_install_dir="${release_dir}/${clientName2}Tools-${taostools_ver}" cd ${curr_dir} diff --git a/source/client/jni/com_taosdata_jdbc_TSDBJNIConnector.h b/source/client/jni/com_taosdata_jdbc_TSDBJNIConnector.h index a88bf0f7a6..2921afc3f8 100644 --- a/source/client/jni/com_taosdata_jdbc_TSDBJNIConnector.h +++ b/source/client/jni/com_taosdata_jdbc_TSDBJNIConnector.h @@ -75,6 +75,14 @@ JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_connectImp(JNIEn */ JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_executeQueryImp(JNIEnv *, jobject, jbyteArray, jlong); +/* + * Class: com_taosdata_jdbc_TSDBJNIConnector + * Method: executeQueryWithReqId + * Signature: ([BJJ)I + */ +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_executeQueryWithReqId(JNIEnv *, jobject, jbyteArray, + jlong, jlong); + /* * Class: com_taosdata_jdbc_TSDBJNIConnector * Method: getErrCodeImp @@ -186,6 +194,14 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_validateCreateTab */ JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_prepareStmtImp(JNIEnv *, jobject, jbyteArray, jlong); +/* + * Class: com_taosdata_jdbc_TSDBJNIConnector + * Method: prepareStmtWithReqId + * Signature: ([BJJ)I + */ +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_prepareStmtWithReqId(JNIEnv *, jobject, jbyteArray, + jlong, jlong); + /* * Class: com_taosdata_jdbc_TSDBJNIConnector * Method: setBindTableNameImp @@ -260,6 +276,32 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_insertLinesImp(JN JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertImp(JNIEnv *, jobject, jobjectArray, jlong, jint, jint); +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertWithReqId(JNIEnv *, jobject, jlong, + jobjectArray, jint, jint, + jlong); + +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertWithTtl(JNIEnv *, jobject, jlong, + jobjectArray, jint, jint, jint); + +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertWithTtlAndReqId(JNIEnv *, jobject, + jlong, jobjectArray, + jint, jint, jint, + jlong); + +JNIEXPORT jobject JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertRaw(JNIEnv *, jobject, jlong, jstring, + jint, jint); + +JNIEXPORT jobject JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertRawWithReqId(JNIEnv *, jobject, jlong, + jstring, jint, jint, + jlong); + +JNIEXPORT jobject JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertRawWithTtl(JNIEnv *, jobject, jlong, + jstring, jint, jint, jint); + +JNIEXPORT jobject JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertRawWithTtlAndReqId(JNIEnv *, jobject, + jlong, jstring, + jint, jint, jint, + jlong); /** * Class: com_taosdata_jdbc_TSDBJNIConnector * Method: getTableVgID diff --git a/source/client/src/clientJniConnector.c b/source/client/src/clientJniConnector.c index cfa6f84bd2..f97799b000 100644 --- a/source/client/src/clientJniConnector.c +++ b/source/client/src/clientJniConnector.c @@ -55,7 +55,7 @@ jclass g_tmqClass; jmethodID g_createConsumerErrorCallback; jmethodID g_topicListCallback; -jclass g_consumerClass; +jclass g_consumerClass; // deprecated jmethodID g_commitCallback; @@ -331,13 +331,58 @@ JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_executeQueryImp( int32_t code = taos_errno(tres); if (code != TSDB_CODE_SUCCESS) { - jniError("jobj:%p, conn:%p, code:%s, msg:%s", jobj, tscon, tstrerror(code), taos_errstr(tres)); + jniError("jobj:%p, conn:%p, code:0x%x, msg:%s", jobj, tscon, code, taos_errstr(tres)); } else { if (taos_is_update_query(tres)) { int32_t affectRows = taos_affected_rows(tres); - jniDebug("jobj:%p, conn:%p, code:%s, affect rows:%d", jobj, tscon, tstrerror(code), affectRows); + jniDebug("jobj:%p, conn:%p, code:0x%x, affect rows:%d", jobj, tscon, code, affectRows); } else { - jniDebug("jobj:%p, conn:%p, code:%s", jobj, tscon, tstrerror(code)); + jniDebug("jobj:%p, conn:%p, code:0x%x", jobj, tscon, code); + } + } + + taosMemoryFreeClear(str); + return (jlong)tres; +} + +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_executeQueryWithReqId(JNIEnv *env, jobject jobj, + jbyteArray jsql, jlong con, + jlong reqId) { + TAOS *tscon = (TAOS *)con; + if (tscon == NULL) { + jniError("jobj:%p, connection already closed", jobj); + return JNI_CONNECTION_NULL; + } + + if (jsql == NULL) { + jniError("jobj:%p, conn:%p, empty sql string", jobj, tscon); + return JNI_SQL_NULL; + } + + jsize len = (*env)->GetArrayLength(env, jsql); + + char *str = (char *)taosMemoryCalloc(1, sizeof(char) * (len + 1)); + if (str == NULL) { + jniError("jobj:%p, conn:%p, alloc memory failed", jobj, tscon); + return JNI_OUT_OF_MEMORY; + } + + (*env)->GetByteArrayRegion(env, jsql, 0, len, (jbyte *)str); + if ((*env)->ExceptionCheck(env)) { + // todo handle error + } + + TAOS_RES *tres = taos_query_with_reqid(tscon, str, reqId); + int32_t code = taos_errno(tres); + + if (code != TSDB_CODE_SUCCESS) { + jniError("jobj:%p, conn:%p, code:0x%x, msg:%s", jobj, tscon, code, taos_errstr(tres)); + } else { + if (taos_is_update_query(tres)) { + int32_t affectRows = taos_affected_rows(tres); + jniDebug("jobj:%p, conn:%p, code:0x%x, affect rows:%d", jobj, tscon, code, affectRows); + } else { + jniDebug("jobj:%p, conn:%p, code:0x%x", jobj, tscon, code); } } @@ -489,7 +534,7 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_fetchRowImp(JNIEn numOfFields); return JNI_FETCH_END; } else { - jniDebug("jobj:%p, conn:%p, interrupted query. fetch row error code: %d, msg:%s", jobj, tscon, code, + jniDebug("jobj:%p, conn:%p, interrupted query. fetch row error code: 0x%x, msg:%s", jobj, tscon, code, taos_errstr(result)); return JNI_RESULT_SET_NULL; } @@ -575,9 +620,9 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_fetchBlockImp(JNI TAOS_RES *tres = (TAOS_RES *)res; int32_t numOfFields = taos_num_fields(tres); - if(numOfFields <= 0){ - jniError("jobj:%p, conn:%p, query interrupted. taos_num_fields error code:%d, msg:%s", jobj, tscon, numOfFields, - taos_errstr(tres)); + if (numOfFields <= 0) { + jniError("jobj:%p, conn:%p, query interrupted. taos_num_fields error code: 0x%x, msg:%s", jobj, tscon, + taos_errno(tres), taos_errstr(tres)); return JNI_RESULT_SET_NULL; } @@ -589,7 +634,7 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_fetchBlockImp(JNI jniDebug("jobj:%p, conn:%p, resultset:%p, no data to retrieve", jobj, tscon, (void *)res); return JNI_FETCH_END; } else { - jniError("jobj:%p, conn:%p, query interrupted. fetch block error code:%d, msg:%s", jobj, tscon, error_code, + jniError("jobj:%p, conn:%p, query interrupted. fetch block error code: 0x%x, msg:%s", jobj, tscon, error_code, taos_errstr(tres)); return JNI_RESULT_SET_NULL; } @@ -639,7 +684,7 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_validateCreateTab } int code = taos_validate_sql(tscon, str); - jniDebug("jobj:%p, conn:%p, code is %d", jobj, tscon, code); + jniDebug("jobj:%p, conn:%p, code: 0x%x", jobj, tscon, code); taosMemoryFreeClear(str); return code; @@ -704,7 +749,45 @@ JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_prepareStmtImp(J int32_t code = taos_stmt_prepare(pStmt, str, len); taosMemoryFreeClear(str); if (code != TSDB_CODE_SUCCESS) { - jniError("prepareStmt jobj:%p, conn:%p, code:%s", jobj, tscon, tstrerror(code)); + jniError("prepareStmt jobj:%p, conn:%p, code: 0x%x", jobj, tscon, code); + return JNI_TDENGINE_ERROR; + } + + return (jlong)pStmt; +} + +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_prepareStmtWithReqId(JNIEnv *env, jobject jobj, + jbyteArray jsql, jlong con, + jlong reqId) { + TAOS *tscon = (TAOS *)con; + if (tscon == NULL) { + jniError("jobj:%p, connection already closed", jobj); + return JNI_CONNECTION_NULL; + } + + if (jsql == NULL) { + jniError("jobj:%p, conn:%p, empty sql string", jobj, tscon); + return JNI_SQL_NULL; + } + + jsize len = (*env)->GetArrayLength(env, jsql); + + char *str = (char *)taosMemoryCalloc(1, sizeof(char) * (len + 1)); + if (str == NULL) { + jniError("jobj:%p, conn:%p, alloc memory failed", jobj, tscon); + return JNI_OUT_OF_MEMORY; + } + + (*env)->GetByteArrayRegion(env, jsql, 0, len, (jbyte *)str); + if ((*env)->ExceptionCheck(env)) { + // todo handle error + } + + TAOS_STMT *pStmt = taos_stmt_init_with_reqid(tscon, reqId); + int32_t code = taos_stmt_prepare(pStmt, str, len); + taosMemoryFreeClear(str); + if (code != TSDB_CODE_SUCCESS) { + jniError("prepareStmtWithReqId jobj:%p, conn:%p, code: 0x%x", jobj, tscon, code); return JNI_TDENGINE_ERROR; } @@ -732,7 +815,7 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setBindTableNameI if (code != TSDB_CODE_SUCCESS) { (*env)->ReleaseStringUTFChars(env, jname, name); - jniError("bindTableName jobj:%p, conn:%p, code:%s", jobj, tsconn, tstrerror(code)); + jniError("bindTableName jobj:%p, conn:%p, code: 0x%x", jobj, tsconn, code); return JNI_TDENGINE_ERROR; } @@ -807,7 +890,7 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setTableNameTagsI (*env)->ReleaseStringUTFChars(env, tableName, name); if (code != TSDB_CODE_SUCCESS) { - jniError("tableNameTags jobj:%p, conn:%p, code:%s", jobj, tsconn, tstrerror(code)); + jniError("tableNameTags jobj:%p, conn:%p, code: 0x%x", jobj, tsconn, code); return JNI_TDENGINE_ERROR; } return JNI_SUCCESS; @@ -873,7 +956,7 @@ JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_bindColDataImp( taosMemoryFreeClear(b); if (code != TSDB_CODE_SUCCESS) { - jniError("bindColData jobj:%p, conn:%p, code:%s", jobj, tscon, tstrerror(code)); + jniError("bindColData jobj:%p, conn:%p, code: 0x%x", jobj, tscon, code); return JNI_TDENGINE_ERROR; } @@ -896,7 +979,7 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_addBatchImp(JNIEn int32_t code = taos_stmt_add_batch(pStmt); if (code != TSDB_CODE_SUCCESS) { - jniError("add batch jobj:%p, conn:%p, code:%s", jobj, tscon, tstrerror(code)); + jniError("add batch jobj:%p, conn:%p, code: 0x%x", jobj, tscon, code); return JNI_TDENGINE_ERROR; } @@ -920,7 +1003,7 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_executeBatchImp(J int32_t code = taos_stmt_execute(pStmt); if (code != TSDB_CODE_SUCCESS) { - jniError("excute batch jobj:%p, conn:%p, code:%s", jobj, tscon, tstrerror(code)); + jniError("excute batch jobj:%p, conn:%p, code: 0x%x", jobj, tscon, code); return JNI_TDENGINE_ERROR; } @@ -944,7 +1027,7 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_closeStmt(JNIEnv int32_t code = taos_stmt_close(pStmt); if (code != TSDB_CODE_SUCCESS) { - jniError("close stmt jobj:%p, conn:%p, code:%s", jobj, tscon, tstrerror(code)); + jniError("close stmt jobj:%p, conn:%p, code: 0x%x", jobj, tscon, code); return JNI_TDENGINE_ERROR; } @@ -1006,12 +1089,9 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_insertLinesImp(JN TAOS_RES *tres = schemalessInsert(env, jobj, lines, taos, protocol, precision); - if (tres == NULL) { - return JNI_OUT_OF_MEMORY; - } int code = taos_errno(tres); if (code != TSDB_CODE_SUCCESS) { - jniError("jobj:%p, conn:%p, code:%s, msg:%s", jobj, taos, tstrerror(code), taos_errstr(tres)); + jniError("jobj:%p, conn:%p, code: 0x%x, msg:%s", jobj, taos, code, taos_errstr(tres)); taos_free_result(tres); return JNI_TDENGINE_ERROR; } @@ -1030,12 +1110,247 @@ JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsert } TAOS_RES *tres = schemalessInsert(env, jobj, lines, taos, protocol, precision); - if (tres == NULL) { + + return (jlong)tres; +} + +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertWithReqId( + JNIEnv *env, jobject jobj, jlong conn, jobjectArray lines, jint protocol, jint precision, jlong reqId) { + TAOS *taos = (TAOS *)conn; + if (taos == NULL) { + jniError("jobj:%p, connection already closed", jobj); + return JNI_CONNECTION_NULL; + } + + int numLines = (*env)->GetArrayLength(env, lines); + char **c_lines = taosMemoryCalloc(numLines, sizeof(char *)); + if (c_lines == NULL) { + jniError("c_lines:%p, alloc memory failed", c_lines); return JNI_OUT_OF_MEMORY; } + + for (int i = 0; i < numLines; ++i) { + jstring line = (jstring)((*env)->GetObjectArrayElement(env, lines, i)); + c_lines[i] = (char *)(*env)->GetStringUTFChars(env, line, 0); + } + + TAOS_RES *tres = taos_schemaless_insert_with_reqid(taos, c_lines, numLines, protocol, precision, reqId); + + for (int i = 0; i < numLines; ++i) { + jstring line = (jstring)((*env)->GetObjectArrayElement(env, lines, i)); + (*env)->ReleaseStringUTFChars(env, line, c_lines[i]); + } + + taosMemoryFreeClear(c_lines); + return (jlong)tres; } +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertWithTtl(JNIEnv *env, jobject jobj, + jlong conn, jobjectArray lines, + jint protocol, jint precision, + jint ttl) { + TAOS *taos = (TAOS *)conn; + if (taos == NULL) { + jniError("jobj:%p, connection already closed", jobj); + return JNI_CONNECTION_NULL; + } + + int numLines = (*env)->GetArrayLength(env, lines); + char **c_lines = taosMemoryCalloc(numLines, sizeof(char *)); + if (c_lines == NULL) { + jniError("c_lines:%p, alloc memory failed", c_lines); + return JNI_OUT_OF_MEMORY; + } + + for (int i = 0; i < numLines; ++i) { + jstring line = (jstring)((*env)->GetObjectArrayElement(env, lines, i)); + c_lines[i] = (char *)(*env)->GetStringUTFChars(env, line, 0); + } + + TAOS_RES *tres = taos_schemaless_insert_ttl(taos, c_lines, numLines, protocol, precision, ttl); + + for (int i = 0; i < numLines; ++i) { + jstring line = (jstring)((*env)->GetObjectArrayElement(env, lines, i)); + (*env)->ReleaseStringUTFChars(env, line, c_lines[i]); + } + + taosMemoryFreeClear(c_lines); + + return (jlong)tres; +} + +JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertWithTtlAndReqId( + JNIEnv *env, jobject jobj, jlong conn, jobjectArray lines, jint protocol, jint precision, jint ttl, jlong reqId) { + TAOS *taos = (TAOS *)conn; + if (taos == NULL) { + jniError("jobj:%p, connection already closed", jobj); + return JNI_CONNECTION_NULL; + } + + int numLines = (*env)->GetArrayLength(env, lines); + char **c_lines = taosMemoryCalloc(numLines, sizeof(char *)); + if (c_lines == NULL) { + jniError("c_lines:%p, alloc memory failed", c_lines); + return JNI_OUT_OF_MEMORY; + } + + for (int i = 0; i < numLines; ++i) { + jstring line = (jstring)((*env)->GetObjectArrayElement(env, lines, i)); + c_lines[i] = (char *)(*env)->GetStringUTFChars(env, line, 0); + } + + TAOS_RES *tres = taos_schemaless_insert_ttl_with_reqid(taos, c_lines, numLines, protocol, precision, ttl, reqId); + + for (int i = 0; i < numLines; ++i) { + jstring line = (jstring)((*env)->GetObjectArrayElement(env, lines, i)); + (*env)->ReleaseStringUTFChars(env, line, c_lines[i]); + } + + taosMemoryFreeClear(c_lines); + + return (jlong)tres; +} + +JNIEXPORT jobject createSchemalessResp(JNIEnv *env, int totalRows, int code, const char *msg) { + // find class + jclass schemaless_clazz = (*env)->FindClass(env, "com/taosdata/jdbc/SchemalessResp"); + // find methods + jmethodID init_method = (*env)->GetMethodID(env, schemaless_clazz, "", "()V"); + jmethodID setCode_method = (*env)->GetMethodID(env, schemaless_clazz, "setCode", "(I)V"); + jmethodID setMsg_method = (*env)->GetMethodID(env, schemaless_clazz, "setMsg", "(Ljava/lang/String;)V"); + jmethodID setTotalRows_method = (*env)->GetMethodID(env, schemaless_clazz, "setTotalRows", "(I)V"); + // new schemaless + jobject schemaless_obj = (*env)->NewObject(env, schemaless_clazz, init_method); + // set code + (*env)->CallVoidMethod(env, schemaless_obj, setCode_method, code); + // set totalRows + (*env)->CallVoidMethod(env, schemaless_obj, setTotalRows_method, totalRows); + // set message + jstring message = (*env)->NewStringUTF(env, msg); + (*env)->CallVoidMethod(env, schemaless_obj, setMsg_method, message); + + return schemaless_obj; +} + +JNIEXPORT jobject JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertRaw(JNIEnv *env, jobject jobj, + jlong conn, jstring data, + jint protocol, jint precision) { + TAOS *taos = (TAOS *)conn; + if (taos == NULL) { + jniError("jobj:%p, connection already closed", jobj); + char *msg = "JNI connection is NULL"; + return createSchemalessResp(env, 0, JNI_CONNECTION_NULL, msg); + } + + char *line = (char *)(*env)->GetStringUTFChars(env, data, NULL); + jint len = (*env)->GetStringUTFLength(env, data); + int32_t totalRows; + TAOS_RES *tres = taos_schemaless_insert_raw(taos, line, len, &totalRows, protocol, precision); + + (*env)->ReleaseStringUTFChars(env, data, line); + + // if (tres == NULL) { + // jniError("jobj:%p, schemaless raw insert failed", jobj); + // char *msg = "JNI schemaless raw insert return null"; + // return createSchemalessResp(env, 0, JNI_TDENGINE_ERROR, msg); + // } + + int code = taos_errno(tres); + if (code != TSDB_CODE_SUCCESS) { + jniError("jobj:%p, conn:%p, code: 0x%x, msg:%s", jobj, taos, code, taos_errstr(tres)); + taos_free_result(tres); + return createSchemalessResp(env, 0, code, taos_errstr(tres)); + } + taos_free_result(tres); + + return createSchemalessResp(env, totalRows, JNI_SUCCESS, NULL); +} + +JNIEXPORT jobject JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertRawWithReqId( + JNIEnv *env, jobject jobj, jlong conn, jstring data, jint protocol, jint precision, jlong reqId) { + TAOS *taos = (TAOS *)conn; + if (taos == NULL) { + jniError("jobj:%p, connection already closed", jobj); + char *msg = "JNI connection is NULL"; + return createSchemalessResp(env, 0, JNI_CONNECTION_NULL, msg); + } + + char *line = (char *)(*env)->GetStringUTFChars(env, data, NULL); + jint len = (*env)->GetStringUTFLength(env, data); + int32_t totalRows; + TAOS_RES *tres = taos_schemaless_insert_raw_with_reqid(taos, line, len, &totalRows, protocol, precision, reqId); + + (*env)->ReleaseStringUTFChars(env, data, line); + + int code = taos_errno(tres); + if (code != TSDB_CODE_SUCCESS) { + jniError("jobj:%p, conn:%p, code: 0x%x, msg:%s", jobj, taos, code, taos_errstr(tres)); + taos_free_result(tres); + return createSchemalessResp(env, 0, code, taos_errstr(tres)); + } + taos_free_result(tres); + + return createSchemalessResp(env, totalRows, JNI_SUCCESS, NULL); +} + +JNIEXPORT jobject JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertRawWithTtl(JNIEnv *env, jobject jobj, + jlong conn, jstring data, + jint protocol, + jint precision, jint ttl) { + TAOS *taos = (TAOS *)conn; + if (taos == NULL) { + jniError("jobj:%p, connection already closed", jobj); + char *msg = "JNI connection is NULL"; + return createSchemalessResp(env, 0, JNI_CONNECTION_NULL, msg); + } + + char *line = (char *)(*env)->GetStringUTFChars(env, data, NULL); + jint len = (*env)->GetStringUTFLength(env, data); + int32_t totalRows; + TAOS_RES *tres = taos_schemaless_insert_raw_ttl(taos, line, len, &totalRows, protocol, precision, ttl); + + (*env)->ReleaseStringUTFChars(env, data, line); + + int code = taos_errno(tres); + if (code != TSDB_CODE_SUCCESS) { + jniError("jobj:%p, conn:%p, code: 0x%x, msg:%s", jobj, taos, code, taos_errstr(tres)); + taos_free_result(tres); + return createSchemalessResp(env, 0, code, taos_errstr(tres)); + } + taos_free_result(tres); + + return createSchemalessResp(env, totalRows, JNI_SUCCESS, NULL); +} + +JNIEXPORT jobject JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_schemalessInsertRawWithTtlAndReqId( + JNIEnv *env, jobject jobj, jlong conn, jstring data, jint protocol, jint precision, jint ttl, jlong reqId) { + TAOS *taos = (TAOS *)conn; + if (taos == NULL) { + jniError("jobj:%p, connection already closed", jobj); + char *msg = "JNI connection is NULL"; + return createSchemalessResp(env, 0, JNI_CONNECTION_NULL, msg); + } + + char *line = (char *)(*env)->GetStringUTFChars(env, data, NULL); + jint len = (*env)->GetStringUTFLength(env, data); + int32_t totalRows; + TAOS_RES *tres = + taos_schemaless_insert_raw_ttl_with_reqid(taos, line, len, &totalRows, protocol, precision, ttl, reqId); + + (*env)->ReleaseStringUTFChars(env, data, line); + + int code = taos_errno(tres); + if (code != TSDB_CODE_SUCCESS) { + jniError("jobj:%p, conn:%p, code: 0x%x, msg:%s", jobj, taos, code, taos_errstr(tres)); + taos_free_result(tres); + return createSchemalessResp(env, 0, code, taos_errstr(tres)); + } + taos_free_result(tres); + + return createSchemalessResp(env, totalRows, JNI_SUCCESS, NULL); +} + // TABLE_VG_ID_FID_CACHE cache resp object for getTableVgID typedef struct TABLE_VG_ID_FIELD_CACHE { int cached; diff --git a/source/common/src/tmsg.c b/source/common/src/tmsg.c index 4225e632df..884a346bb8 100644 --- a/source/common/src/tmsg.c +++ b/source/common/src/tmsg.c @@ -2219,6 +2219,8 @@ int32_t tSerializeSAlterDbReq(void *buf, int32_t bufLen, SAlterDbReq *pReq) { if (tEncodeI8(&encoder, pReq->cacheLast) < 0) return -1; if (tEncodeI8(&encoder, pReq->replications) < 0) return -1; if (tEncodeI32(&encoder, pReq->sstTrigger) < 0) return -1; + if (tEncodeI32(&encoder, pReq->walRetentionPeriod) < 0) return -1; + if (tEncodeI32(&encoder, pReq->walRetentionSize) < 0) return -1; // 1st modification if (tEncodeI32(&encoder, pReq->minRows) < 0) return -1; @@ -2250,6 +2252,13 @@ int32_t tDeserializeSAlterDbReq(void *buf, int32_t bufLen, SAlterDbReq *pReq) { if (tDecodeI8(&decoder, &pReq->cacheLast) < 0) return -1; if (tDecodeI8(&decoder, &pReq->replications) < 0) return -1; if (tDecodeI32(&decoder, &pReq->sstTrigger) < 0) return -1; + if (!tDecodeIsEnd(&decoder)) { + if (tDecodeI32(&decoder, &pReq->walRetentionPeriod) < 0) return -1; + if (tDecodeI32(&decoder, &pReq->walRetentionSize) < 0) return -1; + } else { + pReq->walRetentionPeriod = -1; + pReq->walRetentionSize = -1; + } // 1st modification if (!tDecodeIsEnd(&decoder)) { diff --git a/source/dnode/mnode/impl/src/mndDb.c b/source/dnode/mnode/impl/src/mndDb.c index 8b09c823ab..8beb57c8c3 100644 --- a/source/dnode/mnode/impl/src/mndDb.c +++ b/source/dnode/mnode/impl/src/mndDb.c @@ -737,6 +737,20 @@ static int32_t mndSetDbCfgFromAlterDbReq(SDbObj *pDb, SAlterDbReq *pAlter) { terrno = 0; } + if (pAlter->walRetentionPeriod > TSDB_DB_MIN_WAL_RETENTION_PERIOD && + pAlter->walRetentionPeriod != pDb->cfg.walRetentionPeriod) { + pDb->cfg.walRetentionPeriod = pAlter->walRetentionPeriod; + pDb->vgVersion++; + terrno = 0; + } + + if (pAlter->walRetentionSize > TSDB_DB_MIN_WAL_RETENTION_SIZE && + pAlter->walRetentionSize != pDb->cfg.walRetentionSize) { + pDb->cfg.walRetentionSize = pAlter->walRetentionSize; + pDb->vgVersion++; + terrno = 0; + } + return terrno; } diff --git a/source/libs/nodes/src/nodesUtilFuncs.c b/source/libs/nodes/src/nodesUtilFuncs.c index f6bdd19caa..4180ba1d6c 100644 --- a/source/libs/nodes/src/nodesUtilFuncs.c +++ b/source/libs/nodes/src/nodesUtilFuncs.c @@ -925,9 +925,14 @@ void nodesDestroyNode(SNode* pNode) { taosMemoryFree(((SDescribeStmt*)pNode)->pMeta); break; case QUERY_NODE_RESET_QUERY_CACHE_STMT: // no pointer field - case QUERY_NODE_COMPACT_DATABASE_STMT: // no pointer field - case QUERY_NODE_CREATE_FUNCTION_STMT: // no pointer field - case QUERY_NODE_DROP_FUNCTION_STMT: // no pointer field + case QUERY_NODE_COMPACT_DATABASE_STMT: { + SCompactDatabaseStmt* pStmt = (SCompactDatabaseStmt*)pNode; + nodesDestroyNode(pStmt->pStart); + nodesDestroyNode(pStmt->pEnd); + break; + } + case QUERY_NODE_CREATE_FUNCTION_STMT: // no pointer field + case QUERY_NODE_DROP_FUNCTION_STMT: // no pointer field break; case QUERY_NODE_CREATE_STREAM_STMT: { SCreateStreamStmt* pStmt = (SCreateStreamStmt*)pNode; diff --git a/source/libs/parser/inc/sql.y b/source/libs/parser/inc/sql.y index 623669bcf5..584697e5c2 100644 --- a/source/libs/parser/inc/sql.y +++ b/source/libs/parser/inc/sql.y @@ -237,6 +237,18 @@ alter_db_option(A) ::= REPLICA NK_INTEGER(B). alter_db_option(A) ::= WAL_LEVEL NK_INTEGER(B). { A.type = DB_OPTION_WAL; A.val = B; } alter_db_option(A) ::= STT_TRIGGER NK_INTEGER(B). { A.type = DB_OPTION_STT_TRIGGER; A.val = B; } alter_db_option(A) ::= MINROWS NK_INTEGER(B). { A.type = DB_OPTION_MINROWS; A.val = B; } +alter_db_option(A) ::= WAL_RETENTION_PERIOD NK_INTEGER(B). { A.type = DB_OPTION_WAL_RETENTION_PERIOD; A.val = B; } +alter_db_option(A) ::= WAL_RETENTION_PERIOD NK_MINUS(B) NK_INTEGER(C). { + SToken t = B; + t.n = (C.z + C.n) - B.z; + A.type = DB_OPTION_WAL_RETENTION_PERIOD; A.val = t; + } +alter_db_option(A) ::= WAL_RETENTION_SIZE NK_INTEGER(B). { A.type = DB_OPTION_WAL_RETENTION_SIZE; A.val = B; } +alter_db_option(A) ::= WAL_RETENTION_SIZE NK_MINUS(B) NK_INTEGER(C). { + SToken t = B; + t.n = (C.z + C.n) - B.z; + A.type = DB_OPTION_WAL_RETENTION_SIZE; A.val = t; + } %type integer_list { SNodeList* } %destructor integer_list { nodesDestroyList($$); } diff --git a/source/libs/parser/src/parAstCreater.c b/source/libs/parser/src/parAstCreater.c index 1c6f3f1b6c..8cd7c1c03b 100644 --- a/source/libs/parser/src/parAstCreater.c +++ b/source/libs/parser/src/parAstCreater.c @@ -925,8 +925,8 @@ SNode* createAlterDatabaseOptions(SAstCreateContext* pCxt) { pOptions->numOfVgroups = -1; pOptions->singleStable = -1; pOptions->schemaless = -1; - pOptions->walRetentionPeriod = -1; - pOptions->walRetentionSize = -1; + pOptions->walRetentionPeriod = -2; // -1 is a valid value + pOptions->walRetentionSize = -2; // -1 is a valid value pOptions->walRollPeriod = -1; pOptions->walSegmentSize = -1; pOptions->sstTrigger = -1; @@ -935,7 +935,8 @@ SNode* createAlterDatabaseOptions(SAstCreateContext* pCxt) { return (SNode*)pOptions; } -SNode* setDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOptionType type, void* pVal) { +static SNode* setDatabaseOptionImpl(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOptionType type, void* pVal, + bool alter) { CHECK_PARSER_STATUS(pCxt); SDatabaseOptions* pDbOptions = (SDatabaseOptions*)pOptions; switch (type) { @@ -986,7 +987,9 @@ SNode* setDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOpti break; case DB_OPTION_REPLICA: pDbOptions->replica = taosStr2Int8(((SToken*)pVal)->z, NULL, 10); - updateWalOptionsDefault(pDbOptions); + if (!alter) { + updateWalOptionsDefault(pDbOptions); + } break; case DB_OPTION_STRICT: COPY_STRING_FORM_STR_TOKEN(pDbOptions->strictStr, (SToken*)pVal); @@ -1033,16 +1036,20 @@ SNode* setDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOpti return pOptions; } +SNode* setDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, EDatabaseOptionType type, void* pVal) { + return setDatabaseOptionImpl(pCxt, pOptions, type, pVal, false); +} + SNode* setAlterDatabaseOption(SAstCreateContext* pCxt, SNode* pOptions, SAlterOption* pAlterOption) { CHECK_PARSER_STATUS(pCxt); switch (pAlterOption->type) { case DB_OPTION_KEEP: case DB_OPTION_RETENTIONS: - return setDatabaseOption(pCxt, pOptions, pAlterOption->type, pAlterOption->pList); + return setDatabaseOptionImpl(pCxt, pOptions, pAlterOption->type, pAlterOption->pList, true); default: break; } - return setDatabaseOption(pCxt, pOptions, pAlterOption->type, &pAlterOption->val); + return setDatabaseOptionImpl(pCxt, pOptions, pAlterOption->type, &pAlterOption->val, true); } SNode* createCreateDatabaseStmt(SAstCreateContext* pCxt, bool ignoreExists, SToken* pDbName, SNode* pOptions) { diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index fd631a6d49..11f0a5824a 100644 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -4254,6 +4254,8 @@ static void buildAlterDbReq(STranslateContext* pCxt, SAlterDatabaseStmt* pStmt, pReq->replications = pStmt->pOptions->replica; pReq->sstTrigger = pStmt->pOptions->sstTrigger; pReq->minRows = pStmt->pOptions->minRowsPerBlock; + pReq->walRetentionPeriod = pStmt->pOptions->walRetentionPeriod; + pReq->walRetentionSize = pStmt->pOptions->walRetentionSize; return; } @@ -6393,6 +6395,15 @@ static int32_t translateCreateFunction(STranslateContext* pCxt, SCreateFunctionS if (fmIsBuiltinFunc(pStmt->funcName)) { return generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_FUNCTION_NAME); } + + if (TSDB_DATA_TYPE_JSON == pStmt->outputDt.type || + TSDB_DATA_TYPE_VARBINARY == pStmt->outputDt.type || + TSDB_DATA_TYPE_DECIMAL == pStmt->outputDt.type || + TSDB_DATA_TYPE_BLOB == pStmt->outputDt.type || + TSDB_DATA_TYPE_MEDIUMBLOB == pStmt->outputDt.type) { + return generateSyntaxErrMsgExt(&pCxt->msgBuf, TSDB_CODE_PAR_SYNTAX_ERROR, "Unsupported output type for UDF"); + } + SCreateFuncReq req = {0}; strcpy(req.name, pStmt->funcName); req.igExists = pStmt->ignoreExists; diff --git a/source/libs/parser/src/sql.c b/source/libs/parser/src/sql.c index bc890b97da..529cf57644 100644 --- a/source/libs/parser/src/sql.c +++ b/source/libs/parser/src/sql.c @@ -139,17 +139,17 @@ typedef union { #define ParseCTX_FETCH #define ParseCTX_STORE #define YYFALLBACK 1 -#define YYNSTATE 755 -#define YYNRULE 575 +#define YYNSTATE 759 +#define YYNRULE 579 #define YYNTOKEN 330 -#define YY_MAX_SHIFT 754 -#define YY_MIN_SHIFTREDUCE 1122 -#define YY_MAX_SHIFTREDUCE 1696 -#define YY_ERROR_ACTION 1697 -#define YY_ACCEPT_ACTION 1698 -#define YY_NO_ACTION 1699 -#define YY_MIN_REDUCE 1700 -#define YY_MAX_REDUCE 2274 +#define YY_MAX_SHIFT 758 +#define YY_MIN_SHIFTREDUCE 1130 +#define YY_MAX_SHIFTREDUCE 1708 +#define YY_ERROR_ACTION 1709 +#define YY_ACCEPT_ACTION 1710 +#define YY_NO_ACTION 1711 +#define YY_MIN_REDUCE 1712 +#define YY_MAX_REDUCE 2290 /************* End control #defines *******************************************/ #define YY_NLOOKAHEAD ((int)(sizeof(yy_lookahead)/sizeof(yy_lookahead[0]))) @@ -218,291 +218,291 @@ typedef union { *********** Begin parsing tables **********************************************/ #define YY_ACTTAB_COUNT (2842) static const YYACTIONTYPE yy_action[] = { - /* 0 */ 1854, 1982, 425, 1916, 625, 492, 424, 493, 1736, 164, - /* 10 */ 364, 2068, 45, 43, 1624, 1698, 1980, 631, 1866, 1914, - /* 20 */ 386, 431, 1473, 391, 38, 37, 1909, 1911, 44, 42, - /* 30 */ 41, 40, 39, 1554, 122, 1471, 1766, 121, 120, 119, - /* 40 */ 118, 117, 116, 115, 114, 113, 2064, 2070, 582, 498, - /* 50 */ 582, 1498, 2245, 2086, 2245, 494, 2250, 654, 1549, 501, - /* 60 */ 2245, 493, 1736, 333, 18, 1499, 1621, 2251, 182, 2251, - /* 70 */ 182, 1479, 2246, 608, 2246, 608, 2249, 1916, 35, 291, - /* 80 */ 2246, 2248, 86, 399, 351, 510, 2104, 398, 44, 42, - /* 90 */ 41, 40, 39, 1914, 622, 1910, 1911, 751, 355, 2054, - /* 100 */ 14, 660, 728, 727, 726, 725, 396, 1858, 724, 723, - /* 110 */ 143, 718, 717, 716, 715, 714, 713, 712, 156, 708, - /* 120 */ 707, 706, 395, 394, 703, 702, 701, 700, 699, 582, - /* 130 */ 2021, 2085, 1174, 2245, 1173, 2121, 1556, 1557, 109, 2087, - /* 140 */ 664, 2089, 2090, 659, 643, 654, 1982, 222, 2251, 182, - /* 150 */ 179, 65, 2174, 2246, 608, 607, 380, 2170, 377, 2245, - /* 160 */ 644, 1979, 631, 1175, 619, 607, 1529, 1539, 643, 2245, - /* 170 */ 184, 1916, 1555, 1558, 606, 182, 132, 240, 2200, 2246, - /* 180 */ 608, 1334, 1335, 531, 606, 182, 1474, 1915, 1472, 2246, - /* 190 */ 608, 1916, 629, 1863, 1693, 38, 37, 139, 374, 44, - /* 200 */ 42, 41, 40, 39, 38, 37, 602, 1914, 44, 42, - /* 210 */ 41, 40, 39, 2086, 1477, 1478, 1501, 1528, 1531, 1532, - /* 220 */ 1533, 1534, 1535, 1536, 1537, 1538, 656, 652, 1547, 1548, - /* 230 */ 1550, 1551, 1552, 1553, 2, 45, 43, 1916, 643, 1498, - /* 240 */ 336, 1498, 1496, 386, 379, 1473, 2104, 61, 48, 462, - /* 250 */ 619, 345, 476, 1914, 661, 475, 1554, 644, 1471, 2054, - /* 260 */ 176, 660, 621, 180, 2182, 2183, 698, 137, 2187, 389, - /* 270 */ 445, 1497, 477, 132, 167, 447, 1712, 161, 2073, 1652, - /* 280 */ 536, 1549, 1966, 139, 365, 176, 1865, 18, 2040, 2068, - /* 290 */ 1863, 2085, 1692, 1914, 1479, 2121, 1583, 166, 109, 2087, - /* 300 */ 664, 2089, 2090, 659, 1808, 654, 353, 1965, 142, 1585, - /* 310 */ 149, 2145, 2174, 1701, 1620, 2086, 380, 2170, 48, 61, - /* 320 */ 751, 354, 1946, 14, 2064, 2070, 594, 593, 1650, 1651, - /* 330 */ 1653, 1654, 1655, 435, 122, 654, 406, 121, 120, 119, - /* 340 */ 118, 117, 116, 115, 114, 113, 543, 542, 2104, 181, - /* 350 */ 2182, 2183, 1584, 137, 2187, 1174, 661, 1173, 570, 1556, - /* 360 */ 1557, 2054, 473, 660, 250, 467, 466, 465, 464, 461, - /* 370 */ 460, 459, 458, 457, 453, 452, 451, 450, 335, 442, - /* 380 */ 441, 440, 32, 437, 436, 352, 1175, 1389, 1390, 1529, - /* 390 */ 1539, 11, 1590, 2085, 61, 1555, 1558, 2121, 185, 185, - /* 400 */ 109, 2087, 664, 2089, 2090, 659, 597, 654, 1479, 1474, - /* 410 */ 358, 1472, 2149, 646, 2174, 2146, 38, 37, 380, 2170, - /* 420 */ 44, 42, 41, 40, 39, 34, 384, 1578, 1579, 1580, - /* 430 */ 1581, 1582, 1586, 1587, 1588, 1589, 239, 1477, 1478, 418, - /* 440 */ 1528, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 656, - /* 450 */ 652, 1547, 1548, 1550, 1551, 1552, 1553, 2, 11, 45, - /* 460 */ 43, 491, 420, 416, 496, 1742, 1628, 386, 1500, 1473, - /* 470 */ 185, 2086, 1498, 11, 223, 9, 359, 449, 357, 356, - /* 480 */ 1554, 533, 1471, 710, 500, 535, 448, 496, 1742, 171, - /* 490 */ 2250, 603, 598, 591, 2245, 527, 523, 519, 515, 220, - /* 500 */ 2086, 630, 1446, 1447, 2104, 1549, 534, 1300, 2104, 1663, - /* 510 */ 2249, 18, 622, 1839, 2246, 2247, 601, 2054, 1479, 660, - /* 520 */ 630, 1852, 619, 1291, 686, 685, 684, 1295, 683, 1297, - /* 530 */ 1298, 682, 679, 2104, 1306, 676, 1308, 1309, 673, 670, - /* 540 */ 87, 661, 100, 218, 751, 185, 2054, 14, 660, 2085, - /* 550 */ 508, 630, 1975, 2121, 1254, 139, 109, 2087, 664, 2089, - /* 560 */ 2090, 659, 600, 654, 1769, 1243, 1856, 1253, 179, 628, - /* 570 */ 2174, 1975, 2189, 535, 380, 2170, 698, 238, 2085, 49, - /* 580 */ 561, 237, 2121, 1556, 1557, 109, 2087, 664, 2089, 2090, - /* 590 */ 659, 644, 654, 559, 534, 557, 2201, 2147, 2186, 2174, - /* 600 */ 639, 1245, 1975, 380, 2170, 1499, 648, 187, 2146, 2086, - /* 610 */ 217, 211, 644, 1529, 1539, 216, 272, 506, 1530, 1555, - /* 620 */ 1558, 183, 2182, 2183, 1863, 137, 2187, 689, 54, 478, - /* 630 */ 547, 546, 545, 1474, 209, 1472, 106, 537, 136, 541, - /* 640 */ 89, 340, 2104, 540, 363, 1863, 563, 1564, 539, 544, - /* 650 */ 661, 1848, 140, 1498, 538, 2054, 1841, 660, 282, 283, - /* 660 */ 1855, 1477, 1478, 281, 1528, 1531, 1532, 1533, 1534, 1535, - /* 670 */ 1536, 1537, 1538, 656, 652, 1547, 1548, 1550, 1551, 1552, - /* 680 */ 1553, 2, 45, 43, 1559, 378, 2086, 2085, 1850, 273, - /* 690 */ 386, 2121, 1473, 164, 109, 2087, 664, 2089, 2090, 659, - /* 700 */ 147, 654, 1865, 1554, 31, 1471, 2265, 1723, 2174, 644, - /* 710 */ 38, 37, 380, 2170, 44, 42, 41, 40, 39, 2104, - /* 720 */ 1501, 1406, 1407, 2208, 1155, 429, 61, 661, 1549, 2249, - /* 730 */ 185, 61, 2054, 92, 660, 389, 2086, 547, 546, 545, - /* 740 */ 2072, 1479, 1863, 164, 537, 136, 541, 178, 1722, 2037, - /* 750 */ 540, 2068, 1865, 2054, 469, 539, 544, 1405, 1408, 1721, - /* 760 */ 1903, 538, 2086, 1157, 2085, 1160, 1161, 751, 2121, 2104, - /* 770 */ 46, 109, 2087, 664, 2089, 2090, 659, 658, 654, 86, - /* 780 */ 1258, 1961, 2054, 2265, 660, 2174, 2064, 2070, 367, 380, - /* 790 */ 2170, 194, 190, 1257, 2054, 2104, 1473, 654, 1846, 1530, - /* 800 */ 2221, 644, 1501, 661, 1859, 2054, 1556, 1557, 2054, 1471, - /* 810 */ 660, 423, 688, 422, 2085, 198, 197, 430, 2121, 722, - /* 820 */ 720, 327, 2087, 664, 2089, 2090, 659, 657, 654, 645, - /* 830 */ 2139, 711, 83, 1825, 1863, 82, 1529, 1539, 468, 421, - /* 840 */ 2085, 644, 1555, 1558, 2121, 1479, 644, 109, 2087, 664, - /* 850 */ 2089, 2090, 659, 644, 654, 480, 1474, 439, 1472, 2265, - /* 860 */ 577, 2174, 454, 2250, 2072, 380, 2170, 1961, 191, 455, - /* 870 */ 141, 751, 2075, 2145, 1863, 2068, 589, 185, 192, 1863, - /* 880 */ 1500, 2086, 185, 2189, 1477, 1478, 1863, 1528, 1531, 1532, - /* 890 */ 1533, 1534, 1535, 1536, 1537, 1538, 656, 652, 1547, 1548, - /* 900 */ 1550, 1551, 1552, 1553, 2, 45, 43, 1700, 2072, 2185, - /* 910 */ 2064, 2070, 368, 386, 2104, 1473, 41, 40, 39, 2068, - /* 920 */ 8, 654, 661, 13, 12, 2077, 1554, 2054, 1471, 660, - /* 930 */ 245, 131, 130, 129, 128, 127, 126, 125, 124, 123, - /* 940 */ 38, 37, 1916, 73, 44, 42, 41, 40, 39, 390, - /* 950 */ 249, 1549, 1840, 2086, 2064, 2070, 381, 413, 1914, 2085, - /* 960 */ 1474, 1686, 1472, 2121, 1479, 654, 109, 2087, 664, 2089, - /* 970 */ 2090, 659, 1961, 654, 2189, 644, 27, 655, 2265, 392, - /* 980 */ 2174, 1720, 1809, 196, 380, 2170, 2104, 164, 1477, 1478, - /* 990 */ 751, 509, 81, 46, 661, 2239, 1865, 610, 1719, 2054, - /* 1000 */ 2184, 660, 1718, 383, 382, 1160, 1161, 611, 1863, 1717, - /* 1010 */ 38, 37, 432, 1487, 44, 42, 41, 40, 39, 690, - /* 1020 */ 644, 644, 1907, 1597, 1554, 433, 1480, 2054, 272, 1556, - /* 1030 */ 1557, 2085, 1716, 2194, 1617, 2121, 1860, 241, 109, 2087, - /* 1040 */ 664, 2089, 2090, 659, 2054, 654, 552, 644, 2054, 1549, - /* 1050 */ 2265, 696, 2174, 1863, 1863, 2054, 380, 2170, 1498, 1529, - /* 1060 */ 1539, 562, 1479, 578, 696, 1555, 1558, 2193, 614, 154, - /* 1070 */ 153, 693, 692, 691, 151, 236, 644, 152, 2054, 1474, - /* 1080 */ 1863, 1472, 154, 153, 693, 692, 691, 151, 650, 1715, - /* 1090 */ 555, 694, 623, 695, 1907, 549, 1907, 1714, 305, 228, - /* 1100 */ 235, 1893, 226, 1640, 2086, 1695, 1696, 1477, 1478, 1863, - /* 1110 */ 1528, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 656, - /* 1120 */ 652, 1547, 1548, 1550, 1551, 1552, 1553, 2, 45, 43, - /* 1130 */ 1711, 1617, 644, 1482, 53, 2054, 386, 2104, 1473, 644, - /* 1140 */ 581, 69, 619, 2054, 68, 661, 105, 33, 627, 1554, - /* 1150 */ 2054, 1471, 660, 38, 37, 286, 102, 44, 42, 41, - /* 1160 */ 40, 39, 38, 37, 644, 1863, 44, 42, 41, 40, - /* 1170 */ 39, 51, 1863, 3, 1549, 139, 2054, 1488, 1838, 1483, - /* 1180 */ 641, 1710, 2085, 1709, 644, 1713, 2121, 1479, 1708, 109, - /* 1190 */ 2087, 664, 2089, 2090, 659, 644, 654, 1863, 644, 230, - /* 1200 */ 642, 647, 229, 2174, 1530, 1491, 1493, 380, 2170, 2214, - /* 1210 */ 1707, 292, 52, 751, 393, 1706, 14, 1863, 652, 1547, - /* 1220 */ 1548, 1550, 1551, 1552, 1553, 13, 12, 2054, 1863, 2054, - /* 1230 */ 145, 1863, 134, 267, 2054, 165, 612, 248, 1705, 1704, - /* 1240 */ 311, 270, 2182, 618, 1756, 133, 617, 1703, 232, 2245, - /* 1250 */ 2047, 231, 1556, 1557, 309, 72, 2054, 234, 71, 221, - /* 1260 */ 233, 2054, 1204, 595, 606, 182, 548, 38, 37, 2246, - /* 1270 */ 608, 44, 42, 41, 40, 39, 205, 488, 486, 483, - /* 1280 */ 1481, 90, 1529, 1539, 2054, 2054, 1485, 651, 1555, 1558, - /* 1290 */ 696, 261, 565, 2054, 564, 2105, 582, 1749, 1205, 615, - /* 1300 */ 2245, 1747, 1474, 1904, 1472, 152, 2048, 397, 154, 153, - /* 1310 */ 693, 692, 691, 151, 1743, 2251, 182, 61, 1737, 550, - /* 1320 */ 2246, 608, 163, 553, 152, 47, 63, 2086, 63, 254, - /* 1330 */ 1477, 1478, 47, 1528, 1531, 1532, 1533, 1534, 1535, 1536, - /* 1340 */ 1537, 1538, 656, 652, 1547, 1548, 1550, 1551, 1552, 1553, - /* 1350 */ 2, 152, 582, 269, 47, 108, 2245, 704, 2086, 1970, - /* 1360 */ 2104, 279, 1441, 746, 70, 150, 705, 152, 661, 2204, - /* 1370 */ 620, 2251, 182, 2054, 63, 660, 2246, 608, 668, 1223, - /* 1380 */ 266, 1444, 1540, 1649, 150, 1648, 256, 1, 1221, 304, - /* 1390 */ 4, 2104, 152, 405, 135, 80, 79, 428, 400, 661, - /* 1400 */ 189, 349, 1426, 299, 2054, 2085, 660, 150, 626, 2121, - /* 1410 */ 568, 1403, 168, 2087, 664, 2089, 2090, 659, 284, 654, - /* 1420 */ 334, 636, 288, 414, 1284, 195, 412, 408, 404, 401, - /* 1430 */ 421, 1591, 1501, 1484, 434, 1312, 2085, 1575, 2086, 1971, - /* 1440 */ 2121, 1316, 438, 110, 2087, 664, 2089, 2090, 659, 1323, - /* 1450 */ 654, 1321, 471, 583, 2211, 443, 582, 2174, 2086, 1496, - /* 1460 */ 2245, 2173, 2170, 456, 155, 1963, 463, 470, 185, 472, - /* 1470 */ 481, 2104, 482, 479, 200, 2251, 182, 199, 484, 661, - /* 1480 */ 2246, 608, 202, 485, 2054, 1502, 660, 487, 489, 208, - /* 1490 */ 490, 2104, 499, 1504, 502, 1499, 503, 210, 1503, 661, - /* 1500 */ 504, 1505, 505, 213, 2054, 507, 660, 215, 84, 85, - /* 1510 */ 511, 219, 1177, 567, 528, 529, 2085, 530, 532, 339, - /* 1520 */ 2121, 111, 2030, 110, 2087, 664, 2089, 2090, 659, 569, - /* 1530 */ 654, 1853, 225, 1849, 227, 2086, 662, 2174, 157, 158, - /* 1540 */ 2121, 649, 2170, 110, 2087, 664, 2089, 2090, 659, 1851, - /* 1550 */ 654, 1847, 2086, 159, 2027, 160, 2026, 2174, 88, 148, - /* 1560 */ 242, 344, 2170, 572, 571, 300, 246, 576, 2104, 579, - /* 1570 */ 2205, 586, 596, 592, 2220, 634, 661, 2219, 369, 573, - /* 1580 */ 244, 2054, 2215, 660, 252, 2104, 599, 7, 2196, 255, - /* 1590 */ 605, 260, 172, 661, 587, 585, 584, 613, 2054, 370, - /* 1600 */ 660, 262, 616, 2268, 1617, 138, 2244, 1500, 624, 274, - /* 1610 */ 265, 373, 2086, 2085, 1976, 268, 95, 2121, 2190, 1506, - /* 1620 */ 169, 2087, 664, 2089, 2090, 659, 301, 654, 632, 633, - /* 1630 */ 2085, 1990, 1989, 1988, 2121, 302, 2086, 110, 2087, 664, - /* 1640 */ 2089, 2090, 659, 263, 654, 2104, 637, 264, 638, 376, - /* 1650 */ 97, 2174, 303, 661, 99, 60, 2171, 1864, 2054, 101, - /* 1660 */ 660, 2155, 666, 295, 1826, 1908, 747, 748, 306, 2104, - /* 1670 */ 750, 341, 609, 2266, 50, 330, 2046, 661, 310, 2045, - /* 1680 */ 2044, 77, 2054, 308, 660, 402, 342, 2041, 1464, 315, - /* 1690 */ 2085, 403, 329, 319, 2121, 1465, 188, 168, 2087, 664, - /* 1700 */ 2089, 2090, 659, 407, 654, 2039, 409, 2086, 410, 411, - /* 1710 */ 2038, 350, 2036, 415, 2085, 2035, 417, 2034, 2121, 419, - /* 1720 */ 78, 321, 2087, 664, 2089, 2090, 659, 1429, 654, 2086, - /* 1730 */ 1428, 2002, 2001, 2000, 426, 427, 1999, 1998, 1380, 2212, - /* 1740 */ 2104, 1954, 1953, 1951, 144, 1950, 1949, 1952, 661, 444, - /* 1750 */ 193, 1942, 446, 2054, 1948, 660, 1947, 1945, 1944, 1943, - /* 1760 */ 1956, 1941, 2104, 1940, 1939, 604, 146, 375, 1938, 1937, - /* 1770 */ 661, 1936, 1935, 1934, 1933, 2054, 1932, 660, 1931, 2086, - /* 1780 */ 1930, 1929, 1928, 1927, 1926, 2085, 1925, 1924, 1955, 2121, - /* 1790 */ 1923, 1922, 169, 2087, 664, 2089, 2090, 659, 1921, 654, - /* 1800 */ 1920, 1382, 2086, 1919, 474, 1918, 1917, 2085, 1772, 337, - /* 1810 */ 201, 2121, 2104, 1771, 328, 2087, 664, 2089, 2090, 659, - /* 1820 */ 658, 654, 338, 1255, 1259, 2054, 1770, 660, 1251, 1768, - /* 1830 */ 1732, 1163, 2074, 203, 206, 2104, 75, 1162, 177, 1731, - /* 1840 */ 385, 2017, 495, 661, 207, 2267, 497, 204, 2054, 76, - /* 1850 */ 660, 2009, 1997, 212, 214, 1996, 1974, 2085, 1842, 1767, - /* 1860 */ 2086, 2121, 512, 513, 327, 2087, 664, 2089, 2090, 659, - /* 1870 */ 1765, 654, 1197, 2140, 514, 1763, 517, 516, 1761, 518, - /* 1880 */ 2085, 754, 520, 522, 2121, 521, 1759, 328, 2087, 664, - /* 1890 */ 2089, 2090, 659, 2104, 654, 298, 524, 525, 387, 526, - /* 1900 */ 1746, 661, 1745, 1728, 1844, 62, 2054, 1328, 660, 1327, - /* 1910 */ 175, 1843, 1242, 719, 1241, 1240, 744, 740, 736, 732, - /* 1920 */ 296, 1233, 1757, 1239, 1238, 224, 1235, 2086, 721, 1234, - /* 1930 */ 1232, 360, 1750, 551, 361, 1748, 362, 1727, 2085, 1726, - /* 1940 */ 554, 556, 2121, 558, 1725, 328, 2087, 664, 2089, 2090, - /* 1950 */ 659, 560, 654, 112, 1451, 1453, 2086, 26, 1450, 2016, - /* 1960 */ 2104, 107, 1435, 66, 289, 1455, 2008, 1437, 661, 574, - /* 1970 */ 1995, 1993, 2250, 2054, 19, 660, 16, 55, 58, 64, - /* 1980 */ 575, 28, 59, 259, 258, 590, 1665, 2086, 5, 2104, - /* 1990 */ 247, 1680, 366, 251, 580, 588, 640, 661, 2075, 253, - /* 2000 */ 162, 170, 2054, 6, 660, 566, 30, 21, 20, 2121, - /* 2010 */ 17, 1647, 323, 2087, 664, 2089, 2090, 659, 2086, 654, - /* 2020 */ 2104, 257, 1679, 371, 29, 1684, 1639, 1685, 661, 1686, - /* 2030 */ 1683, 276, 372, 2054, 2085, 660, 275, 57, 2121, 271, - /* 2040 */ 1994, 312, 2087, 664, 2089, 2090, 659, 1614, 654, 91, - /* 2050 */ 173, 2104, 1433, 1613, 1992, 243, 1991, 1973, 93, 661, - /* 2060 */ 94, 277, 1972, 96, 2054, 2085, 660, 22, 280, 2121, - /* 2070 */ 56, 23, 313, 2087, 664, 2089, 2090, 659, 278, 654, - /* 2080 */ 1645, 285, 2086, 67, 635, 287, 98, 1566, 102, 290, - /* 2090 */ 10, 12, 1565, 1489, 174, 186, 2085, 1544, 2124, 2086, - /* 2100 */ 2121, 653, 36, 314, 2087, 664, 2089, 2090, 659, 1542, - /* 2110 */ 654, 1541, 15, 24, 1521, 2104, 1513, 25, 665, 1313, - /* 2120 */ 667, 388, 669, 661, 1310, 671, 672, 1305, 2054, 1576, - /* 2130 */ 660, 1307, 2104, 663, 674, 675, 677, 680, 1301, 678, - /* 2140 */ 661, 1290, 1299, 681, 687, 2054, 103, 660, 1304, 2086, - /* 2150 */ 293, 1303, 1302, 104, 1318, 1322, 1195, 697, 74, 1229, - /* 2160 */ 2085, 1228, 1227, 1226, 2121, 1225, 1224, 320, 2087, 664, - /* 2170 */ 2089, 2090, 659, 1222, 654, 1220, 1219, 2085, 1218, 1249, - /* 2180 */ 709, 2121, 2104, 294, 324, 2087, 664, 2089, 2090, 659, - /* 2190 */ 661, 654, 1216, 1215, 1214, 2054, 1213, 660, 1212, 2086, - /* 2200 */ 1211, 1210, 1244, 1207, 1246, 1206, 1203, 1202, 1201, 1764, - /* 2210 */ 1200, 729, 730, 1762, 733, 2086, 731, 734, 1760, 735, - /* 2220 */ 737, 738, 1758, 739, 741, 1744, 742, 2085, 745, 743, - /* 2230 */ 1152, 2121, 2104, 1724, 316, 2087, 664, 2089, 2090, 659, - /* 2240 */ 661, 654, 297, 1475, 749, 2054, 307, 660, 2104, 752, - /* 2250 */ 753, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, - /* 2260 */ 1699, 2054, 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2270 */ 1699, 1699, 1699, 1699, 1699, 1699, 2086, 2085, 1699, 1699, - /* 2280 */ 1699, 2121, 1699, 1699, 325, 2087, 664, 2089, 2090, 659, - /* 2290 */ 1699, 654, 1699, 2085, 2086, 1699, 1699, 2121, 1699, 1699, - /* 2300 */ 317, 2087, 664, 2089, 2090, 659, 1699, 654, 1699, 2104, - /* 2310 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, - /* 2320 */ 1699, 1699, 2054, 1699, 660, 1699, 1699, 2104, 1699, 1699, - /* 2330 */ 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, - /* 2340 */ 2054, 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2350 */ 1699, 1699, 2086, 1699, 2085, 1699, 1699, 1699, 2121, 1699, - /* 2360 */ 1699, 326, 2087, 664, 2089, 2090, 659, 1699, 654, 2086, - /* 2370 */ 1699, 1699, 2085, 1699, 1699, 1699, 2121, 1699, 1699, 318, - /* 2380 */ 2087, 664, 2089, 2090, 659, 2104, 654, 1699, 1699, 1699, - /* 2390 */ 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, 2054, 1699, - /* 2400 */ 660, 1699, 2104, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2410 */ 661, 1699, 1699, 1699, 1699, 2054, 1699, 660, 1699, 1699, - /* 2420 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2430 */ 2085, 1699, 1699, 2086, 2121, 1699, 1699, 331, 2087, 664, - /* 2440 */ 2089, 2090, 659, 1699, 654, 1699, 1699, 2085, 1699, 2086, - /* 2450 */ 1699, 2121, 1699, 1699, 332, 2087, 664, 2089, 2090, 659, - /* 2460 */ 1699, 654, 1699, 1699, 1699, 1699, 2104, 1699, 1699, 1699, - /* 2470 */ 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, 2054, - /* 2480 */ 1699, 660, 2104, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2490 */ 661, 1699, 1699, 1699, 1699, 2054, 1699, 660, 1699, 1699, - /* 2500 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2510 */ 1699, 2085, 1699, 1699, 1699, 2121, 2086, 1699, 2098, 2087, - /* 2520 */ 664, 2089, 2090, 659, 1699, 654, 1699, 2085, 1699, 1699, - /* 2530 */ 1699, 2121, 1699, 2086, 2097, 2087, 664, 2089, 2090, 659, - /* 2540 */ 1699, 654, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 2104, - /* 2550 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, - /* 2560 */ 1699, 1699, 2054, 1699, 660, 1699, 2104, 1699, 1699, 1699, - /* 2570 */ 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, 2054, - /* 2580 */ 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2590 */ 1699, 1699, 1699, 1699, 2085, 2086, 1699, 1699, 2121, 1699, - /* 2600 */ 1699, 2096, 2087, 664, 2089, 2090, 659, 1699, 654, 1699, - /* 2610 */ 1699, 2085, 1699, 1699, 1699, 2121, 1699, 1699, 346, 2087, - /* 2620 */ 664, 2089, 2090, 659, 1699, 654, 1699, 1699, 2104, 1699, - /* 2630 */ 1699, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, - /* 2640 */ 1699, 2054, 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2650 */ 1699, 1699, 1699, 1699, 1699, 1699, 2086, 1699, 1699, 1699, - /* 2660 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2670 */ 1699, 1699, 1699, 2085, 2086, 1699, 1699, 2121, 1699, 1699, - /* 2680 */ 347, 2087, 664, 2089, 2090, 659, 1699, 654, 1699, 2104, - /* 2690 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, - /* 2700 */ 1699, 1699, 2054, 1699, 660, 1699, 1699, 2104, 1699, 1699, - /* 2710 */ 1699, 1699, 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, - /* 2720 */ 2054, 1699, 660, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2730 */ 1699, 1699, 2086, 1699, 2085, 1699, 1699, 1699, 2121, 1699, - /* 2740 */ 1699, 343, 2087, 664, 2089, 2090, 659, 1699, 654, 2086, - /* 2750 */ 1699, 1699, 2085, 1699, 1699, 1699, 2121, 1699, 1699, 348, - /* 2760 */ 2087, 664, 2089, 2090, 659, 2104, 654, 1699, 1699, 1699, - /* 2770 */ 1699, 1699, 1699, 661, 1699, 1699, 1699, 1699, 2054, 1699, - /* 2780 */ 660, 1699, 2104, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2790 */ 661, 1699, 1699, 1699, 1699, 2054, 1699, 660, 1699, 1699, - /* 2800 */ 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, 1699, - /* 2810 */ 662, 1699, 1699, 1699, 2121, 1699, 1699, 323, 2087, 664, - /* 2820 */ 2089, 2090, 659, 1699, 654, 1699, 1699, 2085, 1699, 1699, - /* 2830 */ 1699, 2121, 1699, 1699, 322, 2087, 664, 2089, 2090, 659, - /* 2840 */ 1699, 654, + /* 0 */ 1870, 1998, 427, 1932, 629, 494, 426, 495, 1748, 164, + /* 10 */ 366, 2084, 45, 43, 1636, 1710, 1996, 635, 1882, 1930, + /* 20 */ 388, 433, 1485, 393, 38, 37, 1925, 1927, 44, 42, + /* 30 */ 41, 40, 39, 1566, 122, 1483, 1778, 121, 120, 119, + /* 40 */ 118, 117, 116, 115, 114, 113, 2080, 2086, 586, 500, + /* 50 */ 586, 1510, 2261, 2102, 2261, 496, 2266, 658, 1561, 503, + /* 60 */ 2261, 495, 1748, 333, 18, 1511, 647, 2267, 182, 2267, + /* 70 */ 182, 1491, 2262, 612, 2262, 612, 2265, 1932, 35, 291, + /* 80 */ 2262, 2264, 86, 401, 351, 512, 2120, 400, 44, 42, + /* 90 */ 41, 40, 39, 1930, 626, 1926, 1927, 755, 355, 2070, + /* 100 */ 14, 664, 732, 731, 730, 729, 398, 1874, 728, 727, + /* 110 */ 143, 722, 721, 720, 719, 718, 717, 716, 156, 712, + /* 120 */ 711, 710, 397, 396, 707, 706, 705, 704, 703, 586, + /* 130 */ 2037, 2101, 1182, 2261, 1181, 2137, 1568, 1569, 109, 2103, + /* 140 */ 668, 2105, 2106, 663, 633, 658, 1998, 222, 2267, 182, + /* 150 */ 179, 65, 2190, 2262, 612, 611, 382, 2186, 379, 2261, + /* 160 */ 648, 1995, 635, 1183, 623, 611, 1541, 1551, 647, 2261, + /* 170 */ 184, 61, 1567, 1570, 610, 182, 132, 240, 2216, 2262, + /* 180 */ 612, 1346, 1347, 533, 610, 182, 1486, 1491, 1484, 2262, + /* 190 */ 612, 1932, 1735, 1879, 1705, 38, 37, 139, 376, 44, + /* 200 */ 42, 41, 40, 39, 38, 37, 606, 1930, 44, 42, + /* 210 */ 41, 40, 39, 2102, 1489, 1490, 1513, 1540, 1543, 1544, + /* 220 */ 1545, 1546, 1547, 1548, 1549, 1550, 660, 656, 1559, 1560, + /* 230 */ 1562, 1563, 1564, 1565, 2, 45, 43, 1932, 2070, 647, + /* 240 */ 336, 1510, 1508, 388, 381, 1485, 2120, 61, 48, 464, + /* 250 */ 623, 345, 478, 1930, 665, 477, 1566, 648, 1483, 2070, + /* 260 */ 176, 664, 625, 180, 2198, 2199, 702, 137, 2203, 391, + /* 270 */ 447, 1509, 479, 132, 167, 449, 1724, 161, 2089, 1664, + /* 280 */ 538, 1561, 1982, 139, 367, 176, 1881, 18, 2056, 2084, + /* 290 */ 1879, 2101, 1704, 1930, 1491, 2137, 1595, 166, 109, 2103, + /* 300 */ 668, 2105, 2106, 663, 1820, 658, 353, 1981, 142, 1597, + /* 310 */ 149, 2161, 2190, 1713, 1510, 2102, 382, 2186, 574, 48, + /* 320 */ 755, 354, 185, 14, 2080, 2086, 598, 597, 1662, 1663, + /* 330 */ 1665, 1666, 1667, 437, 122, 658, 408, 121, 120, 119, + /* 340 */ 118, 117, 116, 115, 114, 113, 547, 546, 2120, 181, + /* 350 */ 2198, 2199, 1596, 137, 2203, 1182, 665, 1181, 693, 1568, + /* 360 */ 1569, 2070, 475, 664, 250, 469, 468, 467, 466, 463, + /* 370 */ 462, 461, 460, 459, 455, 454, 453, 452, 335, 444, + /* 380 */ 443, 442, 32, 439, 438, 352, 1183, 1401, 1402, 1541, + /* 390 */ 1551, 49, 1602, 2101, 61, 1567, 1570, 2137, 185, 601, + /* 400 */ 109, 2103, 668, 2105, 2106, 663, 1512, 658, 11, 1486, + /* 410 */ 9, 1484, 2165, 650, 2190, 2162, 38, 37, 382, 2186, + /* 420 */ 44, 42, 41, 40, 39, 34, 386, 1590, 1591, 1592, + /* 430 */ 1593, 1594, 1598, 1599, 1600, 1601, 1163, 1489, 1490, 273, + /* 440 */ 1540, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 660, + /* 450 */ 656, 1559, 1560, 1562, 1563, 1564, 1565, 2, 11, 45, + /* 460 */ 43, 493, 13, 12, 498, 1754, 2205, 388, 2120, 1485, + /* 470 */ 185, 2102, 1932, 11, 223, 1165, 605, 1168, 1169, 392, + /* 480 */ 1566, 61, 1483, 92, 607, 602, 595, 502, 1930, 171, + /* 490 */ 498, 1754, 2202, 2266, 61, 529, 525, 521, 517, 220, + /* 500 */ 2102, 634, 726, 724, 2120, 1561, 1856, 1312, 178, 1675, + /* 510 */ 1512, 18, 626, 41, 40, 39, 634, 2070, 1491, 664, + /* 520 */ 634, 1919, 604, 1303, 690, 689, 688, 1307, 687, 1309, + /* 530 */ 1310, 686, 683, 2120, 1318, 680, 1320, 1321, 677, 674, + /* 540 */ 87, 665, 185, 218, 755, 185, 2070, 14, 664, 2101, + /* 550 */ 510, 556, 1991, 2137, 272, 714, 109, 2103, 668, 2105, + /* 560 */ 2106, 663, 1609, 658, 581, 632, 566, 1991, 179, 643, + /* 570 */ 2190, 1991, 1255, 694, 382, 2186, 1923, 106, 2101, 425, + /* 580 */ 236, 424, 2137, 1568, 1569, 109, 2103, 668, 2105, 2106, + /* 590 */ 663, 1698, 658, 140, 539, 559, 2217, 2163, 1712, 2190, + /* 600 */ 553, 1871, 1734, 382, 2186, 235, 1733, 423, 1257, 2102, + /* 610 */ 217, 211, 1513, 1541, 1551, 216, 1253, 508, 700, 1567, + /* 620 */ 1570, 623, 131, 130, 129, 128, 127, 126, 125, 124, + /* 630 */ 123, 152, 185, 1486, 209, 1484, 154, 153, 697, 696, + /* 640 */ 695, 151, 2120, 380, 655, 185, 69, 1640, 2070, 68, + /* 650 */ 665, 164, 2070, 1510, 139, 2070, 1962, 664, 272, 1868, + /* 660 */ 1881, 1489, 1490, 1511, 1540, 1543, 1544, 1545, 1546, 1547, + /* 670 */ 1548, 1549, 1550, 660, 656, 1559, 1560, 1562, 1563, 1564, + /* 680 */ 1565, 2, 45, 43, 1571, 238, 2102, 2101, 53, 237, + /* 690 */ 388, 2137, 1485, 648, 109, 2103, 668, 2105, 2106, 663, + /* 700 */ 1855, 658, 1821, 1566, 31, 1483, 2281, 420, 2190, 187, + /* 710 */ 38, 37, 382, 2186, 44, 42, 41, 40, 39, 2120, + /* 720 */ 183, 2198, 2199, 2224, 137, 2203, 1879, 665, 1561, 1266, + /* 730 */ 422, 418, 2070, 652, 664, 2162, 2102, 551, 550, 549, + /* 740 */ 2088, 1491, 1265, 1633, 541, 136, 545, 1864, 89, 340, + /* 750 */ 544, 2084, 365, 1725, 567, 543, 548, 361, 360, 1732, + /* 760 */ 191, 542, 2102, 702, 2101, 648, 1731, 755, 2137, 2120, + /* 770 */ 46, 109, 2103, 668, 2105, 2106, 663, 662, 658, 1418, + /* 780 */ 1419, 54, 2070, 2281, 664, 2190, 2080, 2086, 369, 382, + /* 790 */ 2186, 194, 1730, 2205, 1587, 2120, 1485, 658, 1879, 1542, + /* 800 */ 2237, 648, 471, 665, 480, 2070, 1568, 1569, 2070, 1483, + /* 810 */ 664, 451, 2070, 1866, 2101, 1417, 1420, 431, 2137, 2201, + /* 820 */ 450, 327, 2103, 668, 2105, 2106, 663, 661, 658, 649, + /* 830 */ 2155, 715, 83, 1841, 1879, 82, 1541, 1551, 2070, 648, + /* 840 */ 2101, 358, 1567, 1570, 2137, 1491, 648, 109, 2103, 668, + /* 850 */ 2105, 2106, 663, 1862, 658, 432, 1486, 1781, 1484, 2281, + /* 860 */ 391, 2190, 441, 198, 197, 382, 2186, 1576, 164, 1977, + /* 870 */ 1270, 755, 1879, 1510, 1729, 1728, 593, 1881, 692, 1879, + /* 880 */ 190, 2102, 239, 1269, 1489, 1490, 470, 1540, 1543, 1544, + /* 890 */ 1545, 1546, 1547, 1548, 1549, 1550, 660, 656, 1559, 1560, + /* 900 */ 1562, 1563, 1564, 1565, 2, 45, 43, 359, 2088, 357, + /* 910 */ 356, 2063, 535, 388, 2120, 1485, 537, 648, 245, 2084, + /* 920 */ 2070, 2070, 665, 551, 550, 549, 1566, 2070, 1483, 664, + /* 930 */ 541, 136, 545, 456, 100, 141, 544, 536, 2161, 1168, + /* 940 */ 1169, 543, 548, 361, 360, 482, 2205, 542, 1458, 1459, + /* 950 */ 1879, 1561, 540, 2102, 2080, 2086, 370, 586, 1872, 2101, + /* 960 */ 1486, 2261, 1484, 2137, 1491, 658, 109, 2103, 668, 2105, + /* 970 */ 2106, 663, 2200, 658, 1251, 86, 2267, 182, 2281, 394, + /* 980 */ 2190, 2262, 612, 1513, 382, 2186, 2120, 164, 1489, 1490, + /* 990 */ 755, 1632, 565, 46, 665, 2255, 1881, 282, 283, 2070, + /* 1000 */ 1875, 664, 281, 385, 384, 563, 1932, 561, 2266, 1727, + /* 1010 */ 38, 37, 2261, 1499, 44, 42, 41, 40, 39, 1542, + /* 1020 */ 648, 648, 1931, 1977, 1566, 1726, 1492, 8, 2265, 1568, + /* 1030 */ 1569, 2101, 2262, 2263, 192, 2137, 457, 511, 109, 2103, + /* 1040 */ 668, 2105, 2106, 663, 2265, 658, 27, 648, 698, 1561, + /* 1050 */ 2281, 1923, 2190, 1879, 1879, 2070, 382, 2186, 699, 1541, + /* 1060 */ 1551, 1923, 1491, 1876, 537, 1567, 1570, 2209, 38, 37, + /* 1070 */ 648, 2070, 44, 42, 41, 40, 39, 2053, 659, 1486, + /* 1080 */ 1879, 1484, 1977, 2230, 33, 536, 241, 615, 654, 1723, + /* 1090 */ 38, 37, 434, 196, 44, 42, 41, 40, 39, 1854, + /* 1100 */ 1722, 1721, 1720, 1879, 2102, 435, 305, 1489, 1490, 1909, + /* 1110 */ 1540, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 660, + /* 1120 */ 656, 1559, 1560, 1562, 1563, 1564, 1565, 2, 45, 43, + /* 1130 */ 1719, 249, 2210, 1629, 1857, 2070, 388, 2120, 1485, 648, + /* 1140 */ 648, 228, 623, 221, 226, 665, 2070, 2070, 2070, 1566, + /* 1150 */ 2070, 1483, 664, 1510, 230, 582, 627, 229, 38, 37, + /* 1160 */ 73, 1652, 44, 42, 41, 40, 39, 648, 51, 648, + /* 1170 */ 3, 1718, 1879, 1879, 1561, 139, 2070, 1500, 147, 1495, + /* 1180 */ 1717, 648, 2101, 631, 267, 286, 2137, 1491, 599, 109, + /* 1190 */ 2103, 668, 2105, 2106, 663, 232, 658, 645, 231, 1494, + /* 1200 */ 1879, 651, 1879, 2190, 1716, 1503, 1505, 382, 2186, 81, + /* 1210 */ 1715, 700, 234, 755, 1879, 233, 14, 2070, 656, 1559, + /* 1220 */ 1560, 1562, 1563, 1564, 1565, 2064, 2070, 261, 648, 154, + /* 1230 */ 153, 697, 696, 695, 151, 165, 152, 145, 1629, 134, + /* 1240 */ 311, 270, 2198, 622, 646, 133, 621, 648, 585, 2261, + /* 1250 */ 2070, 648, 1568, 1569, 309, 72, 2070, 248, 71, 1768, + /* 1260 */ 569, 1879, 568, 292, 610, 182, 152, 395, 63, 2262, + /* 1270 */ 612, 586, 1761, 1707, 1708, 2261, 205, 490, 488, 485, + /* 1280 */ 1879, 552, 1541, 1551, 1879, 415, 618, 700, 1567, 1570, + /* 1290 */ 2267, 182, 1759, 1453, 554, 2262, 612, 63, 1493, 1542, + /* 1300 */ 254, 90, 1486, 2121, 1484, 154, 153, 697, 696, 695, + /* 1310 */ 151, 2091, 614, 572, 557, 152, 616, 61, 163, 47, + /* 1320 */ 52, 13, 12, 1456, 279, 1661, 1212, 2102, 70, 150, + /* 1330 */ 1489, 1490, 152, 1540, 1543, 1544, 1545, 1546, 1547, 1548, + /* 1340 */ 1549, 1550, 660, 656, 1559, 1560, 1562, 1563, 1564, 1565, + /* 1350 */ 2, 63, 1497, 47, 1660, 108, 399, 256, 2102, 586, + /* 1360 */ 2120, 47, 1213, 2261, 2093, 672, 708, 150, 665, 1986, + /* 1370 */ 1749, 709, 630, 2070, 152, 664, 1415, 135, 2267, 182, + /* 1380 */ 150, 284, 105, 2262, 612, 640, 288, 1920, 1231, 1296, + /* 1390 */ 1755, 2120, 102, 1229, 2220, 80, 79, 430, 269, 665, + /* 1400 */ 189, 624, 266, 1, 2070, 2101, 664, 4, 1603, 2137, + /* 1410 */ 1552, 402, 168, 2103, 668, 2105, 2106, 663, 304, 658, + /* 1420 */ 334, 407, 1324, 416, 1328, 1438, 414, 410, 406, 403, + /* 1430 */ 423, 1335, 349, 299, 1333, 195, 2101, 155, 2102, 750, + /* 1440 */ 2137, 2088, 436, 110, 2103, 668, 2105, 2106, 663, 1513, + /* 1450 */ 658, 1496, 2084, 587, 2227, 1987, 445, 2190, 2102, 38, + /* 1460 */ 37, 2189, 2186, 44, 42, 41, 40, 39, 185, 440, + /* 1470 */ 473, 2120, 1508, 458, 465, 483, 1979, 472, 474, 665, + /* 1480 */ 484, 481, 200, 486, 2070, 487, 664, 2080, 2086, 383, + /* 1490 */ 199, 2120, 202, 1514, 489, 492, 491, 501, 658, 665, + /* 1500 */ 1516, 504, 1511, 208, 2070, 505, 664, 1515, 210, 506, + /* 1510 */ 1517, 507, 213, 509, 513, 215, 2101, 619, 1185, 84, + /* 1520 */ 2137, 85, 530, 110, 2103, 668, 2105, 2106, 663, 219, + /* 1530 */ 658, 531, 532, 571, 88, 2102, 666, 2190, 2046, 339, + /* 1540 */ 2137, 653, 2186, 110, 2103, 668, 2105, 2106, 663, 534, + /* 1550 */ 658, 1869, 2102, 111, 225, 1865, 227, 2190, 2043, 157, + /* 1560 */ 158, 344, 2186, 2042, 1867, 148, 1863, 159, 2120, 160, + /* 1570 */ 242, 576, 300, 573, 577, 575, 665, 580, 246, 583, + /* 1580 */ 244, 2070, 600, 664, 2236, 2120, 590, 638, 596, 609, + /* 1590 */ 371, 372, 2235, 665, 2221, 2231, 2212, 603, 2070, 260, + /* 1600 */ 664, 172, 252, 7, 255, 588, 620, 591, 589, 1629, + /* 1610 */ 617, 262, 2102, 2101, 268, 2284, 2260, 2137, 138, 1512, + /* 1620 */ 169, 2103, 668, 2105, 2106, 663, 265, 658, 628, 263, + /* 1630 */ 2101, 264, 2206, 1518, 2137, 375, 2102, 110, 2103, 668, + /* 1640 */ 2105, 2106, 663, 274, 658, 2120, 95, 1992, 301, 636, + /* 1650 */ 60, 2190, 637, 665, 302, 2006, 2187, 2005, 2070, 641, + /* 1660 */ 664, 97, 2004, 99, 303, 378, 2171, 101, 642, 2120, + /* 1670 */ 1880, 1842, 613, 2282, 670, 306, 1924, 665, 751, 752, + /* 1680 */ 754, 330, 2070, 310, 664, 295, 315, 329, 308, 341, + /* 1690 */ 2101, 50, 2062, 2061, 2137, 342, 2060, 168, 2103, 668, + /* 1700 */ 2105, 2106, 663, 77, 658, 2057, 319, 2102, 404, 405, + /* 1710 */ 1476, 1477, 188, 409, 2101, 2055, 411, 412, 2137, 413, + /* 1720 */ 2054, 321, 2103, 668, 2105, 2106, 663, 350, 658, 2102, + /* 1730 */ 2052, 2051, 417, 419, 2050, 421, 78, 1441, 1440, 2228, + /* 1740 */ 2120, 2018, 2017, 2016, 428, 429, 2015, 2014, 665, 1392, + /* 1750 */ 1970, 1969, 1967, 2070, 144, 664, 1966, 1965, 1968, 1964, + /* 1760 */ 1963, 1961, 2120, 1960, 1959, 608, 193, 377, 446, 1958, + /* 1770 */ 665, 448, 1972, 1957, 1956, 2070, 1955, 664, 1954, 2102, + /* 1780 */ 1953, 1952, 1951, 1950, 1949, 2101, 1948, 1947, 1946, 2137, + /* 1790 */ 1945, 1944, 169, 2103, 668, 2105, 2106, 663, 1943, 658, + /* 1800 */ 1942, 1941, 2102, 1940, 146, 1971, 1939, 2101, 1938, 1937, + /* 1810 */ 1936, 2137, 2120, 1935, 328, 2103, 668, 2105, 2106, 663, + /* 1820 */ 662, 658, 476, 1934, 1394, 2070, 1933, 664, 337, 1267, + /* 1830 */ 1784, 338, 1263, 1271, 1783, 2120, 1782, 201, 1780, 1744, + /* 1840 */ 387, 206, 2090, 665, 1743, 2283, 1171, 203, 2070, 1170, + /* 1850 */ 664, 204, 2033, 75, 2025, 2013, 177, 2101, 207, 76, + /* 1860 */ 2102, 2137, 497, 212, 327, 2103, 668, 2105, 2106, 663, + /* 1870 */ 2012, 658, 499, 2156, 1990, 214, 1858, 1779, 1777, 515, + /* 1880 */ 2101, 758, 1205, 514, 2137, 516, 1775, 328, 2103, 668, + /* 1890 */ 2105, 2106, 663, 2120, 658, 298, 518, 519, 389, 520, + /* 1900 */ 1773, 665, 522, 524, 523, 1771, 2070, 526, 664, 1758, + /* 1910 */ 175, 527, 528, 1757, 1740, 1860, 748, 744, 740, 736, + /* 1920 */ 296, 1339, 1340, 1859, 1254, 1252, 1250, 2102, 62, 224, + /* 1930 */ 1249, 1248, 1247, 1246, 1241, 1769, 723, 725, 2101, 1243, + /* 1940 */ 362, 1242, 2137, 1240, 1762, 328, 2103, 668, 2105, 2106, + /* 1950 */ 663, 363, 658, 555, 1760, 364, 2102, 558, 1739, 560, + /* 1960 */ 2120, 107, 1738, 562, 289, 1737, 112, 564, 665, 1463, + /* 1970 */ 1467, 1465, 1462, 2070, 2032, 664, 1447, 1449, 2024, 26, + /* 1980 */ 66, 162, 578, 2011, 2009, 2266, 19, 2102, 28, 2120, + /* 1990 */ 64, 247, 16, 58, 251, 55, 644, 665, 5, 592, + /* 2000 */ 59, 579, 2070, 584, 664, 570, 259, 6, 368, 2137, + /* 2010 */ 258, 1677, 323, 2103, 668, 2105, 2106, 663, 2102, 658, + /* 2020 */ 2120, 594, 253, 2091, 30, 20, 1659, 170, 665, 21, + /* 2030 */ 257, 276, 29, 2070, 2101, 664, 275, 1692, 2137, 1651, + /* 2040 */ 91, 312, 2103, 668, 2105, 2106, 663, 1691, 658, 1697, + /* 2050 */ 373, 2120, 1445, 1698, 1626, 243, 1696, 1695, 374, 665, + /* 2060 */ 271, 57, 2010, 173, 2070, 2101, 664, 2008, 1625, 2137, + /* 2070 */ 2007, 1989, 313, 2103, 668, 2105, 2106, 663, 94, 658, + /* 2080 */ 277, 93, 2102, 1988, 17, 96, 56, 278, 22, 287, + /* 2090 */ 1657, 280, 285, 67, 98, 290, 2101, 23, 1578, 2102, + /* 2100 */ 2137, 10, 639, 314, 2103, 668, 2105, 2106, 663, 102, + /* 2110 */ 658, 12, 1577, 1501, 1533, 2120, 174, 669, 2140, 186, + /* 2120 */ 657, 1588, 671, 665, 390, 1556, 1554, 36, 2070, 1553, + /* 2130 */ 664, 15, 2120, 1525, 24, 667, 1325, 25, 673, 675, + /* 2140 */ 665, 1322, 676, 678, 1319, 2070, 1313, 664, 681, 2102, + /* 2150 */ 679, 682, 684, 1311, 685, 1302, 691, 1334, 103, 293, + /* 2160 */ 2101, 104, 1330, 74, 2137, 1237, 1203, 320, 2103, 668, + /* 2170 */ 2105, 2106, 663, 1236, 658, 701, 1235, 2101, 1317, 1316, + /* 2180 */ 1315, 2137, 2120, 1314, 324, 2103, 668, 2105, 2106, 663, + /* 2190 */ 665, 658, 1234, 1233, 1232, 2070, 1230, 664, 1228, 2102, + /* 2200 */ 1227, 1226, 1261, 713, 294, 1224, 1223, 1222, 1221, 1220, + /* 2210 */ 1219, 1218, 1256, 1258, 1215, 2102, 1214, 1211, 1209, 1210, + /* 2220 */ 1208, 1776, 733, 1774, 1772, 737, 734, 2101, 735, 1770, + /* 2230 */ 739, 2137, 2120, 741, 316, 2103, 668, 2105, 2106, 663, + /* 2240 */ 665, 658, 738, 742, 743, 2070, 745, 664, 2120, 746, + /* 2250 */ 1756, 747, 749, 1160, 1736, 297, 665, 753, 1711, 1487, + /* 2260 */ 307, 2070, 756, 664, 757, 1711, 1711, 1711, 1711, 1711, + /* 2270 */ 1711, 1711, 1711, 1711, 1711, 1711, 2102, 2101, 1711, 1711, + /* 2280 */ 1711, 2137, 1711, 1711, 325, 2103, 668, 2105, 2106, 663, + /* 2290 */ 1711, 658, 1711, 2101, 2102, 1711, 1711, 2137, 1711, 1711, + /* 2300 */ 317, 2103, 668, 2105, 2106, 663, 1711, 658, 1711, 2120, + /* 2310 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, + /* 2320 */ 1711, 1711, 2070, 1711, 664, 1711, 1711, 2120, 1711, 1711, + /* 2330 */ 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, + /* 2340 */ 2070, 1711, 664, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2350 */ 1711, 1711, 2102, 1711, 2101, 1711, 1711, 1711, 2137, 1711, + /* 2360 */ 1711, 326, 2103, 668, 2105, 2106, 663, 1711, 658, 2102, + /* 2370 */ 1711, 1711, 2101, 1711, 1711, 1711, 2137, 1711, 1711, 318, + /* 2380 */ 2103, 668, 2105, 2106, 663, 2120, 658, 1711, 1711, 1711, + /* 2390 */ 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, 2070, 1711, + /* 2400 */ 664, 1711, 2120, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2410 */ 665, 1711, 1711, 1711, 1711, 2070, 1711, 664, 1711, 1711, + /* 2420 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2430 */ 2101, 1711, 1711, 2102, 2137, 1711, 1711, 331, 2103, 668, + /* 2440 */ 2105, 2106, 663, 1711, 658, 1711, 1711, 2101, 1711, 2102, + /* 2450 */ 1711, 2137, 1711, 1711, 332, 2103, 668, 2105, 2106, 663, + /* 2460 */ 1711, 658, 1711, 1711, 1711, 1711, 2120, 1711, 1711, 1711, + /* 2470 */ 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, 2070, + /* 2480 */ 1711, 664, 2120, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2490 */ 665, 1711, 1711, 1711, 1711, 2070, 1711, 664, 1711, 1711, + /* 2500 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2510 */ 1711, 2101, 1711, 1711, 1711, 2137, 2102, 1711, 2114, 2103, + /* 2520 */ 668, 2105, 2106, 663, 1711, 658, 1711, 2101, 1711, 1711, + /* 2530 */ 1711, 2137, 1711, 2102, 2113, 2103, 668, 2105, 2106, 663, + /* 2540 */ 1711, 658, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 2120, + /* 2550 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, + /* 2560 */ 1711, 1711, 2070, 1711, 664, 1711, 2120, 1711, 1711, 1711, + /* 2570 */ 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, 2070, + /* 2580 */ 1711, 664, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2590 */ 1711, 1711, 1711, 1711, 2101, 2102, 1711, 1711, 2137, 1711, + /* 2600 */ 1711, 2112, 2103, 668, 2105, 2106, 663, 1711, 658, 1711, + /* 2610 */ 1711, 2101, 1711, 1711, 1711, 2137, 1711, 1711, 346, 2103, + /* 2620 */ 668, 2105, 2106, 663, 1711, 658, 1711, 1711, 2120, 1711, + /* 2630 */ 1711, 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, + /* 2640 */ 1711, 2070, 1711, 664, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2650 */ 1711, 1711, 1711, 1711, 1711, 1711, 2102, 1711, 1711, 1711, + /* 2660 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2670 */ 1711, 1711, 1711, 2101, 2102, 1711, 1711, 2137, 1711, 1711, + /* 2680 */ 347, 2103, 668, 2105, 2106, 663, 1711, 658, 1711, 2120, + /* 2690 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, + /* 2700 */ 1711, 1711, 2070, 1711, 664, 1711, 1711, 2120, 1711, 1711, + /* 2710 */ 1711, 1711, 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, + /* 2720 */ 2070, 1711, 664, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2730 */ 1711, 1711, 2102, 1711, 2101, 1711, 1711, 1711, 2137, 1711, + /* 2740 */ 1711, 343, 2103, 668, 2105, 2106, 663, 1711, 658, 2102, + /* 2750 */ 1711, 1711, 2101, 1711, 1711, 1711, 2137, 1711, 1711, 348, + /* 2760 */ 2103, 668, 2105, 2106, 663, 2120, 658, 1711, 1711, 1711, + /* 2770 */ 1711, 1711, 1711, 665, 1711, 1711, 1711, 1711, 2070, 1711, + /* 2780 */ 664, 1711, 2120, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2790 */ 665, 1711, 1711, 1711, 1711, 2070, 1711, 664, 1711, 1711, + /* 2800 */ 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, 1711, + /* 2810 */ 666, 1711, 1711, 1711, 2137, 1711, 1711, 323, 2103, 668, + /* 2820 */ 2105, 2106, 663, 1711, 658, 1711, 1711, 2101, 1711, 1711, + /* 2830 */ 1711, 2137, 1711, 1711, 322, 2103, 668, 2105, 2106, 663, + /* 2840 */ 1711, 658, }; static const YYCODETYPE yy_lookahead[] = { /* 0 */ 368, 381, 398, 366, 398, 337, 402, 339, 340, 366, @@ -511,7 +511,7 @@ static const YYCODETYPE yy_lookahead[] = { /* 30 */ 14, 15, 16, 33, 21, 35, 0, 24, 25, 26, /* 40 */ 27, 28, 29, 30, 31, 32, 414, 415, 444, 14, /* 50 */ 444, 20, 448, 333, 448, 20, 444, 425, 58, 337, - /* 60 */ 448, 339, 340, 383, 64, 20, 4, 463, 464, 463, + /* 60 */ 448, 339, 340, 383, 64, 20, 20, 463, 464, 463, /* 70 */ 464, 71, 468, 469, 468, 469, 464, 366, 433, 434, /* 80 */ 468, 469, 347, 398, 373, 63, 366, 402, 12, 13, /* 90 */ 14, 15, 16, 382, 374, 380, 381, 97, 363, 379, @@ -522,13 +522,13 @@ static const YYCODETYPE yy_lookahead[] = { /* 140 */ 420, 421, 422, 423, 20, 425, 381, 35, 463, 464, /* 150 */ 430, 4, 432, 468, 469, 444, 436, 437, 393, 448, /* 160 */ 341, 396, 397, 51, 341, 444, 166, 167, 20, 448, - /* 170 */ 450, 366, 172, 173, 463, 464, 357, 409, 458, 468, - /* 180 */ 469, 136, 137, 364, 463, 464, 186, 382, 188, 468, - /* 190 */ 469, 366, 20, 374, 178, 8, 9, 374, 373, 12, + /* 170 */ 450, 100, 172, 173, 463, 464, 357, 409, 458, 468, + /* 180 */ 469, 136, 137, 364, 463, 464, 186, 71, 188, 468, + /* 190 */ 469, 366, 333, 374, 178, 8, 9, 374, 373, 12, /* 200 */ 13, 14, 15, 16, 8, 9, 20, 382, 12, 13, /* 210 */ 14, 15, 16, 333, 214, 215, 20, 217, 218, 219, /* 220 */ 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, - /* 230 */ 230, 231, 232, 233, 234, 12, 13, 366, 20, 20, + /* 230 */ 230, 231, 232, 233, 234, 12, 13, 366, 379, 20, /* 240 */ 18, 20, 20, 20, 373, 22, 366, 100, 100, 27, /* 250 */ 341, 64, 30, 382, 374, 33, 33, 341, 35, 379, /* 260 */ 366, 381, 439, 440, 441, 442, 63, 444, 445, 358, @@ -536,202 +536,202 @@ static const YYCODETYPE yy_lookahead[] = { /* 280 */ 364, 58, 388, 374, 373, 366, 375, 64, 0, 379, /* 290 */ 374, 411, 276, 382, 71, 415, 109, 348, 418, 419, /* 300 */ 420, 421, 422, 423, 355, 425, 387, 388, 428, 165, - /* 310 */ 430, 431, 432, 0, 252, 333, 436, 437, 100, 100, - /* 320 */ 97, 99, 0, 100, 414, 415, 261, 262, 263, 264, + /* 310 */ 430, 431, 432, 0, 20, 333, 436, 437, 111, 100, + /* 320 */ 97, 99, 251, 100, 414, 415, 261, 262, 263, 264, /* 330 */ 265, 266, 267, 111, 21, 425, 48, 24, 25, 26, /* 340 */ 27, 28, 29, 30, 31, 32, 352, 353, 366, 440, /* 350 */ 441, 442, 165, 444, 445, 20, 374, 22, 111, 136, /* 360 */ 137, 379, 140, 381, 168, 143, 144, 145, 146, 147, /* 370 */ 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, /* 380 */ 158, 159, 238, 161, 162, 163, 51, 166, 167, 166, - /* 390 */ 167, 235, 248, 411, 100, 172, 173, 415, 251, 251, - /* 400 */ 418, 419, 420, 421, 422, 423, 171, 425, 71, 186, - /* 410 */ 37, 188, 430, 429, 432, 431, 8, 9, 436, 437, + /* 390 */ 167, 100, 248, 411, 100, 172, 173, 415, 251, 171, + /* 400 */ 418, 419, 420, 421, 422, 423, 20, 425, 235, 186, + /* 410 */ 237, 188, 430, 429, 432, 431, 8, 9, 436, 437, /* 420 */ 12, 13, 14, 15, 16, 238, 239, 240, 241, 242, - /* 430 */ 243, 244, 245, 246, 247, 248, 130, 214, 215, 181, + /* 430 */ 243, 244, 245, 246, 247, 248, 4, 214, 215, 58, /* 440 */ 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, /* 450 */ 227, 228, 229, 230, 231, 232, 233, 234, 235, 12, - /* 460 */ 13, 338, 204, 205, 341, 342, 14, 20, 20, 22, - /* 470 */ 251, 333, 20, 235, 33, 237, 103, 155, 105, 106, - /* 480 */ 33, 108, 35, 71, 338, 112, 164, 341, 342, 48, - /* 490 */ 444, 256, 257, 258, 448, 54, 55, 56, 57, 58, - /* 500 */ 333, 341, 196, 197, 366, 58, 133, 97, 366, 101, - /* 510 */ 464, 64, 374, 0, 468, 469, 374, 379, 71, 381, - /* 520 */ 341, 367, 341, 113, 114, 115, 116, 117, 118, 119, + /* 460 */ 13, 338, 1, 2, 341, 342, 417, 20, 366, 22, + /* 470 */ 251, 333, 366, 235, 33, 43, 374, 45, 46, 373, + /* 480 */ 33, 100, 35, 102, 256, 257, 258, 338, 382, 48, + /* 490 */ 341, 342, 443, 3, 100, 54, 55, 56, 57, 58, + /* 500 */ 333, 341, 352, 353, 366, 58, 0, 97, 365, 101, + /* 510 */ 20, 64, 374, 14, 15, 16, 341, 379, 71, 381, + /* 520 */ 341, 378, 420, 113, 114, 115, 116, 117, 118, 119, /* 530 */ 120, 121, 122, 366, 124, 125, 126, 127, 128, 129, - /* 540 */ 99, 374, 345, 102, 97, 251, 379, 100, 381, 411, - /* 550 */ 390, 341, 392, 415, 22, 374, 418, 419, 420, 421, - /* 560 */ 422, 423, 420, 425, 0, 35, 369, 35, 430, 390, - /* 570 */ 432, 392, 417, 112, 436, 437, 63, 131, 411, 100, - /* 580 */ 21, 135, 415, 136, 137, 418, 419, 420, 421, 422, - /* 590 */ 423, 341, 425, 34, 133, 36, 458, 430, 443, 432, - /* 600 */ 390, 71, 392, 436, 437, 20, 429, 357, 431, 333, - /* 610 */ 169, 170, 341, 166, 167, 174, 168, 176, 166, 172, - /* 620 */ 173, 440, 441, 442, 374, 444, 445, 111, 357, 97, - /* 630 */ 66, 67, 68, 186, 193, 188, 345, 73, 74, 75, - /* 640 */ 194, 195, 366, 79, 198, 374, 200, 14, 84, 85, - /* 650 */ 374, 367, 361, 20, 90, 379, 0, 381, 130, 131, - /* 660 */ 369, 214, 215, 135, 217, 218, 219, 220, 221, 222, + /* 540 */ 99, 374, 251, 102, 97, 251, 379, 100, 381, 411, + /* 550 */ 390, 4, 392, 415, 168, 71, 418, 419, 420, 421, + /* 560 */ 422, 423, 101, 425, 403, 390, 19, 392, 430, 390, + /* 570 */ 432, 392, 35, 376, 436, 437, 379, 345, 411, 185, + /* 580 */ 33, 187, 415, 136, 137, 418, 419, 420, 421, 422, + /* 590 */ 423, 101, 425, 361, 13, 48, 458, 430, 0, 432, + /* 600 */ 53, 369, 333, 436, 437, 58, 333, 213, 71, 333, + /* 610 */ 169, 170, 20, 166, 167, 174, 35, 176, 112, 172, + /* 620 */ 173, 341, 24, 25, 26, 27, 28, 29, 30, 31, + /* 630 */ 32, 44, 251, 186, 193, 188, 130, 131, 132, 133, + /* 640 */ 134, 135, 366, 358, 64, 251, 99, 14, 379, 102, + /* 650 */ 374, 366, 379, 20, 374, 379, 0, 381, 168, 367, + /* 660 */ 375, 214, 215, 20, 217, 218, 219, 220, 221, 222, /* 670 */ 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, - /* 680 */ 233, 234, 12, 13, 14, 358, 333, 411, 367, 58, - /* 690 */ 20, 415, 22, 366, 418, 419, 420, 421, 422, 423, - /* 700 */ 44, 425, 375, 33, 2, 35, 430, 333, 432, 341, + /* 680 */ 233, 234, 12, 13, 14, 131, 333, 411, 101, 135, + /* 690 */ 20, 415, 22, 341, 418, 419, 420, 421, 422, 423, + /* 700 */ 0, 425, 355, 33, 2, 35, 430, 181, 432, 357, /* 710 */ 8, 9, 436, 437, 12, 13, 14, 15, 16, 366, - /* 720 */ 20, 136, 137, 447, 4, 357, 100, 374, 58, 3, - /* 730 */ 251, 100, 379, 102, 381, 358, 333, 66, 67, 68, - /* 740 */ 368, 71, 374, 366, 73, 74, 75, 365, 333, 0, - /* 750 */ 79, 379, 375, 379, 80, 84, 85, 172, 173, 333, - /* 760 */ 378, 90, 333, 43, 411, 45, 46, 97, 415, 366, - /* 770 */ 100, 418, 419, 420, 421, 422, 423, 374, 425, 347, - /* 780 */ 22, 374, 379, 430, 381, 432, 414, 415, 416, 436, - /* 790 */ 437, 58, 385, 35, 379, 366, 22, 425, 367, 166, - /* 800 */ 447, 341, 20, 374, 372, 379, 136, 137, 379, 35, - /* 810 */ 381, 185, 367, 187, 411, 141, 142, 357, 415, 352, - /* 820 */ 353, 418, 419, 420, 421, 422, 423, 424, 425, 426, - /* 830 */ 427, 354, 99, 356, 374, 102, 166, 167, 164, 213, - /* 840 */ 411, 341, 172, 173, 415, 71, 341, 418, 419, 420, - /* 850 */ 421, 422, 423, 341, 425, 97, 186, 357, 188, 430, - /* 860 */ 403, 432, 357, 3, 368, 436, 437, 374, 168, 357, - /* 870 */ 428, 97, 47, 431, 374, 379, 447, 251, 385, 374, - /* 880 */ 20, 333, 251, 417, 214, 215, 374, 217, 218, 219, + /* 720 */ 440, 441, 442, 447, 444, 445, 374, 374, 58, 22, + /* 730 */ 204, 205, 379, 429, 381, 431, 333, 66, 67, 68, + /* 740 */ 368, 71, 35, 4, 73, 74, 75, 367, 194, 195, + /* 750 */ 79, 379, 198, 334, 200, 84, 85, 86, 87, 333, + /* 760 */ 168, 90, 333, 63, 411, 341, 333, 97, 415, 366, + /* 770 */ 100, 418, 419, 420, 421, 422, 423, 374, 425, 136, + /* 780 */ 137, 357, 379, 430, 381, 432, 414, 415, 416, 436, + /* 790 */ 437, 58, 333, 417, 214, 366, 22, 425, 374, 166, + /* 800 */ 447, 341, 80, 374, 97, 379, 136, 137, 379, 35, + /* 810 */ 381, 155, 379, 367, 411, 172, 173, 357, 415, 443, + /* 820 */ 164, 418, 419, 420, 421, 422, 423, 424, 425, 426, + /* 830 */ 427, 354, 99, 356, 374, 102, 166, 167, 379, 341, + /* 840 */ 411, 37, 172, 173, 415, 71, 341, 418, 419, 420, + /* 850 */ 421, 422, 423, 367, 425, 357, 186, 0, 188, 430, + /* 860 */ 358, 432, 357, 141, 142, 436, 437, 14, 366, 374, + /* 870 */ 22, 97, 374, 20, 333, 333, 447, 375, 367, 374, + /* 880 */ 385, 333, 130, 35, 214, 215, 164, 217, 218, 219, /* 890 */ 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, - /* 900 */ 230, 231, 232, 233, 234, 12, 13, 0, 368, 443, - /* 910 */ 414, 415, 416, 20, 366, 22, 14, 15, 16, 379, - /* 920 */ 39, 425, 374, 1, 2, 100, 33, 379, 35, 381, - /* 930 */ 367, 24, 25, 26, 27, 28, 29, 30, 31, 32, - /* 940 */ 8, 9, 366, 111, 12, 13, 14, 15, 16, 373, - /* 950 */ 168, 58, 0, 333, 414, 415, 416, 208, 382, 411, - /* 960 */ 186, 101, 188, 415, 71, 425, 418, 419, 420, 421, - /* 970 */ 422, 423, 374, 425, 417, 341, 44, 367, 430, 358, - /* 980 */ 432, 333, 355, 385, 436, 437, 366, 366, 214, 215, - /* 990 */ 97, 357, 160, 100, 374, 447, 375, 271, 333, 379, - /* 1000 */ 443, 381, 333, 12, 13, 45, 46, 44, 374, 333, - /* 1010 */ 8, 9, 22, 22, 12, 13, 14, 15, 16, 376, - /* 1020 */ 341, 341, 379, 101, 33, 35, 35, 379, 168, 136, - /* 1030 */ 137, 411, 333, 249, 250, 415, 357, 357, 418, 419, - /* 1040 */ 420, 421, 422, 423, 379, 425, 4, 341, 379, 58, - /* 1050 */ 430, 112, 432, 374, 374, 379, 436, 437, 20, 166, - /* 1060 */ 167, 19, 71, 357, 112, 172, 173, 447, 44, 130, - /* 1070 */ 131, 132, 133, 134, 135, 33, 341, 44, 379, 186, - /* 1080 */ 374, 188, 130, 131, 132, 133, 134, 135, 97, 333, - /* 1090 */ 48, 376, 357, 376, 379, 53, 379, 333, 359, 104, - /* 1100 */ 58, 362, 107, 101, 333, 136, 137, 214, 215, 374, + /* 900 */ 230, 231, 232, 233, 234, 12, 13, 103, 368, 105, + /* 910 */ 106, 398, 108, 20, 366, 22, 112, 341, 367, 379, + /* 920 */ 379, 379, 374, 66, 67, 68, 33, 379, 35, 381, + /* 930 */ 73, 74, 75, 357, 345, 428, 79, 133, 431, 45, + /* 940 */ 46, 84, 85, 86, 87, 97, 417, 90, 196, 197, + /* 950 */ 374, 58, 13, 333, 414, 415, 416, 444, 369, 411, + /* 960 */ 186, 448, 188, 415, 71, 425, 418, 419, 420, 421, + /* 970 */ 422, 423, 443, 425, 35, 347, 463, 464, 430, 358, + /* 980 */ 432, 468, 469, 20, 436, 437, 366, 366, 214, 215, + /* 990 */ 97, 252, 21, 100, 374, 447, 375, 130, 131, 379, + /* 1000 */ 372, 381, 135, 12, 13, 34, 366, 36, 444, 333, + /* 1010 */ 8, 9, 448, 22, 12, 13, 14, 15, 16, 166, + /* 1020 */ 341, 341, 382, 374, 33, 333, 35, 39, 464, 136, + /* 1030 */ 137, 411, 468, 469, 385, 415, 357, 357, 418, 419, + /* 1040 */ 420, 421, 422, 423, 3, 425, 44, 341, 376, 58, + /* 1050 */ 430, 379, 432, 374, 374, 379, 436, 437, 376, 166, + /* 1060 */ 167, 379, 71, 357, 112, 172, 173, 447, 8, 9, + /* 1070 */ 341, 379, 12, 13, 14, 15, 16, 0, 367, 186, + /* 1080 */ 374, 188, 374, 389, 2, 133, 357, 44, 97, 333, + /* 1090 */ 8, 9, 22, 385, 12, 13, 14, 15, 16, 0, + /* 1100 */ 333, 333, 333, 374, 333, 35, 359, 214, 215, 362, /* 1110 */ 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, /* 1120 */ 227, 228, 229, 230, 231, 232, 233, 234, 12, 13, - /* 1130 */ 333, 250, 341, 35, 101, 379, 20, 366, 22, 341, - /* 1140 */ 96, 99, 341, 379, 102, 374, 100, 2, 357, 33, - /* 1150 */ 379, 35, 381, 8, 9, 357, 110, 12, 13, 14, - /* 1160 */ 15, 16, 8, 9, 341, 374, 12, 13, 14, 15, - /* 1170 */ 16, 42, 374, 44, 58, 374, 379, 186, 0, 188, - /* 1180 */ 357, 333, 411, 333, 341, 334, 415, 71, 333, 418, - /* 1190 */ 419, 420, 421, 422, 423, 341, 425, 374, 341, 104, - /* 1200 */ 357, 430, 107, 432, 166, 214, 215, 436, 437, 389, - /* 1210 */ 333, 357, 168, 97, 357, 333, 100, 374, 227, 228, - /* 1220 */ 229, 230, 231, 232, 233, 1, 2, 379, 374, 379, - /* 1230 */ 42, 374, 44, 472, 379, 18, 273, 58, 333, 333, - /* 1240 */ 23, 440, 441, 442, 0, 444, 445, 333, 104, 448, - /* 1250 */ 398, 107, 136, 137, 37, 38, 379, 104, 41, 343, - /* 1260 */ 107, 379, 35, 461, 463, 464, 22, 8, 9, 468, - /* 1270 */ 469, 12, 13, 14, 15, 16, 59, 60, 61, 62, - /* 1280 */ 35, 102, 166, 167, 379, 379, 188, 64, 172, 173, - /* 1290 */ 112, 455, 199, 379, 201, 366, 444, 0, 71, 275, - /* 1300 */ 448, 0, 186, 378, 188, 44, 398, 343, 130, 131, - /* 1310 */ 132, 133, 134, 135, 0, 463, 464, 100, 340, 22, - /* 1320 */ 468, 469, 168, 22, 44, 44, 44, 333, 44, 44, + /* 1130 */ 333, 168, 249, 250, 0, 379, 20, 366, 22, 341, + /* 1140 */ 341, 104, 341, 343, 107, 374, 379, 379, 379, 33, + /* 1150 */ 379, 35, 381, 20, 104, 357, 357, 107, 8, 9, + /* 1160 */ 111, 101, 12, 13, 14, 15, 16, 341, 42, 341, + /* 1170 */ 44, 333, 374, 374, 58, 374, 379, 186, 44, 188, + /* 1180 */ 333, 341, 411, 357, 472, 357, 415, 71, 461, 418, + /* 1190 */ 419, 420, 421, 422, 423, 104, 425, 357, 107, 35, + /* 1200 */ 374, 430, 374, 432, 333, 214, 215, 436, 437, 160, + /* 1210 */ 333, 112, 104, 97, 374, 107, 100, 379, 227, 228, + /* 1220 */ 229, 230, 231, 232, 233, 398, 379, 455, 341, 130, + /* 1230 */ 131, 132, 133, 134, 135, 18, 44, 42, 250, 44, + /* 1240 */ 23, 440, 441, 442, 357, 444, 445, 341, 96, 448, + /* 1250 */ 379, 341, 136, 137, 37, 38, 379, 58, 41, 0, + /* 1260 */ 199, 374, 201, 357, 463, 464, 44, 357, 44, 468, + /* 1270 */ 469, 444, 0, 136, 137, 448, 59, 60, 61, 62, + /* 1280 */ 374, 22, 166, 167, 374, 208, 44, 112, 172, 173, + /* 1290 */ 463, 464, 0, 101, 22, 468, 469, 44, 35, 166, + /* 1300 */ 44, 102, 186, 366, 188, 130, 131, 132, 133, 134, + /* 1310 */ 135, 47, 271, 398, 22, 44, 273, 100, 168, 44, + /* 1320 */ 168, 1, 2, 101, 44, 101, 35, 333, 44, 44, /* 1330 */ 214, 215, 44, 217, 218, 219, 220, 221, 222, 223, /* 1340 */ 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, - /* 1350 */ 234, 44, 444, 465, 44, 138, 448, 13, 333, 389, - /* 1360 */ 366, 44, 101, 49, 44, 44, 13, 44, 374, 389, - /* 1370 */ 446, 463, 464, 379, 44, 381, 468, 469, 44, 35, - /* 1380 */ 438, 101, 101, 101, 44, 101, 101, 449, 35, 101, - /* 1390 */ 253, 366, 44, 48, 44, 178, 179, 180, 413, 374, - /* 1400 */ 183, 412, 184, 400, 379, 411, 381, 44, 101, 415, - /* 1410 */ 398, 101, 418, 419, 420, 421, 422, 423, 101, 425, - /* 1420 */ 203, 101, 101, 206, 101, 42, 209, 210, 211, 212, - /* 1430 */ 213, 101, 20, 188, 386, 101, 411, 214, 333, 389, - /* 1440 */ 415, 101, 386, 418, 419, 420, 421, 422, 423, 101, - /* 1450 */ 425, 101, 165, 459, 460, 384, 444, 432, 333, 20, - /* 1460 */ 448, 436, 437, 341, 101, 341, 386, 384, 251, 384, - /* 1470 */ 98, 366, 351, 95, 341, 463, 464, 350, 94, 374, - /* 1480 */ 468, 469, 341, 349, 379, 20, 381, 341, 341, 347, - /* 1490 */ 335, 366, 335, 20, 406, 20, 381, 347, 20, 374, - /* 1500 */ 342, 20, 399, 347, 379, 342, 381, 347, 347, 347, - /* 1510 */ 341, 347, 52, 202, 344, 344, 411, 335, 366, 335, - /* 1520 */ 415, 341, 379, 418, 419, 420, 421, 422, 423, 410, - /* 1530 */ 425, 366, 366, 366, 366, 333, 411, 432, 366, 366, + /* 1350 */ 234, 44, 188, 44, 101, 138, 343, 101, 333, 444, + /* 1360 */ 366, 44, 71, 448, 100, 44, 13, 44, 374, 389, + /* 1370 */ 340, 13, 101, 379, 44, 381, 101, 44, 463, 464, + /* 1380 */ 44, 101, 100, 468, 469, 101, 101, 378, 35, 101, + /* 1390 */ 0, 366, 110, 35, 389, 178, 179, 180, 465, 374, + /* 1400 */ 183, 446, 438, 449, 379, 411, 381, 253, 101, 415, + /* 1410 */ 101, 413, 418, 419, 420, 421, 422, 423, 101, 425, + /* 1420 */ 203, 48, 101, 206, 101, 184, 209, 210, 211, 212, + /* 1430 */ 213, 101, 412, 400, 101, 42, 411, 101, 333, 49, + /* 1440 */ 415, 368, 386, 418, 419, 420, 421, 422, 423, 20, + /* 1450 */ 425, 188, 379, 459, 460, 389, 384, 432, 333, 8, + /* 1460 */ 9, 436, 437, 12, 13, 14, 15, 16, 251, 386, + /* 1470 */ 165, 366, 20, 341, 386, 98, 341, 384, 384, 374, + /* 1480 */ 351, 95, 341, 94, 379, 349, 381, 414, 415, 416, + /* 1490 */ 350, 366, 341, 20, 341, 335, 341, 335, 425, 374, + /* 1500 */ 20, 406, 20, 347, 379, 381, 381, 20, 347, 342, + /* 1510 */ 20, 399, 347, 342, 341, 347, 411, 275, 52, 347, + /* 1520 */ 415, 347, 344, 418, 419, 420, 421, 422, 423, 347, + /* 1530 */ 425, 344, 335, 202, 100, 333, 411, 432, 379, 335, /* 1540 */ 415, 436, 437, 418, 419, 420, 421, 422, 423, 366, - /* 1550 */ 425, 366, 333, 366, 379, 366, 379, 432, 100, 408, - /* 1560 */ 345, 436, 437, 192, 191, 406, 345, 381, 366, 341, - /* 1570 */ 389, 379, 260, 379, 454, 259, 374, 454, 379, 405, - /* 1580 */ 404, 379, 389, 381, 394, 366, 379, 268, 457, 394, - /* 1590 */ 177, 456, 454, 374, 270, 269, 254, 272, 379, 277, - /* 1600 */ 381, 453, 274, 473, 250, 374, 467, 20, 341, 345, - /* 1610 */ 413, 342, 333, 411, 392, 466, 345, 415, 417, 20, - /* 1620 */ 418, 419, 420, 421, 422, 423, 394, 425, 379, 379, - /* 1630 */ 411, 379, 379, 379, 415, 394, 333, 418, 419, 420, - /* 1640 */ 421, 422, 423, 452, 425, 366, 170, 451, 391, 379, - /* 1650 */ 345, 432, 362, 374, 345, 100, 437, 374, 379, 100, - /* 1660 */ 381, 435, 370, 345, 356, 379, 36, 336, 341, 366, - /* 1670 */ 335, 395, 470, 471, 401, 407, 0, 374, 331, 0, - /* 1680 */ 0, 42, 379, 346, 381, 35, 395, 0, 35, 360, - /* 1690 */ 411, 207, 360, 360, 415, 35, 35, 418, 419, 420, - /* 1700 */ 421, 422, 423, 207, 425, 0, 35, 333, 35, 207, - /* 1710 */ 0, 207, 0, 35, 411, 0, 22, 0, 415, 35, - /* 1720 */ 194, 418, 419, 420, 421, 422, 423, 188, 425, 333, - /* 1730 */ 186, 0, 0, 0, 182, 181, 0, 0, 47, 460, - /* 1740 */ 366, 0, 0, 0, 42, 0, 0, 0, 374, 35, - /* 1750 */ 155, 0, 155, 379, 0, 381, 0, 0, 0, 0, - /* 1760 */ 0, 0, 366, 0, 0, 462, 42, 371, 0, 0, - /* 1770 */ 374, 0, 0, 0, 0, 379, 0, 381, 0, 333, + /* 1550 */ 425, 366, 333, 341, 366, 366, 366, 432, 379, 366, + /* 1560 */ 366, 436, 437, 379, 366, 408, 366, 366, 366, 366, + /* 1570 */ 345, 192, 406, 410, 405, 191, 374, 381, 345, 341, + /* 1580 */ 404, 379, 260, 381, 454, 366, 379, 259, 379, 177, + /* 1590 */ 379, 277, 454, 374, 389, 389, 457, 379, 379, 456, + /* 1600 */ 381, 454, 394, 268, 394, 254, 274, 270, 269, 250, + /* 1610 */ 272, 453, 333, 411, 466, 473, 467, 415, 374, 20, + /* 1620 */ 418, 419, 420, 421, 422, 423, 413, 425, 341, 452, + /* 1630 */ 411, 451, 417, 20, 415, 342, 333, 418, 419, 420, + /* 1640 */ 421, 422, 423, 345, 425, 366, 345, 392, 394, 379, + /* 1650 */ 100, 432, 379, 374, 394, 379, 437, 379, 379, 170, + /* 1660 */ 381, 345, 379, 345, 362, 379, 435, 100, 391, 366, + /* 1670 */ 374, 356, 470, 471, 370, 341, 379, 374, 36, 336, + /* 1680 */ 335, 407, 379, 331, 381, 345, 360, 360, 346, 395, + /* 1690 */ 411, 401, 0, 0, 415, 395, 0, 418, 419, 420, + /* 1700 */ 421, 422, 423, 42, 425, 0, 360, 333, 35, 207, + /* 1710 */ 35, 35, 35, 207, 411, 0, 35, 35, 415, 207, + /* 1720 */ 0, 418, 419, 420, 421, 422, 423, 207, 425, 333, + /* 1730 */ 0, 0, 35, 22, 0, 35, 194, 188, 186, 460, + /* 1740 */ 366, 0, 0, 0, 182, 181, 0, 0, 374, 47, + /* 1750 */ 0, 0, 0, 379, 42, 381, 0, 0, 0, 0, + /* 1760 */ 0, 0, 366, 0, 0, 462, 155, 371, 35, 0, + /* 1770 */ 374, 155, 0, 0, 0, 379, 0, 381, 0, 333, /* 1780 */ 0, 0, 0, 0, 0, 411, 0, 0, 0, 415, /* 1790 */ 0, 0, 418, 419, 420, 421, 422, 423, 0, 425, - /* 1800 */ 0, 22, 333, 0, 139, 0, 0, 411, 0, 96, - /* 1810 */ 58, 415, 366, 0, 418, 419, 420, 421, 422, 423, - /* 1820 */ 374, 425, 96, 22, 22, 379, 0, 381, 35, 0, - /* 1830 */ 0, 14, 47, 58, 42, 366, 39, 14, 44, 0, - /* 1840 */ 371, 0, 47, 374, 40, 471, 47, 58, 379, 39, - /* 1850 */ 381, 0, 0, 39, 177, 0, 0, 411, 0, 0, - /* 1860 */ 333, 415, 35, 48, 418, 419, 420, 421, 422, 423, - /* 1870 */ 0, 425, 65, 427, 39, 0, 48, 35, 0, 39, - /* 1880 */ 411, 19, 35, 39, 415, 48, 0, 418, 419, 420, + /* 1800 */ 0, 0, 333, 0, 42, 0, 0, 411, 0, 0, + /* 1810 */ 0, 415, 366, 0, 418, 419, 420, 421, 422, 423, + /* 1820 */ 374, 425, 139, 0, 22, 379, 0, 381, 96, 22, + /* 1830 */ 0, 96, 35, 22, 0, 366, 0, 58, 0, 0, + /* 1840 */ 371, 42, 47, 374, 0, 471, 14, 58, 379, 14, + /* 1850 */ 381, 58, 0, 39, 0, 0, 44, 411, 40, 39, + /* 1860 */ 333, 415, 47, 39, 418, 419, 420, 421, 422, 423, + /* 1870 */ 0, 425, 47, 427, 0, 177, 0, 0, 0, 48, + /* 1880 */ 411, 19, 65, 35, 415, 39, 0, 418, 419, 420, /* 1890 */ 421, 422, 423, 366, 425, 33, 35, 48, 371, 39, - /* 1900 */ 0, 374, 0, 0, 0, 109, 379, 35, 381, 22, - /* 1910 */ 48, 0, 35, 44, 35, 35, 54, 55, 56, 57, - /* 1920 */ 58, 22, 0, 35, 35, 107, 35, 333, 44, 35, - /* 1930 */ 35, 22, 0, 50, 22, 0, 22, 0, 411, 0, - /* 1940 */ 35, 35, 415, 35, 0, 418, 419, 420, 421, 422, - /* 1950 */ 423, 22, 425, 20, 35, 35, 333, 100, 35, 0, - /* 1960 */ 366, 99, 35, 100, 102, 101, 0, 22, 374, 22, - /* 1970 */ 0, 0, 3, 379, 44, 381, 255, 168, 44, 3, - /* 1980 */ 168, 100, 44, 47, 44, 95, 101, 333, 96, 366, - /* 1990 */ 170, 35, 168, 100, 175, 98, 134, 374, 47, 101, - /* 2000 */ 189, 100, 379, 96, 381, 411, 44, 44, 255, 415, - /* 2010 */ 255, 101, 418, 419, 420, 421, 422, 423, 333, 425, - /* 2020 */ 366, 100, 35, 35, 100, 35, 101, 101, 374, 101, - /* 2030 */ 35, 169, 35, 379, 411, 381, 174, 44, 415, 47, - /* 2040 */ 0, 418, 419, 420, 421, 422, 423, 101, 425, 100, - /* 2050 */ 47, 366, 190, 101, 0, 193, 0, 0, 100, 374, - /* 2060 */ 39, 47, 0, 39, 379, 411, 381, 100, 100, 415, - /* 2070 */ 249, 44, 418, 419, 420, 421, 422, 423, 101, 425, - /* 2080 */ 101, 100, 333, 100, 171, 169, 100, 98, 110, 47, - /* 2090 */ 236, 2, 98, 22, 47, 47, 411, 101, 100, 333, - /* 2100 */ 415, 100, 100, 418, 419, 420, 421, 422, 423, 101, - /* 2110 */ 425, 101, 100, 100, 22, 366, 101, 100, 111, 101, - /* 2120 */ 35, 35, 100, 374, 101, 35, 100, 123, 379, 214, - /* 2130 */ 381, 101, 366, 216, 35, 100, 35, 35, 101, 100, - /* 2140 */ 374, 22, 101, 100, 112, 379, 100, 381, 123, 333, - /* 2150 */ 44, 123, 123, 100, 22, 35, 65, 64, 100, 35, - /* 2160 */ 411, 35, 35, 35, 415, 35, 35, 418, 419, 420, - /* 2170 */ 421, 422, 423, 35, 425, 35, 35, 411, 35, 71, - /* 2180 */ 93, 415, 366, 44, 418, 419, 420, 421, 422, 423, - /* 2190 */ 374, 425, 35, 35, 35, 379, 22, 381, 35, 333, - /* 2200 */ 35, 35, 35, 35, 71, 35, 35, 35, 22, 0, - /* 2210 */ 35, 35, 48, 0, 35, 333, 39, 48, 0, 39, - /* 2220 */ 35, 48, 0, 39, 35, 0, 48, 411, 35, 39, - /* 2230 */ 35, 415, 366, 0, 418, 419, 420, 421, 422, 423, - /* 2240 */ 374, 425, 22, 22, 21, 379, 22, 381, 366, 21, - /* 2250 */ 20, 474, 474, 474, 474, 474, 374, 474, 474, 474, - /* 2260 */ 474, 379, 474, 381, 474, 474, 474, 474, 474, 474, + /* 1900 */ 0, 374, 35, 39, 48, 0, 379, 35, 381, 0, + /* 1910 */ 48, 48, 39, 0, 0, 0, 54, 55, 56, 57, + /* 1920 */ 58, 22, 35, 0, 35, 35, 35, 333, 109, 107, + /* 1930 */ 35, 35, 35, 35, 22, 0, 44, 44, 411, 35, + /* 1940 */ 22, 35, 415, 35, 0, 418, 419, 420, 421, 422, + /* 1950 */ 423, 22, 425, 50, 0, 22, 333, 35, 0, 35, + /* 1960 */ 366, 99, 0, 35, 102, 0, 20, 22, 374, 35, + /* 1970 */ 101, 35, 35, 379, 0, 381, 35, 22, 0, 100, + /* 1980 */ 100, 189, 22, 0, 0, 3, 44, 333, 100, 366, + /* 1990 */ 3, 170, 255, 44, 100, 168, 134, 374, 96, 98, + /* 2000 */ 44, 168, 379, 175, 381, 411, 47, 96, 168, 415, + /* 2010 */ 44, 101, 418, 419, 420, 421, 422, 423, 333, 425, + /* 2020 */ 366, 95, 101, 47, 44, 255, 101, 100, 374, 44, + /* 2030 */ 100, 169, 100, 379, 411, 381, 174, 35, 415, 101, + /* 2040 */ 100, 418, 419, 420, 421, 422, 423, 35, 425, 101, + /* 2050 */ 35, 366, 190, 101, 101, 193, 35, 35, 35, 374, + /* 2060 */ 47, 44, 0, 47, 379, 411, 381, 0, 101, 415, + /* 2070 */ 0, 0, 418, 419, 420, 421, 422, 423, 39, 425, + /* 2080 */ 47, 100, 333, 0, 255, 39, 249, 101, 100, 169, + /* 2090 */ 101, 100, 100, 100, 100, 47, 411, 44, 98, 333, + /* 2100 */ 415, 236, 171, 418, 419, 420, 421, 422, 423, 110, + /* 2110 */ 425, 2, 98, 22, 22, 366, 47, 111, 100, 47, + /* 2120 */ 100, 214, 35, 374, 35, 101, 101, 100, 379, 101, + /* 2130 */ 381, 100, 366, 101, 100, 216, 101, 100, 100, 35, + /* 2140 */ 374, 101, 100, 35, 101, 379, 101, 381, 35, 333, + /* 2150 */ 100, 100, 35, 101, 100, 22, 112, 35, 100, 44, + /* 2160 */ 411, 100, 22, 100, 415, 35, 65, 418, 419, 420, + /* 2170 */ 421, 422, 423, 35, 425, 64, 35, 411, 123, 123, + /* 2180 */ 123, 415, 366, 123, 418, 419, 420, 421, 422, 423, + /* 2190 */ 374, 425, 35, 35, 35, 379, 35, 381, 35, 333, + /* 2200 */ 35, 35, 71, 93, 44, 35, 35, 35, 22, 35, + /* 2210 */ 35, 35, 35, 71, 35, 333, 35, 35, 22, 35, + /* 2220 */ 35, 0, 35, 0, 0, 35, 48, 411, 39, 0, + /* 2230 */ 39, 415, 366, 35, 418, 419, 420, 421, 422, 423, + /* 2240 */ 374, 425, 48, 48, 39, 379, 35, 381, 366, 48, + /* 2250 */ 0, 39, 35, 35, 0, 22, 374, 21, 474, 22, + /* 2260 */ 22, 379, 21, 381, 20, 474, 474, 474, 474, 474, /* 2270 */ 474, 474, 474, 474, 474, 474, 333, 411, 474, 474, /* 2280 */ 474, 415, 474, 474, 418, 419, 420, 421, 422, 423, /* 2290 */ 474, 425, 474, 411, 333, 474, 474, 415, 474, 474, @@ -791,86 +791,86 @@ static const YYCODETYPE yy_lookahead[] = { /* 2830 */ 474, 415, 474, 474, 418, 419, 420, 421, 422, 423, /* 2840 */ 474, 425, }; -#define YY_SHIFT_COUNT (754) +#define YY_SHIFT_COUNT (758) #define YY_SHIFT_MIN (0) -#define YY_SHIFT_MAX (2233) +#define YY_SHIFT_MAX (2254) static const unsigned short int yy_shift_ofst[] = { /* 0 */ 1217, 0, 223, 0, 447, 447, 447, 447, 447, 447, /* 10 */ 447, 447, 447, 447, 447, 670, 893, 893, 1116, 893, /* 20 */ 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, /* 30 */ 893, 893, 893, 893, 893, 893, 893, 893, 893, 893, - /* 40 */ 893, 893, 893, 893, 893, 893, 893, 893, 148, 219, - /* 50 */ 626, 218, 631, 294, 479, 294, 218, 218, 991, 991, - /* 60 */ 991, 294, 991, 991, 147, 294, 31, 585, 124, 124, - /* 70 */ 585, 720, 720, 221, 45, 35, 35, 124, 124, 124, - /* 80 */ 124, 124, 124, 124, 172, 124, 124, 22, 31, 124, - /* 90 */ 124, 186, 124, 31, 124, 172, 124, 172, 31, 124, - /* 100 */ 124, 31, 124, 31, 31, 31, 124, 203, 222, 187, + /* 40 */ 893, 893, 893, 893, 893, 893, 893, 893, 219, 294, + /* 50 */ 394, 148, 381, 71, 291, 71, 148, 148, 991, 991, + /* 60 */ 991, 71, 991, 991, 147, 71, 31, 643, 46, 46, + /* 70 */ 643, 432, 432, 221, 45, 35, 35, 46, 46, 46, + /* 80 */ 46, 46, 46, 46, 124, 46, 46, 22, 31, 46, + /* 90 */ 46, 186, 46, 31, 46, 124, 46, 124, 31, 46, + /* 100 */ 46, 31, 46, 31, 31, 31, 46, 203, 222, 187, /* 110 */ 187, 671, 13, 774, 774, 774, 774, 774, 774, 774, /* 120 */ 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, - /* 130 */ 774, 774, 373, 860, 221, 45, 530, 448, 448, 448, - /* 140 */ 513, 238, 238, 530, 251, 251, 251, 22, 247, 156, - /* 150 */ 31, 337, 31, 337, 337, 516, 412, 410, 410, 410, - /* 160 */ 410, 410, 410, 410, 410, 1862, 564, 313, 196, 16, - /* 170 */ 65, 112, 235, 452, 633, 335, 700, 960, 461, 782, - /* 180 */ 784, 881, 726, 784, 1129, 62, 1038, 1137, 1345, 1218, - /* 190 */ 1383, 1412, 1383, 1287, 1439, 1439, 1383, 1287, 1287, 1372, - /* 200 */ 1378, 1439, 1384, 1439, 1439, 1439, 1465, 1465, 1473, 22, - /* 210 */ 1475, 22, 1478, 1481, 22, 1478, 22, 22, 22, 1439, - /* 220 */ 22, 1460, 1460, 1465, 31, 31, 31, 31, 31, 31, - /* 230 */ 31, 31, 31, 31, 31, 1439, 1465, 337, 337, 337, - /* 240 */ 1311, 1458, 1473, 203, 1371, 1373, 1475, 203, 1439, 1412, - /* 250 */ 1412, 337, 1312, 1316, 337, 1312, 1316, 337, 337, 31, - /* 260 */ 1319, 1413, 1312, 1324, 1326, 1342, 1137, 1322, 1328, 1325, - /* 270 */ 1354, 251, 1587, 1439, 1478, 203, 203, 1599, 1316, 337, - /* 280 */ 337, 337, 337, 337, 1316, 337, 1476, 203, 516, 203, - /* 290 */ 251, 1555, 1559, 337, 412, 1439, 203, 1630, 1465, 2842, + /* 130 */ 774, 774, 804, 490, 221, 45, 537, 386, 386, 386, + /* 140 */ 700, 173, 173, 537, 251, 251, 251, 22, 207, 238, + /* 150 */ 31, 116, 31, 116, 116, 247, 484, 410, 410, 410, + /* 160 */ 410, 410, 410, 410, 410, 1862, 857, 313, 196, 16, + /* 170 */ 65, 112, 228, 633, 853, 335, 592, 894, 952, 963, + /* 180 */ 883, 988, 1041, 883, 1126, 739, 1133, 1154, 1373, 1241, + /* 190 */ 1393, 1429, 1393, 1305, 1452, 1452, 1393, 1305, 1305, 1377, + /* 200 */ 1386, 1452, 1389, 1452, 1452, 1452, 1473, 1473, 1480, 22, + /* 210 */ 1482, 22, 1487, 1490, 22, 1487, 22, 22, 22, 1452, + /* 220 */ 22, 1466, 1466, 1473, 31, 31, 31, 31, 31, 31, + /* 230 */ 31, 31, 31, 31, 31, 1452, 1473, 116, 116, 116, + /* 240 */ 1331, 1434, 1480, 203, 1379, 1384, 1482, 203, 1452, 1429, + /* 250 */ 1429, 116, 1322, 1328, 116, 1322, 1328, 116, 116, 31, + /* 260 */ 1335, 1412, 1322, 1337, 1339, 1351, 1154, 1314, 1332, 1338, + /* 270 */ 1359, 251, 1599, 1452, 1487, 203, 203, 1613, 1328, 116, + /* 280 */ 116, 116, 116, 116, 1328, 116, 1489, 203, 247, 203, + /* 290 */ 251, 1550, 1567, 116, 484, 1452, 203, 1642, 1473, 2842, /* 300 */ 2842, 2842, 2842, 2842, 2842, 2842, 2842, 2842, 36, 441, - /* 310 */ 907, 1042, 408, 932, 1002, 952, 702, 1145, 1154, 1178, - /* 320 */ 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, 1259, 939, - /* 330 */ 446, 76, 76, 674, 258, 322, 733, 532, 758, 559, - /* 340 */ 306, 528, 528, 902, 922, 144, 902, 902, 902, 288, - /* 350 */ 749, 1033, 990, 1188, 832, 656, 995, 1095, 1144, 1153, - /* 360 */ 1244, 1297, 1301, 1093, 1261, 1280, 1179, 1282, 1284, 1285, - /* 370 */ 969, 963, 1024, 1044, 1307, 1310, 1317, 1320, 1321, 1323, - /* 380 */ 1224, 1330, 1098, 1245, 1223, 1281, 825, 1288, 1334, 1340, - /* 390 */ 1348, 1350, 1363, 1046, 1344, 1353, 1227, 1314, 1676, 1679, - /* 400 */ 1680, 1639, 1687, 1650, 1484, 1653, 1660, 1661, 1496, 1705, - /* 410 */ 1671, 1673, 1502, 1710, 1504, 1712, 1678, 1715, 1694, 1717, - /* 420 */ 1684, 1526, 1539, 1544, 1731, 1732, 1733, 1552, 1554, 1736, - /* 430 */ 1737, 1691, 1741, 1742, 1743, 1702, 1745, 1746, 1747, 1754, - /* 440 */ 1756, 1757, 1758, 1759, 1595, 1714, 1751, 1597, 1760, 1761, - /* 450 */ 1763, 1764, 1768, 1769, 1771, 1772, 1773, 1774, 1776, 1778, - /* 460 */ 1780, 1781, 1782, 1783, 1724, 1784, 1786, 1787, 1788, 1790, - /* 470 */ 1791, 1779, 1798, 1800, 1803, 1665, 1805, 1806, 1801, 1713, - /* 480 */ 1802, 1726, 1808, 1752, 1793, 1813, 1775, 1826, 1789, 1829, - /* 490 */ 1830, 1792, 1797, 1794, 1785, 1817, 1795, 1823, 1799, 1839, - /* 500 */ 1804, 1810, 1841, 1851, 1852, 1814, 1677, 1855, 1856, 1858, - /* 510 */ 1807, 1859, 1870, 1827, 1815, 1835, 1875, 1842, 1828, 1840, - /* 520 */ 1878, 1847, 1837, 1844, 1886, 1861, 1849, 1860, 1900, 1902, - /* 530 */ 1903, 1904, 1796, 1818, 1872, 1887, 1911, 1877, 1879, 1880, - /* 540 */ 1888, 1889, 1869, 1884, 1891, 1894, 1899, 1895, 1922, 1909, - /* 550 */ 1932, 1912, 1883, 1935, 1914, 1905, 1937, 1906, 1939, 1908, - /* 560 */ 1944, 1929, 1933, 1919, 1920, 1923, 1864, 1857, 1959, 1809, - /* 570 */ 1863, 1927, 1945, 1966, 1811, 1947, 1812, 1820, 1970, 1971, - /* 580 */ 1824, 1819, 1969, 1930, 1721, 1881, 1885, 1893, 1892, 1897, - /* 590 */ 1907, 1890, 1898, 1934, 1938, 1910, 1901, 1921, 1924, 1925, - /* 600 */ 1940, 1936, 1951, 1949, 1962, 1753, 1926, 1928, 1976, 1963, - /* 610 */ 1755, 1956, 1987, 1988, 1990, 1995, 1997, 1946, 1952, 1992, - /* 620 */ 1821, 1993, 2003, 2040, 2054, 2056, 2057, 1958, 2021, 1785, - /* 630 */ 2014, 1967, 1977, 1979, 1968, 1981, 1913, 1983, 2062, 2024, - /* 640 */ 1916, 1986, 1978, 1785, 2042, 2027, 1989, 1854, 1994, 2089, - /* 650 */ 2071, 1915, 1998, 1996, 2001, 2008, 2002, 2010, 2047, 2012, - /* 660 */ 2013, 2048, 2015, 2092, 1917, 2017, 2007, 2018, 2085, 2086, - /* 670 */ 2022, 2023, 2090, 2026, 2030, 2099, 2035, 2037, 2101, 2039, - /* 680 */ 2041, 2102, 2043, 2004, 2025, 2028, 2029, 2119, 2032, 2046, - /* 690 */ 2106, 2053, 2120, 2058, 2106, 2106, 2132, 2091, 2093, 2124, - /* 700 */ 2126, 2127, 2128, 2130, 2131, 2138, 2140, 2141, 2143, 2108, - /* 710 */ 2087, 2139, 2157, 2158, 2159, 2174, 2163, 2165, 2166, 2133, - /* 720 */ 1869, 2167, 1884, 2168, 2170, 2171, 2172, 2186, 2175, 2209, - /* 730 */ 2176, 2164, 2177, 2213, 2179, 2169, 2180, 2218, 2185, 2173, - /* 740 */ 2184, 2222, 2189, 2178, 2190, 2225, 2193, 2195, 2233, 2220, - /* 750 */ 2223, 2221, 2224, 2228, 2230, + /* 310 */ 598, 547, 408, 1002, 1060, 506, 702, 1082, 1150, 1099, + /* 320 */ 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1451, 1175, + /* 330 */ 554, 76, 76, 722, 526, 656, 733, 707, 848, 971, + /* 340 */ 752, 867, 867, 499, 461, 144, 499, 499, 499, 288, + /* 350 */ 1077, 587, 1070, 1195, 1049, 1134, 1037, 1050, 1091, 1108, + /* 360 */ 581, 939, 1259, 1272, 1292, 1061, 1192, 1222, 1199, 1224, + /* 370 */ 1253, 1256, 1137, 1043, 1242, 1152, 1271, 1275, 1280, 1284, + /* 380 */ 1285, 1288, 1320, 1307, 1164, 1263, 580, 1309, 1264, 1317, + /* 390 */ 1321, 1323, 1330, 1333, 1336, 1282, 1353, 1358, 1291, 1390, + /* 400 */ 1692, 1693, 1696, 1661, 1705, 1673, 1502, 1675, 1676, 1677, + /* 410 */ 1506, 1715, 1681, 1682, 1512, 1720, 1520, 1730, 1697, 1731, + /* 420 */ 1711, 1734, 1700, 1542, 1549, 1552, 1741, 1742, 1743, 1562, + /* 430 */ 1564, 1746, 1747, 1702, 1750, 1751, 1752, 1712, 1756, 1757, + /* 440 */ 1758, 1759, 1760, 1761, 1763, 1764, 1611, 1733, 1769, 1616, + /* 450 */ 1772, 1773, 1774, 1776, 1778, 1780, 1781, 1782, 1783, 1784, + /* 460 */ 1786, 1787, 1788, 1790, 1791, 1798, 1762, 1800, 1801, 1803, + /* 470 */ 1805, 1806, 1808, 1802, 1809, 1810, 1813, 1683, 1823, 1826, + /* 480 */ 1807, 1732, 1811, 1735, 1830, 1779, 1797, 1834, 1789, 1836, + /* 490 */ 1793, 1838, 1839, 1799, 1814, 1812, 1795, 1832, 1815, 1835, + /* 500 */ 1825, 1844, 1818, 1820, 1852, 1854, 1855, 1824, 1698, 1870, + /* 510 */ 1874, 1876, 1817, 1877, 1878, 1848, 1831, 1846, 1886, 1861, + /* 520 */ 1849, 1860, 1900, 1867, 1856, 1864, 1905, 1872, 1863, 1873, + /* 530 */ 1909, 1913, 1914, 1915, 1819, 1822, 1887, 1899, 1923, 1889, + /* 540 */ 1890, 1891, 1895, 1896, 1897, 1898, 1892, 1893, 1904, 1906, + /* 550 */ 1912, 1908, 1935, 1918, 1944, 1929, 1903, 1954, 1933, 1922, + /* 560 */ 1958, 1924, 1962, 1928, 1965, 1945, 1946, 1934, 1936, 1937, + /* 570 */ 1869, 1879, 1974, 1827, 1880, 1941, 1955, 1978, 1792, 1960, + /* 580 */ 1833, 1821, 1983, 1984, 1840, 1828, 1982, 1942, 1737, 1888, + /* 590 */ 1910, 1894, 1902, 1901, 1911, 1926, 1921, 1949, 1956, 1925, + /* 600 */ 1927, 1930, 1932, 1938, 1966, 1959, 1976, 1940, 1980, 1770, + /* 610 */ 1948, 1952, 1987, 1985, 1829, 2002, 2012, 2015, 2021, 2022, + /* 620 */ 2023, 1953, 1967, 2013, 1837, 2017, 2016, 2062, 2067, 2070, + /* 630 */ 2071, 1981, 2039, 1795, 2033, 1988, 1986, 1989, 1991, 1992, + /* 640 */ 1931, 1993, 2083, 2046, 1920, 1994, 1999, 1795, 2048, 2053, + /* 650 */ 2000, 1865, 2014, 2109, 2091, 1907, 2018, 2024, 2020, 2025, + /* 660 */ 2027, 2028, 2069, 2031, 2034, 2072, 2032, 2092, 1919, 2037, + /* 670 */ 2006, 2035, 2087, 2089, 2038, 2040, 2104, 2042, 2043, 2108, + /* 680 */ 2050, 2045, 2113, 2051, 2052, 2117, 2054, 2055, 2056, 2057, + /* 690 */ 2060, 2133, 2044, 2058, 2115, 2061, 2122, 2063, 2115, 2115, + /* 700 */ 2140, 2101, 2111, 2130, 2138, 2141, 2157, 2158, 2159, 2161, + /* 710 */ 2163, 2165, 2166, 2131, 2110, 2160, 2170, 2171, 2172, 2186, + /* 720 */ 2174, 2175, 2176, 2142, 1892, 2177, 1893, 2179, 2181, 2182, + /* 730 */ 2184, 2196, 2185, 2221, 2187, 2178, 2189, 2223, 2190, 2194, + /* 740 */ 2191, 2224, 2198, 2195, 2205, 2229, 2211, 2201, 2212, 2250, + /* 750 */ 2217, 2218, 2254, 2233, 2236, 2237, 2238, 2241, 2244, }; #define YY_REDUCE_COUNT (307) #define YY_REDUCE_MIN (-396) @@ -881,110 +881,110 @@ static const short yy_reduce_ofst[] = { /* 20 */ 1303, 1374, 1396, 1446, 1469, 1527, 1594, 1623, 1654, 1685, /* 30 */ 1749, 1766, 1816, 1866, 1882, 1943, 1961, 2019, 2036, 2100, /* 40 */ 2116, 2183, 2200, 2262, 2323, 2341, 2399, 2416, 801, -289, - /* 50 */ -396, -177, -394, 852, 908, 1012, -91, 181, 372, 496, - /* 60 */ 540, -279, -368, -90, -388, 46, -89, -235, -181, -84, - /* 70 */ -380, -332, -278, -81, -354, 123, 146, 250, 271, 368, - /* 80 */ 460, 500, 505, 512, 160, 634, 679, -265, -363, 680, - /* 90 */ 706, 142, 735, -175, 791, 179, 798, 210, 327, 823, - /* 100 */ 843, -129, 854, 377, 576, 621, 857, 291, -320, -355, - /* 110 */ -355, -51, -58, 374, 415, 426, 648, 665, 669, 676, - /* 120 */ 699, 756, 764, 797, 848, 850, 855, 877, 882, 905, - /* 130 */ 906, 914, 382, 155, -106, -285, -6, 155, 466, 557, - /* 140 */ 197, -16, 177, 467, 407, 493, 598, 432, -232, 442, - /* 150 */ -357, 643, -195, 715, 717, 739, 477, 154, 284, 321, - /* 160 */ 431, 445, 563, 610, 445, 457, 627, 851, 820, 761, - /* 170 */ 802, 916, 836, 929, 929, 964, 970, 978, 925, 980, - /* 180 */ 924, 924, 888, 924, 942, 938, 929, 985, 989, 1003, - /* 190 */ 1048, 1050, 1056, 1071, 1122, 1124, 1080, 1083, 1085, 1121, - /* 200 */ 1127, 1133, 1134, 1141, 1146, 1147, 1155, 1157, 1088, 1142, - /* 210 */ 1115, 1150, 1158, 1103, 1156, 1163, 1160, 1161, 1162, 1169, - /* 220 */ 1164, 1170, 1171, 1182, 1152, 1165, 1166, 1167, 1168, 1172, - /* 230 */ 1173, 1183, 1185, 1187, 1189, 1180, 1184, 1143, 1175, 1177, - /* 240 */ 1119, 1151, 1159, 1215, 1174, 1176, 1186, 1221, 1228, 1181, - /* 250 */ 1193, 1192, 1120, 1190, 1194, 1123, 1195, 1199, 1207, 929, - /* 260 */ 1131, 1135, 1138, 1148, 1191, 1196, 1197, 1130, 1139, 1149, - /* 270 */ 924, 1231, 1201, 1267, 1269, 1264, 1271, 1222, 1232, 1249, - /* 280 */ 1250, 1252, 1253, 1254, 1241, 1270, 1257, 1305, 1290, 1309, - /* 290 */ 1283, 1226, 1292, 1286, 1308, 1327, 1318, 1331, 1335, 1273, - /* 300 */ 1268, 1276, 1291, 1329, 1332, 1333, 1337, 1347, + /* 50 */ -396, -177, -394, 513, 827, 915, -91, 280, 372, 540, + /* 60 */ 1073, -279, -368, -90, -388, 564, -89, -235, -181, -84, + /* 70 */ -380, -332, -278, -81, -354, 123, 149, 352, 424, 460, + /* 80 */ 498, 505, 576, 679, 160, 680, 706, -265, -363, 729, + /* 90 */ 798, 102, 799, -175, 826, 175, 828, 179, 285, 840, + /* 100 */ 887, -129, 906, 502, 106, 621, 910, 232, -320, -355, + /* 110 */ -355, -51, -58, -141, 269, 273, 426, 433, 459, 541, + /* 120 */ 542, 676, 692, 756, 767, 768, 769, 797, 838, 847, + /* 130 */ 871, 877, 143, 49, -106, -285, -6, 49, 376, 529, + /* 140 */ 589, -16, 304, 150, 495, 649, 708, 628, -232, 507, + /* 150 */ -357, 197, 640, 672, 682, 747, 477, 292, 380, 446, + /* 160 */ 486, 511, 551, 711, 511, 161, 347, 419, 694, 712, + /* 170 */ 727, 800, 772, 937, 937, 1013, 980, 1030, 1009, 1005, + /* 180 */ 955, 955, 933, 955, 964, 954, 937, 998, 1020, 1033, + /* 190 */ 1056, 1066, 1083, 1072, 1132, 1135, 1088, 1093, 1094, 1129, + /* 200 */ 1140, 1141, 1136, 1151, 1153, 1155, 1160, 1162, 1095, 1156, + /* 210 */ 1124, 1161, 1167, 1112, 1165, 1171, 1168, 1172, 1174, 1173, + /* 220 */ 1182, 1178, 1187, 1197, 1183, 1185, 1188, 1189, 1190, 1193, + /* 230 */ 1194, 1198, 1200, 1201, 1203, 1212, 1204, 1159, 1179, 1184, + /* 240 */ 1163, 1157, 1166, 1225, 1169, 1176, 1196, 1233, 1238, 1205, + /* 250 */ 1206, 1207, 1130, 1208, 1209, 1138, 1210, 1211, 1218, 937, + /* 260 */ 1139, 1143, 1147, 1158, 1177, 1180, 1213, 1142, 1149, 1148, + /* 270 */ 955, 1244, 1215, 1287, 1293, 1298, 1301, 1255, 1254, 1270, + /* 280 */ 1273, 1276, 1278, 1283, 1260, 1286, 1277, 1316, 1302, 1318, + /* 290 */ 1296, 1231, 1304, 1297, 1315, 1334, 1340, 1343, 1345, 1290, + /* 300 */ 1274, 1294, 1300, 1326, 1327, 1346, 1342, 1352, }; static const YYACTIONTYPE yy_default[] = { - /* 0 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 10 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 20 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 30 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 40 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 50 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 60 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 70 */ 1697, 1697, 1697, 1964, 1697, 1697, 1697, 1697, 1697, 1697, - /* 80 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1776, 1697, 1697, - /* 90 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 100 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1774, 1957, 2176, - /* 110 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 120 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 130 */ 1697, 1697, 1697, 2188, 1697, 1697, 1697, 2188, 2188, 2188, - /* 140 */ 1774, 2148, 2148, 1697, 1697, 1697, 1697, 1776, 2020, 1697, - /* 150 */ 1697, 1697, 1697, 1697, 1697, 1892, 1697, 1697, 1697, 1697, - /* 160 */ 1697, 1916, 1697, 1697, 1697, 2010, 1697, 1697, 2213, 2269, - /* 170 */ 1697, 1697, 2216, 1697, 1697, 1697, 1969, 1697, 1845, 2203, - /* 180 */ 2180, 2194, 2253, 2181, 2178, 2197, 1697, 2207, 1697, 2003, - /* 190 */ 1962, 1697, 1962, 1959, 1697, 1697, 1962, 1959, 1959, 1834, - /* 200 */ 1830, 1697, 1828, 1697, 1697, 1697, 1697, 1697, 1697, 1776, - /* 210 */ 1697, 1776, 1697, 1697, 1776, 1697, 1776, 1776, 1776, 1697, - /* 220 */ 1776, 1754, 1754, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 230 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 240 */ 2032, 2018, 1697, 1774, 2014, 2012, 1697, 1774, 1697, 1697, - /* 250 */ 1697, 1697, 2224, 2222, 1697, 2224, 2222, 1697, 1697, 1697, - /* 260 */ 2238, 2234, 2224, 2242, 2240, 2209, 2207, 2272, 2259, 2255, - /* 270 */ 2194, 1697, 1697, 1697, 1697, 1774, 1774, 1697, 2222, 1697, - /* 280 */ 1697, 1697, 1697, 1697, 2222, 1697, 1697, 1774, 1697, 1774, - /* 290 */ 1697, 1697, 1861, 1697, 1697, 1697, 1774, 1729, 1697, 2005, - /* 300 */ 2023, 1987, 1987, 1895, 1895, 1895, 1777, 1702, 1697, 1697, - /* 310 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 320 */ 2237, 2236, 2103, 1697, 2152, 2151, 2150, 2141, 2102, 1857, - /* 330 */ 1697, 2101, 2100, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 340 */ 1697, 1978, 1977, 2094, 1697, 1697, 2095, 2093, 2092, 1697, - /* 350 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 360 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 370 */ 1697, 2256, 2260, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 380 */ 2177, 1697, 1697, 1697, 1697, 1697, 2076, 1697, 1697, 1697, - /* 390 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 400 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 410 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 420 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 430 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 440 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 450 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 460 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 470 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 480 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 490 */ 1697, 1697, 1697, 1734, 2081, 1697, 1697, 1697, 1697, 1697, - /* 500 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 510 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 520 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 530 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 540 */ 1697, 1697, 1815, 1814, 1697, 1697, 1697, 1697, 1697, 1697, - /* 550 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 560 */ 1697, 1697, 1697, 1697, 1697, 1697, 2085, 1697, 1697, 1697, - /* 570 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 580 */ 1697, 1697, 2252, 2210, 1697, 1697, 1697, 1697, 1697, 1697, - /* 590 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 600 */ 1697, 1697, 2076, 1697, 2235, 1697, 1697, 2250, 1697, 2254, - /* 610 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2187, 2183, 1697, - /* 620 */ 1697, 2179, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 2084, - /* 630 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 640 */ 1697, 1697, 1697, 2075, 1697, 2138, 1697, 1697, 1697, 2172, - /* 650 */ 1697, 1697, 2123, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 660 */ 1697, 1697, 2085, 1697, 2088, 1697, 1697, 1697, 1697, 1697, - /* 670 */ 1889, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 680 */ 1697, 1697, 1697, 1874, 1872, 1871, 1870, 1697, 1867, 1697, - /* 690 */ 1902, 1697, 1697, 1697, 1898, 1897, 1697, 1697, 1697, 1697, - /* 700 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 710 */ 1697, 1795, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 720 */ 1787, 1697, 1786, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 730 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 740 */ 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, 1697, - /* 750 */ 1697, 1697, 1697, 1697, 1697, + /* 0 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 10 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 20 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 30 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 40 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 50 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 60 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 70 */ 1709, 1709, 1709, 1980, 1709, 1709, 1709, 1709, 1709, 1709, + /* 80 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1788, 1709, 1709, + /* 90 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 100 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1786, 1973, 2192, + /* 110 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 120 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 130 */ 1709, 1709, 1709, 2204, 1709, 1709, 1709, 2204, 2204, 2204, + /* 140 */ 1786, 2164, 2164, 1709, 1709, 1709, 1709, 1788, 2036, 1709, + /* 150 */ 1709, 1709, 1709, 1709, 1709, 1908, 1709, 1709, 1709, 1709, + /* 160 */ 1709, 1932, 1709, 1709, 1709, 2026, 1709, 1709, 2229, 2285, + /* 170 */ 1709, 1709, 2232, 1709, 1709, 1709, 1985, 1709, 1861, 2219, + /* 180 */ 2196, 2210, 2269, 2197, 2194, 2213, 1709, 2223, 1709, 2019, + /* 190 */ 1978, 1709, 1978, 1975, 1709, 1709, 1978, 1975, 1975, 1850, + /* 200 */ 1846, 1709, 1844, 1709, 1709, 1709, 1709, 1709, 1709, 1788, + /* 210 */ 1709, 1788, 1709, 1709, 1788, 1709, 1788, 1788, 1788, 1709, + /* 220 */ 1788, 1766, 1766, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 230 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 240 */ 2048, 2034, 1709, 1786, 2030, 2028, 1709, 1786, 1709, 1709, + /* 250 */ 1709, 1709, 2240, 2238, 1709, 2240, 2238, 1709, 1709, 1709, + /* 260 */ 2254, 2250, 2240, 2258, 2256, 2225, 2223, 2288, 2275, 2271, + /* 270 */ 2210, 1709, 1709, 1709, 1709, 1786, 1786, 1709, 2238, 1709, + /* 280 */ 1709, 1709, 1709, 1709, 2238, 1709, 1709, 1786, 1709, 1786, + /* 290 */ 1709, 1709, 1877, 1709, 1709, 1709, 1786, 1741, 1709, 2021, + /* 300 */ 2039, 2003, 2003, 1911, 1911, 1911, 1789, 1714, 1709, 1709, + /* 310 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 320 */ 2253, 2252, 2119, 1709, 2168, 2167, 2166, 2157, 2118, 1873, + /* 330 */ 1709, 2117, 2116, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 340 */ 1709, 1994, 1993, 2110, 1709, 1709, 2111, 2109, 2108, 1709, + /* 350 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 360 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 370 */ 1709, 1709, 1709, 2272, 2276, 1709, 1709, 1709, 1709, 1709, + /* 380 */ 1709, 1709, 2193, 1709, 1709, 1709, 1709, 1709, 2092, 1709, + /* 390 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 400 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 410 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 420 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 430 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 440 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 450 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 460 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 470 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 480 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 490 */ 1709, 1709, 1709, 1709, 1709, 1746, 2097, 1709, 1709, 1709, + /* 500 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 510 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 520 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 530 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 540 */ 1709, 1709, 1709, 1709, 1709, 1709, 1827, 1826, 1709, 1709, + /* 550 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 560 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 570 */ 2101, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 580 */ 1709, 1709, 1709, 1709, 1709, 1709, 2268, 2226, 1709, 1709, + /* 590 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 600 */ 1709, 1709, 1709, 1709, 1709, 1709, 2092, 1709, 2251, 1709, + /* 610 */ 1709, 2266, 1709, 2270, 1709, 1709, 1709, 1709, 1709, 1709, + /* 620 */ 1709, 2203, 2199, 1709, 1709, 2195, 1709, 1709, 1709, 1709, + /* 630 */ 1709, 1709, 1709, 2100, 1709, 1709, 1709, 1709, 1709, 1709, + /* 640 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 2091, 1709, 2154, + /* 650 */ 1709, 1709, 1709, 2188, 1709, 1709, 2139, 1709, 1709, 1709, + /* 660 */ 1709, 1709, 1709, 1709, 1709, 1709, 2101, 1709, 2104, 1709, + /* 670 */ 1709, 1709, 1709, 1709, 1905, 1709, 1709, 1709, 1709, 1709, + /* 680 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1890, 1888, 1887, + /* 690 */ 1886, 1709, 1883, 1709, 1918, 1709, 1709, 1709, 1914, 1913, + /* 700 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 710 */ 1709, 1709, 1709, 1709, 1709, 1807, 1709, 1709, 1709, 1709, + /* 720 */ 1709, 1709, 1709, 1709, 1799, 1709, 1798, 1709, 1709, 1709, + /* 730 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 740 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, + /* 750 */ 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, 1709, }; /********** End of lemon-generated parsing tables *****************************/ @@ -2023,460 +2023,464 @@ static const char *const yyRuleName[] = { /* 118 */ "alter_db_option ::= WAL_LEVEL NK_INTEGER", /* 119 */ "alter_db_option ::= STT_TRIGGER NK_INTEGER", /* 120 */ "alter_db_option ::= MINROWS NK_INTEGER", - /* 121 */ "integer_list ::= NK_INTEGER", - /* 122 */ "integer_list ::= integer_list NK_COMMA NK_INTEGER", - /* 123 */ "variable_list ::= NK_VARIABLE", - /* 124 */ "variable_list ::= variable_list NK_COMMA NK_VARIABLE", - /* 125 */ "retention_list ::= retention", - /* 126 */ "retention_list ::= retention_list NK_COMMA retention", - /* 127 */ "retention ::= NK_VARIABLE NK_COLON NK_VARIABLE", - /* 128 */ "speed_opt ::=", - /* 129 */ "speed_opt ::= MAX_SPEED NK_INTEGER", - /* 130 */ "start_opt ::=", - /* 131 */ "start_opt ::= START WITH NK_INTEGER", - /* 132 */ "start_opt ::= START WITH NK_STRING", - /* 133 */ "start_opt ::= START WITH TIMESTAMP NK_STRING", - /* 134 */ "end_opt ::=", - /* 135 */ "end_opt ::= END WITH NK_INTEGER", - /* 136 */ "end_opt ::= END WITH NK_STRING", - /* 137 */ "end_opt ::= END WITH TIMESTAMP NK_STRING", - /* 138 */ "cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options", - /* 139 */ "cmd ::= CREATE TABLE multi_create_clause", - /* 140 */ "cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options", - /* 141 */ "cmd ::= DROP TABLE multi_drop_clause", - /* 142 */ "cmd ::= DROP STABLE exists_opt full_table_name", - /* 143 */ "cmd ::= ALTER TABLE alter_table_clause", - /* 144 */ "cmd ::= ALTER STABLE alter_table_clause", - /* 145 */ "alter_table_clause ::= full_table_name alter_table_options", - /* 146 */ "alter_table_clause ::= full_table_name ADD COLUMN column_name type_name", - /* 147 */ "alter_table_clause ::= full_table_name DROP COLUMN column_name", - /* 148 */ "alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name", - /* 149 */ "alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name", - /* 150 */ "alter_table_clause ::= full_table_name ADD TAG column_name type_name", - /* 151 */ "alter_table_clause ::= full_table_name DROP TAG column_name", - /* 152 */ "alter_table_clause ::= full_table_name MODIFY TAG column_name type_name", - /* 153 */ "alter_table_clause ::= full_table_name RENAME TAG column_name column_name", - /* 154 */ "alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal", - /* 155 */ "multi_create_clause ::= create_subtable_clause", - /* 156 */ "multi_create_clause ::= multi_create_clause create_subtable_clause", - /* 157 */ "create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options", - /* 158 */ "multi_drop_clause ::= drop_table_clause", - /* 159 */ "multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause", - /* 160 */ "drop_table_clause ::= exists_opt full_table_name", - /* 161 */ "specific_cols_opt ::=", - /* 162 */ "specific_cols_opt ::= NK_LP col_name_list NK_RP", - /* 163 */ "full_table_name ::= table_name", - /* 164 */ "full_table_name ::= db_name NK_DOT table_name", - /* 165 */ "column_def_list ::= column_def", - /* 166 */ "column_def_list ::= column_def_list NK_COMMA column_def", - /* 167 */ "column_def ::= column_name type_name", - /* 168 */ "column_def ::= column_name type_name COMMENT NK_STRING", - /* 169 */ "type_name ::= BOOL", - /* 170 */ "type_name ::= TINYINT", - /* 171 */ "type_name ::= SMALLINT", - /* 172 */ "type_name ::= INT", - /* 173 */ "type_name ::= INTEGER", - /* 174 */ "type_name ::= BIGINT", - /* 175 */ "type_name ::= FLOAT", - /* 176 */ "type_name ::= DOUBLE", - /* 177 */ "type_name ::= BINARY NK_LP NK_INTEGER NK_RP", - /* 178 */ "type_name ::= TIMESTAMP", - /* 179 */ "type_name ::= NCHAR NK_LP NK_INTEGER NK_RP", - /* 180 */ "type_name ::= TINYINT UNSIGNED", - /* 181 */ "type_name ::= SMALLINT UNSIGNED", - /* 182 */ "type_name ::= INT UNSIGNED", - /* 183 */ "type_name ::= BIGINT UNSIGNED", - /* 184 */ "type_name ::= JSON", - /* 185 */ "type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP", - /* 186 */ "type_name ::= MEDIUMBLOB", - /* 187 */ "type_name ::= BLOB", - /* 188 */ "type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP", - /* 189 */ "type_name ::= DECIMAL", - /* 190 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP", - /* 191 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP", - /* 192 */ "tags_def_opt ::=", - /* 193 */ "tags_def_opt ::= tags_def", - /* 194 */ "tags_def ::= TAGS NK_LP column_def_list NK_RP", - /* 195 */ "table_options ::=", - /* 196 */ "table_options ::= table_options COMMENT NK_STRING", - /* 197 */ "table_options ::= table_options MAX_DELAY duration_list", - /* 198 */ "table_options ::= table_options WATERMARK duration_list", - /* 199 */ "table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP", - /* 200 */ "table_options ::= table_options TTL NK_INTEGER", - /* 201 */ "table_options ::= table_options SMA NK_LP col_name_list NK_RP", - /* 202 */ "table_options ::= table_options DELETE_MARK duration_list", - /* 203 */ "alter_table_options ::= alter_table_option", - /* 204 */ "alter_table_options ::= alter_table_options alter_table_option", - /* 205 */ "alter_table_option ::= COMMENT NK_STRING", - /* 206 */ "alter_table_option ::= TTL NK_INTEGER", - /* 207 */ "duration_list ::= duration_literal", - /* 208 */ "duration_list ::= duration_list NK_COMMA duration_literal", - /* 209 */ "rollup_func_list ::= rollup_func_name", - /* 210 */ "rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name", - /* 211 */ "rollup_func_name ::= function_name", - /* 212 */ "rollup_func_name ::= FIRST", - /* 213 */ "rollup_func_name ::= LAST", - /* 214 */ "col_name_list ::= col_name", - /* 215 */ "col_name_list ::= col_name_list NK_COMMA col_name", - /* 216 */ "col_name ::= column_name", - /* 217 */ "cmd ::= SHOW DNODES", - /* 218 */ "cmd ::= SHOW USERS", - /* 219 */ "cmd ::= SHOW USER PRIVILEGES", - /* 220 */ "cmd ::= SHOW DATABASES", - /* 221 */ "cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt", - /* 222 */ "cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt", - /* 223 */ "cmd ::= SHOW db_name_cond_opt VGROUPS", - /* 224 */ "cmd ::= SHOW MNODES", - /* 225 */ "cmd ::= SHOW QNODES", - /* 226 */ "cmd ::= SHOW FUNCTIONS", - /* 227 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", - /* 228 */ "cmd ::= SHOW STREAMS", - /* 229 */ "cmd ::= SHOW ACCOUNTS", - /* 230 */ "cmd ::= SHOW APPS", - /* 231 */ "cmd ::= SHOW CONNECTIONS", - /* 232 */ "cmd ::= SHOW LICENCES", - /* 233 */ "cmd ::= SHOW GRANTS", - /* 234 */ "cmd ::= SHOW CREATE DATABASE db_name", - /* 235 */ "cmd ::= SHOW CREATE TABLE full_table_name", - /* 236 */ "cmd ::= SHOW CREATE STABLE full_table_name", - /* 237 */ "cmd ::= SHOW QUERIES", - /* 238 */ "cmd ::= SHOW SCORES", - /* 239 */ "cmd ::= SHOW TOPICS", - /* 240 */ "cmd ::= SHOW VARIABLES", - /* 241 */ "cmd ::= SHOW CLUSTER VARIABLES", - /* 242 */ "cmd ::= SHOW LOCAL VARIABLES", - /* 243 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", - /* 244 */ "cmd ::= SHOW BNODES", - /* 245 */ "cmd ::= SHOW SNODES", - /* 246 */ "cmd ::= SHOW CLUSTER", - /* 247 */ "cmd ::= SHOW TRANSACTIONS", - /* 248 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", - /* 249 */ "cmd ::= SHOW CONSUMERS", - /* 250 */ "cmd ::= SHOW SUBSCRIPTIONS", - /* 251 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", - /* 252 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", - /* 253 */ "cmd ::= SHOW VNODES NK_INTEGER", - /* 254 */ "cmd ::= SHOW VNODES NK_STRING", - /* 255 */ "cmd ::= SHOW db_name_cond_opt ALIVE", - /* 256 */ "cmd ::= SHOW CLUSTER ALIVE", - /* 257 */ "db_name_cond_opt ::=", - /* 258 */ "db_name_cond_opt ::= db_name NK_DOT", - /* 259 */ "like_pattern_opt ::=", - /* 260 */ "like_pattern_opt ::= LIKE NK_STRING", - /* 261 */ "table_name_cond ::= table_name", - /* 262 */ "from_db_opt ::=", - /* 263 */ "from_db_opt ::= FROM db_name", - /* 264 */ "tag_list_opt ::=", - /* 265 */ "tag_list_opt ::= tag_item", - /* 266 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", - /* 267 */ "tag_item ::= TBNAME", - /* 268 */ "tag_item ::= QTAGS", - /* 269 */ "tag_item ::= column_name", - /* 270 */ "tag_item ::= column_name column_alias", - /* 271 */ "tag_item ::= column_name AS column_alias", - /* 272 */ "cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options", - /* 273 */ "cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP", - /* 274 */ "cmd ::= DROP INDEX exists_opt full_index_name", - /* 275 */ "full_index_name ::= index_name", - /* 276 */ "full_index_name ::= db_name NK_DOT index_name", - /* 277 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", - /* 278 */ "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", - /* 279 */ "func_list ::= func", - /* 280 */ "func_list ::= func_list NK_COMMA func", - /* 281 */ "func ::= sma_func_name NK_LP expression_list NK_RP", - /* 282 */ "sma_func_name ::= function_name", - /* 283 */ "sma_func_name ::= COUNT", - /* 284 */ "sma_func_name ::= FIRST", - /* 285 */ "sma_func_name ::= LAST", - /* 286 */ "sma_func_name ::= LAST_ROW", - /* 287 */ "sma_stream_opt ::=", - /* 288 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", - /* 289 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", - /* 290 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", - /* 291 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", - /* 292 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name", - /* 293 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name", - /* 294 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name", - /* 295 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name", - /* 296 */ "cmd ::= DROP TOPIC exists_opt topic_name", - /* 297 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", - /* 298 */ "cmd ::= DESC full_table_name", - /* 299 */ "cmd ::= DESCRIBE full_table_name", - /* 300 */ "cmd ::= RESET QUERY CACHE", - /* 301 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", - /* 302 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", - /* 303 */ "analyze_opt ::=", - /* 304 */ "analyze_opt ::= ANALYZE", - /* 305 */ "explain_options ::=", - /* 306 */ "explain_options ::= explain_options VERBOSE NK_BOOL", - /* 307 */ "explain_options ::= explain_options RATIO NK_FLOAT", - /* 308 */ "cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", - /* 309 */ "cmd ::= DROP FUNCTION exists_opt function_name", - /* 310 */ "agg_func_opt ::=", - /* 311 */ "agg_func_opt ::= AGGREGATE", - /* 312 */ "bufsize_opt ::=", - /* 313 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", - /* 314 */ "language_opt ::=", - /* 315 */ "language_opt ::= LANGUAGE NK_STRING", - /* 316 */ "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", - /* 317 */ "cmd ::= DROP STREAM exists_opt stream_name", - /* 318 */ "col_list_opt ::=", - /* 319 */ "col_list_opt ::= NK_LP col_name_list NK_RP", - /* 320 */ "tag_def_or_ref_opt ::=", - /* 321 */ "tag_def_or_ref_opt ::= tags_def", - /* 322 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", - /* 323 */ "stream_options ::=", - /* 324 */ "stream_options ::= stream_options TRIGGER AT_ONCE", - /* 325 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", - /* 326 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", - /* 327 */ "stream_options ::= stream_options WATERMARK duration_literal", - /* 328 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", - /* 329 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", - /* 330 */ "stream_options ::= stream_options DELETE_MARK duration_literal", - /* 331 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", - /* 332 */ "subtable_opt ::=", - /* 333 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", - /* 334 */ "cmd ::= KILL CONNECTION NK_INTEGER", - /* 335 */ "cmd ::= KILL QUERY NK_STRING", - /* 336 */ "cmd ::= KILL TRANSACTION NK_INTEGER", - /* 337 */ "cmd ::= BALANCE VGROUP", - /* 338 */ "cmd ::= BALANCE VGROUP LEADER", - /* 339 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", - /* 340 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", - /* 341 */ "cmd ::= SPLIT VGROUP NK_INTEGER", - /* 342 */ "dnode_list ::= DNODE NK_INTEGER", - /* 343 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", - /* 344 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", - /* 345 */ "cmd ::= query_or_subquery", - /* 346 */ "cmd ::= insert_query", - /* 347 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", - /* 348 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", - /* 349 */ "literal ::= NK_INTEGER", - /* 350 */ "literal ::= NK_FLOAT", - /* 351 */ "literal ::= NK_STRING", - /* 352 */ "literal ::= NK_BOOL", - /* 353 */ "literal ::= TIMESTAMP NK_STRING", - /* 354 */ "literal ::= duration_literal", - /* 355 */ "literal ::= NULL", - /* 356 */ "literal ::= NK_QUESTION", - /* 357 */ "duration_literal ::= NK_VARIABLE", - /* 358 */ "signed ::= NK_INTEGER", - /* 359 */ "signed ::= NK_PLUS NK_INTEGER", - /* 360 */ "signed ::= NK_MINUS NK_INTEGER", - /* 361 */ "signed ::= NK_FLOAT", - /* 362 */ "signed ::= NK_PLUS NK_FLOAT", - /* 363 */ "signed ::= NK_MINUS NK_FLOAT", - /* 364 */ "signed_literal ::= signed", - /* 365 */ "signed_literal ::= NK_STRING", - /* 366 */ "signed_literal ::= NK_BOOL", - /* 367 */ "signed_literal ::= TIMESTAMP NK_STRING", - /* 368 */ "signed_literal ::= duration_literal", - /* 369 */ "signed_literal ::= NULL", - /* 370 */ "signed_literal ::= literal_func", - /* 371 */ "signed_literal ::= NK_QUESTION", - /* 372 */ "literal_list ::= signed_literal", - /* 373 */ "literal_list ::= literal_list NK_COMMA signed_literal", - /* 374 */ "db_name ::= NK_ID", - /* 375 */ "table_name ::= NK_ID", - /* 376 */ "column_name ::= NK_ID", - /* 377 */ "function_name ::= NK_ID", - /* 378 */ "table_alias ::= NK_ID", - /* 379 */ "column_alias ::= NK_ID", - /* 380 */ "user_name ::= NK_ID", - /* 381 */ "topic_name ::= NK_ID", - /* 382 */ "stream_name ::= NK_ID", - /* 383 */ "cgroup_name ::= NK_ID", - /* 384 */ "index_name ::= NK_ID", - /* 385 */ "expr_or_subquery ::= expression", - /* 386 */ "expression ::= literal", - /* 387 */ "expression ::= pseudo_column", - /* 388 */ "expression ::= column_reference", - /* 389 */ "expression ::= function_expression", - /* 390 */ "expression ::= case_when_expression", - /* 391 */ "expression ::= NK_LP expression NK_RP", - /* 392 */ "expression ::= NK_PLUS expr_or_subquery", - /* 393 */ "expression ::= NK_MINUS expr_or_subquery", - /* 394 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", - /* 395 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", - /* 396 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", - /* 397 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", - /* 398 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", - /* 399 */ "expression ::= column_reference NK_ARROW NK_STRING", - /* 400 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", - /* 401 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", - /* 402 */ "expression_list ::= expr_or_subquery", - /* 403 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", - /* 404 */ "column_reference ::= column_name", - /* 405 */ "column_reference ::= table_name NK_DOT column_name", - /* 406 */ "pseudo_column ::= ROWTS", - /* 407 */ "pseudo_column ::= TBNAME", - /* 408 */ "pseudo_column ::= table_name NK_DOT TBNAME", - /* 409 */ "pseudo_column ::= QSTART", - /* 410 */ "pseudo_column ::= QEND", - /* 411 */ "pseudo_column ::= QDURATION", - /* 412 */ "pseudo_column ::= WSTART", - /* 413 */ "pseudo_column ::= WEND", - /* 414 */ "pseudo_column ::= WDURATION", - /* 415 */ "pseudo_column ::= IROWTS", - /* 416 */ "pseudo_column ::= ISFILLED", - /* 417 */ "pseudo_column ::= QTAGS", - /* 418 */ "function_expression ::= function_name NK_LP expression_list NK_RP", - /* 419 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", - /* 420 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", - /* 421 */ "function_expression ::= literal_func", - /* 422 */ "literal_func ::= noarg_func NK_LP NK_RP", - /* 423 */ "literal_func ::= NOW", - /* 424 */ "noarg_func ::= NOW", - /* 425 */ "noarg_func ::= TODAY", - /* 426 */ "noarg_func ::= TIMEZONE", - /* 427 */ "noarg_func ::= DATABASE", - /* 428 */ "noarg_func ::= CLIENT_VERSION", - /* 429 */ "noarg_func ::= SERVER_VERSION", - /* 430 */ "noarg_func ::= SERVER_STATUS", - /* 431 */ "noarg_func ::= CURRENT_USER", - /* 432 */ "noarg_func ::= USER", - /* 433 */ "star_func ::= COUNT", - /* 434 */ "star_func ::= FIRST", - /* 435 */ "star_func ::= LAST", - /* 436 */ "star_func ::= LAST_ROW", - /* 437 */ "star_func_para_list ::= NK_STAR", - /* 438 */ "star_func_para_list ::= other_para_list", - /* 439 */ "other_para_list ::= star_func_para", - /* 440 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", - /* 441 */ "star_func_para ::= expr_or_subquery", - /* 442 */ "star_func_para ::= table_name NK_DOT NK_STAR", - /* 443 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", - /* 444 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", - /* 445 */ "when_then_list ::= when_then_expr", - /* 446 */ "when_then_list ::= when_then_list when_then_expr", - /* 447 */ "when_then_expr ::= WHEN common_expression THEN common_expression", - /* 448 */ "case_when_else_opt ::=", - /* 449 */ "case_when_else_opt ::= ELSE common_expression", - /* 450 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", - /* 451 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", - /* 452 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", - /* 453 */ "predicate ::= expr_or_subquery IS NULL", - /* 454 */ "predicate ::= expr_or_subquery IS NOT NULL", - /* 455 */ "predicate ::= expr_or_subquery in_op in_predicate_value", - /* 456 */ "compare_op ::= NK_LT", - /* 457 */ "compare_op ::= NK_GT", - /* 458 */ "compare_op ::= NK_LE", - /* 459 */ "compare_op ::= NK_GE", - /* 460 */ "compare_op ::= NK_NE", - /* 461 */ "compare_op ::= NK_EQ", - /* 462 */ "compare_op ::= LIKE", - /* 463 */ "compare_op ::= NOT LIKE", - /* 464 */ "compare_op ::= MATCH", - /* 465 */ "compare_op ::= NMATCH", - /* 466 */ "compare_op ::= CONTAINS", - /* 467 */ "in_op ::= IN", - /* 468 */ "in_op ::= NOT IN", - /* 469 */ "in_predicate_value ::= NK_LP literal_list NK_RP", - /* 470 */ "boolean_value_expression ::= boolean_primary", - /* 471 */ "boolean_value_expression ::= NOT boolean_primary", - /* 472 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", - /* 473 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", - /* 474 */ "boolean_primary ::= predicate", - /* 475 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", - /* 476 */ "common_expression ::= expr_or_subquery", - /* 477 */ "common_expression ::= boolean_value_expression", - /* 478 */ "from_clause_opt ::=", - /* 479 */ "from_clause_opt ::= FROM table_reference_list", - /* 480 */ "table_reference_list ::= table_reference", - /* 481 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", - /* 482 */ "table_reference ::= table_primary", - /* 483 */ "table_reference ::= joined_table", - /* 484 */ "table_primary ::= table_name alias_opt", - /* 485 */ "table_primary ::= db_name NK_DOT table_name alias_opt", - /* 486 */ "table_primary ::= subquery alias_opt", - /* 487 */ "table_primary ::= parenthesized_joined_table", - /* 488 */ "alias_opt ::=", - /* 489 */ "alias_opt ::= table_alias", - /* 490 */ "alias_opt ::= AS table_alias", - /* 491 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", - /* 492 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", - /* 493 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", - /* 494 */ "join_type ::=", - /* 495 */ "join_type ::= INNER", - /* 496 */ "query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", - /* 497 */ "set_quantifier_opt ::=", - /* 498 */ "set_quantifier_opt ::= DISTINCT", - /* 499 */ "set_quantifier_opt ::= ALL", - /* 500 */ "select_list ::= select_item", - /* 501 */ "select_list ::= select_list NK_COMMA select_item", - /* 502 */ "select_item ::= NK_STAR", - /* 503 */ "select_item ::= common_expression", - /* 504 */ "select_item ::= common_expression column_alias", - /* 505 */ "select_item ::= common_expression AS column_alias", - /* 506 */ "select_item ::= table_name NK_DOT NK_STAR", - /* 507 */ "where_clause_opt ::=", - /* 508 */ "where_clause_opt ::= WHERE search_condition", - /* 509 */ "partition_by_clause_opt ::=", - /* 510 */ "partition_by_clause_opt ::= PARTITION BY partition_list", - /* 511 */ "partition_list ::= partition_item", - /* 512 */ "partition_list ::= partition_list NK_COMMA partition_item", - /* 513 */ "partition_item ::= expr_or_subquery", - /* 514 */ "partition_item ::= expr_or_subquery column_alias", - /* 515 */ "partition_item ::= expr_or_subquery AS column_alias", - /* 516 */ "twindow_clause_opt ::=", - /* 517 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", - /* 518 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", - /* 519 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", - /* 520 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", - /* 521 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", - /* 522 */ "sliding_opt ::=", - /* 523 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", - /* 524 */ "fill_opt ::=", - /* 525 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", - /* 526 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", - /* 527 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP", - /* 528 */ "fill_mode ::= NONE", - /* 529 */ "fill_mode ::= PREV", - /* 530 */ "fill_mode ::= NULL", - /* 531 */ "fill_mode ::= NULL_F", - /* 532 */ "fill_mode ::= LINEAR", - /* 533 */ "fill_mode ::= NEXT", - /* 534 */ "group_by_clause_opt ::=", - /* 535 */ "group_by_clause_opt ::= GROUP BY group_by_list", - /* 536 */ "group_by_list ::= expr_or_subquery", - /* 537 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", - /* 538 */ "having_clause_opt ::=", - /* 539 */ "having_clause_opt ::= HAVING search_condition", - /* 540 */ "range_opt ::=", - /* 541 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", - /* 542 */ "every_opt ::=", - /* 543 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", - /* 544 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", - /* 545 */ "query_simple ::= query_specification", - /* 546 */ "query_simple ::= union_query_expression", - /* 547 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", - /* 548 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", - /* 549 */ "query_simple_or_subquery ::= query_simple", - /* 550 */ "query_simple_or_subquery ::= subquery", - /* 551 */ "query_or_subquery ::= query_expression", - /* 552 */ "query_or_subquery ::= subquery", - /* 553 */ "order_by_clause_opt ::=", - /* 554 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", - /* 555 */ "slimit_clause_opt ::=", - /* 556 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", - /* 557 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", - /* 558 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 559 */ "limit_clause_opt ::=", - /* 560 */ "limit_clause_opt ::= LIMIT NK_INTEGER", - /* 561 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", - /* 562 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", - /* 563 */ "subquery ::= NK_LP query_expression NK_RP", - /* 564 */ "subquery ::= NK_LP subquery NK_RP", - /* 565 */ "search_condition ::= common_expression", - /* 566 */ "sort_specification_list ::= sort_specification", - /* 567 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", - /* 568 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", - /* 569 */ "ordering_specification_opt ::=", - /* 570 */ "ordering_specification_opt ::= ASC", - /* 571 */ "ordering_specification_opt ::= DESC", - /* 572 */ "null_ordering_opt ::=", - /* 573 */ "null_ordering_opt ::= NULLS FIRST", - /* 574 */ "null_ordering_opt ::= NULLS LAST", + /* 121 */ "alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER", + /* 122 */ "alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER", + /* 123 */ "alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER", + /* 124 */ "alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER", + /* 125 */ "integer_list ::= NK_INTEGER", + /* 126 */ "integer_list ::= integer_list NK_COMMA NK_INTEGER", + /* 127 */ "variable_list ::= NK_VARIABLE", + /* 128 */ "variable_list ::= variable_list NK_COMMA NK_VARIABLE", + /* 129 */ "retention_list ::= retention", + /* 130 */ "retention_list ::= retention_list NK_COMMA retention", + /* 131 */ "retention ::= NK_VARIABLE NK_COLON NK_VARIABLE", + /* 132 */ "speed_opt ::=", + /* 133 */ "speed_opt ::= MAX_SPEED NK_INTEGER", + /* 134 */ "start_opt ::=", + /* 135 */ "start_opt ::= START WITH NK_INTEGER", + /* 136 */ "start_opt ::= START WITH NK_STRING", + /* 137 */ "start_opt ::= START WITH TIMESTAMP NK_STRING", + /* 138 */ "end_opt ::=", + /* 139 */ "end_opt ::= END WITH NK_INTEGER", + /* 140 */ "end_opt ::= END WITH NK_STRING", + /* 141 */ "end_opt ::= END WITH TIMESTAMP NK_STRING", + /* 142 */ "cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options", + /* 143 */ "cmd ::= CREATE TABLE multi_create_clause", + /* 144 */ "cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options", + /* 145 */ "cmd ::= DROP TABLE multi_drop_clause", + /* 146 */ "cmd ::= DROP STABLE exists_opt full_table_name", + /* 147 */ "cmd ::= ALTER TABLE alter_table_clause", + /* 148 */ "cmd ::= ALTER STABLE alter_table_clause", + /* 149 */ "alter_table_clause ::= full_table_name alter_table_options", + /* 150 */ "alter_table_clause ::= full_table_name ADD COLUMN column_name type_name", + /* 151 */ "alter_table_clause ::= full_table_name DROP COLUMN column_name", + /* 152 */ "alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name", + /* 153 */ "alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name", + /* 154 */ "alter_table_clause ::= full_table_name ADD TAG column_name type_name", + /* 155 */ "alter_table_clause ::= full_table_name DROP TAG column_name", + /* 156 */ "alter_table_clause ::= full_table_name MODIFY TAG column_name type_name", + /* 157 */ "alter_table_clause ::= full_table_name RENAME TAG column_name column_name", + /* 158 */ "alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal", + /* 159 */ "multi_create_clause ::= create_subtable_clause", + /* 160 */ "multi_create_clause ::= multi_create_clause create_subtable_clause", + /* 161 */ "create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options", + /* 162 */ "multi_drop_clause ::= drop_table_clause", + /* 163 */ "multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause", + /* 164 */ "drop_table_clause ::= exists_opt full_table_name", + /* 165 */ "specific_cols_opt ::=", + /* 166 */ "specific_cols_opt ::= NK_LP col_name_list NK_RP", + /* 167 */ "full_table_name ::= table_name", + /* 168 */ "full_table_name ::= db_name NK_DOT table_name", + /* 169 */ "column_def_list ::= column_def", + /* 170 */ "column_def_list ::= column_def_list NK_COMMA column_def", + /* 171 */ "column_def ::= column_name type_name", + /* 172 */ "column_def ::= column_name type_name COMMENT NK_STRING", + /* 173 */ "type_name ::= BOOL", + /* 174 */ "type_name ::= TINYINT", + /* 175 */ "type_name ::= SMALLINT", + /* 176 */ "type_name ::= INT", + /* 177 */ "type_name ::= INTEGER", + /* 178 */ "type_name ::= BIGINT", + /* 179 */ "type_name ::= FLOAT", + /* 180 */ "type_name ::= DOUBLE", + /* 181 */ "type_name ::= BINARY NK_LP NK_INTEGER NK_RP", + /* 182 */ "type_name ::= TIMESTAMP", + /* 183 */ "type_name ::= NCHAR NK_LP NK_INTEGER NK_RP", + /* 184 */ "type_name ::= TINYINT UNSIGNED", + /* 185 */ "type_name ::= SMALLINT UNSIGNED", + /* 186 */ "type_name ::= INT UNSIGNED", + /* 187 */ "type_name ::= BIGINT UNSIGNED", + /* 188 */ "type_name ::= JSON", + /* 189 */ "type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP", + /* 190 */ "type_name ::= MEDIUMBLOB", + /* 191 */ "type_name ::= BLOB", + /* 192 */ "type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP", + /* 193 */ "type_name ::= DECIMAL", + /* 194 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP", + /* 195 */ "type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP", + /* 196 */ "tags_def_opt ::=", + /* 197 */ "tags_def_opt ::= tags_def", + /* 198 */ "tags_def ::= TAGS NK_LP column_def_list NK_RP", + /* 199 */ "table_options ::=", + /* 200 */ "table_options ::= table_options COMMENT NK_STRING", + /* 201 */ "table_options ::= table_options MAX_DELAY duration_list", + /* 202 */ "table_options ::= table_options WATERMARK duration_list", + /* 203 */ "table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP", + /* 204 */ "table_options ::= table_options TTL NK_INTEGER", + /* 205 */ "table_options ::= table_options SMA NK_LP col_name_list NK_RP", + /* 206 */ "table_options ::= table_options DELETE_MARK duration_list", + /* 207 */ "alter_table_options ::= alter_table_option", + /* 208 */ "alter_table_options ::= alter_table_options alter_table_option", + /* 209 */ "alter_table_option ::= COMMENT NK_STRING", + /* 210 */ "alter_table_option ::= TTL NK_INTEGER", + /* 211 */ "duration_list ::= duration_literal", + /* 212 */ "duration_list ::= duration_list NK_COMMA duration_literal", + /* 213 */ "rollup_func_list ::= rollup_func_name", + /* 214 */ "rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name", + /* 215 */ "rollup_func_name ::= function_name", + /* 216 */ "rollup_func_name ::= FIRST", + /* 217 */ "rollup_func_name ::= LAST", + /* 218 */ "col_name_list ::= col_name", + /* 219 */ "col_name_list ::= col_name_list NK_COMMA col_name", + /* 220 */ "col_name ::= column_name", + /* 221 */ "cmd ::= SHOW DNODES", + /* 222 */ "cmd ::= SHOW USERS", + /* 223 */ "cmd ::= SHOW USER PRIVILEGES", + /* 224 */ "cmd ::= SHOW DATABASES", + /* 225 */ "cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt", + /* 226 */ "cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt", + /* 227 */ "cmd ::= SHOW db_name_cond_opt VGROUPS", + /* 228 */ "cmd ::= SHOW MNODES", + /* 229 */ "cmd ::= SHOW QNODES", + /* 230 */ "cmd ::= SHOW FUNCTIONS", + /* 231 */ "cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt", + /* 232 */ "cmd ::= SHOW STREAMS", + /* 233 */ "cmd ::= SHOW ACCOUNTS", + /* 234 */ "cmd ::= SHOW APPS", + /* 235 */ "cmd ::= SHOW CONNECTIONS", + /* 236 */ "cmd ::= SHOW LICENCES", + /* 237 */ "cmd ::= SHOW GRANTS", + /* 238 */ "cmd ::= SHOW CREATE DATABASE db_name", + /* 239 */ "cmd ::= SHOW CREATE TABLE full_table_name", + /* 240 */ "cmd ::= SHOW CREATE STABLE full_table_name", + /* 241 */ "cmd ::= SHOW QUERIES", + /* 242 */ "cmd ::= SHOW SCORES", + /* 243 */ "cmd ::= SHOW TOPICS", + /* 244 */ "cmd ::= SHOW VARIABLES", + /* 245 */ "cmd ::= SHOW CLUSTER VARIABLES", + /* 246 */ "cmd ::= SHOW LOCAL VARIABLES", + /* 247 */ "cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt", + /* 248 */ "cmd ::= SHOW BNODES", + /* 249 */ "cmd ::= SHOW SNODES", + /* 250 */ "cmd ::= SHOW CLUSTER", + /* 251 */ "cmd ::= SHOW TRANSACTIONS", + /* 252 */ "cmd ::= SHOW TABLE DISTRIBUTED full_table_name", + /* 253 */ "cmd ::= SHOW CONSUMERS", + /* 254 */ "cmd ::= SHOW SUBSCRIPTIONS", + /* 255 */ "cmd ::= SHOW TAGS FROM table_name_cond from_db_opt", + /* 256 */ "cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt", + /* 257 */ "cmd ::= SHOW VNODES NK_INTEGER", + /* 258 */ "cmd ::= SHOW VNODES NK_STRING", + /* 259 */ "cmd ::= SHOW db_name_cond_opt ALIVE", + /* 260 */ "cmd ::= SHOW CLUSTER ALIVE", + /* 261 */ "db_name_cond_opt ::=", + /* 262 */ "db_name_cond_opt ::= db_name NK_DOT", + /* 263 */ "like_pattern_opt ::=", + /* 264 */ "like_pattern_opt ::= LIKE NK_STRING", + /* 265 */ "table_name_cond ::= table_name", + /* 266 */ "from_db_opt ::=", + /* 267 */ "from_db_opt ::= FROM db_name", + /* 268 */ "tag_list_opt ::=", + /* 269 */ "tag_list_opt ::= tag_item", + /* 270 */ "tag_list_opt ::= tag_list_opt NK_COMMA tag_item", + /* 271 */ "tag_item ::= TBNAME", + /* 272 */ "tag_item ::= QTAGS", + /* 273 */ "tag_item ::= column_name", + /* 274 */ "tag_item ::= column_name column_alias", + /* 275 */ "tag_item ::= column_name AS column_alias", + /* 276 */ "cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options", + /* 277 */ "cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP", + /* 278 */ "cmd ::= DROP INDEX exists_opt full_index_name", + /* 279 */ "full_index_name ::= index_name", + /* 280 */ "full_index_name ::= db_name NK_DOT index_name", + /* 281 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt", + /* 282 */ "index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt", + /* 283 */ "func_list ::= func", + /* 284 */ "func_list ::= func_list NK_COMMA func", + /* 285 */ "func ::= sma_func_name NK_LP expression_list NK_RP", + /* 286 */ "sma_func_name ::= function_name", + /* 287 */ "sma_func_name ::= COUNT", + /* 288 */ "sma_func_name ::= FIRST", + /* 289 */ "sma_func_name ::= LAST", + /* 290 */ "sma_func_name ::= LAST_ROW", + /* 291 */ "sma_stream_opt ::=", + /* 292 */ "sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal", + /* 293 */ "sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal", + /* 294 */ "sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal", + /* 295 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery", + /* 296 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name", + /* 297 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name", + /* 298 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name", + /* 299 */ "cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name", + /* 300 */ "cmd ::= DROP TOPIC exists_opt topic_name", + /* 301 */ "cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name", + /* 302 */ "cmd ::= DESC full_table_name", + /* 303 */ "cmd ::= DESCRIBE full_table_name", + /* 304 */ "cmd ::= RESET QUERY CACHE", + /* 305 */ "cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery", + /* 306 */ "cmd ::= EXPLAIN analyze_opt explain_options insert_query", + /* 307 */ "analyze_opt ::=", + /* 308 */ "analyze_opt ::= ANALYZE", + /* 309 */ "explain_options ::=", + /* 310 */ "explain_options ::= explain_options VERBOSE NK_BOOL", + /* 311 */ "explain_options ::= explain_options RATIO NK_FLOAT", + /* 312 */ "cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt", + /* 313 */ "cmd ::= DROP FUNCTION exists_opt function_name", + /* 314 */ "agg_func_opt ::=", + /* 315 */ "agg_func_opt ::= AGGREGATE", + /* 316 */ "bufsize_opt ::=", + /* 317 */ "bufsize_opt ::= BUFSIZE NK_INTEGER", + /* 318 */ "language_opt ::=", + /* 319 */ "language_opt ::= LANGUAGE NK_STRING", + /* 320 */ "cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery", + /* 321 */ "cmd ::= DROP STREAM exists_opt stream_name", + /* 322 */ "col_list_opt ::=", + /* 323 */ "col_list_opt ::= NK_LP col_name_list NK_RP", + /* 324 */ "tag_def_or_ref_opt ::=", + /* 325 */ "tag_def_or_ref_opt ::= tags_def", + /* 326 */ "tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP", + /* 327 */ "stream_options ::=", + /* 328 */ "stream_options ::= stream_options TRIGGER AT_ONCE", + /* 329 */ "stream_options ::= stream_options TRIGGER WINDOW_CLOSE", + /* 330 */ "stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal", + /* 331 */ "stream_options ::= stream_options WATERMARK duration_literal", + /* 332 */ "stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER", + /* 333 */ "stream_options ::= stream_options FILL_HISTORY NK_INTEGER", + /* 334 */ "stream_options ::= stream_options DELETE_MARK duration_literal", + /* 335 */ "stream_options ::= stream_options IGNORE UPDATE NK_INTEGER", + /* 336 */ "subtable_opt ::=", + /* 337 */ "subtable_opt ::= SUBTABLE NK_LP expression NK_RP", + /* 338 */ "cmd ::= KILL CONNECTION NK_INTEGER", + /* 339 */ "cmd ::= KILL QUERY NK_STRING", + /* 340 */ "cmd ::= KILL TRANSACTION NK_INTEGER", + /* 341 */ "cmd ::= BALANCE VGROUP", + /* 342 */ "cmd ::= BALANCE VGROUP LEADER", + /* 343 */ "cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER", + /* 344 */ "cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list", + /* 345 */ "cmd ::= SPLIT VGROUP NK_INTEGER", + /* 346 */ "dnode_list ::= DNODE NK_INTEGER", + /* 347 */ "dnode_list ::= dnode_list DNODE NK_INTEGER", + /* 348 */ "cmd ::= DELETE FROM full_table_name where_clause_opt", + /* 349 */ "cmd ::= query_or_subquery", + /* 350 */ "cmd ::= insert_query", + /* 351 */ "insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery", + /* 352 */ "insert_query ::= INSERT INTO full_table_name query_or_subquery", + /* 353 */ "literal ::= NK_INTEGER", + /* 354 */ "literal ::= NK_FLOAT", + /* 355 */ "literal ::= NK_STRING", + /* 356 */ "literal ::= NK_BOOL", + /* 357 */ "literal ::= TIMESTAMP NK_STRING", + /* 358 */ "literal ::= duration_literal", + /* 359 */ "literal ::= NULL", + /* 360 */ "literal ::= NK_QUESTION", + /* 361 */ "duration_literal ::= NK_VARIABLE", + /* 362 */ "signed ::= NK_INTEGER", + /* 363 */ "signed ::= NK_PLUS NK_INTEGER", + /* 364 */ "signed ::= NK_MINUS NK_INTEGER", + /* 365 */ "signed ::= NK_FLOAT", + /* 366 */ "signed ::= NK_PLUS NK_FLOAT", + /* 367 */ "signed ::= NK_MINUS NK_FLOAT", + /* 368 */ "signed_literal ::= signed", + /* 369 */ "signed_literal ::= NK_STRING", + /* 370 */ "signed_literal ::= NK_BOOL", + /* 371 */ "signed_literal ::= TIMESTAMP NK_STRING", + /* 372 */ "signed_literal ::= duration_literal", + /* 373 */ "signed_literal ::= NULL", + /* 374 */ "signed_literal ::= literal_func", + /* 375 */ "signed_literal ::= NK_QUESTION", + /* 376 */ "literal_list ::= signed_literal", + /* 377 */ "literal_list ::= literal_list NK_COMMA signed_literal", + /* 378 */ "db_name ::= NK_ID", + /* 379 */ "table_name ::= NK_ID", + /* 380 */ "column_name ::= NK_ID", + /* 381 */ "function_name ::= NK_ID", + /* 382 */ "table_alias ::= NK_ID", + /* 383 */ "column_alias ::= NK_ID", + /* 384 */ "user_name ::= NK_ID", + /* 385 */ "topic_name ::= NK_ID", + /* 386 */ "stream_name ::= NK_ID", + /* 387 */ "cgroup_name ::= NK_ID", + /* 388 */ "index_name ::= NK_ID", + /* 389 */ "expr_or_subquery ::= expression", + /* 390 */ "expression ::= literal", + /* 391 */ "expression ::= pseudo_column", + /* 392 */ "expression ::= column_reference", + /* 393 */ "expression ::= function_expression", + /* 394 */ "expression ::= case_when_expression", + /* 395 */ "expression ::= NK_LP expression NK_RP", + /* 396 */ "expression ::= NK_PLUS expr_or_subquery", + /* 397 */ "expression ::= NK_MINUS expr_or_subquery", + /* 398 */ "expression ::= expr_or_subquery NK_PLUS expr_or_subquery", + /* 399 */ "expression ::= expr_or_subquery NK_MINUS expr_or_subquery", + /* 400 */ "expression ::= expr_or_subquery NK_STAR expr_or_subquery", + /* 401 */ "expression ::= expr_or_subquery NK_SLASH expr_or_subquery", + /* 402 */ "expression ::= expr_or_subquery NK_REM expr_or_subquery", + /* 403 */ "expression ::= column_reference NK_ARROW NK_STRING", + /* 404 */ "expression ::= expr_or_subquery NK_BITAND expr_or_subquery", + /* 405 */ "expression ::= expr_or_subquery NK_BITOR expr_or_subquery", + /* 406 */ "expression_list ::= expr_or_subquery", + /* 407 */ "expression_list ::= expression_list NK_COMMA expr_or_subquery", + /* 408 */ "column_reference ::= column_name", + /* 409 */ "column_reference ::= table_name NK_DOT column_name", + /* 410 */ "pseudo_column ::= ROWTS", + /* 411 */ "pseudo_column ::= TBNAME", + /* 412 */ "pseudo_column ::= table_name NK_DOT TBNAME", + /* 413 */ "pseudo_column ::= QSTART", + /* 414 */ "pseudo_column ::= QEND", + /* 415 */ "pseudo_column ::= QDURATION", + /* 416 */ "pseudo_column ::= WSTART", + /* 417 */ "pseudo_column ::= WEND", + /* 418 */ "pseudo_column ::= WDURATION", + /* 419 */ "pseudo_column ::= IROWTS", + /* 420 */ "pseudo_column ::= ISFILLED", + /* 421 */ "pseudo_column ::= QTAGS", + /* 422 */ "function_expression ::= function_name NK_LP expression_list NK_RP", + /* 423 */ "function_expression ::= star_func NK_LP star_func_para_list NK_RP", + /* 424 */ "function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP", + /* 425 */ "function_expression ::= literal_func", + /* 426 */ "literal_func ::= noarg_func NK_LP NK_RP", + /* 427 */ "literal_func ::= NOW", + /* 428 */ "noarg_func ::= NOW", + /* 429 */ "noarg_func ::= TODAY", + /* 430 */ "noarg_func ::= TIMEZONE", + /* 431 */ "noarg_func ::= DATABASE", + /* 432 */ "noarg_func ::= CLIENT_VERSION", + /* 433 */ "noarg_func ::= SERVER_VERSION", + /* 434 */ "noarg_func ::= SERVER_STATUS", + /* 435 */ "noarg_func ::= CURRENT_USER", + /* 436 */ "noarg_func ::= USER", + /* 437 */ "star_func ::= COUNT", + /* 438 */ "star_func ::= FIRST", + /* 439 */ "star_func ::= LAST", + /* 440 */ "star_func ::= LAST_ROW", + /* 441 */ "star_func_para_list ::= NK_STAR", + /* 442 */ "star_func_para_list ::= other_para_list", + /* 443 */ "other_para_list ::= star_func_para", + /* 444 */ "other_para_list ::= other_para_list NK_COMMA star_func_para", + /* 445 */ "star_func_para ::= expr_or_subquery", + /* 446 */ "star_func_para ::= table_name NK_DOT NK_STAR", + /* 447 */ "case_when_expression ::= CASE when_then_list case_when_else_opt END", + /* 448 */ "case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END", + /* 449 */ "when_then_list ::= when_then_expr", + /* 450 */ "when_then_list ::= when_then_list when_then_expr", + /* 451 */ "when_then_expr ::= WHEN common_expression THEN common_expression", + /* 452 */ "case_when_else_opt ::=", + /* 453 */ "case_when_else_opt ::= ELSE common_expression", + /* 454 */ "predicate ::= expr_or_subquery compare_op expr_or_subquery", + /* 455 */ "predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery", + /* 456 */ "predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery", + /* 457 */ "predicate ::= expr_or_subquery IS NULL", + /* 458 */ "predicate ::= expr_or_subquery IS NOT NULL", + /* 459 */ "predicate ::= expr_or_subquery in_op in_predicate_value", + /* 460 */ "compare_op ::= NK_LT", + /* 461 */ "compare_op ::= NK_GT", + /* 462 */ "compare_op ::= NK_LE", + /* 463 */ "compare_op ::= NK_GE", + /* 464 */ "compare_op ::= NK_NE", + /* 465 */ "compare_op ::= NK_EQ", + /* 466 */ "compare_op ::= LIKE", + /* 467 */ "compare_op ::= NOT LIKE", + /* 468 */ "compare_op ::= MATCH", + /* 469 */ "compare_op ::= NMATCH", + /* 470 */ "compare_op ::= CONTAINS", + /* 471 */ "in_op ::= IN", + /* 472 */ "in_op ::= NOT IN", + /* 473 */ "in_predicate_value ::= NK_LP literal_list NK_RP", + /* 474 */ "boolean_value_expression ::= boolean_primary", + /* 475 */ "boolean_value_expression ::= NOT boolean_primary", + /* 476 */ "boolean_value_expression ::= boolean_value_expression OR boolean_value_expression", + /* 477 */ "boolean_value_expression ::= boolean_value_expression AND boolean_value_expression", + /* 478 */ "boolean_primary ::= predicate", + /* 479 */ "boolean_primary ::= NK_LP boolean_value_expression NK_RP", + /* 480 */ "common_expression ::= expr_or_subquery", + /* 481 */ "common_expression ::= boolean_value_expression", + /* 482 */ "from_clause_opt ::=", + /* 483 */ "from_clause_opt ::= FROM table_reference_list", + /* 484 */ "table_reference_list ::= table_reference", + /* 485 */ "table_reference_list ::= table_reference_list NK_COMMA table_reference", + /* 486 */ "table_reference ::= table_primary", + /* 487 */ "table_reference ::= joined_table", + /* 488 */ "table_primary ::= table_name alias_opt", + /* 489 */ "table_primary ::= db_name NK_DOT table_name alias_opt", + /* 490 */ "table_primary ::= subquery alias_opt", + /* 491 */ "table_primary ::= parenthesized_joined_table", + /* 492 */ "alias_opt ::=", + /* 493 */ "alias_opt ::= table_alias", + /* 494 */ "alias_opt ::= AS table_alias", + /* 495 */ "parenthesized_joined_table ::= NK_LP joined_table NK_RP", + /* 496 */ "parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP", + /* 497 */ "joined_table ::= table_reference join_type JOIN table_reference ON search_condition", + /* 498 */ "join_type ::=", + /* 499 */ "join_type ::= INNER", + /* 500 */ "query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt", + /* 501 */ "set_quantifier_opt ::=", + /* 502 */ "set_quantifier_opt ::= DISTINCT", + /* 503 */ "set_quantifier_opt ::= ALL", + /* 504 */ "select_list ::= select_item", + /* 505 */ "select_list ::= select_list NK_COMMA select_item", + /* 506 */ "select_item ::= NK_STAR", + /* 507 */ "select_item ::= common_expression", + /* 508 */ "select_item ::= common_expression column_alias", + /* 509 */ "select_item ::= common_expression AS column_alias", + /* 510 */ "select_item ::= table_name NK_DOT NK_STAR", + /* 511 */ "where_clause_opt ::=", + /* 512 */ "where_clause_opt ::= WHERE search_condition", + /* 513 */ "partition_by_clause_opt ::=", + /* 514 */ "partition_by_clause_opt ::= PARTITION BY partition_list", + /* 515 */ "partition_list ::= partition_item", + /* 516 */ "partition_list ::= partition_list NK_COMMA partition_item", + /* 517 */ "partition_item ::= expr_or_subquery", + /* 518 */ "partition_item ::= expr_or_subquery column_alias", + /* 519 */ "partition_item ::= expr_or_subquery AS column_alias", + /* 520 */ "twindow_clause_opt ::=", + /* 521 */ "twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP", + /* 522 */ "twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP", + /* 523 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt", + /* 524 */ "twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt", + /* 525 */ "twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition", + /* 526 */ "sliding_opt ::=", + /* 527 */ "sliding_opt ::= SLIDING NK_LP duration_literal NK_RP", + /* 528 */ "fill_opt ::=", + /* 529 */ "fill_opt ::= FILL NK_LP fill_mode NK_RP", + /* 530 */ "fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP", + /* 531 */ "fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP", + /* 532 */ "fill_mode ::= NONE", + /* 533 */ "fill_mode ::= PREV", + /* 534 */ "fill_mode ::= NULL", + /* 535 */ "fill_mode ::= NULL_F", + /* 536 */ "fill_mode ::= LINEAR", + /* 537 */ "fill_mode ::= NEXT", + /* 538 */ "group_by_clause_opt ::=", + /* 539 */ "group_by_clause_opt ::= GROUP BY group_by_list", + /* 540 */ "group_by_list ::= expr_or_subquery", + /* 541 */ "group_by_list ::= group_by_list NK_COMMA expr_or_subquery", + /* 542 */ "having_clause_opt ::=", + /* 543 */ "having_clause_opt ::= HAVING search_condition", + /* 544 */ "range_opt ::=", + /* 545 */ "range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP", + /* 546 */ "every_opt ::=", + /* 547 */ "every_opt ::= EVERY NK_LP duration_literal NK_RP", + /* 548 */ "query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt", + /* 549 */ "query_simple ::= query_specification", + /* 550 */ "query_simple ::= union_query_expression", + /* 551 */ "union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery", + /* 552 */ "union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery", + /* 553 */ "query_simple_or_subquery ::= query_simple", + /* 554 */ "query_simple_or_subquery ::= subquery", + /* 555 */ "query_or_subquery ::= query_expression", + /* 556 */ "query_or_subquery ::= subquery", + /* 557 */ "order_by_clause_opt ::=", + /* 558 */ "order_by_clause_opt ::= ORDER BY sort_specification_list", + /* 559 */ "slimit_clause_opt ::=", + /* 560 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER", + /* 561 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER", + /* 562 */ "slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 563 */ "limit_clause_opt ::=", + /* 564 */ "limit_clause_opt ::= LIMIT NK_INTEGER", + /* 565 */ "limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER", + /* 566 */ "limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER", + /* 567 */ "subquery ::= NK_LP query_expression NK_RP", + /* 568 */ "subquery ::= NK_LP subquery NK_RP", + /* 569 */ "search_condition ::= common_expression", + /* 570 */ "sort_specification_list ::= sort_specification", + /* 571 */ "sort_specification_list ::= sort_specification_list NK_COMMA sort_specification", + /* 572 */ "sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt", + /* 573 */ "ordering_specification_opt ::=", + /* 574 */ "ordering_specification_opt ::= ASC", + /* 575 */ "ordering_specification_opt ::= DESC", + /* 576 */ "null_ordering_opt ::=", + /* 577 */ "null_ordering_opt ::= NULLS FIRST", + /* 578 */ "null_ordering_opt ::= NULLS LAST", }; #endif /* NDEBUG */ @@ -3218,460 +3222,464 @@ static const struct { { 355, -2 }, /* (118) alter_db_option ::= WAL_LEVEL NK_INTEGER */ { 355, -2 }, /* (119) alter_db_option ::= STT_TRIGGER NK_INTEGER */ { 355, -2 }, /* (120) alter_db_option ::= MINROWS NK_INTEGER */ - { 352, -1 }, /* (121) integer_list ::= NK_INTEGER */ - { 352, -3 }, /* (122) integer_list ::= integer_list NK_COMMA NK_INTEGER */ - { 353, -1 }, /* (123) variable_list ::= NK_VARIABLE */ - { 353, -3 }, /* (124) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ - { 354, -1 }, /* (125) retention_list ::= retention */ - { 354, -3 }, /* (126) retention_list ::= retention_list NK_COMMA retention */ - { 356, -3 }, /* (127) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ - { 349, 0 }, /* (128) speed_opt ::= */ - { 349, -2 }, /* (129) speed_opt ::= MAX_SPEED NK_INTEGER */ - { 350, 0 }, /* (130) start_opt ::= */ - { 350, -3 }, /* (131) start_opt ::= START WITH NK_INTEGER */ - { 350, -3 }, /* (132) start_opt ::= START WITH NK_STRING */ - { 350, -4 }, /* (133) start_opt ::= START WITH TIMESTAMP NK_STRING */ - { 351, 0 }, /* (134) end_opt ::= */ - { 351, -3 }, /* (135) end_opt ::= END WITH NK_INTEGER */ - { 351, -3 }, /* (136) end_opt ::= END WITH NK_STRING */ - { 351, -4 }, /* (137) end_opt ::= END WITH TIMESTAMP NK_STRING */ - { 330, -9 }, /* (138) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - { 330, -3 }, /* (139) cmd ::= CREATE TABLE multi_create_clause */ - { 330, -9 }, /* (140) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ - { 330, -3 }, /* (141) cmd ::= DROP TABLE multi_drop_clause */ - { 330, -4 }, /* (142) cmd ::= DROP STABLE exists_opt full_table_name */ - { 330, -3 }, /* (143) cmd ::= ALTER TABLE alter_table_clause */ - { 330, -3 }, /* (144) cmd ::= ALTER STABLE alter_table_clause */ - { 364, -2 }, /* (145) alter_table_clause ::= full_table_name alter_table_options */ - { 364, -5 }, /* (146) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ - { 364, -4 }, /* (147) alter_table_clause ::= full_table_name DROP COLUMN column_name */ - { 364, -5 }, /* (148) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ - { 364, -5 }, /* (149) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ - { 364, -5 }, /* (150) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ - { 364, -4 }, /* (151) alter_table_clause ::= full_table_name DROP TAG column_name */ - { 364, -5 }, /* (152) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ - { 364, -5 }, /* (153) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ - { 364, -6 }, /* (154) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ - { 361, -1 }, /* (155) multi_create_clause ::= create_subtable_clause */ - { 361, -2 }, /* (156) multi_create_clause ::= multi_create_clause create_subtable_clause */ - { 369, -10 }, /* (157) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ - { 363, -1 }, /* (158) multi_drop_clause ::= drop_table_clause */ - { 363, -3 }, /* (159) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ - { 372, -2 }, /* (160) drop_table_clause ::= exists_opt full_table_name */ - { 370, 0 }, /* (161) specific_cols_opt ::= */ - { 370, -3 }, /* (162) specific_cols_opt ::= NK_LP col_name_list NK_RP */ - { 357, -1 }, /* (163) full_table_name ::= table_name */ - { 357, -3 }, /* (164) full_table_name ::= db_name NK_DOT table_name */ - { 358, -1 }, /* (165) column_def_list ::= column_def */ - { 358, -3 }, /* (166) column_def_list ::= column_def_list NK_COMMA column_def */ - { 375, -2 }, /* (167) column_def ::= column_name type_name */ - { 375, -4 }, /* (168) column_def ::= column_name type_name COMMENT NK_STRING */ - { 367, -1 }, /* (169) type_name ::= BOOL */ - { 367, -1 }, /* (170) type_name ::= TINYINT */ - { 367, -1 }, /* (171) type_name ::= SMALLINT */ - { 367, -1 }, /* (172) type_name ::= INT */ - { 367, -1 }, /* (173) type_name ::= INTEGER */ - { 367, -1 }, /* (174) type_name ::= BIGINT */ - { 367, -1 }, /* (175) type_name ::= FLOAT */ - { 367, -1 }, /* (176) type_name ::= DOUBLE */ - { 367, -4 }, /* (177) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ - { 367, -1 }, /* (178) type_name ::= TIMESTAMP */ - { 367, -4 }, /* (179) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ - { 367, -2 }, /* (180) type_name ::= TINYINT UNSIGNED */ - { 367, -2 }, /* (181) type_name ::= SMALLINT UNSIGNED */ - { 367, -2 }, /* (182) type_name ::= INT UNSIGNED */ - { 367, -2 }, /* (183) type_name ::= BIGINT UNSIGNED */ - { 367, -1 }, /* (184) type_name ::= JSON */ - { 367, -4 }, /* (185) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ - { 367, -1 }, /* (186) type_name ::= MEDIUMBLOB */ - { 367, -1 }, /* (187) type_name ::= BLOB */ - { 367, -4 }, /* (188) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ - { 367, -1 }, /* (189) type_name ::= DECIMAL */ - { 367, -4 }, /* (190) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ - { 367, -6 }, /* (191) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ - { 359, 0 }, /* (192) tags_def_opt ::= */ - { 359, -1 }, /* (193) tags_def_opt ::= tags_def */ - { 362, -4 }, /* (194) tags_def ::= TAGS NK_LP column_def_list NK_RP */ - { 360, 0 }, /* (195) table_options ::= */ - { 360, -3 }, /* (196) table_options ::= table_options COMMENT NK_STRING */ - { 360, -3 }, /* (197) table_options ::= table_options MAX_DELAY duration_list */ - { 360, -3 }, /* (198) table_options ::= table_options WATERMARK duration_list */ - { 360, -5 }, /* (199) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ - { 360, -3 }, /* (200) table_options ::= table_options TTL NK_INTEGER */ - { 360, -5 }, /* (201) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ - { 360, -3 }, /* (202) table_options ::= table_options DELETE_MARK duration_list */ - { 365, -1 }, /* (203) alter_table_options ::= alter_table_option */ - { 365, -2 }, /* (204) alter_table_options ::= alter_table_options alter_table_option */ - { 378, -2 }, /* (205) alter_table_option ::= COMMENT NK_STRING */ - { 378, -2 }, /* (206) alter_table_option ::= TTL NK_INTEGER */ - { 376, -1 }, /* (207) duration_list ::= duration_literal */ - { 376, -3 }, /* (208) duration_list ::= duration_list NK_COMMA duration_literal */ - { 377, -1 }, /* (209) rollup_func_list ::= rollup_func_name */ - { 377, -3 }, /* (210) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ - { 380, -1 }, /* (211) rollup_func_name ::= function_name */ - { 380, -1 }, /* (212) rollup_func_name ::= FIRST */ - { 380, -1 }, /* (213) rollup_func_name ::= LAST */ - { 373, -1 }, /* (214) col_name_list ::= col_name */ - { 373, -3 }, /* (215) col_name_list ::= col_name_list NK_COMMA col_name */ - { 382, -1 }, /* (216) col_name ::= column_name */ - { 330, -2 }, /* (217) cmd ::= SHOW DNODES */ - { 330, -2 }, /* (218) cmd ::= SHOW USERS */ - { 330, -3 }, /* (219) cmd ::= SHOW USER PRIVILEGES */ - { 330, -2 }, /* (220) cmd ::= SHOW DATABASES */ - { 330, -4 }, /* (221) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ - { 330, -4 }, /* (222) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ - { 330, -3 }, /* (223) cmd ::= SHOW db_name_cond_opt VGROUPS */ - { 330, -2 }, /* (224) cmd ::= SHOW MNODES */ - { 330, -2 }, /* (225) cmd ::= SHOW QNODES */ - { 330, -2 }, /* (226) cmd ::= SHOW FUNCTIONS */ - { 330, -5 }, /* (227) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ - { 330, -2 }, /* (228) cmd ::= SHOW STREAMS */ - { 330, -2 }, /* (229) cmd ::= SHOW ACCOUNTS */ - { 330, -2 }, /* (230) cmd ::= SHOW APPS */ - { 330, -2 }, /* (231) cmd ::= SHOW CONNECTIONS */ - { 330, -2 }, /* (232) cmd ::= SHOW LICENCES */ - { 330, -2 }, /* (233) cmd ::= SHOW GRANTS */ - { 330, -4 }, /* (234) cmd ::= SHOW CREATE DATABASE db_name */ - { 330, -4 }, /* (235) cmd ::= SHOW CREATE TABLE full_table_name */ - { 330, -4 }, /* (236) cmd ::= SHOW CREATE STABLE full_table_name */ - { 330, -2 }, /* (237) cmd ::= SHOW QUERIES */ - { 330, -2 }, /* (238) cmd ::= SHOW SCORES */ - { 330, -2 }, /* (239) cmd ::= SHOW TOPICS */ - { 330, -2 }, /* (240) cmd ::= SHOW VARIABLES */ - { 330, -3 }, /* (241) cmd ::= SHOW CLUSTER VARIABLES */ - { 330, -3 }, /* (242) cmd ::= SHOW LOCAL VARIABLES */ - { 330, -5 }, /* (243) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ - { 330, -2 }, /* (244) cmd ::= SHOW BNODES */ - { 330, -2 }, /* (245) cmd ::= SHOW SNODES */ - { 330, -2 }, /* (246) cmd ::= SHOW CLUSTER */ - { 330, -2 }, /* (247) cmd ::= SHOW TRANSACTIONS */ - { 330, -4 }, /* (248) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ - { 330, -2 }, /* (249) cmd ::= SHOW CONSUMERS */ - { 330, -2 }, /* (250) cmd ::= SHOW SUBSCRIPTIONS */ - { 330, -5 }, /* (251) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ - { 330, -7 }, /* (252) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ - { 330, -3 }, /* (253) cmd ::= SHOW VNODES NK_INTEGER */ - { 330, -3 }, /* (254) cmd ::= SHOW VNODES NK_STRING */ - { 330, -3 }, /* (255) cmd ::= SHOW db_name_cond_opt ALIVE */ - { 330, -3 }, /* (256) cmd ::= SHOW CLUSTER ALIVE */ - { 383, 0 }, /* (257) db_name_cond_opt ::= */ - { 383, -2 }, /* (258) db_name_cond_opt ::= db_name NK_DOT */ - { 384, 0 }, /* (259) like_pattern_opt ::= */ - { 384, -2 }, /* (260) like_pattern_opt ::= LIKE NK_STRING */ - { 385, -1 }, /* (261) table_name_cond ::= table_name */ - { 386, 0 }, /* (262) from_db_opt ::= */ - { 386, -2 }, /* (263) from_db_opt ::= FROM db_name */ - { 387, 0 }, /* (264) tag_list_opt ::= */ - { 387, -1 }, /* (265) tag_list_opt ::= tag_item */ - { 387, -3 }, /* (266) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ - { 388, -1 }, /* (267) tag_item ::= TBNAME */ - { 388, -1 }, /* (268) tag_item ::= QTAGS */ - { 388, -1 }, /* (269) tag_item ::= column_name */ - { 388, -2 }, /* (270) tag_item ::= column_name column_alias */ - { 388, -3 }, /* (271) tag_item ::= column_name AS column_alias */ - { 330, -8 }, /* (272) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ - { 330, -9 }, /* (273) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ - { 330, -4 }, /* (274) cmd ::= DROP INDEX exists_opt full_index_name */ - { 390, -1 }, /* (275) full_index_name ::= index_name */ - { 390, -3 }, /* (276) full_index_name ::= db_name NK_DOT index_name */ - { 391, -10 }, /* (277) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ - { 391, -12 }, /* (278) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ - { 393, -1 }, /* (279) func_list ::= func */ - { 393, -3 }, /* (280) func_list ::= func_list NK_COMMA func */ - { 396, -4 }, /* (281) func ::= sma_func_name NK_LP expression_list NK_RP */ - { 397, -1 }, /* (282) sma_func_name ::= function_name */ - { 397, -1 }, /* (283) sma_func_name ::= COUNT */ - { 397, -1 }, /* (284) sma_func_name ::= FIRST */ - { 397, -1 }, /* (285) sma_func_name ::= LAST */ - { 397, -1 }, /* (286) sma_func_name ::= LAST_ROW */ - { 395, 0 }, /* (287) sma_stream_opt ::= */ - { 395, -3 }, /* (288) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ - { 395, -3 }, /* (289) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ - { 395, -3 }, /* (290) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ - { 330, -6 }, /* (291) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ - { 330, -7 }, /* (292) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ - { 330, -9 }, /* (293) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ - { 330, -7 }, /* (294) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ - { 330, -9 }, /* (295) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ - { 330, -4 }, /* (296) cmd ::= DROP TOPIC exists_opt topic_name */ - { 330, -7 }, /* (297) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ - { 330, -2 }, /* (298) cmd ::= DESC full_table_name */ - { 330, -2 }, /* (299) cmd ::= DESCRIBE full_table_name */ - { 330, -3 }, /* (300) cmd ::= RESET QUERY CACHE */ - { 330, -4 }, /* (301) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - { 330, -4 }, /* (302) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ - { 400, 0 }, /* (303) analyze_opt ::= */ - { 400, -1 }, /* (304) analyze_opt ::= ANALYZE */ - { 401, 0 }, /* (305) explain_options ::= */ - { 401, -3 }, /* (306) explain_options ::= explain_options VERBOSE NK_BOOL */ - { 401, -3 }, /* (307) explain_options ::= explain_options RATIO NK_FLOAT */ - { 330, -11 }, /* (308) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ - { 330, -4 }, /* (309) cmd ::= DROP FUNCTION exists_opt function_name */ - { 403, 0 }, /* (310) agg_func_opt ::= */ - { 403, -1 }, /* (311) agg_func_opt ::= AGGREGATE */ - { 404, 0 }, /* (312) bufsize_opt ::= */ - { 404, -2 }, /* (313) bufsize_opt ::= BUFSIZE NK_INTEGER */ - { 405, 0 }, /* (314) language_opt ::= */ - { 405, -2 }, /* (315) language_opt ::= LANGUAGE NK_STRING */ - { 330, -12 }, /* (316) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ - { 330, -4 }, /* (317) cmd ::= DROP STREAM exists_opt stream_name */ - { 408, 0 }, /* (318) col_list_opt ::= */ - { 408, -3 }, /* (319) col_list_opt ::= NK_LP col_name_list NK_RP */ - { 409, 0 }, /* (320) tag_def_or_ref_opt ::= */ - { 409, -1 }, /* (321) tag_def_or_ref_opt ::= tags_def */ - { 409, -4 }, /* (322) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ - { 407, 0 }, /* (323) stream_options ::= */ - { 407, -3 }, /* (324) stream_options ::= stream_options TRIGGER AT_ONCE */ - { 407, -3 }, /* (325) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ - { 407, -4 }, /* (326) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ - { 407, -3 }, /* (327) stream_options ::= stream_options WATERMARK duration_literal */ - { 407, -4 }, /* (328) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ - { 407, -3 }, /* (329) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ - { 407, -3 }, /* (330) stream_options ::= stream_options DELETE_MARK duration_literal */ - { 407, -4 }, /* (331) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ - { 410, 0 }, /* (332) subtable_opt ::= */ - { 410, -4 }, /* (333) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - { 330, -3 }, /* (334) cmd ::= KILL CONNECTION NK_INTEGER */ - { 330, -3 }, /* (335) cmd ::= KILL QUERY NK_STRING */ - { 330, -3 }, /* (336) cmd ::= KILL TRANSACTION NK_INTEGER */ - { 330, -2 }, /* (337) cmd ::= BALANCE VGROUP */ - { 330, -3 }, /* (338) cmd ::= BALANCE VGROUP LEADER */ - { 330, -4 }, /* (339) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ - { 330, -4 }, /* (340) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ - { 330, -3 }, /* (341) cmd ::= SPLIT VGROUP NK_INTEGER */ - { 412, -2 }, /* (342) dnode_list ::= DNODE NK_INTEGER */ - { 412, -3 }, /* (343) dnode_list ::= dnode_list DNODE NK_INTEGER */ - { 330, -4 }, /* (344) cmd ::= DELETE FROM full_table_name where_clause_opt */ - { 330, -1 }, /* (345) cmd ::= query_or_subquery */ - { 330, -1 }, /* (346) cmd ::= insert_query */ - { 402, -7 }, /* (347) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ - { 402, -4 }, /* (348) insert_query ::= INSERT INTO full_table_name query_or_subquery */ - { 333, -1 }, /* (349) literal ::= NK_INTEGER */ - { 333, -1 }, /* (350) literal ::= NK_FLOAT */ - { 333, -1 }, /* (351) literal ::= NK_STRING */ - { 333, -1 }, /* (352) literal ::= NK_BOOL */ - { 333, -2 }, /* (353) literal ::= TIMESTAMP NK_STRING */ - { 333, -1 }, /* (354) literal ::= duration_literal */ - { 333, -1 }, /* (355) literal ::= NULL */ - { 333, -1 }, /* (356) literal ::= NK_QUESTION */ - { 379, -1 }, /* (357) duration_literal ::= NK_VARIABLE */ - { 414, -1 }, /* (358) signed ::= NK_INTEGER */ - { 414, -2 }, /* (359) signed ::= NK_PLUS NK_INTEGER */ - { 414, -2 }, /* (360) signed ::= NK_MINUS NK_INTEGER */ - { 414, -1 }, /* (361) signed ::= NK_FLOAT */ - { 414, -2 }, /* (362) signed ::= NK_PLUS NK_FLOAT */ - { 414, -2 }, /* (363) signed ::= NK_MINUS NK_FLOAT */ - { 368, -1 }, /* (364) signed_literal ::= signed */ - { 368, -1 }, /* (365) signed_literal ::= NK_STRING */ - { 368, -1 }, /* (366) signed_literal ::= NK_BOOL */ - { 368, -2 }, /* (367) signed_literal ::= TIMESTAMP NK_STRING */ - { 368, -1 }, /* (368) signed_literal ::= duration_literal */ - { 368, -1 }, /* (369) signed_literal ::= NULL */ - { 368, -1 }, /* (370) signed_literal ::= literal_func */ - { 368, -1 }, /* (371) signed_literal ::= NK_QUESTION */ - { 416, -1 }, /* (372) literal_list ::= signed_literal */ - { 416, -3 }, /* (373) literal_list ::= literal_list NK_COMMA signed_literal */ - { 341, -1 }, /* (374) db_name ::= NK_ID */ - { 374, -1 }, /* (375) table_name ::= NK_ID */ - { 366, -1 }, /* (376) column_name ::= NK_ID */ - { 381, -1 }, /* (377) function_name ::= NK_ID */ - { 417, -1 }, /* (378) table_alias ::= NK_ID */ - { 389, -1 }, /* (379) column_alias ::= NK_ID */ - { 335, -1 }, /* (380) user_name ::= NK_ID */ - { 342, -1 }, /* (381) topic_name ::= NK_ID */ - { 406, -1 }, /* (382) stream_name ::= NK_ID */ - { 399, -1 }, /* (383) cgroup_name ::= NK_ID */ - { 392, -1 }, /* (384) index_name ::= NK_ID */ - { 418, -1 }, /* (385) expr_or_subquery ::= expression */ - { 411, -1 }, /* (386) expression ::= literal */ - { 411, -1 }, /* (387) expression ::= pseudo_column */ - { 411, -1 }, /* (388) expression ::= column_reference */ - { 411, -1 }, /* (389) expression ::= function_expression */ - { 411, -1 }, /* (390) expression ::= case_when_expression */ - { 411, -3 }, /* (391) expression ::= NK_LP expression NK_RP */ - { 411, -2 }, /* (392) expression ::= NK_PLUS expr_or_subquery */ - { 411, -2 }, /* (393) expression ::= NK_MINUS expr_or_subquery */ - { 411, -3 }, /* (394) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ - { 411, -3 }, /* (395) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ - { 411, -3 }, /* (396) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ - { 411, -3 }, /* (397) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ - { 411, -3 }, /* (398) expression ::= expr_or_subquery NK_REM expr_or_subquery */ - { 411, -3 }, /* (399) expression ::= column_reference NK_ARROW NK_STRING */ - { 411, -3 }, /* (400) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ - { 411, -3 }, /* (401) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ - { 371, -1 }, /* (402) expression_list ::= expr_or_subquery */ - { 371, -3 }, /* (403) expression_list ::= expression_list NK_COMMA expr_or_subquery */ - { 420, -1 }, /* (404) column_reference ::= column_name */ - { 420, -3 }, /* (405) column_reference ::= table_name NK_DOT column_name */ - { 419, -1 }, /* (406) pseudo_column ::= ROWTS */ - { 419, -1 }, /* (407) pseudo_column ::= TBNAME */ - { 419, -3 }, /* (408) pseudo_column ::= table_name NK_DOT TBNAME */ - { 419, -1 }, /* (409) pseudo_column ::= QSTART */ - { 419, -1 }, /* (410) pseudo_column ::= QEND */ - { 419, -1 }, /* (411) pseudo_column ::= QDURATION */ - { 419, -1 }, /* (412) pseudo_column ::= WSTART */ - { 419, -1 }, /* (413) pseudo_column ::= WEND */ - { 419, -1 }, /* (414) pseudo_column ::= WDURATION */ - { 419, -1 }, /* (415) pseudo_column ::= IROWTS */ - { 419, -1 }, /* (416) pseudo_column ::= ISFILLED */ - { 419, -1 }, /* (417) pseudo_column ::= QTAGS */ - { 421, -4 }, /* (418) function_expression ::= function_name NK_LP expression_list NK_RP */ - { 421, -4 }, /* (419) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ - { 421, -6 }, /* (420) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ - { 421, -1 }, /* (421) function_expression ::= literal_func */ - { 415, -3 }, /* (422) literal_func ::= noarg_func NK_LP NK_RP */ - { 415, -1 }, /* (423) literal_func ::= NOW */ - { 425, -1 }, /* (424) noarg_func ::= NOW */ - { 425, -1 }, /* (425) noarg_func ::= TODAY */ - { 425, -1 }, /* (426) noarg_func ::= TIMEZONE */ - { 425, -1 }, /* (427) noarg_func ::= DATABASE */ - { 425, -1 }, /* (428) noarg_func ::= CLIENT_VERSION */ - { 425, -1 }, /* (429) noarg_func ::= SERVER_VERSION */ - { 425, -1 }, /* (430) noarg_func ::= SERVER_STATUS */ - { 425, -1 }, /* (431) noarg_func ::= CURRENT_USER */ - { 425, -1 }, /* (432) noarg_func ::= USER */ - { 423, -1 }, /* (433) star_func ::= COUNT */ - { 423, -1 }, /* (434) star_func ::= FIRST */ - { 423, -1 }, /* (435) star_func ::= LAST */ - { 423, -1 }, /* (436) star_func ::= LAST_ROW */ - { 424, -1 }, /* (437) star_func_para_list ::= NK_STAR */ - { 424, -1 }, /* (438) star_func_para_list ::= other_para_list */ - { 426, -1 }, /* (439) other_para_list ::= star_func_para */ - { 426, -3 }, /* (440) other_para_list ::= other_para_list NK_COMMA star_func_para */ - { 427, -1 }, /* (441) star_func_para ::= expr_or_subquery */ - { 427, -3 }, /* (442) star_func_para ::= table_name NK_DOT NK_STAR */ - { 422, -4 }, /* (443) case_when_expression ::= CASE when_then_list case_when_else_opt END */ - { 422, -5 }, /* (444) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ - { 428, -1 }, /* (445) when_then_list ::= when_then_expr */ - { 428, -2 }, /* (446) when_then_list ::= when_then_list when_then_expr */ - { 431, -4 }, /* (447) when_then_expr ::= WHEN common_expression THEN common_expression */ - { 429, 0 }, /* (448) case_when_else_opt ::= */ - { 429, -2 }, /* (449) case_when_else_opt ::= ELSE common_expression */ - { 432, -3 }, /* (450) predicate ::= expr_or_subquery compare_op expr_or_subquery */ - { 432, -5 }, /* (451) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ - { 432, -6 }, /* (452) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ - { 432, -3 }, /* (453) predicate ::= expr_or_subquery IS NULL */ - { 432, -4 }, /* (454) predicate ::= expr_or_subquery IS NOT NULL */ - { 432, -3 }, /* (455) predicate ::= expr_or_subquery in_op in_predicate_value */ - { 433, -1 }, /* (456) compare_op ::= NK_LT */ - { 433, -1 }, /* (457) compare_op ::= NK_GT */ - { 433, -1 }, /* (458) compare_op ::= NK_LE */ - { 433, -1 }, /* (459) compare_op ::= NK_GE */ - { 433, -1 }, /* (460) compare_op ::= NK_NE */ - { 433, -1 }, /* (461) compare_op ::= NK_EQ */ - { 433, -1 }, /* (462) compare_op ::= LIKE */ - { 433, -2 }, /* (463) compare_op ::= NOT LIKE */ - { 433, -1 }, /* (464) compare_op ::= MATCH */ - { 433, -1 }, /* (465) compare_op ::= NMATCH */ - { 433, -1 }, /* (466) compare_op ::= CONTAINS */ - { 434, -1 }, /* (467) in_op ::= IN */ - { 434, -2 }, /* (468) in_op ::= NOT IN */ - { 435, -3 }, /* (469) in_predicate_value ::= NK_LP literal_list NK_RP */ - { 436, -1 }, /* (470) boolean_value_expression ::= boolean_primary */ - { 436, -2 }, /* (471) boolean_value_expression ::= NOT boolean_primary */ - { 436, -3 }, /* (472) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ - { 436, -3 }, /* (473) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ - { 437, -1 }, /* (474) boolean_primary ::= predicate */ - { 437, -3 }, /* (475) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ - { 430, -1 }, /* (476) common_expression ::= expr_or_subquery */ - { 430, -1 }, /* (477) common_expression ::= boolean_value_expression */ - { 438, 0 }, /* (478) from_clause_opt ::= */ - { 438, -2 }, /* (479) from_clause_opt ::= FROM table_reference_list */ - { 439, -1 }, /* (480) table_reference_list ::= table_reference */ - { 439, -3 }, /* (481) table_reference_list ::= table_reference_list NK_COMMA table_reference */ - { 440, -1 }, /* (482) table_reference ::= table_primary */ - { 440, -1 }, /* (483) table_reference ::= joined_table */ - { 441, -2 }, /* (484) table_primary ::= table_name alias_opt */ - { 441, -4 }, /* (485) table_primary ::= db_name NK_DOT table_name alias_opt */ - { 441, -2 }, /* (486) table_primary ::= subquery alias_opt */ - { 441, -1 }, /* (487) table_primary ::= parenthesized_joined_table */ - { 443, 0 }, /* (488) alias_opt ::= */ - { 443, -1 }, /* (489) alias_opt ::= table_alias */ - { 443, -2 }, /* (490) alias_opt ::= AS table_alias */ - { 445, -3 }, /* (491) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - { 445, -3 }, /* (492) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ - { 442, -6 }, /* (493) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ - { 446, 0 }, /* (494) join_type ::= */ - { 446, -1 }, /* (495) join_type ::= INNER */ - { 448, -12 }, /* (496) query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ - { 449, 0 }, /* (497) set_quantifier_opt ::= */ - { 449, -1 }, /* (498) set_quantifier_opt ::= DISTINCT */ - { 449, -1 }, /* (499) set_quantifier_opt ::= ALL */ - { 450, -1 }, /* (500) select_list ::= select_item */ - { 450, -3 }, /* (501) select_list ::= select_list NK_COMMA select_item */ - { 458, -1 }, /* (502) select_item ::= NK_STAR */ - { 458, -1 }, /* (503) select_item ::= common_expression */ - { 458, -2 }, /* (504) select_item ::= common_expression column_alias */ - { 458, -3 }, /* (505) select_item ::= common_expression AS column_alias */ - { 458, -3 }, /* (506) select_item ::= table_name NK_DOT NK_STAR */ - { 413, 0 }, /* (507) where_clause_opt ::= */ - { 413, -2 }, /* (508) where_clause_opt ::= WHERE search_condition */ - { 451, 0 }, /* (509) partition_by_clause_opt ::= */ - { 451, -3 }, /* (510) partition_by_clause_opt ::= PARTITION BY partition_list */ - { 459, -1 }, /* (511) partition_list ::= partition_item */ - { 459, -3 }, /* (512) partition_list ::= partition_list NK_COMMA partition_item */ - { 460, -1 }, /* (513) partition_item ::= expr_or_subquery */ - { 460, -2 }, /* (514) partition_item ::= expr_or_subquery column_alias */ - { 460, -3 }, /* (515) partition_item ::= expr_or_subquery AS column_alias */ - { 455, 0 }, /* (516) twindow_clause_opt ::= */ - { 455, -6 }, /* (517) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ - { 455, -4 }, /* (518) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ - { 455, -6 }, /* (519) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ - { 455, -8 }, /* (520) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ - { 455, -7 }, /* (521) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ - { 394, 0 }, /* (522) sliding_opt ::= */ - { 394, -4 }, /* (523) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ - { 454, 0 }, /* (524) fill_opt ::= */ - { 454, -4 }, /* (525) fill_opt ::= FILL NK_LP fill_mode NK_RP */ - { 454, -6 }, /* (526) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ - { 454, -6 }, /* (527) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ - { 461, -1 }, /* (528) fill_mode ::= NONE */ - { 461, -1 }, /* (529) fill_mode ::= PREV */ - { 461, -1 }, /* (530) fill_mode ::= NULL */ - { 461, -1 }, /* (531) fill_mode ::= NULL_F */ - { 461, -1 }, /* (532) fill_mode ::= LINEAR */ - { 461, -1 }, /* (533) fill_mode ::= NEXT */ - { 456, 0 }, /* (534) group_by_clause_opt ::= */ - { 456, -3 }, /* (535) group_by_clause_opt ::= GROUP BY group_by_list */ - { 462, -1 }, /* (536) group_by_list ::= expr_or_subquery */ - { 462, -3 }, /* (537) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ - { 457, 0 }, /* (538) having_clause_opt ::= */ - { 457, -2 }, /* (539) having_clause_opt ::= HAVING search_condition */ - { 452, 0 }, /* (540) range_opt ::= */ - { 452, -6 }, /* (541) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ - { 453, 0 }, /* (542) every_opt ::= */ - { 453, -4 }, /* (543) every_opt ::= EVERY NK_LP duration_literal NK_RP */ - { 463, -4 }, /* (544) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ - { 464, -1 }, /* (545) query_simple ::= query_specification */ - { 464, -1 }, /* (546) query_simple ::= union_query_expression */ - { 468, -4 }, /* (547) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ - { 468, -3 }, /* (548) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ - { 469, -1 }, /* (549) query_simple_or_subquery ::= query_simple */ - { 469, -1 }, /* (550) query_simple_or_subquery ::= subquery */ - { 398, -1 }, /* (551) query_or_subquery ::= query_expression */ - { 398, -1 }, /* (552) query_or_subquery ::= subquery */ - { 465, 0 }, /* (553) order_by_clause_opt ::= */ - { 465, -3 }, /* (554) order_by_clause_opt ::= ORDER BY sort_specification_list */ - { 466, 0 }, /* (555) slimit_clause_opt ::= */ - { 466, -2 }, /* (556) slimit_clause_opt ::= SLIMIT NK_INTEGER */ - { 466, -4 }, /* (557) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - { 466, -4 }, /* (558) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 467, 0 }, /* (559) limit_clause_opt ::= */ - { 467, -2 }, /* (560) limit_clause_opt ::= LIMIT NK_INTEGER */ - { 467, -4 }, /* (561) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ - { 467, -4 }, /* (562) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - { 444, -3 }, /* (563) subquery ::= NK_LP query_expression NK_RP */ - { 444, -3 }, /* (564) subquery ::= NK_LP subquery NK_RP */ - { 447, -1 }, /* (565) search_condition ::= common_expression */ - { 470, -1 }, /* (566) sort_specification_list ::= sort_specification */ - { 470, -3 }, /* (567) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ - { 471, -3 }, /* (568) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ - { 472, 0 }, /* (569) ordering_specification_opt ::= */ - { 472, -1 }, /* (570) ordering_specification_opt ::= ASC */ - { 472, -1 }, /* (571) ordering_specification_opt ::= DESC */ - { 473, 0 }, /* (572) null_ordering_opt ::= */ - { 473, -2 }, /* (573) null_ordering_opt ::= NULLS FIRST */ - { 473, -2 }, /* (574) null_ordering_opt ::= NULLS LAST */ + { 355, -2 }, /* (121) alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ + { 355, -3 }, /* (122) alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ + { 355, -2 }, /* (123) alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ + { 355, -3 }, /* (124) alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ + { 352, -1 }, /* (125) integer_list ::= NK_INTEGER */ + { 352, -3 }, /* (126) integer_list ::= integer_list NK_COMMA NK_INTEGER */ + { 353, -1 }, /* (127) variable_list ::= NK_VARIABLE */ + { 353, -3 }, /* (128) variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + { 354, -1 }, /* (129) retention_list ::= retention */ + { 354, -3 }, /* (130) retention_list ::= retention_list NK_COMMA retention */ + { 356, -3 }, /* (131) retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + { 349, 0 }, /* (132) speed_opt ::= */ + { 349, -2 }, /* (133) speed_opt ::= MAX_SPEED NK_INTEGER */ + { 350, 0 }, /* (134) start_opt ::= */ + { 350, -3 }, /* (135) start_opt ::= START WITH NK_INTEGER */ + { 350, -3 }, /* (136) start_opt ::= START WITH NK_STRING */ + { 350, -4 }, /* (137) start_opt ::= START WITH TIMESTAMP NK_STRING */ + { 351, 0 }, /* (138) end_opt ::= */ + { 351, -3 }, /* (139) end_opt ::= END WITH NK_INTEGER */ + { 351, -3 }, /* (140) end_opt ::= END WITH NK_STRING */ + { 351, -4 }, /* (141) end_opt ::= END WITH TIMESTAMP NK_STRING */ + { 330, -9 }, /* (142) cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + { 330, -3 }, /* (143) cmd ::= CREATE TABLE multi_create_clause */ + { 330, -9 }, /* (144) cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ + { 330, -3 }, /* (145) cmd ::= DROP TABLE multi_drop_clause */ + { 330, -4 }, /* (146) cmd ::= DROP STABLE exists_opt full_table_name */ + { 330, -3 }, /* (147) cmd ::= ALTER TABLE alter_table_clause */ + { 330, -3 }, /* (148) cmd ::= ALTER STABLE alter_table_clause */ + { 364, -2 }, /* (149) alter_table_clause ::= full_table_name alter_table_options */ + { 364, -5 }, /* (150) alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + { 364, -4 }, /* (151) alter_table_clause ::= full_table_name DROP COLUMN column_name */ + { 364, -5 }, /* (152) alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + { 364, -5 }, /* (153) alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + { 364, -5 }, /* (154) alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + { 364, -4 }, /* (155) alter_table_clause ::= full_table_name DROP TAG column_name */ + { 364, -5 }, /* (156) alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + { 364, -5 }, /* (157) alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + { 364, -6 }, /* (158) alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + { 361, -1 }, /* (159) multi_create_clause ::= create_subtable_clause */ + { 361, -2 }, /* (160) multi_create_clause ::= multi_create_clause create_subtable_clause */ + { 369, -10 }, /* (161) create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ + { 363, -1 }, /* (162) multi_drop_clause ::= drop_table_clause */ + { 363, -3 }, /* (163) multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ + { 372, -2 }, /* (164) drop_table_clause ::= exists_opt full_table_name */ + { 370, 0 }, /* (165) specific_cols_opt ::= */ + { 370, -3 }, /* (166) specific_cols_opt ::= NK_LP col_name_list NK_RP */ + { 357, -1 }, /* (167) full_table_name ::= table_name */ + { 357, -3 }, /* (168) full_table_name ::= db_name NK_DOT table_name */ + { 358, -1 }, /* (169) column_def_list ::= column_def */ + { 358, -3 }, /* (170) column_def_list ::= column_def_list NK_COMMA column_def */ + { 375, -2 }, /* (171) column_def ::= column_name type_name */ + { 375, -4 }, /* (172) column_def ::= column_name type_name COMMENT NK_STRING */ + { 367, -1 }, /* (173) type_name ::= BOOL */ + { 367, -1 }, /* (174) type_name ::= TINYINT */ + { 367, -1 }, /* (175) type_name ::= SMALLINT */ + { 367, -1 }, /* (176) type_name ::= INT */ + { 367, -1 }, /* (177) type_name ::= INTEGER */ + { 367, -1 }, /* (178) type_name ::= BIGINT */ + { 367, -1 }, /* (179) type_name ::= FLOAT */ + { 367, -1 }, /* (180) type_name ::= DOUBLE */ + { 367, -4 }, /* (181) type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + { 367, -1 }, /* (182) type_name ::= TIMESTAMP */ + { 367, -4 }, /* (183) type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + { 367, -2 }, /* (184) type_name ::= TINYINT UNSIGNED */ + { 367, -2 }, /* (185) type_name ::= SMALLINT UNSIGNED */ + { 367, -2 }, /* (186) type_name ::= INT UNSIGNED */ + { 367, -2 }, /* (187) type_name ::= BIGINT UNSIGNED */ + { 367, -1 }, /* (188) type_name ::= JSON */ + { 367, -4 }, /* (189) type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + { 367, -1 }, /* (190) type_name ::= MEDIUMBLOB */ + { 367, -1 }, /* (191) type_name ::= BLOB */ + { 367, -4 }, /* (192) type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + { 367, -1 }, /* (193) type_name ::= DECIMAL */ + { 367, -4 }, /* (194) type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + { 367, -6 }, /* (195) type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + { 359, 0 }, /* (196) tags_def_opt ::= */ + { 359, -1 }, /* (197) tags_def_opt ::= tags_def */ + { 362, -4 }, /* (198) tags_def ::= TAGS NK_LP column_def_list NK_RP */ + { 360, 0 }, /* (199) table_options ::= */ + { 360, -3 }, /* (200) table_options ::= table_options COMMENT NK_STRING */ + { 360, -3 }, /* (201) table_options ::= table_options MAX_DELAY duration_list */ + { 360, -3 }, /* (202) table_options ::= table_options WATERMARK duration_list */ + { 360, -5 }, /* (203) table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + { 360, -3 }, /* (204) table_options ::= table_options TTL NK_INTEGER */ + { 360, -5 }, /* (205) table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + { 360, -3 }, /* (206) table_options ::= table_options DELETE_MARK duration_list */ + { 365, -1 }, /* (207) alter_table_options ::= alter_table_option */ + { 365, -2 }, /* (208) alter_table_options ::= alter_table_options alter_table_option */ + { 378, -2 }, /* (209) alter_table_option ::= COMMENT NK_STRING */ + { 378, -2 }, /* (210) alter_table_option ::= TTL NK_INTEGER */ + { 376, -1 }, /* (211) duration_list ::= duration_literal */ + { 376, -3 }, /* (212) duration_list ::= duration_list NK_COMMA duration_literal */ + { 377, -1 }, /* (213) rollup_func_list ::= rollup_func_name */ + { 377, -3 }, /* (214) rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ + { 380, -1 }, /* (215) rollup_func_name ::= function_name */ + { 380, -1 }, /* (216) rollup_func_name ::= FIRST */ + { 380, -1 }, /* (217) rollup_func_name ::= LAST */ + { 373, -1 }, /* (218) col_name_list ::= col_name */ + { 373, -3 }, /* (219) col_name_list ::= col_name_list NK_COMMA col_name */ + { 382, -1 }, /* (220) col_name ::= column_name */ + { 330, -2 }, /* (221) cmd ::= SHOW DNODES */ + { 330, -2 }, /* (222) cmd ::= SHOW USERS */ + { 330, -3 }, /* (223) cmd ::= SHOW USER PRIVILEGES */ + { 330, -2 }, /* (224) cmd ::= SHOW DATABASES */ + { 330, -4 }, /* (225) cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + { 330, -4 }, /* (226) cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + { 330, -3 }, /* (227) cmd ::= SHOW db_name_cond_opt VGROUPS */ + { 330, -2 }, /* (228) cmd ::= SHOW MNODES */ + { 330, -2 }, /* (229) cmd ::= SHOW QNODES */ + { 330, -2 }, /* (230) cmd ::= SHOW FUNCTIONS */ + { 330, -5 }, /* (231) cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + { 330, -2 }, /* (232) cmd ::= SHOW STREAMS */ + { 330, -2 }, /* (233) cmd ::= SHOW ACCOUNTS */ + { 330, -2 }, /* (234) cmd ::= SHOW APPS */ + { 330, -2 }, /* (235) cmd ::= SHOW CONNECTIONS */ + { 330, -2 }, /* (236) cmd ::= SHOW LICENCES */ + { 330, -2 }, /* (237) cmd ::= SHOW GRANTS */ + { 330, -4 }, /* (238) cmd ::= SHOW CREATE DATABASE db_name */ + { 330, -4 }, /* (239) cmd ::= SHOW CREATE TABLE full_table_name */ + { 330, -4 }, /* (240) cmd ::= SHOW CREATE STABLE full_table_name */ + { 330, -2 }, /* (241) cmd ::= SHOW QUERIES */ + { 330, -2 }, /* (242) cmd ::= SHOW SCORES */ + { 330, -2 }, /* (243) cmd ::= SHOW TOPICS */ + { 330, -2 }, /* (244) cmd ::= SHOW VARIABLES */ + { 330, -3 }, /* (245) cmd ::= SHOW CLUSTER VARIABLES */ + { 330, -3 }, /* (246) cmd ::= SHOW LOCAL VARIABLES */ + { 330, -5 }, /* (247) cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + { 330, -2 }, /* (248) cmd ::= SHOW BNODES */ + { 330, -2 }, /* (249) cmd ::= SHOW SNODES */ + { 330, -2 }, /* (250) cmd ::= SHOW CLUSTER */ + { 330, -2 }, /* (251) cmd ::= SHOW TRANSACTIONS */ + { 330, -4 }, /* (252) cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + { 330, -2 }, /* (253) cmd ::= SHOW CONSUMERS */ + { 330, -2 }, /* (254) cmd ::= SHOW SUBSCRIPTIONS */ + { 330, -5 }, /* (255) cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + { 330, -7 }, /* (256) cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + { 330, -3 }, /* (257) cmd ::= SHOW VNODES NK_INTEGER */ + { 330, -3 }, /* (258) cmd ::= SHOW VNODES NK_STRING */ + { 330, -3 }, /* (259) cmd ::= SHOW db_name_cond_opt ALIVE */ + { 330, -3 }, /* (260) cmd ::= SHOW CLUSTER ALIVE */ + { 383, 0 }, /* (261) db_name_cond_opt ::= */ + { 383, -2 }, /* (262) db_name_cond_opt ::= db_name NK_DOT */ + { 384, 0 }, /* (263) like_pattern_opt ::= */ + { 384, -2 }, /* (264) like_pattern_opt ::= LIKE NK_STRING */ + { 385, -1 }, /* (265) table_name_cond ::= table_name */ + { 386, 0 }, /* (266) from_db_opt ::= */ + { 386, -2 }, /* (267) from_db_opt ::= FROM db_name */ + { 387, 0 }, /* (268) tag_list_opt ::= */ + { 387, -1 }, /* (269) tag_list_opt ::= tag_item */ + { 387, -3 }, /* (270) tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ + { 388, -1 }, /* (271) tag_item ::= TBNAME */ + { 388, -1 }, /* (272) tag_item ::= QTAGS */ + { 388, -1 }, /* (273) tag_item ::= column_name */ + { 388, -2 }, /* (274) tag_item ::= column_name column_alias */ + { 388, -3 }, /* (275) tag_item ::= column_name AS column_alias */ + { 330, -8 }, /* (276) cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + { 330, -9 }, /* (277) cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + { 330, -4 }, /* (278) cmd ::= DROP INDEX exists_opt full_index_name */ + { 390, -1 }, /* (279) full_index_name ::= index_name */ + { 390, -3 }, /* (280) full_index_name ::= db_name NK_DOT index_name */ + { 391, -10 }, /* (281) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + { 391, -12 }, /* (282) index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ + { 393, -1 }, /* (283) func_list ::= func */ + { 393, -3 }, /* (284) func_list ::= func_list NK_COMMA func */ + { 396, -4 }, /* (285) func ::= sma_func_name NK_LP expression_list NK_RP */ + { 397, -1 }, /* (286) sma_func_name ::= function_name */ + { 397, -1 }, /* (287) sma_func_name ::= COUNT */ + { 397, -1 }, /* (288) sma_func_name ::= FIRST */ + { 397, -1 }, /* (289) sma_func_name ::= LAST */ + { 397, -1 }, /* (290) sma_func_name ::= LAST_ROW */ + { 395, 0 }, /* (291) sma_stream_opt ::= */ + { 395, -3 }, /* (292) sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + { 395, -3 }, /* (293) sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + { 395, -3 }, /* (294) sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + { 330, -6 }, /* (295) cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + { 330, -7 }, /* (296) cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ + { 330, -9 }, /* (297) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ + { 330, -7 }, /* (298) cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ + { 330, -9 }, /* (299) cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ + { 330, -4 }, /* (300) cmd ::= DROP TOPIC exists_opt topic_name */ + { 330, -7 }, /* (301) cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + { 330, -2 }, /* (302) cmd ::= DESC full_table_name */ + { 330, -2 }, /* (303) cmd ::= DESCRIBE full_table_name */ + { 330, -3 }, /* (304) cmd ::= RESET QUERY CACHE */ + { 330, -4 }, /* (305) cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + { 330, -4 }, /* (306) cmd ::= EXPLAIN analyze_opt explain_options insert_query */ + { 400, 0 }, /* (307) analyze_opt ::= */ + { 400, -1 }, /* (308) analyze_opt ::= ANALYZE */ + { 401, 0 }, /* (309) explain_options ::= */ + { 401, -3 }, /* (310) explain_options ::= explain_options VERBOSE NK_BOOL */ + { 401, -3 }, /* (311) explain_options ::= explain_options RATIO NK_FLOAT */ + { 330, -11 }, /* (312) cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + { 330, -4 }, /* (313) cmd ::= DROP FUNCTION exists_opt function_name */ + { 403, 0 }, /* (314) agg_func_opt ::= */ + { 403, -1 }, /* (315) agg_func_opt ::= AGGREGATE */ + { 404, 0 }, /* (316) bufsize_opt ::= */ + { 404, -2 }, /* (317) bufsize_opt ::= BUFSIZE NK_INTEGER */ + { 405, 0 }, /* (318) language_opt ::= */ + { 405, -2 }, /* (319) language_opt ::= LANGUAGE NK_STRING */ + { 330, -12 }, /* (320) cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ + { 330, -4 }, /* (321) cmd ::= DROP STREAM exists_opt stream_name */ + { 408, 0 }, /* (322) col_list_opt ::= */ + { 408, -3 }, /* (323) col_list_opt ::= NK_LP col_name_list NK_RP */ + { 409, 0 }, /* (324) tag_def_or_ref_opt ::= */ + { 409, -1 }, /* (325) tag_def_or_ref_opt ::= tags_def */ + { 409, -4 }, /* (326) tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ + { 407, 0 }, /* (327) stream_options ::= */ + { 407, -3 }, /* (328) stream_options ::= stream_options TRIGGER AT_ONCE */ + { 407, -3 }, /* (329) stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ + { 407, -4 }, /* (330) stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + { 407, -3 }, /* (331) stream_options ::= stream_options WATERMARK duration_literal */ + { 407, -4 }, /* (332) stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + { 407, -3 }, /* (333) stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + { 407, -3 }, /* (334) stream_options ::= stream_options DELETE_MARK duration_literal */ + { 407, -4 }, /* (335) stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + { 410, 0 }, /* (336) subtable_opt ::= */ + { 410, -4 }, /* (337) subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + { 330, -3 }, /* (338) cmd ::= KILL CONNECTION NK_INTEGER */ + { 330, -3 }, /* (339) cmd ::= KILL QUERY NK_STRING */ + { 330, -3 }, /* (340) cmd ::= KILL TRANSACTION NK_INTEGER */ + { 330, -2 }, /* (341) cmd ::= BALANCE VGROUP */ + { 330, -3 }, /* (342) cmd ::= BALANCE VGROUP LEADER */ + { 330, -4 }, /* (343) cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + { 330, -4 }, /* (344) cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + { 330, -3 }, /* (345) cmd ::= SPLIT VGROUP NK_INTEGER */ + { 412, -2 }, /* (346) dnode_list ::= DNODE NK_INTEGER */ + { 412, -3 }, /* (347) dnode_list ::= dnode_list DNODE NK_INTEGER */ + { 330, -4 }, /* (348) cmd ::= DELETE FROM full_table_name where_clause_opt */ + { 330, -1 }, /* (349) cmd ::= query_or_subquery */ + { 330, -1 }, /* (350) cmd ::= insert_query */ + { 402, -7 }, /* (351) insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + { 402, -4 }, /* (352) insert_query ::= INSERT INTO full_table_name query_or_subquery */ + { 333, -1 }, /* (353) literal ::= NK_INTEGER */ + { 333, -1 }, /* (354) literal ::= NK_FLOAT */ + { 333, -1 }, /* (355) literal ::= NK_STRING */ + { 333, -1 }, /* (356) literal ::= NK_BOOL */ + { 333, -2 }, /* (357) literal ::= TIMESTAMP NK_STRING */ + { 333, -1 }, /* (358) literal ::= duration_literal */ + { 333, -1 }, /* (359) literal ::= NULL */ + { 333, -1 }, /* (360) literal ::= NK_QUESTION */ + { 379, -1 }, /* (361) duration_literal ::= NK_VARIABLE */ + { 414, -1 }, /* (362) signed ::= NK_INTEGER */ + { 414, -2 }, /* (363) signed ::= NK_PLUS NK_INTEGER */ + { 414, -2 }, /* (364) signed ::= NK_MINUS NK_INTEGER */ + { 414, -1 }, /* (365) signed ::= NK_FLOAT */ + { 414, -2 }, /* (366) signed ::= NK_PLUS NK_FLOAT */ + { 414, -2 }, /* (367) signed ::= NK_MINUS NK_FLOAT */ + { 368, -1 }, /* (368) signed_literal ::= signed */ + { 368, -1 }, /* (369) signed_literal ::= NK_STRING */ + { 368, -1 }, /* (370) signed_literal ::= NK_BOOL */ + { 368, -2 }, /* (371) signed_literal ::= TIMESTAMP NK_STRING */ + { 368, -1 }, /* (372) signed_literal ::= duration_literal */ + { 368, -1 }, /* (373) signed_literal ::= NULL */ + { 368, -1 }, /* (374) signed_literal ::= literal_func */ + { 368, -1 }, /* (375) signed_literal ::= NK_QUESTION */ + { 416, -1 }, /* (376) literal_list ::= signed_literal */ + { 416, -3 }, /* (377) literal_list ::= literal_list NK_COMMA signed_literal */ + { 341, -1 }, /* (378) db_name ::= NK_ID */ + { 374, -1 }, /* (379) table_name ::= NK_ID */ + { 366, -1 }, /* (380) column_name ::= NK_ID */ + { 381, -1 }, /* (381) function_name ::= NK_ID */ + { 417, -1 }, /* (382) table_alias ::= NK_ID */ + { 389, -1 }, /* (383) column_alias ::= NK_ID */ + { 335, -1 }, /* (384) user_name ::= NK_ID */ + { 342, -1 }, /* (385) topic_name ::= NK_ID */ + { 406, -1 }, /* (386) stream_name ::= NK_ID */ + { 399, -1 }, /* (387) cgroup_name ::= NK_ID */ + { 392, -1 }, /* (388) index_name ::= NK_ID */ + { 418, -1 }, /* (389) expr_or_subquery ::= expression */ + { 411, -1 }, /* (390) expression ::= literal */ + { 411, -1 }, /* (391) expression ::= pseudo_column */ + { 411, -1 }, /* (392) expression ::= column_reference */ + { 411, -1 }, /* (393) expression ::= function_expression */ + { 411, -1 }, /* (394) expression ::= case_when_expression */ + { 411, -3 }, /* (395) expression ::= NK_LP expression NK_RP */ + { 411, -2 }, /* (396) expression ::= NK_PLUS expr_or_subquery */ + { 411, -2 }, /* (397) expression ::= NK_MINUS expr_or_subquery */ + { 411, -3 }, /* (398) expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + { 411, -3 }, /* (399) expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + { 411, -3 }, /* (400) expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + { 411, -3 }, /* (401) expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + { 411, -3 }, /* (402) expression ::= expr_or_subquery NK_REM expr_or_subquery */ + { 411, -3 }, /* (403) expression ::= column_reference NK_ARROW NK_STRING */ + { 411, -3 }, /* (404) expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + { 411, -3 }, /* (405) expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + { 371, -1 }, /* (406) expression_list ::= expr_or_subquery */ + { 371, -3 }, /* (407) expression_list ::= expression_list NK_COMMA expr_or_subquery */ + { 420, -1 }, /* (408) column_reference ::= column_name */ + { 420, -3 }, /* (409) column_reference ::= table_name NK_DOT column_name */ + { 419, -1 }, /* (410) pseudo_column ::= ROWTS */ + { 419, -1 }, /* (411) pseudo_column ::= TBNAME */ + { 419, -3 }, /* (412) pseudo_column ::= table_name NK_DOT TBNAME */ + { 419, -1 }, /* (413) pseudo_column ::= QSTART */ + { 419, -1 }, /* (414) pseudo_column ::= QEND */ + { 419, -1 }, /* (415) pseudo_column ::= QDURATION */ + { 419, -1 }, /* (416) pseudo_column ::= WSTART */ + { 419, -1 }, /* (417) pseudo_column ::= WEND */ + { 419, -1 }, /* (418) pseudo_column ::= WDURATION */ + { 419, -1 }, /* (419) pseudo_column ::= IROWTS */ + { 419, -1 }, /* (420) pseudo_column ::= ISFILLED */ + { 419, -1 }, /* (421) pseudo_column ::= QTAGS */ + { 421, -4 }, /* (422) function_expression ::= function_name NK_LP expression_list NK_RP */ + { 421, -4 }, /* (423) function_expression ::= star_func NK_LP star_func_para_list NK_RP */ + { 421, -6 }, /* (424) function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + { 421, -1 }, /* (425) function_expression ::= literal_func */ + { 415, -3 }, /* (426) literal_func ::= noarg_func NK_LP NK_RP */ + { 415, -1 }, /* (427) literal_func ::= NOW */ + { 425, -1 }, /* (428) noarg_func ::= NOW */ + { 425, -1 }, /* (429) noarg_func ::= TODAY */ + { 425, -1 }, /* (430) noarg_func ::= TIMEZONE */ + { 425, -1 }, /* (431) noarg_func ::= DATABASE */ + { 425, -1 }, /* (432) noarg_func ::= CLIENT_VERSION */ + { 425, -1 }, /* (433) noarg_func ::= SERVER_VERSION */ + { 425, -1 }, /* (434) noarg_func ::= SERVER_STATUS */ + { 425, -1 }, /* (435) noarg_func ::= CURRENT_USER */ + { 425, -1 }, /* (436) noarg_func ::= USER */ + { 423, -1 }, /* (437) star_func ::= COUNT */ + { 423, -1 }, /* (438) star_func ::= FIRST */ + { 423, -1 }, /* (439) star_func ::= LAST */ + { 423, -1 }, /* (440) star_func ::= LAST_ROW */ + { 424, -1 }, /* (441) star_func_para_list ::= NK_STAR */ + { 424, -1 }, /* (442) star_func_para_list ::= other_para_list */ + { 426, -1 }, /* (443) other_para_list ::= star_func_para */ + { 426, -3 }, /* (444) other_para_list ::= other_para_list NK_COMMA star_func_para */ + { 427, -1 }, /* (445) star_func_para ::= expr_or_subquery */ + { 427, -3 }, /* (446) star_func_para ::= table_name NK_DOT NK_STAR */ + { 422, -4 }, /* (447) case_when_expression ::= CASE when_then_list case_when_else_opt END */ + { 422, -5 }, /* (448) case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + { 428, -1 }, /* (449) when_then_list ::= when_then_expr */ + { 428, -2 }, /* (450) when_then_list ::= when_then_list when_then_expr */ + { 431, -4 }, /* (451) when_then_expr ::= WHEN common_expression THEN common_expression */ + { 429, 0 }, /* (452) case_when_else_opt ::= */ + { 429, -2 }, /* (453) case_when_else_opt ::= ELSE common_expression */ + { 432, -3 }, /* (454) predicate ::= expr_or_subquery compare_op expr_or_subquery */ + { 432, -5 }, /* (455) predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + { 432, -6 }, /* (456) predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + { 432, -3 }, /* (457) predicate ::= expr_or_subquery IS NULL */ + { 432, -4 }, /* (458) predicate ::= expr_or_subquery IS NOT NULL */ + { 432, -3 }, /* (459) predicate ::= expr_or_subquery in_op in_predicate_value */ + { 433, -1 }, /* (460) compare_op ::= NK_LT */ + { 433, -1 }, /* (461) compare_op ::= NK_GT */ + { 433, -1 }, /* (462) compare_op ::= NK_LE */ + { 433, -1 }, /* (463) compare_op ::= NK_GE */ + { 433, -1 }, /* (464) compare_op ::= NK_NE */ + { 433, -1 }, /* (465) compare_op ::= NK_EQ */ + { 433, -1 }, /* (466) compare_op ::= LIKE */ + { 433, -2 }, /* (467) compare_op ::= NOT LIKE */ + { 433, -1 }, /* (468) compare_op ::= MATCH */ + { 433, -1 }, /* (469) compare_op ::= NMATCH */ + { 433, -1 }, /* (470) compare_op ::= CONTAINS */ + { 434, -1 }, /* (471) in_op ::= IN */ + { 434, -2 }, /* (472) in_op ::= NOT IN */ + { 435, -3 }, /* (473) in_predicate_value ::= NK_LP literal_list NK_RP */ + { 436, -1 }, /* (474) boolean_value_expression ::= boolean_primary */ + { 436, -2 }, /* (475) boolean_value_expression ::= NOT boolean_primary */ + { 436, -3 }, /* (476) boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + { 436, -3 }, /* (477) boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + { 437, -1 }, /* (478) boolean_primary ::= predicate */ + { 437, -3 }, /* (479) boolean_primary ::= NK_LP boolean_value_expression NK_RP */ + { 430, -1 }, /* (480) common_expression ::= expr_or_subquery */ + { 430, -1 }, /* (481) common_expression ::= boolean_value_expression */ + { 438, 0 }, /* (482) from_clause_opt ::= */ + { 438, -2 }, /* (483) from_clause_opt ::= FROM table_reference_list */ + { 439, -1 }, /* (484) table_reference_list ::= table_reference */ + { 439, -3 }, /* (485) table_reference_list ::= table_reference_list NK_COMMA table_reference */ + { 440, -1 }, /* (486) table_reference ::= table_primary */ + { 440, -1 }, /* (487) table_reference ::= joined_table */ + { 441, -2 }, /* (488) table_primary ::= table_name alias_opt */ + { 441, -4 }, /* (489) table_primary ::= db_name NK_DOT table_name alias_opt */ + { 441, -2 }, /* (490) table_primary ::= subquery alias_opt */ + { 441, -1 }, /* (491) table_primary ::= parenthesized_joined_table */ + { 443, 0 }, /* (492) alias_opt ::= */ + { 443, -1 }, /* (493) alias_opt ::= table_alias */ + { 443, -2 }, /* (494) alias_opt ::= AS table_alias */ + { 445, -3 }, /* (495) parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + { 445, -3 }, /* (496) parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ + { 442, -6 }, /* (497) joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + { 446, 0 }, /* (498) join_type ::= */ + { 446, -1 }, /* (499) join_type ::= INNER */ + { 448, -12 }, /* (500) query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + { 449, 0 }, /* (501) set_quantifier_opt ::= */ + { 449, -1 }, /* (502) set_quantifier_opt ::= DISTINCT */ + { 449, -1 }, /* (503) set_quantifier_opt ::= ALL */ + { 450, -1 }, /* (504) select_list ::= select_item */ + { 450, -3 }, /* (505) select_list ::= select_list NK_COMMA select_item */ + { 458, -1 }, /* (506) select_item ::= NK_STAR */ + { 458, -1 }, /* (507) select_item ::= common_expression */ + { 458, -2 }, /* (508) select_item ::= common_expression column_alias */ + { 458, -3 }, /* (509) select_item ::= common_expression AS column_alias */ + { 458, -3 }, /* (510) select_item ::= table_name NK_DOT NK_STAR */ + { 413, 0 }, /* (511) where_clause_opt ::= */ + { 413, -2 }, /* (512) where_clause_opt ::= WHERE search_condition */ + { 451, 0 }, /* (513) partition_by_clause_opt ::= */ + { 451, -3 }, /* (514) partition_by_clause_opt ::= PARTITION BY partition_list */ + { 459, -1 }, /* (515) partition_list ::= partition_item */ + { 459, -3 }, /* (516) partition_list ::= partition_list NK_COMMA partition_item */ + { 460, -1 }, /* (517) partition_item ::= expr_or_subquery */ + { 460, -2 }, /* (518) partition_item ::= expr_or_subquery column_alias */ + { 460, -3 }, /* (519) partition_item ::= expr_or_subquery AS column_alias */ + { 455, 0 }, /* (520) twindow_clause_opt ::= */ + { 455, -6 }, /* (521) twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + { 455, -4 }, /* (522) twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + { 455, -6 }, /* (523) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + { 455, -8 }, /* (524) twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + { 455, -7 }, /* (525) twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + { 394, 0 }, /* (526) sliding_opt ::= */ + { 394, -4 }, /* (527) sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ + { 454, 0 }, /* (528) fill_opt ::= */ + { 454, -4 }, /* (529) fill_opt ::= FILL NK_LP fill_mode NK_RP */ + { 454, -6 }, /* (530) fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + { 454, -6 }, /* (531) fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ + { 461, -1 }, /* (532) fill_mode ::= NONE */ + { 461, -1 }, /* (533) fill_mode ::= PREV */ + { 461, -1 }, /* (534) fill_mode ::= NULL */ + { 461, -1 }, /* (535) fill_mode ::= NULL_F */ + { 461, -1 }, /* (536) fill_mode ::= LINEAR */ + { 461, -1 }, /* (537) fill_mode ::= NEXT */ + { 456, 0 }, /* (538) group_by_clause_opt ::= */ + { 456, -3 }, /* (539) group_by_clause_opt ::= GROUP BY group_by_list */ + { 462, -1 }, /* (540) group_by_list ::= expr_or_subquery */ + { 462, -3 }, /* (541) group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + { 457, 0 }, /* (542) having_clause_opt ::= */ + { 457, -2 }, /* (543) having_clause_opt ::= HAVING search_condition */ + { 452, 0 }, /* (544) range_opt ::= */ + { 452, -6 }, /* (545) range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + { 453, 0 }, /* (546) every_opt ::= */ + { 453, -4 }, /* (547) every_opt ::= EVERY NK_LP duration_literal NK_RP */ + { 463, -4 }, /* (548) query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + { 464, -1 }, /* (549) query_simple ::= query_specification */ + { 464, -1 }, /* (550) query_simple ::= union_query_expression */ + { 468, -4 }, /* (551) union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + { 468, -3 }, /* (552) union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + { 469, -1 }, /* (553) query_simple_or_subquery ::= query_simple */ + { 469, -1 }, /* (554) query_simple_or_subquery ::= subquery */ + { 398, -1 }, /* (555) query_or_subquery ::= query_expression */ + { 398, -1 }, /* (556) query_or_subquery ::= subquery */ + { 465, 0 }, /* (557) order_by_clause_opt ::= */ + { 465, -3 }, /* (558) order_by_clause_opt ::= ORDER BY sort_specification_list */ + { 466, 0 }, /* (559) slimit_clause_opt ::= */ + { 466, -2 }, /* (560) slimit_clause_opt ::= SLIMIT NK_INTEGER */ + { 466, -4 }, /* (561) slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + { 466, -4 }, /* (562) slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 467, 0 }, /* (563) limit_clause_opt ::= */ + { 467, -2 }, /* (564) limit_clause_opt ::= LIMIT NK_INTEGER */ + { 467, -4 }, /* (565) limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ + { 467, -4 }, /* (566) limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + { 444, -3 }, /* (567) subquery ::= NK_LP query_expression NK_RP */ + { 444, -3 }, /* (568) subquery ::= NK_LP subquery NK_RP */ + { 447, -1 }, /* (569) search_condition ::= common_expression */ + { 470, -1 }, /* (570) sort_specification_list ::= sort_specification */ + { 470, -3 }, /* (571) sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ + { 471, -3 }, /* (572) sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + { 472, 0 }, /* (573) ordering_specification_opt ::= */ + { 472, -1 }, /* (574) ordering_specification_opt ::= ASC */ + { 472, -1 }, /* (575) ordering_specification_opt ::= DESC */ + { 473, 0 }, /* (576) null_ordering_opt ::= */ + { 473, -2 }, /* (577) null_ordering_opt ::= NULLS FIRST */ + { 473, -2 }, /* (578) null_ordering_opt ::= NULLS LAST */ }; static void yy_accept(yyParser*); /* Forward Declaration */ @@ -3864,8 +3872,8 @@ static YYACTIONTYPE yy_reduce( yymsp[-2].minor.yy725 = yylhsminor.yy725; break; case 42: /* priv_level ::= topic_name */ - case 282: /* sma_func_name ::= function_name */ yytestcase(yyruleno==282); - case 489: /* alias_opt ::= table_alias */ yytestcase(yyruleno==489); + case 286: /* sma_func_name ::= function_name */ yytestcase(yyruleno==286); + case 493: /* alias_opt ::= table_alias */ yytestcase(yyruleno==493); { yylhsminor.yy725 = yymsp[0].minor.yy725; } yymsp[0].minor.yy725 = yylhsminor.yy725; break; @@ -3896,49 +3904,49 @@ static YYACTIONTYPE yy_reduce( case 51: /* dnode_endpoint ::= NK_STRING */ case 52: /* dnode_endpoint ::= NK_ID */ yytestcase(yyruleno==52); case 53: /* dnode_endpoint ::= NK_IPTOKEN */ yytestcase(yyruleno==53); - case 283: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==283); - case 284: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==284); - case 285: /* sma_func_name ::= LAST */ yytestcase(yyruleno==285); - case 286: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==286); - case 374: /* db_name ::= NK_ID */ yytestcase(yyruleno==374); - case 375: /* table_name ::= NK_ID */ yytestcase(yyruleno==375); - case 376: /* column_name ::= NK_ID */ yytestcase(yyruleno==376); - case 377: /* function_name ::= NK_ID */ yytestcase(yyruleno==377); - case 378: /* table_alias ::= NK_ID */ yytestcase(yyruleno==378); - case 379: /* column_alias ::= NK_ID */ yytestcase(yyruleno==379); - case 380: /* user_name ::= NK_ID */ yytestcase(yyruleno==380); - case 381: /* topic_name ::= NK_ID */ yytestcase(yyruleno==381); - case 382: /* stream_name ::= NK_ID */ yytestcase(yyruleno==382); - case 383: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==383); - case 384: /* index_name ::= NK_ID */ yytestcase(yyruleno==384); - case 424: /* noarg_func ::= NOW */ yytestcase(yyruleno==424); - case 425: /* noarg_func ::= TODAY */ yytestcase(yyruleno==425); - case 426: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==426); - case 427: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==427); - case 428: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==428); - case 429: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==429); - case 430: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==430); - case 431: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==431); - case 432: /* noarg_func ::= USER */ yytestcase(yyruleno==432); - case 433: /* star_func ::= COUNT */ yytestcase(yyruleno==433); - case 434: /* star_func ::= FIRST */ yytestcase(yyruleno==434); - case 435: /* star_func ::= LAST */ yytestcase(yyruleno==435); - case 436: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==436); + case 287: /* sma_func_name ::= COUNT */ yytestcase(yyruleno==287); + case 288: /* sma_func_name ::= FIRST */ yytestcase(yyruleno==288); + case 289: /* sma_func_name ::= LAST */ yytestcase(yyruleno==289); + case 290: /* sma_func_name ::= LAST_ROW */ yytestcase(yyruleno==290); + case 378: /* db_name ::= NK_ID */ yytestcase(yyruleno==378); + case 379: /* table_name ::= NK_ID */ yytestcase(yyruleno==379); + case 380: /* column_name ::= NK_ID */ yytestcase(yyruleno==380); + case 381: /* function_name ::= NK_ID */ yytestcase(yyruleno==381); + case 382: /* table_alias ::= NK_ID */ yytestcase(yyruleno==382); + case 383: /* column_alias ::= NK_ID */ yytestcase(yyruleno==383); + case 384: /* user_name ::= NK_ID */ yytestcase(yyruleno==384); + case 385: /* topic_name ::= NK_ID */ yytestcase(yyruleno==385); + case 386: /* stream_name ::= NK_ID */ yytestcase(yyruleno==386); + case 387: /* cgroup_name ::= NK_ID */ yytestcase(yyruleno==387); + case 388: /* index_name ::= NK_ID */ yytestcase(yyruleno==388); + case 428: /* noarg_func ::= NOW */ yytestcase(yyruleno==428); + case 429: /* noarg_func ::= TODAY */ yytestcase(yyruleno==429); + case 430: /* noarg_func ::= TIMEZONE */ yytestcase(yyruleno==430); + case 431: /* noarg_func ::= DATABASE */ yytestcase(yyruleno==431); + case 432: /* noarg_func ::= CLIENT_VERSION */ yytestcase(yyruleno==432); + case 433: /* noarg_func ::= SERVER_VERSION */ yytestcase(yyruleno==433); + case 434: /* noarg_func ::= SERVER_STATUS */ yytestcase(yyruleno==434); + case 435: /* noarg_func ::= CURRENT_USER */ yytestcase(yyruleno==435); + case 436: /* noarg_func ::= USER */ yytestcase(yyruleno==436); + case 437: /* star_func ::= COUNT */ yytestcase(yyruleno==437); + case 438: /* star_func ::= FIRST */ yytestcase(yyruleno==438); + case 439: /* star_func ::= LAST */ yytestcase(yyruleno==439); + case 440: /* star_func ::= LAST_ROW */ yytestcase(yyruleno==440); { yylhsminor.yy725 = yymsp[0].minor.yy0; } yymsp[0].minor.yy725 = yylhsminor.yy725; break; case 54: /* force_opt ::= */ case 74: /* not_exists_opt ::= */ yytestcase(yyruleno==74); case 76: /* exists_opt ::= */ yytestcase(yyruleno==76); - case 303: /* analyze_opt ::= */ yytestcase(yyruleno==303); - case 310: /* agg_func_opt ::= */ yytestcase(yyruleno==310); - case 497: /* set_quantifier_opt ::= */ yytestcase(yyruleno==497); + case 307: /* analyze_opt ::= */ yytestcase(yyruleno==307); + case 314: /* agg_func_opt ::= */ yytestcase(yyruleno==314); + case 501: /* set_quantifier_opt ::= */ yytestcase(yyruleno==501); { yymsp[1].minor.yy437 = false; } break; case 55: /* force_opt ::= FORCE */ - case 304: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==304); - case 311: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==311); - case 498: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==498); + case 308: /* analyze_opt ::= ANALYZE */ yytestcase(yyruleno==308); + case 315: /* agg_func_opt ::= AGGREGATE */ yytestcase(yyruleno==315); + case 502: /* set_quantifier_opt ::= DISTINCT */ yytestcase(yyruleno==502); { yymsp[0].minor.yy437 = true; } break; case 56: /* cmd ::= ALTER LOCAL NK_STRING */ @@ -4162,731 +4170,751 @@ static YYACTIONTYPE yy_reduce( case 120: /* alter_db_option ::= MINROWS NK_INTEGER */ { yymsp[-1].minor.yy653.type = DB_OPTION_MINROWS; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; - case 121: /* integer_list ::= NK_INTEGER */ + case 121: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_INTEGER */ +{ yymsp[-1].minor.yy653.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } + break; + case 122: /* alter_db_option ::= WAL_RETENTION_PERIOD NK_MINUS NK_INTEGER */ +{ + SToken t = yymsp[-1].minor.yy0; + t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; + yymsp[-2].minor.yy653.type = DB_OPTION_WAL_RETENTION_PERIOD; yymsp[-2].minor.yy653.val = t; + } + break; + case 123: /* alter_db_option ::= WAL_RETENTION_SIZE NK_INTEGER */ +{ yymsp[-1].minor.yy653.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } + break; + case 124: /* alter_db_option ::= WAL_RETENTION_SIZE NK_MINUS NK_INTEGER */ +{ + SToken t = yymsp[-1].minor.yy0; + t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; + yymsp[-2].minor.yy653.type = DB_OPTION_WAL_RETENTION_SIZE; yymsp[-2].minor.yy653.val = t; + } + break; + case 125: /* integer_list ::= NK_INTEGER */ { yylhsminor.yy172 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 122: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ - case 343: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==343); + case 126: /* integer_list ::= integer_list NK_COMMA NK_INTEGER */ + case 347: /* dnode_list ::= dnode_list DNODE NK_INTEGER */ yytestcase(yyruleno==347); { yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } yymsp[-2].minor.yy172 = yylhsminor.yy172; break; - case 123: /* variable_list ::= NK_VARIABLE */ + case 127: /* variable_list ::= NK_VARIABLE */ { yylhsminor.yy172 = createNodeList(pCxt, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 124: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ + case 128: /* variable_list ::= variable_list NK_COMMA NK_VARIABLE */ { yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[-2].minor.yy172 = yylhsminor.yy172; break; - case 125: /* retention_list ::= retention */ - case 155: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==155); - case 158: /* multi_drop_clause ::= drop_table_clause */ yytestcase(yyruleno==158); - case 165: /* column_def_list ::= column_def */ yytestcase(yyruleno==165); - case 209: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==209); - case 214: /* col_name_list ::= col_name */ yytestcase(yyruleno==214); - case 265: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==265); - case 279: /* func_list ::= func */ yytestcase(yyruleno==279); - case 372: /* literal_list ::= signed_literal */ yytestcase(yyruleno==372); - case 439: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==439); - case 445: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==445); - case 500: /* select_list ::= select_item */ yytestcase(yyruleno==500); - case 511: /* partition_list ::= partition_item */ yytestcase(yyruleno==511); - case 566: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==566); + case 129: /* retention_list ::= retention */ + case 159: /* multi_create_clause ::= create_subtable_clause */ yytestcase(yyruleno==159); + case 162: /* multi_drop_clause ::= drop_table_clause */ yytestcase(yyruleno==162); + case 169: /* column_def_list ::= column_def */ yytestcase(yyruleno==169); + case 213: /* rollup_func_list ::= rollup_func_name */ yytestcase(yyruleno==213); + case 218: /* col_name_list ::= col_name */ yytestcase(yyruleno==218); + case 269: /* tag_list_opt ::= tag_item */ yytestcase(yyruleno==269); + case 283: /* func_list ::= func */ yytestcase(yyruleno==283); + case 376: /* literal_list ::= signed_literal */ yytestcase(yyruleno==376); + case 443: /* other_para_list ::= star_func_para */ yytestcase(yyruleno==443); + case 449: /* when_then_list ::= when_then_expr */ yytestcase(yyruleno==449); + case 504: /* select_list ::= select_item */ yytestcase(yyruleno==504); + case 515: /* partition_list ::= partition_item */ yytestcase(yyruleno==515); + case 570: /* sort_specification_list ::= sort_specification */ yytestcase(yyruleno==570); { yylhsminor.yy172 = createNodeList(pCxt, yymsp[0].minor.yy188); } yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 126: /* retention_list ::= retention_list NK_COMMA retention */ - case 159: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==159); - case 166: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==166); - case 210: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==210); - case 215: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==215); - case 266: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==266); - case 280: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==280); - case 373: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==373); - case 440: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==440); - case 501: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==501); - case 512: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==512); - case 567: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==567); + case 130: /* retention_list ::= retention_list NK_COMMA retention */ + case 163: /* multi_drop_clause ::= multi_drop_clause NK_COMMA drop_table_clause */ yytestcase(yyruleno==163); + case 170: /* column_def_list ::= column_def_list NK_COMMA column_def */ yytestcase(yyruleno==170); + case 214: /* rollup_func_list ::= rollup_func_list NK_COMMA rollup_func_name */ yytestcase(yyruleno==214); + case 219: /* col_name_list ::= col_name_list NK_COMMA col_name */ yytestcase(yyruleno==219); + case 270: /* tag_list_opt ::= tag_list_opt NK_COMMA tag_item */ yytestcase(yyruleno==270); + case 284: /* func_list ::= func_list NK_COMMA func */ yytestcase(yyruleno==284); + case 377: /* literal_list ::= literal_list NK_COMMA signed_literal */ yytestcase(yyruleno==377); + case 444: /* other_para_list ::= other_para_list NK_COMMA star_func_para */ yytestcase(yyruleno==444); + case 505: /* select_list ::= select_list NK_COMMA select_item */ yytestcase(yyruleno==505); + case 516: /* partition_list ::= partition_list NK_COMMA partition_item */ yytestcase(yyruleno==516); + case 571: /* sort_specification_list ::= sort_specification_list NK_COMMA sort_specification */ yytestcase(yyruleno==571); { yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, yymsp[0].minor.yy188); } yymsp[-2].minor.yy172 = yylhsminor.yy172; break; - case 127: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ + case 131: /* retention ::= NK_VARIABLE NK_COLON NK_VARIABLE */ { yylhsminor.yy188 = createNodeListNodeEx(pCxt, createDurationValueNode(pCxt, &yymsp[-2].minor.yy0), createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 128: /* speed_opt ::= */ - case 312: /* bufsize_opt ::= */ yytestcase(yyruleno==312); + case 132: /* speed_opt ::= */ + case 316: /* bufsize_opt ::= */ yytestcase(yyruleno==316); { yymsp[1].minor.yy136 = 0; } break; - case 129: /* speed_opt ::= MAX_SPEED NK_INTEGER */ - case 313: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==313); + case 133: /* speed_opt ::= MAX_SPEED NK_INTEGER */ + case 317: /* bufsize_opt ::= BUFSIZE NK_INTEGER */ yytestcase(yyruleno==317); { yymsp[-1].minor.yy136 = taosStr2Int32(yymsp[0].minor.yy0.z, NULL, 10); } break; - case 130: /* start_opt ::= */ - case 134: /* end_opt ::= */ yytestcase(yyruleno==134); - case 259: /* like_pattern_opt ::= */ yytestcase(yyruleno==259); - case 332: /* subtable_opt ::= */ yytestcase(yyruleno==332); - case 448: /* case_when_else_opt ::= */ yytestcase(yyruleno==448); - case 478: /* from_clause_opt ::= */ yytestcase(yyruleno==478); - case 507: /* where_clause_opt ::= */ yytestcase(yyruleno==507); - case 516: /* twindow_clause_opt ::= */ yytestcase(yyruleno==516); - case 522: /* sliding_opt ::= */ yytestcase(yyruleno==522); - case 524: /* fill_opt ::= */ yytestcase(yyruleno==524); - case 538: /* having_clause_opt ::= */ yytestcase(yyruleno==538); - case 540: /* range_opt ::= */ yytestcase(yyruleno==540); - case 542: /* every_opt ::= */ yytestcase(yyruleno==542); - case 555: /* slimit_clause_opt ::= */ yytestcase(yyruleno==555); - case 559: /* limit_clause_opt ::= */ yytestcase(yyruleno==559); + case 134: /* start_opt ::= */ + case 138: /* end_opt ::= */ yytestcase(yyruleno==138); + case 263: /* like_pattern_opt ::= */ yytestcase(yyruleno==263); + case 336: /* subtable_opt ::= */ yytestcase(yyruleno==336); + case 452: /* case_when_else_opt ::= */ yytestcase(yyruleno==452); + case 482: /* from_clause_opt ::= */ yytestcase(yyruleno==482); + case 511: /* where_clause_opt ::= */ yytestcase(yyruleno==511); + case 520: /* twindow_clause_opt ::= */ yytestcase(yyruleno==520); + case 526: /* sliding_opt ::= */ yytestcase(yyruleno==526); + case 528: /* fill_opt ::= */ yytestcase(yyruleno==528); + case 542: /* having_clause_opt ::= */ yytestcase(yyruleno==542); + case 544: /* range_opt ::= */ yytestcase(yyruleno==544); + case 546: /* every_opt ::= */ yytestcase(yyruleno==546); + case 559: /* slimit_clause_opt ::= */ yytestcase(yyruleno==559); + case 563: /* limit_clause_opt ::= */ yytestcase(yyruleno==563); { yymsp[1].minor.yy188 = NULL; } break; - case 131: /* start_opt ::= START WITH NK_INTEGER */ - case 135: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==135); + case 135: /* start_opt ::= START WITH NK_INTEGER */ + case 139: /* end_opt ::= END WITH NK_INTEGER */ yytestcase(yyruleno==139); { yymsp[-2].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0); } break; - case 132: /* start_opt ::= START WITH NK_STRING */ - case 136: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==136); + case 136: /* start_opt ::= START WITH NK_STRING */ + case 140: /* end_opt ::= END WITH NK_STRING */ yytestcase(yyruleno==140); { yymsp[-2].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 133: /* start_opt ::= START WITH TIMESTAMP NK_STRING */ - case 137: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==137); + case 137: /* start_opt ::= START WITH TIMESTAMP NK_STRING */ + case 141: /* end_opt ::= END WITH TIMESTAMP NK_STRING */ yytestcase(yyruleno==141); { yymsp[-3].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 138: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ - case 140: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==140); + case 142: /* cmd ::= CREATE TABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def_opt table_options */ + case 144: /* cmd ::= CREATE STABLE not_exists_opt full_table_name NK_LP column_def_list NK_RP tags_def table_options */ yytestcase(yyruleno==144); { pCxt->pRootNode = createCreateTableStmt(pCxt, yymsp[-6].minor.yy437, yymsp[-5].minor.yy188, yymsp[-3].minor.yy172, yymsp[-1].minor.yy172, yymsp[0].minor.yy188); } break; - case 139: /* cmd ::= CREATE TABLE multi_create_clause */ + case 143: /* cmd ::= CREATE TABLE multi_create_clause */ { pCxt->pRootNode = createCreateMultiTableStmt(pCxt, yymsp[0].minor.yy172); } break; - case 141: /* cmd ::= DROP TABLE multi_drop_clause */ + case 145: /* cmd ::= DROP TABLE multi_drop_clause */ { pCxt->pRootNode = createDropTableStmt(pCxt, yymsp[0].minor.yy172); } break; - case 142: /* cmd ::= DROP STABLE exists_opt full_table_name */ + case 146: /* cmd ::= DROP STABLE exists_opt full_table_name */ { pCxt->pRootNode = createDropSuperTableStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy188); } break; - case 143: /* cmd ::= ALTER TABLE alter_table_clause */ - case 345: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==345); - case 346: /* cmd ::= insert_query */ yytestcase(yyruleno==346); + case 147: /* cmd ::= ALTER TABLE alter_table_clause */ + case 349: /* cmd ::= query_or_subquery */ yytestcase(yyruleno==349); + case 350: /* cmd ::= insert_query */ yytestcase(yyruleno==350); { pCxt->pRootNode = yymsp[0].minor.yy188; } break; - case 144: /* cmd ::= ALTER STABLE alter_table_clause */ + case 148: /* cmd ::= ALTER STABLE alter_table_clause */ { pCxt->pRootNode = setAlterSuperTableType(yymsp[0].minor.yy188); } break; - case 145: /* alter_table_clause ::= full_table_name alter_table_options */ + case 149: /* alter_table_clause ::= full_table_name alter_table_options */ { yylhsminor.yy188 = createAlterTableModifyOptions(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 146: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ + case 150: /* alter_table_clause ::= full_table_name ADD COLUMN column_name type_name */ { yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_ADD_COLUMN, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 147: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ + case 151: /* alter_table_clause ::= full_table_name DROP COLUMN column_name */ { yylhsminor.yy188 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy188, TSDB_ALTER_TABLE_DROP_COLUMN, &yymsp[0].minor.yy725); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 148: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ + case 152: /* alter_table_clause ::= full_table_name MODIFY COLUMN column_name type_name */ { yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_COLUMN_BYTES, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 149: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ + case 153: /* alter_table_clause ::= full_table_name RENAME COLUMN column_name column_name */ { yylhsminor.yy188 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_COLUMN_NAME, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 150: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ + case 154: /* alter_table_clause ::= full_table_name ADD TAG column_name type_name */ { yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_ADD_TAG, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 151: /* alter_table_clause ::= full_table_name DROP TAG column_name */ + case 155: /* alter_table_clause ::= full_table_name DROP TAG column_name */ { yylhsminor.yy188 = createAlterTableDropCol(pCxt, yymsp[-3].minor.yy188, TSDB_ALTER_TABLE_DROP_TAG, &yymsp[0].minor.yy725); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 152: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ + case 156: /* alter_table_clause ::= full_table_name MODIFY TAG column_name type_name */ { yylhsminor.yy188 = createAlterTableAddModifyCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_TAG_BYTES, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160); } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 153: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ + case 157: /* alter_table_clause ::= full_table_name RENAME TAG column_name column_name */ { yylhsminor.yy188 = createAlterTableRenameCol(pCxt, yymsp[-4].minor.yy188, TSDB_ALTER_TABLE_UPDATE_TAG_NAME, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 154: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ + case 158: /* alter_table_clause ::= full_table_name SET TAG column_name NK_EQ signed_literal */ { yylhsminor.yy188 = createAlterTableSetTag(pCxt, yymsp[-5].minor.yy188, &yymsp[-2].minor.yy725, yymsp[0].minor.yy188); } yymsp[-5].minor.yy188 = yylhsminor.yy188; break; - case 156: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ - case 446: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==446); + case 160: /* multi_create_clause ::= multi_create_clause create_subtable_clause */ + case 450: /* when_then_list ::= when_then_list when_then_expr */ yytestcase(yyruleno==450); { yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-1].minor.yy172, yymsp[0].minor.yy188); } yymsp[-1].minor.yy172 = yylhsminor.yy172; break; - case 157: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ + case 161: /* create_subtable_clause ::= not_exists_opt full_table_name USING full_table_name specific_cols_opt TAGS NK_LP expression_list NK_RP table_options */ { yylhsminor.yy188 = createCreateSubTableClause(pCxt, yymsp[-9].minor.yy437, yymsp[-8].minor.yy188, yymsp[-6].minor.yy188, yymsp[-5].minor.yy172, yymsp[-2].minor.yy172, yymsp[0].minor.yy188); } yymsp[-9].minor.yy188 = yylhsminor.yy188; break; - case 160: /* drop_table_clause ::= exists_opt full_table_name */ + case 164: /* drop_table_clause ::= exists_opt full_table_name */ { yylhsminor.yy188 = createDropTableClause(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy188); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 161: /* specific_cols_opt ::= */ - case 192: /* tags_def_opt ::= */ yytestcase(yyruleno==192); - case 264: /* tag_list_opt ::= */ yytestcase(yyruleno==264); - case 318: /* col_list_opt ::= */ yytestcase(yyruleno==318); - case 320: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==320); - case 509: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==509); - case 534: /* group_by_clause_opt ::= */ yytestcase(yyruleno==534); - case 553: /* order_by_clause_opt ::= */ yytestcase(yyruleno==553); + case 165: /* specific_cols_opt ::= */ + case 196: /* tags_def_opt ::= */ yytestcase(yyruleno==196); + case 268: /* tag_list_opt ::= */ yytestcase(yyruleno==268); + case 322: /* col_list_opt ::= */ yytestcase(yyruleno==322); + case 324: /* tag_def_or_ref_opt ::= */ yytestcase(yyruleno==324); + case 513: /* partition_by_clause_opt ::= */ yytestcase(yyruleno==513); + case 538: /* group_by_clause_opt ::= */ yytestcase(yyruleno==538); + case 557: /* order_by_clause_opt ::= */ yytestcase(yyruleno==557); { yymsp[1].minor.yy172 = NULL; } break; - case 162: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ - case 319: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==319); + case 166: /* specific_cols_opt ::= NK_LP col_name_list NK_RP */ + case 323: /* col_list_opt ::= NK_LP col_name_list NK_RP */ yytestcase(yyruleno==323); { yymsp[-2].minor.yy172 = yymsp[-1].minor.yy172; } break; - case 163: /* full_table_name ::= table_name */ + case 167: /* full_table_name ::= table_name */ { yylhsminor.yy188 = createRealTableNode(pCxt, NULL, &yymsp[0].minor.yy725, NULL); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 164: /* full_table_name ::= db_name NK_DOT table_name */ + case 168: /* full_table_name ::= db_name NK_DOT table_name */ { yylhsminor.yy188 = createRealTableNode(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725, NULL); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 167: /* column_def ::= column_name type_name */ + case 171: /* column_def ::= column_name type_name */ { yylhsminor.yy188 = createColumnDefNode(pCxt, &yymsp[-1].minor.yy725, yymsp[0].minor.yy160, NULL); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 168: /* column_def ::= column_name type_name COMMENT NK_STRING */ + case 172: /* column_def ::= column_name type_name COMMENT NK_STRING */ { yylhsminor.yy188 = createColumnDefNode(pCxt, &yymsp[-3].minor.yy725, yymsp[-2].minor.yy160, &yymsp[0].minor.yy0); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 169: /* type_name ::= BOOL */ + case 173: /* type_name ::= BOOL */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_BOOL); } break; - case 170: /* type_name ::= TINYINT */ + case 174: /* type_name ::= TINYINT */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_TINYINT); } break; - case 171: /* type_name ::= SMALLINT */ + case 175: /* type_name ::= SMALLINT */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_SMALLINT); } break; - case 172: /* type_name ::= INT */ - case 173: /* type_name ::= INTEGER */ yytestcase(yyruleno==173); + case 176: /* type_name ::= INT */ + case 177: /* type_name ::= INTEGER */ yytestcase(yyruleno==177); { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_INT); } break; - case 174: /* type_name ::= BIGINT */ + case 178: /* type_name ::= BIGINT */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_BIGINT); } break; - case 175: /* type_name ::= FLOAT */ + case 179: /* type_name ::= FLOAT */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_FLOAT); } break; - case 176: /* type_name ::= DOUBLE */ + case 180: /* type_name ::= DOUBLE */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_DOUBLE); } break; - case 177: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ + case 181: /* type_name ::= BINARY NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_BINARY, &yymsp[-1].minor.yy0); } break; - case 178: /* type_name ::= TIMESTAMP */ + case 182: /* type_name ::= TIMESTAMP */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_TIMESTAMP); } break; - case 179: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ + case 183: /* type_name ::= NCHAR NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_NCHAR, &yymsp[-1].minor.yy0); } break; - case 180: /* type_name ::= TINYINT UNSIGNED */ + case 184: /* type_name ::= TINYINT UNSIGNED */ { yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_UTINYINT); } break; - case 181: /* type_name ::= SMALLINT UNSIGNED */ + case 185: /* type_name ::= SMALLINT UNSIGNED */ { yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_USMALLINT); } break; - case 182: /* type_name ::= INT UNSIGNED */ + case 186: /* type_name ::= INT UNSIGNED */ { yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_UINT); } break; - case 183: /* type_name ::= BIGINT UNSIGNED */ + case 187: /* type_name ::= BIGINT UNSIGNED */ { yymsp[-1].minor.yy160 = createDataType(TSDB_DATA_TYPE_UBIGINT); } break; - case 184: /* type_name ::= JSON */ + case 188: /* type_name ::= JSON */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_JSON); } break; - case 185: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ + case 189: /* type_name ::= VARCHAR NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_VARCHAR, &yymsp[-1].minor.yy0); } break; - case 186: /* type_name ::= MEDIUMBLOB */ + case 190: /* type_name ::= MEDIUMBLOB */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_MEDIUMBLOB); } break; - case 187: /* type_name ::= BLOB */ + case 191: /* type_name ::= BLOB */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_BLOB); } break; - case 188: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ + case 192: /* type_name ::= VARBINARY NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy160 = createVarLenDataType(TSDB_DATA_TYPE_VARBINARY, &yymsp[-1].minor.yy0); } break; - case 189: /* type_name ::= DECIMAL */ + case 193: /* type_name ::= DECIMAL */ { yymsp[0].minor.yy160 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 190: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ + case 194: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_RP */ { yymsp[-3].minor.yy160 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 191: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ + case 195: /* type_name ::= DECIMAL NK_LP NK_INTEGER NK_COMMA NK_INTEGER NK_RP */ { yymsp[-5].minor.yy160 = createDataType(TSDB_DATA_TYPE_DECIMAL); } break; - case 193: /* tags_def_opt ::= tags_def */ - case 321: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==321); - case 438: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==438); + case 197: /* tags_def_opt ::= tags_def */ + case 325: /* tag_def_or_ref_opt ::= tags_def */ yytestcase(yyruleno==325); + case 442: /* star_func_para_list ::= other_para_list */ yytestcase(yyruleno==442); { yylhsminor.yy172 = yymsp[0].minor.yy172; } yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 194: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ - case 322: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==322); + case 198: /* tags_def ::= TAGS NK_LP column_def_list NK_RP */ + case 326: /* tag_def_or_ref_opt ::= TAGS NK_LP col_name_list NK_RP */ yytestcase(yyruleno==326); { yymsp[-3].minor.yy172 = yymsp[-1].minor.yy172; } break; - case 195: /* table_options ::= */ + case 199: /* table_options ::= */ { yymsp[1].minor.yy188 = createDefaultTableOptions(pCxt); } break; - case 196: /* table_options ::= table_options COMMENT NK_STRING */ + case 200: /* table_options ::= table_options COMMENT NK_STRING */ { yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_COMMENT, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 197: /* table_options ::= table_options MAX_DELAY duration_list */ + case 201: /* table_options ::= table_options MAX_DELAY duration_list */ { yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_MAXDELAY, yymsp[0].minor.yy172); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 198: /* table_options ::= table_options WATERMARK duration_list */ + case 202: /* table_options ::= table_options WATERMARK duration_list */ { yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_WATERMARK, yymsp[0].minor.yy172); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 199: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ + case 203: /* table_options ::= table_options ROLLUP NK_LP rollup_func_list NK_RP */ { yylhsminor.yy188 = setTableOption(pCxt, yymsp[-4].minor.yy188, TABLE_OPTION_ROLLUP, yymsp[-1].minor.yy172); } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 200: /* table_options ::= table_options TTL NK_INTEGER */ + case 204: /* table_options ::= table_options TTL NK_INTEGER */ { yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_TTL, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 201: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ + case 205: /* table_options ::= table_options SMA NK_LP col_name_list NK_RP */ { yylhsminor.yy188 = setTableOption(pCxt, yymsp[-4].minor.yy188, TABLE_OPTION_SMA, yymsp[-1].minor.yy172); } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 202: /* table_options ::= table_options DELETE_MARK duration_list */ + case 206: /* table_options ::= table_options DELETE_MARK duration_list */ { yylhsminor.yy188 = setTableOption(pCxt, yymsp[-2].minor.yy188, TABLE_OPTION_DELETE_MARK, yymsp[0].minor.yy172); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 203: /* alter_table_options ::= alter_table_option */ + case 207: /* alter_table_options ::= alter_table_option */ { yylhsminor.yy188 = createAlterTableOptions(pCxt); yylhsminor.yy188 = setTableOption(pCxt, yylhsminor.yy188, yymsp[0].minor.yy653.type, &yymsp[0].minor.yy653.val); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 204: /* alter_table_options ::= alter_table_options alter_table_option */ + case 208: /* alter_table_options ::= alter_table_options alter_table_option */ { yylhsminor.yy188 = setTableOption(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy653.type, &yymsp[0].minor.yy653.val); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 205: /* alter_table_option ::= COMMENT NK_STRING */ + case 209: /* alter_table_option ::= COMMENT NK_STRING */ { yymsp[-1].minor.yy653.type = TABLE_OPTION_COMMENT; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; - case 206: /* alter_table_option ::= TTL NK_INTEGER */ + case 210: /* alter_table_option ::= TTL NK_INTEGER */ { yymsp[-1].minor.yy653.type = TABLE_OPTION_TTL; yymsp[-1].minor.yy653.val = yymsp[0].minor.yy0; } break; - case 207: /* duration_list ::= duration_literal */ - case 402: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==402); + case 211: /* duration_list ::= duration_literal */ + case 406: /* expression_list ::= expr_or_subquery */ yytestcase(yyruleno==406); { yylhsminor.yy172 = createNodeList(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 208: /* duration_list ::= duration_list NK_COMMA duration_literal */ - case 403: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==403); + case 212: /* duration_list ::= duration_list NK_COMMA duration_literal */ + case 407: /* expression_list ::= expression_list NK_COMMA expr_or_subquery */ yytestcase(yyruleno==407); { yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } yymsp[-2].minor.yy172 = yylhsminor.yy172; break; - case 211: /* rollup_func_name ::= function_name */ + case 215: /* rollup_func_name ::= function_name */ { yylhsminor.yy188 = createFunctionNode(pCxt, &yymsp[0].minor.yy725, NULL); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 212: /* rollup_func_name ::= FIRST */ - case 213: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==213); - case 268: /* tag_item ::= QTAGS */ yytestcase(yyruleno==268); + case 216: /* rollup_func_name ::= FIRST */ + case 217: /* rollup_func_name ::= LAST */ yytestcase(yyruleno==217); + case 272: /* tag_item ::= QTAGS */ yytestcase(yyruleno==272); { yylhsminor.yy188 = createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 216: /* col_name ::= column_name */ - case 269: /* tag_item ::= column_name */ yytestcase(yyruleno==269); + case 220: /* col_name ::= column_name */ + case 273: /* tag_item ::= column_name */ yytestcase(yyruleno==273); { yylhsminor.yy188 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy725); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 217: /* cmd ::= SHOW DNODES */ + case 221: /* cmd ::= SHOW DNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DNODES_STMT); } break; - case 218: /* cmd ::= SHOW USERS */ + case 222: /* cmd ::= SHOW USERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_USERS_STMT); } break; - case 219: /* cmd ::= SHOW USER PRIVILEGES */ + case 223: /* cmd ::= SHOW USER PRIVILEGES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_USER_PRIVILEGES_STMT); } break; - case 220: /* cmd ::= SHOW DATABASES */ + case 224: /* cmd ::= SHOW DATABASES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_DATABASES_STMT); } break; - case 221: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ + case 225: /* cmd ::= SHOW db_name_cond_opt TABLES like_pattern_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TABLES_STMT, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, OP_TYPE_LIKE); } break; - case 222: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ + case 226: /* cmd ::= SHOW db_name_cond_opt STABLES like_pattern_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_STABLES_STMT, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, OP_TYPE_LIKE); } break; - case 223: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ + case 227: /* cmd ::= SHOW db_name_cond_opt VGROUPS */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_VGROUPS_STMT, yymsp[-1].minor.yy188, NULL, OP_TYPE_LIKE); } break; - case 224: /* cmd ::= SHOW MNODES */ + case 228: /* cmd ::= SHOW MNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_MNODES_STMT); } break; - case 225: /* cmd ::= SHOW QNODES */ + case 229: /* cmd ::= SHOW QNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QNODES_STMT); } break; - case 226: /* cmd ::= SHOW FUNCTIONS */ + case 230: /* cmd ::= SHOW FUNCTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_FUNCTIONS_STMT); } break; - case 227: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ + case 231: /* cmd ::= SHOW INDEXES FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_INDEXES_STMT, yymsp[0].minor.yy188, yymsp[-1].minor.yy188, OP_TYPE_EQUAL); } break; - case 228: /* cmd ::= SHOW STREAMS */ + case 232: /* cmd ::= SHOW STREAMS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_STREAMS_STMT); } break; - case 229: /* cmd ::= SHOW ACCOUNTS */ + case 233: /* cmd ::= SHOW ACCOUNTS */ { pCxt->errCode = generateSyntaxErrMsg(&pCxt->msgBuf, TSDB_CODE_PAR_EXPRIE_STATEMENT); } break; - case 230: /* cmd ::= SHOW APPS */ + case 234: /* cmd ::= SHOW APPS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_APPS_STMT); } break; - case 231: /* cmd ::= SHOW CONNECTIONS */ + case 235: /* cmd ::= SHOW CONNECTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONNECTIONS_STMT); } break; - case 232: /* cmd ::= SHOW LICENCES */ - case 233: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==233); + case 236: /* cmd ::= SHOW LICENCES */ + case 237: /* cmd ::= SHOW GRANTS */ yytestcase(yyruleno==237); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LICENCES_STMT); } break; - case 234: /* cmd ::= SHOW CREATE DATABASE db_name */ + case 238: /* cmd ::= SHOW CREATE DATABASE db_name */ { pCxt->pRootNode = createShowCreateDatabaseStmt(pCxt, &yymsp[0].minor.yy725); } break; - case 235: /* cmd ::= SHOW CREATE TABLE full_table_name */ + case 239: /* cmd ::= SHOW CREATE TABLE full_table_name */ { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_TABLE_STMT, yymsp[0].minor.yy188); } break; - case 236: /* cmd ::= SHOW CREATE STABLE full_table_name */ + case 240: /* cmd ::= SHOW CREATE STABLE full_table_name */ { pCxt->pRootNode = createShowCreateTableStmt(pCxt, QUERY_NODE_SHOW_CREATE_STABLE_STMT, yymsp[0].minor.yy188); } break; - case 237: /* cmd ::= SHOW QUERIES */ + case 241: /* cmd ::= SHOW QUERIES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_QUERIES_STMT); } break; - case 238: /* cmd ::= SHOW SCORES */ + case 242: /* cmd ::= SHOW SCORES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SCORES_STMT); } break; - case 239: /* cmd ::= SHOW TOPICS */ + case 243: /* cmd ::= SHOW TOPICS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TOPICS_STMT); } break; - case 240: /* cmd ::= SHOW VARIABLES */ - case 241: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==241); + case 244: /* cmd ::= SHOW VARIABLES */ + case 245: /* cmd ::= SHOW CLUSTER VARIABLES */ yytestcase(yyruleno==245); { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_VARIABLES_STMT); } break; - case 242: /* cmd ::= SHOW LOCAL VARIABLES */ + case 246: /* cmd ::= SHOW LOCAL VARIABLES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_LOCAL_VARIABLES_STMT); } break; - case 243: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ + case 247: /* cmd ::= SHOW DNODE NK_INTEGER VARIABLES like_pattern_opt */ { pCxt->pRootNode = createShowDnodeVariablesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[-2].minor.yy0), yymsp[0].minor.yy188); } break; - case 244: /* cmd ::= SHOW BNODES */ + case 248: /* cmd ::= SHOW BNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_BNODES_STMT); } break; - case 245: /* cmd ::= SHOW SNODES */ + case 249: /* cmd ::= SHOW SNODES */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SNODES_STMT); } break; - case 246: /* cmd ::= SHOW CLUSTER */ + case 250: /* cmd ::= SHOW CLUSTER */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CLUSTER_STMT); } break; - case 247: /* cmd ::= SHOW TRANSACTIONS */ + case 251: /* cmd ::= SHOW TRANSACTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_TRANSACTIONS_STMT); } break; - case 248: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ + case 252: /* cmd ::= SHOW TABLE DISTRIBUTED full_table_name */ { pCxt->pRootNode = createShowTableDistributedStmt(pCxt, yymsp[0].minor.yy188); } break; - case 249: /* cmd ::= SHOW CONSUMERS */ + case 253: /* cmd ::= SHOW CONSUMERS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_CONSUMERS_STMT); } break; - case 250: /* cmd ::= SHOW SUBSCRIPTIONS */ + case 254: /* cmd ::= SHOW SUBSCRIPTIONS */ { pCxt->pRootNode = createShowStmt(pCxt, QUERY_NODE_SHOW_SUBSCRIPTIONS_STMT); } break; - case 251: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ + case 255: /* cmd ::= SHOW TAGS FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowStmtWithCond(pCxt, QUERY_NODE_SHOW_TAGS_STMT, yymsp[0].minor.yy188, yymsp[-1].minor.yy188, OP_TYPE_EQUAL); } break; - case 252: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ + case 256: /* cmd ::= SHOW TABLE TAGS tag_list_opt FROM table_name_cond from_db_opt */ { pCxt->pRootNode = createShowTableTagsStmt(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy188, yymsp[-3].minor.yy172); } break; - case 253: /* cmd ::= SHOW VNODES NK_INTEGER */ + case 257: /* cmd ::= SHOW VNODES NK_INTEGER */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0), NULL); } break; - case 254: /* cmd ::= SHOW VNODES NK_STRING */ + case 258: /* cmd ::= SHOW VNODES NK_STRING */ { pCxt->pRootNode = createShowVnodesStmt(pCxt, NULL, createValueNode(pCxt, TSDB_DATA_TYPE_VARCHAR, &yymsp[0].minor.yy0)); } break; - case 255: /* cmd ::= SHOW db_name_cond_opt ALIVE */ + case 259: /* cmd ::= SHOW db_name_cond_opt ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, yymsp[-1].minor.yy188, QUERY_NODE_SHOW_DB_ALIVE_STMT); } break; - case 256: /* cmd ::= SHOW CLUSTER ALIVE */ + case 260: /* cmd ::= SHOW CLUSTER ALIVE */ { pCxt->pRootNode = createShowAliveStmt(pCxt, NULL, QUERY_NODE_SHOW_CLUSTER_ALIVE_STMT); } break; - case 257: /* db_name_cond_opt ::= */ - case 262: /* from_db_opt ::= */ yytestcase(yyruleno==262); + case 261: /* db_name_cond_opt ::= */ + case 266: /* from_db_opt ::= */ yytestcase(yyruleno==266); { yymsp[1].minor.yy188 = createDefaultDatabaseCondValue(pCxt); } break; - case 258: /* db_name_cond_opt ::= db_name NK_DOT */ + case 262: /* db_name_cond_opt ::= db_name NK_DOT */ { yylhsminor.yy188 = createIdentifierValueNode(pCxt, &yymsp[-1].minor.yy725); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 260: /* like_pattern_opt ::= LIKE NK_STRING */ + case 264: /* like_pattern_opt ::= LIKE NK_STRING */ { yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } break; - case 261: /* table_name_cond ::= table_name */ + case 265: /* table_name_cond ::= table_name */ { yylhsminor.yy188 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy725); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 263: /* from_db_opt ::= FROM db_name */ + case 267: /* from_db_opt ::= FROM db_name */ { yymsp[-1].minor.yy188 = createIdentifierValueNode(pCxt, &yymsp[0].minor.yy725); } break; - case 267: /* tag_item ::= TBNAME */ + case 271: /* tag_item ::= TBNAME */ { yylhsminor.yy188 = setProjectionAlias(pCxt, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL), &yymsp[0].minor.yy0); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 270: /* tag_item ::= column_name column_alias */ + case 274: /* tag_item ::= column_name column_alias */ { yylhsminor.yy188 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-1].minor.yy725), &yymsp[0].minor.yy725); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 271: /* tag_item ::= column_name AS column_alias */ + case 275: /* tag_item ::= column_name AS column_alias */ { yylhsminor.yy188 = setProjectionAlias(pCxt, createColumnNode(pCxt, NULL, &yymsp[-2].minor.yy725), &yymsp[0].minor.yy725); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 272: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ + case 276: /* cmd ::= CREATE SMA INDEX not_exists_opt full_index_name ON full_table_name index_options */ { pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_SMA, yymsp[-4].minor.yy437, yymsp[-3].minor.yy188, yymsp[-1].minor.yy188, NULL, yymsp[0].minor.yy188); } break; - case 273: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ + case 277: /* cmd ::= CREATE INDEX not_exists_opt full_index_name ON full_table_name NK_LP col_name_list NK_RP */ { pCxt->pRootNode = createCreateIndexStmt(pCxt, INDEX_TYPE_NORMAL, yymsp[-6].minor.yy437, yymsp[-5].minor.yy188, yymsp[-3].minor.yy188, yymsp[-1].minor.yy172, NULL); } break; - case 274: /* cmd ::= DROP INDEX exists_opt full_index_name */ + case 278: /* cmd ::= DROP INDEX exists_opt full_index_name */ { pCxt->pRootNode = createDropIndexStmt(pCxt, yymsp[-1].minor.yy437, yymsp[0].minor.yy188); } break; - case 275: /* full_index_name ::= index_name */ + case 279: /* full_index_name ::= index_name */ { yylhsminor.yy188 = createRealTableNodeForIndexName(pCxt, NULL, &yymsp[0].minor.yy725); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 276: /* full_index_name ::= db_name NK_DOT index_name */ + case 280: /* full_index_name ::= db_name NK_DOT index_name */ { yylhsminor.yy188 = createRealTableNodeForIndexName(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 277: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ + case 281: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_RP sliding_opt sma_stream_opt */ { yymsp[-9].minor.yy188 = createIndexOption(pCxt, yymsp[-7].minor.yy172, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), NULL, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 278: /* 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 282: /* index_options ::= FUNCTION NK_LP func_list NK_RP INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt sma_stream_opt */ { yymsp[-11].minor.yy188 = createIndexOption(pCxt, yymsp[-9].minor.yy172, releaseRawExprNode(pCxt, yymsp[-5].minor.yy188), releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 281: /* func ::= sma_func_name NK_LP expression_list NK_RP */ + case 285: /* func ::= sma_func_name NK_LP expression_list NK_RP */ { yylhsminor.yy188 = createFunctionNode(pCxt, &yymsp[-3].minor.yy725, yymsp[-1].minor.yy172); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 287: /* sma_stream_opt ::= */ - case 323: /* stream_options ::= */ yytestcase(yyruleno==323); + case 291: /* sma_stream_opt ::= */ + case 327: /* stream_options ::= */ yytestcase(yyruleno==327); { yymsp[1].minor.yy188 = createStreamOptions(pCxt); } break; - case 288: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ + case 292: /* sma_stream_opt ::= sma_stream_opt WATERMARK duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy188)->pWatermark = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = yymsp[-2].minor.yy188; } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 289: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ + case 293: /* sma_stream_opt ::= sma_stream_opt MAX_DELAY duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy188)->pDelay = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = yymsp[-2].minor.yy188; } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 290: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ + case 294: /* sma_stream_opt ::= sma_stream_opt DELETE_MARK duration_literal */ { ((SStreamOptions*)yymsp[-2].minor.yy188)->pDeleteMark = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = yymsp[-2].minor.yy188; } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 291: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ + case 295: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS query_or_subquery */ { pCxt->pRootNode = createCreateTopicStmtUseQuery(pCxt, yymsp[-3].minor.yy437, &yymsp[-2].minor.yy725, yymsp[0].minor.yy188); } break; - case 292: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ + case 296: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS DATABASE db_name */ { pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-4].minor.yy437, &yymsp[-3].minor.yy725, &yymsp[0].minor.yy725, false); } break; - case 293: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ + case 297: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS DATABASE db_name */ { pCxt->pRootNode = createCreateTopicStmtUseDb(pCxt, yymsp[-6].minor.yy437, &yymsp[-5].minor.yy725, &yymsp[0].minor.yy725, true); } break; - case 294: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ + case 298: /* cmd ::= CREATE TOPIC not_exists_opt topic_name AS STABLE full_table_name */ { pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-4].minor.yy437, &yymsp[-3].minor.yy725, yymsp[0].minor.yy188, false); } break; - case 295: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ + case 299: /* cmd ::= CREATE TOPIC not_exists_opt topic_name WITH META AS STABLE full_table_name */ { pCxt->pRootNode = createCreateTopicStmtUseTable(pCxt, yymsp[-6].minor.yy437, &yymsp[-5].minor.yy725, yymsp[0].minor.yy188, true); } break; - case 296: /* cmd ::= DROP TOPIC exists_opt topic_name */ + case 300: /* cmd ::= DROP TOPIC exists_opt topic_name */ { pCxt->pRootNode = createDropTopicStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; - case 297: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ + case 301: /* cmd ::= DROP CONSUMER GROUP exists_opt cgroup_name ON topic_name */ { pCxt->pRootNode = createDropCGroupStmt(pCxt, yymsp[-3].minor.yy437, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725); } break; - case 298: /* cmd ::= DESC full_table_name */ - case 299: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==299); + case 302: /* cmd ::= DESC full_table_name */ + case 303: /* cmd ::= DESCRIBE full_table_name */ yytestcase(yyruleno==303); { pCxt->pRootNode = createDescribeStmt(pCxt, yymsp[0].minor.yy188); } break; - case 300: /* cmd ::= RESET QUERY CACHE */ + case 304: /* cmd ::= RESET QUERY CACHE */ { pCxt->pRootNode = createResetQueryCacheStmt(pCxt); } break; - case 301: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ - case 302: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==302); + case 305: /* cmd ::= EXPLAIN analyze_opt explain_options query_or_subquery */ + case 306: /* cmd ::= EXPLAIN analyze_opt explain_options insert_query */ yytestcase(yyruleno==306); { pCxt->pRootNode = createExplainStmt(pCxt, yymsp[-2].minor.yy437, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 305: /* explain_options ::= */ + case 309: /* explain_options ::= */ { yymsp[1].minor.yy188 = createDefaultExplainOptions(pCxt); } break; - case 306: /* explain_options ::= explain_options VERBOSE NK_BOOL */ + case 310: /* explain_options ::= explain_options VERBOSE NK_BOOL */ { yylhsminor.yy188 = setExplainVerbose(pCxt, yymsp[-2].minor.yy188, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 307: /* explain_options ::= explain_options RATIO NK_FLOAT */ + case 311: /* explain_options ::= explain_options RATIO NK_FLOAT */ { yylhsminor.yy188 = setExplainRatio(pCxt, yymsp[-2].minor.yy188, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 308: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ + case 312: /* cmd ::= CREATE agg_func_opt FUNCTION not_exists_opt function_name AS NK_STRING OUTPUTTYPE type_name bufsize_opt language_opt */ { pCxt->pRootNode = createCreateFunctionStmt(pCxt, yymsp[-7].minor.yy437, yymsp[-9].minor.yy437, &yymsp[-6].minor.yy725, &yymsp[-4].minor.yy0, yymsp[-2].minor.yy160, yymsp[-1].minor.yy136, &yymsp[0].minor.yy725); } break; - case 309: /* cmd ::= DROP FUNCTION exists_opt function_name */ + case 313: /* cmd ::= DROP FUNCTION exists_opt function_name */ { pCxt->pRootNode = createDropFunctionStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; - case 314: /* language_opt ::= */ + case 318: /* language_opt ::= */ { yymsp[1].minor.yy725 = nil_token; } break; - case 315: /* language_opt ::= LANGUAGE NK_STRING */ + case 319: /* language_opt ::= LANGUAGE NK_STRING */ { yymsp[-1].minor.yy725 = yymsp[0].minor.yy0; } break; - case 316: /* 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 320: /* cmd ::= CREATE STREAM not_exists_opt stream_name stream_options INTO full_table_name col_list_opt tag_def_or_ref_opt subtable_opt AS query_or_subquery */ { pCxt->pRootNode = createCreateStreamStmt(pCxt, yymsp[-9].minor.yy437, &yymsp[-8].minor.yy725, yymsp[-5].minor.yy188, yymsp[-7].minor.yy188, yymsp[-3].minor.yy172, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, yymsp[-4].minor.yy172); } break; - case 317: /* cmd ::= DROP STREAM exists_opt stream_name */ + case 321: /* cmd ::= DROP STREAM exists_opt stream_name */ { pCxt->pRootNode = createDropStreamStmt(pCxt, yymsp[-1].minor.yy437, &yymsp[0].minor.yy725); } break; - case 324: /* stream_options ::= stream_options TRIGGER AT_ONCE */ - case 325: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==325); + case 328: /* stream_options ::= stream_options TRIGGER AT_ONCE */ + case 329: /* stream_options ::= stream_options TRIGGER WINDOW_CLOSE */ yytestcase(yyruleno==329); { yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_TRIGGER_TYPE_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 326: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ + case 330: /* stream_options ::= stream_options TRIGGER MAX_DELAY duration_literal */ { yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-3].minor.yy188, SOPT_TRIGGER_TYPE_SET, &yymsp[-1].minor.yy0, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 327: /* stream_options ::= stream_options WATERMARK duration_literal */ + case 331: /* stream_options ::= stream_options WATERMARK duration_literal */ { yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_WATERMARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 328: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ + case 332: /* stream_options ::= stream_options IGNORE EXPIRED NK_INTEGER */ { yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-3].minor.yy188, SOPT_IGNORE_EXPIRED_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 329: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ + case 333: /* stream_options ::= stream_options FILL_HISTORY NK_INTEGER */ { yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_FILL_HISTORY_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 330: /* stream_options ::= stream_options DELETE_MARK duration_literal */ + case 334: /* stream_options ::= stream_options DELETE_MARK duration_literal */ { yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-2].minor.yy188, SOPT_DELETE_MARK_SET, NULL, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 331: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ + case 335: /* stream_options ::= stream_options IGNORE UPDATE NK_INTEGER */ { yylhsminor.yy188 = setStreamOptions(pCxt, yymsp[-3].minor.yy188, SOPT_IGNORE_UPDATE_SET, &yymsp[0].minor.yy0, NULL); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 333: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ - case 523: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==523); - case 543: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==543); + case 337: /* subtable_opt ::= SUBTABLE NK_LP expression NK_RP */ + case 527: /* sliding_opt ::= SLIDING NK_LP duration_literal NK_RP */ yytestcase(yyruleno==527); + case 547: /* every_opt ::= EVERY NK_LP duration_literal NK_RP */ yytestcase(yyruleno==547); { yymsp[-3].minor.yy188 = releaseRawExprNode(pCxt, yymsp[-1].minor.yy188); } break; - case 334: /* cmd ::= KILL CONNECTION NK_INTEGER */ + case 338: /* cmd ::= KILL CONNECTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_CONNECTION_STMT, &yymsp[0].minor.yy0); } break; - case 335: /* cmd ::= KILL QUERY NK_STRING */ + case 339: /* cmd ::= KILL QUERY NK_STRING */ { pCxt->pRootNode = createKillQueryStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 336: /* cmd ::= KILL TRANSACTION NK_INTEGER */ + case 340: /* cmd ::= KILL TRANSACTION NK_INTEGER */ { pCxt->pRootNode = createKillStmt(pCxt, QUERY_NODE_KILL_TRANSACTION_STMT, &yymsp[0].minor.yy0); } break; - case 337: /* cmd ::= BALANCE VGROUP */ + case 341: /* cmd ::= BALANCE VGROUP */ { pCxt->pRootNode = createBalanceVgroupStmt(pCxt); } break; - case 338: /* cmd ::= BALANCE VGROUP LEADER */ + case 342: /* cmd ::= BALANCE VGROUP LEADER */ { pCxt->pRootNode = createBalanceVgroupLeaderStmt(pCxt); } break; - case 339: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ + case 343: /* cmd ::= MERGE VGROUP NK_INTEGER NK_INTEGER */ { pCxt->pRootNode = createMergeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0); } break; - case 340: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ + case 344: /* cmd ::= REDISTRIBUTE VGROUP NK_INTEGER dnode_list */ { pCxt->pRootNode = createRedistributeVgroupStmt(pCxt, &yymsp[-1].minor.yy0, yymsp[0].minor.yy172); } break; - case 341: /* cmd ::= SPLIT VGROUP NK_INTEGER */ + case 345: /* cmd ::= SPLIT VGROUP NK_INTEGER */ { pCxt->pRootNode = createSplitVgroupStmt(pCxt, &yymsp[0].minor.yy0); } break; - case 342: /* dnode_list ::= DNODE NK_INTEGER */ + case 346: /* dnode_list ::= DNODE NK_INTEGER */ { yymsp[-1].minor.yy172 = createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BIGINT, &yymsp[0].minor.yy0)); } break; - case 344: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ + case 348: /* cmd ::= DELETE FROM full_table_name where_clause_opt */ { pCxt->pRootNode = createDeleteStmt(pCxt, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 347: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ + case 351: /* insert_query ::= INSERT INTO full_table_name NK_LP col_name_list NK_RP query_or_subquery */ { yymsp[-6].minor.yy188 = createInsertStmt(pCxt, yymsp[-4].minor.yy188, yymsp[-2].minor.yy172, yymsp[0].minor.yy188); } break; - case 348: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ + case 352: /* insert_query ::= INSERT INTO full_table_name query_or_subquery */ { yymsp[-3].minor.yy188 = createInsertStmt(pCxt, yymsp[-1].minor.yy188, NULL, yymsp[0].minor.yy188); } break; - case 349: /* literal ::= NK_INTEGER */ + case 353: /* literal ::= NK_INTEGER */ { yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 350: /* literal ::= NK_FLOAT */ + case 354: /* literal ::= NK_FLOAT */ { yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 351: /* literal ::= NK_STRING */ + case 355: /* literal ::= NK_STRING */ { yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 352: /* literal ::= NK_BOOL */ + case 356: /* literal ::= NK_BOOL */ { yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 353: /* literal ::= TIMESTAMP NK_STRING */ + case 357: /* literal ::= TIMESTAMP NK_STRING */ { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0)); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 354: /* literal ::= duration_literal */ - case 364: /* signed_literal ::= signed */ yytestcase(yyruleno==364); - case 385: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==385); - case 386: /* expression ::= literal */ yytestcase(yyruleno==386); - case 387: /* expression ::= pseudo_column */ yytestcase(yyruleno==387); - case 388: /* expression ::= column_reference */ yytestcase(yyruleno==388); - case 389: /* expression ::= function_expression */ yytestcase(yyruleno==389); - case 390: /* expression ::= case_when_expression */ yytestcase(yyruleno==390); - case 421: /* function_expression ::= literal_func */ yytestcase(yyruleno==421); - case 470: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==470); - case 474: /* boolean_primary ::= predicate */ yytestcase(yyruleno==474); - case 476: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==476); - case 477: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==477); - case 480: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==480); - case 482: /* table_reference ::= table_primary */ yytestcase(yyruleno==482); - case 483: /* table_reference ::= joined_table */ yytestcase(yyruleno==483); - case 487: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==487); - case 545: /* query_simple ::= query_specification */ yytestcase(yyruleno==545); - case 546: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==546); - case 549: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==549); - case 551: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==551); + case 358: /* literal ::= duration_literal */ + case 368: /* signed_literal ::= signed */ yytestcase(yyruleno==368); + case 389: /* expr_or_subquery ::= expression */ yytestcase(yyruleno==389); + case 390: /* expression ::= literal */ yytestcase(yyruleno==390); + case 391: /* expression ::= pseudo_column */ yytestcase(yyruleno==391); + case 392: /* expression ::= column_reference */ yytestcase(yyruleno==392); + case 393: /* expression ::= function_expression */ yytestcase(yyruleno==393); + case 394: /* expression ::= case_when_expression */ yytestcase(yyruleno==394); + case 425: /* function_expression ::= literal_func */ yytestcase(yyruleno==425); + case 474: /* boolean_value_expression ::= boolean_primary */ yytestcase(yyruleno==474); + case 478: /* boolean_primary ::= predicate */ yytestcase(yyruleno==478); + case 480: /* common_expression ::= expr_or_subquery */ yytestcase(yyruleno==480); + case 481: /* common_expression ::= boolean_value_expression */ yytestcase(yyruleno==481); + case 484: /* table_reference_list ::= table_reference */ yytestcase(yyruleno==484); + case 486: /* table_reference ::= table_primary */ yytestcase(yyruleno==486); + case 487: /* table_reference ::= joined_table */ yytestcase(yyruleno==487); + case 491: /* table_primary ::= parenthesized_joined_table */ yytestcase(yyruleno==491); + case 549: /* query_simple ::= query_specification */ yytestcase(yyruleno==549); + case 550: /* query_simple ::= union_query_expression */ yytestcase(yyruleno==550); + case 553: /* query_simple_or_subquery ::= query_simple */ yytestcase(yyruleno==553); + case 555: /* query_or_subquery ::= query_expression */ yytestcase(yyruleno==555); { yylhsminor.yy188 = yymsp[0].minor.yy188; } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 355: /* literal ::= NULL */ + case 359: /* literal ::= NULL */ { yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 356: /* literal ::= NK_QUESTION */ + case 360: /* literal ::= NK_QUESTION */ { yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 357: /* duration_literal ::= NK_VARIABLE */ + case 361: /* duration_literal ::= NK_VARIABLE */ { yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createDurationValueNode(pCxt, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 358: /* signed ::= NK_INTEGER */ + case 362: /* signed ::= NK_INTEGER */ { yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 359: /* signed ::= NK_PLUS NK_INTEGER */ + case 363: /* signed ::= NK_PLUS NK_INTEGER */ { yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_UBIGINT, &yymsp[0].minor.yy0); } break; - case 360: /* signed ::= NK_MINUS NK_INTEGER */ + case 364: /* signed ::= NK_MINUS NK_INTEGER */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; @@ -4894,14 +4922,14 @@ static YYACTIONTYPE yy_reduce( } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 361: /* signed ::= NK_FLOAT */ + case 365: /* signed ::= NK_FLOAT */ { yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 362: /* signed ::= NK_PLUS NK_FLOAT */ + case 366: /* signed ::= NK_PLUS NK_FLOAT */ { yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_DOUBLE, &yymsp[0].minor.yy0); } break; - case 363: /* signed ::= NK_MINUS NK_FLOAT */ + case 367: /* signed ::= NK_MINUS NK_FLOAT */ { SToken t = yymsp[-1].minor.yy0; t.n = (yymsp[0].minor.yy0.z + yymsp[0].minor.yy0.n) - yymsp[-1].minor.yy0.z; @@ -4909,57 +4937,57 @@ static YYACTIONTYPE yy_reduce( } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 365: /* signed_literal ::= NK_STRING */ + case 369: /* signed_literal ::= NK_STRING */ { yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 366: /* signed_literal ::= NK_BOOL */ + case 370: /* signed_literal ::= NK_BOOL */ { yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_BOOL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 367: /* signed_literal ::= TIMESTAMP NK_STRING */ + case 371: /* signed_literal ::= TIMESTAMP NK_STRING */ { yymsp[-1].minor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_TIMESTAMP, &yymsp[0].minor.yy0); } break; - case 368: /* signed_literal ::= duration_literal */ - case 370: /* signed_literal ::= literal_func */ yytestcase(yyruleno==370); - case 441: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==441); - case 503: /* select_item ::= common_expression */ yytestcase(yyruleno==503); - case 513: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==513); - case 550: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==550); - case 552: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==552); - case 565: /* search_condition ::= common_expression */ yytestcase(yyruleno==565); + case 372: /* signed_literal ::= duration_literal */ + case 374: /* signed_literal ::= literal_func */ yytestcase(yyruleno==374); + case 445: /* star_func_para ::= expr_or_subquery */ yytestcase(yyruleno==445); + case 507: /* select_item ::= common_expression */ yytestcase(yyruleno==507); + case 517: /* partition_item ::= expr_or_subquery */ yytestcase(yyruleno==517); + case 554: /* query_simple_or_subquery ::= subquery */ yytestcase(yyruleno==554); + case 556: /* query_or_subquery ::= subquery */ yytestcase(yyruleno==556); + case 569: /* search_condition ::= common_expression */ yytestcase(yyruleno==569); { yylhsminor.yy188 = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 369: /* signed_literal ::= NULL */ + case 373: /* signed_literal ::= NULL */ { yylhsminor.yy188 = createValueNode(pCxt, TSDB_DATA_TYPE_NULL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 371: /* signed_literal ::= NK_QUESTION */ + case 375: /* signed_literal ::= NK_QUESTION */ { yylhsminor.yy188 = createPlaceholderValueNode(pCxt, &yymsp[0].minor.yy0); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 391: /* expression ::= NK_LP expression NK_RP */ - case 475: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==475); - case 564: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==564); + case 395: /* expression ::= NK_LP expression NK_RP */ + case 479: /* boolean_primary ::= NK_LP boolean_value_expression NK_RP */ yytestcase(yyruleno==479); + case 568: /* subquery ::= NK_LP subquery NK_RP */ yytestcase(yyruleno==568); { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 392: /* expression ::= NK_PLUS expr_or_subquery */ + case 396: /* expression ::= NK_PLUS expr_or_subquery */ { SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 393: /* expression ::= NK_MINUS expr_or_subquery */ + case 397: /* expression ::= NK_MINUS expr_or_subquery */ { SToken t = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &t, createOperatorNode(pCxt, OP_TYPE_MINUS, releaseRawExprNode(pCxt, yymsp[0].minor.yy188), NULL)); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 394: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ + case 398: /* expression ::= expr_or_subquery NK_PLUS expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -4967,7 +4995,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 395: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ + case 399: /* expression ::= expr_or_subquery NK_MINUS expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -4975,7 +5003,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 396: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ + case 400: /* expression ::= expr_or_subquery NK_STAR expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -4983,7 +5011,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 397: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ + case 401: /* expression ::= expr_or_subquery NK_SLASH expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -4991,7 +5019,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 398: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ + case 402: /* expression ::= expr_or_subquery NK_REM expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -4999,14 +5027,14 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 399: /* expression ::= column_reference NK_ARROW NK_STRING */ + case 403: /* expression ::= column_reference NK_ARROW NK_STRING */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_JSON_GET_VALUE, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[0].minor.yy0))); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 400: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ + case 404: /* expression ::= expr_or_subquery NK_BITAND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -5014,7 +5042,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 401: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ + case 405: /* expression ::= expr_or_subquery NK_BITOR expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -5022,71 +5050,71 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 404: /* column_reference ::= column_name */ + case 408: /* column_reference ::= column_name */ { yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy725, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy725)); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 405: /* column_reference ::= table_name NK_DOT column_name */ + case 409: /* column_reference ::= table_name NK_DOT column_name */ { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725, createColumnNode(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy725)); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 406: /* pseudo_column ::= ROWTS */ - case 407: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==407); - case 409: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==409); - case 410: /* pseudo_column ::= QEND */ yytestcase(yyruleno==410); - case 411: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==411); - case 412: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==412); - case 413: /* pseudo_column ::= WEND */ yytestcase(yyruleno==413); - case 414: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==414); - case 415: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==415); - case 416: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==416); - case 417: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==417); - case 423: /* literal_func ::= NOW */ yytestcase(yyruleno==423); + case 410: /* pseudo_column ::= ROWTS */ + case 411: /* pseudo_column ::= TBNAME */ yytestcase(yyruleno==411); + case 413: /* pseudo_column ::= QSTART */ yytestcase(yyruleno==413); + case 414: /* pseudo_column ::= QEND */ yytestcase(yyruleno==414); + case 415: /* pseudo_column ::= QDURATION */ yytestcase(yyruleno==415); + case 416: /* pseudo_column ::= WSTART */ yytestcase(yyruleno==416); + case 417: /* pseudo_column ::= WEND */ yytestcase(yyruleno==417); + case 418: /* pseudo_column ::= WDURATION */ yytestcase(yyruleno==418); + case 419: /* pseudo_column ::= IROWTS */ yytestcase(yyruleno==419); + case 420: /* pseudo_column ::= ISFILLED */ yytestcase(yyruleno==420); + case 421: /* pseudo_column ::= QTAGS */ yytestcase(yyruleno==421); + case 427: /* literal_func ::= NOW */ yytestcase(yyruleno==427); { yylhsminor.yy188 = createRawExprNode(pCxt, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, NULL)); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 408: /* pseudo_column ::= table_name NK_DOT TBNAME */ + case 412: /* pseudo_column ::= table_name NK_DOT TBNAME */ { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[0].minor.yy0, createNodeList(pCxt, createValueNode(pCxt, TSDB_DATA_TYPE_BINARY, &yymsp[-2].minor.yy725)))); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 418: /* function_expression ::= function_name NK_LP expression_list NK_RP */ - case 419: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==419); + case 422: /* function_expression ::= function_name NK_LP expression_list NK_RP */ + case 423: /* function_expression ::= star_func NK_LP star_func_para_list NK_RP */ yytestcase(yyruleno==423); { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy725, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-3].minor.yy725, yymsp[-1].minor.yy172)); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 420: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ + case 424: /* function_expression ::= CAST NK_LP expr_or_subquery AS type_name NK_RP */ { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-5].minor.yy0, &yymsp[0].minor.yy0, createCastFunctionNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-1].minor.yy160)); } yymsp[-5].minor.yy188 = yylhsminor.yy188; break; - case 422: /* literal_func ::= noarg_func NK_LP NK_RP */ + case 426: /* literal_func ::= noarg_func NK_LP NK_RP */ { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0, createFunctionNode(pCxt, &yymsp[-2].minor.yy725, NULL)); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 437: /* star_func_para_list ::= NK_STAR */ + case 441: /* star_func_para_list ::= NK_STAR */ { yylhsminor.yy172 = createNodeList(pCxt, createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0)); } yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 442: /* star_func_para ::= table_name NK_DOT NK_STAR */ - case 506: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==506); + case 446: /* star_func_para ::= table_name NK_DOT NK_STAR */ + case 510: /* select_item ::= table_name NK_DOT NK_STAR */ yytestcase(yyruleno==510); { yylhsminor.yy188 = createColumnNode(pCxt, &yymsp[-2].minor.yy725, &yymsp[0].minor.yy0); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 443: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ + case 447: /* case_when_expression ::= CASE when_then_list case_when_else_opt END */ { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-3].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, NULL, yymsp[-2].minor.yy172, yymsp[-1].minor.yy188)); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 444: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ + case 448: /* case_when_expression ::= CASE common_expression when_then_list case_when_else_opt END */ { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-4].minor.yy0, &yymsp[0].minor.yy0, createCaseWhenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-2].minor.yy172, yymsp[-1].minor.yy188)); } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 447: /* when_then_expr ::= WHEN common_expression THEN common_expression */ + case 451: /* when_then_expr ::= WHEN common_expression THEN common_expression */ { yymsp[-3].minor.yy188 = createWhenThenNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), releaseRawExprNode(pCxt, yymsp[0].minor.yy188)); } break; - case 449: /* case_when_else_opt ::= ELSE common_expression */ + case 453: /* case_when_else_opt ::= ELSE common_expression */ { yymsp[-1].minor.yy188 = releaseRawExprNode(pCxt, yymsp[0].minor.yy188); } break; - case 450: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ - case 455: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==455); + case 454: /* predicate ::= expr_or_subquery compare_op expr_or_subquery */ + case 459: /* predicate ::= expr_or_subquery in_op in_predicate_value */ yytestcase(yyruleno==459); { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -5094,7 +5122,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 451: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ + case 455: /* predicate ::= expr_or_subquery BETWEEN expr_or_subquery AND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-4].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -5102,7 +5130,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-4].minor.yy188 = yylhsminor.yy188; break; - case 452: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ + case 456: /* predicate ::= expr_or_subquery NOT BETWEEN expr_or_subquery AND expr_or_subquery */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-5].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -5110,71 +5138,71 @@ static YYACTIONTYPE yy_reduce( } yymsp[-5].minor.yy188 = yylhsminor.yy188; break; - case 453: /* predicate ::= expr_or_subquery IS NULL */ + case 457: /* predicate ::= expr_or_subquery IS NULL */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NULL, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), NULL)); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 454: /* predicate ::= expr_or_subquery IS NOT NULL */ + case 458: /* predicate ::= expr_or_subquery IS NOT NULL */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-3].minor.yy188); yylhsminor.yy188 = createRawExprNodeExt(pCxt, &s, &yymsp[0].minor.yy0, createOperatorNode(pCxt, OP_TYPE_IS_NOT_NULL, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), NULL)); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 456: /* compare_op ::= NK_LT */ + case 460: /* compare_op ::= NK_LT */ { yymsp[0].minor.yy716 = OP_TYPE_LOWER_THAN; } break; - case 457: /* compare_op ::= NK_GT */ + case 461: /* compare_op ::= NK_GT */ { yymsp[0].minor.yy716 = OP_TYPE_GREATER_THAN; } break; - case 458: /* compare_op ::= NK_LE */ + case 462: /* compare_op ::= NK_LE */ { yymsp[0].minor.yy716 = OP_TYPE_LOWER_EQUAL; } break; - case 459: /* compare_op ::= NK_GE */ + case 463: /* compare_op ::= NK_GE */ { yymsp[0].minor.yy716 = OP_TYPE_GREATER_EQUAL; } break; - case 460: /* compare_op ::= NK_NE */ + case 464: /* compare_op ::= NK_NE */ { yymsp[0].minor.yy716 = OP_TYPE_NOT_EQUAL; } break; - case 461: /* compare_op ::= NK_EQ */ + case 465: /* compare_op ::= NK_EQ */ { yymsp[0].minor.yy716 = OP_TYPE_EQUAL; } break; - case 462: /* compare_op ::= LIKE */ + case 466: /* compare_op ::= LIKE */ { yymsp[0].minor.yy716 = OP_TYPE_LIKE; } break; - case 463: /* compare_op ::= NOT LIKE */ + case 467: /* compare_op ::= NOT LIKE */ { yymsp[-1].minor.yy716 = OP_TYPE_NOT_LIKE; } break; - case 464: /* compare_op ::= MATCH */ + case 468: /* compare_op ::= MATCH */ { yymsp[0].minor.yy716 = OP_TYPE_MATCH; } break; - case 465: /* compare_op ::= NMATCH */ + case 469: /* compare_op ::= NMATCH */ { yymsp[0].minor.yy716 = OP_TYPE_NMATCH; } break; - case 466: /* compare_op ::= CONTAINS */ + case 470: /* compare_op ::= CONTAINS */ { yymsp[0].minor.yy716 = OP_TYPE_JSON_CONTAINS; } break; - case 467: /* in_op ::= IN */ + case 471: /* in_op ::= IN */ { yymsp[0].minor.yy716 = OP_TYPE_IN; } break; - case 468: /* in_op ::= NOT IN */ + case 472: /* in_op ::= NOT IN */ { yymsp[-1].minor.yy716 = OP_TYPE_NOT_IN; } break; - case 469: /* in_predicate_value ::= NK_LP literal_list NK_RP */ + case 473: /* in_predicate_value ::= NK_LP literal_list NK_RP */ { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, createNodeListNode(pCxt, yymsp[-1].minor.yy172)); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 471: /* boolean_value_expression ::= NOT boolean_primary */ + case 475: /* boolean_value_expression ::= NOT boolean_primary */ { SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-1].minor.yy0, &e, createLogicConditionNode(pCxt, LOGIC_COND_TYPE_NOT, releaseRawExprNode(pCxt, yymsp[0].minor.yy188), NULL)); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 472: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ + case 476: /* boolean_value_expression ::= boolean_value_expression OR boolean_value_expression */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -5182,7 +5210,7 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 473: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ + case 477: /* boolean_value_expression ::= boolean_value_expression AND boolean_value_expression */ { SToken s = getTokenFromRawExprNode(pCxt, yymsp[-2].minor.yy188); SToken e = getTokenFromRawExprNode(pCxt, yymsp[0].minor.yy188); @@ -5190,48 +5218,48 @@ static YYACTIONTYPE yy_reduce( } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 479: /* from_clause_opt ::= FROM table_reference_list */ - case 508: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==508); - case 539: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==539); + case 483: /* from_clause_opt ::= FROM table_reference_list */ + case 512: /* where_clause_opt ::= WHERE search_condition */ yytestcase(yyruleno==512); + case 543: /* having_clause_opt ::= HAVING search_condition */ yytestcase(yyruleno==543); { yymsp[-1].minor.yy188 = yymsp[0].minor.yy188; } break; - case 481: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ + case 485: /* table_reference_list ::= table_reference_list NK_COMMA table_reference */ { yylhsminor.yy188 = createJoinTableNode(pCxt, JOIN_TYPE_INNER, yymsp[-2].minor.yy188, yymsp[0].minor.yy188, NULL); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 484: /* table_primary ::= table_name alias_opt */ + case 488: /* table_primary ::= table_name alias_opt */ { yylhsminor.yy188 = createRealTableNode(pCxt, NULL, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 485: /* table_primary ::= db_name NK_DOT table_name alias_opt */ + case 489: /* table_primary ::= db_name NK_DOT table_name alias_opt */ { yylhsminor.yy188 = createRealTableNode(pCxt, &yymsp[-3].minor.yy725, &yymsp[-1].minor.yy725, &yymsp[0].minor.yy725); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 486: /* table_primary ::= subquery alias_opt */ + case 490: /* table_primary ::= subquery alias_opt */ { yylhsminor.yy188 = createTempTableNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188), &yymsp[0].minor.yy725); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 488: /* alias_opt ::= */ + case 492: /* alias_opt ::= */ { yymsp[1].minor.yy725 = nil_token; } break; - case 490: /* alias_opt ::= AS table_alias */ + case 494: /* alias_opt ::= AS table_alias */ { yymsp[-1].minor.yy725 = yymsp[0].minor.yy725; } break; - case 491: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ - case 492: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==492); + case 495: /* parenthesized_joined_table ::= NK_LP joined_table NK_RP */ + case 496: /* parenthesized_joined_table ::= NK_LP parenthesized_joined_table NK_RP */ yytestcase(yyruleno==496); { yymsp[-2].minor.yy188 = yymsp[-1].minor.yy188; } break; - case 493: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ + case 497: /* joined_table ::= table_reference join_type JOIN table_reference ON search_condition */ { yylhsminor.yy188 = createJoinTableNode(pCxt, yymsp[-4].minor.yy240, yymsp[-5].minor.yy188, yymsp[-2].minor.yy188, yymsp[0].minor.yy188); } yymsp[-5].minor.yy188 = yylhsminor.yy188; break; - case 494: /* join_type ::= */ + case 498: /* join_type ::= */ { yymsp[1].minor.yy240 = JOIN_TYPE_INNER; } break; - case 495: /* join_type ::= INNER */ + case 499: /* join_type ::= INNER */ { yymsp[0].minor.yy240 = JOIN_TYPE_INNER; } break; - case 496: /* query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ + case 500: /* query_specification ::= SELECT set_quantifier_opt select_list from_clause_opt where_clause_opt partition_by_clause_opt range_opt every_opt fill_opt twindow_clause_opt group_by_clause_opt having_clause_opt */ { yymsp[-11].minor.yy188 = createSelectStmt(pCxt, yymsp[-10].minor.yy437, yymsp[-9].minor.yy172, yymsp[-8].minor.yy188); yymsp[-11].minor.yy188 = addWhereClause(pCxt, yymsp[-11].minor.yy188, yymsp[-7].minor.yy188); @@ -5244,82 +5272,82 @@ static YYACTIONTYPE yy_reduce( yymsp[-11].minor.yy188 = addFillClause(pCxt, yymsp[-11].minor.yy188, yymsp[-3].minor.yy188); } break; - case 499: /* set_quantifier_opt ::= ALL */ + case 503: /* set_quantifier_opt ::= ALL */ { yymsp[0].minor.yy437 = false; } break; - case 502: /* select_item ::= NK_STAR */ + case 506: /* select_item ::= NK_STAR */ { yylhsminor.yy188 = createColumnNode(pCxt, NULL, &yymsp[0].minor.yy0); } yymsp[0].minor.yy188 = yylhsminor.yy188; break; - case 504: /* select_item ::= common_expression column_alias */ - case 514: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==514); + case 508: /* select_item ::= common_expression column_alias */ + case 518: /* partition_item ::= expr_or_subquery column_alias */ yytestcase(yyruleno==518); { yylhsminor.yy188 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188), &yymsp[0].minor.yy725); } yymsp[-1].minor.yy188 = yylhsminor.yy188; break; - case 505: /* select_item ::= common_expression AS column_alias */ - case 515: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==515); + case 509: /* select_item ::= common_expression AS column_alias */ + case 519: /* partition_item ::= expr_or_subquery AS column_alias */ yytestcase(yyruleno==519); { yylhsminor.yy188 = setProjectionAlias(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), &yymsp[0].minor.yy725); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 510: /* partition_by_clause_opt ::= PARTITION BY partition_list */ - case 535: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==535); - case 554: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==554); + case 514: /* partition_by_clause_opt ::= PARTITION BY partition_list */ + case 539: /* group_by_clause_opt ::= GROUP BY group_by_list */ yytestcase(yyruleno==539); + case 558: /* order_by_clause_opt ::= ORDER BY sort_specification_list */ yytestcase(yyruleno==558); { yymsp[-2].minor.yy172 = yymsp[0].minor.yy172; } break; - case 517: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ + case 521: /* twindow_clause_opt ::= SESSION NK_LP column_reference NK_COMMA duration_literal NK_RP */ { yymsp[-5].minor.yy188 = createSessionWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } break; - case 518: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ + case 522: /* twindow_clause_opt ::= STATE_WINDOW NK_LP expr_or_subquery NK_RP */ { yymsp[-3].minor.yy188 = createStateWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } break; - case 519: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ + case 523: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_RP sliding_opt fill_opt */ { yymsp[-5].minor.yy188 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), NULL, yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 520: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ + case 524: /* twindow_clause_opt ::= INTERVAL NK_LP duration_literal NK_COMMA duration_literal NK_RP sliding_opt fill_opt */ { yymsp[-7].minor.yy188 = createIntervalWindowNode(pCxt, releaseRawExprNode(pCxt, yymsp[-5].minor.yy188), releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), yymsp[-1].minor.yy188, yymsp[0].minor.yy188); } break; - case 521: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ + case 525: /* twindow_clause_opt ::= EVENT_WINDOW START WITH search_condition END WITH search_condition */ { yymsp[-6].minor.yy188 = createEventWindowNode(pCxt, yymsp[-3].minor.yy188, yymsp[0].minor.yy188); } break; - case 525: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ + case 529: /* fill_opt ::= FILL NK_LP fill_mode NK_RP */ { yymsp[-3].minor.yy188 = createFillNode(pCxt, yymsp[-1].minor.yy654, NULL); } break; - case 526: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ + case 530: /* fill_opt ::= FILL NK_LP VALUE NK_COMMA literal_list NK_RP */ { yymsp[-5].minor.yy188 = createFillNode(pCxt, FILL_MODE_VALUE, createNodeListNode(pCxt, yymsp[-1].minor.yy172)); } break; - case 527: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ + case 531: /* fill_opt ::= FILL NK_LP VALUE_F NK_COMMA literal_list NK_RP */ { yymsp[-5].minor.yy188 = createFillNode(pCxt, FILL_MODE_VALUE_F, createNodeListNode(pCxt, yymsp[-1].minor.yy172)); } break; - case 528: /* fill_mode ::= NONE */ + case 532: /* fill_mode ::= NONE */ { yymsp[0].minor.yy654 = FILL_MODE_NONE; } break; - case 529: /* fill_mode ::= PREV */ + case 533: /* fill_mode ::= PREV */ { yymsp[0].minor.yy654 = FILL_MODE_PREV; } break; - case 530: /* fill_mode ::= NULL */ + case 534: /* fill_mode ::= NULL */ { yymsp[0].minor.yy654 = FILL_MODE_NULL; } break; - case 531: /* fill_mode ::= NULL_F */ + case 535: /* fill_mode ::= NULL_F */ { yymsp[0].minor.yy654 = FILL_MODE_NULL_F; } break; - case 532: /* fill_mode ::= LINEAR */ + case 536: /* fill_mode ::= LINEAR */ { yymsp[0].minor.yy654 = FILL_MODE_LINEAR; } break; - case 533: /* fill_mode ::= NEXT */ + case 537: /* fill_mode ::= NEXT */ { yymsp[0].minor.yy654 = FILL_MODE_NEXT; } break; - case 536: /* group_by_list ::= expr_or_subquery */ + case 540: /* group_by_list ::= expr_or_subquery */ { yylhsminor.yy172 = createNodeList(pCxt, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } yymsp[0].minor.yy172 = yylhsminor.yy172; break; - case 537: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ + case 541: /* group_by_list ::= group_by_list NK_COMMA expr_or_subquery */ { yylhsminor.yy172 = addNodeToList(pCxt, yymsp[-2].minor.yy172, createGroupingSetNode(pCxt, releaseRawExprNode(pCxt, yymsp[0].minor.yy188))); } yymsp[-2].minor.yy172 = yylhsminor.yy172; break; - case 541: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ + case 545: /* range_opt ::= RANGE NK_LP expr_or_subquery NK_COMMA expr_or_subquery NK_RP */ { yymsp[-5].minor.yy188 = createInterpTimeRange(pCxt, releaseRawExprNode(pCxt, yymsp[-3].minor.yy188), releaseRawExprNode(pCxt, yymsp[-1].minor.yy188)); } break; - case 544: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ + case 548: /* query_expression ::= query_simple order_by_clause_opt slimit_clause_opt limit_clause_opt */ { yylhsminor.yy188 = addOrderByClause(pCxt, yymsp[-3].minor.yy188, yymsp[-2].minor.yy172); yylhsminor.yy188 = addSlimitClause(pCxt, yylhsminor.yy188, yymsp[-1].minor.yy188); @@ -5327,50 +5355,50 @@ static YYACTIONTYPE yy_reduce( } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 547: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ + case 551: /* union_query_expression ::= query_simple_or_subquery UNION ALL query_simple_or_subquery */ { yylhsminor.yy188 = createSetOperator(pCxt, SET_OP_TYPE_UNION_ALL, yymsp[-3].minor.yy188, yymsp[0].minor.yy188); } yymsp[-3].minor.yy188 = yylhsminor.yy188; break; - case 548: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ + case 552: /* union_query_expression ::= query_simple_or_subquery UNION query_simple_or_subquery */ { yylhsminor.yy188 = createSetOperator(pCxt, SET_OP_TYPE_UNION, yymsp[-2].minor.yy188, yymsp[0].minor.yy188); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 556: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ - case 560: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==560); + case 560: /* slimit_clause_opt ::= SLIMIT NK_INTEGER */ + case 564: /* limit_clause_opt ::= LIMIT NK_INTEGER */ yytestcase(yyruleno==564); { yymsp[-1].minor.yy188 = createLimitNode(pCxt, &yymsp[0].minor.yy0, NULL); } break; - case 557: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ - case 561: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==561); + case 561: /* slimit_clause_opt ::= SLIMIT NK_INTEGER SOFFSET NK_INTEGER */ + case 565: /* limit_clause_opt ::= LIMIT NK_INTEGER OFFSET NK_INTEGER */ yytestcase(yyruleno==565); { yymsp[-3].minor.yy188 = createLimitNode(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0); } break; - case 558: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ - case 562: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==562); + case 562: /* slimit_clause_opt ::= SLIMIT NK_INTEGER NK_COMMA NK_INTEGER */ + case 566: /* limit_clause_opt ::= LIMIT NK_INTEGER NK_COMMA NK_INTEGER */ yytestcase(yyruleno==566); { yymsp[-3].minor.yy188 = createLimitNode(pCxt, &yymsp[0].minor.yy0, &yymsp[-2].minor.yy0); } break; - case 563: /* subquery ::= NK_LP query_expression NK_RP */ + case 567: /* subquery ::= NK_LP query_expression NK_RP */ { yylhsminor.yy188 = createRawExprNodeExt(pCxt, &yymsp[-2].minor.yy0, &yymsp[0].minor.yy0, yymsp[-1].minor.yy188); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 568: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ + case 572: /* sort_specification ::= expr_or_subquery ordering_specification_opt null_ordering_opt */ { yylhsminor.yy188 = createOrderByExprNode(pCxt, releaseRawExprNode(pCxt, yymsp[-2].minor.yy188), yymsp[-1].minor.yy206, yymsp[0].minor.yy913); } yymsp[-2].minor.yy188 = yylhsminor.yy188; break; - case 569: /* ordering_specification_opt ::= */ + case 573: /* ordering_specification_opt ::= */ { yymsp[1].minor.yy206 = ORDER_ASC; } break; - case 570: /* ordering_specification_opt ::= ASC */ + case 574: /* ordering_specification_opt ::= ASC */ { yymsp[0].minor.yy206 = ORDER_ASC; } break; - case 571: /* ordering_specification_opt ::= DESC */ + case 575: /* ordering_specification_opt ::= DESC */ { yymsp[0].minor.yy206 = ORDER_DESC; } break; - case 572: /* null_ordering_opt ::= */ + case 576: /* null_ordering_opt ::= */ { yymsp[1].minor.yy913 = NULL_ORDER_DEFAULT; } break; - case 573: /* null_ordering_opt ::= NULLS FIRST */ + case 577: /* null_ordering_opt ::= NULLS FIRST */ { yymsp[-1].minor.yy913 = NULL_ORDER_FIRST; } break; - case 574: /* null_ordering_opt ::= NULLS LAST */ + case 578: /* null_ordering_opt ::= NULLS LAST */ { yymsp[-1].minor.yy913 = NULL_ORDER_LAST; } break; default: diff --git a/source/libs/parser/test/parAlterToBalanceTest.cpp b/source/libs/parser/test/parAlterToBalanceTest.cpp index 69c9f2c139..1b66e3925d 100644 --- a/source/libs/parser/test/parAlterToBalanceTest.cpp +++ b/source/libs/parser/test/parAlterToBalanceTest.cpp @@ -109,7 +109,8 @@ TEST_F(ParserInitialATest, alterDnode) { * | WAL_LEVEL int_value -- enum 1, 2, default 1 * | STT_TRIGGER int_value -- rang [1, 16], default 8 * | MINROWS int_value -- rang [10, 1000], default 100 - * } + * | WAL_RETENTION_PERIOD int_value -- rang [-1, INT32_MAX], default 0 + * | WAL_RETENTION_SIZE int_value -- rang [-1, INT32_MAX], default 0 */ TEST_F(ParserInitialATest, alterDatabase) { useDb("root", "test"); @@ -135,6 +136,8 @@ TEST_F(ParserInitialATest, alterDatabase) { expect.replications = -1; expect.sstTrigger = -1; expect.minRows = -1; + expect.walRetentionPeriod = -2; + expect.walRetentionSize = -2; }; auto setAlterDbBuffer = [&](int32_t buffer) { expect.buffer = buffer; }; auto setAlterDbPageSize = [&](int32_t pageSize) { expect.pageSize = pageSize; }; @@ -153,6 +156,10 @@ TEST_F(ParserInitialATest, alterDatabase) { auto setAlterDbReplica = [&](int8_t replications) { expect.replications = replications; }; auto setAlterDbSttTrigger = [&](int8_t sstTrigger) { expect.sstTrigger = sstTrigger; }; auto setAlterDbMinRows = [&](int32_t minRows) { expect.minRows = minRows; }; + auto setAlterDbWalRetentionPeriod = [&](int32_t walRetentionPeriod) { + expect.walRetentionPeriod = walRetentionPeriod; + }; + auto setAlterDbWalRetentionSize = [&](int32_t walRetentionSize) { expect.walRetentionSize = walRetentionSize; }; setCheckDdlFunc([&](const SQuery* pQuery, ParserStage stage) { ASSERT_EQ(nodeType(pQuery->pRoot), QUERY_NODE_ALTER_DATABASE_STMT); @@ -174,6 +181,8 @@ TEST_F(ParserInitialATest, alterDatabase) { ASSERT_EQ(req.replications, expect.replications); ASSERT_EQ(req.sstTrigger, expect.sstTrigger); ASSERT_EQ(req.minRows, expect.minRows); + ASSERT_EQ(req.walRetentionPeriod, expect.walRetentionPeriod); + ASSERT_EQ(req.walRetentionSize, expect.walRetentionSize); }); const int32_t MINUTE_PER_DAY = MILLISECOND_PER_DAY / MILLISECOND_PER_MINUTE; @@ -189,8 +198,10 @@ TEST_F(ParserInitialATest, alterDatabase) { setAlterDbBuffer(16); setAlterDbPages(128); setAlterDbReplica(3); + setAlterDbWalRetentionPeriod(10); + setAlterDbWalRetentionSize(20); run("ALTER DATABASE test BUFFER 16 CACHEMODEL 'last_row' CACHESIZE 32 WAL_FSYNC_PERIOD 200 KEEP 10 PAGES 128 " - "REPLICA 3 WAL_LEVEL 1 STT_TRIGGER 16"); + "REPLICA 3 WAL_LEVEL 1 STT_TRIGGER 16 WAL_RETENTION_PERIOD 10 WAL_RETENTION_SIZE 20"); clearAlterDbReq(); initAlterDb("test"); @@ -290,6 +301,20 @@ TEST_F(ParserInitialATest, alterDatabase) { setAlterDbMinRows(1000); run("ALTER DATABASE test MINROWS 1000"); clearAlterDbReq(); + + initAlterDb("test"); + setAlterDbWalRetentionPeriod(-1); + run("ALTER DATABASE test WAL_RETENTION_PERIOD -1"); + setAlterDbWalRetentionPeriod(50); + run("ALTER DATABASE test WAL_RETENTION_PERIOD 50"); + clearAlterDbReq(); + + initAlterDb("test"); + setAlterDbWalRetentionSize(-1); + run("ALTER DATABASE test WAL_RETENTION_SIZE -1"); + setAlterDbWalRetentionSize(50); + run("ALTER DATABASE test WAL_RETENTION_SIZE 50"); + clearAlterDbReq(); } TEST_F(ParserInitialATest, alterDatabaseSemanticCheck) { @@ -612,7 +637,9 @@ TEST_F(ParserInitialATest, alterTable) { } ASSERT_EQ(req.isNull, expect.isNull); ASSERT_EQ(req.nTagVal, expect.nTagVal); - ASSERT_EQ(memcmp(req.pTagVal, expect.pTagVal, expect.nTagVal), 0); + if (nullptr != req.pTagVal) { + ASSERT_EQ(memcmp(req.pTagVal, expect.pTagVal, expect.nTagVal), 0); + } ASSERT_EQ(req.updateTTL, expect.updateTTL); ASSERT_EQ(req.newTTL, expect.newTTL); if (nullptr != expect.newComment) { diff --git a/tests/script/tsim/query/udf.sim b/tests/script/tsim/query/udf.sim index 0b48a815e2..66a3d811a1 100644 --- a/tests/script/tsim/query/udf.sim +++ b/tests/script/tsim/query/udf.sim @@ -29,6 +29,9 @@ else sql create function bit_and as '/tmp/udf/libbitand.so' outputtype int bufSize 8; sql create aggregate function l2norm as '/tmp/udf/libl2norm.so' outputtype double bufSize 8; endi + +sql_error create function bit_and as '/tmp/udf/libbitand.so' oputtype json; + sql show functions; if $rows != 2 then return -1