Commit graph

1231 commits

Author SHA1 Message Date
dapan1121
7e555e437b enh: add hash join 2023-06-20 19:34:16 +08:00
liuyao
74bea44300 stream op transform 2023-06-20 17:30:59 +08:00
dapan1121
1a53a9084e feat: add buffer page 2023-06-19 19:40:15 +08:00
liuyao
41c193945f fill history pause&resume 2023-06-19 17:28:19 +08:00
wangjiaming0909
fb4f174fbc feature: add input, output ts order for execution plans 2023-06-16 10:26:09 +08:00
dapan1121
e6afcbf07f feat: hash join init version 2023-06-15 19:34:15 +08:00
liuyao
c58bde9715 stream operator fill history 2023-06-13 10:57:36 +08:00
Haojun Liao
53246ed6bb other: merge other branch. 2023-06-09 09:41:10 +08:00
Haojun Liao
6a3c935b4a fix(stream): fix error in fill history scan. 2023-06-07 09:15:55 +08:00
liuyao
201d0f2d18 fix stream ci issue 2023-06-06 16:37:08 +08:00
Haojun Liao
fcc706c45c enh(stream): refactor the fill history task. 2023-06-05 15:59:01 +08:00
liuyao
17f2c3f882 reset wind info 2023-06-02 18:27:22 +08:00
Haojun Liao
706e350217 fix(query): fix error in fill and partition. 2023-06-01 14:36:42 +08:00
Haojun Liao
5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
kailixu
f984e67eaa fix(query): invalid buffer page 2023-05-29 16:04:35 +08:00
kailixu
3bbf5405c6 fix(query): invalid buf page 2023-05-29 14:36:29 +08:00
Haojun Liao
0966213847 fix(arch): set the correct module api dependency. 2023-05-25 14:21:40 +08:00
Haojun Liao
a9b18d203d fix:fix error. 2023-05-24 23:49:26 +08:00
Haojun Liao
1f7f326bed refactor: do some internal refactor and set the api function ptr. 2023-05-24 13:22:05 +08:00
Haojun Liao
85afbf0d35 refactor: do some internal refactor. 2023-05-23 18:58:54 +08:00
Haojun Liao
a63473b1cc refacotor: do some internal refactor. 2023-05-23 18:54:32 +08:00
Haojun Liao
e67b532d8a refactor: refactor the module dependency. 2023-05-23 18:29:23 +08:00
Haojun Liao
93c4e3fe70 other: remove empty files. 2023-05-19 09:12:16 +08:00
Haojun Liao
1e020a46c9 other: merge main. 2023-05-19 09:07:35 +08:00
yihaoDeng
9380b22394 merge 3.0 2023-05-18 05:46:38 +00:00
Haojun Liao
041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
liuyao
9258dcd740 fix:mem leak 2023-05-15 11:19:17 +08:00
Haojun Liao
170c603995 other: merge 3.0 2023-05-13 20:16:55 +08:00
dapan1121
69795286fa Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4 2023-05-12 13:46:16 +08:00
dapan1121
0dd0b16842 enh: optimize table scan for last query 2023-05-12 13:30:17 +08:00
Haojun Liao
7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
Yihao Deng
cb223acf82
Merge branch 'main' into enh/rocksdbSstate 2023-05-08 09:45:27 +08:00
yihaoDeng
08c3a63341 Merge branch 'enh/standVer' into enh/rocksdbSstateMerge 2023-05-06 12:37:54 +00:00
Haojun Liao
29fcd1b83a refactor: do some internal refactor. 2023-05-06 10:08:05 +08:00
Haojun Liao
b3da6cb224 fix(query): fix syntax error. 2023-04-28 14:56:50 +08:00
Haojun Liao
b7c8346b44 other: merge other branch. 2023-04-28 13:06:47 +08:00
Haojun Liao
da0d9c78ef refactor: do some internal refactor. 2023-04-28 11:42:34 +08:00
Haojun Liao
8205168428 fix(query): fix memory leak. 2023-04-28 09:16:11 +08:00
Haojun Liao
7adc21028a refactor: do some internal refactor. 2023-04-28 00:23:38 +08:00
Haojun Liao
25010cb11e fix(query): stop tsdbreade ASAP, and do some internal refactor. 2023-04-27 22:21:18 +08:00
liuyao
d429e070da fix fill bug 2023-04-24 18:23:35 +08:00
shenglian zhou
758427b3c4 fix: use slimit to indicate group for tag scan 2023-04-24 15:48:20 +08:00
yihaoDeng
917b07348c Merge branch 'fix/rocksdbState' into enh/rocksRevert 2023-04-23 02:37:26 +00:00
Haojun Liao
4ed26bbc19 fix(stream): update the table list api. 2023-04-17 14:08:54 +08:00
Haojun Liao
1350af5267 fix(stream): set the correct initial checkpoint version to restore the operators state and add check for the initial destination tables. 2023-04-16 22:48:22 +08:00
Haojun Liao
04e042f21d Merge branch 'feature/3_liaohj' into enh/rocksRevert 2023-04-15 09:35:43 +08:00
Haojun Liao
3ee3b16ebb fix(query): fix the invalid read. 2023-04-14 19:37:58 +08:00
Haojun Liao
5850a3ab01 Merge remote-tracking branch 'origin/enh/rocksRevert' into enh/rocksRevert 2023-04-14 10:37:17 +08:00
Haojun Liao
b57c813681 other: merge feature/3_liaohj 2023-04-14 10:36:54 +08:00
liuyao
cb0b4ffbd3 use interval state 2023-04-14 09:38:35 +08:00
Haojun Liao
f8b672f09f other: merge main. 2023-04-14 09:07:18 +08:00
liuyao
8992721e20 refact child cache 2023-04-13 09:15:50 +08:00
Haojun Liao
f6315af0c9 other: merge main. 2023-04-11 19:41:17 +08:00
Xiaoyu Wang
9578c4538a Merge remote-tracking branch 'origin/3.0' into fix/3.0_merge_main 2023-04-11 19:33:23 +08:00
yihaoDeng
911f08b382 Merge branch 'dev3' into enh/rocksRevert 2023-04-11 11:10:33 +00:00
yihaoDeng
b24b91886a Merge branch 'dev3' into enh/rocksRevert 2023-04-11 10:59:00 +00:00
Xiaoyu Wang
4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
liuyao
95d81604c7 feat:encode&&decode stream scan op 2023-04-11 14:34:31 +08:00
Ganlin Zhao
ea6c96df32 fix memory leak 2023-04-11 11:13:23 +08:00
liuyao
74da3c05bc feat:set check point id 2023-04-11 10:33:10 +08:00
Haojun Liao
a4ba5401f9 enh(stream): set the start version of all operators. 2023-04-11 10:01:36 +08:00
xinsheng Ren
965af6cc82
fix: handle leak (#20836)
* fix: handle leak

* fix: del unused code

---------

Co-authored-by: facetosea <25808407@qq.com>
2023-04-11 09:46:06 +08:00
liuyao
f236457904 feat:add data version 2023-04-10 17:35:16 +08:00
liuyao
955f8f9f07 feat:optimize get patitionby name 2023-04-07 18:45:09 +08:00
liuyao
0716a4aee8 feat:add check point 2023-04-06 16:45:22 +08:00
Haojun Liao
7e734e3088 Merge remote-tracking branch 'origin/feature/3_liaohj' into feature/3_liaohj 2023-04-06 15:09:06 +08:00
Haojun Liao
665ba407cf fix: fix syntax error. 2023-04-06 15:08:35 +08:00
Haojun Liao
2b2059ef18
Merge pull request #20534 from taosdata/fix/TD-22671
fix:error in TD-23218 & remove useless logic
2023-04-06 11:47:24 +08:00
54liuyao
1892b806b5 feat:add stream state buff 2023-04-04 17:09:35 +08:00
54liuyao
429b5cd646 feat:add stream file state 2023-04-04 17:09:35 +08:00
Xiaoyu Wang
e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
wangmm0220
1d7581f660 fix:conflicts from main 2023-04-03 19:59:33 +08:00
wangmm0220
d651ba02ae fix:lose consume data because of exec close if consume while insert data 2023-04-03 19:54:52 +08:00
Haojun Liao
3ef7d43dae refactor: do some internal refactor. 2023-04-03 17:47:48 +08:00
Haojun Liao
08bd021a6f refactor: do some internal refactor. 2023-04-03 14:49:14 +08:00
Haojun Liao
91ae07b6c7 fix(tmq): set the table list correctly. 2023-04-03 11:57:17 +08:00
Haojun Liao
167a56f8d0 fix(query): set the correct group table list. 2023-04-02 21:25:54 +08:00
Haojun Liao
addabf3ba7 refactor: push down the tableListinfo to scanner. 2023-04-02 15:25:31 +08:00
wangmm0220
97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
dapan1121
15578cf980
Merge branch 'main' into fix/cencVer 2023-03-30 15:36:30 +08:00
Haojun Liao
56c98d7768 refactor: do some internal refactor. 2023-03-29 19:35:04 +08:00
Haojun Liao
152fc5daab fix(stream):fix the race condition when creating new tsables. 2023-03-29 16:36:35 +08:00
dapan1121
a87d35be08 fix: optimize performance 2023-03-28 17:40:46 +08:00
wangmm0220
f1d67b6059 fix:conflict 2023-03-25 19:03:23 +08:00
Haojun Liao
27c848453e
Merge pull request #20625 from taosdata/fix/TD-23220
fix: modify stream fill linear
2023-03-25 15:01:06 +08:00
yihaoDeng
8e409f81ae add backend 2023-03-25 06:43:17 +00:00
54liuyao
f18cfc25d6 fix:reset parameter ignoreExpried for fill history 2023-03-24 11:06:05 +08:00
wangmm0220
dd4cf0597b fix:error in optimize consume logic 2023-03-22 17:04:02 +08:00
dapan1121
5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
dapan1121
7258ea9244
Merge pull request #20576 from taosdata/fix/TS-2933
enh: optimize table merge scan performance
2023-03-22 13:45:00 +08:00
54liuyao
a614ef777f fix: modify pull linear 2023-03-21 18:19:45 +08:00
dapan1121
ddab83a2ba enh: optimize table merge scan performance 2023-03-21 11:42:46 +08:00
wangmm0220
f7b7320f5f fix:set offset if read wal none 2023-03-20 16:57:45 +08:00
Haojun Liao
7e712a14b6 fix(tmq): adjust log. 2023-03-19 19:06:28 +08:00
Haojun Liao
ae5155edcf fix(tmq): do some internal refactor. 2023-03-19 10:49:30 +08:00
wangmm0220
ccba1d07c6 fix:error in TD-23218 & remove useless logic 2023-03-18 18:42:49 +08:00
wangmm0220
7616a283e3 fix:error in TD-23218 & remove useless logic 2023-03-18 18:23:38 +08:00
Shengliang Guan
041f03e918
Merge pull request #20414 from taosdata/feat/TD-23058
feat: correct slimit&limit clause
2023-03-12 20:48:16 +08:00
dapan1121
f74c488c42 fix: keep group for interval query 2023-03-12 11:03:41 +08:00
54liuyao
87ba6cb019 fix:fill history check update 2023-03-08 19:19:09 +08:00
54liuyao
d8fb591435 fix:incorrectly judged that the stream was killed 2023-03-06 09:46:12 +08:00
Ganlin Zhao
cad32b12a5 add inherit from upstream order option for exchange 2023-02-28 18:30:51 +08:00
Haojun Liao
b46098793d refactor: do some internal refactor and add some logs for tmq. 2023-02-26 12:16:45 +08:00
Xiaoyu Wang
c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao
0d9d2ea293 fix(query): do some internal refactor, and fix the bug when calender time duration exists in sliding and offset. 2023-02-17 18:31:32 +08:00
54liuyao
05c9d46fac fix:wrong tag value 2023-02-16 10:22:31 +08:00
Haojun Liao
f6ced36c87 fix(query): fix memory leak. 2023-02-15 01:28:50 +08:00
Haojun Liao
4e9146f061 fix(query): fix memory leak. 2023-02-14 22:46:31 +08:00
Haojun Liao
a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Xiaoyu Wang
3382a24a69 merge main 2023-02-10 18:03:11 +08:00
54liuyao
e89362fb36 feat:stream ignore check update data 2023-02-07 15:29:05 +08:00
Haojun Liao
3822225231 other: merge main. 2023-02-06 16:24:15 +08:00
Xiaoyu Wang
5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Haojun Liao
0030c4b5ee refactor(query): opt perf by remove some functions. 2023-02-03 14:24:00 +08:00
Haojun Liao
ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
54liuyao
fa43fc455a refactor stream interval build result data 2023-02-01 17:27:03 +08:00
Haojun Liao
fae4f2c4ed refactor: do some internal refactor. 2023-01-20 18:08:34 +08:00
Xiaoyu Wang
f8082bc752
Merge pull request #19623 from taosdata/enh/3.0_planner_optimize
enh: optimize execute plan when 'tail' function is used with 'partition by' clause
2023-01-18 17:25:16 +08:00
Haojun Liao
c9a1b3ba01 fix(query): handle the multi-group limit/offset in table group merge scan/ multiway-merge executor. 2023-01-18 16:24:29 +08:00
Xiaoyu Wang
dd0ea40768 Merge remote-tracking branch 'origin/fix/liaohj' into enh/3.0_planner_optimize 2023-01-18 10:56:03 +08:00
Xiaoyu Wang
0b1bb7a1fb merge 3.0 2023-01-16 17:55:35 +08:00
Haojun Liao
e9fc109edf enh(query): opt query perf. 2023-01-11 18:47:45 +08:00
Haojun Liao
67a291955e fix(query): initialize output buffer for each output. 2023-01-11 17:36:01 +08:00
54liuyao
d5ade95b31 feat(stream):user define tag 2023-01-10 10:13:56 +08:00
Xiaoyu Wang
fdde287ca9 merge main 2023-01-04 11:43:20 +08:00
Haojun Liao
53c3cbd661 enh(query): support event window. 2023-01-03 17:41:10 +08:00
dapan1121
47e885da07 fix: evac page failed issue cause of disk full 2023-01-03 15:40:40 +08:00
Alex Duan
2439c345d9 enh: clear assert remove tbuffer.h 2022-12-30 18:04:54 +08:00
54liuyao
4c6702ab73 fix:modify parameter type 2022-12-30 13:29:29 +08:00
Shengliang Guan
25e9d94f5b
Merge pull request #19244 from taosdata/feature/stream_main
enh: put func state into tdb
2022-12-29 17:17:29 +08:00
Liu Jicong
7721353b6b enh: put func state into tdb 2022-12-29 12:39:07 +08:00
Shengliang Guan
d342ebcd77
Merge pull request #18720 from taosdata/refact/submit_req
Refact/submit req
2022-12-28 10:29:00 +08:00
Liu Jicong
39eb62d80d enh: set scan limit 2022-12-27 14:52:41 +08:00
Haojun Liao
723efba79b
Merge branch '3.0' into refact/submit_req 2022-12-26 13:25:25 +08:00
Liu Jicong
cc81892db1
Merge branch '3.0' into feature/stream_3.0 2022-12-26 13:22:24 +08:00
Shengliang Guan
028cc52846
Merge pull request #19116 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-12-26 09:12:35 +08:00
Haojun Liao
a4213aedf0 refactor: do some internal refactor. 2022-12-23 17:23:31 +08:00
Liu Jicong
b1bd24d15a enh: scan exec set limit 2022-12-23 16:35:40 +08:00
54liuyao
7c84ddd46d fix:timestampe is out of order 2022-12-22 16:48:33 +08:00
Liu Jicong
74a253eac4 refactor 2022-12-08 13:34:42 +08:00
Shengliang Guan
6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan
d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Liu Jicong
9e7bbf622a refactor: support submitreq2 2022-12-07 17:54:09 +08:00
Liu Jicong
b133a56219 refactor: support submitreq2 2022-12-07 15:19:34 +08:00
Hongze Cheng
899d7b0bcc Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-06 14:37:22 +08:00
Liu Jicong
619bbdfd82 refactor: support submitreq2 2022-12-06 05:58:28 +08:00
dapan1121
f9f60a8f39
Merge pull request #18646 from taosdata/fix/TD-20684-3.0
feat(api): add new api int64_t taos_affected_rows64
2022-12-04 16:47:51 +08:00
Haojun Liao
5e77b3eca3 refactor: add function for extract the required buffer during query. 2022-12-02 23:10:03 +08:00
dapan1121
84eb77e124
Merge pull request #18590 from taosdata/szhou/table-count-scan
enhancement: table count scan
2022-12-02 21:07:28 +08:00
Alex Duan
9fb4fa0a7f feat(api): add int64 affected rows modify tmsg.h struct 2022-12-02 20:48:39 +08:00
Xiaoyu Wang
85ea8bbbb3 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-02 14:04:50 +08:00
dapan1121
dff4c36092
Merge branch '3.0' into fix/TD-20802 2022-12-02 10:11:39 +08:00
slzhou
ee5d0a384f fix: refactor table scan count 2022-12-01 19:05:33 +08:00
54liuyao
bccb31aced fix:stream crash && add debug log 2022-12-01 14:15:50 +08:00
dapan1121
b430f653b9 Merge remote-tracking branch 'origin/3.0' into fix/TD-20802 2022-12-01 09:22:31 +08:00
slzhou
903718940d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-01 09:14:10 +08:00
Shengliang Guan
5c2ac1a625
Merge pull request #18591 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-30 22:12:56 +08:00
Haojun Liao
2c8b962b5a refactor: do some internal refactor. 2022-11-30 21:04:58 +08:00
slzhou
323e52b8c5 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-30 15:43:41 +08:00
slzhou
6d86fb5b51 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-29 22:19:36 +08:00
Ganlin Zhao
2956eec51f fix partition/group by tag count should not have output 2022-11-29 19:01:09 +08:00
dapan1121
8ee170bef1 enh: add retry for vnode closed case 2022-11-29 16:17:05 +08:00
Haojun Liao
d8da10f2bb refactor: do some internal refactor. 2022-11-28 00:51:18 +08:00
Haojun Liao
b0ee829db2 refactor: do some internal refactor. 2022-11-28 00:27:49 +08:00
slzhou
b5b6fff68b feature: save work 2022-11-27 13:50:36 +08:00
slzhou
c2a7404b42 save work in case it losts 2022-11-25 23:00:14 +08:00
Haojun Liao
e5e817ae55 other: merge 3.0 2022-11-24 17:24:24 +08:00
Haojun Liao
8dd780b486 other: merge 3.0 2022-11-24 17:17:53 +08:00
Haojun Liao
f745dec5ec other: merge 3.0 2022-11-24 17:17:22 +08:00
Haojun Liao
9a208b2d09 other: merge 3.0 2022-11-24 17:08:15 +08:00
shenglian zhou
7f6ff39648 feat: table merge scan save work 2022-11-23 19:47:24 +08:00
Shengliang Guan
fda726df0c
Merge pull request #18371 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-23 09:25:13 +08:00
Haojun Liao
0d60f24db5 refactor: do some internal refactor. 2022-11-22 22:42:44 +08:00
dapan1121
e1ea03fbda
Merge pull request #18345 from taosdata/fix/TD-20591
fix:  crash caused by elect null and issues found in asan
2022-11-22 18:49:19 +08:00
54liuyao
2020ea0a76 fix:stream fill crash 2022-11-22 16:28:55 +08:00
dapan1121
e42f895fea fix: fix select null crash issue and asan issues 2022-11-22 16:07:04 +08:00
Haojun Liao
1bd0cc4a5a refactor: do some internal refactor, and update the logs. 2022-11-21 15:09:18 +08:00
dapan1121
d3a75048c2
Merge pull request #17972 from taosdata/fix/TD-20246
refactor: optimize interp linear interpolation ignore NULL values during calculation
2022-11-21 10:15:37 +08:00
Haojun Liao
e09ea90b97 other: merge 3.0 2022-11-18 22:19:32 +08:00
Shengliang Guan
a12cf7f91d
Merge pull request #18266 from taosdata/feature/stream
enh(stream): put user defined tb name into stream state
2022-11-18 19:56:56 +08:00
Haojun Liao
54e7335477 fix(query): set the scan flag. 2022-11-18 17:27:05 +08:00
Liu Jicong
9a603e5663 enh(stream): put user defined tb name into stream state 2022-11-18 17:21:50 +08:00
Haojun Liao
8b1e13af5e refactor: do some internal refactor. 2022-11-18 13:40:03 +08:00
Haojun Liao
875989aa30 refactor: do some internal refactor. 2022-11-18 11:24:56 +08:00
dapan1121
48d5e13ae3
Merge pull request #18233 from taosdata/fix/TS-2069-3.0
fix(query): createOneDataBlock rowsize must reset to zero
2022-11-18 11:11:48 +08:00
Haojun Liao
2055879deb refactor: do some internal refactor. 2022-11-18 09:47:26 +08:00
Ganlin Zhao
c8f069c647 change interp linear behavior 2022-11-18 09:43:40 +08:00
Ganlin Zhao
8a19e84fe4 Merge branch '3.0' into fix/TD-20246 2022-11-17 11:20:33 +08:00
Alex Duan
8b82fdf0e8 fix(query): correct calc sort page size 2022-11-16 16:00:37 +08:00
Liu Jicong
ab57d069d4 enh(stream): add tbname map cache 2022-11-16 15:18:31 +08:00
Haojun Liao
7b53b8142e refactor: do some internal refactor. 2022-11-12 16:03:47 +08:00
Haojun Liao
ab52d28cb0 refactor: do some internal refactor. 2022-11-11 22:18:06 +08:00
dapan1121
56b33e9200 Merge remote-tracking branch 'origin/3.0' into fix/TD-20300 2022-11-11 18:57:12 +08:00
dapan1121
f60441e2dd fix: fix query thread quitting issue 2022-11-11 18:44:59 +08:00
dapan1121
89c13efba8 fix: fix query thread quit issue 2022-11-11 17:13:55 +08:00
54liuyao
1ca9839170 fix(operator):Operator double free 2022-11-10 15:47:07 +08:00
Haojun Liao
2402fd1d48 refactor: do some internal refactor. 2022-11-09 19:14:27 +08:00
Haojun Liao
b48752686e refactor: do some internal refactor. 2022-11-09 13:45:46 +08:00
Haojun Liao
d238f387ce other: merge 3.0 2022-11-09 00:00:14 +08:00
Ganlin Zhao
6aca4b8a5c enh: interp fill linear ignore null values during calculation 2022-11-08 14:51:32 +08:00
Ganlin Zhao
a7d21c9ee7 enh: interp fill linear ignore null values during calculation 2022-11-08 14:50:03 +08:00
Liu Jicong
bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Haojun Liao
9863879951 refactor: do some internal refactor. 2022-11-08 09:21:43 +08:00
Haojun Liao
9932fa6bf0 refactor: refactor to avoid spin operator in exchange operator. 2022-11-07 17:48:27 +08:00
Haojun Liao
fea40da5dc other: merge 3.0 2022-11-07 14:31:01 +08:00
Haojun Liao
cd29972a4d enh(query): add cache for table meta. 2022-11-07 11:53:23 +08:00
Haojun Liao
be5b72b25d enh(query): add cache for table meta entry in table scan. 2022-11-07 10:17:42 +08:00
Haojun Liao
270404318c other: merge 3.0 2022-11-07 09:28:22 +08:00
Haojun Liao
341112923b fix(query): init filter in group operator. 2022-11-06 23:42:04 +08:00
Haojun Liao
8c4be7dc21 refactor: do some internal refactor. 2022-11-04 22:13:40 +08:00
Haojun Liao
03f4918b3b refactor: do some internal refactor. 2022-11-04 18:46:48 +08:00
Shengliang Guan
18f7d658d9
Merge pull request #17804 from taosdata/feature/3_liaohj
refactor: add some logs.
2022-11-01 16:46:24 +08:00
Shengliang Guan
68f1641991
Merge pull request #17800 from taosdata/feature/stream
refactor(stream): fill history
2022-11-01 16:15:07 +08:00
Haojun Liao
cff5d9295e refactor: add some logs. 2022-11-01 15:00:02 +08:00
Liu Jicong
8ca5f0bd9c Merge branch '3.0' into feature/stream 2022-11-01 13:20:20 +08:00
Liu Jicong
5e253cc8ea refactor(stream): fill history 2022-11-01 11:56:14 +08:00
Haojun Liao
c17a921a03 fix(query): set the correct buffer to accommodate the tag values. 2022-10-31 23:19:40 +08:00
Haojun Liao
f790d91b45 fix(query): check null before free resource, and some internal refactor. 2022-10-31 10:41:25 +08:00
Haojun Liao
864e2c60a7 fix(query): invoke the different api for extract queried table list. 2022-10-31 09:48:23 +08:00
Haojun Liao
46a6d9ab99 refactor: do some internal refactor. 2022-10-30 22:23:27 +08:00
Haojun Liao
f990ceab6e refactor: do some internal refactor. 2022-10-30 22:13:49 +08:00
Haojun Liao
e4de732285 fix(query): always build hash map from uid to keyinfo 2022-10-29 18:15:00 +08:00
Haojun Liao
9b99c69785 fix(query): support partition by + limit push down. 2022-10-28 19:56:32 +08:00
Haojun Liao
4b2fa43dae
Revert "fix(query): handle partition by in table scan operator" 2022-10-28 18:05:19 +08:00
Haojun Liao
d0a7a43e6f other:merge 3.0 2022-10-28 18:02:50 +08:00
Haojun Liao
407a3453ca fix(query): set fetch block info. 2022-10-28 14:45:35 +08:00
Haojun Liao
2c896012df fix(query): check status before add table uid in hash map. and do some other refactor. 2022-10-28 10:43:25 +08:00
Haojun Liao
4774baa635 fix(query): handle the case of the single block in last files. 2022-10-27 22:43:42 +08:00
yihaoDeng
6a978be730 opt mem 2022-10-27 20:38:57 +08:00
Haojun Liao
a7ca29c627 other: merge 3.0 2022-10-27 18:04:28 +08:00
Haojun Liao
5a971dd03a fix(query): handle partition by in table scan operator with limit/offset value. 2022-10-27 16:58:32 +08:00
Haojun Liao
c5c5b5aa9f
Merge pull request #17662 from taosdata/feature/3_liaohj
enh(query): enable the limit clause to be push down
2022-10-27 10:46:21 +08:00
Haojun Liao
376e7ea5b9 fix(query): support limit/offset in merge sort operator. 2022-10-26 19:23:05 +08:00
Haojun Liao
81d795c293 fix(query): enable limit in grouped scan. 2022-10-26 17:11:56 +08:00
Haojun Liao
8cf3339b25 enh(query): enable the limit clause to be push down to the table scan operator. 2022-10-26 11:31:31 +08:00
Liu Jicong
52b4b510a8 merge 3.0 2022-10-26 09:18:29 +08:00
Liu Jicong
75e5e490fd refactor(stream): recover and fill history 2022-10-26 00:31:00 +08:00
Haojun Liao
e654f3f92c refactor: do some internal refactor. 2022-10-24 16:44:44 +08:00
Haojun Liao
b06870f70f Merge branch '3.0' into fix/liao_cov 2022-10-24 14:07:59 +08:00
Haojun Liao
2f5ed16cb8 fix(query): remove redundant ts cols in cache scan. 2022-10-24 13:26:54 +08:00
Shengliang Guan
9903bbc527
Merge pull request #17577 from taosdata/fix/liao_cov
fix(query): fix coverity issues.
2022-10-23 23:12:36 +08:00
Haojun Liao
6ebf6b29bd fix(query): fix coverity issues. 2022-10-23 15:20:29 +08:00
Shengliang Guan
e86cdc8cde
Merge pull request #17381 from taosdata/feature/addIdxToSysTable
Feature/addIdxToSysTable
2022-10-23 14:38:37 +08:00
yihaoDeng
79ac1153ce avoid invalid read/write 2022-10-22 16:02:09 +08:00
Liu Jicong
5571ebee0f
Merge pull request #17542 from taosdata/feature/stream
enh(stream): internal optimize
2022-10-21 14:31:42 +08:00
Liu Jicong
035e6b13c8 enh(stream): internal optimize 2022-10-21 10:29:05 +08:00
Haojun Liao
bcb3dcc7dc refactor: remove some comments. 2022-10-20 18:12:27 +08:00
Haojun Liao
6e15719ccb other: merge 3.0 2022-10-20 18:10:44 +08:00
Haojun Liao
14fe065528 fix(query): fix no-fill expression calculation bug. 2022-10-20 18:07:38 +08:00
Haojun Liao
c41713cf21
Merge pull request #17495 from taosdata/fix/liao_cov
refactor: remove redundant codes and do some internal refactor.
2022-10-20 13:16:02 +08:00
Haojun Liao
70adc0ea33 fix(query): fix coverity issues. 2022-10-20 11:27:33 +08:00
Liu Jicong
8357c7342b fix(stream): stream state and session support partition tbname 2022-10-19 11:43:01 +08:00
54liuyao
8efd7e8763 feat(stream):replace disk buff 2022-10-18 18:13:47 +08:00
dapan1121
0df311a78f
Merge pull request #17264 from taosdata/refact/query_opt
refactor:do some internal refactor to optimize the query performance.
2022-10-14 19:51:46 +08:00
Liu Jicong
6f8d4d6955 fix(tmq): push msg 2022-10-14 13:31:05 +08:00
Haojun Liao
f5f0a7026f other: merge 3.0 2022-10-13 14:20:51 +08:00
Hongze Cheng
d5255f1eb7 more format 2022-10-13 13:41:36 +08:00
Haojun Liao
d3b37ef294 other:merge 3.0 2022-10-11 22:56:54 +08:00
Liu Jicong
11ca4ddf8c
Merge pull request #17288 from taosdata/feature/stream
refactor(stream): state/session map id to tbname
2022-10-11 16:07:22 +08:00
Liu Jicong
26fae13c61 refactor(stream): state/session map id to tbname 2022-10-11 15:27:56 +08:00
Haojun Liao
7c3ddc4920 other:merge 3.0 2022-10-10 15:35:38 +08:00
Haojun Liao
9eab350e90
Merge pull request #17248 from taosdata/feature/3_liaohj
enh(query): support scalar expressions in the state window aggregate.
2022-10-10 11:31:12 +08:00
Liu Jicong
57d1406096 add tbname column into stream special block 2022-10-09 22:49:37 +08:00
Haojun Liao
4bc94300a5 enh(query): support scalar expressions in the state window aggregate. 2022-10-09 21:49:40 +08:00
Liu Jicong
2b3ff12521 fix bad merge 2022-10-09 18:39:23 +08:00
Liu Jicong
eafe8666f7 merge 3.0 2022-10-09 17:00:18 +08:00
Liu Jicong
2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
54liuyao
9c170ecfa8 fix(stream): filter error occurred when data was modified 2022-10-09 14:52:39 +08:00
Haojun Liao
f8a84a1d19 other:merge 3.0 2022-09-30 13:47:21 +08:00
54liuyao
46c99915bc feat(stream): distribute interval disc buff 2022-09-30 10:01:51 +08:00
Liu Jicong
cde4085a6d optimize msg batch 2022-09-28 20:24:02 +08:00
Haojun Liao
5a2c583c32 other:merge 3.0 2022-09-28 18:00:04 +08:00
Liu Jicong
1ad4d16373 Merge branch '3.0' into feature/tq 2022-09-28 10:57:59 +08:00
Liu Jicong
0e8aaf4c9e feat(tmq): push optimization 2022-09-28 10:38:49 +08:00
Haojun Liao
bd6cf3137f other:merge 3.0 2022-09-27 18:12:54 +08:00
54liuyao
747297bd28 feat(stream): stream fill 2022-09-27 18:11:44 +08:00
Xiaoyu Wang
1d62834e5c feat(stream): tag and child table name improvement 2022-09-26 18:39:47 +08:00
Haojun Liao
54712ae302 other:merge 3.0 2022-09-26 14:50:51 +08:00
dapan1121
3fb3aa7bea Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-23 13:33:11 +08:00
Xiaoyu Wang
2a978bae09 Merge remote-tracking branch 'origin/3.0' into refact/query_opt 2022-09-21 13:58:34 +08:00
Haojun Liao
ed0b92bb33 refactor(query): opt perf. 2022-09-20 14:12:39 +08:00
54liuyao
7eb75fea47 feat(steam):optimize window close 2022-09-20 10:45:38 +08:00
Haojun Liao
bf33be4207 refactor(query):add some logs. 2022-09-20 10:41:35 +08:00
54liuyao
955838d1f6 feat(stream): optimize disc buff 2022-09-19 17:13:13 +08:00
dapan1121
4048c99282 Merge remote-tracking branch 'origin/3.0' into enh/clientPolicy 2022-09-15 14:50:35 +08:00
Haojun Liao
36c4b981f4
Merge pull request #16813 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor.
2022-09-14 13:32:42 +08:00
Haojun Liao
0bb1dc9d1f fix(query): reset the output buffer when results have been produced. 2022-09-14 11:00:44 +08:00
Haojun Liao
632a26d0fe refactor(query): do some internal refactor. 2022-09-13 17:39:43 +08:00
54liuyao
d4d4d2c086 feat(stream):optimize delete window 2022-09-13 16:50:27 +08:00
dapan1121
1427a8f3b0 enh: support client query policy 2022-09-09 19:03:42 +08:00
slzhou
41250383e2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fixbugs 2022-09-08 15:30:04 +08:00
slzhou
ea5ab9f8fd fix: add _wstart when _wstart does not appear in select projection list 2022-09-08 15:29:46 +08:00
54liuyao
1f5d9a38e7 feat(stream):change single interval disc buff and interval delete 2022-09-07 14:48:14 +08:00
54liuyao
f35f5d5f4f feat(stream): refactor single interval 2022-09-05 13:19:40 +08:00
Haojun Liao
2224df24f7 other:merge 3.0 2022-09-05 10:24:03 +08:00
Haojun Liao
06282bcbe0 fix(query): remove invalid assert. 2022-09-05 10:19:31 +08:00
Haojun Liao
d9d7c81872
Merge branch '3.0' into refact/tsdb_optimize 2022-09-03 10:14:48 +08:00
Liu Jicong
d653da7971 feat(stream): support delete data 2022-09-02 15:46:41 +08:00
Haojun Liao
a170796f66 fix(query): fix invalid read/write. 2022-09-02 14:34:30 +08:00
54liuyao
83e62c3849 feat(stream):stream partition by column 2022-09-01 15:05:24 +08:00
Liu Jicong
1fe4ab2341 feat(taox): support auto create sub table 2022-09-01 11:45:00 +08:00
Liu Jicong
c4dcc994fb remove queue scan 2022-08-31 11:35:25 +08:00
Haojun Liao
45616c6548 fix(query):fix syntax error. 2022-08-30 09:47:42 +08:00
Haojun Liao
37618513a6
Merge branch '3.0' into feature/3_liaohj 2022-08-29 22:47:18 +08:00
Haojun Liao
d2ed6ff0e8 fix(query): set correct page buffer id. 2022-08-29 22:42:15 +08:00
wade zhang
2ad31384f6
Merge pull request #15818 from taosdata/feature/TD-14761
feat: get meta and data from tmq using snapshot
2022-08-29 09:49:35 +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
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
6b61d3c23b fix:conflicts from 3.0 2022-08-25 16:57:19 +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
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
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
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
wangmm0220
2afc23a120 fix:conflicts from 3.0 2022-08-24 13:59:51 +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
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
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
54liuyao
b8a1a7f175 fix(stream): state window update 2022-08-23 12:46:42 +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
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
90a3b68d68 fix:conflict from 3.0 2022-08-20 16:00:56 +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
wangmm0220
f2912a17ba fix:conflicts from 3.0 2022-08-19 16:38:23 +08:00
Xiaoyu Wang
98fc185e92 fix: escape character problem in auto create table insert 2022-08-18 18:53:23 +08:00
wangmm0220
fbc69a10c4 Merge branch '3.0' into feature/TD-14761 2022-08-18 16:45:06 +08:00
Cary Xu
7e73f36173 other: code format revert 2022-08-18 10:08:22 +08:00
wangmm0220
78c9f245b1 fix:conflicts from 3.0 2022-08-16 15:18:11 +08:00
Cary Xu
34e14f770f enh: rsma batch process 2022-08-15 09:39:55 +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
Haojun Liao
dc991a9040 other:merge 3.0 2022-08-12 14:51:52 +08:00
Haojun Liao
166cdcec7c fix(query): fix bug in fill. 2022-08-12 14:04:43 +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
Cary Xu
e890bcc6f4 enh: tsimplehash remove/iter/ut 2022-08-11 19:12:24 +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
slzhou
009777a727 fix: add multi-timeline support for session and state 2022-08-11 16:23:53 +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