Commit Graph

2654 Commits

Author SHA1 Message Date
Shengliang Guan 17acc9bc05
Merge pull request #16458 from taosdata/szhou/fixbugs
fix: clean up intermediate result of scalar computation just before applying scalar function in fill operator
2022-08-28 21:27:30 +08:00
Shengliang Guan c581212712
Merge pull request #16439 from taosdata/feature/3_liaohj
feature(query): support last function cache and retrieve data.
2022-08-28 21:27:13 +08:00
Cary Xu 1dd53e9e41 fix: return data ptr when iterate remove for simple hash 2022-08-27 23:01:19 +08:00
shenglian zhou 47f80f0d21 fix: clean up intermediate result of scalar computation before applying scalar function in fill operator 2022-08-27 22:10:22 +08:00
Cary Xu 36d6b1e560 Merge branch '3.0' into feature/3.0_interval_hash_optimize 2022-08-27 18:11:19 +08:00
Cary Xu 680199f9f5 other: simple hash code optimization 2022-08-27 18:08:01 +08:00
Cary Xu 451e621a94 fix: simple hash iterate remove and clear 2022-08-27 18:04:33 +08:00
shenglian zhou a574ef5c98 fix: pass CI test 2022-08-27 08:10:18 +08:00
Haojun Liao 655dbb47c1 refactor(query): do some internal refactor. 2022-08-26 19:19:48 +08:00
slzhou 2a9faaa326 fix: enable add open window only when interval interpolation 2022-08-26 19:05:37 +08:00
slzhou c9a7f27e7c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-08-26 18:51:32 +08:00
slzhou d1eb14dccc fix: interval operator _wstart error and interval operator close window for interpolation on different group id 2022-08-26 18:47:09 +08:00
Cary Xu 4ee28bfc2c fix: only iterate next when delete the specified node 2022-08-26 17:29:54 +08:00
Cary Xu 5dcfa5a241 other: code format optimization 2022-08-26 17:00:50 +08:00
Cary Xu 4abb6e1411 enh: use simple hash to save agg result 2022-08-26 16:52:12 +08:00
Haojun Liao 60d9acb7b4 feature(query): support last function cache and retrieve data. 2022-08-26 15:27:19 +08:00
Haojun Liao 13563f1733
Merge pull request #16412 from taosdata/feature/3_liaohj
refactor(query): check table in uid order when handling the last block, and some internal refactor.
2022-08-26 10:44:27 +08:00
wangmm0220 cb4969513c fix:conflicts from 3.0 2022-08-25 17:36:00 +08:00
Haojun Liao 755176d28f fix(query): add the null ptr check. 2022-08-25 17:32:27 +08:00
wangmm0220 6b61d3c23b fix:conflicts from 3.0 2022-08-25 16:57:19 +08:00
wangmm0220 4cc2d361e1 fix:error in getting snapshot for taosX 2022-08-25 16:55:12 +08:00
Haojun Liao b09ee742d5 refactor(query): check table in uid order when handling the last block, and some internal refactor. 2022-08-25 15:31:48 +08:00
Shengliang Guan e41a000261
Merge pull request #16397 from taosdata/fix/TD-18617
fix(query): fix multiple interp used result number of rows incorrect
2022-08-25 13:33:02 +08:00
Haojun Liao da1dd5e137
Merge pull request #16396 from taosdata/feature/3_liaohj
fix(query): check return value and do some internal refactor.
2022-08-25 12:47:23 +08:00
Ganlin Zhao 6b9ace9c35 Merge branch '3.0' into fix/TD-18617 2022-08-25 11:08:14 +08:00
Shengliang Guan 0758d32964
Merge pull request #16382 from taosdata/feat/3.0_systable_privilege_wxy
feat: system table visible permission
2022-08-25 11:08:12 +08:00
Haojun Liao 1c06206000 other:merge 3.0 2022-08-25 11:01:36 +08:00
Haojun Liao 909529bb7b fix(query): check return value and do some internal refactor. 2022-08-25 10:55:28 +08:00
Ganlin Zhao c72c972c5f fix(query): fix multiple interp used result number of rows incorrect
TD-18617
2022-08-25 10:55:14 +08:00
shenglian zhou dc6baa13a6 fix: fill if window pseudo column 2022-08-25 09:07:44 +08:00
Haojun Liao 033b251994 test: update the unit test cases. 2022-08-24 18:48:03 +08:00
Haojun Liao b87535734f refactor:do some internal refactor. 2022-08-24 18:47:23 +08:00
wangmm0220 c7bf08d5af feat: get snapshot data for taosX 2022-08-24 17:42:33 +08:00
Xiaoyu Wang 99490c063e feat: system table visible permission 2022-08-24 17:36:10 +08:00
Haojun Liao a23f5f59ea refactor(query): do some internal refactor. 2022-08-24 17:09:33 +08:00
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
Ganlin Zhao 8dbac0b001 Merge branch '3.0' into fix/TD-17958 2022-07-29 20:56:47 +08:00
Ganlin Zhao 344e821e87 fix: fix rsma writing historical data wal got overwritten by unrelated
SSDatablocks got from streamscan

