Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ You have to install thrift (>=0.13) before using the package.

First, download the package: `pip3 install apache-iotdb`

You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionExample.py)
You can get an example of using the package to read and write data at here: [Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/session_example.py)

An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)
An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/session_aligned_timeseries_example.py)

(you need to add `import iotdb` in the head of the file)

Expand Down
4 changes: 2 additions & 2 deletions src/UserGuide/V0.13.x/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ First, download the latest package: `pip3 install apache-iotdb`

*Notice: If you are installing Python API v0.13.0, DO NOT install by `pip install apache-iotdb==0.13.0`, use `pip install apache-iotdb==0.13.0.post1` instead!*

You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/master/client-py/SessionExample.py)
You can get an example of using the package to read and write data at here: [Session Example](https://github.com/apache/iotdb/blob/rel/0.13/client-py/SessionExample.py)

An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/client-py/SessionAlignedTimeseriesExample.py)
An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rel/0.13/client-py/SessionAlignedTimeseriesExample.py)

(you need to add `import iotdb` in the head of the file)

Expand Down
4 changes: 2 additions & 2 deletions src/UserGuide/V1.0.x/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ You have to install thrift (>=0.13) before using the package.

First, download the package: `pip3 install apache-iotdb`

You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/master/client-py/SessionExample.py)
You can get an example of using the package to read and write data at here: [Session Example](https://github.com/apache/iotdb/blob/rel/1.0/client-py/SessionExample.py)

An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/client-py/SessionAlignedTimeseriesExample.py)
An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rel/1.0/client-py/SessionAlignedTimeseriesExample.py)

(you need to add `import iotdb` in the head of the file)

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/V1.1.x/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You have to install thrift (>=0.13) before using the package.

First, download the package: `pip3 install apache-iotdb`

You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/rel/1.1/client-py/SessionExample.py)
You can get an example of using the package to read and write data at here: [Session Example](https://github.com/apache/iotdb/blob/rel/1.1/client-py/SessionExample.py)

An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rel/1.1/client-py/SessionAlignedTimeseriesExample.py)

Expand Down
4 changes: 2 additions & 2 deletions src/UserGuide/V1.2.x/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ You have to install thrift (>=0.13) before using the package.

First, download the package: `pip3 install apache-iotdb`

You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/master/client-py/SessionExample.py)
You can get an example of using the package to read and write data at here: [Session Example](https://github.com/apache/iotdb/blob/rel/1.2/iotdb-client/client-py/SessionExample.py)

An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/client-py/SessionAlignedTimeseriesExample.py)
An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rel/1.2/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)

(you need to add `import iotdb` in the head of the file)

Expand Down
4 changes: 2 additions & 2 deletions src/UserGuide/V1.3.0-2/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ You have to install thrift (>=0.13) before using the package.

First, download the package: `pip3 install apache-iotdb`

You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionExample.py)
You can get an example of using the package to read and write data at here: [Session Example](https://github.com/apache/iotdb/blob/rc/1.3.0/iotdb-client/client-py/SessionExample.py)

An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)
An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rc/1.3.0/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)

(you need to add `import iotdb` in the head of the file)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ You have to install thrift (>=0.13) before using the package.

First, download the package: `pip3 install apache-iotdb`

You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionExample.py)
You can get an example of using the package to read and write data at here:[Session Example](https://github.com/apache/iotdb/blob/rc/2.0.1/iotdb-client/client-py/session_example.py)

An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)
An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rc/2.0.1/iotdb-client/client-py/session_aligned_timeseries_example.py)

(you need to add `import iotdb` in the head of the file)

Expand Down
10 changes: 5 additions & 5 deletions src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ Based on the ability of user-defined functions, IoTDB provides a series of funct

1. Please obtain the compressed file of the UDF library JAR package that is compatible with the IoTDB version.

| UDF libraries version | Supported IoTDB versions | Download link |
| UDF installation package | Supported IoTDB versions | Download link |
| --------------- | ----------------- | ------------------------------------------------------------ |
| UDF-1.3.3.zip | V1.3.3 and above | Please contact Timecho for assistance |
| UDF-1.3.2.zip | V1.0.0~V1.3.2 | Please contact Timecho for assistance|
| apache-UDF-1.3.3.zip | V1.3.3 and above |Please contact Timecho for assistance |
| apache-UDF-1.3.2.zip | V1.0.0~V1.3.2 | Please contact Timecho for assistance|

