Commit graph

3277 commits

Author SHA1 Message Date
Haojun Liao
ad0be66a78
Merge pull request #19935 from taosdata/enh/dynamicIdx
feat:  change  index dynamicly
2023-02-20 15:48:49 +08:00
Ganlin Zhao
f7a8393c47 add perf logs 2023-02-20 15:23:11 +08:00
Haojun Liao
ae95c97b78
Merge pull request #19977 from taosdata/fix/TS-2638
fix:[TS638]diable tsdbReader open in streamScanOperator
2023-02-20 14:25:31 +08:00
Ganlin Zhao
28693ce285 feat(query): allow percentile function to take multiple params
to enhance performance
2023-02-20 14:07:24 +08:00
Xiaoyu Wang
c597de099f merge main 2023-02-20 13:41:27 +08:00
Haojun Liao
7fe250412f refactor:do some internal refactor. 2023-02-20 10:13:11 +08:00
Haojun Liao
8d187efc18 refactor:do some internal refactor. 2023-02-20 10:04:08 +08:00
yihaoDeng
51755e9783 fix: fix drop error 2023-02-18 16:44:29 +08:00
yihaoDeng
db7dec0347 fix filter error 2023-02-18 11:21:10 +08:00
yihaoDeng
1acb4dd676 opt filter 2023-02-18 09:38:54 +08:00
Xiaoyu Wang
d5cd2d36af feat: compatible with older versions of wal 2023-02-17 15:55:55 +08:00
Benguang Zhao
dea3c0285b fix: keep processing on tqNextBlock failure 2023-02-17 09:29:15 +08:00
Benguang Zhao
2a08e2a549 enh: refactor some asserts in doQueueScan 2023-02-16 16:06:51 +08:00
54liuyao
05c9d46fac fix:wrong tag value 2023-02-16 10:22:31 +08:00
Haojun Liao
717392782a fix(query): remove the invalid free. 2023-02-15 19:50:56 +08:00
Haojun Liao
e681bb02cd fix(query): set the initial number of tables values. 2023-02-15 19:23:49 +08:00
Haojun Liao
cb35b453d4
Merge pull request #19870 from taosdata/feature/3_liaohj
other: merge opt to main.
2023-02-15 12:55:04 +08:00
54liuyao
88970c88a9 fix:dispatch create sub table 2023-02-15 11:04:49 +08:00
Haojun Liao
c2370fcdcc fix(query): set correct flag in create dummy ctx. 2023-02-15 09:57:05 +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
wangmm0220
6aa44b2fa9 fix:[TS638]diable tsdbReader open in streamScanOperator 2023-02-14 17:54:24 +08:00
Haojun Liao
78e67995cc
Merge pull request #19966 from taosdata/fix/nodisk
fix(query): check validation of suid
2023-02-14 16:14:43 +08:00
Haojun Liao
a1eafe88ac fix(query): fix some errors. 2023-02-14 14:48:33 +08:00
wangmm0220
a74f7895e4 fix:[TS638]diable tsdbReader open in streamScanOperator 2023-02-14 14:12:45 +08:00
Xiaoyu Wang
031a13c945 fix: create stream check and error code wrong 2023-02-14 11:24:44 +08:00
Haojun Liao
6fffc71785 fix(query): check validation of suid, 2023-02-14 10:41:17 +08:00
54liuyao
3f38d56c0d fix:number of ssdatablock rows exceeds the capacity 2023-02-14 10:40:16 +08:00
Haojun Liao
61a7751b57 fix(query): fix bug in tIntToHex and add test case. 2023-02-14 10:12:13 +08:00
Haojun Liao
fab32ae930 fix(query): fix bug in "tbname in" query. 2023-02-13 23:19:09 +08:00
Haojun Liao
a4c66dd6bb
Merge pull request #19949 from taosdata/fix/TS-2538
fix:crash at generate session scan range
2023-02-13 19:05:33 +08:00
Haojun Liao
0328013309
Merge pull request #19948 from taosdata/feature/event
fix(query): identify the data blocks from different group.
2023-02-13 17:22:04 +08:00
Haojun Liao
c9ce01c878 Merge branch 'main' into feature/3_liaohj 2023-02-13 17:09:27 +08:00
Haojun Liao
13362841fe
Merge pull request #19946 from taosdata/fix/nodisk
fix(query): add kill check for cache scan operator.
2023-02-13 13:37:00 +08:00
Yihao Deng
5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
54liuyao
31a75f837b fix:crash at generate session scan range 2023-02-13 13:33:38 +08:00
Haojun Liao
f26fa32340 other: add some comments. 2023-02-13 13:32:01 +08:00
Haojun Liao
c96362d5fc other: merge event branch. 2023-02-13 13:28:16 +08:00
Haojun Liao
6a6c649113 fix(query): identify the data blocks from different group. 2023-02-13 13:24:59 +08:00
Haojun Liao
b37bf56794 fix(query): add kill check for table merge scan. 2023-02-13 10:12:13 +08:00
Haojun Liao
08126ccde1 fix(query): add kill check for cache scan operator. 2023-02-13 10:07:56 +08:00
Liu Jicong
0cd6bd3d86 Merge branch 'main' into enh/stream_buffer_param 2023-02-13 09:48:02 +08:00
yihaoDeng
a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Haojun Liao
f6a262eeb1 fix(query): fix invalid write. 2023-02-11 01:56:28 +08:00
Haojun Liao
38df631629 fix(query): set correct table number. 2023-02-11 00:28:10 +08:00
Haojun Liao
2de2733405 fix(query): set correct table number. 2023-02-11 00:27:17 +08:00
Haojun Liao
ae7fc15170 fix(query): set correct table number. 2023-02-11 00:11:21 +08:00
Haojun Liao
b14afeef0a refactor: do some internal refactor. 2023-02-10 23:40:53 +08:00
Haojun Liao
120ee13d6d refactor: do some internal refactor. 2023-02-10 23:34:03 +08:00
Haojun Liao
595a57dfc9 fix(query): fix a typo 2023-02-10 23:32:16 +08:00
Haojun Liao
1b53f4b0bd
Merge pull request #19919 from taosdata/fix/liaohj
fix(query): add check for table/super table dropped
2023-02-10 23:00:55 +08:00
Haojun Liao
8781f31d17 fix(query): fix a typo. 2023-02-10 19:22:38 +08:00
Haojun Liao
a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Haojun Liao
6839ed22f2 fix(query): fix bug in tag filter. 2023-02-10 18:28:35 +08:00
Xiaoyu Wang
3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Haojun Liao
e378668571
Merge pull request #19915 from taosdata/fix/nodisk
ehn(query): dynamic set the initial buffer size for data block from d…
2023-02-10 17:49:46 +08:00
Haojun Liao
f6b2da8c06 fix(query): add check for table/super table dropped, when retrieving cache rows. 2023-02-10 16:53:11 +08:00
Haojun Liao
c8f1c3b6e4 fix(query): set the max rows as the default block buffer rows. 2023-02-10 16:18:30 +08:00
Haojun Liao
72287a3b5f fix(query): set correct tag value during tag filter and do some internal refactor. 2023-02-10 16:03:11 +08:00
Xiaoyu Wang
b2e60da1cf merge main 2023-02-10 10:34:55 +08:00
Haojun Liao
c537c6c12f Merge branch 'main' into fix/liaohj 2023-02-10 10:24:43 +08:00
Haojun Liao
443e8e2500 fix(query): add limit/offset for sys table scan operator. 2023-02-10 10:23:41 +08:00
Haojun Liao
e46657ada2 fix(query): fix memory leak. 2023-02-10 00:30:56 +08:00
Xiaoyu Wang
e595dce463
Merge pull request #19890 from taosdata/enh/3.0_planner_optimize
fix: tsdb reader deadlock
2023-02-09 17:34:32 +08:00
Xiaoyu Wang
e5a27765a2 fix: tsdb reader deadlock 2023-02-09 15:57:37 +08:00
Haojun Liao
6cf363600b
Merge pull request #19785 from taosdata/fix/TD-21899
fix:auto create table & NULL NONE problem for taosx
2023-02-09 15:31:13 +08:00
Xiaoyu Wang
fcff07675d merge main 2023-02-09 11:29:38 +08:00
54liuyao
40987fa507 feat:do not check whether the expired data has been update 2023-02-09 11:14:28 +08:00
Xiaoyu Wang
79440f7a26
Merge pull request #19860 from taosdata/fix/3.0_merge_main
merge main
2023-02-09 09:22:19 +08:00
Haojun Liao
a39665800e
Merge pull request #19868 from taosdata/fix/liaohj
fix(query): set correct group table size.
2023-02-08 19:00:55 +08:00
Xiaoyu Wang
c000ed6d81 merge main 2023-02-08 17:55:28 +08:00
Liu Jicong
ae4ad7d851 Merge branch 'main' into enh/stream_buffer_param 2023-02-08 16:09:35 +08:00
Haojun Liao
d69b57fab9 fix(query): set correct size for the last group. 2023-02-08 15:48:27 +08:00
Haojun Liao
43cce095d0 fix(query): set correct group table size. 2023-02-08 14:26:04 +08:00
Xiaoyu Wang
4ff3b5b370
Merge pull request #19861 from taosdata/feat/3.0_wxy
fix: invild free
2023-02-08 13:17:11 +08:00
54liuyao
bafe5a577e ci:add ci 2023-02-08 10:54:45 +08:00
Xiaoyu Wang
0ec0717263 fix: invild free 2023-02-08 10:35:25 +08:00
Xiaoyu Wang
09925437e3 merge main 2023-02-08 09:51:52 +08:00
Xiaoyu Wang
8b6a50d970 feat: add explain test case 2023-02-07 18:35:42 +08:00
dapan1121
19508d118f
Merge pull request #19817 from taosdata/feat/TS-2502
feat: support force fill in interval clause
2023-02-07 17:00:01 +08:00
54liuyao
e89362fb36 feat:stream ignore check update data 2023-02-07 15:29:05 +08:00
Haojun Liao
25f7ac7991
Merge pull request #19836 from taosdata/fix/nodisk
fix(query):add check for no disk error.
2023-02-07 13:36:30 +08:00
Haojun Liao
5f89fe7652 fix(query):add check for no disk error. 2023-02-07 11:01:52 +08:00
Haojun Liao
46fb9227f1
Merge pull request #19825 from taosdata/fix/nodisk
fix(query):set null for if the queried table is dropped
2023-02-07 09:19:58 +08:00
Haojun Liao
2d951c1690 fix(query):set null for if the queried table is dropped when retrieving the corresponding tags. 2023-02-06 22:34:27 +08:00
dapan1121
ded47e1312 Merge remote-tracking branch 'origin' into feat/TS-2502 2023-02-06 17:22:18 +08:00
Haojun Liao
3822225231 other: merge main. 2023-02-06 16:24:15 +08:00
dapan1121
955c3f6275
Merge pull request #19810 from taosdata/fix/TD-22175
fix: fix return invalid code
2023-02-06 16:15:51 +08:00
Haojun Liao
c93108bcbc
Merge pull request #19811 from taosdata/fix/nodisk
enh(query): add check for limit reach status.
2023-02-06 14:32:12 +08:00
Haojun Liao
24cdf0e758 enh(query): add check for limit reach status. 2023-02-06 13:40:51 +08:00
yihaoDeng
4939f54707 fix invalid code 2023-02-06 12:15:45 +08:00
wangmm0220
762f6466f3 fix:conflicts from 3.0 2023-02-06 09:23:29 +08:00
yihaoDeng
0dd4433e58 opt index 2023-02-05 11:49:45 +08:00
Haojun Liao
8dcd73abf0
Merge pull request #19790 from taosdata/fix/nodisk
fix(query): set the correct number of rows when calculating using sma
2023-02-04 00:58:59 +08:00
dapan1121
225bf28536
Merge pull request #19744 from taosdata/fix/TD-22009
enhance: optimize building table delete skyline performance
2023-02-03 19:00:47 +08:00
Haojun Liao
845530e125 other: add some logs. 2023-02-03 17:33:35 +08:00
Xiaoyu Wang
5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
wangmm0220
51760c10ec fix:conflicts from 3.0 2023-02-03 15:40:20 +08:00
dapan1121
ef89a31e8f feat: force fill function 2023-02-03 15:37:04 +08:00
Haojun Liao
0030c4b5ee refactor(query): opt perf by remove some functions. 2023-02-03 14:24:00 +08:00
Haojun Liao
645c45a274 refactor(query): opt perf by remove some functions. 2023-02-03 10:28:12 +08:00
dapan1121
120af5da33
Merge pull request #19751 from taosdata/fix/TS-2530
fix: interp support filter and scalar calc
2023-02-03 09:57:57 +08:00
Haojun Liao
8e73e3090c
Merge pull request #19652 from taosdata/fix/liaohj
fix(query): do some internal refactor, and identify a bug.
2023-02-02 22:22:55 +08:00
dapan1121
40b745932c fix: scalar expr memory leak issue 2023-02-02 19:39:08 +08:00
dapan1121
d5bc02c1e8 feat: support force fill 2023-02-02 18:03:30 +08:00
Haojun Liao
e9490a3235 refactor(query): disable tag filter cache by default. 2023-02-02 17:38:21 +08:00
dapan1121
d88f1efeb1 feat: support force fill clause 2023-02-02 17:16:30 +08:00
Haojun Liao
aab31f655c fix(query): fix bug in multi-group limit/offset of the merge sort . 2023-02-02 16:57:05 +08:00
Haojun Liao
ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
dapan1121
e234dda2de fix: interp support filter and scalar calc 2023-02-02 11:44:08 +08:00
Haojun Liao
97ca4dfd0b
Merge pull request #19732 from taosdata/feat/ly_stream_stable
Feat/ly stream stable
2023-02-02 10:57:09 +08:00
Haojun Liao
3897a91a95 refactor: do some internal refactor. 2023-02-02 10:17:39 +08:00
Haojun Liao
6a5ce7d663 refactor: opt tag filter perf. 2023-02-02 10:11:36 +08:00
54liuyao
c4414ec646 feat(stream):exists stable bug&ci 2023-02-01 17:27:04 +08:00
54liuyao
fa43fc455a refactor stream interval build result data 2023-02-01 17:27:03 +08:00
wangmm0220
8a21d7f307 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-21899 2023-02-01 16:13:06 +08:00
yihaoDeng
fa0b70b156 opt tag filter 2023-01-31 22:43:59 +08:00
yihaoDeng
c83b697eb3 fix invalid ver 2023-01-31 17:00:19 +08:00
dapan1121
c8394cbf6e fix: add get tb from mem time info 2023-01-31 16:38:29 +08:00
Xiaoyu Wang
000eefac82 enh: deal coverity scan 2023-01-31 16:16:03 +08:00
54liuyao
1ce1f8143c fix:process data with incorrect timestamp 2023-01-30 13:29:15 +08:00
wangmm0220
d96cdff8f3 fix:add logic for auto create table while inserting data for taosx 2023-01-28 18:25:43 +08:00
Xiaoyu Wang
24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Liu Jicong
089bc74055 Merge branch 'main' into enh/stream_buffer_param 2023-01-28 11:24:25 +08:00
Xiaoyu Wang
6d1621c221 Merge remote-tracking branch 'origin/fix/main_bugfix_wxy' into fix/liaohj 2023-01-28 10:36:23 +08:00
Haojun Liao
21d57a3624 fix(query): check for failure during add new buf pages. 2023-01-22 01:45:29 +08:00
Haojun Liao
a898be4f7d fix(query): set correct total rsp rows. 2023-01-20 23:38:31 +08:00
Haojun Liao
7803104b7e fix(query): do some internal refactor, and identify a bug. 2023-01-20 22:50:35 +08:00
Haojun Liao
41f73b4294 Merge branch 'main' into fix/liaohj 2023-01-20 22:08:36 +08:00
Haojun Liao
fae4f2c4ed refactor: do some internal refactor. 2023-01-20 18:08:34 +08:00
Haojun Liao
fd5820b052
Merge pull request #19643 from taosdata/fix/liaohj
enh: optimize execute plan when 'tail' function is used with 'partition by' clause
2023-01-19 18:42:37 +08:00
dapan1121
d363971675
Merge pull request #19638 from taosdata/fix/TS-2404
fix: atexit memory leak issue
2023-01-19 10:14:25 +08:00
dapan1121
2d579cfc16 fix: fix compile issue 2023-01-18 17:27:27 +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
dapan1121
d130d1a84a fix: atexit memory leak issue 2023-01-18 17:13:35 +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
dapan1121
17bfb8228a fix: rows number exceeds block capacity issue 2023-01-18 15:55:24 +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
54liuyao
e03deeaed8 feat:add stream delete mark 2023-01-17 16:21:51 +08:00
Haojun Liao
f69e8509c3 fix(query): disable some warnings. 2023-01-16 19:17:37 +08:00
Haojun Liao
abc8c0fda1 refactor: do some internal refactor. 2023-01-16 18:40:44 +08:00
Haojun Liao
59e25c0191
Merge pull request #19576 from taosdata/fix/liaohj
test: add new sim to CI.
2023-01-16 18:17:39 +08:00
Xiaoyu Wang
0b1bb7a1fb merge 3.0 2023-01-16 17:55:35 +08:00
Haojun Liao
138d1d26f0 refactor: opt hash perf. 2023-01-16 17:55:25 +08:00
Haojun Liao
e3248d0053 refactor: disable warning. 2023-01-16 16:02:23 +08:00
dapan1121
62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
Haojun Liao
9f61d3ebab
Merge pull request #19559 from taosdata/fix/liaohj
fix(query): use the recycled blocks to reduce the cached buffer.
2023-01-16 11:34:38 +08:00
Haojun Liao
82f4db302e refactor: do some internal refactor. 2023-01-14 23:17:57 +08:00
Haojun Liao
9997362cf7 fix(query): use the recycled blocks to reduce the cached buffer. 2023-01-14 01:12:15 +08:00
Haojun Liao
eea9d4f21d enh(query): prepare the buffer on the stack, instead of heap. 2023-01-13 14:34:15 +08:00