TD- 17958
2022-07-29 20:53:45 +08:00
liuyao df2736e61c
Merge pull request #15559 from taosdata/feature/TD-17811
feat(stream):Recycled Pages
2022-07-29 20:36:36 +08:00
Xiaoyu Wang 11bac6220c
Merge pull request #15523 from taosdata/feature/3.0_debug_wxy
enh: last function optimize
2022-07-29 20:14:21 +08:00
54liuyao c8fbcb9672 feat(stream): Recycled Pages 2022-07-29 19:40:14 +08:00
Haojun Liao cd5491fea1 fix(query): remove invalid code. 2022-07-29 19:00:12 +08:00
Haojun Liao 9ee13ca254 other: merge 3.0 2022-07-29 18:03:42 +08:00
Haojun Liao 0ff775c46f fix(query): keep order info in fill operator. 2022-07-29 14:33:50 +08:00
54liuyao 5e7e335169 feat(stream): free state memroy 2022-07-29 14:28:29 +08:00
Haojun Liao 26e5a7c796 refactor: do some internal refactor. 2022-07-29 13:54:14 +08:00
Cary Xu e3efc089b4 fix: assign groupId for rsma uniformly 2022-07-29 12:15:19 +08:00
Haojun Liao 915e4e40c7 fix(query): add attribute to control output order. 2022-07-29 11:00:36 +08:00
Haojun Liao 78bbfcb4bc refactor: do some internal refactor and opt query performance. 2022-07-29 09:56:03 +08:00
Xiaoyu Wang d7a525f21f Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-29 09:28:52 +08:00
Xiaoyu Wang 9053645ab7 feat: super table order by primary key optimization 2022-07-28 20:24:49 +08:00
dapan1121 62f3adf7fc Merge branch '3.0' into fix/TD-17819 2022-07-28 19:11:08 +08:00
Cary Xu 21fba3cb1f other: revert the walWrite.c 2022-07-28 17:15:31 +08:00
dapan1121 fbdd8bfd39 fix: fix datablock windows error 2022-07-28 17:12:53 +08:00
Cary Xu 0dcb3a5da1 fix: assign uid for rsma by physical plan 2022-07-28 17:07:47 +08:00
slzhou@taodata.com 9cbd8c7bea fix: fix bugs related to join and nested query 2022-07-28 12:02:36 +08:00
slzhou@taodata.com 00fee07eae Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-28 10:00:31 +08:00
slzhou@taodata.com c962e9b8fd feat: add support for join operator when multiple rows with same ts 2022-07-28 09:58:16 +08:00
Liu Jicong cf54ec5551
Merge pull request #15475 from taosdata/feature/stream
refactor(stream): remove option
2022-07-27 21:56:26 +08:00
shenglian zhou c061cd2fe2 fix: multi row same ts join 2022-07-27 21:42:35 +08:00
WANG MINGMING 7badec9ecc
Merge pull request #15477 from taosdata/feature/TD-14761
feat:add ts,table name from SDeleterRes
2022-07-27 20:16:00 +08:00
Liu Jicong ba0c1b3689 refactor(stream) 2022-07-27 20:11:03 +08:00
wangmm0220 2ba6ac5fba feat:add ts,table name from SDeleterRes 2022-07-27 17:11:57 +08:00
slzhou@taodata.com 6cb92ef6ee fix: support multi-rows with same ts for join operator 2022-07-27 17:09:24 +08:00
Liu Jicong 5e1bbe0e7e refactor(sma): remove option 2022-07-27 16:55:23 +08:00
slzhou@taodata.com e1d5971e39 feat: add multi-rows merge join 2022-07-27 16:11:32 +08:00
shenglian-zhou 09218fefc8
Merge pull request #15465 from taosdata/szhou/fix/udf
fix: prepare for multirow join
2022-07-27 16:09:27 +08:00
Haojun Liao 089f045817
Merge pull request #15444 from taosdata/feature/3_liaohj
fix(query):fix memory leak.
2022-07-27 15:49:52 +08:00
slzhou@taodata.com 3469117732 fix: add input ts order to physical plan join node 2022-07-27 15:12:23 +08:00
Xiaoyu Wang cd25d2dc60
Merge pull request #15456 from taosdata/feature/3.0_debug_wxy
fix: db options rename
2022-07-27 15:02:20 +08:00
slzhou@taodata.com b941513479 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-27 14:28:15 +08:00
slzhou@taodata.com 70067fa939 fix: prepare for multirow join 2022-07-27 14:27:59 +08:00
Minglei Jin 51b367a32c fix: filter not exist child tables 2022-07-27 13:55:04 +08:00
Liu Jicong 3167f158d1
Merge pull request #15454 from taosdata/feature/stream
fix(stream): dispatch
2022-07-27 12:39:37 +08:00
Xiaoyu Wang f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
liuyao 23bc13a98d
Merge pull request #15445 from taosdata/feature/TD-17811
feat(stream): free the memory
2022-07-27 11:09:37 +08:00
WANG MINGMING 98fb54bf02
Merge pull request #15439 from taosdata/feature/TD-14761
feat:add tmq get data interface
2022-07-27 11:05:06 +08:00
Liu Jicong 3fa5791889 fix(stream): dispatch 2022-07-27 10:52:25 +08:00
54liuyao db8ed3087c feat(stream): free the memory 2022-07-27 10:34:30 +08:00
shenglian zhou 633542914b fix: fix memory leak of fill operator 2022-07-26 19:19:24 +08:00
Haojun Liao 6c355184a9 Merge branch '3.0' into feature/3_liaohj 2022-07-26 19:09:37 +08:00
Haojun Liao f021f29f02 fix(query): fix bug in limit/offset. 2022-07-26 19:07:43 +08:00
shenglian zhou 56f067229c Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-26 17:58:31 +08:00
wangmm0220 915d3c4203 fix:conflicts from 3.0 2022-07-26 17:47:10 +08:00
wangmm0220 ba1962cacf feat:add tmq get data interface 2022-07-26 17:43:22 +08:00
shenglian zhou 4ab28c4da2 fix: fix mem leak of fill operator 2022-07-26 17:22:23 +08:00
shenglian zhou a17015138c fix: fix fill operator memory leak 2022-07-26 17:18:08 +08:00
shenglian zhou dab90f47bc fix: fix memory leak 2022-07-26 17:10:43 +08:00
Haojun Liao 97e3946a98
Merge pull request #15421 from taosdata/feature/3_liaohj
refactor: optimize the memory consumption in tsdbread
2022-07-26 16:49:14 +08:00
shenglian zhou cdcb1a368d feat: add input ts order for join operator 2022-07-26 16:05:42 +08:00
shenglian-zhou fd2a53d174
Merge pull request #15415 from taosdata/szhou/fix/udf
fix: set null when all inputs are null for leastsquare function
2022-07-26 15:57:25 +08:00
Haojun Liao bd8fa53371 fix(query): set current SBlock before move to next block. 2022-07-26 15:52:47 +08:00
Ganlin Zhao af305d1f51 Merge branch '3.0' into enh/TD-17659 2022-07-26 14:15:11 +08:00
shenglian zhou b870b6381f fix: save sort exec info into table merge scan struct and use it when explain 2022-07-26 11:14:17 +08:00
liuyao 9adc6988a3
Merge pull request #15410 from taosdata/feature/TD-17811
feat(stream): refector some log
2022-07-26 10:34:21 +08:00
dapan1121 faedfb540b
Merge pull request #15409 from taosdata/fix/outofblockinsink
fix: fix load_table_info error
2022-07-26 10:32:51 +08:00
54liuyao 35ddd56691 feat(stream): refector some log 2022-07-26 09:55:21 +08:00
dapan1121 b97f9bfcad fix: fix load_table_info error 2022-07-26 09:48:43 +08:00
Liu Jicong 23f0feca92
Update projectoperator.c 2022-07-25 21:50:51 +08:00
jiajingbin 2964917125 fix: fix bug for TD-17801 2022-07-25 21:45:46 +08:00
jiajingbin 8833a8bdfb fix: fix bug for TD-17801 2022-07-25 21:39:12 +08:00
Haojun Liao b4bb80ba9d
Merge pull request #15389 from taosdata/feature/3_liaohj
fix(query):disable merge for project operator in stream processing.
2022-07-25 20:16:18 +08:00
Ganlin Zhao 8794b0d464 Merge branch '3.0' into enh/TD-17659 2022-07-25 17:25:05 +08:00
Xiaoyu Wang 20cb18d8b0 merge 3.0 2022-07-25 16:59:28 +08:00
shenglian zhou 0494f4a6e9 fix: fix table merge scan memory leak 2022-07-25 16:41:32 +08:00
Haojun Liao 90b3e77698 fix(query):disable merge for project operator in stream processing. 2022-07-25 16:02:49 +08:00
Xiaoyu Wang cf8bf7bd39 Merge remote-tracking branch 'origin/szhou/fix/udf' into feature/3.0_debug_wxy 2022-07-25 15:35:14 +08:00
Xiaoyu Wang bf18385e00 merge szhou/fix/udf 2022-07-25 15:34:58 +08:00
Ganlin Zhao db48f118a1 enh(query): add selectivity for diff function
TD-17659
2022-07-25 15:34:46 +08:00
shenglian zhou 66bad33c9e fix: fix compilation error 2022-07-25 15:34:11 +08:00
shenglian zhou f208b507fc Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/udf 2022-07-25 15:24:04 +08:00
shenglian zhou 9e9a12cb09 fix: fix memory leak of pseduo col computation in table merge scan 2022-07-25 15:23:43 +08:00
Haojun Liao b87bb4c083 fix(query): remove invalid assert. 2022-07-25 15:23:13 +08:00
Xiaoyu Wang 015193e816 feat: super table order by primary key optimization 2022-07-25 15:17:53 +08:00
Haojun Liao baca08d05d refactor: do some internal refactor. 2022-07-25 14:15:49 +08:00
Haojun Liao 67266bd3a1
Merge branch '3.0' into feature/3_liaohj 2022-07-25 13:44:09 +08:00
Haojun Liao 6d86ef0c33 other: merge 3.0 2022-07-25 11:22:09 +08:00
54liuyao 86c4d34339 fix(stream): recover the overwritten code 2022-07-25 11:19:52 +08:00
Haojun Liao 9bddf99d7d refactor(query): do some internal refactor. 2022-07-25 11:17:45 +08:00
dapan1121 4831205807 Merge branch '3.0' into fix/TD-16880 2022-07-25 09:02:45 +08:00
dapan1121 dfe4ed92e3 fix: fix disk page direty issue 2022-07-25 09:01:40 +08:00
shenglian zhou d3149ce8fd fix: change tag_type to string and remove quote from tag_value and normal notation is used for float/double 2022-07-24 19:59:19 +08:00
Liu Jicong 072fe10013
Merge pull request #15361 from taosdata/feature/tq
fix(tmq): correctly set reader status
2022-07-23 20:40:14 +08:00
Liu Jicong 095f6aa4e0 fix(tmq): correctly set reader status 2022-07-23 20:07:16 +08:00
54liuyao f86ce16e36 fix(stream): push retrive datablock 2022-07-23 15:06:53 +08:00
Haojun Liao cf572edcb4
Merge pull request #15323 from taosdata/feature/3_liaohj
fix(query): update the time range after filter data block.
2022-07-23 14:55:29 +08:00
Haojun Liao 950be95fdf fix(query): fix error in limit/offset 2022-07-23 10:40:58 +08:00
Haojun Liao e00528eead refactor: do some internal refactor. 2022-07-23 09:59:37 +08:00
54liuyao b7e84b3caf feat(stream): optimize result 2022-07-23 09:57:27 +08:00
Haojun Liao e9936db95e other: merge 3.0 2022-07-23 09:37:23 +08:00
Haojun Liao 4a7a85ab07 other: merge 3.0 2022-07-23 00:02:53 +08:00
Haojun Liao 4d4a52245d fix(query): update the time range after filter data block. 2022-07-22 23:52:48 +08:00
Haojun Liao 998dedb9fa other: merge 3.0 2022-07-22 21:16:52 +08:00
54liuyao b28553395f feat(stream): adjust stream scan 2022-07-22 20:13:37 +08:00
Liu Jicong 43abf0d3f1
Merge pull request #15309 from taosdata/feature/tq
fix: memory leak
2022-07-22 19:12:15 +08:00
Cary Xu 39b768153f
Merge pull request #15308 from taosdata/feat/TD-17552
enh(query): add wal version to agg result datablock
2022-07-22 19:09:31 +08:00
Xiaoyu Wang b97c440fe6
Merge pull request #15295 from taosdata/feature/3.0_debug_wxy
fix: plan problem when functions that requires a timeline is used directly in a super table
2022-07-22 18:50:27 +08:00
Liu Jicong e1046c7a98 fix: memory leak 2022-07-22 18:11:29 +08:00
Ganlin Zhao 51ac32e8ea Merge branch '3.0' into feat/TD-17552 2022-07-22 17:41:48 +08:00
Ganlin Zhao 68854bdea5 enh(query): add wal version to agg result datablock
TD-17552
2022-07-22 17:39:59 +08:00
Xiaoyu Wang 1be414354d fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 17:06:08 +08:00
54liuyao 47cb043f4c feat(stream):optimize update scan range 2022-07-22 16:55:14 +08:00
Liu Jicong 0a47ebc580 merge 3.0 2022-07-22 16:06:57 +08:00
Liu Jicong 2441ec22bd feat(tmq): check alter for ntb 2022-07-22 16:05:28 +08:00
Xiaoyu Wang ba0518e2b9 fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 15:06:01 +08:00
Haojun Liao 6f4851a6a2 refactor: do some internal refactor. 2022-07-22 14:38:28 +08:00
Xiaoyu Wang dceec792bc
Merge pull request #15237 from taosdata/feature/3.0_debug_wxy
fix: plan problem caused by project eliminate optimize
2022-07-22 13:51:07 +08:00
Xiaoyu Wang 675c91cc6b fix: the problem of data loss when interval is used for outer query 2022-07-22 13:12:43 +08:00
Hongze Cheng c47439970c fix: another coredump 2022-07-22 05:04:59 +00:00
Hongze Cheng 68acbb64b6 Merge branch 'fix/hzcheng_3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-22 05:04:22 +00:00
Hongze Cheng cd762afe76 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-22 04:50:24 +00:00
Haojun Liao ab2ad2cc54
Merge pull request #15269 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-07-22 12:50:03 +08:00
Liu Jicong f9563b5b74
Update scanoperator.c 2022-07-22 11:55:02 +08:00
Liu Jicong ac2b13740b
Update executorMain.c 2022-07-22 11:50:10 +08:00
Haojun Liao 72bbc27e8c fix(query): remove the invalid update ops. 2022-07-22 10:50:54 +08:00
Hongze Cheng 65fc81c45b fix: more concurrency read/write 2022-07-22 02:45:11 +00:00
Hongze Cheng 613ca9c67d fix resource leak 2022-07-22 02:28:39 +00:00
Liu Jicong c82bda25e2 refactor(tmq): add debug log 2022-07-21 21:48:05 +08:00
Haojun Liao 7522c2edf3 refactor: do some internal refactor. 2022-07-21 20:44:36 +08:00
Cary Xu ada2eb232e fix: resource cleanup and rsma result build 2022-07-21 19:46:55 +08:00
shenglian-zhou be16ab2243
Merge pull request #15223 from taosdata/szhou/fix/td-17645
fix: clean up block data to use it again as result data block in doApplyIndefinitFunction
2022-07-21 17:46:31 +08:00
Haojun Liao 0c326410fd fix(query): set value for varchar type in fill and check for null ptr before cleanup. 2022-07-21 16:54:07 +08:00
Haojun Liao 8e42bf85e8 fix(query): fix border check. 2022-07-21 15:47:22 +08:00
dapan1121 3621aa5540 fix: fix mac compile issue 2022-07-21 14:06:38 +08:00
Haojun Liao 72760b7f30 other: merge 3.0 2022-07-21 13:55:21 +08:00
slzhou@taodata.com 97e8e67d4e Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/td-17645 2022-07-21 13:52:56 +08:00
Haojun Liao 9d565752c4 fix(query): extract schema before creating stream scanner. 2022-07-21 13:51:39 +08:00
dapan1121 dd640885e6 Merge branch '3.0' into fix/TD-15197 2022-07-21 13:36:46 +08:00
shenglian-zhou 62ac50c854
Merge pull request #15231 from taosdata/szhou/fix/td-17624
fix: continue execution for next group after filter in project produces zero rows
2022-07-21 12:53:53 +08:00
slzhou@taodata.com 318360c287 fix: continue execution after filter in project produces zero rows for next group 2022-07-21 11:35:02 +08:00
Haojun Liao c2d588a118 other:merge 3.0 2022-07-21 11:29:34 +08:00
Haojun Liao ee34c3bb3e fix(query): add query involved column info 2022-07-21 11:20:30 +08:00
Minglei Jin 1cdde411c0
Merge pull request #15227 from taosdata/fix/TD-17582-v2
fix: error case handle when table was dropped
2022-07-21 11:17:42 +08:00
Haojun Liao dae00fd10c
Merge pull request #15221 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor and add some logs.
2022-07-21 11:14:56 +08:00
Minglei Jin 359622761a fix: error case handle when table was dropped 2022-07-21 10:39:32 +08:00
liuyao d9f7c34a79
Merge pull request #15222 from taosdata/feature/TD-17357
feat(stream): adjust project operator
2022-07-21 10:12:01 +08:00
shenglian zhou 3828954f15 fix: clean up block data to use it again as result data block in doApplyIndefinitFunction 2022-07-21 09:43:06 +08:00
54liuyao b620609608 feat(stream): adjust project operator 2022-07-21 09:23:16 +08:00
dapan1121 976d4670a9 Merge branch '3.0' into fix/TD-15197 2022-07-21 09:11:03 +08:00
Haojun Liao abfa6d9162 refactor(query): do some internal refactor and add some logs. 2022-07-20 22:38:19 +08:00
shenglian zhou 4211db2ec4 fix: fix error in indef operator filter processing 2022-07-20 21:58:03 +08:00
Liu Jicong 86611cc08a
Merge pull request #15208 from taosdata/feature/stream
fix(stream): memory error
2022-07-20 21:08:55 +08:00
Liu Jicong fb52cfa816 fix(stream): memory error 2022-07-20 19:31:56 +08:00
Haojun Liao e6febe45dd
Merge pull request #15180 from taosdata/feature/3_liaohj
fix(query): fix time window generating bug.
2022-07-20 19:15:28 +08:00
54liuyao 736960e1d2 feat(stream): add log 2022-07-20 16:04:52 +08:00
Haojun Liao df58a9bb30 fix(query): handle fraction of ts in add ts offset. 2022-07-20 15:30:52 +08:00
Haojun Liao facf3c8648 fix(query): add limit/offset for order by operator. 2022-07-20 14:07:48 +08:00
dapan1121 7a62409dc1 fix: fix taosd mem leak 2022-07-20 13:54:06 +08:00
Haojun Liao cfe0047145
Merge pull request #15169 from taosdata/feature/3_liaohj
fix(query): update the column data info.
2022-07-20 11:51:46 +08:00
Haojun Liao 2b4e861f8d fix(query): update the column data info. 2022-07-20 11:03:58 +08:00
54liuyao 4371165235 feat(stream): add result group id 2022-07-20 11:02:35 +08:00
dapan1121 d6afa5e2c7 fix: fix show stables issue 2022-07-20 09:46:53 +08:00
dapan1121 5ed719c727 fix: fix catalog memory leak 2022-07-20 09:39:58 +08:00
Haojun Liao 8e9d5129fe
Merge pull request #15155 from taosdata/feature/3_liaohj
fix(query): fix the timewindow calculate error.
2022-07-20 09:31:42 +08:00
Haojun Liao dc92b27913 fix(query): fix the timewindow calculate error. 2022-07-19 20:32:55 +08:00
Liu Jicong edaec52bca refactor: add debug flag 2022-07-19 19:59:07 +08:00
Liu Jicong 414673db57
Merge branch '3.0' into feature/stream 2022-07-19 19:46:36 +08:00
Haojun Liao 88f13276f8
Merge pull request #15121 from taosdata/feature/3_liaohj
fix(query): set the output column number for subscribe.
2022-07-19 19:40:26 +08:00
shenglian-zhou b9490b2cac
Merge pull request #15129 from taosdata/szhou/fix/td-17429
fix: filter shall not be executed when the input block is empty
2022-07-19 18:44:09 +08:00
Liu Jicong 24bc71568e refactor(stream): batch optimization for submit msg 2022-07-19 18:29:12 +08:00
Haojun Liao ef17baedbe fix(query): fix memory leak. 2022-07-19 17:58:24 +08:00
Haojun Liao 282630a394 Merge branch '3.0' into feature/3_liaohj 2022-07-19 17:42:45 +08:00
Haojun Liao 179709f814 fix(query): assign the subplan to belong to task struct 2022-07-19 17:37:40 +08:00
jiacy-jcy 5200a48107 fix: update 2022-07-19 16:54:19 +08:00
dapan1121 215dfb3019 Merge branch 'enh/transMemLeak' into fix/TD-15197 2022-07-19 16:52:21 +08:00
Haojun Liao 79b0240a87 fix(query): fix some memory leak. 2022-07-19 16:34:26 +08:00
shenglian zhou 40d472212a feat: add user tags comments 2022-07-19 16:22:05 +08:00
Haojun Liao cd2eaf0152 fix(query): set the output column number for subscribe. 2022-07-19 16:01:28 +08:00
Haojun Liao 8751bcc0ea
Merge pull request #15109 from taosdata/feature/3_liaohj
fix(query): add check for deleting record
2022-07-19 15:56:41 +08:00
Liu Jicong bc1af6deaf refactor(stream): batch optimization for submit msg 2022-07-19 15:52:08 +08:00
dapan1121 9a08b77e59 Merge branch '3.0' into fix/TD-15197 2022-07-19 15:19:08 +08:00
dapan1121 b027f0d431
Merge pull request #15050 from taosdata/fix/TD-15890.2
fix: fix taosc memory leak
2022-07-19 15:15:44 +08:00
54liuyao 8e41fc912b feat(stream): add num of children 2022-07-19 14:17:53 +08:00
Haojun Liao 2f199bd80b fix(query):revoke remove operation 2022-07-19 10:28:29 +08:00
dapan1121 666c6475ee fix: fix sql crash issue 2022-07-19 10:27:09 +08:00
dapan1121 3e2ded3973 fix: add debug info 2022-07-19 10:12:02 +08:00
dapan1121 c5f900f620 Merge branch '3.0' into fix/TD-15197 2022-07-19 09:16:33 +08:00
dapan1121 8d5bd9a83a fix: fix crash issue 2022-07-19 09:05:17 +08:00
Haojun Liao 484d043b44 fix(query):filter invisible columns 2022-07-18 20:58:52 +08:00
Haojun Liao f3d7d6671b fix(query):filter invisible columns 2022-07-18 20:06:29 +08:00
shenglian-zhou 0e93b2b776
Merge pull request #15070 from taosdata/szhou/fix/td-17470
fix: remove the assert check of time window from when generating buffer for window computation
2022-07-18 17:18:56 +08:00
shenglian zhou 691856073b fix: remove the assert check of time window from when generating buffer for window computation 2022-07-18 16:41:24 +08:00
Haojun Liao 04b12ee74d
Merge pull request #15063 from taosdata/feature/3_liaohj
fix(query): filter new added child table for stream scan operator.
2022-07-18 16:05:23 +08:00
Haojun Liao eebbbce4f3 fix(query): filter new added child table for stream scan operator. 2022-07-18 15:31:39 +08:00
Liu Jicong f2e9d522a4
Merge pull request #15052 from taosdata/feature/stream
fix(tmq): table not found
2022-07-18 14:43:44 +08:00
dapan1121 4a54ce26d5 fix: fix sys table show stables issue 2022-07-18 14:25:00 +08:00
Haojun Liao fc67efb5aa fix(query): fix memory leak. 2022-07-18 13:52:33 +08:00
Liu Jicong 158c6ae3e4 fix(tmq): table not found 2022-07-18 13:51:31 +08:00
dapan1121 03e9b15237 fix: fix taosc memory leak 2022-07-18 13:32:17 +08:00
Haojun Liao 95db2fb8a8
Merge branch '3.0' into feature/3_liaohj 2022-07-18 10:01:32 +08:00
dapan1121 077fbd6787
Merge pull request #15010 from taosdata/fix/TD-17460
fix: fix taosd mem leak
2022-07-18 09:18:43 +08:00
shenglian zhou af1350a6dd feat: processing nchar and json columns of user tags 2022-07-17 21:37:59 +08:00
Haojun Liao fc5544d42a fix(query):fix the invalid returned code in the compare function 2022-07-17 12:28:55 +08:00
Haojun Liao ad058e8c97 Merge branch '3.0' into feature/3_liaohj 2022-07-17 11:06:49 +08:00
shenglian zhou 110aef1f12 feat: change bufSize for double digits 2022-07-17 05:30:20 +08:00
shenglian zhou 76f38ee03a feat: change bufSize to leave space for var string header 2022-07-17 05:19:01 +08:00
shenglian zhou de1ca5b68f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/user-tags 2022-07-17 05:07:17 +08:00
shenglian zhou 7570a4495d feat: add user tags 2022-07-17 04:57:16 +08:00
Haojun Liao f0d1f393fd fix(query): add limit/offset implementation in exchange operator. 2022-07-16 23:24:59 +08:00
Haojun Liao 405c4c6305
Merge pull request #14991 from taosdata/feature/3_liaohj
fix(query):support multigroup in groupby operator.
2022-07-16 21:07:55 +08:00
Haojun Liao 6756c6515a fix(query): add null pointer check. 2022-07-16 19:54:14 +08:00
Haojun Liao 5a5e30c456 fix(query): remove invalid free. 2022-07-16 19:44:08 +08:00
dapan1121 9ec14ece62 fix: fix taosd mem leak 2022-07-16 18:58:29 +08:00
liuyao e59942bdc7
Merge pull request #15003 from taosdata/feature/TD-17357
feat(stream): add log
2022-07-16 18:50:32 +08:00
dapan1121 4097b5ae56
Merge pull request #14986 from taosdata/fix/fixmsgorder
fix: fix msg disorder and other issues
2022-07-16 18:42:41 +08:00
54liuyao 069778c676 feat(stream): add log 2022-07-16 17:32:40 +08:00
shenglian zhou 97d30c6858 feat: add user tags to system table 2022-07-16 17:25:05 +08:00
Haojun Liao 76f451744a fix(query): fix memory leak. 2022-07-16 17:20:37 +08:00
Haojun Liao 83b44e2ffa fix(query):support multigroup in groupby operator. 2022-07-16 16:30:09 +08:00
shenglian zhou 96495363d7 feat: add user tags system table 2022-07-16 16:03:45 +08:00
dapan1121 320ca85a8f Merge branch '3.0' into fix/fixmsgorder 2022-07-16 15:40:50 +08:00