2. Place the library-udf.jar file in the compressed file obtained in the directory `/ext/udf ` of all nodes in the IoTDB cluster
3. In the SQL command line terminal (CLI) or visualization console (Workbench) SQL operation interface of IoTDB, execute the corresponding function registration statement as follows.
3. In the SQL operation interface of IoTDB's SQL command line terminal (CLI), execute the corresponding function registration statement as follows.
4. Batch registration: Two registration methods: registration script or SQL full statement
- Register Script
- Copy the registration script (register-UDF.sh or register-UDF.bat) from the compressed package to the `tools` directory of IoTDB as needed, and modify the parameters in the script (default is host=127.0.0.1, rpcPort=6667, user=root, pass=root);
- Start IoTDB service, run registration script to batch register UDF

- All SQL statements
- Open the SQl file in the compressed package, copy all SQL statements, and execute all SQl statements in the SQL command line terminal (CLI) of IoTDB or the SQL operation interface of the visualization console (Workbench) to batch register UDF
- Open the SQl file in the compressed package, copy all SQL statements, and in the SQL operation interface of IoTDB's SQL command line terminal (CLI), execute all SQl statements to batch register UDFs

## Data Quality

Expand Down
6 changes: 3 additions & 3 deletions src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ Based on the ability of user-defined functions, IoTDB provides a series of funct

1. Please obtain the compressed file of the UDF library JAR package that is compatible with the IoTDB version.

| UDF libraries version | Supported IoTDB versions | Download link |
| UDF installation package | Supported IoTDB versions | Download link |
| --------------- | ----------------- | ------------------------------------------------------------ |
| UDF-1.3.3.zip | V1.3.3 and above | Please contact Timecho for assistance |
| UDF-1.3.2.zip | V1.0.0~V1.3.2 | Please contact Timecho for assistance |
| TimechoDB-UDF-1.3.3.zip | V1.3.3 and above | Please contact Timecho for assistance |
| TimechoDB-UDF-1.3.2.zip | V1.0.0~V1.3.2 | Please contact Timecho for assistance|

2. Place the `library-udf.jar` file in the compressed file obtained in the directory `/ext/udf ` of all nodes in the IoTDB cluster
3. In the SQL command line terminal (CLI) or visualization console (Workbench) SQL operation interface of IoTDB, execute the corresponding function registration statement as follows.
Expand Down
4 changes: 2 additions & 2 deletions src/UserGuide/latest/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ You have to install thrift (>=0.13) before using the package.

First, download the package: `pip3 install apache-iotdb`

You can get an example of using the package to read and write data at here: [Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionExample.py)
You can get an example of using the package to read and write data at here: [Session Example](https://github.com/apache/iotdb/blob/rc/1.3.3/iotdb-client/client-py/SessionExample.py)

An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)
An example of aligned timeseries: [Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rc/1.3.3/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)

(you need to add `import iotdb` in the head of the file)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

首先下载包:`pip3 install apache-iotdb`

您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionExample.py)
您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/session_example.py)

关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)
关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/session_aligned_timeseries_example.py)

(您需要在文件的头部添加`import iotdb`)

Expand Down
4 changes: 2 additions & 2 deletions src/zh/UserGuide/V0.13.x/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

*注意:如果您想要安装 0.13.0 版本的 Python API,不要使用 `pip install apache-iotdb==0.13.0`,请使用 `pip install apache-iotdb==0.13.0.post1` 作为替代!*

您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/master/client-py/SessionExample.py)
您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/rel/0.13/client-py/SessionExample.py)

关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/client-py/SessionAlignedTimeseriesExample.py)
关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rel/0.13/client-py/SessionAlignedTimeseriesExample.py)

(您需要在文件的头部添加`import iotdb`)

Expand Down
4 changes: 2 additions & 2 deletions src/zh/UserGuide/V1.0.x/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

首先下载包:`pip3 install apache-iotdb`

您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/master/client-py/SessionExample.py)
您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/rel/1.0/client-py/SessionExample.py)

关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/client-py/SessionAlignedTimeseriesExample.py)
关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rel/1.0/client-py/SessionAlignedTimeseriesExample.py)

(您需要在文件的头部添加`import iotdb`)

Expand Down
4 changes: 2 additions & 2 deletions src/zh/UserGuide/V1.2.x/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

首先下载包:`pip3 install apache-iotdb`

您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/master/client-py/SessionExample.py)
您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/rel/1.2/iotdb-client/client-py/SessionExample.py)

关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/client-py/SessionAlignedTimeseriesExample.py)
关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rel/1.2/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)

(您需要在文件的头部添加`import iotdb`)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

首先下载包:`pip3 install apache-iotdb`

