Commit Graph

2122 Commits

Author SHA1 Message Date
Xiaoyu Wang d5d25253fb Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-02 19:34:31 +08:00
Xiaoyu Wang 988cffcce6 fix: some problems of parser and planner 2022-07-02 18:19:10 +08:00
afwerar b9a1c6744c os: add Mac compile support 2022-07-02 17:40:23 +08:00
dapan1121 211ae46a05 enh: refactor scheduler code 2022-07-02 16:59:49 +08:00
Minghao Li 4fc500c91c refactor(sync): add SyncAppendEntriesBatch 2022-07-02 16:01:47 +08:00
Minghao Li 086ec29ca0 refactor(sync): add SyncClientRequestBatch 2022-07-02 14:41:54 +08:00
dapan1121 f9c9afe61a Merge branch '3.0' into enh/killQuery 2022-07-02 12:31:45 +08:00
dapan1121 fbc206d410
Merge pull request #14433 from taosdata/hotfix/fixredirect
fix: fix redirect crash issue
2022-07-02 12:29:34 +08:00
Xiaoyu Wang f98e4323c4
Merge pull request #14423 from taosdata/feature/3.0_debug_wxy
Feature/3.0 debug wxy
2022-07-01 21:05:17 +08:00
dapan1121 817a319a2e enh: kill query 2022-07-01 21:01:35 +08:00
Li Minghao 3d03d326a7
Merge pull request #14438 from taosdata/feature/3.0_mhli
refactor(sync): add snapshot2 interface
2022-07-01 20:51:22 +08:00
Xiaoyu Wang 7a53bae352 merge 3.0 2022-07-01 20:05:15 +08:00
slzhou dbbff4ea2c feat: push cond to join child through generating plan 2022-07-01 20:00:01 +08:00
Minghao Li d4ab134645 refactor(sync): add snapshot2 interface 2022-07-01 17:30:52 +08:00
Li Minghao e7729ee3a3
Merge pull request #14430 from taosdata/feature/3.0_mhli
refactor(sync): add snapshot2 interface
2022-07-01 16:22:16 +08:00
dapan1121 1a83250215 fix: fix redirect crash issue 2022-07-01 15:28:45 +08:00
yihaoDeng b2be5169ab add inst ref 2022-07-01 15:11:24 +08:00
Minghao Li 0ffc6c46f3 refactor(sync): add snapshot2 interface 2022-07-01 14:47:12 +08:00
Liu Jicong 269b33c02d Merge branch '3.0' into feature/stream 2022-07-01 14:39:52 +08:00
Liu Jicong 52d09b4173 refactor(wal) 2022-07-01 14:39:21 +08:00
Minghao Li 91238e823e refactor(sync): add snapshot2 interface 2022-07-01 14:22:14 +08:00
Xiaoyu Wang e235c9830d merge 3.0 2022-07-01 13:35:07 +08:00
Xiaoyu Wang 8a8939f99c fix: csum/diff/mavg support subquery 2022-07-01 13:31:22 +08:00
Ganlin Zhao 45b47b7a2b
Merge pull request #14399 from taosdata/enh/last_row_function
feat(query): add last_row function without cache
2022-07-01 11:28:43 +08:00
Liu Jicong 98d2f42640
Merge pull request #14415 from taosdata/feature/stream
feat(wal): add api to check log existance
2022-07-01 11:00:26 +08:00
Liu Jicong 7a65589525 feat(wal): add api to check log existance 2022-07-01 10:15:05 +08:00
Minghao Li 4033e2dd34 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-01 09:50:43 +08:00
Minghao Li 4f39cd31b0 refactor(sync): add snapshot2 interface 2022-07-01 09:50:20 +08:00
Xiaoyu Wang 8c2e9842e2
Merge pull request #14393 from taosdata/feature/3.0_debug_wxy
feat: support 'select *, expr from ...' syntax
2022-06-30 18:25:12 +08:00
dapan1121 068924cc62
Merge pull request #14385 from taosdata/feature/queryredirect
feat: support query redirect
2022-06-30 18:03:17 +08:00
Xiaoyu Wang 42fba6480c merge 3.0 2022-06-30 17:54:34 +08:00
Liu Jicong d8da0c0e70
Merge pull request #14386 from taosdata/feature/stream
feat(tmq): add snapshot test
2022-06-30 17:51:02 +08:00
Ganlin Zhao 1dd89be98b enh(query): add last_row function without cache
TD-16927
2022-06-30 17:39:20 +08:00
Liu Jicong 94f07836d6 fix(tmq): set scan rsp offset correctly 2022-06-30 17:25:19 +08:00
Ganlin Zhao 860bf88f31 feat(query): add last_row function without cache
TD-16927
2022-06-30 17:20:04 +08:00
Minghao Li 24a3c817a4 refactor(sync): add batch propose 2022-06-30 16:44:49 +08:00
Xiaoyu Wang 1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
Minghao Li 376bf46a64 refactor(sync): add SyncClientRequestBatch 2022-06-30 15:28:23 +08:00
Liu Jicong 4695dc2dae feat(tmq): add snapshot test 2022-06-30 14:41:50 +08:00
dapan1121 c28c77a099 Merge branch '3.0' into feature/queryredirect 2022-06-30 14:35:15 +08:00
Minghao Li 1a8cf049b7 refactor(sync): add syncAppendEntriesBatch 2022-06-30 13:39:13 +08:00
Xiaoyu Wang 99563fc136
Merge pull request #14376 from taosdata/feature/3.0_debug_wxy
feat: the last_row function supports all scenes
2022-06-30 11:28:53 +08:00
dapan1121 a535df7590 feat: query redirect 2022-06-30 11:04:49 +08:00
Xiaoyu Wang cf35174d53 feat: the last_row function supports all scenes 2022-06-30 10:23:35 +08:00
Liu Jicong 0f0fe6276a merge from 3.0 2022-06-29 21:33:10 +08:00
Liu Jicong c2955a807b feat(tmq): offset support snapshot 2022-06-29 21:04:51 +08:00
Li Minghao 3a23fb71ec
Merge pull request #14364 from taosdata/feature/3.0_mhli
refactor(sync): add SYNC_TERM_INVALID
2022-06-29 20:28:10 +08:00
Minghao Li c3b2b98454 refactor(sync): delete some asserts 2022-06-29 19:18:15 +08:00
Xiaoyu Wang 11a8f7f04d feat: sql command 'flush database' 2022-06-29 18:20:27 +08:00
dapan1121 53efe75146 feat: query redirect 2022-06-29 17:56:35 +08:00
Yihao Deng 2001be5996
Merge branch '3.0' into enh/stopquery 2022-06-29 17:24:52 +08:00
dapan1121 914e06e8cb feat: query redirect 2022-06-29 17:15:08 +08:00
Yihao Deng ddb68a8e6e
Merge pull request #14337 from taosdata/feat/extraceEpset
feat: extract  epset from msg cont
2022-06-29 17:12:45 +08:00
dapan1121 4c82ce1810 fix: fix request freed issue 2022-06-29 17:00:48 +08:00
Haojun Liao 0fc154982f
Merge pull request #14353 from taosdata/feature/3_liaohj
enh(query): add api to extract scan  status
2022-06-29 16:50:49 +08:00
Haojun Liao 1b8c5d9269 enh(query): add api to extract scan status 2022-06-29 16:19:19 +08:00
Xiaoyu Wang c2822a6449
Merge pull request #14347 from taosdata/feature/3.0_wxy
feat: sql system info function 'database()', 'client_version()', 'server_version()', 'server_status()', 'current_user()' and 'user()'
2022-06-29 15:45:19 +08:00
Xiaoyu Wang ae076af4f1 feat: sql system info function 'database()', 'client_version()', 'server_version()', 'server_status()', 'current_user()' and 'user()' 2022-06-29 11:41:32 +08:00
dapan1121 ab18857e6f Merge branch 'feature/queryredirect' of github.com:taosdata/TDengine into feature/queryredirect 2022-06-29 11:27:38 +08:00
dapan1121 5df4cd9054 feat: query redirect 2022-06-29 11:27:01 +08:00
yihaoDeng 8640cab139 feat: add retry 2022-06-29 11:24:37 +08:00
yihaoDeng 5691b0e82f feat:modify code 2022-06-29 11:04:04 +08:00
dapan1121 07b46f9e3c Merge branch '3.0' into feature/queryredirect 2022-06-29 10:53:52 +08:00
dapan1121 6d8fd7e506 feat: query redirect 2022-06-29 10:51:22 +08:00
dapan1121 7beac65a73
Merge pull request #14303 from taosdata/hotfix/resetquerycache
fix: fix reset query cache crash issue
2022-06-29 08:54:42 +08:00
yihaoDeng ad29b90cc2 fix: fix rpc quit problem 2022-06-28 21:43:40 +08:00
Hongze Cheng 18afc81a48 finish delete func 2022-06-28 10:01:56 +00:00
dapan1121 bd7a2adc5f add mock code 2022-06-28 17:13:51 +08:00
dapan1121 2b9aff693b fix: remove rpc response msg in delete 2022-06-28 16:35:27 +08:00
Xiaoyu Wang 1f47241fc9 merge 3.0 2022-06-28 13:48:13 +08:00
Liu Jicong 383e7a495b fix(query): enable output check 2022-06-28 13:45:50 +08:00
shenglian-zhou 344fa6ea97
Merge pull request #14314 from taosdata/szhou/udf/udf-outside-tdengine
feat: udf can be compiled outside TDengine
2022-06-28 12:36:24 +08:00
slzhou 9540d1eac9 feat: udf can be compiled outside TDengine 2022-06-28 11:54:16 +08:00
dapan1121 7da915fa67 Merge branch '3.0' into feature/queryredirect 2022-06-28 09:31:03 +08:00
Xiaoyu Wang cd36807faf feat: refactor the plan implementation of unique function 2022-06-27 21:30:20 +08:00
yihaoDeng 14209eeec6 feat: add no retry to query 2022-06-27 19:34:50 +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
Xiaoyu Wang a334337755 feat: merge and merge scan add group sort field 2022-06-27 15:57:02 +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
dapan1121 e851977da0 Merge branch '3.0' into enh/stopquery 2022-06-26 15:19:35 +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
Yihao Deng a081c7c154
Merge branch '3.0' into feat/idxFix 2022-06-25 20:40:16 +08:00
yihaoDeng 5a4b51a968 fix index bug 2022-06-25 20:36:38 +08:00
Minghao Li a6f33ba01c refactor(sync): optimized one replica 2022-06-25 20:31:42 +08:00
Shengliang Guan 8fe87e9e0e Merge remote-tracking branch 'origin/3.0' into fix/tsim 2022-06-25 18:03:23 +08:00
Shengliang Guan 89d6ca7823 feat: privilege for sysinfo user 2022-06-25 18:03:12 +08:00
54liuyao 10e90ce973 feat(stream): auto pull data 2022-06-25 16:44:14 +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
Liu Jicong 81ed902d7f fix(stream): stream rsp to retrieve msg if data is empty 2022-06-25 14:03:06 +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 1b339c9ccd Merge branch 'DN' into ndev 2022-06-25 11:04:39 +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 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
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
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
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
yihaoDeng a2b62cba42 handle except 2022-06-24 17:07:17 +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
dapan1121 f7ece71ff7
Merge pull request #14204 from taosdata/enh/showvariables
enh: refactor show variables
2022-06-24 16:41:48 +08:00
wangmm0220 ff3cb336d8 fix:merge from 3.0 2022-06-24 16:01:58 +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
Minghao Li 87defc2790 refactor(sync): add interface: get retry epset 2022-06-24 14:26:31 +08:00
wangmm0220 0d9ed6d60a fix:merge from 3.0 2022-06-24 13:51:33 +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
Xiaoyu Wang 28d66616e1 fix: fix invalid write 2022-06-24 10:48:49 +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
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
yihaoDeng 23d1e55718 handle except 2022-06-23 20:29:14 +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
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
Liu Jicong bd64bebb63
Merge branch '3.0' into feature/3_liaohj 2022-06-23 16:00:17 +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
dapan1121 95c1b00056 enh: modify delete output res 2022-06-23 14:25:30 +08:00
Liu Jicong 2af4a4d250 merge from 3.0 2022-06-23 14:15:33 +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
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
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
Haojun Liao 2d31d3cb43 other: merge 3.0 2022-06-23 10:37:07 +08:00
WANG MINGMING 9012834531
Merge branch 'feature/3.0_wxy' into 3.0 2022-06-23 10:16:58 +08:00
Minghao Li 9786ba2fbe fix(sync): update nextindex, matchindex when backto nolog 2022-06-23 10:10:57 +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
shenglian zhou faf5424b18 feat: add group sort operator 2022-06-22 23:01:55 +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
Liu Jicong 14a488c92c feat(stream): stream support multiple type input 2022-06-22 21:21:39 +08:00
Haojun Liao bf0caa2038 Merge branch '3.0' into feature/3_liaohj 2022-06-22 20:32:02 +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
Liu Jicong 04f11e2646 feat(wal): provide is empty api 2022-06-22 19:40:37 +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
Liu Jicong fb596625d3 feat(stream): support retrieve 2022-06-22 19:12:31 +08:00
yihaoDeng 3b1664d9e4 feat: refactor rpc code 2022-06-22 18:50:39 +08:00
Haojun Liao 5c1e7f3114 Merge branch '3.0' into feature/3_liaohj 2022-06-22 17:23:57 +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
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
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
shenglian zhou 0941a4640b fix: add merge interval operator for select mode(expr) + interval 2022-06-22 13:08:20 +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
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
dapan1121 a23418d1fa
Merge pull request #14070 from taosdata/feature/showcreate
feat: show create table
2022-06-21 21:05:30 +08:00
wangmm0220 e7faf69981 feat:support tagCond & tagIndexCond 2022-06-21 20:53:19 +08:00
Li Minghao be2a0e28a1
Merge pull request #14075 from taosdata/feature/3.0_mhli
fix(sync): sender get config from local
2022-06-21 20:01:32 +08:00
Xiaoyu Wang 45a806f789 feat: sql function 'last_row' 2022-06-21 19:52:26 +08:00
Minghao Li 363c98e9ed refactor(sync): abstract for log store 2022-06-21 17:45:08 +08:00
dapan1121 88b48ec46c Merge branch '3.0' into feature/showcreate 2022-06-21 17:40:52 +08:00
Xiaoyu Wang 78caa7e005
Merge pull request #14058 from taosdata/feature/3.0_debug_wxy
feat: optimize partition by tbname
2022-06-21 17:18:11 +08:00
dapan1121 0f148c6f47 feat: show create table 2022-06-21 16:45:59 +08:00
Xiaoyu Wang 896c1b3a6d feat: optimize partition by tbname 2022-06-21 15:37:59 +08:00
Liu Jicong c409760f75 feat(stream): drop stream 2022-06-21 11:32:36 +08:00
Xiaoyu Wang aca91eb831
Merge pull request #14033 from taosdata/feature/3.0_debug_wxy
feat: sql command 'show local variables' and 'show dnode variables'
2022-06-21 10:31:13 +08:00
Ganlin Zhao 0bab2091b7
Merge pull request #14034 from taosdata/fix/TD-16546
fix(query): change numOfRes from uint8_t to uint16_t to accomadate sample function max 1000 results.
2022-06-21 09:57:16 +08:00
dapan1121 b084be71f6 feat: show create table 2022-06-21 09:18:53 +08:00
dapan1121 be2935cba6 feat: show create table 2022-06-20 20:58:36 +08:00
Liu Jicong 57e6846dae
Merge pull request #14028 from taosdata/feature/stream
feat(stream): support snode
2022-06-20 20:49:56 +08:00
Li Minghao 55a79f25a2
Merge pull request #14031 from taosdata/feature/3.0_mhli
refactor(sync): propose fail when changing
2022-06-20 20:45:57 +08:00
Ganlin Zhao 65b6c487d5 fix(query): change numOfRes from uint8_t to uint16_t to accomandate
sample function max 1000 results.

