Skip to content

Commit 934523b

Browse files
committed
z
1 parent 8f22471 commit 934523b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/en/guides/54-query/04-external-function.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,18 @@ upstream udf_string_functions {
166166
server 10.0.2.2:8080 backup;
167167
}
168168
169+
upstream udf_database_functions {
170+
server 10.0.3.1:8080;
171+
server 10.0.3.2:8080 backup;
172+
}
173+
169174
# Map function names to backend servers
170175
map $http_x_databend_function $udf_backend {
171176
default "udf_default";
172177
gcd "udf_math_functions";
173178
lcm "udf_math_functions";
174179
string_* "udf_string_functions";
180+
*_db "udf_database_functions";
175181
}
176182
177183
# Server configuration

0 commit comments

Comments
 (0)