Commit Graph

6928 Commits

Author SHA1 Message Date
slzhou 4110c00497 fix: initialize errCode of SMergeProjectsContext 2022-06-28 11:58:39 +08:00
slzhou 9540d1eac9 feat: udf can be compiled outside TDengine 2022-06-28 11:54:16 +08:00
yihaoDeng 3bb68c78ae fix: fix rpc quit problem 2022-06-28 11:52:43 +08:00
54liuyao acb7f040aa fix(stream): taosd crash when partition by tbname 2022-06-28 11:48:10 +08:00
yihaoDeng 6000e2e20b fix: fix rpc quit problem 2022-06-28 11:45:20 +08:00
Minghao Li feb2a0f7c0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-06-28 11:33:32 +08:00
Minghao Li 4c410bd5ec refactor(sync): refactor snapshot code 2022-06-28 11:33:14 +08:00
Xiaoyu Wang ef975798fd feat: refactor the plan implementation of unique function 2022-06-28 11:28:16 +08:00
dapan1121 341c91fd7d fix: fix show stables issue 2022-06-28 11:02:37 +08:00
slzhou f80af20d3b fix: add merge parent project and child project optimization 2022-06-28 10:55:34 +08:00
Ganlin Zhao e9fbe1805b Merge branch '3.0' into feat/mode_function 2022-06-28 10:42:58 +08:00
Ganlin Zhao 4d05053e66 fix(query): add mode function 2022-06-28 10:42:10 +08:00
dapan1121 4a55ed07b3 feature: query redirect 2022-06-28 10:34:51 +08:00
yihaoDeng 0c5342730c feat: refactor rpc code 2022-06-28 10:34:51 +08:00
Xiaoyu Wang 77206e3a31 fix: clean up expired parser unit tests 2022-06-28 09:36:00 +08:00
dapan1121 7da915fa67 Merge branch '3.0' into feature/queryredirect 2022-06-28 09:31:03 +08:00
dapan1121 62d0c04e0c Merge branch 'enh/stopquery' of github.com:taosdata/TDengine into enh/stopquery 2022-06-28 09:29:19 +08:00
dapan1121 c9d9c3ffd0 enh: stop query 2022-06-28 09:28:50 +08:00
Yihao Deng 64cc8bd81c
Merge pull request #14290 from taosdata/feat/noRetryMsg
feat: add no retry  msg
2022-06-28 09:17:27 +08:00
Xiaoyu Wang cd36807faf feat: refactor the plan implementation of unique function 2022-06-27 21:30:20 +08:00
wangmm0220 e2f4a2a03c Merge branch 'feature/TD-13041' of github.com:taosdata/TDengine into feature/TD-13041 2022-06-27 21:21:22 +08:00
wangmm0220 b6b4455689 fix:error in group by tag 2022-06-27 21:21:08 +08:00
Li Minghao 146442ed07
Merge pull request #14296 from taosdata/feature/3.0_mhli
refactor(sync): add comments in snapshot
2022-06-27 21:09:38 +08:00
yihaoDeng 1ab7e3a90b feat: refactor rpc code 2022-06-27 21:07:41 +08:00
yihaoDeng 59315e0fe9 Merge branch 'enh/stopquery' of https://github.com/taosdata/TDengine into stopQuery 2022-06-27 21:01:07 +08:00
yihaoDeng 1d8a0d6226 feat: refactor rpc code 2022-06-27 21:00:40 +08:00
Minghao Li 2647ec21e0 refactor(sync): add comments in snapshot 2022-06-27 20:23:08 +08:00
wangmm0220 8e5099c44c Merge branch '3.0' into feature/TD-13041 2022-06-27 20:02:00 +08:00
Ganlin Zhao f9e80a8e2b fix(query): add mode function 2022-06-27 19:41:13 +08:00
yihaoDeng 14209eeec6 feat: add no retry to query 2022-06-27 19:34:50 +08:00
shenglian-zhou 615c5d2b89
Merge pull request #14287 from taosdata/szhou/feature/multiwaymerge
feat: multiway merge handles group+mergekeys, group and only merge keys
2022-06-27 19:11:39 +08:00
slzhou 474c84bcc9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/project-compaction 2022-06-27 19:11:06 +08:00
slzhou 8088b67dc9 feat: add merge projects optimization 2022-06-27 19:07:37 +08:00
dapan1121 7d5a13b8dd Merge branch 'enh/stopquery' of github.com:taosdata/TDengine into enh/stopquery 2022-06-27 18:30:22 +08:00
dapan1121 d402716465 enh: stop query 2022-06-27 18:29:28 +08:00
yihaoDeng 393a5dcf66 enh: change refMgt of rpc 2022-06-27 18:25:16 +08:00
slzhou 11f8d302fa feat: multiway merge handles group+mergekeys, group and only merge keys 2022-06-27 17:51:50 +08:00
yihaoDeng 49b2c544be enh: change refMgt of rpc 2022-06-27 17:38:02 +08:00
Li Minghao f6f1855da8
Merge pull request #14284 from taosdata/feature/3.0_mhli
refactor(sync): add entries cache
2022-06-27 17:23:32 +08:00
Xiaoyu Wang 87b8131409
Merge pull request #14266 from taosdata/feature/3.0_debug_wxy
feat: tail function rewrite to statement
2022-06-27 17:16:37 +08:00
Minghao Li 5e7b7cb449 refactor(sync): add entries cache 2022-06-27 16:56:36 +08:00
Minghao Li 49ff32cda5 refactor(sync): add entries cache 2022-06-27 16:53:02 +08:00
slzhou c55bef32ff Merge branch 'feature/3.0_debug_wxy' of github.com:taosdata/TDengine into feature/3.0_debug_wxy 2022-06-27 16:25:40 +08:00
slzhou b67c65313b fix: add group to multi-merge operator 2022-06-27 16:25:14 +08:00
wangmm0220 5557c2ef93 fix: add limit for json operator 2022-06-27 16:17:58 +08:00
Zhiqiang Wang fff9fd92a6
Merge pull request #14281 from taosdata/fix/ZhiqiangWang/TD-16357-add-win-newest-test
test: add win newest test
2022-06-27 16:14:19 +08:00
Xiaoyu Wang a334337755 feat: merge and merge scan add group sort field 2022-06-27 15:57:02 +08:00
afwerar d4ba3e3dc6 test: add win newest test 2022-06-27 15:44:14 +08:00
Ganlin Zhao 515109088f feat(query): support mode function 2022-06-27 15:08:13 +08:00
Cary Xu e2ec8b57d9 Merge branch '3.0' into feature/TD-11274-3.0 2022-06-27 14:47:31 +08:00
Cary Xu e6dd04f573 refactor: rsma restore 2022-06-27 14:47:14 +08:00
Xiaoyu Wang 732a91c945 feat: tail function rewrite to statement 2022-06-27 13:51:06 +08:00
dapan1121 de06f055c2 enh: stop query 2022-06-27 13:33:29 +08:00
Haojun Liao be02907302
Merge pull request #14271 from taosdata/feature/3_liaohj
fix(query): support scalar function before applying interval aggregate.
2022-06-27 11:55:28 +08:00
Haojun Liao 02e450c590 fix(query): fix invalid object type. 2022-06-27 11:34:06 +08:00
Li Minghao 486f268353
Merge pull request #14272 from taosdata/feature/3.0_mhli
refactor(sync): optimized only one replica
2022-06-27 11:05:39 +08:00
wangmm0220 c190fa5bd9 fix: keep n rows if limit n 2022-06-27 10:51:47 +08:00
Haojun Liao dbd8c300fa refactor: do tsdbread refactor. 2022-06-27 10:46:20 +08:00
Minghao Li a22814a5a7 refactor(sync): optimized one replica 2022-06-27 10:36:28 +08:00
wangmm0220 9fb4f943e7 fix: enable group by test cases 2022-06-27 10:14:36 +08:00
Haojun Liao 2e5d563ec0 other: merge 3.0. 2022-06-27 10:11:11 +08:00
Haojun Liao ff72e66dba fix(query): support scalar function before applying interval aggregate. 2022-06-27 10:07:48 +08:00
Xiaoyu Wang 9c68bde6e9 feat: tail function rewrite to statement 2022-06-26 23:50:13 +08:00
dapan1121 c364f98978 enh: stop query process 2022-06-26 19:34:50 +08:00
Cary Xu 0597f3b9cd refactor: rsma resource release 2022-06-26 18:44:49 +08:00
Xiaoyu Wang ab95a49fa2 merge 3.0 2022-06-26 15:23:29 +08:00
dapan1121 e851977da0 Merge branch '3.0' into enh/stopquery 2022-06-26 15:19:35 +08:00
dapan1121 b6c38a4f1b enh: stop query process 2022-06-26 15:13:22 +08:00
Xiaoyu Wang d4175cd8f8 merge 3.0 2022-06-26 14:57:34 +08:00
Xiaoyu Wang 7b60b3223b feat: tail function rewrite to statement 2022-06-26 14:44:58 +08:00
Minghao Li 6eecbcd1a6 refactor(sync): optimized one replica 2022-06-26 01:16:11 +08:00
shenglian-zhou ef84dcbead
Merge pull request #14252 from taosdata/szhou/feature/set-op-optimization
feat: add set operator optimization
2022-06-25 21:04:40 +08:00
Minghao Li a6f33ba01c refactor(sync): optimized one replica 2022-06-25 20:31:42 +08:00
Liu Jicong 0c1a51bad6 enh(stream): refine tqRetrieveDataBlock api 2022-06-25 20:03:29 +08:00
slzhou 1bc2f81b20 feat: add set op elimination 2022-06-25 18:46:54 +08:00
Liu Jicong 996f995644 fix(sma): drop stream when drop sma 2022-06-25 18:14:42 +08:00
Liu Jicong bdd4134fc1
Revert "fix(sma): drop stream when drop sma" 2022-06-25 18:11:11 +08:00
slzhou 297c848e61 feat: add set operator optimization 2022-06-25 17:50:42 +08:00
Liu Jicong 3210fdc367 merge from 3.0 2022-06-25 17:49:25 +08:00
Liu Jicong 47ae534c0f fix(sma): drop stream when drop sma 2022-06-25 17:44:54 +08:00
Li Minghao 2946a5e83c
Merge pull request #14245 from taosdata/feature/3.0_mhli
refactor(sync): do not replicate when one replica
2022-06-25 17:21:29 +08:00
liuyao 76596b0c17
Merge pull request #14243 from taosdata/feature/TD-16728
feat(stream): auto pull data
2022-06-25 17:08:14 +08:00
shenglian-zhou 6c7aaecbe0
Merge pull request #14237 from taosdata/szhou/feature/table-merge-scan-operator
fix: restore table merge scan operator
2022-06-25 17:07:33 +08:00
54liuyao 10e90ce973 feat(stream): auto pull data 2022-06-25 16:44:14 +08:00
Minghao Li 77b365f0cc refactor(sync): do not replicate when one replica 2022-06-25 16:27:05 +08:00
shenglian-zhou 8e2b93f0e1
Merge pull request #14240 from taosdata/szhou/feature/merge-interval-2
fix: overlapping intervals problem
2022-06-25 16:13:28 +08:00
Liu Jicong 3e754d157f
Merge pull request #14241 from taosdata/feature/stream
fix(tmq): check stb existence when subscribing stb
2022-06-25 15:51:24 +08:00
Liu Jicong 90121ae439 fix(tmq): check stb existence when subscribing stb 2022-06-25 15:26:29 +08:00
slzhou 6adc19d443 fix: overlapping intervals problem 2022-06-25 15:20:11 +08:00
Ganlin Zhao 570b36cb9b
Merge pull request #14232 from taosdata/enh/cast_function
enh(query): enhance cast function to support more types
2022-06-25 14:57:58 +08:00
WANG MINGMING 0e8319f70a
Merge pull request #14236 from taosdata/feature/TD-16524
fix:memory error
2022-06-25 14:48:04 +08:00
Yihao Deng 6e4e10ad41
Merge pull request #14214 from taosdata/feat/rpcRefactor1
feat: rpc refactor
2022-06-25 14:47:37 +08:00
Liu Jicong 930613db8b
Merge pull request #14235 from taosdata/feature/stream
fix(stream): stream rsp to retrieve msg if data is empty
2022-06-25 14:36:59 +08:00
yihaoDeng 25a12d96b0 handle rpc retry 2022-06-25 14:06:33 +08:00
Liu Jicong 81ed902d7f fix(stream): stream rsp to retrieve msg if data is empty 2022-06-25 14:03:06 +08:00
slzhou a9f094613a fix: restore table merge scan operator 2022-06-25 13:52:52 +08:00
wangmm0220 7acf012253 fix:memory error 2022-06-25 13:51:43 +08:00
Li Minghao a5c44a8b92
Merge pull request #14229 from taosdata/feature/3.0_mhli
refactor(sync): add trace log
2022-06-25 13:32:44 +08:00
Ganlin Zhao b139daf08b add cast function support ->bool 2022-06-25 13:32:14 +08:00
Haojun Liao dc13130168
Merge pull request #14221 from taosdata/feature/3_liaohj
fix(query): fix memory leak
2022-06-25 13:26:03 +08:00
Xiaoyu Wang 9c85131d22
Merge pull request #14219 from taosdata/feature/3.0_debug_wxy
feat: support partition by expression and aggregate function output together
2022-06-25 12:42:09 +08:00
yihaoDeng 7c57b03de7 handle rpc retry 2022-06-25 12:19:52 +08:00
Ganlin Zhao 3b9953f483 cast function support ->float, ->double 2022-06-25 12:15:17 +08:00
Haojun Liao 916adb82c6 enh(query): add user name when retrieving meta-data from mnode. 2022-06-25 12:10:34 +08:00
Xiaoyu Wang cf4fcb7398 feat: support partition by expression and aggregate function output together 2022-06-25 12:06:50 +08:00
Ganlin Zhao 4a7938e9ff cast support nchar->binary, binary/nchar->timestamp 2022-06-25 12:05:17 +08:00
Haojun Liao 377bed853a Merge branch '3.0' into feature/3_liaohj 2022-06-25 11:44:24 +08:00
Liu Jicong e6f88b6286
Merge pull request #14225 from taosdata/feature/stream
enh(query): window included in serialized retrieve table rsp
2022-06-25 11:35:18 +08:00
Minghao Li 0df1415caf refactor(sync): add trace log 2022-06-25 11:30:34 +08:00
yihaoDeng 1b339c9ccd Merge branch 'DN' into ndev 2022-06-25 11:04:39 +08:00
yihaoDeng aa8957bcc5 handle redirect 2022-06-25 11:02:49 +08:00
Ganlin Zhao b1f16fca4e Merge branch '3.0' into enh/cast_function 2022-06-25 10:48:16 +08:00
Ganlin Zhao 086d6f39aa Merge branch '3.0' into feat/groupkey_function 2022-06-25 10:46:02 +08:00
Liu Jicong 5040cb9541 enh(query): window included in serialized retrieve table rsp 2022-06-25 10:43:19 +08:00
Ganlin Zhao 37d1cc28a6 refactor(query): refactor _group_key function 2022-06-25 10:43:06 +08:00
Xiaoyu Wang 16ee8eeb28 feat: support partition by expression and aggregate function output together 2022-06-25 10:29:44 +08:00
Xiaoyu Wang e187f42902 feat: support partition by expression and aggregate function output together 2022-06-25 09:42:50 +08:00
WANG MINGMING f0b50add27
Merge pull request #14184 from taosdata/feature/TD-13041
feat:sort table group if needed & optimize partition by tag
2022-06-25 09:41:30 +08:00
Xiaoyu Wang fb1e845256 feat: support partition by expression and aggregate function output together 2022-06-25 08:44:45 +08:00
Haojun Liao 54283f8726 fix(query): fix memory leak. 2022-06-24 23:02:48 +08:00
Haojun Liao 6c49aecb70 fix(query): fix memory leak. 2022-06-24 22:54:06 +08:00
Liu Jicong 91d714e69b
Merge pull request #14220 from taosdata/feature/stream
fix(stream): support none type in submit msg
2022-06-24 22:10:16 +08:00
Liu Jicong 0964b07229 fix(stream): support none type in submit msg 2022-06-24 21:44:53 +08:00
Xiaoyu Wang b857d390e7 merge 3.0 2022-06-24 21:13:11 +08:00
Xiaoyu Wang 853f1df3ab feat: support partition by expression and aggregate function output together 2022-06-24 21:07:12 +08:00
dapan1121 4ad36f714d fix: fix reset query cache issue 2022-06-24 20:53:52 +08:00
Ganlin Zhao acc53d498f
Merge pull request #14218 from taosdata/feat/groupkey_function
enh(query): add _group_key function for partion by
2022-06-24 20:53:52 +08:00
yihaoDeng 720645800c feat: refactor rpc quit 2022-06-24 20:51:00 +08:00
Ganlin Zhao 5c3fae340e add NULL logic for _group_key 2022-06-24 20:26:46 +08:00
Ganlin Zhao f8bb36ce2c enh(query): add _group_key function for partion by
TD-16805
2022-06-24 20:08:07 +08:00
Xiaoyu Wang c3aabbdd5a
Merge pull request #14215 from taosdata/feature/3.0_wxy
feat: subplan adds 'user' field
2022-06-24 19:39:48 +08:00
yihaoDeng ef50435851 Merge branch 'DN' into ndev 2022-06-24 19:25:06 +08:00
yihaoDeng e54044de73 update retry 2022-06-24 19:24:14 +08:00
Xiaoyu Wang 994232c7ac feat: subplan adds 'user' field 2022-06-24 19:10:00 +08:00
shenglian-zhou 1d68274ade
Merge pull request #14206 from taosdata/szhou/feature/merge-interval-2
fix: fix bugs of less output when interval overlaps
2022-06-24 18:57:27 +08:00
wangmm0220 62ce467711 fix:error in compile 2022-06-24 17:37:30 +08:00
Xiaoyu Wang c41a4bd7db feat: subplan adds 'user' field 2022-06-24 17:27:43 +08:00
Li Minghao 732d69db63
Merge pull request #14211 from taosdata/feature/3.0_mhli
refactor(sync): adjust log buf size
2022-06-24 17:27:10 +08:00
slzhou 1d7bf59fe8 fix: fix iteration bugs of last window result 2022-06-24 17:24:01 +08:00
yihaoDeng a2b62cba42 handle except 2022-06-24 17:07:17 +08:00
yihaoDeng a215844467 handle except 2022-06-24 17:02:53 +08:00
Liu Jicong 64d2a3e34f Merge branch '3.0' into feature/stream 2022-06-24 17:00:07 +08:00
dapan1121 9c9e8057bd Merge branch '3.0' into hotfix/resetquerycache 2022-06-24 16:59:05 +08:00
dapan1121 ff1f6f3b29 fix: fix reset query cache issue 2022-06-24 16:57:32 +08:00
Ganlin Zhao 4f629ec68b enh(query): enhance cast function to support more types
TD-15473
2022-06-24 16:53:56 +08:00
Liu Jicong f53521cb8c test(stream): partition by tbname 2022-06-24 16:50:11 +08:00
Minghao Li 58296f6a5a refactor(sync): adjust log buf size 2022-06-24 16:44:45 +08:00
dapan1121 f7ece71ff7
Merge pull request #14204 from taosdata/enh/showvariables
enh: refactor show variables
2022-06-24 16:41:48 +08:00
Yihao Deng e947e6a56d
Merge pull request #14193 from taosdata/feat/rpcRetry
fix: handle rpc retry except
2022-06-24 16:26:18 +08:00
yihaoDeng 445d7f2d90 feat: refactor rpc quit 2022-06-24 16:21:01 +08:00
Zhiqiang Wang 4935ef8fb4
Merge pull request #14198 from taosdata/fix/ZhiqiangWang/TD-16357-add-test-time-count-print
test: add test time count print
2022-06-24 16:12:15 +08:00
wangmm0220 ff3cb336d8 fix:merge from 3.0 2022-06-24 16:01:58 +08:00
wangmm0220 9ac0a34e72 fix: disable group by tag cases 2022-06-24 15:57:33 +08:00
Xiaoyu Wang 4c8c302f99 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-06-24 15:55:44 +08:00
dapan1121 4ff652bf41 fix: fix ut case issue 2022-06-24 15:54:29 +08:00
Xiaoyu Wang ab23faed63 fix: planner memory leak 2022-06-24 15:52:13 +08:00
slzhou 2cc9c69146 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/merge-interval-2 2022-06-24 15:29:59 +08:00
slzhou 01f64b4d17 fix: fix bugs of less output when interval overlaps 2022-06-24 15:28:37 +08:00
Liu Jicong 26c1388237
Merge pull request #14201 from taosdata/feature/stream
refactor(stream): seperate stream scheduling and persistence
2022-06-24 15:25:31 +08:00
dapan1121 be341e1daa Merge branch '3.0' into hotfix/resetquerycache 2022-06-24 15:22:24 +08:00
dapan1121 94a2b6d945 enh: refactor show variables 2022-06-24 15:18:40 +08:00
dapan1121 53755c2365
Merge pull request #14188 from taosdata/feature/alterlocal
feat: alter local command
2022-06-24 15:15:47 +08:00
Liu Jicong a9606ea0eb Merge branch '3.0' into feature/stream 2022-06-24 14:41:17 +08:00
afwerar 4c846895ff test: add test time count print 2022-06-24 14:36:41 +08:00
Minghao Li 87defc2790 refactor(sync): add interface: get retry epset 2022-06-24 14:26:31 +08:00
yihaoDeng 9419168caa Merge branch '3.0' of https://github.com/taosdata/TDengine into dd3 2022-06-24 14:22:39 +08:00
yihaoDeng 8cbb7bc716 feat: refactor rpc quit 2022-06-24 14:20:43 +08:00
Liu Jicong b884ca9db7 refactor(stream): seperate stream scheduling and persistence 2022-06-24 14:19:12 +08:00
Minghao Li 8a8e42a923 refactor(sync): set error code in syncIsReady 2022-06-24 14:04:58 +08:00
wangmm0220 0d9ed6d60a fix:merge from 3.0 2022-06-24 13:51:33 +08:00
Minghao Li 8060108585 refactor(sync): add trace log 2022-06-24 13:50:23 +08:00
Li Minghao 746a717e8d
Merge pull request #14195 from taosdata/feature/3.0_mhli
refactor(sync): add trace log
2022-06-24 13:11:15 +08:00
Xiaoyu Wang 096c292d78
Merge pull request #14179 from taosdata/feature/3.0_debug_wxy
feat: sql command 'show consumers' and 'show subscriptions'
2022-06-24 12:51:21 +08:00
Minghao Li c3a1b200d7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-06-24 11:46:18 +08:00
Liu Jicong ef554e9884
Merge pull request #14191 from taosdata/feature/stream
fix(wal): set first version to -1 if all log rollbacked
2022-06-24 11:45:24 +08:00
Minghao Li b3fa103cb9 refactor(sync): add trace log 2022-06-24 11:36:26 +08:00
wangmm0220 4f305c74d1 fix: table group error in stream 2022-06-24 11:24:31 +08:00
yihaoDeng 411d30f3db handle except 2022-06-24 11:19:16 +08:00
Liu Jicong a1cc2571ee fix(wal): set first version to -1 if all log rollbacked 2022-06-24 11:13:40 +08:00
yihaoDeng 87f4f5364f handle except 2022-06-24 11:09:34 +08:00
Xiaoyu Wang 28d66616e1 fix: fix invalid write 2022-06-24 10:48:49 +08:00
yihaoDeng 3795ff37ad handle except 2022-06-24 10:38:18 +08:00
Ganlin Zhao 4995ce780e
Merge pull request #14181 from taosdata/fix/TD-15216
fix(query): math function invalid input should have null output
2022-06-24 10:33:14 +08:00
Liu Jicong 35e234f1f0
Merge pull request #14187 from taosdata/feature/stream
fix(stream): memory leak
2022-06-24 09:39:53 +08:00
Shengliang Guan 4a30efdf7d
Merge pull request #14185 from taosdata/fix/mnode
enh: add stbinfo to minotor
2022-06-24 09:11:36 +08:00
dapan1121 b092a9c5c9 Merge branch '3.0' into feature/alterlocal 2022-06-24 08:22:11 +08:00
dapan1121 abc69e1e2b feat: add new api 2022-06-24 08:20:54 +08:00
Li Minghao b70531d1af
Merge pull request #14186 from taosdata/feature/3.0_mhli
refactor(sync): refactor wal abstraction
2022-06-23 22:25:50 +08:00
Liu Jicong f2f5d68f3b fix(stream): memory leak 2022-06-23 22:05:00 +08:00
yihaoDeng 78be460ac3 handle except 2022-06-23 21:40:12 +08:00
yihaoDeng d63eb11b70 handle except 2022-06-23 21:35:35 +08:00
yihaoDeng 1d169ce22a handle except 2022-06-23 21:16:32 +08:00
Minghao Li 3d9ffc42e8 refactor(sync): refactor wal abstraction 2022-06-23 21:16:16 +08:00
Shengliang Guan 61f733c589 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-06-23 21:10:03 +08:00
Shengliang Guan 9f0d89d6ff enh: add stbinfo to minotor 2022-06-23 21:09:50 +08:00
Ganlin Zhao 38c61a1a25 fix: pow/log function invalid input handling 2022-06-23 20:58:43 +08:00
yihaoDeng ffd105d0e0 handle except 2022-06-23 20:51:09 +08:00
wangmm0220 a95f98f7e7 feat:merge from 3.0 2022-06-23 20:50:48 +08:00
wangmm0220 3799db4366 feat:sort table group if needed 2022-06-23 20:46:11 +08:00
shenglian-zhou e7d86e2c24
Merge pull request #14162 from taosdata/szhou/feature/sort-group-2
fix: fix empty downstream input for group sort operator
2022-06-23 20:44:21 +08:00
shenglian-zhou d76d8f87e3
Merge pull request #14172 from taosdata/szhou/feature/misc
fix: set correct operator blocking and add closing rpc trace to udfd
2022-06-23 20:44:05 +08:00
yihaoDeng 23d1e55718 handle except 2022-06-23 20:29:14 +08:00
Ganlin Zhao 9399f5fd70 fix: ceil/floor/round function invalid input handling 2022-06-23 20:28:51 +08:00
Ganlin Zhao b1b7974e07
Merge pull request #14152 from taosdata/fix/TD-16762
fix(query): avg/stddev divide 0 handling
2022-06-23 20:23:37 +08:00
Shengliang Guan bec17d10a9
Merge pull request #14180 from taosdata/fix/mnode
enh: add stbs/tbs/dbs to monitor info
2022-06-23 20:21:21 +08:00
Ganlin Zhao 60d0229d3d fix: abs function handling invalid constant input
TD-15216
2022-06-23 20:18:47 +08:00
Liu Jicong 5cdef06f8c
Merge pull request #14119 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-06-23 20:08:15 +08:00
Yihao Deng 62653a7727
Merge pull request #14177 from taosdata/feat/rpcQuit
feat: refactor rpc quit
2022-06-23 20:07:15 +08:00
yihaoDeng 0d904d5aa3 fix: handle except 2022-06-23 20:06:22 +08:00
wangmm0220 26cceaf172 feat:sort table group if needed 2022-06-23 19:58:12 +08:00
Ganlin Zhao 1278282a78 fix(query): math function invalid input should have null output
TD-15216
2022-06-23 19:53:54 +08:00
Ganlin Zhao df1f4cc53f fix compilation error 2022-06-23 19:34:10 +08:00
Xiaoyu Wang 41ae1e30fa feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 19:29:28 +08:00
Xiaoyu Wang bcf477d33f feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 19:26:23 +08:00
shenglian zhou 55a927e2be Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/misc 2022-06-23 18:56:15 +08:00
Haojun Liao 800098a795 fix(query): fix syntax error on windows platform. 2022-06-23 18:54:07 +08:00
yihaoDeng 02c6af78b0 Merge branch '3.0' of https://github.com/taosdata/TDengine into dvvv 2022-06-23 18:45:00 +08:00
Shengliang Guan c93d93e2d5 enh: add stbs/tbs/dbs to monitor info 2022-06-23 18:23:51 +08:00
Xiaoyu Wang 0b9eb79bf7 merge 3.0 2022-06-23 18:08:47 +08:00
Xiaoyu Wang 4fcd667bf6 feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 18:03:15 +08:00
Ganlin Zhao 83bdcf8dcd Merge branch '3.0' into fix/TD-16762 2022-06-23 17:57:19 +08:00
Ganlin Zhao 82c4065f9d Merge branch '3.0' into fix/TD-15211 2022-06-23 17:56:41 +08:00
shenglian zhou 9278de28b4 fix: improve udfd exist speed 2022-06-23 17:45:16 +08:00
Haojun Liao e3c4215ac9 Merge branch '3.0' into feature/3_liaohj 2022-06-23 17:39:58 +08:00
yihaoDeng 58836d2ddf feat: refactor rpc quit 2022-06-23 17:35:55 +08:00
Ganlin Zhao 7fda5a861e fix(query): fix to_ISO8601 function crash when processing constant
illegal inputs