TD-16546
2022-06-20 20:41:21 +08:00
Xiaoyu Wang 33d7551cd4 merge 3.0 2022-06-20 20:38:08 +08:00
Xiaoyu Wang 5c185b909a feat: sql command 'show local variables' and 'show dnode variables' 2022-06-20 20:36:15 +08:00
Liu Jicong 450675f672 feat(stream): support snode 2022-06-20 20:18:34 +08:00
Minghao Li e441bd266b refactor(sync): add changing state 2022-06-20 17:48:56 +08:00
Liu Jicong 1daa62e7f7 merge from 3.0 2022-06-20 15:04:50 +08:00
Liu Jicong 53ef66961a feat(stream): support snode 2022-06-20 14:29:18 +08:00
dapan1121 88aff7bae1 Merge branch '3.0' into feature/showcreate 2022-06-20 13:35:18 +08:00
dapan1121 3155a228e5
Merge pull request #13999 from taosdata/enh/abortpreprocess
enh: add rpc msg abort preprocess
2022-06-20 13:13:30 +08:00
Xiaoyu Wang 3f702941a6
Merge pull request #14001 from taosdata/feature/3.0_debug_wxy
feat: sql function 'interp'
2022-06-20 12:50:40 +08:00
Xiaoyu Wang 9e8058dd5d feat: sql function 'interp' 2022-06-20 12:00:57 +08:00
dapan1121 ef21c6b339 enh: add rpc msg abort preprocess 2022-06-20 11:37:40 +08:00
Minghao Li 5968c6353f refactor(sync): get snapshot and create reader 2022-06-20 10:58:59 +08:00
dapan1121 a8694bd863
Merge pull request #13977 from taosdata/enh/taos.ref
feat: support all queries on Qnode
2022-06-20 09:26:33 +08:00
Xiaoyu Wang c963f92dda
Merge pull request #13990 from taosdata/feature/3.0_debug_wxy
feat: sql function 'interp'
2022-06-19 20:09:15 +08:00
Xiaoyu Wang bac6e27c20 feat: sql command 'interp' 2022-06-19 19:39:12 +08:00
WANG MINGMING 45a247c062
Merge pull request #13933 from taosdata/feature/TD-16524
feat: add ttl/comment function
2022-06-19 11:18:14 +08:00
Xiaoyu Wang 927464113b feat: tag condition split 2022-06-18 20:15:47 +08:00
dapan1121 32a0cb7210
Merge branch '3.0' into enh/taos.ref 2022-06-18 19:57:20 +08:00
54liuyao 8c47a18dbf feat(stream): semi session operator 2022-06-18 19:57:08 +08:00
Xiaoyu Wang c0074588d4
Merge pull request #13984 from taosdata/feature/3.0_debug_wxy
feat: sql command 'show table distributed'
2022-06-18 19:53:52 +08:00
dapan1121 2dc7bcbefc show create db 2022-06-18 19:50:53 +08:00
dapan1121 cd5578918a Merge branch '3.0' into enh/taos.ref 2022-06-18 19:49:08 +08:00
wangmm0220 746f4759b0 fix:merge from 3.0 2022-06-18 19:40:36 +08:00
Xiaoyu Wang 22d1422b49 feat: sql command 'show table distributed' 2022-06-18 18:37:18 +08:00
Yihao Deng 2941254a2b
Merge branch '3.0' into enh/trace1 2022-06-18 18:26:26 +08:00
dapan1121 5f4614d61a qnode for policy 2/3 2022-06-18 16:30:46 +08:00
Xiaoyu Wang 3599b26526
Merge pull request #13943 from taosdata/feature/3.0_debug_wxy
feat: rollup options adjust
2022-06-18 16:26:48 +08:00
Haojun Liao f23abec35b
Merge pull request #13957 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-06-18 16:00:32 +08:00
yihaoDeng 5401c68706 enh: add trace 2022-06-18 14:07:54 +08:00
Haojun Liao f2a27f5842 refactor: do some internal refactor. 2022-06-18 12:00:41 +08:00
WANG MINGMING a64013461f
Merge branch '3.0' into feature/TD-16524 2022-06-18 11:11:54 +08:00
Shengliang Guan 6d5e629c5b Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-18 00:35:07 +08:00
Xiaoyu Wang a06b329bee feat: sql command 'show create database', 'show create table', 'show create stable' and 'alter local' 2022-06-17 21:16:13 +08:00
Haojun Liao d2f8a330e1 refactor(query): do some internal refactor. 2022-06-17 20:09:49 +08:00
Xiaoyu Wang 64f8a9cea8 merge 3.0 2022-06-17 18:45:17 +08:00
Shengliang Guan 98272d1434 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-17 18:41:39 +08:00
dapan1121 211adf20af
Merge pull request #13875 from taosdata/feature/showapps
feat: support show apps command
2022-06-17 18:20:05 +08:00
Xiaoyu Wang aea4f9c69b feat: rollup options adjust 2022-06-17 17:27:42 +08:00
liuyao f9fe106a70
Merge pull request #13929 from taosdata/feature/TD-16616
feat(stream): distribute stream session plan
2022-06-17 16:30:01 +08:00
Shengliang Guan 5959cc2d42 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-17 15:46:26 +08:00
54liuyao 61153b7637 feat(stream): distribute stream session plan 2022-06-17 15:39:19 +08:00
WANG MINGMING b3d2daeb72
Merge branch '3.0' into feature/TD-16524 2022-06-17 14:51:33 +08:00
Xiaoyu Wang 30db51ab21 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-06-17 14:47:25 +08:00
dapan1121 f0c53fb982 Merge branch '3.0' into feature/showapps 2022-06-17 14:44:44 +08:00
dapan1121 d320326371 reset query cache 2022-06-17 14:41:17 +08:00
Xiaoyu Wang fe25e45e0f
Merge pull request #13899 from taosdata/feature/3.0_wxy
feat: the unique function and tail function are rewritten as the corresponding clauses
2022-06-17 14:30:23 +08:00
Shengliang Guan 6e6f559f9c Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode 2022-06-17 14:06:44 +08:00
Minghao Li 9ab28e0b88 refactor(sync): add last config index in fsm cbMeta 2022-06-17 14:05:52 +08:00
Xiaoyu Wang 2df98609e8 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-17 13:55:25 +08:00
Shengliang Guan 7e0ad8781b refactor(sync) add raft cfg test 2022-06-17 11:46:19 +08:00
Minghao Li f5db109e61 fix(sync): get last max snapshot index 2022-06-17 11:37:10 +08:00
Shengliang Guan 80e0b830fe refactor: remove duplicate conninfo in SRpcMsg 2022-06-17 10:40:42 +08:00
dapan1121 d12614aac8 kill query 2022-06-17 09:22:03 +08:00
dapan1121 b3f9f81b61 support show apps 2022-06-16 21:06:04 +08:00
wangmm0220 2bd2996e74 feat:add comment function 2022-06-16 20:45:00 +08:00
Shengliang Guan 8a72d44494
Merge pull request #13909 from taosdata/fix/mnodesync2
refactor(sync): add syncIsReady
2022-06-16 20:00:39 +08:00
Xiaoyu Wang f350ade453 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-16 19:45:09 +08:00
Shengliang Guan fe9f8bfe98 Merge remote-tracking branch 'origin/3.0' into test/chr/TD-14699 2022-06-16 17:39:39 +08:00
Xiaoyu Wang e224d40480 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-16 16:58:55 +08:00
Haojun Liao 2c746848fc
Merge pull request #13877 from taosdata/feature/3_liaohj
enh(query): partition by supports arithmetic expr
2022-06-16 16:18:50 +08:00
Shengliang Guan 35c47cee55 Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699 2022-06-16 16:17:20 +08:00
Minghao Li 2f81a41f98 refactor(sync): add syncIsReady 2022-06-16 16:16:40 +08:00
Minghao Li 77b03ac821 refactor(sync): add restore finish when become leader again 2022-06-16 14:40:42 +08:00
Haojun Liao 2360f072a8 fix(query): add indef process procedure. 2022-06-16 11:43:11 +08:00
Xiaoyu Wang 97ac79f557 feat: rollup grammar adjust 2022-06-16 11:13:59 +08:00
Xiaoyu Wang e52429e31b merge 3.0 2022-06-16 09:31:22 +08:00
dapan1121 69eb9daddb
Merge pull request #13851 from taosdata/feature/showqueries
feat: support some show and kill commands
2022-06-16 09:15:02 +08:00
Haojun Liao 6b2d4a6aca other: merge 3.0 2022-06-15 23:05:55 +08:00
Haojun Liao f2de1af904 enh(query): partition by support arithmetic expr, and do some internal refactor. 2022-06-15 23:00:31 +08:00
Liu Jicong 683bc24646
Merge pull request #13876 from taosdata/feature/stream
feat(stream): drop task
2022-06-15 22:59:43 +08:00
Haojun Liao efd28728df
Merge pull request #13779 from taosdata/feature/3_liaohj
enh(query): add derivative function.
2022-06-15 22:35:30 +08:00
Xiaoyu Wang 7f78d4a79b feat: partition by tags optimize 2022-06-15 19:08:25 +08:00
Xiaoyu Wang 2cd3657208
Merge pull request #13867 from taosdata/feature/3.0_debug_wxy
feat: support compute only use qnode
2022-06-15 18:39:14 +08:00
Liu Jicong 9ae7dc1028 enh(sma): remove filefator 2022-06-15 17:42:21 +08:00
Liu Jicong fd9bb8db73
Merge pull request #13860 from taosdata/feature/stream
feat(stream): trigger mode add max delay
2022-06-15 17:11:18 +08:00
Xiaoyu Wang 3c4663848b feat: support compute only use qnode 2022-06-15 16:47:03 +08:00
Haojun Liao 771065952e other: merge 3.0 2022-06-15 16:32:28 +08:00
Minghao Li 13eaf5fc73 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-06-15 16:14:38 +08:00
Minghao Li 4b18bd718e refactor(sync): adjust errno 2022-06-15 16:14:17 +08:00
Liu Jicong 8eb08fa0d4 feat(stream): trigger mode add max delay 2022-06-15 16:11:20 +08:00
Xiaoyu Wang 19ab15b19f feat: super table join 2022-06-15 13:49:29 +08:00
dapan1121 96f8a0da42 Merge branch '3.0' into feature/showqueries 2022-06-15 11:34:54 +08:00
dapan1121 947aecb74f show queries/connection; kill connection 2022-06-15 11:27:53 +08:00
wangmm0220 174ae5ee6b feat:add logic for ttl 2022-06-14 19:06:14 +08:00
Xiaoyu Wang 18ced3eb97
Merge pull request #13810 from taosdata/feature/3.0_wxy
fix: some problems of parser
2022-06-14 18:06:29 +08:00
Ganlin Zhao cd94eabc73 add stddev function translate partial/merge 2022-06-14 16:42:05 +08:00
Ganlin Zhao b13c31c953 Merge branch '3.0' into enh/avg_stddev_split 2022-06-14 15:51:03 +08:00
Xiaoyu Wang 1676bfe5cf fix: some problems of parser 2022-06-14 15:43:56 +08:00
Li Minghao 41a285a3f6
Merge pull request #13807 from taosdata/feature/3.0_mhli
refactor(sync): update replica index in snapshot sender
2022-06-14 15:21:09 +08:00
Ganlin Zhao 4113472e89 add avg function translate partial/merge 2022-06-14 15:00:28 +08:00
dapan1121 2861534ada
Merge pull request #13781 from taosdata/feature/cacheIndex
feat: cache table index
2022-06-14 14:29:13 +08:00
Haojun Liao 531b85ce22 enh(query): add interp function. 2022-06-14 11:54:13 +08:00
Minghao Li 9cd54c5cc9 refactor(sync): update replica index in snapshot sender 2022-06-14 11:16:32 +08:00
Ganlin Zhao 589b30422f add last function splitting 2022-06-14 10:51:00 +08:00
Ganlin Zhao 9fa641a8b0 Merge branch '3.0' into enh/first_last_split 2022-06-14 10:50:50 +08:00
Xiaoyu Wang f080f321dd merge 3.0 2022-06-13 20:06:29 +08:00
Haojun Liao 4b9139c793
Merge branch '3.0' into feature/3_liaohj 2022-06-13 19:35:27 +08:00
Haojun Liao 49fd380a69 enh(query): add derivative function. 2022-06-13 19:22:28 +08:00
Ganlin Zhao 6d95262688 enh(query): add first/last function distributed implementation 2022-06-13 19:11:28 +08:00
dapan1121 8d86b877e7 Merge branch '3.0' into feature/cacheIndex 2022-06-13 18:49:08 +08:00
Xiaoyu Wang a5ce5192f2 merge 3.0 2022-06-13 18:37:25 +08:00
Xiaoyu Wang 3954edb366 feat: avg function rewrite 2022-06-13 18:36:23 +08:00
Ganlin Zhao b4c3e55c4d Merge branch '3.0' into enh/top_bot_split 2022-06-13 16:18:39 +08:00
Minghao Li e4897e5f46 enh(sync): add leader transfer 2022-06-13 15:52:43 +08:00
Minghao Li f47a28fe8a enh(sync): add leader transfer 2022-06-13 15:47:43 +08:00
dapan1121 7a78d81232 fix compile issue 2022-06-13 15:36:28 +08:00
Xiaoyu Wang 1863bbee9a merge 3.0 2022-06-13 15:01:29 +08:00
Xiaoyu Wang 380a071551 fix: handle the memory leak of parser 2022-06-13 14:54:38 +08:00
Ganlin Zhao 4036d9714e add bottom function distribution splitting 2022-06-13 13:38:21 +08:00
dapan1121 17f6275015 add sma cache 2022-06-13 10:38:45 +08:00
Minghao Li aad288ab17 refactor(sync): add debug log 2022-06-12 15:21:56 +08:00
Xiaoyu Wang d1e0327d19 fix: handle the memory leak of parser 2022-06-11 21:32:29 +08:00
Ganlin Zhao b342561535 Merge branch '3.0' into enh/top_bot_split 2022-06-11 19:25:43 +08:00
dapan1121 0046593d4f
Merge branch '3.0' into feature/qnode 2022-06-11 17:58:53 +08:00
Xiaoyu Wang 67baa48961
Merge pull request #13720 from taosdata/feature/3.0_wxy
fix: some problems of parser
2022-06-11 17:16:47 +08:00
dapan1121 d3a56d87ca
Merge branch '3.0' into feature/qnode 2022-06-11 16:34:21 +08:00
Xiaoyu Wang e17396be9c fix: some problems of parser 2022-06-11 15:44:49 +08:00
Minghao Li fa54663871 refactor(sync): add last config index 2022-06-11 13:52:17 +08:00
Minghao Li 4af9d14457 refactor(sync): add last config index 2022-06-11 13:08:30 +08:00
Minghao Li 6586f78599 refactor(sync): add last config index 2022-06-11 12:44:58 +08:00
dapan1121 23e26d569b Merge branch '3.0' into feature/qnode 2022-06-11 11:21:27 +08:00
Ganlin Zhao 546f8d892f Merge branch '3.0' into enh/top_bot_split 2022-06-11 11:11:37 +08:00
Liu Jicong 27fa0d7d32
Merge branch '3.0' into feature/stream 2022-06-11 10:58:41 +08:00
Liu Jicong e31a304206 refactor(scheduler) 2022-06-11 10:56:04 +08:00
Xiaoyu Wang 9ec3c78621
Merge pull request #13703 from taosdata/feature/3.0_wxy
feat: sma index optimize
2022-06-11 09:51:06 +08:00
Xiaoyu Wang 58808db4cd feat: sma index optimize 2022-06-11 09:25:18 +08:00
Xiaoyu Wang cd31496882 feat: sma index optimize 2022-06-10 21:13:06 +08:00
dapan1121 7923d51f62 Merge branch '3.0' into feature/qnode 2022-06-10 20:04:19 +08:00
Ganlin Zhao 40f5ff71f8 add top/bot splitting 2022-06-10 18:32:34 +08:00
Li Minghao 797cde53d2
Merge pull request #13692 from taosdata/feature/3.0_mhli
refactor(sync): add rpcMsg to reconfig callback
2022-06-10 18:22:00 +08:00
Minghao Li 972fee7fbc refactor(sync): add rpcMsg to reconfig callback 2022-06-10 17:39:30 +08:00
dapan1121 0e9203ebf6 Merge branch '3.0' into feature/qnode 2022-06-10 17:09:11 +08:00
dapan1121 1b196df8ed update epset 2022-06-10 17:07:24 +08:00
Haojun Liao c55c349952
Merge pull request #13669 from taosdata/feature/3_liaohj
enh(query): add new api in taos.h
2022-06-10 12:58:52 +08:00
Liu Jicong 73b8f02ac7 fix(stream): set child id 2022-06-10 12:00:38 +08:00
Haojun Liao 24cca6cbcd Merge branch '3.0' into feature/3_liaohj 2022-06-10 11:28:10 +08:00
Ganlin Zhao 50beba99b2
Merge pull request #13660 from taosdata/enh/elapsed_split
enh(query): enable elapsed function distributed splitting
2022-06-10 10:16:37 +08:00
Xiaoyu Wang 317cc8fc13 feat: sma index optimize 2022-06-10 10:16:18 +08:00
Haojun Liao c55aae2c0c enh(query): block distribution query is supported. 2022-06-10 09:51:57 +08:00
Liu Jicong a2145321b5
Merge pull request #13663 from taosdata/feature/stream
feat(wal): support restore from snapshot
2022-06-10 00:04:13 +08:00
Liu Jicong 7ab3a1e42c feat(wal): support restore from snapshot 2022-06-09 23:08:06 +08:00
Ganlin Zhao 134ad9fa52 Merge branch '3.0' into enh/elapsed_split 2022-06-09 20:12:57 +08:00
Shengliang Guan 5bda367fbd Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-06-09 19:32:38 +08:00
Ganlin Zhao 62506bac33 add elapsed function partial/merge translate 2022-06-09 19:15:09 +08:00
54liuyao 016a7b698f feat(stream): stream state window support top and bottom 2022-06-09 17:45:40 +08:00
dapan1121 dbaa4a5815
Merge pull request #13644 from taosdata/feature/qnode
feat: add get table index async API
2022-06-09 17:22:43 +08:00
Ganlin Zhao 62652aa45b
Merge pull request #13639 from taosdata/enh/hll_split
enh(query): add hll function distributed splitting
2022-06-09 17:22:21 +08:00
Shengliang Guan ab578845b4 Merge remote-tracking branch 'origin/3.0' into feature/sync-refactor 2022-06-09 16:34:43 +08:00
dapan1121 001061fcd2 add get tb index async api 2022-06-09 15:17:10 +08:00
Yihao Deng 1946f39a96
Merge pull request #13638 from taosdata/enh/refactorTrans
enh: refactor trans
2022-06-09 14:32:04 +08:00
yihaoDeng d9c83f6357 enh: change rpcGetConnInfo 2022-06-09 13:50:18 +08:00
Shengliang Guan 65f65b53b3 Merge remote-tracking branch 'origin/3.0' into feature/sync-refactor 2022-06-09 13:49:43 +08:00
Shengliang Guan f093f3a565 Merge branch 'fix/dnode' into feature/sync-refactor 2022-06-09 13:45:08 +08:00
Xiaoyu Wang 8908c365a0 merge 3.0 2022-06-09 13:28:55 +08:00
Xiaoyu Wang 31dc553390 feat: sma index optimize 2022-06-09 13:24:04 +08:00
Liu Jicong 88313b9068
Merge pull request #13619 from taosdata/feature/stream
fix(query): decode
2022-06-09 13:03:35 +08:00
Liu Jicong 9e4b3adc7c fix(stream): msg dispatch 2022-06-09 11:45:06 +08:00
Ganlin Zhao 23c0bdf052 enh(query): add hll function distributed splitting 2022-06-09 10:57:32 +08:00
Ganlin Zhao db9b56777f
Merge pull request #13616 from taosdata/enh/histogram_split
enh(query): add histogram function distributed splitting
2022-06-09 10:35:27 +08:00
dapan1121 d4c7154cde Merge branch '3.0' into feature/qnode 2022-06-09 09:10:37 +08:00
Minghao Li e070657778 refactor(sync): add syncGetSnapshotMeta 2022-06-08 23:20:07 +08:00
Shengliang Guan 2eb5664803
Merge pull request #13618 from taosdata/fix/tsim
refactor: add sync sem for vnode
2022-06-08 22:30:58 +08:00
Shengliang Guan bc8e6b7fd7 refactor: adjust vnode sync 2022-06-08 21:17:17 +08:00
dapan1121 deaa295fb5
Merge branch '3.0' into feature/3_liaohj 2022-06-08 20:44:01 +08:00
Minghao Li 29b97fa0ad refactor(sync): syncNodeOnAppendEntriesReplySnapshotCb 2022-06-08 19:53:07 +08:00
dapan1121 1a078d5d56 fix in issue 2022-06-08 18:36:46 +08:00
Minghao Li d72d2d698c refactor(sync): SyncAppendEntries 2022-06-08 17:44:32 +08:00
Ganlin Zhao d49f1dbc15 enh(query): add histogram function distributed splitting
TD-16321
2022-06-08 17:38:51 +08:00
Ganlin Zhao ad895c243d enh(query): add spread function distributed splitting 2022-06-08 16:34:23 +08:00
Ganlin Zhao ec5da952f9
Merge pull request #13580 from taosdata/feature/dist_split_glzhao
enh(query): add distributed splitting of aggregate function
2022-06-08 15:38:43 +08:00
dapan1121 e8a3a03952 add retry error code 2022-06-08 15:34:22 +08:00
Ganlin Zhao b93ea371a6 Merge branch '3.0' of github.com:taosdata/TDengine into 3.0 2022-06-08 11:13:08 +08:00