From 82d920d40eadd8e57593209c6ccd663fea1b1778 Mon Sep 17 00:00:00 2001 From: W1y1r <2730956796@qq.com> Date: Fri, 13 Dec 2024 14:56:19 +0800 Subject: [PATCH] Open source users raise Python questions, other versions and master modifications --- .../Master/Tree/API/Programming-Python-Native-API.md | 4 ++-- .../V0.13.x/API/Programming-Python-Native-API.md | 4 ++-- .../V1.0.x/API/Programming-Python-Native-API.md | 4 ++-- .../V1.1.x/API/Programming-Python-Native-API.md | 2 +- .../V1.2.x/API/Programming-Python-Native-API.md | 4 ++-- .../V1.3.0-2/API/Programming-Python-Native-API.md | 4 ++-- .../V2.0.1/Tree/API/Programming-Python-Native-API.md | 4 ++-- .../V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md | 10 +++++----- .../V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md | 6 +++--- .../latest/API/Programming-Python-Native-API.md | 4 ++-- .../Master/Tree/API/Programming-Python-Native-API.md | 4 ++-- .../V0.13.x/API/Programming-Python-Native-API.md | 4 ++-- .../V1.0.x/API/Programming-Python-Native-API.md | 4 ++-- .../V1.2.x/API/Programming-Python-Native-API.md | 4 ++-- .../V1.3.0-2/API/Programming-Python-Native-API.md | 4 ++-- .../V2.0.1/Tree/API/Programming-Python-Native-API.md | 4 ++-- .../V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md | 10 +++++----- .../V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md | 6 +++--- .../latest/API/Programming-Python-Native-API.md | 4 ++-- 19 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/UserGuide/Master/Tree/API/Programming-Python-Native-API.md b/src/UserGuide/Master/Tree/API/Programming-Python-Native-API.md index b17d73ea8..e782dd6f9 100644 --- a/src/UserGuide/Master/Tree/API/Programming-Python-Native-API.md +++ b/src/UserGuide/Master/Tree/API/Programming-Python-Native-API.md @@ -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) diff --git a/src/UserGuide/V0.13.x/API/Programming-Python-Native-API.md b/src/UserGuide/V0.13.x/API/Programming-Python-Native-API.md index 99ac94cfe..6ed7e3d9c 100644 --- a/src/UserGuide/V0.13.x/API/Programming-Python-Native-API.md +++ b/src/UserGuide/V0.13.x/API/Programming-Python-Native-API.md @@ -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) diff --git a/src/UserGuide/V1.0.x/API/Programming-Python-Native-API.md b/src/UserGuide/V1.0.x/API/Programming-Python-Native-API.md index aef8cddae..82ac45ed8 100644 --- a/src/UserGuide/V1.0.x/API/Programming-Python-Native-API.md +++ b/src/UserGuide/V1.0.x/API/Programming-Python-Native-API.md @@ -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) diff --git a/src/UserGuide/V1.1.x/API/Programming-Python-Native-API.md b/src/UserGuide/V1.1.x/API/Programming-Python-Native-API.md index d3306071d..7f457a8ca 100644 --- a/src/UserGuide/V1.1.x/API/Programming-Python-Native-API.md +++ b/src/UserGuide/V1.1.x/API/Programming-Python-Native-API.md @@ -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) diff --git a/src/UserGuide/V1.2.x/API/Programming-Python-Native-API.md b/src/UserGuide/V1.2.x/API/Programming-Python-Native-API.md index 0cc1c5ee0..86b453426 100644 --- a/src/UserGuide/V1.2.x/API/Programming-Python-Native-API.md +++ b/src/UserGuide/V1.2.x/API/Programming-Python-Native-API.md @@ -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) diff --git a/src/UserGuide/V1.3.0-2/API/Programming-Python-Native-API.md b/src/UserGuide/V1.3.0-2/API/Programming-Python-Native-API.md index b17d73ea8..ee54b010c 100644 --- a/src/UserGuide/V1.3.0-2/API/Programming-Python-Native-API.md +++ b/src/UserGuide/V1.3.0-2/API/Programming-Python-Native-API.md @@ -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) diff --git a/src/UserGuide/V2.0.1/Tree/API/Programming-Python-Native-API.md b/src/UserGuide/V2.0.1/Tree/API/Programming-Python-Native-API.md index b17d73ea8..446b0cd53 100644 --- a/src/UserGuide/V2.0.1/Tree/API/Programming-Python-Native-API.md +++ b/src/UserGuide/V2.0.1/Tree/API/Programming-Python-Native-API.md @@ -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) diff --git a/src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md b/src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md index f7b68d4fb..fcef49528 100644 --- a/src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md +++ b/src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md @@ -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 diff --git a/src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md b/src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md index b03e86e5f..d96a60b14 100644 --- a/src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md @@ -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. diff --git a/src/UserGuide/latest/API/Programming-Python-Native-API.md b/src/UserGuide/latest/API/Programming-Python-Native-API.md index b17d73ea8..7e48badac 100644 --- a/src/UserGuide/latest/API/Programming-Python-Native-API.md +++ b/src/UserGuide/latest/API/Programming-Python-Native-API.md @@ -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) diff --git a/src/zh/UserGuide/Master/Tree/API/Programming-Python-Native-API.md b/src/zh/UserGuide/Master/Tree/API/Programming-Python-Native-API.md index c9f618389..45930432a 100644 --- a/src/zh/UserGuide/Master/Tree/API/Programming-Python-Native-API.md +++ b/src/zh/UserGuide/Master/Tree/API/Programming-Python-Native-API.md @@ -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`) diff --git a/src/zh/UserGuide/V0.13.x/API/Programming-Python-Native-API.md b/src/zh/UserGuide/V0.13.x/API/Programming-Python-Native-API.md index 7df7994ab..72d433dc0 100644 --- a/src/zh/UserGuide/V0.13.x/API/Programming-Python-Native-API.md +++ b/src/zh/UserGuide/V0.13.x/API/Programming-Python-Native-API.md @@ -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`) diff --git a/src/zh/UserGuide/V1.0.x/API/Programming-Python-Native-API.md b/src/zh/UserGuide/V1.0.x/API/Programming-Python-Native-API.md index 37cec7529..17e1ef210 100644 --- a/src/zh/UserGuide/V1.0.x/API/Programming-Python-Native-API.md +++ b/src/zh/UserGuide/V1.0.x/API/Programming-Python-Native-API.md @@ -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`) diff --git a/src/zh/UserGuide/V1.2.x/API/Programming-Python-Native-API.md b/src/zh/UserGuide/V1.2.x/API/Programming-Python-Native-API.md index 54305b69c..03a53179f 100644 --- a/src/zh/UserGuide/V1.2.x/API/Programming-Python-Native-API.md +++ b/src/zh/UserGuide/V1.2.x/API/Programming-Python-Native-API.md @@ -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`) diff --git a/src/zh/UserGuide/V1.3.0-2/API/Programming-Python-Native-API.md b/src/zh/UserGuide/V1.3.0-2/API/Programming-Python-Native-API.md index c9f618389..9952cd77a 100644 --- a/src/zh/UserGuide/V1.3.0-2/API/Programming-Python-Native-API.md +++ b/src/zh/UserGuide/V1.3.0-2/API/Programming-Python-Native-API.md @@ -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`) diff --git a/src/zh/UserGuide/V2.0.1/Tree/API/Programming-Python-Native-API.md b/src/zh/UserGuide/V2.0.1/Tree/API/Programming-Python-Native-API.md index c9f618389..129b94e5b 100644 --- a/src/zh/UserGuide/V2.0.1/Tree/API/Programming-Python-Native-API.md +++ b/src/zh/UserGuide/V2.0.1/Tree/API/Programming-Python-Native-API.md @@ -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`) diff --git a/src/zh/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md b/src/zh/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md index 7112666cf..b35e35e1a 100644 --- a/src/zh/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md +++ b/src/zh/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_apache.md @@ -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 ## 数据质量 diff --git a/src/zh/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md b/src/zh/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md index aebf800a4..e9d71a727 100644 --- a/src/zh/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md +++ b/src/zh/UserGuide/V2.0.1/Tree/SQL-Manual/UDF-Libraries_timecho.md @@ -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 操作界面中,执行下述相应的函数注册语句。 diff --git a/src/zh/UserGuide/latest/API/Programming-Python-Native-API.md b/src/zh/UserGuide/latest/API/Programming-Python-Native-API.md index c9f618389..a894bc1ab 100644 --- a/src/zh/UserGuide/latest/API/Programming-Python-Native-API.md +++ b/src/zh/UserGuide/latest/API/Programming-Python-Native-API.md @@ -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`)