This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new b0b876f640 [typo](docs) vectorization needs to be turned off to use 
native udf #12739
b0b876f640 is described below

commit b0b876f64026903462a811b4d1e916e91ea7e7e8
Author: lsy3993 <110876560+lsy3...@users.noreply.github.com>
AuthorDate: Wed Sep 21 09:13:48 2022 +0800

    [typo](docs) vectorization needs to be turned off to use native udf #12739
---
 docs/en/docs/ecosystem/udf/native-user-defined-function.md    | 5 +++++
 docs/zh-CN/docs/ecosystem/udf/native-user-defined-function.md | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/docs/en/docs/ecosystem/udf/native-user-defined-function.md 
b/docs/en/docs/ecosystem/udf/native-user-defined-function.md
index 289b3a46b9..e6b239ba02 100644
--- a/docs/en/docs/ecosystem/udf/native-user-defined-function.md
+++ b/docs/en/docs/ecosystem/udf/native-user-defined-function.md
@@ -260,6 +260,11 @@ Users must have the `SELECT` permission of the 
corresponding database to use UDF
 
 The use of UDF is consistent with ordinary function methods. The only 
difference is that the scope of built-in functions is global, and the scope of 
UDF is internal to DB. When the link session is inside the data, directly using 
the UDF name will find the corresponding UDF inside the current DB. Otherwise, 
the user needs to display the specified UDF database name, such as 
`dbName`.`funcName`.
 
+In current version, vectorization needs to be turned off to use native udf  
+```
+set enable_vectorized_engine = false;
+```
+
 
 ## Delete UDF
 
diff --git a/docs/zh-CN/docs/ecosystem/udf/native-user-defined-function.md 
b/docs/zh-CN/docs/ecosystem/udf/native-user-defined-function.md
index 8b04988f94..ff0e79d135 100644
--- a/docs/zh-CN/docs/ecosystem/udf/native-user-defined-function.md
+++ b/docs/zh-CN/docs/ecosystem/udf/native-user-defined-function.md
@@ -262,6 +262,11 @@ CREATE [AGGREGATE] FUNCTION
 
 UDF 的使用与普通的函数方式一致,唯一的区别在于,内置函数的作用域是全局的,而 UDF 的作用域是 DB内部。当链接 session 
位于数据内部时,直接使用 UDF 名字会在当前DB内部查找对应的 UDF。否则用户需要显示的指定 UDF 的数据库名字,例如 
`dbName`.`funcName`。
 
+当前版本中,使用原生UDF时还需要将向量化关闭  
+```
+set enable_vectorized_engine = false;
+```
+
 
 ## 删除 UDF函数
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to