Commit Graph

2369 Commits

Author SHA1 Message Date
shenglian zhou 1540881cb6 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/save-op-state 2022-08-24 17:05:49 +08:00
shenglian zhou b250efeee4 fix: support window pseduo column for fill operator 2022-08-24 17:05:38 +08:00
Shengliang Guan e0ac102795
Merge pull request #16376 from taosdata/feature/stream
refactor(stream): refine stream backend interface
2022-08-24 16:40:20 +08:00
Liu Jicong 24261cc90b refactor(stream): refine stream backend interface 2022-08-24 15:53:29 +08:00
wangmm0220 2afc23a120 fix:conflicts from 3.0 2022-08-24 13:59:51 +08:00
wangmm0220 632c8b4a1a fix:error in snapshot for taosX 2022-08-24 13:58:18 +08:00
Shengliang Guan 4c287f602d
Merge pull request #16352 from taosdata/feature/stream
feat(stream): support tdb state backend
2022-08-24 13:24:09 +08:00
wangmm0220 53e0e168e6 fix:add log 2022-08-24 10:36:46 +08:00
Haojun Liao b62e0c0235
Merge pull request #16354 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-24 10:25:27 +08:00
wangmm0220 f477e94dda fix:error in snapshot from taosx 2022-08-24 10:24:19 +08:00
Liu Jicong c296dd0a63 fix compile 2022-08-24 01:48:00 +08:00
Haojun Liao 20b06a7ec7 refactor(query): do some internal refactor. 2022-08-23 19:44:59 +08:00
Liu Jicong de041f45b5 Merge branch '3.0' into feature/stream 2022-08-23 19:41:16 +08:00
Liu Jicong 2d628491b2 feat(stream): support tdb state backend 2022-08-23 19:30:04 +08:00
Haojun Liao 36eb46fa4d
Merge pull request #16342 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-08-23 19:28:50 +08:00
wangmm0220 514711e54c feat:get data from snapshot for taosx 2022-08-23 17:28:49 +08:00
Haojun Liao 2889b8d913 refactor(query): do some internal refactor. 2022-08-23 17:28:08 +08:00
Xiaoyu Wang 717f837cbb fix: auto create table insert statement check table name 2022-08-23 15:24:50 +08:00
54liuyao b8a1a7f175 fix(stream): state window update 2022-08-23 12:46:42 +08:00
wangmm0220 1134319570 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-23 10:45:51 +08:00
Shengliang Guan 04ce95fe72
Merge pull request #16303 from taosdata/szhou/fixbugs
fix: fill desc order support
2022-08-22 19:16:11 +08:00
Shengliang Guan a3348f716e
Merge pull request #16299 from taosdata/fix/3.0_bugfix_wxy
fix: the syntax problem of querying the state value in the state window
2022-08-22 18:48:28 +08:00
slzhou 4ef090f495 fix: fill desc order support 2022-08-22 18:37:23 +08:00
Xiaoyu Wang 4cf9bd6ac1 fix: the syntax problem of querying the state value in the state window 2022-08-22 17:46:57 +08:00
wangmm0220 43862ccd74 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-08-22 16:53:53 +08:00
wade zhang 7a77f4258a
Merge pull request #16258 from taosdata/feature/3.0_query_optimize
opti: group by tag
2022-08-22 16:39:05 +08:00
wangmm0220 23d8ebf129 fix:error in grou by tag 2022-08-22 15:15:03 +08:00
54liuyao 25b735f0e3 feat(stream): delete result 2022-08-22 14:05:19 +08:00
Shengliang Guan e16a2a5027
Merge pull request #16278 from taosdata/feature/3_liaohj
fix(query): add one more condition check when merge file block and last block.
2022-08-22 12:58:38 +08:00
wangmm0220 36b60ab082 opti:grou by tag 2022-08-22 11:28:58 +08:00
Haojun Liao e4881423b8 fix(query): add one more condition check when merge file block and last block. 2022-08-22 11:09:12 +08:00
wangmm0220 36ff7e4242 opti:grou by tag 2022-08-22 10:14:40 +08:00
Shengliang Guan 4bc8e086a8
Merge pull request #16262 from taosdata/feature/3.0_interval_hash_optimize
enh: rsma batch process and code optimization
2022-08-21 23:57:58 +08:00
wangmm0220 90a3b68d68 fix:conflict from 3.0 2022-08-20 16:00:56 +08:00
wangmm0220 2743ac6193 opti: group by tag 2022-08-20 15:45:56 +08:00
Cary Xu 4dc30fb55a Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-19 22:16:11 +08:00
Hongze Cheng 67d45c6b62 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 21:54:48 +08:00
Hui Li d0e0c222ba
Merge pull request #16251 from taosdata/feature/stream
refactor(stream): optimize interval
2022-08-19 20:48:28 +08:00
wangmm0220 38f0eccaad opti: group by tag 2022-08-19 20:31:28 +08:00
Liu Jicong d251180fae refactor(stream): optimize interval 2022-08-19 18:06:54 +08:00
shenglian zhou c8bd3c6da4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-19 17:27:42 +08:00
shenglian zhou 3b9d44e05a fix: check tags when it is not regular table 2022-08-19 17:27:18 +08:00
Cary Xu 59739e0cb7 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-19 17:20:08 +08:00
Cary Xu 441ce21677 enh: rsma batch process 2022-08-19 17:19:50 +08:00
Hongze Cheng cc116b21f9 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 17:14:06 +08:00
wangmm0220 f2912a17ba fix:conflicts from 3.0 2022-08-19 16:38:23 +08:00
Hui Li 43881c1469
Merge pull request #16238 from taosdata/fix/TD-18392
fix(query): fix interp + fill(linear) datapoints outside interpolation window are included
2022-08-19 16:16:07 +08:00
Hongze Cheng e3eee2352c Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_last 2022-08-19 15:36:13 +08:00
Hui Li af22a928c6
Merge pull request #16223 from taosdata/fix/3.0_bugfix_wxy
fix: escape character problem in auto create table insert
2022-08-19 15:16:35 +08:00
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
Haojun Liao 200a669542 refactor: do some internal refactor. 2022-08-08 16:34:11 +08:00
Ganlin Zhao 1ee558fb63 fix(query): interp + fill(linear) not working
TD-18220
2022-08-08 15:20:12 +08:00
slzhou 07b88a35d5 fix: ensure capacity before join left and right 2022-08-08 13:44:23 +08:00
Haojun Liao 447b2cb9f1 fix(query): update the load data log. 2022-08-08 12:56:03 +08:00
wangmm0220 9f9788c205 Merge branch '3.0' into feature/TD-14761 2022-08-08 10:04:03 +08:00
shenglian zhou 03aae25b63 fix: function rename and trigger ci test 2022-08-07 06:39:26 +08:00
shenglian zhou be8c3628c5 fix: trigger ci test 2022-08-07 06:08:12 +08:00
shenglian zhou 28eda93ab3 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/nullgroup 2022-08-06 21:50:05 +08:00
shenglian zhou 81d3a2c385 fix: last/first must return not null values 2022-08-06 21:39:53 +08:00
shenglian zhou a16a6b73c8 fix: force at least one row for agg/window group 2022-08-06 20:11:12 +08:00
Haojun Liao a74c830125 fix(query): support scalar function in fill operator. 2022-08-06 19:34:15 +08:00
wangmm0220 1309c489e2 fix:error in tmq for snapshot 2022-08-06 19:31:53 +08:00
dapan1121 10281b36ae
Merge pull request #15811 from taosdata/fix/TD-18137
fix: fix taosd memory leak issue
2022-08-06 18:47:38 +08:00
dapan1121 fd654b126a fix: fix taosd memory leak issue 2022-08-06 18:00:26 +08:00
Ganlin Zhao 2e3a1cfdde Merge branch '3.0' into fix/TD-18115 2022-08-06 16:46:54 +08:00
Ganlin Zhao 78fb4f51b0 fix(query): fix interp fill(next) result errors 2022-08-06 16:44:14 +08:00
Ganlin Zhao 8c3cc0161a fix(query): fix interp fill(next) result errors 2022-08-06 16:22:40 +08:00
Ganlin Zhao 784752010a fix(query): fix interp fill(next) result errors 2022-08-06 16:18:11 +08:00
Haojun Liao ebe8192d7e refactor(query): do some internal refactor. 2022-08-06 16:15:15 +08:00
Haojun Liao c7b511ed69 fix(query): set src block for function. 2022-08-06 16:13:18 +08:00
Haojun Liao 0d60d54a4a other: merge 3.0 2022-08-06 15:26:15 +08:00
Haojun Liao bf08d7dd0b fix(query): fix bug in fill 2022-08-06 15:23:03 +08:00
54liuyao 214d3609b2 fix(stream):set num of stream session child 2022-08-06 15:14:11 +08:00
Ganlin Zhao 70f3967993 fix(query): fix interp + fill(prev) result error 2022-08-06 14:42:48 +08:00
wangmm0220 f28155714e fix:confilcts from 3.0 2022-08-06 12:31:15 +08:00
Ganlin Zhao d5d873c7f8 fix(query): fix interp fill(prev) issue 2022-08-06 11:32:29 +08:00
Ganlin Zhao 0afea835fc Merge branch '3.0' into fix/TD-18115 2022-08-06 10:09:03 +08:00
Ganlin Zhao b3e53c651e fix(query): fix interp + fill interpolation behavior
TD-18173
TD-18174
2022-08-06 10:04:56 +08:00
wangmm0220 45e7597df3 feat:get data from snapshot for taosx 2022-08-05 21:12:18 +08:00
Ganlin Zhao 06b4177940
Merge pull request #15762 from taosdata/fix/TD-18115
fix(query): fix interp function core dump
2022-08-05 20:35:23 +08:00
Haojun Liao 1063064a59 enh(query): support filter by SMA. 2022-08-05 17:40:40 +08:00
Cary Xu 2524779057
Merge pull request #15775 from taosdata/feature/TD-11274-3.0
fix: memory leaks in taosd when use metaGetTableEntryByUid
2022-08-05 17:28:50 +08:00
Cary Xu 14d396b081 fix: memory leaks in taosd when use metaGetTableEntryByUid 2022-08-05 16:22:57 +08:00
Minglei Jin ab6e7604a3 fix: clear reader's coder memory 2022-08-05 15:42:45 +08:00
Haojun Liao 0ac1b85a0e refactor: add some logs. 2022-08-05 15:09:43 +08:00
Haojun Liao 0e4748771a enh(query): support combine multi datablock to pass to upstream operators 2022-08-05 14:10:45 +08:00
Ganlin Zhao e808f67518 Merge branch '3.0' into fix/TD-18115 2022-08-05 10:03:17 +08:00
Cary Xu 862e7c8e36 fix: conditional comparison 2022-08-05 09:47:50 +08:00
Cary Xu a179b6e64d fix: solve stream input data block leak 2022-08-05 01:37:54 +08:00
Cary Xu 82c440955a fix: solve rsma memory leak 2022-08-04 21:31:13 +08:00
Cary Xu f0dff1f039 Merge branch '3.0' into feature/TD-11274-3.0 2022-08-04 21:27:17 +08:00
Cary Xu 1231c8014b fix: solve rsma memory leak 2022-08-04 21:27:01 +08:00
Haojun Liao 569c82886f fix(query): remove temp files. 2022-08-04 20:42:23 +08:00
Haojun Liao be1d1c5f8e fix(query): clean temp files. 2022-08-04 20:37:36 +08:00
Haojun Liao 5dc9c9f2b1
Merge pull request #15750 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-08-04 20:17:58 +08:00
Haojun Liao 3a5fcefc8d other: merge 3.0 2022-08-04 17:24:51 +08:00
Haojun Liao b04efe3c25 fix(query): fix memory leak. 2022-08-04 17:14:50 +08:00
shenglian zhou 2f27d0152d fix: get result row add forUpdate parameter 2022-08-04 16:23:54 +08:00
wangmm0220 c3cd858a63 feat:add snapshot for tmq in stable and db 2022-08-04 15:01:59 +08:00
Zhiqiang Wang ca1b1d9e18
Merge pull request #15721 from taosdata/fix/ZhiqiangWang/TD-18093-fix-minimalDirGB-invalid-error
os: fix minimalDirGB invalid error
2022-08-04 10:44:33 +08:00
afwerar e76f770fc8 os: fix minimalDirGB invalid error 2022-08-04 10:02:09 +08:00
Cary Xu 5ce5dd2da8
Merge pull request #15723 from taosdata/feature/TD-11274-3.0
enh: adjust numOfRows in SubmitBlk from int16_t to int32_t
2022-08-04 09:36:26 +08:00
Ganlin Zhao 6b6f85e22f fix(query): fix interp function core dump
TD-18115
2022-08-03 21:24:47 +08:00
Cary Xu f1790b2776 enh: adjust numOfRows in SubmitBlk from int16_t to int32_t 2022-08-03 21:03:27 +08:00
Liu Jicong e43d3d88b6 Merge branch '3.0' into feature/stream 2022-08-03 20:59:26 +08:00
Liu Jicong cf5f06bd68 enh(stream): stream query is not limited by window count 2022-08-03 20:33:09 +08:00
Haojun Liao 4cd7af0ecf other: merge 3.0 2022-08-03 19:02:43 +08:00
Haojun Liao 2a8da022de refactor: do some internal refactor. 2022-08-03 19:01:06 +08:00
Haojun Liao caa5378d8e refactor: do some internal refactor. 2022-08-03 17:12:10 +08:00
slzhou cf9030fab1 fix: prevent result row page swapping so that the result is preserved 2022-08-03 17:03:50 +08:00
Cary Xu 92b2d62a31 Merge branch 'feature/3.0_query_optimize' of github.com:taosdata/TDengine into feature/3.0_query_optimize 2022-08-03 15:58:51 +08:00
Cary Xu a3166507a5 enh: don't read bitmap when all col is normal 2022-08-03 15:58:28 +08:00
Haojun Liao 074500805c refactor: set filter function for last_row function. 2022-08-03 15:34:42 +08:00
Cary Xu 2f19c2d0a5 other: rsma replica restore and memory leak 2022-08-03 10:58:01 +08:00
Haojun Liao 77ed2bc1e1 enh(query): add merge attribute in explain. 2022-08-02 21:25:55 +08:00
Shengliang Guan 590266067b
Merge pull request #15680 from taosdata/fix/dnode
refactor: adjust logs
2022-08-02 19:37:07 +08:00
Shengliang Guan 56f2e49764 refactor: adjust logs 2022-08-02 17:12:07 +08:00
shenglian-zhou 16357345ef
Merge pull request #15678 from taosdata/szhou/fix/join
fix: make multi-table table join test case pass CI
2022-08-02 17:02:00 +08:00
Haojun Liao 70284f5b02 enh(query): support multi-groups result merge into one datablock. 2022-08-02 16:52:36 +08:00
slzhou a3f95f566f fix: format code 2022-08-02 16:24:22 +08:00
slzhou 2a17deec7c fix: extract time condition corretly when join tables together 2022-08-02 16:18:55 +08:00
Xiaoyu Wang f8bd778979 enh: the fill physical scheme distinguishes between interpolated and non-interpolated expressions 2022-08-02 16:18:53 +08:00
Haojun Liao 258d50306f refactor: do some internal refactor. 2022-08-02 15:43:45 +08:00
dapan1121 517b03a6fc
Merge pull request #15663 from taosdata/enh/addAppStat
enh: support app level stat
2022-08-02 15:07:26 +08:00
Haojun Liao 770cc74e7f refactor: do some internal refactor. 2022-08-02 14:19:15 +08:00
Haojun Liao 781c494c2b refactor: merge data belongs to different data group. 2022-08-02 13:58:54 +08:00
Haojun Liao fe55671253 fix(query): fix syntax error. 2022-08-01 23:43:01 +08:00
Haojun Liao 6671420e49 fix(query): set correct json tag. 2022-08-01 23:30:25 +08:00
dapan1121 cc3a7375ed enh: support app level stat 2022-08-01 20:47:08 +08:00
Haojun Liao 8da7aa19b5 fix(query): fix memory leak. 2022-08-01 20:41:03 +08:00
Haojun Liao bbcba1855d Merge branch '3.0' into feature/3_liaohj 2022-08-01 20:09:42 +08:00
shenglian-zhou 21308d7853
Merge pull request #15639 from taosdata/szhou/fix/join
fix: fix failed case of join.sim
2022-08-01 18:54:42 +08:00
Ganlin Zhao 56ca1ac288
Merge pull request #15643 from taosdata/fix/TD-18040
enh(query): add selectivity support for indefinite rows functions
2022-08-01 18:42:22 +08:00
slzhou 5ad27aabe7 fix: fix join error to remove the extra join 2022-08-01 17:47:31 +08:00
54liuyao b3d104349f feat(stream):optimize stream update scan 2022-08-01 17:09:46 +08:00
Haojun Liao 24218752ab refactor: optimize tablescan perf. 2022-08-01 16:41:14 +08:00
Ganlin Zhao 14deef3ae8 fix comment 2022-08-01 15:42:35 +08:00
Ganlin Zhao b0becf1ca9 fix(query): fix n-1 function if select column after function position
result row is incorrect.

