Commit Graph

195 Commits

Author SHA1 Message Date
Ganlin Zhao 8daaea58de feat(query): fix ci 2022-05-18 18:51:40 +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
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
Ganlin Zhao 1eb59a2fed feat(query): add hll function 2022-05-17 11:36:12 +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
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 3ef067ff03 feat(query): add tail function 2022-05-16 11:03:15 +08:00
slzhou 911cd1fe66 fix: reuse existing udf handles and teardown the handle later 2022-05-14 22:51:13 +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 d24254fb84 feat(query): add sample function 2022-05-13 21:13:35 +08:00
Shengliang Guan 992a64e7c8 Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-13 11:09:02 +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 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
Shengliang Guan dd87e8f7b9 refactor: node mgmt 2022-05-12 17:12:40 +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
Ganlin Zhao 71e43677f7 feat(query): add csum function 2022-05-12 14:38:56 +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
Ganlin Zhao 57cd462000 Merge branch '3.0' into feature/3.0_glzhao 2022-05-10 20:44:57 +08:00
Ganlin Zhao 85adb8611c feat(query): add state_count function 2022-05-10 20:32:03 +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
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
Xiaoyu Wang 4c914c2960 fix: problem of parser and planner 2022-05-09 20:20:05 +08:00
Ganlin Zhao 79570c93a3 feat(query): add leastsquares function 2022-05-09 19:37:16 +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
54liuyao 599ea89a53 stream scan 2022-05-07 18:10:45 +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
Ganlin Zhao ea88da15db feat(query): add histogram function 2022-05-06 15:51:18 +08:00
shenglian zhou 8b9e94a038 scalar udf memory by itself 2022-05-05 19:03:05 +08:00
Xiaoyu Wang 3b4f9b91cf feat: sql commadn 'select max(c1), c2 from t2' 2022-05-01 08:38:17 +08:00
Ganlin Zhao d8f8e075e1 feat(query): add spread function
TD-14297
2022-04-28 21:27:46 +08:00
shenglian zhou d9490f8a8b finalize result buf location can be specified 2022-04-28 10:30:00 +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
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 21a28306e0 merge 3.0 2022-04-26 16:09:13 +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
shenglian zhou 73a0ad7414 udaf integration first step 2022-04-25 15:44:40 +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 69eaa0979d Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-24 21:22:06 +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
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
Ganlin Zhao 05f1e64108 Merge branch '3.0' into feature/3.0_glzhao 2022-04-22 17:17:46 +08:00
Ganlin Zhao b96d372e81 feat(query): add avg function
TD-14295
2022-04-22 16:56:04 +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
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
slzhou a018c70117 udfd proxy init and close for udf calling 2022-04-21 13:10:46 +08:00
slzhou b4d3008da3 remove udfd start/stop from tudf.c 2022-04-21 09:45:37 +08:00
slzhou d8ba1d32f4 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-20 19:29:17 +08:00
slzhou ca34398c43 prepare for dnode start/stop/restart udfd and vnode/snode/qnode split 2022-04-20 19:27:39 +08:00
Xiaoyu Wang 311b407260
Merge pull request #11678 from taosdata/feature/3.0_wxy
feat: sql command 'create function'
2022-04-20 18:33:23 +08:00
slzhou 177b1c96a5 udfd final program ongoing 2022-04-20 17:46:29 +08:00
Xiaoyu Wang 6f377189d0 feat: sql command 'create function' 2022-04-20 17:43:02 +08:00
Haojun Liao 343988beeb refactor: do some internal refactor. 2022-04-20 14:59:06 +08:00
slzhou 0776427f45 runUdf passed 2022-04-19 16:51:02 +08:00
slzhou f839f1def6 Merge remote-tracking branch 'origin/3.0' into 3.0_udfd_sub1 2022-04-19 12:01:10 +08:00
slzhou 71983725c3 befor debugging teardown 2022-04-19 12:00:59 +08:00
shenglian zhou eae11bf8f0 handle uv read error 2022-04-19 09:03:04 +08:00
slzhou 18943125f4 call udf for scalar and aggregate 2022-04-17 15:07:11 +08:00
shenglian zhou 4817f54ae9 SSDataBlock and SUdfInterBuf message passing between taosd/udfd 2022-04-16 23:34:40 +08:00
shenglian zhou 964d944ae2 Merge branch '3.0' into 3.0_udfd 2022-04-16 17:02:09 +08:00
Haojun Liao be4d72bf80 refactor(query): refactor executor module to optimization the block load filter routine. 2022-04-16 15:15:28 +08:00
slzhou 4e6caa3495 before using ssdatablock for udfd/udfdc communication 2022-04-16 14:19:33 +08:00
Xiaoyu Wang ba1f3f7815 feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 18:30:01 +08:00
slzhou 5ea40c9d0e save for poweroff 2022-04-15 12:19:22 +08:00
slzhou ed597e6e54 pass compilation before udf call refinement 2022-04-15 11:19:00 +08:00
slzhou 7a9393093d Merge branch '3.0' into 3.0_udfd 2022-04-15 08:21:56 +08:00
shenglian zhou 946b565e99 sync home and office 2022-04-14 19:29:41 +08:00
Xiaoyu Wang 8118a20649 enh(query): increase the validity check of function parameters 2022-04-14 15:49:57 +08:00
shenglian zhou 3f62f8a333 sync home and office 2022-04-13 19:45:33 +08:00
Ganlin Zhao c0b3607756 feat(query): add to_unixtimestamp function
TD-14243
2022-04-13 11:41:02 +08:00
Xiaoyu Wang 93d379638c enh(query):optimize scanning through SQL functions 2022-04-12 13:10:47 +08:00
Xiaoyu Wang 983e4aa010 set datablock desc timestamp precision 2022-04-11 17:42:05 +08:00
shenglian zhou 517e587c35 udfd exit and restart processing 2022-04-07 17:32:58 +08:00
Haojun Liao f7ba0c31d8 [td-14393] refactor. 2022-04-04 14:54:39 +08:00
Haojun Liao e7e5fd4345 [td-14393] support percentile function. 2022-04-02 23:42:00 +08:00
Haojun Liao 6f77eeccce [td-13039] support stddev. 2022-04-02 16:59:02 +08:00