TD-15211
2022-06-23 17:32:15 +08:00
liuyao 19fab3fe8f
Merge pull request #14165 from taosdata/feature/TD-16728
fix(stream): valgrind memory error
2022-06-23 17:21:34 +08:00
Minghao Li f140a5ad1b refactor(sync): add trace log 2022-06-23 16:57:18 +08:00
Liu Jicong 1d6682c535
Merge pull request #14166 from taosdata/feature/stream
feat(tmq): add with meta config
2022-06-23 16:54:09 +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
Ganlin Zhao b556d1fa62 fix(query): fix to_ISO8601 function crash when processing constant
illegal inputs

TD-15211
2022-06-23 16:37:36 +08:00
Haojun Liao 7b75a8e441 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-06-23 16:35:05 +08:00
Haojun Liao e071649619 test: update the unit test. 2022-06-23 16:34:43 +08:00
54liuyao d6ccf5720d fix(stream): valgrind memory error 2022-06-23 16:33:52 +08:00
Minghao Li 4fdc62a27f refactor(sync): delete fake match branch 2022-06-23 16:32:06 +08:00
Liu Jicong bd64bebb63
Merge branch '3.0' into feature/3_liaohj 2022-06-23 16:00:17 +08:00
Liu Jicong 71bda7e658 feat(tmq): add with meta config 2022-06-23 15:56:54 +08:00
yihaoDeng d5f5c33c9c refactor code 2022-06-23 15:55:47 +08:00
shenglian zhou cbacd1fd45 fix: fix empty downstream input for group sort operator 2022-06-23 15:35:19 +08:00
Minghao Li 983bf5b865 fix(wal): read handle version 2022-06-23 15:26:42 +08:00
Minghao Li 8de46b3eaf Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-06-23 15:01:36 +08:00
Minghao Li 00c0926c44 refactor(sync): hold wal handle with log store 2022-06-23 14:58:52 +08:00
Shengliang Guan 750a046e31
Merge pull request #14153 from taosdata/enh/delete
enh: modify delete output res
2022-06-23 14:52:33 +08:00
Minghao Li cdb6b2429a refactor(sync): update election timer range 2022-06-23 14:37:29 +08:00
wangmm0220 c8f223a6ec fix:merge from 3.0 2022-06-23 14:26:26 +08:00
dapan1121 95c1b00056 enh: modify delete output res 2022-06-23 14:25:30 +08:00
Minghao Li e18329ac19 refactor(sync): update election timer range 2022-06-23 14:22:53 +08:00
Liu Jicong 2af4a4d250 merge from 3.0 2022-06-23 14:15:33 +08:00
Ganlin Zhao d5a27d50e3 fix(query): avg/stddev divide 0 handling
TD-16762
2022-06-23 14:14:23 +08:00
Ganlin Zhao cfad058333 fix(query): avg/stddev divide 0 handling
TD-16762
2022-06-23 14:11:30 +08:00
Minghao Li ca4d7329ce refactor(sync): modify wal error log 2022-06-23 14:07:18 +08:00
shenglian zhou edc42a78ab fix: fix compilation error 2022-06-23 13:59:31 +08:00
Ganlin Zhao 044f27bbca fix(query): avg/stddev divide 0 handling
TD-16762
2022-06-23 13:58:36 +08:00
dapan1121 9cee07bfca fix: fix reset query cache crash issue 2022-06-23 13:53:14 +08:00
shenglian zhou f4ec009a00 Merge branch '3.0' of github.com:taosdata/TDengine into feature/3_liaohj 2022-06-23 13:49:10 +08:00
shenglian zhou e69a767f1b Merge branch 'feature/3_liaohj' of github.com:taosdata/TDengine into feature/3_liaohj 2022-06-23 13:45:03 +08:00
shenglian zhou a31569f116 fix: set correct datablock rows and columns 2022-06-23 13:38:20 +08:00
Liu Jicong 4ed47a0296 feat(tmq): scan tsdb as snapshot 2022-06-23 13:35:24 +08:00
dapan1121 b2ff536050
Merge pull request #14118 from taosdata/feature/showdnodevariables
feat: show dnode variables
2022-06-23 13:23:06 +08:00
Minglei Jin d4558061f0
Merge pull request #14142 from taosdata/fix/TD-16768
fix/ofp: use btree's pager instead of page's which may be null
2022-06-23 13:17:39 +08:00
Li Minghao 3b4ccdd498
Merge pull request #14145 from taosdata/feature/3.0_mhli
fix(sync): update nextindex, matchindex when backto nolog
2022-06-23 13:05:45 +08:00
Minghao Li 81eae2a9af refactor(sync): modify wal error log 2022-06-23 11:59:28 +08:00
Minglei Jin 6f5de8192e fix/ofp: use btree's pager instead of page's which may be null 2022-06-23 11:34:29 +08:00
Minghao Li e051bc51db refactor(sync): add trace log 2022-06-23 11:23:44 +08:00
Minghao Li a701451a27 refactor(sync): add trace log 2022-06-23 11:09:01 +08:00
Haojun Liao 4576b0a94d fix(query): fix syntax error. 2022-06-23 11:07:14 +08:00
Haojun Liao 2d31d3cb43 other: merge 3.0 2022-06-23 10:37:07 +08:00
wangmm0220 a28bfd0804 fix:confilct merge from 3.0 2022-06-23 10:21:04 +08:00
WANG MINGMING 756f9a8218
Merge pull request #14139 from taosdata/3.0
fix:merge from 3.0
2022-06-23 10:17:13 +08:00
WANG MINGMING 9012834531
Merge branch 'feature/3.0_wxy' into 3.0 2022-06-23 10:16:58 +08:00
Haojun Liao ce7e7fe23d refactor:remove some debug info. 2022-06-23 10:13:35 +08:00
wangmm0220 bed7702056 Merge branch 'feature/3.0_wxy' of github.com:taosdata/TDengine into feature/3.0_wxy 2022-06-23 10:11:42 +08:00
wangmm0220 bdef3c34a1 fix:unit test cases 2022-06-23 10:11:08 +08:00
Minghao Li 9786ba2fbe fix(sync): update nextindex, matchindex when backto nolog 2022-06-23 10:10:57 +08:00
Haojun Liao 0457fab077 fix(query): adjust the capacity of ssdatablock. 2022-06-23 10:03:43 +08:00
Haojun Liao 673261a1bd fix(query): set correct varchar length. 2022-06-23 09:42:29 +08:00
slzhou 6fe368a375 feat: add session and state window on stable 2022-06-23 09:01:03 +08:00
slzhou 849cb8d1b3 feat: split session and state window on stable 2022-06-23 08:52:47 +08:00
shenglian-zhou bacd7b6057
Merge pull request #14136 from taosdata/szhou/feature/sort-group-2
feat: add group sort operator
2022-06-23 08:15:25 +08:00
Haojun Liao a0795fdd10 fix(query): set correct varchar length. 2022-06-23 00:47:28 +08:00
Haojun Liao d3d258caa9 fix(query): prepare buffer before copying data. 2022-06-22 23:05:34 +08:00
shenglian zhou faf5424b18 feat: add group sort operator 2022-06-22 23:01:55 +08:00
shenglian-zhou 1047da047a
Merge pull request #14135 from taosdata/szhou/feature/sort-group-2
feat: add multiple group tsdb reads to table merge scan
2022-06-22 23:01:19 +08:00
Liu Jicong ab01fec5e4
Merge pull request #14134 from taosdata/feature/stream
feat(stream): stream support multiple type input
2022-06-22 22:52:35 +08:00
shenglian zhou fd79fcc481 feat: add multiple group tsdb reads to table merge scan 2022-06-22 22:32:29 +08:00
shenglian zhou c99f7cac79 feat: add multiple group tsdb reads to table merge scan 2022-06-22 22:00:52 +08:00
shenglian zhou df130c1bcb feat: add multiple group tsdb reads to table merge scan 2022-06-22 21:56:55 +08:00
Liu Jicong 14a488c92c feat(stream): stream support multiple type input 2022-06-22 21:21:39 +08:00
Haojun Liao ecc05bf75c fix(query): check pointer before use it. 2022-06-22 21:12:08 +08:00
shenglian-zhou d88615f9ad
Merge pull request #14132 from taosdata/szhou/feature/sort-group-2
feat: add multiple group tsdb reads to table merge scan
2022-06-22 21:00:59 +08:00
Haojun Liao ed8002f903 fix(query): fix syntax error. 2022-06-22 20:34:24 +08:00
Haojun Liao bf0caa2038 Merge branch '3.0' into feature/3_liaohj 2022-06-22 20:32:02 +08:00
shenglian zhou 8a8d3f160b feat: add multiple group tsdb reads to table merge scan 2022-06-22 20:26:44 +08:00
Haojun Liao 324eecdd99 fix(query): prepare the buffer before assigning result. 2022-06-22 20:24:26 +08:00
Minghao Li 2f2715aca4 fix(sync): save saveErr 2022-06-22 20:23:49 +08:00
Liu Jicong e078c739e4
Merge pull request #14128 from taosdata/feature/wal
feat(wal): provide is empty api
2022-06-22 20:12:51 +08:00
Minghao Li 95c5bb0a8c Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-06-22 19:52:24 +08:00
Minghao Li 13c916f5cb fix(sync): update lcindex to -1, when get error 2022-06-22 19:48:36 +08:00
dapan1121 33452da7bd feat: alter local command 2022-06-22 19:45:41 +08:00
Haojun Liao 0a884d58bb refactor: remove unnecessary code. 2022-06-22 19:41:57 +08:00
Haojun Liao b097e78708 fix(query): clear buffer before set data. 2022-06-22 19:40:59 +08:00
Liu Jicong 04f11e2646 feat(wal): provide is empty api 2022-06-22 19:40:37 +08:00
Haojun Liao c79eda9f70 fix(query): prepare the buffer before serialize the retrieved data. 2022-06-22 19:34:56 +08:00
Liu Jicong df1967de4b
Merge pull request #14120 from taosdata/feature/stream
feat(stream): support retrieve
2022-06-22 19:34:27 +08:00
dapan1121 eb98f6fd68 fix: fix mock issue 2022-06-22 19:29:28 +08:00
shenglian-zhou cc3543d4e3
Merge pull request #14126 from taosdata/szhou/feature/sort-group-2
feat: prepare for multiple group tsdb reads
2022-06-22 19:20:41 +08:00
yihaoDeng bfe5ab779b fix: handle except 2022-06-22 19:20:35 +08:00
Liu Jicong fb596625d3 feat(stream): support retrieve 2022-06-22 19:12:31 +08:00
Xiaoyu Wang 02ce90485d Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-06-22 19:06:59 +08:00
Xiaoyu Wang 1b984d8fb5
Merge pull request #14117 from taosdata/feature/3.0_wxy_1
feat: some sql syntax adjustments
2022-06-22 19:02:22 +08:00
shenglian zhou acb3d121f4 feat: prepare for multiple group tsdb reads 2022-06-22 18:53:00 +08:00
shenglian zhou c1f5f825b7 feat: prepare for multiple group tsdb reads 2022-06-22 18:51:16 +08:00
yihaoDeng 3b1664d9e4 feat: refactor rpc code 2022-06-22 18:50:39 +08:00
Xiaoyu Wang 537c485c2e feat: some sql syntax adjustments 2022-06-22 18:36:15 +08:00
wangmm0220 f967cff0fa feat: add table group info if need sort table by group 2022-06-22 18:14:26 +08:00
Haojun Liao aa4d863598 fix(query): fix syntax error. 2022-06-22 17:36:48 +08:00
Xiaoyu Wang 41593ae07b refactor: nodesClone interface refactor 2022-06-22 17:34:16 +08:00
Haojun Liao 5c1e7f3114 Merge branch '3.0' into feature/3_liaohj 2022-06-22 17:23:57 +08:00
Haojun Liao a1401db437 fix(query): fix syntax error in unit test. 2022-06-22 17:23:38 +08:00
Haojun Liao 14ddf539e0 refactor(query): do some internal refactor. 2022-06-22 17:21:04 +08:00
dapan1121 66cfe3a3fc feat: show dnode variables 2022-06-22 17:17:18 +08:00
WANG MINGMING 4659a0a0ed
Merge branch '3.0' into feature/3.0_wxy 2022-06-22 17:02:59 +08:00
Xiaoyu Wang acd1bbd8e3 merge 3.0 2022-06-22 17:00:11 +08:00
Xiaoyu Wang a5ca4965a4 feat: some sql syntax adjustments 2022-06-22 16:35:14 +08:00
WANG MINGMING 15eb9c485e
Merge pull request #14069 from taosdata/3.0
feat:merge from 3.0
2022-06-22 16:33:15 +08:00
wangmm0220 db34294bed opt: filter by tag 2022-06-22 16:32:10 +08:00
Ganlin Zhao 220f8004f8 Merge branch '3.0' into feat/irate_function 2022-06-22 15:37:49 +08:00
Ganlin Zhao 767eefea0c fix irate first_value bugs 2022-06-22 15:08:41 +08:00
Ganlin Zhao d2059e8079 feat(query): add irate function 2022-06-22 14:42:05 +08:00
shenglian-zhou 0f67b17f3f
Merge pull request #14106 from taosdata/szhou/feature/merge-interval-2
feat: add merge interval operator
2022-06-22 13:32:38 +08:00
Liu Jicong 45489e7481
Merge pull request #14101 from taosdata/feature/stream
fix(wal): return correct msg for open wal file
2022-06-22 13:28:22 +08:00
shenglian zhou 0941a4640b fix: add merge interval operator for select mode(expr) + interval 2022-06-22 13:08:20 +08:00
Yihao Deng 8adfc5eeca
Merge pull request #14068 from taosdata/fix/mnode
fix: release/redirect problem
2022-06-22 12:02:05 +08:00
Li Minghao f9dc73879f
Merge pull request #14100 from taosdata/feature/3.0_mhli
refactor(sync): add syncLogStoreCheck tool
2022-06-22 11:41:43 +08:00
shenglian-zhou 17603ba292
Merge pull request #14098 from taosdata/szhou/feature/merge-interval-2
fix: change merge interval to merge aligned interval
2022-06-22 11:27:41 +08:00
Yihao Deng 5b9786bfc3
Merge branch '3.0' into fix/mnode 2022-06-22 11:23:30 +08:00
Liu Jicong 82a1cc8e41 fix(wal): return correct msg for open wal file 2022-06-22 11:21:33 +08:00
Yihao Deng 7f8b260194
Merge pull request #14073 from taosdata/feature/refactor_rpc
refactor:  add gtid to log
2022-06-22 11:17:01 +08:00
yihaoDeng fa482840bf fix: handle except 2022-06-22 11:06:46 +08:00
Haojun Liao ac656dcc46
Merge pull request #14090 from taosdata/feature/3_liaohj
fix(query): reserve correct buffer before loading data
2022-06-22 10:55:47 +08:00
Xiaoyu Wang 269e9ed505
Merge pull request #14093 from taosdata/feature/3.0_debug_wxy
feat: sql function 'last_row' and sql command 'select constant'
2022-06-22 10:54:47 +08:00
shenglian zhou 84ea04ea2a fix: change merge interval to merge aligned interval 2022-06-22 10:53:22 +08:00
shenglian zhou 580a22d327 fix: reset prefetched datablock after it is used 2022-06-22 10:47:23 +08:00
Minghao Li 7b5a3eff3f refactor(sync): add syncLogStoreCheck tool 2022-06-22 10:42:54 +08:00
Minghao Li 0ba3326b99 fix(sync): update commit index when apply snapshot 2022-06-22 10:35:39 +08:00
Xiaoyu Wang 5661f88742 feat: sql command 'select constant' 2022-06-22 10:25:53 +08:00
shenglian zhou fadc11b685 feat: add compare parameter that enable/disable group id comparision 2022-06-22 10:21:05 +08:00
yihaoDeng 6cad304934 fix: handle except 2022-06-22 10:00:53 +08:00
Xiaoyu Wang eeab56e318 feat: sql command 'select constant' 2022-06-22 09:54:31 +08:00
shenglian zhou aa46624bc5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/sort-group-2 2022-06-22 09:46:40 +08:00