Skip to content

Commit edb6a35

Browse files
authored
fix version number 2082 (#1053)
1 parent 7a3c796 commit edb6a35

File tree

50 files changed

+217
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+217
-84
lines changed

src/.vuepress/sidebar/V2.0.x/zh-Table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export const zhSidebar = {
172172
{ text: 'C#原生接口', link: 'Programming-CSharp-Native-API_apache' },
173173
{ text: 'JDBC', link: 'Programming-JDBC_apache' },
174174
{ text: 'MQTT协议', link: 'Programming-MQTT_apache' },
175-
{ text: 'RESTAPI V1 ', link: 'RestServiceV1' },
175+
{ text: 'RESTAPI V1 ', link: 'RestServiceV1_apache' },
176176
],
177177
},
178178
{

src/.vuepress/sidebar_timecho/V2.0.x/zh-Table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export const zhSidebar = {
195195
{ text: 'JDBC', link: 'Programming-JDBC_timecho' },
196196
{ text: 'ODBC', link: 'Programming-ODBC_timecho' },
197197
{ text: 'MQTT协议', link: 'Programming-MQTT_timecho' },
198-
{ text: 'RESTAPI V1 ', link: 'RestServiceV1' },
198+
{ text: 'RESTAPI V1 ', link: 'RestServiceV1_timecho' },
199199
],
200200
},
201201
{

src/UserGuide/Master/Table/AI-capability/AINode_Upgrade_timecho.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,19 @@ SELECT * FROM FORECAST(
9292
* Built-in model inference does not require a registration process. By using the forecast function and specifying model_id, you can use the inference function of the model.
9393
* Parameter description
9494

95-
| Parameter Name | Parameter Type | Parameter Attributes | Description | Required | Notes |
96-
|----------------|----------------|----------------------|-------------|----------|-------|
97-
| model_id | Scalar parameter | String type | Unique identifier of the prediction model | Yes | |
98-
| targets | Table parameter | SET SEMANTIC | Input data for the target variables to be predicted. IoTDB will automatically sort the data in ascending order of time before passing it to AINode. | Yes | Use SQL to describe the input data with target variables. If the input SQL is invalid, corresponding query errors will be reported. |
95+
| Parameter Name | Parameter Type | Parameter Attributes | Description | Required | Notes |
96+
|----------------|----------------|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|-------|
97+
| model_id | Scalar parameter | String type | Unique identifier of the prediction model | Yes | |
98+
| targets | Table parameter | SET SEMANTIC | Input data for the target variables to be predicted. IoTDB will automatically sort the data in ascending order of time before passing it to AINode. | Yes | Use SQL to describe the input data with target variables. If the input SQL is invalid, corresponding query errors will be reported. |
9999
| history_covs | Scalar parameter | String type (valid table model query SQL), default: none | Specifies historical data of covariates for this prediction task, which are used to assist in predicting target variables. AINode will not output prediction results for historical covariates. Before passing data to the model, AINode will automatically sort the data in ascending order of time. | No | 1. Query results can only contain FIELD columns; 2. Other: Different models may have specific requirements, and errors will be thrown if not met. |
100-
| future_covs | Scalar parameter | String type (valid table model query SQL), default: none | Specifies future data of some covariates for this prediction task, which are used to assist in predicting target variables. Before passing data to the model, AINode will automatically sort the data in ascending order of time. | No | 1. Can only be specified when history_covs is set; 2. The covariate names involved must be a subset of history_covs; 3. Query results can only contain FIELD columns; 4. Other: Different models may have specific requirements, and errors will be thrown if not met. |
101-
| auto_adapt | Scalar parameter | Boolean type, default value: true | Whether to enable adaptive processing for covariate inference. | No | When adaptive mode is enabled: 1. If the set of future covariates (`future_covs`) is not a subset of the historical covariates (`history_covs`), any future covariates not present in the historical set will be automatically discarded. 2. If the length of any historical covariate does not match the length of the input target variable: a. If shorter, pad zeros at the beginning; b. If longer, discard the earliest data points. 3. If the length of any future covariate does not match the prediction length (`output_length`): a. If shorter, pad zeros at the end; b. If longer, discard the most recent data points. |
102-
| output_start_time | Scalar parameter | Timestamp type. Default value: last timestamp of target variable + output_interval | Starting timestamp of output prediction points [i.e., forecast start time] | No | Must be greater than the maximum timestamp of target variable timestamps |
103-
| output_length | Scalar parameter | INT32 type. Default value: 96 | Output window size | No | Must be greater than 0 |
104-
| output_interval | Scalar parameter | Time interval type. Default value: (last timestamp - first timestamp of input data) / n - 1 | Time interval between output prediction points. Supported units: ns, us, ms, s, m, h, d, w | No | Must be greater than 0 |
105-
| timecol | Scalar parameter | String type. Default value: time | Name of time column | No | Must be a TIMESTAMP column existing in targets |
106-
| preserve_input | Scalar parameter | Boolean type. Default value: false | Whether to retain all original rows of target variable input in the output result set | No | |
107-
| model_options | Scalar parameter | String type. Default value: empty string | Key-value pairs related to the model, such as whether to normalize the input. Different key-value pairs are separated by ';'. | No | |
100+
| future_covs | Scalar parameter | String type (valid table model query SQL), default: none | Specifies future data of some covariates for this prediction task, which are used to assist in predicting target variables. Before passing data to the model, AINode will automatically sort the data in ascending order of time. | No | 1. Can only be specified when history_covs is set; 2. The covariate names involved must be a subset of history_covs; 3. Query results can only contain FIELD columns; 4. Other: Different models may have specific requirements, and errors will be thrown if not met. |
101+
| auto_adapt | Scalar parameter | Boolean type, default value: true | Whether to enable adaptive processing for covariate inference.(Support from V2.0.8.2) | No | When adaptive mode is enabled: 1. If the set of future covariates (`future_covs`) is not a subset of the historical covariates (`history_covs`), any future covariates not present in the historical set will be automatically discarded. 2. If the length of any historical covariate does not match the length of the input target variable: a. If shorter, pad zeros at the beginning; b. If longer, discard the earliest data points. 3. If the length of any future covariate does not match the prediction length (`output_length`): a. If shorter, pad zeros at the end; b. If longer, discard the most recent data points. |
102+
| output_start_time | Scalar parameter | Timestamp type. Default value: last timestamp of target variable + output_interval | Starting timestamp of output prediction points [i.e., forecast start time] | No | Must be greater than the maximum timestamp of target variable timestamps |
103+
| output_length | Scalar parameter | INT32 type. Default value: 96 | Output window size | No | Must be greater than 0 |
104+
| output_interval | Scalar parameter | Time interval type. Default value: (last timestamp - first timestamp of input data) / n - 1 | Time interval between output prediction points. Supported units: ns, us, ms, s, m, h, d, w | No | Must be greater than 0 |
105+
| timecol | Scalar parameter | String type. Default value: time | Name of time column | No | Must be a TIMESTAMP column existing in targets |
106+
| preserve_input | Scalar parameter | Boolean type. Default value: false | Whether to retain all original rows of target variable input in the output result set | No | |
107+
| model_options | Scalar parameter | String type. Default value: empty string | Key-value pairs related to the model, such as whether to normalize the input. Different key-value pairs are separated by ';'. | No | |
108108

109109
Notes:
110110
* **Default behavior**: Predict all columns of targets. Currently, only supports INT32, INT64, FLOAT, DOUBLE types.

src/UserGuide/Master/Table/API/Programming-Python-Native-API_timecho.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Note: Do not use a newer client to connect to an older server, as this may cause
4646
| execute_query_statement | Executes a query SQL statement and retrieves results. | sql: `str` | `SessionDataSet` |
4747
| close | Closes the session and releases resources. | None | None |
4848

49-
**Since V2.0.8**, `SessionDataSet` provides methods for batch DataFrame retrieval to efficiently handle large-volume queries:
49+
**Since V2.0.8.2**, `SessionDataSet` provides methods for batch DataFrame retrieval to efficiently handle large-volume queries:
5050

5151
```python
5252
# Batch DataFrame retrieval

src/UserGuide/Master/Table/Basic-Concept/Table-Management_timecho.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ comment
6767
**Note:**
6868

6969
1. When creating a table, you do not need to specify a time column. IoTDB automatically adds a column named "time" and places it as the first column. All other columns can be added by enabling the `enable_auto_create_schema` option in the database configuration, or through the session interface for automatic creation or by using table modification statements.
70-
2. Since version V2.0.8, tables support custom naming of the time column during creation. The order of the custom time column in the table is determined by the order in the creation SQL. The related constraints are as follows:
70+
2. Since version V2.0.8.2, tables support custom naming of the time column during creation. The order of the custom time column in the table is determined by the order in the creation SQL. The related constraints are as follows:
7171

7272
- When the column category is set to TIME, the data type must be TIMESTAMP.
7373
- Each table allows at most one time column (columnCategory = TIME).

src/UserGuide/Master/Table/SQL-Manual/SQL-Metadata-Operations_timecho.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ CREATE TABLE tableC (
212212
"Temperature" int32 FIELD COMMENT 'temperature'
213213
) with (TTL=DEFAULT);
214214

215-
-- Custom time column: named time_test, located in the second column of the table. (Support from V2.0.8)
215+
-- Custom time column: named time_test, located in the second column of the table. (Support from V2.0.8.2)
216216
CREATE TABLE table1 (
217217
region STRING TAG,
218218
time_user_defined TIMESTAMP TIME,

src/UserGuide/Master/Table/User-Manual/Audit-Log_timecho.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,23 @@ Audit logs serve as the record credentials of a database, enabling tracking of v
3838

3939
Edit the `iotdb-system.properties` file to enable audit logging using the following parameters:
4040

41+
42+
* V2.0.8.1
43+
44+
| Parameter Name | Description | Data Type | Default Value | Activation Method |
45+
|-------------------------------------------|------------------------------------------------------------------------------------------------------------|-----------|-------------------------------|-------------------|
46+
| `enable_audit_log` | Whether to enable audit logging. true: enabled. false: disabled. | Boolean | false | Hot Reload |
47+
| `auditable_operation_type` | Operation type selection. DML: all DML operations are logged; DDL: all DDL operations are logged; QUERY: all query operations are logged; CONTROL: all control statements are logged. | String | DML,DDL,QUERY,CONTROL | Hot Reload |
48+
| `auditable_operation_level` | Permission level selection. global: log all audit events; object: only log events related to data instances. Containment relationship: object < global. For example: when set to global, all audit logs are recorded normally; when set to object, only operations on specific data instances are recorded. | String | global | Hot Reload |
49+
| `auditable_operation_result` | Audit result selection. success: log only successful events; fail: log only failed events | String | success,fail | Hot Reload |
50+
| `audit_log_ttl_in_days` | Audit log TTL (Time To Live). Logs older than this threshold will expire. | Double | -1.0 (never deleted) | Hot Reload |
51+
| `audit_log_space_tl_in_GB` | Audit log SpaceTL. Logs will start rotating when total space reaches this threshold. | Double | 1.0 | Hot Reload |
52+
| `audit_log_batch_interval_in_ms` | Batch write interval for audit logs | Long | 1000 | Hot Reload |
53+
| `audit_log_batch_max_queue_bytes` | Maximum byte size of the queue for batch processing audit logs. Subsequent write operations will be blocked when this threshold is exceeded. | Long | 268435456 | Hot Reload |
54+
55+
* V2.0.8.2
56+
57+
4158
| Parameter Name | Description | Data Type | Default Value | Activation Method |
4259
|-------------------------------------------|------------------------------------------------------------------------------------------------------------|-----------|-------------------------------|-------------------|
4360
| `enable_audit_log` | Whether to enable audit logging. true: enabled. false: disabled. | Boolean | false | Hot Reload |

src/UserGuide/Master/Table/User-Manual/Tree-to-Table_timecho.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The name of the view, which follows the same rules as a table name (for specific
8080
* If a device in the tree model does not contain certain declared FIELD columns, or if their data types are inconsistent with the declared FIELD columns, the value for that FIELD column will always be `NULL`when querying that device.
8181
* If no FIELD columns are specified, the system automatically scans for all measurements under the `prefixPath`subtree (including all ordinary sequence measurements and measurements defined in any templates whose mounted paths overlap with the `prefixPath`) during creation. The column names will use the measurement names from the tree model.
8282
* The tree model cannot have measurements with the same name (case-insensitive) but different data types.
83-
* `TIME`: When creating a view, you do not need to specify a time column. IoTDB automatically adds a column named "time" and places it as the first column. Since version V2.0.8-beta, views support **custom naming of the time column** during creation. The order of the custom time column in the view is determined by the order in the creation SQL. The related constraints are as follows:
83+
* `TIME`: When creating a view, you do not need to specify a time column. IoTDB automatically adds a column named "time" and places it as the first column. Since version V2.0.8.2, views support **custom naming of the time column** during creation. The order of the custom time column in the view is determined by the order in the creation SQL. The related constraints are as follows:
8484
* When the column category is set to `TIME`, the data type must be `TIMESTAMP`.
8585
* Each view allows at most one time column (columnCategory = TIME).
8686
* If no time column is explicitly defined, no other column can use `time` as its name to avoid conflicts with the system's default time column naming.
@@ -143,7 +143,7 @@ with (ttl=604800000)
143143
AS root.db.**
144144
```
145145

146-
When customizing the time column (supported since V2.0.8), the SQL changes are as follows:
146+
When customizing the time column (supported since V2.0.8.2), the SQL changes are as follows:
147147

148148
```SQL
149149
CREATE OR REPLACE VIEW viewdb."wind_turbine"
@@ -161,7 +161,7 @@ AS root.db.**
161161
### 2.2 Modifying a Table View
162162
#### 2.2.1 Syntax Definition
163163

164-
The ALTER VIEW function supports modifying the view name, adding columns, renaming columns, modifying FIELD column data type (supported since V2.0.8), deleting columns, setting the view's TTL property, and adding comments via COMMENT.
164+
The ALTER VIEW function supports modifying the view name, adding columns, renaming columns, modifying FIELD column data type (supported since V2.0.8.2), deleting columns, setting the view's TTL property, and adding comments via COMMENT.
165165

166166
```SQL
167167
-- Rename view

src/UserGuide/Master/Tree/API/Programming-Python-Native-API_timecho.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ df = ...
558558
```
559559

560560

561-
**Since V2.0.8**, `SessionDataSet` provides methods for batch DataFrame retrieval to efficiently handle large-volume queries:
561+
**Since V2.0.8.2**, `SessionDataSet` provides methods for batch DataFrame retrieval to efficiently handle large-volume queries:
562562

563563
```python
564564
# Batch DataFrame retrieval

0 commit comments

Comments
 (0)