Commit Graph

3811 Commits

Author SHA1 Message Date
dapan1121 78f05459a7
Merge pull request #11769 from taosdata/feature/qnode
feat: fix qnode list type issue
2022-04-22 19:47:20 +08:00
Li Minghao 126801c8a3
Merge pull request #11768 from taosdata/feature/sync-vnode-merge-3.0
Feature/sync vnode merge 3.0
2022-04-22 19:34:52 +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
dapan1121 11cb0afa30 feature/qnode 2022-04-22 19:28:27 +08:00
Minghao Li caaa87ed83 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/sync-vnode-merge-3.0 2022-04-22 19:12:08 +08:00
Xiaoyu Wang b0a68df512
Merge pull request #11766 from taosdata/feature/3.0_wxy
fix: some syntax parsing problems
2022-04-22 18:54:54 +08:00
slzhou 400436ffdd fix hash map key length error 2022-04-22 18:41:56 +08:00
Minghao Li d53b3a4480 call syncCleanUp taosMemoryFree(pSyncEnv) 2022-04-22 18:41:32 +08:00
Xiaoyu Wang 20879d0ef7 fix: some syntax parsing problems 2022-04-22 18:23:37 +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
dapan1121 8cfcd6d4f4 feature/qnode 2022-04-22 17:48:12 +08:00
yihaoDeng 124b8b6645 enh(rpc): fix hb problem 2022-04-22 17:44:53 +08:00
Ganlin Zhao 05f1e64108 Merge branch '3.0' into feature/3.0_glzhao 2022-04-22 17:17:46 +08:00
Minghao Li 64dfc1da1c merge 3.0 code 2022-04-22 17:11:56 +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
Hongze Cheng c28e4bcae6 refact meta 8 2022-04-22 08:23:55 +00:00
Ganlin Zhao a601081e6d refactor(query): limit cast var type length to 1000 2022-04-22 16:04:17 +08:00
Shengliang Guan bc65c92ee3 refactor(tools): adjust client config parameters 2022-04-22 16:04:10 +08:00
slzhou 0307010861 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0_udfd 2022-04-22 15:36:59 +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
Hongze Cheng 1231932078 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-22 07:03:24 +00:00
dapan1121 9c4bb8b0a1
Merge pull request #11741 from taosdata/feature/qnode
fix: fix hb link broken issue
2022-04-22 15:03:01 +08:00
Ganlin Zhao f6c21cd39a
Merge pull request #11743 from taosdata/feature/3.0_glzhao
fix(query): fix timediff bug
2022-04-22 14:54:51 +08:00
wangmm0220 1fe2abc8cd refactor:fix error in unit test for scalar test 2022-04-22 14:35:00 +08:00
Ganlin Zhao 87bcbe8f52 fix(query): fix timediff bug
TD-14802
2022-04-22 14:25:15 +08:00
dapan1121 0afdb145a4 feature/qnode 2022-04-22 13:54:00 +08:00
Hongze Cheng 57d642b9b4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-22 05:33:29 +00:00
shenglian-zhou d70c74d44e
Merge pull request #11735 from taosdata/3.0_udfd
feat(udf): udf scalar api change
2022-04-22 12:06:51 +08:00
dapan1121 54e1702749
Merge pull request #11732 from taosdata/feature/qnode
feat: add udf catalog api
2022-04-22 11:46:06 +08:00
Liu Jicong af1b5138e6
Merge pull request #11736 from taosdata/feature/tq
feat(tmq): add db subscribe
2022-04-22 11:29:46 +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
Liu Jicong 9a3365e1f1 fix pointer type 2022-04-22 10:59:09 +08:00
Liu Jicong d51336384f feat(tmq): add db subscribe 2022-04-22 10:55:17 +08:00
slzhou d537322e41 udf scalar api change 2022-04-22 10:10:14 +08:00
Hongze Cheng 44c5e42ff2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-22 01:56:56 +00:00
afwerar fc24521621 fix(os): windows compile 3.0. 2022-04-22 09:54:27 +08:00
dapan1121 162b3087c3 Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-22 09:46:19 +08:00
dapan1121 31528bbe55 feature/qnode 2022-04-22 09:16:00 +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
Yihao Deng 22743e4903
Merge pull request #11721 from taosdata/feature/authImp
enh(rpc):add auth
2022-04-21 22:31:03 +08:00
yihaoDeng eefb0a2049 enh(rpc):add auth 2022-04-21 22:03:29 +08:00
Haojun Liao be1a2c690e
Merge pull request #11718 from taosdata/feature/3.0_liaohj
fix(query): if one vgroup has no tables, query against this vgroup will receive unexpected error.
2022-04-21 21:21:25 +08:00
yihaoDeng fa14caffcd enh(rpc):add auth 2022-04-21 20:28:37 +08:00
yihaoDeng b7cb019d69 Merge branch 'd3N' into auth 2022-04-21 19:43:36 +08:00
yihaoDeng 219c8dbf37 enh(rpc):add auth 2022-04-21 19:33:48 +08:00
Hongze Cheng 055e0516fa Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-21 11:22:43 +00:00
Xiaoyu Wang 103af37e42
Merge pull request #11719 from taosdata/feature/3.0_wxy
feat: sql command 'union'
2022-04-21 18:49:34 +08:00
yihaoDeng 9b0e690b1c Merge branch '3.0' of https://github.com/taosdata/TDengine into auth 2022-04-21 18:22:42 +08:00
Haojun Liao 20111df8e3 fix(query): comment unused codes. 2022-04-21 18:04:30 +08:00
Xiaoyu Wang 0b56a4049a feat: sql command 'union' 2022-04-21 17:51:39 +08:00
yihaoDeng 3278a2309b enh(rpc):add auth 2022-04-21 17:51:33 +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
Haojun Liao a6e8ad6e4a fix(query): if one vgroup has no tables, query against this vgroup will receive unexpected error. 2022-04-21 17:43:46 +08:00
dapan1121 44d78ab900
Merge pull request #11713 from taosdata/feature/qnode
feat(query): qnode for query only
2022-04-21 17:40:39 +08:00
Minghao Li 446a2ed1bf rm syncReplicateTest 2, 3, Load 2022-04-21 17:35:48 +08:00
dapan1121 cefa203fc5 feature/qnode 2022-04-21 17:21:09 +08:00
Xiaoyu Wang e5a7f1b73f feat: sql command 'union all' 2022-04-21 17:09:54 +08:00
Xiaoyu Wang 1d47ceae37 feat: sql command 'union all' 2022-04-21 16:32:48 +08:00
slzhou eb1b3c4918 Merge branch '3.0' into 3.0_udfd 2022-04-21 16:30:29 +08:00
Yihao Deng ec8f6a5c89
Merge pull request #11705 from taosdata/feature/authImp
enh(rpc): update auth way
2022-04-21 16:20:22 +08:00
Ganlin Zhao f8b67140ca
Merge pull request #11710 from taosdata/fix/TD-14770
fix(query): fix cast binary->binary trailing characters
2022-04-21 15:38:12 +08:00
dapan1121 36a8382b8e feature/qnode 2022-04-21 15:33:07 +08:00
Minghao Li 49cf252495 add syncReplicateTest.cpp 2022-04-21 15:24:50 +08:00
yihaoDeng 676a9b87f1 fix(rpc): fix unit test 2022-04-21 15:24:12 +08:00
Ganlin Zhao 8c4e3b62b0 fix(query): fix cast binary->binary trailing characters 2022-04-21 15:19:58 +08:00
Liu Jicong 78222a1722
Merge pull request #11706 from taosdata/feature/tq
refactor(tmq): rewrite tq read function
2022-04-21 15:02:59 +08:00
Minghao Li a6b949831a delete syncElectTest 1-3, add syncReplicateTest.cpp 2022-04-21 14:56:41 +08:00
Liu Jicong 3dd3ad1e05 refactor(tmq): rewrite tq read function 2022-04-21 14:30:37 +08:00
yihaoDeng 8d03ff6f9b enh(rpc): update auth way 2022-04-21 14:29:22 +08:00
Haojun Liao 43b5bf8333 refactor(query): refactor stream scanner to be adaptive to be involved schema. 2022-04-21 14:09:00 +08:00
Minghao Li 52b6a9c058 add syncElectTest, config replicaNum myIndex 2022-04-21 13:59:42 +08:00
Haojun Liao e14142d114 refactor(query): do some internal refactor. 2022-04-21 13:57:32 +08:00
dapan1121 bcb1a9132b Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-21 13:37:28 +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
Hongze Cheng 1fe0daaf36 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-21 03:49:47 +00:00
Minghao Li 672be6f4ff del trace log flag 2022-04-21 11:35:22 +08:00
Minghao Li 0df5100836 add syncLogStoreCheck.cpp 2022-04-21 11:25:17 +08:00
dapan1121 3f880627fd
Merge pull request #11700 from taosdata/feature/qnode5
Feature/qnode5
2022-04-21 10:34:38 +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
Hongze Cheng e5e7e713b1 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-21 01:18:43 +00: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
Haojun Liao 46a3a58fac refactor:do some internal refactor. 2022-04-20 20:41:53 +08:00
wangmm0220 d2a1203eeb refactor: fix bugs in to_json 2022-04-20 20:39:19 +08:00
Hongze Cheng c8acaa77bb Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 12:29:57 +00:00
Minghao Li bbe85695cf add syncMaybeAdvanceCommitIndex, maybe only one replica 2022-04-20 20:29:20 +08:00
Minghao Li a6ee17fd43 add syncElectTest1.cpp 2022-04-20 20:26:10 +08:00
WANG MINGMING 66400aff66
Merge pull request #11671 from taosdata/feature/TD-13041
feat: json tag
2022-04-20 20:22:59 +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
Hongze Cheng 2bb03ed330 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 10:58:19 +00:00
wangmm0220 1ab6342018 refactor: fix error in merge 2022-04-20 18:54:15 +08:00
Ganlin Zhao 7aac52e7f1
Merge pull request #11677 from taosdata/fix/TD-14770
refactor(query): add parameter combination check for cast
2022-04-20 18:34:23 +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
dapan1121 c83bae339e Merge remote-tracking branch 'origin/3.0' into feature/qnode5 2022-04-20 18:27:28 +08:00
dapan1121 b77731702e stmt 2022-04-20 18:27:00 +08:00
Xiaoyu Wang 52c62e7cc8 feat: sql command 'create function' 2022-04-20 18:13:33 +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
Ganlin Zhao 1403fa1d6e refactor(query): add parameter combination check for cast 2022-04-20 17:35:49 +08:00
wangmm0220 0fb41733ea refactor: merge from 3.0 2022-04-20 17:08:52 +08:00
Minghao Li a1a498a19a sync integration add error code 2022-04-20 16:56:00 +08:00
Hongze Cheng bd36dc9924 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 08:52:52 +00:00
wangmm0220 a016f1157a refactor: add unit test for json compare 2022-04-20 16:52:32 +08:00
Haojun Liao 490f7f3b14
Merge pull request #11664 from taosdata/feature/3.0_liaohj
fix(query): fix invalid write in distinct query.
2022-04-20 16:15:22 +08:00
Shengliang Guan ede298bbfd
Merge pull request #11645 from taosdata/feature/check
feat: check server status
2022-04-20 16:11:47 +08:00
Haojun Liao 3e80cead0b fix:fix an link error. 2022-04-20 15:21:51 +08:00
Haojun Liao f933aa01cb fix:fix some compiling errors. 2022-04-20 15:20:08 +08:00
Haojun Liao 343988beeb refactor: do some internal refactor. 2022-04-20 14:59:06 +08:00
Haojun Liao 1f92000c48 fix(query): fix invalid write in distinct query. 2022-04-20 14:58:32 +08:00
Shengliang Guan 61334de8b8 fix: refact db options 2022-04-20 14:58:14 +08:00
Hongze Cheng dac63922e7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 06:56:48 +00:00
Ganlin Zhao 08f1980c1e
Merge pull request #11663 from taosdata/fix/TD-14802
fix(query): substr function param overflow
2022-04-20 14:51:53 +08:00
Shengliang Guan 2ae4f5faf6 Merge remote-tracking branch 'origin/3.0' into feature/check 2022-04-20 14:34:44 +08:00
Minghao Li 9cb2192a87 add SyncApplyMsg and test 2022-04-20 14:30:34 +08:00
Ganlin Zhao 0db26f2f96 fix(query): substr function param overflow
TD-14760
2022-04-20 14:30:04 +08:00
Hongze Cheng 88793e2fab Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 06:29:17 +00:00
Xiaoyu Wang d0b9b90781
Merge pull request #11660 from taosdata/feature/3.0_wxy
feat: sql command 'create table ... rollup ...'
2022-04-20 14:21:50 +08:00
Xiaoyu Wang 5dea946bd4 feat: sql command 'create table ... rollup ...' 2022-04-20 14:05:08 +08:00
Hongze Cheng 5ccfb0fac8 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 05:29:48 +00:00
Ganlin Zhao c273b2d5ca
Merge pull request #11655 from taosdata/fix/TD-14802
refactor(query): refactor scalar function
2022-04-20 13:00:16 +08:00
Minghao Li 6035f0305d sync integration add SyncApplyMsg 2022-04-20 11:51:00 +08:00
Ganlin Zhao cec0f0d171 refactor(query): refactor scalar function
TD-14802
2022-04-20 10:26:38 +08:00
Shengliang Guan 76883aa42f refactor: check db options 2022-04-20 10:25:03 +08:00
Hongze Cheng 1dcdc0a0a4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-20 01:19:37 +00:00
dapan1121 da4379853d stmt 2022-04-20 09:12:59 +08:00
dapan1121 fca15e39b2 Merge remote-tracking branch 'origin/3.0' into feature/qnode5 2022-04-20 09:04:56 +08:00
Shengliang Guan daefe101c1 Merge remote-tracking branch 'origin/3.0' into feature/check 2022-04-20 08:47:36 +08:00
Shengliang Guan 8213315fdd
Merge pull request #11643 from taosdata/feature/3.0_liaohj
fix(query): fix the crash caused by the complex having clause
2022-04-20 00:00:46 +08:00
Shengliang Guan d73010fd32
Merge pull request #11638 from taosdata/feature/retry
enh(rpc): add rpc retry
2022-04-20 00:00:30 +08:00
Shengliang Guan 040b7f11da
Merge pull request #11632 from taosdata/fix/valgrind
fix: fix memory leak in client
2022-04-19 23:59:47 +08:00
yihaoDeng f0c0bc923c enh(rpc): fix mem leak 2022-04-19 23:57:07 +08:00
Shengliang Guan b66718a4d8 feat: report service status 2022-04-19 21:39:42 +08:00
Ganlin Zhao 8649bbca02
Merge pull request #11642 from taosdata/fix/TD-14843
refactor(query): refactor cast function
2022-04-19 21:03:06 +08:00
Hongze Cheng ae624a8194 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-19 12:58:51 +00:00
Ganlin Zhao a8ea6063d5
Merge pull request #11646 from taosdata/fix/TD-14905
fix(query): fix timezone function with trailing characters
2022-04-19 20:41:44 +08:00
Ganlin Zhao f53db3d3b9 fix(query): fix cast function NULL value handling logic 2022-04-19 20:40:45 +08:00
wangmm0220 2133a2de1d refactor: add test casese for json compare logic 2022-04-19 20:30:06 +08:00
dapan1121 0f13cee876 stmt 2022-04-19 20:16:17 +08:00
Ganlin Zhao 43aecff7ea fix(query): fix timezone function with trailing characters 2022-04-19 20:15:29 +08:00
Haojun Liao 6956c46226 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-19 19:46:23 +08:00
Ganlin Zhao 6d8c06efd5 fix(query): fix timezone function with trailing characters 2022-04-19 19:16:15 +08:00
Haojun Liao f25a72e5c3 fix(query): fix the crash caused by the complex having clause in which an scalar function is nested with an aggregate function in group by query. 2022-04-19 18:45:28 +08:00
Hongze Cheng 5f4efdff34 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-19 10:42:25 +00:00
Ganlin Zhao f9947be46f refactor(query): refactor cast function
TD-14837
TD-14843
TD-14904
2022-04-19 18:22:59 +08:00
Ganlin Zhao 482afcf288 refactor(query): refactor cast function
TD-14837
TD-14843
TD-14904
2022-04-19 18:20:27 +08:00
Ganlin Zhao 11028921b6 refactor(query): refactor cast function
TD-14837
TD-14843
TD-14904
2022-04-19 18:16:29 +08:00
Haojun Liao b122538268 refactor: do some internal refactor. 2022-04-19 18:06:59 +08:00
wangmm0220 412e2cbb0d refactor: add test casese for json compare logic 2022-04-19 17:52:04 +08:00
shenglian-zhou b62b17865a
Merge pull request #11572 from taosdata/3.0_udfd
feat(udf): UDF service refactoring with new interface
2022-04-19 17:29:57 +08:00
yihaoDeng 5f24bf5bf9 enh(rpc): add rpc retry 2022-04-19 17:29:04 +08:00
Haojun Liao e5bf165e24
Merge pull request #11637 from taosdata/feature/3.0_liaohj
feat(query): a new builtin aggregate function is added.
2022-04-19 17:25:58 +08:00
Hongze Cheng 9256500dcb Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-19 09:20:25 +00:00
Hongze Cheng eeb45f210a Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/sync-vnode-merge-3.0 2022-04-19 09:03:39 +00:00
slzhou 0776427f45 runUdf passed 2022-04-19 16:51:02 +08:00
Haojun Liao 7f0077cad5 feat(query): a new builtin aggregate function is added. 2022-04-19 16:32:19 +08:00
Haojun Liao 29608b0866
Merge pull request #11610 from taosdata/feature/3.0_liaohj
fix(query): avoid the output result overlap within the project operator buffer.
2022-04-19 16:27:28 +08:00
Haojun Liao 1c94bbb5e4 enh(query): set the status of stream scan operator. 2022-04-19 16:11:16 +08:00
Xiaoyu Wang 7d4cc302b6
Merge pull request #11634 from taosdata/feature/3.0_wxy
feat: delimit the time range according to the filtering conditions
2022-04-19 16:07:19 +08:00
Ganlin Zhao 4407a49c81
Merge pull request #11630 from taosdata/hotfix/glzhao_3.0
refactor(query): refactor string functions
2022-04-19 15:57:12 +08:00
Xiaoyu Wang 556f6a96ea feat: delimit the time range according to the filtering conditions 2022-04-19 15:46:11 +08:00
Minghao Li 9a7924049f sync integration 2022-04-19 15:43:24 +08:00
Hongze Cheng 8a16713162 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-19 06:39:10 +00:00
Cary Xu dc11ea8384
Merge pull request #11631 from taosdata/feature/TD-14481-3.0
feat: trow refactor
2022-04-19 14:30:04 +08:00
Hongze Cheng 9fc55aa7f4 refactor: vnode 2022-04-19 06:23:54 +00:00
dapan1121 b7281e4d72 Merge remote-tracking branch 'origin/3.0' into fix/valgrind 2022-04-19 14:19:31 +08:00
dapan1121 25a4645f08 fix mem leak 2022-04-19 14:18:58 +08:00
Cary Xu 8959e4437b trow refactor 2022-04-19 14:13:34 +08:00
Haojun Liao 2288d35194 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-19 13:48:22 +08:00
Haojun Liao 0787021ca0 fix(query): check the primary timestamp null case and report error with inforamtion to caller. 2022-04-19 13:47:40 +08:00
Xiaoyu Wang d4829dcd9a
Merge pull request #11629 from taosdata/feature/3.0_wxy
fix: some syntax parsing problems
2022-04-19 13:43:29 +08:00
Ganlin Zhao 114423f55b Merge branch '3.0' into hotfix/glzhao_3.0 2022-04-19 13:27:22 +08:00
Xiaoyu Wang 2d7cf35fb0 fix: some syntax parsing problems 2022-04-19 13:25:19 +08:00
Ganlin Zhao a70181194b refactor(query): refactor string functions
TD-14836
TD-14833
2022-04-19 13:15:55 +08:00
Haojun Liao a036d2f3ff fix(query): fix the bug caused by refactor in first/last function implementation. 2022-04-19 13:07:23 +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
Minghao Li 01008939f2 sync snapshot 2022-04-19 11:51:51 +08:00
Shengliang Guan 7273581072
Merge pull request #11618 from taosdata/fix/valgrind
fix: memory leak when sending and receiving messages
2022-04-19 10:35:32 +08:00
Hongze Cheng 3a50257aa3 refact 2022-04-19 02:18:11 +00:00
Haojun Liao 5b835514ee Merge branch '3.0' into feature/3.0_liaohj 2022-04-19 10:15:48 +08:00
Haojun Liao 2305b05869 refactor(query): do some internal refactor for executor. 2022-04-19 10:12:30 +08:00
wangmm0220 b96082fe1b refactor: fix compare logic 2022-04-19 09:46:12 +08:00
Hongze Cheng 0b71a2866e
Merge pull request #11615 from taosdata/feature/vnode_refact1
refact vnode
2022-04-19 09:15:51 +08:00
shenglian zhou eae11bf8f0 handle uv read error 2022-04-19 09:03:04 +08:00
yihaoDeng ed41011863 fix mem leak 2022-04-18 23:20:45 +08:00
yihaoDeng dcf06061cd fix mem leak 2022-04-18 23:19:26 +08:00
Minghao Li 7066274cc7 add sync format code 2022-04-18 21:50:56 +08:00
yihaoDeng 8684ea997a Merge branch 'fix/valgrind' of https://github.com/taosdata/TDengine into valg 2022-04-18 21:36:23 +08:00
yihaoDeng c15ec36513 fix(rpc): avoid partial memleak 2022-04-18 21:33:59 +08:00
Hongze Cheng 9329f5f058 refact vnode 2022-04-18 13:23:22 +00:00
wangmm0220 49c3057221 refactor: merge from 3.0 2022-04-18 21:15:57 +08:00
wangmm0220 ad29963423 refactor: modify json compare in where condition 2022-04-18 21:00:35 +08:00
Xiaoyu Wang 40d9a95c12
Merge pull request #11609 from taosdata/feature/3.0_wxy
feat: implementation of parser and planner for stmt API
2022-04-18 20:52:09 +08:00
Xiaoyu Wang ff80459821 feat: implementation of parser and planner for stmt API 2022-04-18 20:19:24 +08:00
Haojun Liao 9d1a9d9510 fix(query): avoid the output result overlap within the project operator buffer. 2022-04-18 19:27:41 +08:00
Ganlin Zhao 00ae854c78
fix(query): fix time function related bugs (#11604)
* fix(query): fix timediff args cannot be integer values

TD-14798

* fix(query): fix timediff/timetruncate/to_unixtimestamp handling NULL value and empty string

TD-14802
TD-14803

* refactor(query): constant NULL value processing logic

TD-14802
TD-14803

* refactor(query): support timefunction arithmetic operation with boolean
constant
2022-04-18 19:20:08 +08:00
dapan1121 0c2f22fb82 stmt 2022-04-18 19:08:27 +08:00
Haojun Liao 9864e367bb refactor(query): do some internal refactor in executor. 2022-04-18 18:47:59 +08:00
Ganlin Zhao 1c0211880f refactor(query): support timefunction arithmetic operation with boolean
constant
2022-04-18 18:47:30 +08:00
Ganlin Zhao 315a6c0364 refactor(query): constant NULL value processing logic
TD-14802
TD-14803
2022-04-18 17:36:48 +08:00
Haojun Liao dc76f2e91a refactor: refactor hash module to invoke the freeFp when destroying the hash node. 2022-04-18 17:32:50 +08:00
Ganlin Zhao f3b8bc8152 fix(query): fix timediff/timetruncate/to_unixtimestamp handling NULL value and empty string
TD-14802
TD-14803
2022-04-18 16:01:21 +08:00
wangmm0220 24f805c5c2 refactor: add to_json function 2022-04-18 15:54:40 +08:00
Haojun Liao df8354affb
Merge pull request #11590 from taosdata/feature/3.0_liaohj
enh(query): set the parameters for system database to be NULL
2022-04-18 15:14:15 +08:00
Haojun Liao b0519b5707
Merge pull request #11568 from taosdata/hotfix/glzhao_3.0
fix(query): translate var type from value node to SVariant should include var header
2022-04-18 14:56:53 +08:00
Ganlin Zhao d57da814cc fix(query): fix timediff args cannot be integer values
TD-14798
2022-04-18 14:35:45 +08:00
Haojun Liao ea8832baa5 Merge branch 'fix/valgrind' into feature/3.0_liaohj 2022-04-18 14:30:10 +08:00
wangmm0220 d2d29d992f refactor: add compare logic for json value 2022-04-18 14:25:19 +08:00
wangmm0220 e2c6bf41df refactor: add compare logic for json value 2022-04-18 13:36:01 +08:00
dapan1121 49e0ecdb9b Merge remote-tracking branch 'origin/3.0' into feature/qnode4 2022-04-18 13:34:04 +08:00
dapan1121 0270499496 Merge remote-tracking branch 'origin/3.0' into feature/qnode4 2022-04-18 13:25:45 +08:00
Haojun Liao 7d8e418de2
Merge pull request #11581 from taosdata/feature/3.0_liaohj
fix(query): fix bug in calculating the aggregate function
2022-04-18 12:23:19 +08:00
Haojun Liao 781fbce942 fix(query): fix bug caused by new completed query function. 2022-04-18 12:07:04 +08:00
Ganlin Zhao 53aedbb163 Merge branch '3.0' into hotfix/glzhao_3.0 2022-04-18 11:39:18 +08:00
Ganlin Zhao 6105dfc934 refactor(query): refactor concat/concat_ws and param check 2022-04-18 11:39:08 +08:00
dapan1121 9de53b0019 fix valgrind memleak 2022-04-18 11:25:39 +08:00
Haojun Liao e91233f5eb fix(query): set the correct flag to denote the initialization status. 2022-04-18 11:01:07 +08:00
Haojun Liao 7429f37c0c fix(query): fix bug in calculating the aggregate function with constant numeric value as input parameter. 2022-04-18 10:46:07 +08:00
dapan1121 c8fe5bc88b stmt 2022-04-18 10:19:15 +08:00
Zhiqiang Wang d8feae98b2
Merge pull request #11571 from taosdata/fix/ZhiqiangWang/TD-13877-fix-use-static-taos-lib
fix(build): use static taos lib.
2022-04-17 20:20:01 +08:00
shenglian zhou d9580cff53 runudf call scalar 2022-04-17 17:37:07 +08:00
slzhou 18943125f4 call udf for scalar and aggregate 2022-04-17 15:07:11 +08:00
Yihao Deng 487d45c0de
Merge pull request #11561 from taosdata/feature/tag_filter_oper
enh: add tag index filter impl
2022-04-17 14:16:34 +08:00
shenglian zhou 4817f54ae9 SSDataBlock and SUdfInterBuf message passing between taosd/udfd 2022-04-16 23:34:40 +08:00
Haojun Liao f0463a6a58 test: temporarily disable some invalid cases. 2022-04-16 22:50:08 +08:00
wangmm0220 b7bd654c77 refactor: add compare logic for json value 2022-04-16 21:24:07 +08:00
afwerar dea51ba364 fix(build): use static taos lib. 2022-04-16 20:46:51 +08:00
yihaoDeng 25837faf28 enh: add multi filter merge 2022-04-16 20:35:18 +08:00
dapan1121 93ca1168f3 stmt 2022-04-16 19:41:18 +08:00
Ganlin Zhao 03a9679f97 fix(query): translate var type from value node to SVariant should include var header 2022-04-16 19:40:50 +08:00
Haojun Liao 902fcb0c0b refactor(query): refactor code. 2022-04-16 19:10:21 +08:00
Haojun Liao 30602b8cfb Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-16 19:02:08 +08:00
wade zhang 3f0f31c4c2
Merge pull request #11552 from taosdata/feature/TD-14243
feat(query): support timezone function and now/today function arithmetic operation in select clause
2022-04-16 18:54:18 +08:00
Ganlin Zhao b42d28f6d1 Merge branch '3.0' into feature/TD-14243 2022-04-16 18:27:25 +08:00
yihaoDeng fe367b5ef4 enh: add tag index filter impl 2022-04-16 17:56:06 +08:00
dapan1121 1c499c94a7 stmt 2022-04-16 17:47:42 +08:00
Xiaoyu Wang 7a5148973c enh: window clause validity check 2022-04-16 17:46:32 +08:00
Xiaoyu Wang c40b590ad8 enh: window clause validity check 2022-04-16 17:27:54 +08:00
shenglian zhou 964d944ae2 Merge branch '3.0' into 3.0_udfd 2022-04-16 17:02:09 +08:00
yihaoDeng 9fae339710 enh: add tag index filter impl 2022-04-16 16:35:24 +08:00
Haojun Liao d40f830b77 enh(query): optimize the data block load algorithm in table scan operator. 2022-04-16 16:06:48 +08:00
dapan1121 9547c0a09b stmt 2022-04-16 15:59:19 +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
Haojun Liao 609826949a Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-16 13:59:54 +08:00
Xiaoyu Wang 61a6bee8f5
Merge pull request #11554 from taosdata/feature/3.0_wxy
feat: sql command "create stream"
2022-04-16 13:36:48 +08:00
Xiaoyu Wang b9fb9c580d feat: sql command "create stream" 2022-04-16 13:15:14 +08:00
Ganlin Zhao ad7323166a Merge branch '3.0' into feature/TD-14243 2022-04-16 12:51:49 +08:00
Haojun Liao 34c125e1bb fix(query): fix bug in employing sma data during aggregate process. 2022-04-16 11:47:50 +08:00
Cary Xu 77dc7a1abb
Merge pull request #11550 from taosdata/feature/TD-11463-3.0
feat: Rollup SMA integration
2022-04-16 11:09:08 +08:00
Ganlin Zhao 29327a6d66 feat(query): support now()/today() arithmetic operation with time duration
TD-14243
2022-04-16 11:03:18 +08:00
Cary Xu d4f7c43bbf code optimization 2022-04-16 10:53:23 +08:00
Xiaoyu Wang 43f500ba4d
Merge pull request #11549 from taosdata/feature/3.0_wxy
enh: set appropriate block loading options for some queries
2022-04-16 10:30:56 +08:00
Haojun Liao fd9e520865 other: merge 3.0 branch to resolve conflict. 2022-04-16 10:07:28 +08:00
Haojun Liao 53ff8c113e fix(query): add a little bit more check when build SqlFunctionCtx. 2022-04-16 10:04:33 +08:00
Haojun Liao 597cba3aff fix(query): enable to employ the scalar function as the parameter of the aggregate function. 2022-04-16 10:00:25 +08:00
Xiaoyu Wang f13f952bbf enh: set appropriate block loading options for some queries 2022-04-16 09:50:32 +08:00
wangmm0220 73c34da280 Merge branch '3.0' into feature/TD-13041 2022-04-16 09:30:26 +08:00
Haojun Liao e6a4af8ed8 refactor(query): refactor the executor module of query. 2022-04-15 23:02:26 +08:00
yihaoDeng acc12943b8 validate tag filter status 2022-04-15 22:17:22 +08:00
Yihao Deng 4b729ada42
Merge branch '3.0' into feature/tag_filter_oper 2022-04-15 21:42:46 +08:00
yihaoDeng a172f11e24 add tag index filter 2022-04-15 21:38:56 +08:00
Xiaoyu Wang f406c4e31d complie error 2022-04-15 20:31:21 +08:00
Xiaoyu Wang acb4a04459 complie error 2022-04-15 20:17:56 +08:00
dapan1121 e3ea173046 stmt 2022-04-15 20:10:51 +08:00
Xiaoyu Wang 3e1c4cc268 complie error 2022-04-15 20:07:35 +08:00
Haojun Liao 774e4ad62c enh(query): add more load conditions check before load data block from file. 2022-04-15 20:06:27 +08:00
Xiaoyu Wang e2164bf8cb feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 19:35:46 +08:00
Xiaoyu Wang 01ea38586d feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 19:22:11 +08:00
Haojun Liao 3fad3b682c
Merge pull request #11537 from taosdata/feature/3.0_liaohj
enh(query): add the file data block load optimization check.
2022-04-15 19:06:50 +08:00
slzhou 7ed7624306 after trying to retrive udf info from mnode 2022-04-15 18:31:57 +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
Haojun Liao 078c48a50a other:fix syntax error. 2022-04-15 18:25:24 +08:00
Haojun Liao 5029cd67b2 ehn(query): add the file data block load optimization check. 2022-04-15 18:06:49 +08:00
Hongze Cheng 3fedb0042e
Merge pull request #11529 from taosdata/feature/vnode_refact
Feature/vnode refact
2022-04-15 17:36:52 +08:00
dapan1121 911c81d230 fix scheduler quit issue 2022-04-15 17:12:31 +08:00
Hongze Cheng bc178c247d fix a bug 2022-04-15 07:49:33 +00:00
Haojun Liao 684db8eba8 refactor(query): refactor some variable name and macro definitions. 2022-04-15 14:01:43 +08:00
Haojun Liao 7873c74e5f other: merge 3.0 branch and resolve the conflict. 2022-04-15 13:45:13 +08:00
Haojun Liao eaa6cd56a6 enh(query): add an new internal api to extract query result timestamp precision before the query response received from dnode. 2022-04-15 13:42:03 +08:00
dapan1121 b3978108bc
Merge pull request #11438 from taosdata/feature/qnode
feat: add heartbeat and performance_schema tables
2022-04-15 13:17:08 +08:00
Ganlin Zhao e655a3cc1d feat(query): support timezone() function
TD-14243
2022-04-15 13:15:29 +08:00
slzhou 5ea40c9d0e save for poweroff 2022-04-15 12:19:22 +08:00
Haojun Liao d2761b4114 ehn(query): refactor c driver codes. 2022-04-15 12:09:27 +08:00
Zhiqiang Wang 68bdc0deae
Merge pull request #11518 from taosdata/fix/ZhiqiangWang/TD-13758-fix-free-func-const-ptr
fix(os): const ptr is passed to free()
2022-04-15 11:27:36 +08:00
slzhou ed597e6e54 pass compilation before udf call refinement 2022-04-15 11:19:00 +08:00
afwerar 66ea2d6bdc fix(os): .free func const ptr. 2022-04-15 10:49:00 +08:00
Ganlin Zhao 0439e4f9f7 Merge branch '3.0' into feature/TD-14243 2022-04-15 10:16:55 +08:00
Haojun Liao 2b2c2ad5c1 Merge remote-tracking branch 'origin/3.0' into feature/3.0_liaohj 2022-04-15 09:07:36 +08:00
dapan1121 0e9ecc628e Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-15 08:33:53 +08:00
slzhou 7a9393093d Merge branch '3.0' into 3.0_udfd 2022-04-15 08:21:56 +08:00
yihaoDeng 46ec8300d9 enh: add tag filter operator 2022-04-14 22:32:49 +08:00
Haojun Liao c490820b09 feat(query): add the merge join operator for child table inner join. 2022-04-14 22:12:10 +08:00