Commit Graph

7583 Commits

Author SHA1 Message Date
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
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
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
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