Commit Graph

189 Commits

Author SHA1 Message Date
slzhou ba82f05d68 fix: keep original udf file name when rename file error 2023-03-17 20:19:46 +08:00
slzhou c8e05226ce fix: unknown error prompt 2023-03-12 09:40:49 +08:00
slzhou 89d05296d8 fix: add varchar/nchar udf support 2023-03-10 14:56:35 +08:00
slzhou f611a6d467 fix: udf can return varchar 2023-03-10 12:36:58 +08:00
slzhou c10e32eb6a fix: null bitmap error 2023-03-09 20:27:08 +08:00
slzhou a39ada58a5 fix: handle function of udf not implemented 2023-03-09 12:13:59 +08:00
slzhou b0ab4be6f4 fix: some minior improvement 2023-03-09 10:32:09 +08:00
slzhou d7ba604023 fix: c plugin libLoaded = false 2023-03-07 22:43:31 +08:00
slzhou cb73a5c131 fix: check udf python plugin load/open failure 2023-03-07 20:49:14 +08:00
slzhou 6dae414e1a enhance: delay loading of python plugin 2023-03-07 12:01:26 +08:00
slzhou 916a4b2d81 feat: pass logdir to python plugin 2023-03-07 09:57:07 +08:00
slzhou d8c7eb0cdd fix: fix minior errors of previous commit 2023-03-06 09:26:21 +08:00
slzhou 6c4400c3ba fix: the buf returend by the udf has a smaller size than the function bufsize 2023-03-06 09:20:55 +08:00
slzhou 2491821278 fix: change taopyudf library name 2023-03-04 15:23:13 +08:00
slzhou c499d7f173 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/python-udf 2023-03-01 15:51:43 +08:00
slzhou 2b566dabc7 fix: add function not implemented error 2023-03-01 15:37:08 +08:00
slzhou 844a083033 fix: set udf column meta in udfd instead of udf 2023-02-28 20:25:23 +08:00
yihaoDeng 97c4dfb570 fix: limit session num 2023-02-25 18:01:17 +08:00
slzhou df5b0babc4 fix: array[0] not supported in windows 2023-02-24 12:20:55 +08:00
slzhou a7888257d7 fix: call closeFunc when it is not nullptr 2023-02-23 14:56:52 +08:00
slzhou 21cb3d0821 fix: improve pythonpath env variable to include tsTempDir 2023-02-22 12:11:57 +08:00
slzhou 898bd0ed33 feat: script open function accept env item 2023-02-21 21:24:09 +08:00
slzhou 48bcec4631 Merge branch 'szhou/python-udf' of github.com:taosdata/TDengine into szhou/python-udf 2023-02-21 17:09:51 +08:00
slzhou 8e5dae3970 fix: change script udf info structure 2023-02-21 17:09:26 +08:00
shenglian zhou b4d8a327ea fix: change python plugin function name 2023-02-20 16:52:25 +08:00
slzhou 89db7bf600 fix: memory leak error 2023-02-15 12:22:54 +08:00
slzhou 634046cc97 fix: uv_dlopen asan error 2023-02-15 09:25:30 +08:00
slzhou 6b09b72a63 fix: make udfinfo temporary 2023-02-14 17:14:41 +08:00
slzhou 2e266771b1 fix: dispatch to udf by language type and udf name 2023-02-14 13:08:32 +08:00
slzhou 5226473405 feature: udf dispatch first by script type then by udf name 2023-02-06 18:33:54 +08:00
Shengliang Guan 650ea06b69
Merge pull request #19321 from taosdata/feature/3_liaohj
fix(utility): fix the bug in creating auto delete files.
2023-01-03 17:40:48 +08:00
Haojun Liao b8aa4fae8a fix(udf): disable the auto remove for *.so 2023-01-03 14:23:27 +08:00
dapan1121 e6c5fd874a
Merge pull request #19175 from taosdata/szhou/fixbugs2
enhance: remove assert
2022-12-30 09:53:59 +08:00
slzhou ceea74ee7a enhance: remove assert 2022-12-27 09:58:22 +08:00
Alex Duan cd1b87031a fix(query): modify error describe 2022-12-22 10:22:51 +08:00
Alex Duan df6102f66e fix(query): TSDB_CODE_RPC_VGROUP_NOT_CONNECTED same condition check with TSDB_CODE_RPC_NETWORK_UNAVAIL 2022-12-20 18:14:24 +08:00
slzhou c14c1b9ae2 fix: add test case 2022-12-13 15:30:18 +08:00
shenglian zhou 3aa13025c2 fix: udfd without copy buf again and udfd read eof not log with error 2022-12-12 21:57:52 +08:00
shenglian zhou 190fbe849e fix: udfd pipe can close before sending response 2022-12-12 20:20:24 +08:00
shenglian zhou c5abada99e fix: fix gpd error 2022-12-10 11:46:47 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Alex Duan f8b75e3ac1 fix(log): ignore create log error 2022-12-05 17:54:26 +08:00
Shengliang Guan d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Shengliang Guan 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
Shengliang Guan 99968ccc4f enh: adjust error code 2022-12-02 16:46:43 +08:00
Shengliang Guan 13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +08:00
Haojun Liao 9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
Haojun Liao 0ed2c923ad enh(query): support simd in min/max query. 2022-11-24 17:01:00 +08:00
shenglian zhou 532189d662 fix: fix asan error of leaked memory 2022-11-12 19:42:49 +08:00
slzhou 90ed32c43d fix: fix memory usage error 2022-10-25 15:16:31 +08:00
slzhou c3653e3d13 fix: udfd ctrl pipe functions only udfd is started by taosd 2022-10-25 14:57:53 +08:00
slzhou 0ed1d883c3 fix: fix coverity scan issue 2022-10-20 09:53:08 +08:00
slzhou 90bdfd8f01 enhance: add log of initialize resident func 2022-10-19 15:20:12 +08:00
slzhou 54803a56a6 enhance: add log of initialize resident func 2022-10-19 15:16:18 +08:00
yihaoDeng 37a0b9c759 support compress 2022-10-11 22:18:44 +08:00
shenglian zhou 9a82f3521b fix: fix coverity scan issues 2022-10-09 10:55:38 +08:00
shenglian zhou 4c00225e9f fix: fix coverity scan issue in tudf.c and udfd.c 2022-09-29 11:26:58 +08:00
slzhou 8ed3bf3ef1 feat: add resident funcs to udfd 2022-09-19 17:28:13 +08:00
slzhou e0445e0698 fix: taos_connect in gpd_init method and taos_close in gpd_destroy method 2022-09-16 09:56:15 +08:00
slzhou d156bff782 enhance: support resident functions 2022-09-15 17:43:54 +08:00
slzhou 817eed740f fix: prototype to verify stream + udf as task framework 2022-09-15 10:01:24 +08:00
Shengliang Guan 4401080328 enh: make cmake .. -DCMAKE_BUILD_TYPE=Release work 2022-08-31 18:06:17 +08:00
slzhou f3890f7421 feat: support udf merge in udfd 2022-08-26 14:27:15 +08:00
Zhiqiang Wang ca1b1d9e18
Merge pull request #15721 from taosdata/fix/ZhiqiangWang/TD-18093-fix-minimalDirGB-invalid-error
os: fix minimalDirGB invalid error
2022-08-04 10:44:33 +08:00
afwerar e76f770fc8 os: fix minimalDirGB invalid error 2022-08-04 10:02:09 +08:00
slzhou 3c91c66a2e fix: remove udfd allocate buffer trace 2022-08-03 17:12:46 +08:00
shenglian zhou 164251c9b8 fix: uv_write callback is called even after the uvTask associated is deleted 2022-07-22 16:46:53 +08:00
dapan1121 d266bfe187 fix: fix stmt memory leak 2022-07-20 08:39:52 +08:00
yihaoDeng baa21c8398 Merge branch '3.0' of https://github.com/taosdata/TDengine into dev 2022-07-15 14:58:00 +08:00
yihaoDeng 35e8ad2811 feat: add time unsynced check 2022-07-15 14:51:20 +08:00
Haojun Liao 75aca0b031 fix(query): set correct fill output column index, fix some memory leak, and do some internal refactor, 2022-07-14 13:53:23 +08:00
dapan1121 a3bf5b96c4 fix: fix query redirect issue 2022-07-06 20:33:23 +08:00
dapan1121 53efe75146 feat: query redirect 2022-06-29 17:56:35 +08:00
dapan1121 6d8fd7e506 feat: query redirect 2022-06-29 10:51:22 +08:00
dapan1121 4a55ed07b3 feature: query redirect 2022-06-28 10:34:51 +08:00
yihaoDeng 14209eeec6 feat: add no retry to query 2022-06-27 19:34:50 +08:00
yihaoDeng 7c57b03de7 handle rpc retry 2022-06-25 12:19:52 +08:00
shenglian zhou 9278de28b4 fix: improve udfd exist speed 2022-06-23 17:45:16 +08:00
shenglian zhou c449b7208a fix: set correct operator blocking and add closing rpc trace to udfd 2022-06-23 16:52:06 +08:00
dapan1121 947aecb74f show queries/connection; kill connection 2022-06-15 11:27:53 +08:00
afwerar ac09ef04a9 fix(os): add win32 udf case 2022-06-05 17:02:43 +08:00
slzhou 757e4f31a1 fix: udfd can not stop when taosd restarts very quickly 2022-05-23 20:20:27 +08:00
shenglian-zhou cba190ccc3
Merge branch '3.0' into feature/udf 2022-05-22 21:40:12 +08:00
shenglian zhou 1e8a287662 feat: udf code refactoring 2022-05-22 16:37:06 +08:00
shenglian zhou e56a650877 udf: refactor code 2022-05-22 16:31:37 +08:00
shenglian zhou 7976b6abfd feat:udf refactoring 2022-05-22 16:29:41 +08:00
afwerar 5acf419019 fix(os): win not close file ctest error 2022-05-21 23:47:39 +08:00
yihaoDeng 76b9a5acee fix: avoid invalid read/write 2022-05-19 21:56:39 +08:00
slzhou 950835e1fc fix: set correct udf output type when retrieve from mnode 2022-05-18 12:16:28 +08:00
shenglian-zhou 81ea237b4f
Merge pull request #12605 from taosdata/feature/udf
fix: trigger ci test
2022-05-17 22:28:41 +08:00
Shengliang Guan 88094cfec7 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-05-17 20:56:54 +08:00
slzhou 3e4f9db185 fix: trigger ci test 2022-05-17 20:53:36 +08:00
slzhou d46c393598 fix: mnode not ready for connect from udfd 2022-05-17 20:47:40 +08:00
Shengliang Guan d7e895448d fix: conflicts after refactor SRpcMsg 2022-05-17 16:32:23 +08:00
slzhou e8880e1544 fix: udf memory sanitizing 2022-05-17 15:14:16 +08:00
slzhou 47f0c6db6a enhance: refine udfd code 2022-05-17 10:08:15 +08:00
slzhou 5a15151b87 feat: refine udfd 2022-05-17 10:00:13 +08:00
slzhou c245309e6e feat: enhance udfd epset processing with connect msg and callback epset parameter 2022-05-16 19:03:36 +08:00
slzhou 8284d8b8e0 fix: accquire rpc client in the same way as dmInitClient 2022-05-16 13:27:04 +08:00