Skip to content
Open
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 @@ -103,6 +103,8 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION contain_null
```

Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 UDF Inspection

* View all registered UDFs and their statuses:
Expand Down
2 changes: 2 additions & 0 deletions src/UserGuide/Master/Tree/User-Manual/Trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ DROP TRIGGER triggerTest1

The above statement will drop the trigger with ID triggerTest1.

Note: For triggers registered using USING URI, you need to remove the trigger's JAR files from the cluster-wide node path (`installation_package/ext/trigger/install`).

### 3.3 Show Trigger

You can query information about triggers that exist in the cluster through an SQL statement.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Example: Uninstall the UDF from the above example:
DROP FUNCTION example
```


Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 Show All Registered UDFs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Example: Uninstall the UDF from the above example:
DROP FUNCTION example
```


Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 Show All Registered UDFs

Expand Down
2 changes: 2 additions & 0 deletions src/UserGuide/V1.3.x/User-Manual/Trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ DROP TRIGGER triggerTest1

The above statement will drop the trigger with ID triggerTest1.

Note: For triggers registered using USING URI, you need to remove the trigger's JAR files from the cluster-wide node path (`installation_package/ext/trigger/install`).

### Show Trigger

You can query information about triggers that exist in the cluster through an SQL statement.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Example: Uninstall the UDF from the above example:
DROP FUNCTION example
```


Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 Show All Registered UDFs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Example: Uninstall the UDF from the above example:
DROP FUNCTION example
```


Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 Show All Registered UDFs

Expand Down
2 changes: 2 additions & 0 deletions src/UserGuide/dev-1.3/User-Manual/Trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ DROP TRIGGER triggerTest1

The above statement will drop the trigger with ID triggerTest1.

Note: For triggers registered using USING URI, you need to remove the trigger's JAR files from the cluster-wide node path (`installation_package/ext/trigger/install`).

### Show Trigger

You can query information about triggers that exist in the cluster through an SQL statement.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Example: Uninstall the UDF from the above example:
DROP FUNCTION example
```


Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 Show All Registered UDFs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Example: Uninstall the UDF from the above example:
DROP FUNCTION example
```


Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 Show All Registered UDFs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION contain_null
```

Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 UDF Inspection

* View all registered UDFs and their statuses:
Expand Down
2 changes: 2 additions & 0 deletions src/UserGuide/latest/User-Manual/Trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ DROP TRIGGER triggerTest1

The above statement will drop the trigger with ID triggerTest1.

Note: For triggers registered using USING URI, you need to remove the trigger's JAR files from the cluster-wide node path (`installation_package/ext/trigger/install`).

### 3.3 Show Trigger

You can query information about triggers that exist in the cluster through an SQL statement.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Example: Uninstall the UDF from the above example:
DROP FUNCTION example
```


Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 Show All Registered UDFs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Example: Uninstall the UDF from the above example:
DROP FUNCTION example
```


Note: For functions registered using USING URI, you need to remove the UDF's JAR files from the cluster-wide node path (`installation_package/ext/udf/install`).

### 2.3 Show All Registered UDFs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ UDF(User Defined Function)即用户自定义函数,IoTDB 提供多种内

IoTDB 表模型中支持三种类型的 UDF ,如下表所示。

| UDF 类型 | 函数类型 | 描述 |
|-----------------------------------------|------|--------------------------------|
| `UDSF(User-defined Scalar Function)` | 标量函数 | 输入 k 列 1 行数据,输出1 列 1 行数据(一对一)。 |
| `UDAF(User-defined Aggregate Function)` | 聚合函数 | 输入k 列 m 行数据,输出1 列 1 行数据(多对一)。 |
| `UDTF(User-defined Table Function)` | 表函数 | 输入0或1张表(k 列 m 行),输出1张表(x 行 y 列)。 |
| UDF 类型 | 函数类型 | 描述 |
|-----------------------------------------|------|----------------------------------|
| `UDSF(User-defined Scalar Function)` | 标量函数 | 输入 k 列 1 行数据,输出1 列 1 行数据(一对一)。 |
| `UDAF(User-defined Aggregate Function)` | 聚合函数 | 输入k 列 m 行数据,输出1 列 1 行数据(多对一)。 |
| `UDTF(User-defined Table Function)` | 表函数 | 输入0或1张表(k 列 m 行),输出1张表(x 行 y 列)。 |

* `UDSF` 可用于标量函数出现的任何子句和表达式中,如select子句、where子句等。
* `select udsf1(s1) from table1 where udsf2(s1)>0`
Expand Down Expand Up @@ -89,6 +89,8 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION contain_null
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 UDF 查看

* 如果 State 为 UNAVAILABLE,可能是在注册或卸载过程中系统发生了错误,请查看系统日志进行排查,重新注册或卸载 UDF 直至成功即可。
Expand Down
2 changes: 2 additions & 0 deletions src/zh/UserGuide/Master/Tree/User-Manual/Trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ DROP TRIGGER triggerTest1

上述语句将会卸载 ID 为 triggerTest1 的触发器。

注意:对于使用 using uri 注册的触发器,需要移除集群所有节点路径(`安装包/ext/trigger/install`)中存在的触发器的 jar 文件。

### 3.3 查询触发器

可以通过 SQL 语句查询集群中存在的触发器的信息。SQL 语法如下:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION example
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 查看所有注册的 UDF

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION example
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 查看所有注册的 UDF

Expand Down
2 changes: 2 additions & 0 deletions src/zh/UserGuide/V1.3.x/User-Manual/Trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ DROP TRIGGER triggerTest1

上述语句将会卸载 ID 为 triggerTest1 的触发器。

注意:对于使用 using uri 注册的触发器,需要移除集群所有节点路径(`安装包/ext/trigger/install`)中存在的触发器的 jar 文件。

### 查询触发器

可以通过 SQL 语句查询集群中存在的触发器的信息。SQL 语法如下:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION example
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 查看所有注册的 UDF

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION example
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 查看所有注册的 UDF

Expand Down
3 changes: 3 additions & 0 deletions src/zh/UserGuide/dev-1.3/User-Manual/Trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ DROP TRIGGER triggerTest1

上述语句将会卸载 ID 为 triggerTest1 的触发器。

注意:对于使用 using uri 注册的触发器,需要移除集群所有节点路径(`安装包/ext/trigger/install`)中存在的触发器的 jar 文件。


### 查询触发器

可以通过 SQL 语句查询集群中存在的触发器的信息。SQL 语法如下:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION example
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 查看所有注册的 UDF

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION example
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 查看所有注册的 UDF

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION contain_null
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 UDF 查看

* 如果 State 为 UNAVAILABLE,可能是在注册或卸载过程中系统发生了错误,请查看系统日志进行排查,重新注册或卸载 UDF 直至成功即可。
Expand Down
2 changes: 2 additions & 0 deletions src/zh/UserGuide/latest/User-Manual/Trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ DROP TRIGGER triggerTest1

上述语句将会卸载 ID 为 triggerTest1 的触发器。

注意:对于使用 using uri 注册的触发器,需要移除集群所有节点路径(`安装包/ext/trigger/install`)中存在的触发器的 jar 文件。

### 3.3 查询触发器

可以通过 SQL 语句查询集群中存在的触发器的信息。SQL 语法如下:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION example
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 查看所有注册的 UDF

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ DROP FUNCTION <UDF-NAME>
DROP FUNCTION example
```

注意:对于使用 using uri 注册的函数,需要移除集群所有节点路径(`安装包/ext/udf/install`)中存在的 UDF 的 jar 文件。

### 2.3 查看所有注册的 UDF

Expand Down