Commit Graph

691 Commits

Author SHA1 Message Date
dapan1121 7baf8eab29 catalog async api 2022-05-20 09:53:30 +08:00
Ganlin Zhao bf4826d9a8 feat(query): add unique function 2022-05-19 22:42:30 +08:00
Yihao Deng 040292cb80
Merge pull request #12718 from taosdata/enh/deleteDupCode
Enh/delete dup code
2022-05-19 22:12:46 +08:00
yihaoDeng 76b9a5acee fix: avoid invalid read/write 2022-05-19 21:56:39 +08:00
shenglian-zhou 5049ea17e6
Merge pull request #12717 from taosdata/feature/udf
fix: udf2 reuse old state when new input is all null
2022-05-19 21:11:38 +08:00
slzhou b5a419c25a Merge branch 'feature/udf' of github.com:taosdata/TDengine into feature/udf 2022-05-19 20:56:40 +08:00
slzhou c0fc53a9a8 fix: udf2 reuse old state when new input is null 2022-05-19 20:54:30 +08:00
shenglian-zhou 6649018519
Merge pull request #12707 from taosdata/feature/udf
fix: set hasResult when old state has result
2022-05-19 18:11:40 +08:00
slzhou 5a3f6b11e7 fix: set hasResult when old state has result 2022-05-19 17:48:34 +08:00
Haojun Liao f636806c2a other: merge 3.0 2022-05-19 17:07:01 +08:00
Haojun Liao e0b9da9c3d refactor: do some internal refactor. 2022-05-19 16:49:43 +08:00
Xiaoyu Wang 29bdba7298 fix: some problems of parser and planner 2022-05-19 14:26:10 +08:00
Ganlin Zhao fba964778b
Merge pull request #12651 from taosdata/feature/3.0_glzhao
enh(query): support sum(NULL), max(NULL), min(NULL), count(NULL)
2022-05-18 19:26:17 +08:00
Ganlin Zhao 8daaea58de feat(query): fix ci 2022-05-18 18:51:40 +08:00
slzhou 36dcc70f0d fix: improve udf function misuse stability 2022-05-18 18:21:32 +08:00
Ganlin Zhao 98a6792b99 Merge branch '3.0' into feature/3.0_glzhao 2022-05-18 16:54:19 +08:00
Ganlin Zhao e948d5a248 enh(query): support avg(NULL), stddev(NULL) 2022-05-18 16:35:13 +08:00
Ganlin Zhao a52e0027cf enh(query): support count(NULL) = 0 2022-05-18 16:14:57 +08:00
Ganlin Zhao 26c618e5ad enh(query): support sum(NULL), max(NULL), min(NULL) 2022-05-18 16:03:59 +08:00
Ganlin Zhao 36370a2339
Merge pull request #12612 from taosdata/feature/3.0_glzhao
fix(query): fix elapsed parameter number
2022-05-18 14:34:53 +08:00
shenglian-zhou 7655f51ff8
Merge pull request #12631 from taosdata/feature/udf
fix: udfc checks output type and output bytes when executing scalar f…
2022-05-18 12:43:01 +08:00
slzhou 950835e1fc fix: set correct udf output type when retrieve from mnode 2022-05-18 12:16:28 +08:00
Haojun Liao eeaea6a6dc
Merge pull request #12629 from taosdata/feature/3.0_liaohj
fix(query): add parameters check for top/bottom functoin.
2022-05-18 12:11:08 +08:00
slzhou 00c11b01fe fix: udfc checks output type and output bytes when executing scalar function 2022-05-18 11:43:03 +08:00
Haojun Liao 325959bd27 fix(query): add parameters check for top/bottom functoin. 2022-05-18 11:01:39 +08:00
shenglian-zhou ea3e48827f
Merge pull request #12627 from taosdata/feature/udf
fix: release udf func handle when udf agg failure
2022-05-18 10:44:47 +08:00
slzhou d5c30f5ea5 fix: release udf func handle when udf agg failure 2022-05-18 10:29:32 +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
Ganlin Zhao 485a1aedd5 fix(query): fix elapsed parameter number 2022-05-17 22:27:46 +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
Shengliang Guan 253651a521
Merge pull request #12449 from taosdata/feature/3.0_glzhao
feat(query): add sample function using reservoir sampling method
2022-05-13 23:27:07 +08:00
Ganlin Zhao c1666e7e02 feat(query): add sample function 2022-05-13 22:08:37 +08:00
Ganlin Zhao 18ac565a93 feat(query): add sample function 2022-05-13 22:06:22 +08:00
Shengliang Guan 2258916b1d test: recover tmq/basic5.py 2022-05-13 22:02:55 +08:00
shenglian-zhou 095217a204
Merge pull request #12445 from taosdata/feature/udf
feat: fix erros of square int overflow and block capacity set before filling a new column
2022-05-13 21:59:02 +08:00
afwerar 0815843e94 fix(os): make taosd.exe taos.exe run on windows. 2022-05-13 21:42:16 +08:00
Ganlin Zhao 315a875208 feat(query): add sample function 2022-05-13 21:36:33 +08:00
Ganlin Zhao d24254fb84 feat(query): add sample function 2022-05-13 21:13:35 +08:00
slzhou a6900a7e96 fix : udf2 overflow for large int multiply large int 2022-05-13 21:02:32 +08:00
Shengliang Guan d4e0a27ef3 Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-13 17:46:51 +08:00
Haojun Liao 86031c1985 fix(query): add the repeat scan flag check during aggregate executor. 2022-05-13 12:17:09 +08:00
Shengliang Guan 992a64e7c8 Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-13 11:09:02 +08:00
shenglian-zhou c5faaca906
Merge pull request #12407 from taosdata/feature/udf
fix: udf2 support int and double data type
2022-05-13 09:49:13 +08:00
Haojun Liao e468363ce1
Merge pull request #12409 from taosdata/feature/3.0_liaohj
fix(query): close read fd when finishing scanning data files.
2022-05-13 01:25:38 +08:00
Haojun Liao aae019d18a fix(query): close read fd when finishing scanning data files. 2022-05-13 00:32:02 +08:00
Haojun Liao 3678aa9094
Merge pull request #12391 from taosdata/feature/3.0_liaohj
fix(query): fix special pseudo column caused taosd crash.
2022-05-12 23:49:21 +08:00
slzhou 73d55e7c6b fix: udf2 support int and double data type 2022-05-12 22:58:49 +08:00
Ganlin Zhao 8b9dd500bd
Merge pull request #12401 from taosdata/feature/3.0_glzhao
feat(query): add mavg function
2022-05-12 22:53:36 +08:00
Ganlin Zhao 1e503061ed feat(query): add mavg function 2022-05-12 21:25:53 +08:00
Ganlin Zhao 8d21c662aa feat(query): add mavg function 2022-05-12 21:16:34 +08:00
Ganlin Zhao 818e3636d6 feat(query): add mavg function 2022-05-12 20:40:17 +08:00
Haojun Liao 69e9f6972c other: add some missing modification files to git. 2022-05-12 17:47:01 +08:00
Haojun Liao 4eaf1f5bb6 refactor: do some internal refactor. 2022-05-12 17:34:07 +08:00
Shengliang Guan 47970ff8a4 refactor: node mgmt 2022-05-12 17:30:57 +08:00
Shengliang Guan dd87e8f7b9 refactor: node mgmt 2022-05-12 17:12:40 +08:00
slzhou@taodata.com 278f5262ce Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-05-12 16:50:26 +08:00
shenglian-zhou 3516696a66
Merge pull request #12382 from taosdata/feature/udf
feature(udf): follow tsdb_code error convention
2022-05-12 16:50:03 +08:00
slzhou@taodata.com 8927155013 feat:add udf dedicated errors 2022-05-12 16:49:31 +08:00
slzhou@taodata.com c95d3cdb36 feature(udf):error follows tsdb_code standard 2022-05-12 15:43:32 +08:00
shenglian-zhou 7357c80720
Merge pull request #12377 from taosdata/feature/udf
feature(udf): column has member hasNull
2022-05-12 15:39:21 +08:00
Ganlin Zhao aba7e4a6f6
Merge pull request #12376 from taosdata/feature/3.0_glzhao
feat(query): add csum function
2022-05-12 15:18:49 +08:00
slzhou@taodata.com d7bd682237 column has member hasNull 2022-05-12 14:42:57 +08:00
Ganlin Zhao 71e43677f7 feat(query): add csum function 2022-05-12 14:38:56 +08:00
Xiaoyu Wang 385068caf9
Merge pull request #12350 from taosdata/feature/3.0_wxy
fix: some problems of parser
2022-05-11 20:33:42 +08:00
Xiaoyu Wang 510283290d fix: some problems of parser 2022-05-11 19:49:04 +08:00
Xiaoyu Wang 41e36dddb7 fix: some problems of parser 2022-05-11 19:03:59 +08:00
Ganlin Zhao 93b0cd8047
Merge pull request #12343 from taosdata/feature/3.0_glzhao
feat(query): add state_duration function
2022-05-11 17:02:24 +08:00
Ganlin Zhao 977c3fe400 feat(query): add state_duration function 2022-05-11 15:42:31 +08:00
Ganlin Zhao 6a94ad7346
Merge pull request #12321 from taosdata/feature/3.0_glzhao
feat(query): add state_count function
2022-05-11 09:50:56 +08:00
Haojun Liao a4015fdb2c
Merge pull request #12315 from taosdata/feature/3.0_liaohj
refactor: do some internal refactor.
2022-05-10 22:07:02 +08:00
shenglian-zhou f718be6ec1
Merge pull request #12320 from taosdata/feature/udf
feature(udf): disable udfd starting
2022-05-10 22:04:20 +08:00
Xiaoyu Wang 8975c6e042 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-05-10 21:00:18 +08:00
Xiaoyu Wang 2745113a77 fix: some problems of parser 2022-05-10 20:59:10 +08:00
Ganlin Zhao 46c9e0f1c2 refactor code format 2022-05-10 20:51:31 +08:00
Ganlin Zhao 57cd462000 Merge branch '3.0' into feature/3.0_glzhao 2022-05-10 20:44:57 +08:00
Ganlin Zhao 3c7b971841 feat(query): add state_count function 2022-05-10 20:35:54 +08:00
Ganlin Zhao 85adb8611c feat(query): add state_count function 2022-05-10 20:32:03 +08:00
slzhou fe99a19687 feature(udf):start udfd can be disabled 2022-05-10 20:24:01 +08:00
slzhou adceacd59b feature(udf):start udfd can be disabled 2022-05-10 20:07:46 +08:00
Haojun Liao 8c47b350dc fix(query): Pseudo time window result expands to multiple rows in case of multiple rows aggregates function existing. 2022-05-10 18:21:54 +08:00
shenglian zhou 8dda49ac17 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-05-10 13:01:06 +08:00
shenglian zhou 2ba5fdc36f fix: block extraction null set error 2022-05-10 11:22:31 +08:00
Ganlin Zhao 65fe36ffb4
Merge pull request #12295 from taosdata/feature/3.0_glzhao
fix(query): fix histogram normalized result incorrect for super table
2022-05-10 11:11:25 +08:00
Ganlin Zhao 7213548847 fix(query): fix histogram normalized result incorrect for super table
TD-15407
2022-05-10 10:15:33 +08:00
Ganlin Zhao 15055fe9e3
Merge pull request #12281 from taosdata/feature/3.0_glzhao
feat(query): add leastsquares function
2022-05-10 10:13:51 +08:00
Shengliang Guan fe4c1eed05
Merge pull request #12283 from taosdata/feature/3.0_wxy
fix: problem of parser and planner
2022-05-10 09:35:32 +08:00
Haojun Liao f872ef975f
Merge pull request #12274 from taosdata/feature/3.0_liaohj
enh(query):support selectivity function and normal column data query.
2022-05-09 23:36:51 +08:00
slzhou 623a71d34c feature(udf):move start/stop udfd out of dnode management preparation 2022-05-09 21:39:41 +08:00
Xiaoyu Wang 4c914c2960 fix: problem of parser and planner 2022-05-09 20:20:05 +08:00
Ganlin Zhao cfa77a2d39 feat(query): add leastsquares function 2022-05-09 20:04:03 +08:00
Ganlin Zhao 79570c93a3 feat(query): add leastsquares function 2022-05-09 19:37:16 +08:00
Haojun Liao 55d11618d0 fix(query): fix float value min/max query error. 2022-05-09 19:13:50 +08:00
Haojun Liao ea18b8a7dc feature(query): bottom function is available. 2022-05-09 17:48:23 +08:00
Haojun Liao a030a9f32f enh(query):support selectivity function and normal column data query. 2022-05-09 16:06:15 +08:00
shenglian-zhou e93376de9a
Merge pull request #12252 from taosdata/feature/udf
feature(udf): enhance error process
2022-05-09 12:14:17 +08:00
shenglian zhou 8f3619ee89 feature(udf): enhance error process 2022-05-09 11:36:46 +08:00
shenglian-zhou ea282e0d9d
Merge pull request #12246 from taosdata/feature/udf
feature(udf): pipe is placed under datadir and remove it after udfd exist and is hidden
2022-05-09 10:03:22 +08:00
shenglian zhou 736fddc4cd feature(udf): pipe is placed under datadir and remove it after udfd exist and is hidden 2022-05-09 09:36:50 +08:00
afwerar 02e6b38270 fix(os): make taosd run on win. 2022-05-09 03:22:05 +08:00
Haojun Liao f6be0f0dfe other: merge with 3.0. 2022-05-08 16:06:47 +08:00
Haojun Liao 9025a5d735 Merge branch '3.0' into feature/3.0_liaohj 2022-05-08 00:14:02 +08:00
Haojun Liao 5c60c6046d refactor: do some internal refactor. 2022-05-07 23:01:56 +08:00
slzhou 4cc16bec00 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-05-07 20:00:56 +08:00
slzhou f8dd3a1341 feature(udf):refactor code and fix bugs 2022-05-07 19:35:44 +08:00
Haojun Liao 6ce36a083e
Merge pull request #12214 from taosdata/feature/3.0_liaohj
fix(query): remove a false assert.
2022-05-07 19:00:29 +08:00
Haojun Liao 9b3d7aa410 fix(query): remove a false assert. 2022-05-07 18:19:56 +08:00
54liuyao 599ea89a53 stream scan 2022-05-07 18:10:45 +08:00
Ganlin Zhao 48f708dfe6 Merge branch '3.0' into feature/3.0_glzhao 2022-05-07 15:32:27 +08:00
Ganlin Zhao e2413a062c fix: histogram normalized can only be 0/1 2022-05-07 14:29:50 +08:00
Ganlin Zhao dd7cec4132 feat(query): add histogram normalized processing 2022-05-07 14:23:07 +08:00
Ganlin Zhao 2139ccceb0
Merge pull request #12191 from taosdata/feature/3.0_glzhao
feat(query): add histogram param parsing
2022-05-07 14:08:01 +08:00
Ganlin Zhao 660b610f04 fix(query): fix histogram function output 2022-05-07 11:35:03 +08:00
Ganlin Zhao bb3681cd71 feat(query): add histogram param parsing 2022-05-07 10:24:41 +08:00
Ganlin Zhao bc5e63b0a7 feat(query): add histogram param parsing 2022-05-06 21:44:25 +08:00
Ganlin Zhao d36a9286b5
Merge pull request #12172 from taosdata/feature/3.0_glzhao
feat(query): add histogram function
2022-05-06 21:42:56 +08:00
Haojun Liao 1a2d170509
Merge pull request #12166 from taosdata/feature/3.0_liaohj
fix(query): set the correct result field length for first/last query.
2022-05-06 19:47:06 +08:00
Haojun Liao 809a3eda25 fix(query): set the correct result field length for first/last query. 2022-05-06 18:16:16 +08:00
Haojun Liao 29651b7b8b
Merge pull request #12163 from taosdata/feature/3.0_liaohj
fix(query): sort according to the generated column data in order by operator.
2022-05-06 18:10:14 +08:00
slzhou c9ee1b0dee fix: core dump when pass mulitiple columns from taosd to udfd 2022-05-06 17:41:49 +08:00
Haojun Liao 8ffdd1b715 other: merged with 3.0 branch. 2022-05-06 17:26:52 +08:00
Ganlin Zhao ea88da15db feat(query): add histogram function 2022-05-06 15:51:18 +08:00
Haojun Liao e4f0a0fc67 fix(query): enable table name query for super table. 2022-05-05 23:47:44 +08:00
shenglian zhou 8e0eda6c0c Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-05-05 19:52:07 +08:00
shenglian zhou 8b9e94a038 scalar udf memory by itself 2022-05-05 19:03:05 +08:00
Xiaoyu Wang 1361bf4eed fix: plan problem of tag scanning 2022-05-05 14:49:00 +08:00
Haojun Liao f096f27ce8 refactor: do some internal refactor. 2022-05-01 15:22:28 +08:00
Haojun Liao 4decef962a Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-05-01 14:19:57 +08:00
Xiaoyu Wang 3b4f9b91cf feat: sql commadn 'select max(c1), c2 from t2' 2022-05-01 08:38:17 +08:00
Haojun Liao 3d931faa5b refactor(query): do some internal refactor. 2022-05-01 00:23:22 +08:00
shenglian-zhou 99cf4ec499
Merge pull request #12062 from taosdata/feature/udf
feat(udf): udaf pass the first time
2022-04-29 21:23:57 +08:00
Xiaoyu Wang 022f5bfc14 feat: rewrite timeline function 2022-04-29 20:06:26 +08:00
slzhou 193a84717d udaf pass the first time 2022-04-29 18:20:50 +08:00
Haojun Liao 77f1779820
Merge pull request #12042 from taosdata/feature/3.0_liaohj
fix(query): alter the type of result of the length function.
2022-04-29 14:00:16 +08:00
Haojun Liao 5711656304 fix(query): alter the type of result of the length function. 2022-04-29 11:55:25 +08:00
Ganlin Zhao 6a73011231 Merge branch '3.0' into feature/3.0_glzhao 2022-04-28 21:40:27 +08:00
Ganlin Zhao d8f8e075e1 feat(query): add spread function
TD-14297
2022-04-28 21:27:46 +08:00
Liu Jicong 4a40bf25ee fix: interval status do not reset for stream 2022-04-28 20:03:30 +08:00
shenglian zhou 00509d0edf udaf integrate into function framework 2022-04-28 14:43:54 +08:00
shenglian zhou ba5123ad24 agg proc func parameter change 2022-04-28 14:07:24 +08:00
shenglian zhou 0119054b0b aggregate function call from udfd 2022-04-28 11:12:45 +08:00
shenglian zhou 974c679c84 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-04-28 10:30:20 +08:00
shenglian zhou d9490f8a8b finalize result buf location can be specified 2022-04-28 10:30:00 +08:00
afwerar 48e379f320 fix(shell): memory init error. 2022-04-27 09:48:33 +08:00
shenglian zhou 35711ee710 Merge branch '3.0' of github.com:taosdata/TDengine into feature/udf 2022-04-27 07:31:36 +08:00
shenglian zhou f183c5606c before modify udfd process request and runudf.c 2022-04-27 07:27:58 +08:00
slzhou e9e6b1fa1f sync home office 2022-04-26 18:28:30 +08:00
Xiaoyu Wang ac754dce90 fix: some problems of tag query and sma 2022-04-26 18:15:06 +08:00
slzhou 22a97ca07e Merge branch '3.0_udfd' of github.com:taosdata/TDengine into feature/udf 2022-04-26 17:31:22 +08:00
slzhou 26eaaf9070 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-26 17:00:15 +08:00
slzhou 41a213a904 scalar api change 2022-04-26 16:57:08 +08:00
slzhou 65598879ca pass compilation after merging 3.0 2022-04-26 16:36:34 +08:00
slzhou 21a28306e0 merge 3.0 2022-04-26 16:09:13 +08:00
Xiaoyu Wang cc231653ad enh: format code 2022-04-26 12:59:53 +08:00
slzhou ac7f492cce udaf has result processing 2022-04-26 09:55:04 +08:00
shenglian zhou 38f43f5a9f home office sync 2022-04-26 07:22:20 +08:00
Xiaoyu Wang ba509423fc fix: some problems of udf and 'create table' 2022-04-25 20:35:05 +08:00
shenglian zhou f8e71908c4 add feature that udaf produces no result 2022-04-25 18:19:57 +08:00
Xiaoyu Wang 14e9fa355c fix: some problems of udf and 'create table' 2022-04-25 17:57:14 +08:00
Ganlin Zhao 30a255cb93
Merge pull request #11841 from taosdata/fix/TD-15116
fix(query): fix scalar function input is constant return var type value contains illegal characters.
2022-04-25 17:55:22 +08:00
Ganlin Zhao 8c36142a9c fix(query): fix scalar function input is constant return var type value contains illegal characters.
TD-15116
2022-04-25 17:16:47 +08:00
shenglian zhou 73a0ad7414 udaf integration first step 2022-04-25 15:44:40 +08:00
afwerar 276eb84746 feature(dnode): mul parameter start. 2022-04-25 14:05:09 +08:00
afwerar f966242047 feature(dnode): mul parameter start. 2022-04-25 13:57:55 +08:00
shenglian-zhou 7468d948f5
Merge pull request #11819 from taosdata/3.0_udfd
udfc open/close in vm init/cleanup
2022-04-25 11:26:25 +08:00
Haojun Liao 199a3610f7 fix: fix some syntax errors. 2022-04-25 09:44:39 +08:00
slzhou e29141a4ad udfc open/close in vm init/cleanup 2022-04-25 09:30:20 +08:00
Haojun Liao 5eed1159b1 other: merge 3.0 2022-04-25 09:16:37 +08:00
shenglian zhou 420ca1ef45 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-25 05:37:56 +08:00
Ganlin Zhao 8ace6c9bdf
Merge pull request #11811 from taosdata/fix/TD-15107
fix(query): fix math function NULL values is not properly appended
2022-04-24 22:25:01 +08:00
shenglian zhou 69eaa0979d Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-24 21:22:06 +08:00
Ganlin Zhao aadbba44cc fix(query): fix math function NULL values is not properly appended
TD-15056
2022-04-24 21:17:30 +08:00
Ganlin Zhao 770be0364f Merge branch '3.0' into feature/3.0_glzhao 2022-04-24 20:15:26 +08:00
slzhou a0852402a9 api change : remove udfc handle and epset 2022-04-24 17:36:07 +08:00
slzhou a9d47ded0a more udf info 2022-04-24 15:11:12 +08:00
slzhou 3799c5c62f epset and retrieve so from mnode 2022-04-24 10:53:50 +08:00
slzhou 3bc432a52e change libudf1.so path temporaly 2022-04-24 08:50:40 +08:00
shenglian zhou 35f062a5da Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-23 22:16:45 +08:00
shenglian zhou 52cc00987b udfd pipe name generating with dnode id through environment passing 2022-04-23 22:16:26 +08:00
Haojun Liao 4b36763429 refactor(query): do some internal refactor. 2022-04-22 22:43:07 +08:00
Haojun Liao d83ce4044a
Merge pull request #11754 from taosdata/feature/3.0_liaohj
fix(driver): the user specified port that is in taos_connect API isn't active.
2022-04-22 19:33:23 +08:00
slzhou 400436ffdd fix hash map key length error 2022-04-22 18:41:56 +08:00
WANG MINGMING 4291981b54
Merge pull request #11690 from taosdata/feature/TD-13041
fix: bugs in to_json
2022-04-22 18:23:27 +08:00
Ganlin Zhao 05f1e64108 Merge branch '3.0' into feature/3.0_glzhao 2022-04-22 17:17:46 +08:00
shenglian-zhou 0d5dd77f59
Merge pull request #11748 from taosdata/3.0_udfd
feat(udf):fix start/stop/restart udfd
2022-04-22 17:09:53 +08:00
Ganlin Zhao b96d372e81 feat(query): add avg function
TD-14295
2022-04-22 16:56:04 +08:00
Ganlin Zhao 85bbe4e832
Merge pull request #11755 from taosdata/feature/3.0_glzhao
refactor(query): limit cast var type length to 1000
2022-04-22 16:30:11 +08:00
Ganlin Zhao a601081e6d refactor(query): limit cast var type length to 1000 2022-04-22 16:04:17 +08:00
slzhou a395b21578 fix start/stop/restart udfd 2022-04-22 15:21:26 +08:00
Haojun Liao e28b75b8d4 refactor(query): do some internal refactor. 2022-04-22 15:07:20 +08:00
slzhou f41edf3be8 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-22 11:14:36 +08:00
slzhou d537322e41 udf scalar api change 2022-04-22 10:10:14 +08:00
afwerar fc24521621 fix(os): windows compile 3.0. 2022-04-22 09:54:27 +08:00
slzhou 49dc204076 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-22 08:14:09 +08:00
slzhou 7c54b69977 sigkill to kill taosd causes udfd to exit 2022-04-22 08:13:45 +08:00
Haojun Liao fc799fa115 other: merge 3.0 2022-04-21 17:51:00 +08:00
Haojun Liao 9a038322b6 refactor(query): do some internal refactor. 2022-04-21 17:44:08 +08:00
dapan1121 36a8382b8e feature/qnode 2022-04-21 15:33:07 +08:00
Haojun Liao e14142d114 refactor(query): do some internal refactor. 2022-04-21 13:57:32 +08:00
dapan1121 a284d8fc4a feature/qnode 2022-04-21 13:37:18 +08:00
slzhou a018c70117 udfd proxy init and close for udf calling 2022-04-21 13:10:46 +08:00
slzhou d4734eb18e Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-21 09:45:54 +08:00
slzhou b4d3008da3 remove udfd start/stop from tudf.c 2022-04-21 09:45:37 +08:00
shenglian-zhou babef48c8a
Merge pull request #11687 from taosdata/3.0_udfd
feat(udf):dnode start/stop/restart udfd and vnode create/destory proxy to udfd
2022-04-21 09:10:16 +08:00