Commit Graph

7540 Commits

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