Commit Graph

2170 Commits

Author SHA1 Message Date
Hongze Cheng 324de6e4dc Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 14:26:59 +08:00
Hui Li e7bba75f93
Merge pull request #16233 from taosdata/feature/stream
enh(stream): optimize output
2022-08-19 14:22:25 +08:00
Ganlin Zhao f20887ee97 fix(query): fix interp + fill(linear) datapoint outside interpolation window
will be included

TD-18392
2022-08-19 12:28:27 +08:00
Liu Jicong 692fdf3397 enh(stream): optimize output 2022-08-19 11:31:52 +08:00
Xiaoyu Wang 09cb575300 fix: escape character problem in auto create table insert 2022-08-19 11:10:56 +08:00
Hongze Cheng 972ad9e70b Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 09:53:45 +08:00
Hui Li 240747abed
Merge pull request #16222 from taosdata/feature/stream
fix(query): memory leak
2022-08-19 09:31:09 +08:00
shenglian zhou ff22c97d99 fix: user tags scan filter produces zero row will not end the sys table scan operator 2022-08-19 08:39:19 +08:00
shenglian zhou 4e5315f1ac fix: process remaining rows out of loop 2022-08-18 20:41:25 +08:00
Xiaoyu Wang 98fc185e92 fix: escape character problem in auto create table insert 2022-08-18 18:53:23 +08:00
Liu Jicong 2b092f6551 fix(query): memory leak 2022-08-18 18:39:21 +08:00
“happyguoxy” 1a8fb96182 fix: reset row number when filter produces zero row 2022-08-18 18:30:03 +08:00
shenglian zhou e93461c949 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-18 18:01:05 +08:00
shenglian zhou 3e6ccb8357 fix: filter producing zero rows will not be treated as sys table scan operator completion 2022-08-18 18:00:03 +08:00
Hongze Cheng e9bb654a4a Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-18 17:14:51 +08:00
Hui Li 1a5ae2bfdf
Merge pull request #16207 from taosdata/feature/3.0_query_optimize
fix: get meta null if table does not exists
2022-08-18 16:54:19 +08:00
wangmm0220 fbc69a10c4 Merge branch '3.0' into feature/TD-14761 2022-08-18 16:45:06 +08:00
Hui Li 8681f6399b
Merge pull request #16186 from taosdata/fix/TD-18445
fix(query): fix interp pResBlock->rows > capacity cause assert failure
2022-08-18 16:36:39 +08:00
Hui Li 35af88cbaa
Merge pull request #16195 from taosdata/feature/3.0_interval_hash_optimize
enh: rsma batch process
2022-08-18 16:07:14 +08:00
Cary Xu 214acb74c3 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-18 16:02:01 +08:00
wangmm0220 03bb9e7f01 fix: get meta null if table does not exists 2022-08-18 15:44:28 +08:00
Ganlin Zhao e33be23e10 Merge branch '3.0' into fix/TD-18445 2022-08-18 15:14:10 +08:00
Ganlin Zhao fb2bb0481e fix(query): fix interp pResBlock->rows > capacity cause assert failure 2022-08-18 13:22:59 +08:00
Hongze Cheng c7d492dae1 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-18 11:36:23 +08:00
Haojun Liao e70cfbbd00 fix(query): add jmp macro define. 2022-08-18 10:58:39 +08:00
wangmm0220 44ce4f1cf3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-18 10:45:45 +08:00
wangmm0220 d2727b6252 feat:merge from 3.0 2022-08-18 10:45:20 +08:00
Cary Xu 7e73f36173 other: code format revert 2022-08-18 10:08:22 +08:00
Cary Xu 69580893a7 other: merge 3.0 2022-08-17 20:20:02 +08:00
wangmm0220 e3c11172ec fix:error in get table list by tag filter 2022-08-17 19:01:22 +08:00
Ganlin Zhao 13f5acd4b9 fix(query): fix interp pResBlock->rows > capacity cause assert failure
TD-18445
2022-08-17 16:04:58 +08:00
wangmm0220 359fa4bc56 fix:error in get table list by tag filter 2022-08-17 15:50:33 +08:00
wangmm0220 4f16771de4 fix:error in get table list by tag filter 2022-08-17 14:45:31 +08:00
wangmm0220 171ce325c7 fix:error in get table list by tag filter 2022-08-17 11:47:59 +08:00
wangmm0220 2bf2d5e6e1 fix:error in get table list by tag filter 2022-08-17 11:39:55 +08:00
wangmm0220 d5a8b397f0 fix:merge from 3.0 2022-08-17 11:09:49 +08:00
slzhou 2d60150cd9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-17 10:38:56 +08:00
slzhou b888c90054 fix: change the interval data load status when scan 2022-08-17 10:38:40 +08:00
Hui Li 57b9eee4c7
Merge pull request #16139 from taosdata/szhou/fixbugs
fix: source ts column error
2022-08-17 09:51:02 +08:00
Cary Xu 0ade372145 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-17 09:46:49 +08:00
Liu Jicong 27e2ba79c0 Merge branch '3.0' into feature/stream 2022-08-17 01:11:18 +08:00
Cary Xu d170adf214 enh: rsma batch process 2022-08-16 20:22:45 +08:00
Shengliang Guan 4dd7a5f2bd Merge branch '3.0' into fix/release 2022-08-16 20:01:13 +08:00
Liu Jicong b2b0f2f8fa Merge branch '3.0' into feature/stream 2022-08-16 18:26:04 +08:00
Liu Jicong 02d2588d86 enh(stream): reduce table scan 2022-08-16 17:16:56 +08:00
slzhou 3f3c1b9e8d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-16 16:45:42 +08:00
wangmm0220 78c9f245b1 fix:conflicts from 3.0 2022-08-16 15:18:11 +08:00
wangmm0220 c4d25ccb90 fix:remove log for time cost 2022-08-16 14:48:31 +08:00
wangmm0220 19c5051b8c fix:confilcts from 3.0 2022-08-16 14:42:19 +08:00
wangmm0220 4eccd81e94 fix:error in tag filter optimization 2022-08-16 14:39:03 +08:00
slzhou c4a065d643 fix: fix source ts column index error of fill operator 2022-08-16 14:00:56 +08:00
Cary Xu 7216384d2f Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-16 13:44:52 +08:00
Hui Li 0280c93d23
Merge pull request #16134 from taosdata/feature/stream
enh(stream): reduce table scan
2022-08-16 13:33:20 +08:00
Liu Jicong 2ced6c280c enh(stream): reduce table scan 2022-08-16 12:11:56 +08:00
slzhou 9e2fd1d695 fix: pass windows compilation 2022-08-15 16:48:06 +08:00
slzhou e61156d316 fix: set time window overlapping to true when windows end past block end 2022-08-15 15:35:39 +08:00
Cary Xu 34e14f770f enh: rsma batch process 2022-08-15 09:39:55 +08:00
Cary Xu dab6c81769 enh: rsma batch process 2022-08-15 00:16:44 +08:00
Haojun Liao fd385a99d1
Merge pull request #16095 from taosdata/feature/3.0_fill_enh
fix(query): set ignore flag when skip current datablock.
2022-08-14 01:17:26 +08:00
Haojun Liao 0572256eaa fix(query): set ignore flag when skip current datablock. 2022-08-13 22:51:54 +08:00
wangmm0220 37f6d1195c fix:error in get table list 2022-08-12 21:57:29 +08:00
Cary Xu 8c75274e13 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-12 21:04:20 +08:00
Cary Xu ae7550eb86 enh: rsma exec in async mode 2022-08-12 21:00:48 +08:00
Shengliang Guan 8d8f26a4c1
Merge pull request #16067 from taosdata/feature/TD-17811
fix(stream): session delete
2022-08-12 20:34:28 +08:00
Shengliang Guan 3319c0937b
Merge pull request #15801 from taosdata/feature/3.0_fill_enh
fix(query): fix bug in fill
2022-08-12 20:04:33 +08:00
Shengliang Guan 839d04d4bc
Merge pull request #16050 from taosdata/szhou/fixbug
fix: set operator complete early when select * from stb limit n
2022-08-12 19:59:27 +08:00
54liuyao 77a710cfeb fix(stream): session delete 2022-08-12 19:28:29 +08:00
Haojun Liao f96aa3e2ff fix(query): fix memory leak. 2022-08-12 19:11:10 +08:00
slzhou 126e3d0b4c fix: add special case for partition by + limit 2022-08-12 18:56:12 +08:00
Haojun Liao d08841d747
Merge pull request #16053 from taosdata/feature/3_liaohj
fix(query): return error code instead of assert.
2022-08-12 18:48:24 +08:00
Haojun Liao 77b109dfdc fix(query): return error code instead of assert. 2022-08-12 17:37:55 +08:00
slzhou d7a9f69cb5 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbug 2022-08-12 17:20:58 +08:00
slzhou 99030690c2 fix: set operator early when select * from stb limit n 2022-08-12 17:19:56 +08:00
wangmm0220 4f97d72502 fix:memory leak 2022-08-12 15:02:34 +08:00
Haojun Liao dc991a9040 other:merge 3.0 2022-08-12 14:51:52 +08:00
Yihao Deng 1bfa9d2333
Merge pull request #16040 from taosdata/fix/operMemCorrupt
fix operator double free
2022-08-12 14:51:37 +08:00
Haojun Liao 7084c765d0 fix(query): set correct fill column index. 2022-08-12 14:45:06 +08:00
wangmm0220 61a19b80d7 Merge branch '3.0' into feature/3.0_query_optimize 2022-08-12 14:41:08 +08:00
wangmm0220 78e87a0aae fix:memory leak 2022-08-12 14:38:54 +08:00
Haojun Liao 166cdcec7c fix(query): fix bug in fill. 2022-08-12 14:04:43 +08:00
wangmm0220 eec58b8ef0 opti:use suid+uid->tags index to optimize time cost 2022-08-12 13:53:24 +08:00
yihaoDeng d4e11c0620 fix operator double free 2022-08-12 13:40:24 +08:00
Yihao Deng 4971b0fc22
Merge pull request #16035 from taosdata/fix/operMemCorrupt
fix: operator double free mem
2022-08-12 13:14:43 +08:00
dapan1121 46a6b37779
Merge pull request #16033 from taosdata/fix/TD-18075
fix: fix taosd put blocks to sink error
2022-08-12 11:48:55 +08:00
wangmm0220 95ef68bbc1 opti:use suid+uid->tags index to optimize time cost 2022-08-12 11:39:19 +08:00
wangmm0220 e102f81f92 opti:use suid+uid->tags index to optimize time cost 2022-08-12 11:33:53 +08:00
yihaoDeng bd929582f5 fix operator double free 2022-08-12 11:22:41 +08:00
dapan1121 effb4f20d3 fix: fix taosd put blocks to sink error 2022-08-12 11:00:21 +08:00
Cary Xu a4a7022caf
Merge pull request #15976 from taosdata/feature/3.0_interval_hash_optimize
enh: rsma fetch optimization
2022-08-11 23:20:01 +08:00
dapan1121 df4f4300d3
Merge pull request #15991 from taosdata/fix/TD-18281
fix: fix exchange operator memory leak
2022-08-11 20:52:10 +08:00
Ganlin Zhao 73f57290b4 Merge branch '3.0' into fix/TD-18331 2022-08-11 19:54:44 +08:00
Ganlin Zhao 7409cc9513 fix(query): fix memory leak in doTimeslice operator 2022-08-11 19:53:49 +08:00
Ganlin Zhao e128350ab4 fix(query): fix memory leak in doTimeslice operator 2022-08-11 19:43:57 +08:00
Cary Xu 133beb4d49 other: make test case pass 2022-08-11 19:18:55 +08:00
Cary Xu e890bcc6f4 enh: tsimplehash remove/iter/ut 2022-08-11 19:12:24 +08:00
wangmm0220 32f9bc0dd0 opti:logic for get table list 2022-08-11 18:29:28 +08:00
Ganlin Zhao 465dd745d7 fix(query): fix invalid read in doTimeslice operator 2022-08-11 18:18:45 +08:00
liuyao 9776404998
Merge pull request #15984 from taosdata/feature/TD-17811
feat(stream):delete window
2022-08-11 17:43:51 +08:00
dapan1121 0e56dc9a7b fix: fix exchange operator memory leak 2022-08-11 17:23:08 +08:00
shenglian-zhou a96193cfc6
Merge pull request #15983 from taosdata/szhou/fixbug
fix: add multi-timeline support for session and state
2022-08-11 17:15:09 +08:00
54liuyao c10a1adbd3 feat(stream):delete window 2022-08-11 16:33:35 +08:00
slzhou 009777a727 fix: add multi-timeline support for session and state 2022-08-11 16:23:53 +08:00
54liuyao cc49ae28bb fix(stream): free map 2022-08-11 15:39:17 +08:00
Cary Xu d71e238d48 fix: code optimization 2022-08-11 15:25:31 +08:00
liuyao 15a7062df4
Merge pull request #15973 from taosdata/feature/TD-17811
feat(stream): delete result
2022-08-11 15:21:54 +08:00
dapan1121 8ad76f4307
Merge pull request #15962 from taosdata/enh/tbHashPerf
enh: optimize getting table hash performance
2022-08-11 15:01:10 +08:00
Cary Xu 6cd2e52d1a enh: code optimization 2022-08-11 14:43:17 +08:00
wangmm0220 4f03e2e4f5 opti:logic for get table list 2022-08-11 14:35:38 +08:00
54liuyao 7836b581a7 feat(stream): delete result 2022-08-11 14:25:16 +08:00
Liu Jicong a28c0781be
Merge pull request #15971 from taosdata/feature/stream
feat(stream): session window trigger delete
2022-08-11 14:10:18 +08:00
Liu Jicong c191f44b14 feat(stream): session window trigger delete 2022-08-11 12:01:20 +08:00
Cary Xu 15544a2207 enh: rsma fetch 2022-08-11 11:14:31 +08:00
liuyao e1047b4b27
Merge pull request #15965 from taosdata/feature/TD-18091
feat(stream):optimzie stream interval
2022-08-11 11:06:06 +08:00
Ganlin Zhao c6699e19fb
Merge pull request #15941 from taosdata/fix/TD-18115
fix(query): fix linear interpolation issue between two blocks
2022-08-11 10:21:28 +08:00
54liuyao 44123ec8f0 feat(stream):optimzie stream interval 2022-08-11 10:20:42 +08:00
Cary Xu a6a1cfddd5
Merge pull request #15946 from taosdata/feature/3.0_row_optimize
enh: row iter and fetch optimization
2022-08-11 09:46:27 +08:00
dapan1121 c1539bc064 enh: optimize getting table hash performance 2022-08-11 09:45:47 +08:00
shenglian-zhou d9621d0f09
Merge pull request #15942 from taosdata/szhou/fixbug
fix: return init agg failure when create operators to avoid coredump
2022-08-11 07:54:42 +08:00
wangmm0220 8be1396268 opti: add log for time cost 2022-08-10 21:31:08 +08:00
wangmm0220 e7f4755386 opti: add log for time cost 2022-08-10 20:26:59 +08:00
wangmm0220 e039334792 opti: logic in get table list 2022-08-10 20:18:54 +08:00
Haojun Liao d8455841e0 refactor: do some internal refactor. 2022-08-10 20:12:32 +08:00
Haojun Liao ebf8755d9d fix(query): remove invalid sma filter. 2022-08-10 19:58:23 +08:00
54liuyao 4cd1452e61 fix(stream): check udf 2022-08-10 17:55:04 +08:00
Cary Xu 1d6d0aa2db enh: row iter and fetch optimization 2022-08-10 17:26:44 +08:00
Haojun Liao 6250c1b157
Merge pull request #15851 from taosdata/feature/3.0_query_optimize
ehn(query): optimize the query performance.
2022-08-10 16:51:46 +08:00
shenglian zhou 5f7b7a55df fix: fix memory leaks 2022-08-10 16:33:12 +08:00
Ganlin Zhao 6fc38165fb fix(query): fix linear interpolation issue between two blocks
TD-18309
2022-08-10 16:29:55 +08:00
shenglian zhou 788735f7e6 fix: add qerror log when create disk based result buf failed 2022-08-10 16:25:00 +08:00
shenglian zhou 304056c276 fix: return init agg failure when create operators to avoid coredump 2022-08-10 16:20:44 +08:00
Ganlin Zhao 249e2b12f6 fix(query): fix interp + fill interpolation after last datablock 2022-08-10 14:21:31 +08:00
Haojun Liao abc9065094 fix(query): set correct raw block info. 2022-08-10 13:13:25 +08:00
Cary Xu 3e626d56d1 fix: set none if cols not full 2022-08-09 20:32:02 +08:00
wangmm0220 c381ffd38c fix:error in tmq for snapshot 2022-08-09 19:06:24 +08:00
Haojun Liao 7b70f54a6e test: add log. 2022-08-09 18:47:23 +08:00
Haojun Liao d680da3380 fix(query): fix sma info in query procesing. 2022-08-09 18:35:10 +08:00
Haojun Liao bddb3e356d fix(query): expand the sink buffer. 2022-08-09 17:55:00 +08:00
Haojun Liao 8b86d7342d fix(query): check the sma load status, and return if succeed. 2022-08-09 17:21:31 +08:00
Ganlin Zhao 1d90aff252 fix(query): fix interp linear interpolation after range issue 2022-08-09 16:13:51 +08:00
Haojun Liao b9c6e0cdf9 refactor: stream invoke previous APIs. 2022-08-09 13:55:51 +08:00
Haojun Liao a2a1da06dd other:merge 3.0 2022-08-09 13:45:44 +08:00
Xiaoyu Wang 07ef00e89f merge 3.0 2022-08-09 11:36:08 +08:00
Ganlin Zhao 38f3cc3e78 fix(query): interp fill(linear) after data range do not fill 2022-08-09 11:16:40 +08:00
Ganlin Zhao 35a9e11ed1
Merge pull request #15867 from taosdata/fix/TD-18115
fix(query): interp + fill(linear) not working
2022-08-09 10:25:58 +08:00
Ganlin Zhao e16b2fafbe fix(query): fix interp + fill(linear) start from middle of interpolation
range issue
2022-08-08 21:09:25 +08:00
Ganlin Zhao 7aeaa79f4e fix(query): fix interp + fill(linear) before inter range issue 2022-08-08 20:28:09 +08:00
Ganlin Zhao 26648a909f fix(query): interp + fill(linear) not working
TD-18220
2022-08-08 20:09:20 +08:00
dapan1121 63eea61cae fix: fix show stables in sysdb result error 2022-08-08 18:13:35 +08:00
Haojun Liao 0aef734a20 fix(query): fix syntax error. 2022-08-08 17:56:26 +08:00
Haojun Liao 4d8842c21f other:merge 3.0 2022-08-08 16:37:37 +08:00