Commit Graph

7583 Commits

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