fix/TD-18040
2022-08-01 14:15:16 +08:00
Haojun Liao 2531ee909c refactor: do some internal refactor. 2022-08-01 14:05:41 +08:00
Haojun Liao a2a2dbd68a refactor: optimize the build block perf. 2022-08-01 13:11:32 +08:00
Haojun Liao 53686de955
Merge pull request #15606 from taosdata/feature/3_liaohj
fix(query): remove invalid time window close ops.
2022-07-30 20:54:10 +08:00
Haojun Liao 71b5cf5a39 refactor: do some internal refactor. 2022-07-30 18:23:04 +08:00
Haojun Liao 97c238875e refactor: do some internal refactor. 2022-07-30 18:19:14 +08:00
Haojun Liao 7bc773b8cd fix(query): remove invalid time window close ops. 2022-07-30 18:11:44 +08:00
Liu Jicong c67f5f10a2
Merge pull request #15595 from taosdata/feature/stream
enh(wal): add lock to guarantee read behaviour
2022-07-30 17:09:20 +08:00
Haojun Liao 97d0e558bc refactor: add assert. 2022-07-30 14:05:39 +08:00
Liu Jicong f24f2eff42 merge 3.0 2022-07-30 13:03:12 +08:00
Haojun Liao ed57347579 fix(query): fix memory leak. 2022-07-30 11:30:31 +08:00
Haojun Liao d29a60499a
Merge pull request #15554 from taosdata/feature/3_liaohj
refactor: do some internal refactor and opt query performance.
2022-07-29 22:34:37 +08:00
Liu Jicong 6c250e75cd fix(stream): forbid histogram in stream 2022-07-29 21:28:18 +08:00
Haojun Liao 2261d689e4 fix(query): opt read data from file block. 2022-07-29 21:09:33 +08:00