您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionExample.py)
您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/rc/1.3.0/iotdb-client/client-py/SessionExample.py)

关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)
关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rc/1.3.0/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)

(您需要在文件的头部添加`import iotdb`)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

首先下载包:`pip3 install apache-iotdb`

您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionExample.py)
您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/rc/2.0.1/iotdb-client/client-py/session_example.py)

关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)
关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rc/2.0.1/iotdb-client/client-py/session_aligned_timeseries_example.py)

(您需要在文件的头部添加`import iotdb`)

Expand Down
10 changes: 5 additions & 5 deletions src/zh/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@
## 安装步骤
1. 请获取与 IoTDB 版本兼容的 UDF 函数库 JAR 包的压缩包。

| UDF 函数库版本 | 支持的 IoTDB 版本 | 下载链接 |
| UDF 安装包 | 支持的 IoTDB 版本 | 下载链接 |
| --------------- | ----------------- | ------------------------------------------------------------ |
| UDF-1.3.3.zip | V1.3.3及以上 | 请联系天谋商务获取 |
| UDF-1.3.2.zip | V1.0.0~V1.3.2 | 请联系天谋商务获取 |
| apache-UDF-1.3.3.zip | V1.3.3及以上 | 请联系天谋商务获取 |
| apache-UDF-1.3.2.zip | V1.0.0~V1.3.2 | 请联系天谋商务获取|

2. 将获取的压缩包中的 library-udf.jar 文件放置在 IoTDB 集群所有节点的 `/ext/udf` 的目录下
3. 在 IoTDB 的 SQL 命令行终端(CLI)或可视化控制台(Workbench)的 SQL 操作界面中,执行下述相应的函数注册语句。
3. 在 IoTDB 的 SQL 命令行终端(CLI)的 SQL 操作界面中,执行下述相应的函数注册语句。
4. 批量注册:两种注册方式:注册脚本 或 SQL汇总语句
- 注册脚本
- 将压缩包中的注册脚本(register-UDF.sh 或 register-UDF.bat)按需复制到 IoTDB 的 tools 目录下,修改脚本中的参数(默认为host=127.0.0.1,rpcPort=6667,user=root,pass=root);
- 启动 IoTDB 服务,运行注册脚本批量注册 UDF

- SQL汇总语句
- 打开压缩包中的SQl文件,复制全部 SQL 语句,在 IoTDB 的 SQL 命令行终端(CLI)或可视化控制台(Workbench)的 SQL 操作界面中,执行全部 SQl 语句批量注册 UDF
- 打开压缩包中的SQl文件,复制全部 SQL 语句,在 IoTDB 的 SQL 命令行终端(CLI)的 SQL 操作界面中,执行全部 SQl 语句批量注册 UDF

## 数据质量

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
## 安装步骤
1. 请获取与 IoTDB 版本兼容的 UDF 函数库 JAR 包的压缩包。

| UDF 函数库版本 | 支持的 IoTDB 版本 | 下载链接 |
| UDF 安装包 | 支持的 IoTDB 版本 | 下载链接 |
| --------------- | ----------------- | ------------------------------------------------------------ |
| UDF-1.3.3.zip | V1.3.3及以上 |请联系天谋商务获取 |
| UDF-1.3.2.zip | V1.0.0~V1.3.2 | 请联系天谋商务获取 |
| TimechoDB-UDF-1.3.3.zip | V1.3.3及以上 | 请联系天谋商务获取 |
| TimechoDB-UDF-1.3.2.zip | V1.0.0~V1.3.2 | 请联系天谋商务获取 |

2. 将获取的压缩包中的 `library-udf.jar` 文件放置在 IoTDB 集群所有节点的 `/ext/udf` 的目录下
3. 在 IoTDB 的 SQL 命令行终端(CLI)或可视化控制台(Workbench)的 SQL 操作界面中,执行下述相应的函数注册语句。
Expand Down
4 changes: 2 additions & 2 deletions src/zh/UserGuide/latest/API/Programming-Python-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

首先下载包:`pip3 install apache-iotdb`

您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionExample.py)
您可以从这里得到一个使用该包进行数据读写的例子:[Session Example](https://github.com/apache/iotdb/blob/rc/1.3.3/iotdb-client/client-py/SessionExample.py)

关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/master/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)
关于对齐时间序列读写的例子:[Aligned Timeseries Session Example](https://github.com/apache/iotdb/blob/rc/1.3.3/iotdb-client/client-py/SessionAlignedTimeseriesExample.py)

(您需要在文件的头部添加`import iotdb`)

Expand Down
Loading