Commit Graph

7887 Commits

Author SHA1 Message Date
liuyao f41b7a6810
Merge pull request #14974 from taosdata/feature/TD-17357
feat(stream): optimize interval plan
2022-07-16 09:57:52 +08:00
Haojun Liao 5fb53520d2
Merge pull request #14971 from taosdata/feature/3_liaohj
fix(query): set correct sort buffer format
2022-07-16 09:50:32 +08:00
Xiaoyu Wang 52327cc2fb fix: multi-rows function validity check 2022-07-16 09:44:52 +08:00
shenglian-zhou f8276707e5
Merge pull request #14973 from taosdata/szhou/feature/user-tags
fix: enable tag scan optimization when the scan cols is empty before adding ts col
2022-07-16 09:29:40 +08:00
54liuyao 352db0febb feat(stream): optimize interval plan 2022-07-16 09:28:15 +08:00
shenglian zhou fcc87f09fe feat: add user tags 2022-07-15 21:33:30 +08:00
Liu Jicong 280ed4f65d feat(stream): pipelined exec for recovering 2022-07-15 21:29:53 +08:00
Haojun Liao b4122f8816 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-15 20:56:59 +08:00
Haojun Liao e840cdaaac fix(query): set correct sort buffer format 2022-07-15 20:56:29 +08:00
dapan1121 dce0f06e31 fix: fix redirect issue 2022-07-15 20:40:48 +08:00
Haojun Liao 09cf3cc8ce
Merge pull request #14957 from taosdata/feature/3_liaohj
fix(query): fix partition by bug for last_row query.
2022-07-15 20:13:26 +08:00
Li Minghao 5a941284a4
Merge pull request #14965 from taosdata/feature/3.0_mhli
refactor(sync): modify elect/heartbeat timer
2022-07-15 19:03:25 +08:00
Liu Jicong af0f398121
Merge pull request #14960 from taosdata/feature/stream
feat(stream): recover from failure
2022-07-15 18:32:48 +08:00
Haojun Liao b1826ef736 fix(query): fix a typo 2022-07-15 18:15:06 +08:00
dapan1121 0048bd8cb6 fix: fix redirect issue 2022-07-15 18:09:27 +08:00
shenglian zhou cede4b7624 fix: enable tag scan optimization when the scan cols is empty before adding ts col 2022-07-15 18:01:04 +08:00
Liu Jicong 9394e3380f feat(stream): recover from failure 2022-07-15 17:58:53 +08:00
Xiaoyu Wang d99b682f76 fix: multi-rows function validity check 2022-07-15 17:58:37 +08:00
Ganlin Zhao cbd2d8f8a2 fix(query): add spread function scalar version
TD-17344
2022-07-15 17:54:45 +08:00
Haojun Liao 50aa7f9cfa Merge branch '3.0' into feature/3_liaohj 2022-07-15 17:37:47 +08:00
Haojun Liao 3f11c849cd refactor: do some internal refactor. 2022-07-15 17:34:54 +08:00
Minghao Li 5b1042ce2c Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-15 16:57:49 +08:00
Ganlin Zhao a5a3b96e58 enable select agg function without from clause 2022-07-15 16:50:51 +08:00
Ganlin Zhao 14ae310fea fix issue 2022-07-15 16:47:52 +08:00
Ganlin Zhao 7d5c496e10 fix comment 2022-07-15 16:46:13 +08:00
Ganlin Zhao 0377f865db fix conflict 2022-07-15 16:45:30 +08:00
Ganlin Zhao 85da616ae1 Merge branch '3.0' into feat/agg_client_api 2022-07-15 16:44:46 +08:00
Ganlin Zhao 30e09c4b19 fix(query): fix when select percentile() has no
from table clause report error issue
2022-07-15 16:41:19 +08:00
Yihao Deng a5ca6d0ce0
Merge pull request #14942 from taosdata/feat/checkTimeUnSynced
feat: add time unsynced check
2022-07-15 16:36:10 +08:00
Xiaoyu Wang aec4c2313a fix: multi-rows function validity check 2022-07-15 16:17:00 +08:00
Minghao Li 59c7348c94 refactor(sync): add leader transfer callback 2022-07-15 16:07:45 +08:00
dapan1121 53103accc1 Merge branch 'fix/fixmsgorder' of github.com:taosdata/TDengine into fix/fixmsgorder 2022-07-15 16:02:49 +08:00
dapan1121 02af3581f3 enh: add debug info 2022-07-15 16:01:42 +08:00
Ganlin Zhao 9e49a0012d feat(query): add percentile/apercentile scalar version
TD-17344
2022-07-15 15:52:32 +08:00
yihaoDeng c875805874 refactor code 2022-07-15 15:49:30 +08:00
Haojun Liao f60f821c13 fix(query): fix partition by bug for last_row query. 2022-07-15 15:04:22 +08:00
Haojun Liao 505e14892e
Merge pull request #14932 from taosdata/feature/3_liaohj
fix(query): handle multi group last_row query.
2022-07-15 15:03:10 +08:00
yihaoDeng baa21c8398 Merge branch '3.0' of https://github.com/taosdata/TDengine into dev 2022-07-15 14:58:00 +08:00
Minghao Li 681993884f refactor(sync): add leader transfer callback 2022-07-15 14:55:33 +08:00
yihaoDeng 35e8ad2811 feat: add time unsynced check 2022-07-15 14:51:20 +08:00
dapan1121 c5675bc821 fix: fix msg disorder issue 2022-07-15 14:40:42 +08:00
Ganlin Zhao 9de4ad8535 Merge branch '3.0' into feat/agg_client_api 2022-07-15 14:37:08 +08:00
Ganlin Zhao b8a4878b00 fix(query): add leastsquares function scalar version 2022-07-15 14:34:40 +08:00
dapan1121 5ed51e0010 Merge branch '3.0' into fix/fixmsgorder 2022-07-15 14:19:37 +08:00
dapan1121 c67fa0c1ce enh: add taosd query exit processing 2022-07-15 14:17:00 +08:00
Haojun Liao 595c7dd4f3 Merge branch '3.0' into feature/3_liaohj 2022-07-15 13:36:14 +08:00
Haojun Liao 283b3eb3d9 fix(query): remove invalid check. 2022-07-15 13:25:15 +08:00
dapan1121 c7aa4a108b
Merge branch '3.0' into enh/schPolicy 2022-07-15 13:24:30 +08:00
Li Minghao e3eaddac0d
Merge pull request #14869 from taosdata/feature/3.0_mhli
refactor(sync): optimized replication
2022-07-15 13:12:37 +08:00
Xiaoyu Wang 47ab10c560
Merge pull request #14931 from taosdata/feature/3.0_debug_wxy
fix: a problem of last_row function plan
2022-07-15 12:55:37 +08:00
Xiaoyu Wang 1342fbe913 fix: sql command 'show table distributed' 2022-07-15 11:59:42 +08:00
Haojun Liao 013f5031bc fix(query):update the time type check. 2022-07-15 11:53:32 +08:00
Haojun Liao 6c13a8e2e8 fix(query):fix syntax error. 2022-07-15 11:43:06 +08:00
Haojun Liao b9a471624d fix(query): handle multi group last_row query. 2022-07-15 11:19:00 +08:00
Xiaoyu Wang 873ff96bc1 fix: a problem of last_row function plan 2022-07-15 11:01:19 +08:00
Yihao Deng 843449f1e4
Merge pull request #14906 from taosdata/enh/addLRUToIdx
feat:add lru to idx
2022-07-15 10:52:52 +08:00
Ganlin Zhao 6a62954e34
Merge pull request #14927 from taosdata/feat/agg_client_api
feat(query): add avg function scalar version
2022-07-15 10:51:37 +08:00
dapan1121 41ba297964 Merge branch '3.0' into fix/fixmsgorder 2022-07-15 10:23:25 +08:00
dapan1121 f1e37cde78 fix: fix msg disorder issue 2022-07-15 10:21:47 +08:00
shenglian-zhou 42c1e5e053
Merge pull request #14923 from taosdata/szhou/fix/td-17405
fix: multi result function is not allowed when appear in clauses other than select
2022-07-15 10:06:37 +08:00
Ganlin Zhao 20ce5b32a9 Merge branch '3.0' into feat/agg_client_api 2022-07-15 10:04:28 +08:00
Ganlin Zhao 4ff107812f feat(query): add avg function scalar version
TD-17344
2022-07-15 10:00:35 +08:00
Yihao Deng a6e71424b4
Merge branch '3.0' into enh/addLRUToIdx 2022-07-15 09:47:35 +08:00
dapan1121 31aa48e240 fix: fix windows compile issue 2022-07-15 09:44:29 +08:00
slzhou 21a32b36e9 fix: multi result function is not allowed when appear in clauses other than select 2022-07-15 09:32:54 +08:00
Yihao Deng 590f7c4c4d
Merge pull request #14915 from taosdata/enh/preallocHandle
enh:  prealloc handle
2022-07-15 09:32:29 +08:00
Xiaoyu Wang 979b20189d feat: the query uses the 'cachelast' option to decide whether to optimize the last_row function 2022-07-15 09:07:19 +08:00
Xiaoyu Wang 9522288f6b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-15 08:44:23 +08:00
Xiaoyu Wang 31e29dfc38 feat: the query uses the 'cachelast' option to decide whether to optimize the last_row function 2022-07-15 08:43:40 +08:00
Haojun Liao c2d277f47c
Merge pull request #14918 from taosdata/feature/3_liaohj
fix(query): add exec node for lastrow query.
2022-07-14 22:48:37 +08:00
yihaoDeng de495eb7ec feat: add lru to index 2022-07-14 20:38:37 +08:00
Haojun Liao ab6ed4bffa fix(query): add exec node for lastrow query. 2022-07-14 20:37:07 +08:00
Haojun Liao 159d6c47c8
Merge pull request #14911 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-07-14 20:36:30 +08:00
yihaoDeng d7a463da46 feat: prealloc handle to client 2022-07-14 20:31:16 +08:00
Xiaoyu Wang ef4f6964d1 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-14 20:17:28 +08:00
Xiaoyu Wang d894e959ee fix: client module memory leak problem 2022-07-14 20:16:39 +08:00
Haojun Liao 707f0a837a fix(query): set correct fill output object. 2022-07-14 20:11:29 +08:00
Ganlin Zhao 7e661a9e9c feat(query): add avg function scalar version
TD-17344
2022-07-14 20:02:21 +08:00
Liu Jicong e01297d09d refactor(query): optimize table scan by reusing reader 2022-07-14 19:29:34 +08:00
yihaoDeng ca7ca2f1e3 refactor code 2022-07-14 19:23:01 +08:00
Ganlin Zhao 256c4aa25b Merge branch '3.0' into feat/agg_client_api 2022-07-14 19:20:45 +08:00
Haojun Liao a911feeab7 fix(query): fix syntax error. 2022-07-14 19:18:15 +08:00
Ganlin Zhao 680400834a refactor code 2022-07-14 19:17:28 +08:00
Haojun Liao 5ca810a985 fix(query): fix memory leak. 2022-07-14 19:09:40 +08:00
Ganlin Zhao 98e542f884
Merge pull request #14888 from taosdata/feat/agg_client_api
feat(query): add sum/count/max/min function scalar version
2022-07-14 19:09:30 +08:00
dapan1121 ae132e6626 Merge branch '3.0' into enh/schPolicy 2022-07-14 18:44:21 +08:00
dapan1121 12b961c7f5 enh: add schedule policy 2022-07-14 18:42:26 +08:00
Haojun Liao 34c973387d
Merge pull request #14904 from taosdata/feature/3_liaohj
fix(query): handle the grouped fill.
2022-07-14 18:36:18 +08:00
Liu Jicong b33d6584c4
Merge pull request #14898 from taosdata/feature/stream
refactor(stream): destroy stream task
2022-07-14 18:36:09 +08:00
Haojun Liao 918df89b4f
Merge branch '3.0' into feature/3_liaohj 2022-07-14 17:56:15 +08:00
Ganlin Zhao b87eb0abb3 feat(query): add stddev function scalar version
TD-17344
2022-07-14 17:39:03 +08:00
Liu Jicong 9847abf166 fix(sma): double free 2022-07-14 17:34:06 +08:00
Xiaoyu Wang a497ad72fa
Merge pull request #14899 from taosdata/feature/3.0_debug_wxy
fix: some problems of planner
2022-07-14 17:31:50 +08:00
yihaoDeng 9c4842ef10 feat: add lru to index 2022-07-14 17:30:48 +08:00
yihaoDeng fe8ccabf7a add lru to index 2022-07-14 17:14:53 +08:00
Haojun Liao dc4052bd7b fix(query): handle the grouped fill. 2022-07-14 17:04:22 +08:00
Xiaoyu Wang 5a5ae23ddf fix: some problems of planner 2022-07-14 16:58:54 +08:00
wangmm0220 bb6ecd6913 Merge branch '3.0' into feature/TD-13041 2022-07-14 16:34:04 +08:00
wangmm0220 a15bd187bf fix:error in json tag 2022-07-14 16:24:16 +08:00
Liu Jicong c0639d3dc4 fix(query): double free 2022-07-14 16:24:12 +08:00
Xiaoyu Wang ddb39a8dc2 fix: some problems of planner 2022-07-14 16:06:28 +08:00
Liu Jicong d75e9b8f6a merge from 3.0 2022-07-14 15:35:00 +08:00
Liu Jicong 9ea0ad57ec refactor(stream): destroy stream task 2022-07-14 15:32:21 +08:00
yihaoDeng a9e64f2938 feat: add lru to index 2022-07-14 15:17:05 +08:00
yihaoDeng cace9b6be9 feat: add lru to index 2022-07-14 14:51:39 +08:00
Haojun Liao b23e08db85
Merge pull request #14893 from taosdata/feature/3_liaohj
fix(query): set correct fill output column index and fix some memory leaks
2022-07-14 14:25:24 +08:00
Cary Xu 1175bda094 Merge branch '3.0' into feature/grant-3.0 2022-07-14 14:10:14 +08:00
Ganlin Zhao 29ff569191 enable scalar function check to prevent crash 2022-07-14 14:04:06 +08:00
dapan1121 a0f7cc6790 enh: add schedule policy 2022-07-14 14:03:27 +08:00
Minglei Jin 92ae35fd3f
Merge pull request #14886 from taosdata/fix/TD-17328-v2
fix: use calcTypeBytes for table altering
2022-07-14 13:56:56 +08:00
Haojun Liao 75aca0b031 fix(query): set correct fill output column index, fix some memory leak, and do some internal refactor, 2022-07-14 13:53:23 +08:00
WANG MINGMING e0ec9687c5
Merge pull request #14890 from taosdata/fix/TD-17356
fix:filter child table with tag
2022-07-14 13:29:09 +08:00
WANG MINGMING 131f87ffed
Merge pull request #14778 from taosdata/feature/TD-13041
feat: get meta and write meta from tmq
2022-07-14 13:28:57 +08:00
Haojun Liao c638f9d53a
Merge pull request #14889 from taosdata/feature/3_liaohj
fix(query):fix invalid write in sample query processing.
2022-07-14 13:19:45 +08:00
wangmm0220 3c755c4834 opt:remove useless code 2022-07-14 11:41:34 +08:00
Ganlin Zhao 0cb911c0b4 Merge branch '3.0' into feat/agg_client_api 2022-07-14 11:40:53 +08:00
54liuyao 13519f8fd9 feat(stream): interval offset 2022-07-14 11:24:24 +08:00
Haojun Liao 6fd4684a26 fix(query): ensure buffer before load data. 2022-07-14 11:16:15 +08:00
Ganlin Zhao 3f31c464f0 feat(query): add max function scalar version
TD-17344
2022-07-14 10:58:45 +08:00
wangmm0220 e8c041f098 fix:filter child table with tag 2022-07-14 10:49:09 +08:00
Haojun Liao fb49fd40cd fix(query):fix invalid write in sample query processing. 2022-07-14 10:44:35 +08:00
Minglei Jin c7e64933d0 fix: use calcTypeBytes for table altering 2022-07-14 10:43:54 +08:00
wangmm0220 e9accd26df fix:double free error for parserTest 2022-07-14 10:40:46 +08:00
Ganlin Zhao 8b1e56389c feat(query): add min function scalar version
TD-17344
2022-07-14 10:26:00 +08:00
wangmm0220 3b4c2826b4 Merge branch '3.0' into feature/TD-13041 2022-07-14 10:22:15 +08:00
shenglian-zhou 5b1cb74c99
Merge pull request #14880 from taosdata/szhou/fix/td-17263
fix: set primary key target slot id through searching scan cols and finding colId that equals primary key id
2022-07-14 10:13:29 +08:00
Xiaoyu Wang bc1251e0cb
Merge pull request #14855 from taosdata/feature/3.0_debug_wxy
feat: support pseudo columns such as _qstart, _qend and _qduration
2022-07-14 10:09:32 +08:00
Xiaoyu Wang 570f036c63 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-14 09:52:51 +08:00
slzhou@taodata.com 414b27fb6a fix: set primary key target slot id through searching scan cols and find colId that equals primary key id 2022-07-14 09:19:36 +08:00
Haojun Liao b2b69f1868 fix(query):fix invalid write. 2022-07-13 23:42:59 +08:00
Haojun Liao 38b395147a Merge branch '3.0' into feature/3_liaohj 2022-07-13 23:27:51 +08:00
Haojun Liao 76d713a3ba Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-13 23:16:36 +08:00
Haojun Liao 083de75afc fix(query):fix memory leak. 2022-07-13 23:15:58 +08:00
Haojun Liao 2974d826ef
Merge pull request #14850 from taosdata/feature/3_liaohj
fix(query): support last_row(tags) for super table query.
2022-07-13 23:14:57 +08:00
wangmm0220 2647a3d9ee fix: json null 2022-07-13 21:00:54 +08:00
Haojun Liao d40191b62c fix(query): prepare the buffer before loading data. 2022-07-13 20:58:14 +08:00
dapan1121 0ad6af6c35
Merge pull request #14873 from taosdata/enh/stopquery_a
enh: enhance stop query processing
2022-07-13 20:57:34 +08:00
wangmm0220 56ec0a3920 fix: json null 2022-07-13 20:42:49 +08:00
Haojun Liao afb20f79c7 fix(query): copy the value instead of assign data. 2022-07-13 19:58:07 +08:00
Cary Xu 67a5f12ac0 Merge branch '3.0' into feature/grant-3.0 2022-07-13 19:56:03 +08:00
Ganlin Zhao 80f175bdbe feat(query): add count function scalar version
TD-17344
2022-07-13 19:46:56 +08:00
wangmm0220 d3cdd75b94 Merge branch '3.0' into feature/TD-13041 2022-07-13 19:40:26 +08:00
dapan1121 f69a995ea7
Merge pull request #14861 from taosdata/fix/TD-16763
fix: fix natural timestamp issue
2022-07-13 19:03:49 +08:00
Xiaoyu Wang 9887c63c5d feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 19:03:40 +08:00
shenglian-zhou 876f6cdee7
Merge pull request #14868 from taosdata/szhou/fix/td-17263
fix: reset hasGroupId after outputing the previous group results
2022-07-13 19:00:18 +08:00
Ganlin Zhao 4bc3770cd3 fix code format 2022-07-13 18:16:41 +08:00
Ganlin Zhao 099f2d2c98 remove scalar function check to allow agg function execute 2022-07-13 18:14:27 +08:00
Minghao Li 3769e07708 refactor(sync): optimized replication 2022-07-13 18:13:22 +08:00
Xiaoyu Wang 4830b7d9d3 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 18:12:02 +08:00
liuyao dfaabf3d43
Merge pull request #14864 from taosdata/feature/TD-17357
feat(stream): optimize close window
2022-07-13 17:58:54 +08:00
slzhou@taodata.com 312dce4e21 fix: reset hasGroupId after outputing the previous group results 2022-07-13 17:57:59 +08:00
Li Minghao 60703bdd05
Merge pull request #14857 from taosdata/feature/3.0_mhli
refactor(sync): add skiplist entry cache
2022-07-13 17:52:45 +08:00
Ganlin Zhao dd8f235e97 feat(query): add count function scalar version
TD-17344
2022-07-13 17:47:56 +08:00
Liu Jicong b7365fb0c0
Merge pull request #14860 from taosdata/feature/stream
refactor(stream): simple batch
2022-07-13 17:27:27 +08:00
Liu Jicong a717042acf refactor(stream): simple batch 2022-07-13 17:24:36 +08:00
dapan1121 ca754adaa6 fix: add agg processing 2022-07-13 17:14:04 +08:00
54liuyao 32cb6755a2 feat(stream): optimize close window 2022-07-13 17:08:27 +08:00
Shengliang Guan 699f295aa8
Merge pull request #14859 from taosdata/fix/dnode
enh: add stream queue to vnode
2022-07-13 17:03:38 +08:00
dapan1121 8c83f07fe4 fix: fix natural timestamp issue 2022-07-13 16:43:50 +08:00
Haojun Liao dfb0511e17 Merge branch '3.0' into feature/3_liaohj 2022-07-13 16:41:26 +08:00
Liu Jicong eb49ec97ae Merge branch 'fix/dnode' into feature/stream 2022-07-13 16:38:32 +08:00
Liu Jicong 8a6e4b877a refactor(stream): simple batch 2022-07-13 16:37:33 +08:00
Shengliang Guan c2aebfa322 enh: add stream queue to vnode 2022-07-13 16:26:22 +08:00
wangmm0220 cd051d40c3 fix:confilct from 3.0 2022-07-13 16:03:39 +08:00
Minghao Li 511c39a0cf refactor(sync): add skiplist entry cache 2022-07-13 15:55:38 +08:00
Xiaoyu Wang d2ce16a875 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-13 15:37:21 +08:00
Xiaoyu Wang db65b890c8 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:14:13 +08:00
Xiaoyu Wang 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
Haojun Liao 56b1d11beb fix(query): prepare the output buffer before assign daata. 2022-07-13 15:06:27 +08:00
Haojun Liao 649cf7e55d fix(query): support last_row(tags) for super table query. 2022-07-13 14:21:44 +08:00
Shengliang Guan 480de34a0e enh: support alter debugflag in dnode 2022-07-13 14:13:12 +08:00
slzhou@taodata.com 77b1f92da9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/td-17263 2022-07-13 13:08:25 +08:00
slzhou@taodata.com 65e6538352 fix: optimize the scan only when interval window 2022-07-13 13:07:10 +08:00
wangmm0220 0857ab3531 fix:core dump if consumer multi vgroup message with sequence:create/alter/delete/create or create/delete/create 2022-07-13 11:39:32 +08:00
dapan1121 346c86408f Merge branch '3.0' into enh/stopquery_a 2022-07-13 11:33:23 +08:00
Xiaoyu Wang f54ad0346e
Merge pull request #14827 from taosdata/feature/3.0_debug_wxy
feat: the 'null' value for the user is of type 'varchar(0)'
2022-07-13 11:28:00 +08:00
Yihao Deng aadd4192dd
Merge pull request #14832 from taosdata/feat/refactorClientQ
enh: refactor client queue
2022-07-13 09:25:29 +08:00
dapan1121 80c1055b5b
Merge pull request #14835 from taosdata/fix/TD-15890
fix: fix client memory leak
2022-07-13 08:33:16 +08:00
Haojun Liao 2c1efc3963 other: merge 3.0 2022-07-12 21:10:10 +08:00
Haojun Liao 6f2ac5ba72 fix(query): always generated results for last_row query if rows exists. 2022-07-12 21:07:12 +08:00
dapan1121 a5c83c7e8d fix: fix client memory leak 2022-07-12 20:53:42 +08:00
Hongze Cheng a67c8560a0
Merge pull request #14787 from taosdata/feat/row_refact
refact: row format
2022-07-12 20:45:02 +08:00
Shengliang Guan 148e3a5f97
Merge pull request #14818 from taosdata/fix/mnode
enh: adjust vnode fetch queue number
2022-07-12 20:43:05 +08:00
Minghao Li e91ca30b19 refactor(sync): add resp ttl clean 2022-07-12 20:23:31 +08:00
Ganlin Zhao 1c6259cde6
Merge pull request #14831 from taosdata/fix/TD-17040
fix(query): fix invalid read for setSelectivity
2022-07-12 20:15:25 +08:00
Haojun Liao ea5a68046e
Merge pull request #14825 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-07-12 20:13:20 +08:00
yihaoDeng 42d6ab3b00 refactor client queue 2022-07-12 20:00:26 +08:00
Hongze Cheng a9b4c90def make compile 2022-07-12 11:58:13 +00:00
Hongze Cheng fefa18c0ec Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-12 11:57:02 +00:00
Ganlin Zhao c237f7f26b Merge branch '3.0' into fix/TD-17040 2022-07-12 19:48:29 +08:00
Ganlin Zhao ab31bdce35 fix(query): fix invalid read for setSelectivity
TD-17040
2022-07-12 19:44:04 +08:00
wangmm0220 2b442621e8 feat:get child table name in tmq meta 2022-07-12 18:58:33 +08:00
Liu Jicong a34d344225
Merge pull request #14808 from taosdata/feature/stream
refactor(tmq): prepare only needed
2022-07-12 18:09:31 +08:00
dapan1121 558829dccc
Merge pull request #14829 from taosdata/fix/scalarNullissue
fix: fix null bytes issue
2022-07-12 18:03:17 +08:00
Shengliang Guan 037f84fafd Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-07-12 17:29:23 +08:00
Liu Jicong 8e3f5135a6 fix(tsdb): close fd 2022-07-12 17:28:14 +08:00
54liuyao ab2b1bbf47 feat(stream): sliding window 2022-07-12 17:27:44 +08:00
dapan1121 25f80f8d3e fix: fix null bytes issue 2022-07-12 17:10:55 +08:00
Minghao Li 473e134f31 refactor(sync): add resp ttl clean 2022-07-12 16:57:19 +08:00
Xiaoyu Wang 759bc7c434 feat: the 'null' value for the user is of type 'varchar(0)' 2022-07-12 16:51:37 +08:00
Liu Jicong 0fccdace56 fix(tmq): reset offset 2022-07-12 16:39:05 +08:00
Li Minghao d192abbb32
Merge pull request #14814 from taosdata/feature/3.0_mhli
refactor(sync): do leader transfer
2022-07-12 16:26:35 +08:00
Haojun Liao 6ff68dd67d refactor: do some internal refactor. 2022-07-12 16:24:26 +08:00
Haojun Liao 3ffc4e0dfd
Merge pull request #14820 from taosdata/feature/3_liaohj
fix(query): set correct number of result rows for taos_fetch_raw_block_a
2022-07-12 16:23:31 +08:00
wangmm0220 824d3db96b fix:conflict from 3.0 2022-07-12 16:01:55 +08:00
Xiaoyu Wang 12f9027b8e
Merge pull request #14819 from taosdata/feature/3.0_debug_wxy
fix: some problems of parser
2022-07-12 16:01:14 +08:00
Ganlin Zhao 09e2056e99
Merge pull request #14813 from taosdata/fix/merge_interval_agg
enh(query): agg function adoption for MIA operator
2022-07-12 15:49:48 +08:00
Haojun Liao 24090f0fc3 refactor: do some internal refactor. 2022-07-12 15:30:38 +08:00
Shengliang Guan 825f80629f fix: compile error 2022-07-12 15:14:38 +08:00
Xiaoyu Wang 8b89492101 fix: some problems of parser 2022-07-12 15:11:55 +08:00
Liu Jicong 7cf99d5359 refactor(tmq): prepare only needed 2022-07-12 15:11:14 +08:00
Shengliang Guan 2aee76ab63 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-07-12 15:07:47 +08:00
Minghao Li 96f9274fef refactor(sync): add timer routines 2022-07-12 15:04:32 +08:00
dapan1121 cfa989e6ba Merge branch 'fix/TD-17260' into enh/stopquery_a 2022-07-12 15:00:44 +08:00
dapan1121 37699d260b Merge branch '3.0' into enh/stopquery_a 2022-07-12 15:00:05 +08:00
dapan1121 9f0152239d fix: fix stop query 2022-07-12 14:56:12 +08:00
dapan1121 35e059af6c Merge branch '3.0' into fix/TD-17260 2022-07-12 14:54:41 +08:00
dapan1121 9813094f16 fix: fix lock and set plan addr issue 2022-07-12 14:51:32 +08:00
Ganlin Zhao 92358da0fa Merge branch '3.0' into fix/merge_interval_agg 2022-07-12 14:40:45 +08:00
Minghao Li 129b289bdf refactor(sync): do leader transfer 2022-07-12 14:34:18 +08:00
Ganlin Zhao fdf878c3e8 enh(query): agg function adoption for MIA operator
TD-17254
2022-07-12 14:31:16 +08:00
Ganlin Zhao 5e2cedec75
Merge pull request #14806 from taosdata/fix/merge_interval_agg
enh(query): aggregation function adoption for MIA operator
2022-07-12 14:25:59 +08:00
dapan1121 265d27c277
Merge pull request #14807 from taosdata/fix/TD-16590
fix: add more columns in show stable res
2022-07-12 14:24:53 +08:00
Shengliang Guan 75804db990 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-07-12 14:22:10 +08:00
Liu Jicong ac57956a56 Merge branch '3.0' into feature/stream 2022-07-12 14:12:18 +08:00
Haojun Liao be94e05e9b
Merge pull request #14805 from taosdata/feature/3_liaohj
fix(query): set the ts to be the time window start key value
2022-07-12 14:11:32 +08:00
Liu Jicong d637ffe22c refactor(tmq): prepare only needed 2022-07-12 14:10:22 +08:00
Shengliang Guan b9165a9503 fix: reset queueSize after the queueItem is consumed and executed by the worker 2022-07-12 13:56:54 +08:00
dapan1121 8957a91ab3 fix: add more columns in show stable res 2022-07-12 13:56:15 +08:00
Ganlin Zhao 8aa442a9f8 Merge branch '3.0' into fix/merge_interval_agg 2022-07-12 13:55:56 +08:00
Ganlin Zhao 66f2835af1 enh(query): hyperloglog function adoption for MIA operator
TD-17254
2022-07-12 13:55:12 +08:00
Haojun Liao 4d73720fb8 fix(query): set the ts to be the time window start key value when filling timestamp column. 2022-07-12 13:45:41 +08:00
shenglian-zhou 0e603a176c
Merge pull request #14794 from taosdata/szhou/td-17001
fix: select tag from st will return block composed of num of records
2022-07-12 13:44:36 +08:00
Ganlin Zhao ba7d72c752 enh(query): first/last function adoption for MIA operator
TD-17254
2022-07-12 13:41:21 +08:00
Yihao Deng 946f1101fd
Merge pull request #14803 from taosdata/fix/fdLeak
fix: fd leak
2022-07-12 13:27:49 +08:00
Shengliang Guan 52b63db905 fix: invalid vnode ref while drop stream 2022-07-12 13:26:55 +08:00
Haojun Liao efcef47f7d
Merge pull request #14795 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-07-12 13:11:05 +08:00
Li Minghao eba5bf6e95
Merge pull request #14801 from taosdata/feature/3.0_mhli
refactor(sync): modify trace log
2022-07-12 11:52:09 +08:00
yihaoDeng 365a28f37c fix fd leak 2022-07-12 11:51:39 +08:00
Ganlin Zhao 7f875b5120 enh(query): elapsed function adoption for MIA operator
TD-17254
2022-07-12 11:38:28 +08:00
Ganlin Zhao ec4874f6b6 enh(query): spread function adoption for MIA operator
TD-17254
2022-07-12 11:30:14 +08:00
Ganlin Zhao 884b35928a enh(query): apercentile function adoption for MIA operator
TD-17254
2022-07-12 11:23:54 +08:00
Minghao Li 03fe08a890 refactor(sync): modify trace log 2022-07-12 11:15:58 +08:00
Minghao Li d7d8d82eec refactor(sync): modify log to index 2022-07-12 11:08:01 +08:00
Minghao Li ded3224471 refactor(sync): modify log to index 2022-07-12 11:07:07 +08:00
Ganlin Zhao 487f1e0f52 enh(query): avg function adoption for MIA operator
TD-17254
2022-07-12 10:55:51 +08:00
Li Minghao ba285620f5
Merge pull request #14797 from taosdata/feature/3.0_mhli
refactor(sync): add test case
2022-07-12 10:50:10 +08:00
Hongze Cheng 99702ff4ee Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-12 02:16:35 +00:00
Yihao Deng 7614974ddc
Merge pull request #14790 from taosdata/enh/rpcRefactor2
enh :  refactor rpc
2022-07-12 10:15:39 +08:00
Minghao Li 9627c67d69 refactor(sync): add vnode snapshot case 2022-07-12 10:12:03 +08:00
Ganlin Zhao 7069380a29
Merge pull request #14782 from taosdata/fix/TD-17021
fix(query): histogram function interval query for super table missed some child table records.
2022-07-12 10:11:37 +08:00
Haojun Liao 5d8f188067 refactor: do some internal refactor. 2022-07-12 10:10:39 +08:00
shenglian-zhou f797e60f3f
Merge pull request #14777 from taosdata/szhou/td-17001
feat: tag scan optimization
2022-07-12 09:59:33 +08:00
slzhou@taodata.com 6f501bb33d fix: select tag from st will tag blocks composed of num of records 2022-07-12 09:59:11 +08:00
Haojun Liao 2f64f0dce7
Merge pull request #14788 from taosdata/feature/3_liaohj
fix(query): add parameter check.
2022-07-12 09:55:31 +08:00
Hongze Cheng 4468fb6862 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-12 01:47:34 +00:00
Xiaoyu Wang ad1154c008
Merge pull request #14776 from taosdata/feature/3.0_debug_wxy
fix: some problems of 'partition by' execution plan
2022-07-12 09:29:12 +08:00
slzhou@taodata.com 5e50bf8dc8 fix: avoid tag scan when scan cols is not empty 2022-07-12 09:24:57 +08:00
dapan1121 7fcf80a8f9 enh: add more retry times for data src task 2022-07-12 09:24:01 +08:00
yihaoDeng 7142f1334f refactor rpc code 2022-07-11 21:47:34 +08:00
dapan1121 177814f6eb
Merge pull request #14781 from taosdata/fix/stmt_rerun
fix: fix stmt rerun incorrect uid issue
2022-07-11 21:15:02 +08:00
dapan1121 835ddbacf4 fix: fix retry issue 2022-07-11 21:14:37 +08:00
Haojun Liao 76e0ed8966 fix(query): add parameter check. 2022-07-11 21:01:43 +08:00
Hongze Cheng 9d0563df3e more row refact 2022-07-11 12:54:44 +00:00
Hongze Cheng 28fa84b1d6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-11 12:48:47 +00:00
Yihao Deng 2ecdba11cb
Merge pull request #14783 from taosdata/enh/rpcSvrRefactor
enh: avoid rpc mem leak
2022-07-11 20:39:45 +08:00
Hongze Cheng 59a83adf40 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/row_refact 2022-07-11 12:29:41 +00:00
Ganlin Zhao 13026dc480 Merge branch '3.0' into fix/TD-17021 2022-07-11 20:14:18 +08:00
Haojun Liao 08259f169a
Merge pull request #14780 from taosdata/feature/3_liaohj
fix(query): fix memory leak in query super table.
2022-07-11 20:11:26 +08:00
yihaoDeng f65d33ea54 refactor rpc 2022-07-11 20:05:07 +08:00
Hongze Cheng f65e61148f more row refact 2022-07-11 11:52:37 +00:00
Ganlin Zhao b9795fab95 fix(query): histogram function interval query for super table
missed some child table records.

