This is an automated email from the ASF dual-hosted git repository.
morningman 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 ce10151273 [docs](fix)fix some error path (#11741)
ce10151273 is described below
commit ce101512736b0d49811ee1bb045c9299c9c54d77
Author: daikon <[email protected]>
AuthorDate: Mon Aug 15 21:43:56 2022 +0800
[docs](fix)fix some error path (#11741)
---
docs/en/docs/ecosystem/udf/native-user-defined-function.md | 8 ++++----
docs/zh-CN/docs/ecosystem/udf/native-user-defined-function.md | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
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 1ccacd3047..289b3a46b9 100644
--- a/docs/en/docs/ecosystem/udf/native-user-defined-function.md
+++ b/docs/en/docs/ecosystem/udf/native-user-defined-function.md
@@ -160,17 +160,17 @@ Running `sh build.sh` in the root directory of Doris will
generate a static libr
```
# Include udf
- include_directories(thirdparty/include)
+ include_directories(../thirdparty/include)
# Set all libraries
add_library(udf STATIC IMPORTED)
- set_target_properties(udf PROPERTIES IMPORTED_LOCATION
thirdparty/lib/libDorisUdf.a)
+ set_target_properties(udf PROPERTIES IMPORTED_LOCATION
../thirdparty/lib/libDorisUdf.a)
# where to put generated libraries
- set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/udf_samples")
+ set(LIBRARY_OUTPUT_PATH "src/udf_samples")
# where to put generated binaries
- set(EXECUTABLE_OUTPUT_PATH "${BUILD_DIR}/src/udf_samples")
+ set(EXECUTABLE_OUTPUT_PATH "src/udf_samples")
add_library(udfsample SHARED udf_sample.cpp)
target_link_libraries(udfsample
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 4e6650dd0e..8b04988f94 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
@@ -161,17 +161,17 @@ UDF 能满足的分析需求分为两种:UDF 和 UDAF。本文中的 UDF 指
```
# Include udf
- include_directories(thirdparty/include)
+ include_directories(../thirdparty/include)
# Set all libraries
add_library(udf STATIC IMPORTED)
- set_target_properties(udf PROPERTIES IMPORTED_LOCATION
thirdparty/lib/libDorisUdf.a)
+ set_target_properties(udf PROPERTIES IMPORTED_LOCATION
../thirdparty/lib/libDorisUdf.a)
# where to put generated libraries
- set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/udf_samples")
+ set(LIBRARY_OUTPUT_PATH "src/udf_samples")
# where to put generated binaries
- set(EXECUTABLE_OUTPUT_PATH "${BUILD_DIR}/src/udf_samples")
+ set(EXECUTABLE_OUTPUT_PATH "src/udf_samples")
add_library(udfsample SHARED udf_sample.cpp)
target_link_libraries(udfsample
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]