Commit graph

464 commits

Author SHA1 Message Date
Haojun Liao
325959bd27 fix(query): add parameters check for top/bottom functoin. 2022-05-18 11:01:39 +08:00
Haojun Liao
52f6a66ba5 fix(query): fix some syntax error. 2022-05-17 22:58:17 +08:00
Haojun Liao
a918f19329 Merge branch '3.0' into feature/3.0_liaohj 2022-05-17 22:47:52 +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
slzhou
b4e23c34a4 feat: udfc check udf function interbuf size and result size 2022-05-17 22:10:51 +08:00
Ganlin Zhao
2f128fa3c9
Merge pull request #12607 from taosdata/feature/3.0_glzhao
feat(query): add elapsed function
2022-05-17 21:37:11 +08:00
Ganlin Zhao
1b0b410f98 feat(query): add elapsed function 2022-05-17 21:22:21 +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
slzhou
ee2f3e7e05 fix: clear invalid udf func handle 2022-05-17 20:01:01 +08:00
slzhou
e73b1c4889 fix: support more rows with udf unit test 2022-05-17 19:22:58 +08:00
Haojun Liao
aefa9bd891 refactor: do some internal refactor. 2022-05-17 16:53:55 +08:00
Shengliang Guan
d7e895448d fix: conflicts after refactor SRpcMsg 2022-05-17 16:32:23 +08:00
slzhou
2d0b29d295 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-05-17 15:42:52 +08:00
slzhou
7967f2d7c0 fix: sanitizing tudf memory 2022-05-17 15:19:32 +08:00
slzhou
e8880e1544 fix: udf memory sanitizing 2022-05-17 15:14:16 +08:00
Zhiqiang Wang
9a7126e0e2
Merge pull request #12580 from taosdata/fix/ZhiqiangWang/fix-15602-fix-win-str-to-int64-error
fix(os): win str to int64 error
2022-05-17 14:18:21 +08:00
afwerar
b7ca4f7710 fix(os): win str to int64 error 2022-05-17 13:50:16 +08:00
Ganlin Zhao
766b1a3b46
Merge pull request #12575 from taosdata/feature/3.0_glzhao
feat(query): add HYPERLOGLOG function
2022-05-17 13:45:14 +08:00
slzhou
d668ee7b91 fix: aggregate memory leaking 2022-05-17 12:03:37 +08:00
Ganlin Zhao
1eb59a2fed feat(query): add hll function 2022-05-17 11:36:12 +08:00
slzhou
c94c43951e fix: sanitize udf memory usage 2022-05-17 11:13:11 +08:00
Ganlin Zhao
67e93ef90c Revert "feat(query): add HYPERLOGLOG function"
This reverts commit 267ed293d7.
2022-05-17 10:33:58 +08:00
Ganlin Zhao
267ed293d7 feat(query): add HYPERLOGLOG function 2022-05-17 10:33:19 +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
Ganlin Zhao
9dcf9248d7 feat(query): add HYPERLOGLOG function 2022-05-16 22:43:06 +08:00
Ganlin Zhao
a3f5e4723a
Merge pull request #12552 from taosdata/feature/3.0_glzhao
feat(query): add tail function
2022-05-16 21:50:31 +08:00
Ganlin Zhao
ede4a57c99 enh(query): tail function handle offset param 2022-05-16 19:36:04 +08:00
slzhou
c245309e6e feat: enhance udfd epset processing with connect msg and callback epset parameter 2022-05-16 19:03:36 +08:00
Ganlin Zhao
a281da1379 fix(query): fix tail function points larger than total rows issue 2022-05-16 17:02:01 +08:00
Ganlin Zhao
21b5f72340 fix(query): fix tail function NULL value handing. 2022-05-16 16:35:59 +08:00
Ganlin Zhao
4be158b391 feat(query): add tail function 2022-05-16 14:29:12 +08:00
slzhou
8284d8b8e0 fix: accquire rpc client in the same way as dmInitClient 2022-05-16 13:27:04 +08:00
slzhou
9cb2473580 feat: enhance udf func stub with last ref time 2022-05-16 11:15:57 +08:00
Ganlin Zhao
3ef067ff03 feat(query): add tail function 2022-05-16 11:03:15 +08:00
slzhou
4ae7a16749 fix: teardown udf optimization 2022-05-16 09:24:35 +08:00
slzhou
8ce04a94f9 fix: change function name for tearing down udf handles 2022-05-16 09:06:08 +08:00
slzhou
5b35fcacd6 fix: teardown udf functions handles 2022-05-16 07:47:56 +08:00
slzhou
89ba943981 fix: change udf comment 2022-05-15 14:15:46 +08:00
slzhou
692ae29c6c fix: clean the udf handles cache when pipe error 2022-05-14 23:39:10 +08:00
slzhou
911cd1fe66 fix: reuse existing udf handles and teardown the handle later 2022-05-14 22:51:13 +08:00
slzhou
cef0f74cb3 fix: udf aggregate function handle does not exist 2022-05-14 18:28:51 +08:00
slzhou
56cc2c06f9 fix: udf aggregate function handle does not exist 2022-05-14 18:28:24 +08:00
slzhou
a58a0e79c6 fix: uv task error when the pipe is NULL 2022-05-14 18:09:44 +08:00
slzhou
7161919086 fix: finish uv task when event loop start uv task failed 2022-05-14 17:20:22 +08:00
slzhou
2a42fc66bc fix: udf task to queue whenever uv_write result 2022-05-14 16:51:16 +08:00
slzhou
8d1ddbd877 fix: remove from task queue before signalling caller 2022-05-14 15:42:21 +08:00
slzhou
b53e7192fc fix: core caused by invalid total rows of data block when executing sql like select udf2(f2) from udf.t2 group by 1-udf1(f1) 2022-05-14 09:31:30 +08:00