TD-17021
2022-07-11 19:49:48 +08:00
Haojun Liao 91c1ae4168 fix(query): fix memory leak in query super table. 2022-07-11 19:36:19 +08:00
Li Minghao a52c089d82
Merge pull request #14769 from taosdata/feature/3.0_mhli
refactor(sync): modify append log
2022-07-11 19:12:55 +08:00
wangmm0220 f9d5c809c9 fix:conflict from 3.0 2022-07-11 19:06:36 +08:00
Yihao Deng b6bd0b5198
Merge pull request #14771 from taosdata/enh/rpcSvrRefactor
enh: rpc svr refactor
2022-07-11 19:05:30 +08:00
Minglei Jin 77053a31da
Merge pull request #14775 from taosdata/fix/TD-17231
metaReader/decoder: clear to release tDecoderMalloc
2022-07-11 19:04:32 +08:00
Haojun Liao 31b5a07a74
Merge pull request #14772 from taosdata/feature/3_liaohj
refactor: update time window range .
2022-07-11 18:58:33 +08:00
slzhou@taodata.com f26063202e feat: tag scan optimization 2022-07-11 18:34:12 +08:00
dapan1121 c3c1a2ece1 Merge branch 'fix/stmt_rerun' into enh/stopquery_a 2022-07-11 18:29:54 +08:00
Xiaoyu Wang 12759683ca fix: some problems of 'partition by' execution plan 2022-07-11 18:23:54 +08:00
wangmm0220 a196298640 fix:disable colName in tag 2022-07-11 18:07:46 +08:00
Minglei Jin 2a38443640 metaReader/decoder: clear to release tDecoderMalloc 2022-07-11 18:01:55 +08:00
Haojun Liao 1346926168 fix(query): avoid double free. 2022-07-11 17:55:08 +08:00
Haojun Liao 5965b1dfc3 refactor: update time window range . 2022-07-11 17:50:57 +08:00
Haojun Liao 0b45f95211
Merge pull request #14762 from taosdata/feature/3_liaohj
fix(query): add more check for fetch rsp, and set the correct start time window for fill.
2022-07-11 17:49:04 +08:00
dapan1121 e69f59ba77 fix: fix stmt rerun issue 2022-07-11 17:38:09 +08:00
Minghao Li df63225b74 refactor(sync): modify append log 2022-07-11 17:26:45 +08:00
Cary Xu 85d7e46ff9 Merge branch '3.0' into feature/grant-3.0 2022-07-11 17:20:05 +08:00
yihaoDeng 60a9b2f508 refactor rpc 2022-07-11 17:12:54 +08:00
Shengliang Guan 6bc68021ba
Merge pull request #14745 from taosdata/fix/valgrind
refactor: adjust threads number
2022-07-11 16:59:18 +08:00
yihaoDeng b555b6e4de fix rpc except 2022-07-11 16:57:22 +08:00
Liu Jicong 6d9727579b
Merge pull request #14761 from taosdata/feature/stream
feat(wal): add append interface
2022-07-11 16:50:28 +08:00
dapan1121 24042ffffa Merge branch '3.0' into enh/stopquery_a 2022-07-11 16:33:51 +08:00
dapan1121 d8be162bff fix: fix crash issue 2022-07-11 16:33:10 +08:00
Liu Jicong c6052fadba feat(wal): add append interface 2022-07-11 16:22:51 +08:00
dapan1121 1eba184907 fix: fix stmt rerun issue 2022-07-11 15:58:21 +08:00
Haojun Liao a5955c3dae fix(query): add more check for fetch rsp, and set the correct start time window for fill. 2022-07-11 15:49:13 +08:00
Xiaoyu Wang 4ecbfd078f
Merge pull request #14760 from taosdata/feature/3.0_debug_wxy
fix: some problems of parser
2022-07-11 15:46:42 +08:00
Shengliang Guan a846bb9381 refactor: rename cacheLastRow to cacheLast 2022-07-11 15:45:40 +08:00
Li Minghao a50960aa9f
Merge pull request #14759 from taosdata/feature/3.0_mhli
refactor(sync): add syncEntryCacheTest
2022-07-11 15:30:03 +08:00
Xiaoyu Wang e64cdd548c fix: some problems of parser 2022-07-11 15:18:32 +08:00
Xiaoyu Wang 6a845b746c fix: some problems of parser 2022-07-11 15:15:39 +08:00
Xiaoyu Wang 67fcb2d3c5
Merge pull request #14754 from taosdata/feature/3.0_debug_wxy
fix: a problem of cross database join
2022-07-11 14:56:28 +08:00
Li Minghao ad3136dd90
Merge pull request #14756 from taosdata/feature/3.0_mhli
refactor(sync): add vnode snapshot test
2022-07-11 14:55:00 +08:00
Minghao Li 27d06cae30 refactor(sync): add syncEntryCacheTest 2022-07-11 14:54:40 +08:00
Cary Xu aa42dfdb91
Merge pull request #14755 from taosdata/feature/TD-11274-3.0
enh: tsma/rsma code optimization
2022-07-11 14:52:35 +08:00
Minghao Li 48fd4d8c33 refactor(sync): add vnode snapshot test 2022-07-11 14:26:18 +08:00
Minghao Li 9e1b9fe64c refactor(sync): add syncEntryCacheTest 2022-07-11 14:21:36 +08:00
Liu Jicong 004f1e449a
Merge pull request #14753 from taosdata/feature/stream
fix(wal): rollback
2022-07-11 14:21:00 +08:00
Cary Xu c59478ec71 enh: tsma/rsma code optimization 2022-07-11 14:20:57 +08:00
Haojun Liao 4f43d7df43 Merge branch '3.0' into feature/3_liaohj 2022-07-11 14:06:44 +08:00
dapan1121 126b7282bc
Merge pull request #14747 from taosdata/fix/TD-17123
fix: fix invalid time range issue
2022-07-11 13:56:28 +08:00
dapan1121 9584f51f83
Merge pull request #14743 from taosdata/fix/TD-17191
fix: fix taos crash and deadlock issue
2022-07-11 13:56:12 +08:00
Haojun Liao c7572cac7d refactor: remove some macro 2022-07-11 13:54:12 +08:00
dapan1121 8ffb501219 enh: enhance stop query 2022-07-11 13:54:04 +08:00
Xiaoyu Wang 287cbbf2c0 Merge branch 'feature/3.0_debug_wxy' of github.com:taosdata/TDengine into feature/3.0_debug_wxy 2022-07-11 13:52:45 +08:00
Xiaoyu Wang 6110b7e4ca fix: a problem of cross database join 2022-07-11 13:52:24 +08:00
Haojun Liao 75ace4f4ed
Merge pull request #14746 from taosdata/feature/3_liaohj
fix(query): handle the indefinit function  output with partition by
2022-07-11 13:49:13 +08:00
Liu Jicong 9fd5ec9020 fix(wal): rollback 2022-07-11 13:38:50 +08:00
Haojun Liao 35711aef0c Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2022-07-11 11:55:18 +08:00
Haojun Liao d83f875467 fix(query): ensure capacity of ssdatablock. 2022-07-11 11:55:02 +08:00
Haojun Liao 9af4cd3165
Merge branch '3.0' into feature/3_liaohj 2022-07-11 11:36:19 +08:00
Haojun Liao dd20c34346 fix(query): fix a typo. 2022-07-11 11:28:45 +08:00
dapan1121 b824dc71a0 fix: fix invalid time range issue 2022-07-11 11:23:15 +08:00
Haojun Liao 4527447b60 fix(query): handle the indefinit function output with partition by 2022-07-11 11:13:49 +08:00
Xiaoyu Wang 0bc700eb82 feat: sql command 'trim database' 2022-07-11 10:53:06 +08:00
dapan1121 def96ee38f fix: fix taos crash and deak lock issue 2022-07-11 10:43:08 +08:00
Minghao Li 2dd7abd47e refactor(sync): add vnode snapshot case 2022-07-11 10:34:02 +08:00
Xiaoyu Wang ed66440c5c Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-11 10:08:54 +08:00
Xiaoyu Wang d2b54896b7 Merge branch 'feature/3.0_debug_wxy' of github.com:taosdata/TDengine into feature/3.0_debug_wxy 2022-07-11 10:08:01 +08:00
Xiaoyu Wang 5708d497ce fix: syntax issue with '(select ... limit) statement' 2022-07-11 10:07:11 +08:00
Liu Jicong f9ba552496
Merge pull request #14739 from taosdata/feature/stream
fix(wal): read after rolling
2022-07-10 21:45:31 +08:00
Liu Jicong 711f960827 Merge branch '3.0' into feature/stream 2022-07-10 21:24:18 +08:00
Liu Jicong 219d966b25 fix(wal): read after rolling 2022-07-10 21:02:25 +08:00
Haojun Liao 5c3c418c7f fix(query): set correct the fill column value for in case of no primary timestamp column exists. 2022-07-10 20:59:56 +08:00
Haojun Liao e4446354e9 fix(query): update the timerange. 2022-07-10 20:12:14 +08:00
Shengliang Guan e587be2545
Merge pull request #14737 from taosdata/fix/valgrind
refactor: adjust logs
2022-07-10 19:44:39 +08:00
Yihao Deng 3b05111c80
Merge pull request #14732 from taosdata/enh/addTestToIdx1
enh: add test to index
2022-07-10 19:41:23 +08:00
dapan1121 f263dac186 fix: fix taosc crash issue 2022-07-10 19:29:26 +08:00
wangmm0220 b1c290f6dc fix:conflicts 2022-07-10 18:57:34 +08:00
wangmm0220 607f8163d3 feat:add logic for get_tmq_meta_json 2022-07-10 18:54:58 +08:00
Shengliang Guan 9fe73acc86 refactor: adjust logs 2022-07-10 18:53:52 +08:00
54liuyao 2465620245 feat(stream): support expressions 2022-07-10 18:31:52 +08:00
54liuyao 75ed474f09 ci(stream): add session test 2022-07-10 18:30:30 +08:00
Xiaoyu Wang 651adca80f
Merge pull request #14685 from taosdata/feature/3.0_debug_wxy
fix: some problem of parser and planner
2022-07-10 18:17:51 +08:00
Shengliang Guan ffe4453bcc
Merge pull request #14736 from taosdata/feature/3_liaohj
refactor: do some internal refactor and fix some memory leak.
2022-07-10 18:12:42 +08:00
Li Minghao 49954b327f
Merge pull request #14730 from taosdata/feature/3.0_mhli
fix(sync): vnode snapshot sender
2022-07-10 17:52:29 +08:00
Xiaoyu Wang 5f0005a7b7 merge 3.0 2022-07-10 17:47:31 +08:00
Haojun Liao ac8e9d103c other: merge 3.0 2022-07-10 17:40:55 +08:00