From 2491821278378e56cd4555e2c34d461bfe792f21 Mon Sep 17 00:00:00 2001 From: slzhou Date: Sat, 4 Mar 2023 15:23:13 +0800 Subject: [PATCH] fix: change taopyudf library name --- source/libs/function/src/udfd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/libs/function/src/udfd.c b/source/libs/function/src/udfd.c index 4123afc829..366e890bd7 100644 --- a/source/libs/function/src/udfd.c +++ b/source/libs/function/src/udfd.c @@ -346,7 +346,8 @@ int32_t udfdLoadSharedLib(char *libPath, uv_lib_t *pLib, const char *funcName[], void udfdInitializePythonPlugin(SUdfScriptPlugin *plugin) { plugin->scriptType = TSDB_FUNC_SCRIPT_PYTHON; - sprintf(plugin->libPath, "%s", "libtaosudf_py.so"); + //todo: windows support + sprintf(plugin->libPath, "%s", "libtaospyudf.so"); plugin->libLoaded = false; const char *funcName[MAX_NUM_PLUGIN_FUNCS] = {"pyOpen", "pyClose", "pyUdfInit", "pyUdfDestroy", "pyUdfScalarProc", "pyUdfAggStart", -- GitLab