Commit graph

6505 commits

Author SHA1 Message Date
54liuyao
6e70da62fb adj operator res 2024-07-22 12:51:25 +08:00
54liuyao
d8e4f2d743 operator 2024-07-22 11:34:25 +08:00
xsren
2a675ccf6b group const value func 2024-07-22 11:19:11 +08:00
dapan1121
45348b15be fix: return code validation 2024-07-22 11:06:24 +08:00
54liuyao
b038b655da Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30967 2024-07-22 09:27:41 +08:00
dapan1121
acafca8841
Merge pull request #26685 from taosdata/opti/TD-31017
fix:[TD-31017]process return value in clientRawBlockWrite.c
2024-07-22 09:08:26 +08:00
xsren
ebe0074da4 fix: interp crash 2024-07-22 00:06:47 +08:00
dapan1121
558d22dff4 fix: function return code validation 2024-07-19 18:27:49 +08:00
54liuyao
60699c7895 adj operator result 2024-07-19 17:53:56 +08:00
dapan1121
e5fde30635 fix: function return code validation 2024-07-19 17:37:48 +08:00
54liuyao
a618667a5e adj stream op result 2024-07-19 16:23:52 +08:00
54liuyao
13b75ba72a adj operator result 2024-07-19 16:15:37 +08:00
wangmm0220
195fe9b6cc fix:[TD-31017]process return value in clientRawBlockWrite.c 2024-07-19 15:11:33 +08:00
54liuyao
6a71994570 adj stream op result 2024-07-19 14:50:31 +08:00
wangmm0220
6b9c00cb9b fix:[TD-31017]process return value in clientRawBlockWrite.c 2024-07-19 14:49:25 +08:00
54liuyao
5b293e7340 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30967 2024-07-19 14:42:44 +08:00
Haojun Liao
2e0b829004
Merge pull request #26669 from taosdata/fix/syntax
refactor: check return value for each function.
2024-07-19 14:31:21 +08:00
Haojun Liao
c36d6d44cd fix(stream): fix syntax error. 2024-07-19 11:49:05 +08:00
sima
434fd97615 enh:[TD-30998] Handling return value in filter.c 2024-07-19 11:28:21 +08:00
Haojun Liao
852dd833d0 fix(stream): fix syntax error. 2024-07-19 00:09:28 +08:00
Haojun Liao
2ca6726922 refactor: check return value for each function. 2024-07-18 22:52:32 +08:00
54liuyao
f161514c19 adj stream operator result 2024-07-18 17:24:36 +08:00
54liuyao
afa7d04aaf adj stream operator result 2024-07-18 16:39:01 +08:00
54liuyao
0497224fe7 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30967 2024-07-18 16:08:30 +08:00
54liuyao
cc9233fdb3 adj stream operator result 2024-07-18 16:08:01 +08:00
54liuyao
455c9d32c4 adj stream operator result 2024-07-18 11:44:15 +08:00
54liuyao
99f4484328 adj stream operator result 2024-07-18 11:26:50 +08:00
54liuyao
4e6b898c9a adj stream operator result 2024-07-18 10:37:14 +08:00
54liuyao
ab642b245c adj stream operator result 2024-07-18 10:09:15 +08:00
54liuyao
d5873aa1b2 adj log 2024-07-18 09:01:35 +08:00
54liuyao
113cb57326 adj stream operator result 2024-07-17 19:35:35 +08:00
Hongze Cheng
35606a5658 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-30987-3 2024-07-17 13:07:07 +08:00
Haojun Liao
665fbd6f22
Merge pull request #26551 from taosdata/fix/TD-30967
feat: adj result of function
2024-07-17 09:09:23 +08:00
Haojun Liao
94f596c4ce refactor: remove the invalid return value. 2024-07-16 18:52:01 +08:00
Hongze Cheng
64363627fe enh: refact tqueue code 2024-07-16 17:30:32 +08:00
54liuyao
29381075c5 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30967 2024-07-16 08:54:12 +08:00
Haojun Liao
25f5c9dc5e other: merge 3.0 2024-07-15 19:41:54 +08:00
Haojun Liao
51e9723d66 refactor: do some refactor. 2024-07-15 19:37:52 +08:00
54liuyao
3cdb957f22 adj function of stream operator result 2024-07-15 15:32:11 +08:00
54liuyao
503822a9c5 adj ut 2024-07-15 14:24:09 +08:00
54liuyao
9b067d075f adj stream function return 2024-07-15 13:38:34 +08:00
dapan1121
4c2c9a71d5 fix: table info issue 2024-07-15 10:05:57 +08:00
dapan1121
e527f2fd0b fix: validate function return value 2024-07-12 15:22:39 +08:00
54liuyao
6c84d926ab Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-07-12 11:04:44 +08:00
54liuyao
1c9011e820 stream time slice 2024-07-12 11:03:45 +08:00
dapan1121
e4c624f286
Merge pull request #26489 from taosdata/fix/3.0/TD-30819
feat:[TD-30819] Reduce memory usage when use percentile with interval.
2024-07-11 13:35:39 +08:00
dapan1121
3e3e7e3808
Update timewindowoperator.c 2024-07-11 13:35:25 +08:00
Haojun Liao
e273173d20
Merge pull request #26499 from taosdata/fix/3_liaohj
fix(stream): fix race-condition during expand stream tasks.
2024-07-11 00:06:57 +08:00
sima
f17c535ca0 feat:[TD-30819] Reduce memory usage when using percentile with interval. 2024-07-10 19:43:19 +08:00
dapan1121
076fd07a26
Merge pull request #26492 from taosdata/enh/3.0/bigger_tsma_interval
Enh/3.0/bigger tsma interval
2024-07-10 18:30:40 +08:00
Haojun Liao
7214cea808 fix(stream): check if task is killed during generated interval results. 2024-07-10 18:16:51 +08:00
sima
154ef739d9 fix:[TD-30819] fix memory leak in SqlFunctionCtx. 2024-07-10 10:59:51 +08:00
54liuyao
dcb8673063 set key for session window state 2024-07-10 09:01:39 +08:00
dapan1121
92089e2d86
Merge pull request #26417 from taosdata/enh/TD-29154/diff
Enh/td 29154/diff
2024-07-10 08:38:32 +08:00
wangjiaming0909
64f3d11783 add tests for month/year tsma interval 2024-07-09 17:39:44 +08:00
Haojun Liao
9f4f4f7f9f fix(stream): set the null column when extracting data from submit data. 2024-07-09 00:01:54 +08:00
factosea
28dc3c85ea type overflow 2024-07-08 20:38:23 +08:00
factosea
99f9c28e77 fix: return code 2024-07-05 08:07:00 +08:00
Haojun Liao
799f61c2db other: fix coverity issue. 2024-07-04 19:20:07 +08:00
factosea
593d8adc42 test case 2024-07-04 15:56:12 +08:00
factosea
5f0ac46029 diff 2024-07-04 11:04:59 +08:00
dapan1121
a8a725936e
Merge pull request #26342 from taosdata/fix/TD-30725
fix:[TD-30725]modify error code & fix potential memory leaks
2024-07-04 11:00:49 +08:00
dapan1121
55ba9054ea enh: add stat info 2024-07-02 19:25:33 +08:00
dapan1121
6d0b8eeed4
Merge pull request #26302 from taosdata/TD-26483
feat(query):add thread pool
2024-07-01 19:04:52 +08:00
dapan1121
b3eb938527 enh: add query memory pool 2024-07-01 17:22:43 +08:00
wangjiaming0909
6c6f322a83 change vnode/qnode query threads min value 2024-07-01 11:08:40 +08:00
wangjiaming0909
5040ff5bd9 mnode/qnode support QueryAutoQWorkerPool 2024-07-01 11:08:40 +08:00
wangjiaming0909
11a98ffab2 QueryAutoQWorker 2024-07-01 11:08:39 +08:00
wangmm0220
304460f452 fix:[TD-30725] fix potential memory leaks 2024-07-01 10:49:24 +08:00
wangjiaming0909
d03a14506e fix fill wrong timestamp value 2024-06-28 17:31:49 +08:00
sima
6282ebef22 fix:[TD-30755] fix heap-buffer-overflow when no qualified data in pk's data block. 2024-06-28 09:20:42 +08:00
sima
96e3222726 fix:[TD-30730] fix mergejoin operator's timetruncate caculation on timezone. 2024-06-27 08:42:59 +08:00
Hongze Cheng
b761bd2e38 enh: port main change to 3.0 2024-06-26 10:32:15 +08:00
54liuyao
25b150af10 fix(stream):fill result immediately after delete data 2024-06-25 17:24:59 +08:00
Haojun Liao
c2ad0a6ec5
Revert "fix(stream):fill result immediately after delete data" 2024-06-25 16:53:32 +08:00
Haojun Liao
156e3ce109
Merge pull request #26267 from taosdata/fix/TD-30585
fix(stream):fill result immediately after delete data
2024-06-25 16:46:52 +08:00
54liuyao
4235045d72 adj delete range 2024-06-25 14:36:21 +08:00
54liuyao
41a85e80a3 calc end key 2024-06-24 17:19:38 +08:00
54liuyao
4f8dfe7522 fix(stream):fill dresultim mediately after delete data 2024-06-24 15:52:27 +08:00
54liuyao
2d7d144ca2 fix(stream):fill dresultimmediately after delete data 2024-06-24 10:56:26 +08:00
Hongze Cheng
9a97f976e9
Merge pull request #26178 from taosdata/feat/TS-4954-3.0
Feat/ts-4954-3.0-2
2024-06-20 15:07:13 +08:00
54liuyao
ecfb5e5f4c adj par name catch 2024-06-20 09:28:04 +08:00
dmchen
ec1e7c77d6 fix case 2024-06-17 12:40:23 +00:00
dmchen
e59e52d343 fix case 2024-06-17 10:44:53 +00:00
dapan1121
52060f5fba
Merge pull request #26144 from taosdata/fix/TD-30039/unexpectedUdfCreate
Fix/td 30039/unexpected udf create
2024-06-17 08:35:02 +08:00
dapan1121
e34a8b48df
Merge pull request #26008 from taosdata/fix/TS-4833/dataloaded
partition interval and limimt, dataload error
2024-06-17 08:32:19 +08:00
“happyguoxy”
65044b3964 colId init 2024-06-15 20:56:58 +08:00
factosea
19f6766c9a fix: blockAgg 2024-06-15 18:08:25 +08:00
facetosea
2044cec6ca test 2024-06-13 21:06:58 +08:00
factosea
d9043d6984 fix: unexpected udf function 2024-06-13 16:57:49 +08:00
facetosea
6da1215573 fix blockid 2024-06-13 14:48:02 +08:00
facetosea
ff24eaf94d fix: code review 2024-06-13 14:13:44 +08:00
dapan1121
13a0bf3fdf fix: count empty table with group by issue 2024-06-12 16:18:22 +08:00
dapan1121
e17cdf84c2 fix: count always true for group by tbname performance issue 2024-06-11 18:08:34 +08:00
Haojun Liao
895ee30cf3
Merge branch '3.0' into enh/opt_prj 2024-06-09 23:51:38 +08:00
“happyguoxy”
16ceacac2b fix: no tag value 2024-06-07 20:12:18 +08:00
“happyguoxy”
6d98a56778 fix group count 2024-06-07 16:49:29 +08:00
Haojun Liao
cbd9f86a34
Merge pull request #26065 from taosdata/fix/3_liaohj
fix(stream): always load the data for fill-history scan.
2024-06-07 14:01:50 +08:00
Haojun Liao
52e090634e fix(stream): transfer state before send checkpoint-trigger msg to downstream tasks. 2024-06-06 17:21:23 +08:00
Haojun Liao
29d34200b5 other: fix coverity issues. 2024-06-05 13:39:46 +08:00
Haojun Liao
c529ecc7d2
Merge pull request #25734 from taosdata/fix/3_liaohj
fix(stream): update the checkpoint info for followers, and some internal refactor.
2024-06-05 13:38:51 +08:00
Haojun Liao
8f1e999638
Merge pull request #26029 from taosdata/feat/ly_stream
set scan mode for stream
2024-06-05 10:51:38 +08:00
factosea
7a8e87f8cd fix: slot id 2024-06-04 19:05:19 +08:00
Haojun Liao
2ff79c81d7 enh(query): allocate the compress buffer before compress data. 2024-06-04 17:47:50 +08:00
Haojun Liao
3fc20f761f
Merge pull request #26021 from taosdata/fix/TD-30303
coverity scan for stream
2024-06-04 16:55:06 +08:00
Haojun Liao
6d7e1eb576 fix(query): check for the server ep and client ep to set the compress flag. 2024-06-04 15:07:02 +08:00
factosea
c42e627a41 test 2024-06-04 11:39:47 +08:00
54liuyao
5ab81da4a0 set scan mode for stream 2024-06-04 09:50:26 +08:00
Haojun Liao
0c8e9046f6
Merge pull request #26015 from taosdata/fix/TD-3036
adj stream count state buff
2024-06-03 19:03:24 +08:00
54liuyao
3e38c1f973 coverity scan for 2024-06-03 19:01:24 +08:00
54liuyao
1ad25599ca init delete mark 2024-06-03 16:41:38 +08:00
dapan1121
3c98aa1b3d
Merge pull request #26006 from taosdata/fix/3.0/TS-4879
fix exchange operator memory access problem
2024-06-03 16:30:18 +08:00
Haojun Liao
5a575dc53f
Merge pull request #25998 from taosdata/fix/TD-30343
when dst table has composite primary key, need to delete result
2024-06-03 16:25:32 +08:00
Haojun Liao
927e2237de Merge branch '3.0' into fix/3_liaohj 2024-06-03 15:56:02 +08:00
wangjiaming0909
6fcd071144 fix exchange operator memory access problem 2024-06-03 13:57:35 +08:00
dapan1121
affdeed944
Merge pull request #25909 from taosdata/feat/ly_tmq_batch_meta
optimize tmq snapshot meta
2024-06-03 10:19:57 +08:00
factosea
a6217eec03 partition interval and limimt, dataload error 2024-05-31 18:58:35 +08:00
54liuyao
a77c6940da when dst table has composite primary key, need to delete result 2024-05-31 15:22:38 +08:00
Haojun Liao
bd514fe4d3 other: merge rows. 2024-05-28 11:13:09 +08:00
54liuyao
7fc2e8cc26 batch meta 2024-05-28 10:17:20 +08:00
Haojun Liao
a9ca820b06 fix(query): check if pSliceIno->pPrevGroupKey is initialized or not. 2024-05-27 22:31:02 +08:00
Haojun Liao
d001a87a58 Merge remote-tracking branch 'origin/fix/3_liaohj' into fix/3_liaohj 2024-05-24 11:42:04 +08:00
Haojun Liao
89fb56e77d other: merge 3.0 2024-05-24 11:41:51 +08:00
54liuyao
441a150d66 optimize tmq snapshot meta 2024-05-23 17:35:54 +08:00
54liuyao
8ccfa728f8 set pk column 2024-05-23 16:17:15 +08:00
Haojun Liao
3baa4169e6 Merge branch '3.0' into fix/3_liaohj 2024-05-20 10:31:53 +08:00
wangjiaming0909
9ae476c147 fix event window operator forget filting having clause 2024-05-20 10:30:51 +08:00
Haojun Liao
d69d11a74f fix(query): fix bugs caused by refactor. 2024-05-19 12:30:18 +08:00
Haojun Liao
8f4da7f308 fix(query): fix bugs caused by refactor. 2024-05-18 23:11:18 +08:00
Haojun Liao
93292d8149 other: merge 3.0 2024-05-18 09:58:36 +08:00
Haojun Liao
937ded9f70 refactor(query): tune sink param. 2024-05-18 09:54:22 +08:00
Haojun Liao
43bec6c00f fix(query): fix error in refactor. 2024-05-18 09:47:31 +08:00
Haojun Liao
e7aa0ca177 fix(query): fix error. 2024-05-17 18:39:34 +08:00
Haojun Liao
a2692dbba4 refactor(query): opt memory prepare. 2024-05-17 17:51:41 +08:00
Haojun Liao
27c4e3634c refactor: do some internal refactor. 2024-05-17 17:04:05 +08:00
Haojun Liao
6e1fe0ae38 refactor: do some internal refactor. 2024-05-16 23:30:35 +08:00
Haojun Liao
5307f15766 refactor: do some internal refactor. 2024-05-16 19:54:29 +08:00
Haojun Liao
66254c96a7 fix(query):remove invalid assert. 2024-05-16 19:26:07 +08:00
54liuyao
7b50663240 optimize stream operator checkpoint 2024-05-16 16:24:58 +08:00
Haojun Liao
92b247e5b4 refactor: move compress data in query threads. 2024-05-16 15:55:48 +08:00
Haojun Liao
45d78aff8c enh(query): compress msg before sending. 2024-05-16 11:35:34 +08:00
54liuyao
4be4a04621 fix(meta scan):check system table scan result 2024-05-16 09:56:07 +08:00
Haojun Liao
4eacf86843 fix(tsdb): fix deadlock when stopping reader. 2024-05-14 19:20:19 +08:00
Haojun Liao
241f8b3d2e fix(tsdb): fix deadlock when stopping reader. 2024-05-14 18:05:13 +08:00
Haojun Liao
56a1e7e01f
Merge pull request #25727 from taosdata/fix/xftan/TD-29988-3.0
fix: build fails on macOS and Windows
2024-05-13 09:44:19 +08:00
Haojun Liao
d32a80a872 fix(query): set correct row index. 2024-05-11 17:05:56 +08:00
t_max
f030af3aab fix: build fails on macOS and Windows 2024-05-11 14:59:05 +08:00
Haojun Liao
c54751e7e2 fix(query): set the pk for interp query. 2024-05-11 11:11:09 +08:00
Haojun Liao
f8d8061260 refactor: do some internal refactor. 2024-05-11 11:08:51 +08:00
Shungang Li
7ae4415890 fix: refactor lastcache ser/des for compatibility 2024-05-09 19:04:11 +08:00
Haojun Liao
cbf994f04f fix(query): set correct length for json value. 2024-05-08 22:28:49 +08:00
Haojun Liao
81abf3fe6d refactor: do some internal refactor. 2024-05-08 19:04:50 +08:00
Haojun Liao
25d84ab7d3 refactor: do some internal refactor. 2024-05-08 18:41:57 +08:00
Haojun Liao
75e0ce8cbc fix(query): calculate the correct dst row length. 2024-05-08 18:25:56 +08:00
Haojun Liao
ca022259a0 fix(query): set correct row length for rowid sort. 2024-05-08 18:17:22 +08:00
Haojun Liao
6e832b68bd refactor: do some internal refactor. 2024-05-08 16:40:51 +08:00
Haojun Liao
f120a62434 refactor: do some internal refactor. 2024-05-08 16:37:31 +08:00
Haojun Liao
4f59754a63 refactor: do some internal refactor. 2024-05-08 16:22:02 +08:00
Haojun Liao
dc9452fb0a fix(sort): set correct output row index. 2024-05-08 16:21:48 +08:00
dapan1121
48296447ce
Merge pull request #25586 from taosdata/fix/3.0/TD-29870
fix scanoperator using sma info of last group
2024-04-29 21:45:00 +08:00
Haojun Liao
ed73617cc3
Merge pull request #25575 from taosdata/fix/3_liaohj
fix(tsdb): set the correct start pos for binary search.
2024-04-29 16:48:01 +08:00
wangjiaming0909
94fc209d7d fix scanoperator using sma info of last group 2024-04-29 16:17:04 +08:00
Haojun Liao
b0ef022e87 fix(tsdb): set the correct start pos for binary search. 2024-04-29 15:13:52 +08:00
wangjiaming0909
5bab2db71f fix count return negative value when loading sma 2024-04-29 10:43:26 +08:00
Haojun Liao
b3d2ccec83
Merge pull request #25483 from taosdata/fix/3_liaohj
fix(query): add ts in cache_scan_operator if pk exists and only retri…
2024-04-25 22:32:26 +08:00
Hongze Cheng
e6db086365
Merge pull request #25478 from taosdata/fix/TD-29781-3.0
fix: sys scan user tags
2024-04-25 11:38:36 +08:00
Haojun Liao
ac860f7fe8 fix(query): add ts in cache_scan_operator if pk exists and only retrieve ts column. 2024-04-25 09:29:42 +08:00
54liuyao
403a877564 set pk length 2024-04-25 08:52:29 +08:00
kailixu
1348a98118 fix: sys scan user tags 2024-04-24 19:16:25 +08:00
54liuyao
2a72ceadd1 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-04-24 18:57:22 +08:00
Haojun Liao
3b08ee3d16
Merge pull request #25458 from taosdata/fix/3_liaohj
fix(stream): add task update trans conflict level.
2024-04-24 18:54:06 +08:00
54liuyao
85cd290aa5 opt bloom filter 2024-04-24 18:40:39 +08:00
54liuyao
3300bf04c1 opt bloom filter 2024-04-24 17:27:24 +08:00
Haojun Liao
e5c679d280
Merge pull request #25453 from taosdata/fix/TD-29701
fix(stream):mem leak
2024-04-23 19:50:07 +08:00
Haojun Liao
ace5e12e65 fix(tsdb): set the correct lflag when creating tsdbCache reader. 2024-04-23 19:25:51 +08:00
54liuyao
cdaa5f9801 fix(stream):mem leak 2024-04-23 15:40:50 +08:00
Haojun Liao
7fda9d9fcb Merge branch '3.0' into fix/3_liaohj 2024-04-23 15:08:43 +08:00
Haojun Liao
b0f68a9147 refactor: do some internal refactor. 2024-04-23 14:58:51 +08:00
Haojun Liao
cda0087d40
Merge pull request #25437 from taosdata/fix/TD-29721
fix(stream):save invalid delete info for final interval op
2024-04-23 14:13:48 +08:00
dapan1121
07e01b3e97
Merge pull request #25386 from taosdata/fix/3.0/TD-29631
fix cancel create tsma memory use after free
2024-04-23 13:17:55 +08:00
54liuyao
0c62f5417a save invalid delete info for final interval op 2024-04-22 18:05:35 +08:00
Haojun Liao
b6316c2692
Merge pull request #25432 from taosdata/fix/TD-29688
fix(stream):add option for update data
2024-04-22 14:57:28 +08:00
wangjiaming0909
f971cfb778 1. fix stream wrong group id for new child tables.
2. fix md5 function wrong bytes returned
2024-04-22 14:00:06 +08:00
54liuyao
2d48c2c993 fix(stream):add option for update data 2024-04-22 10:41:01 +08:00
Haojun Liao
00fa4e7f0c fix(tsdb): set correct pk info when creating cache scan operator. 2024-04-22 09:26:12 +08:00
Haojun Liao
b75e77cb15 refactor: do some internal refactor. 2024-04-19 19:13:07 +08:00
dapan1121
5936d3a1b0
Merge pull request #25300 from taosdata/draft/tsma_before_ci
feat: support tsma
2024-04-17 10:00:17 +08:00
dapan1121
e7a43b4e58 fix: projection limit 0 issue 2024-04-16 18:47:03 +08:00
wangjiaming0909
d1101a0325 support filter out tsma res tbs when show stables/tables 2024-04-16 14:23:26 +08:00
wangjiaming0909
fa85d1caa7 support other tsma funcs 2024-04-16 14:23:25 +08:00
wangjiaming0909
70ca830378 support recursive tsma creation 2024-04-16 14:17:12 +08:00
wangjiaming0909
1509ce04cf test tsma 2024-04-16 14:17:12 +08:00
dapan1121
7621d72e04
Merge branch '3.0' into feat/TD-27337 2024-04-16 13:33:25 +08:00
dapan1121
29243ea839 fix: windows compile issue 2024-04-16 11:29:19 +08:00
dapan1121
55d118d17c Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-16 09:12:04 +08:00
Haojun Liao
13bd296d58 Merge branch '3.0' into fix/3_liaohj 2024-04-15 18:53:48 +08:00
Haojun Liao
1ac192c069 fix(stream): keep the original tsdb scan version range. 2024-04-15 18:41:38 +08:00
dapan1121
6d4f0b2ceb fix: asof jlimit issue 2024-04-15 16:12:12 +08:00
dapan1121
168769830f fix: invalid read issue 2024-04-15 09:52:35 +08:00
dapan1121
319ab5f2c2 enh: support hash join 2024-04-12 15:44:23 +08:00
yihaoDeng
e3acb10acd Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-12 11:10:00 +08:00
Haojun Liao
27dd0349bc
Merge branch '3.0' into feat/TS-4243-3.0 2024-04-12 09:17:06 +08:00
Haojun Liao
5372988bb4
Merge pull request #25341 from taosdata/fix/3_liaohj
fix(query): check the rows before apply the agg in session window.
2024-04-12 09:15:52 +08:00
Haojun Liao
f2ccb8aa7e fix(stream): add lock when retrieving info from the tableGroup struct 2024-04-11 22:54:35 +08:00
Haojun Liao
efdd0c8a2a refactor: do some internal refactor. 2024-04-11 22:34:47 +08:00
Haojun Liao
b60cc321f3 fix(tsdb):add some logs. 2024-04-11 19:35:14 +08:00
Haojun Liao
8f92dc614d fix(tsdb):add some logs. 2024-04-11 19:01:23 +08:00
Haojun Liao
14242331b9 fix(tsdb): fix error in decode key. 2024-04-11 17:25:58 +08:00
wangmm0220
2478519c5d Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-11 17:16:16 +08:00
Haojun Liao
b4ea80b637 fix(tsdb): prepare the pk buf for blocks generated by reader. 2024-04-11 17:09:07 +08:00
Haojun Liao
a951af2492 fix(query): check the rows before apply the agg in session window. 2024-04-11 16:21:41 +08:00
wangmm0220
f609a45dd2 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-11 16:21:14 +08:00
wangmm0220
14531fbf7b fix:filter data error & add test case 2024-04-11 16:20:28 +08:00
Haojun Liao
1320c1c0e1 Merge remote-tracking branch 'origin/feat/TS-4243-3.0' into feat/TS-4243-3.0 2024-04-11 15:57:18 +08:00
Haojun Liao
eaf44ec603 fix(tsdb):set the initial size of pk in ssdatablock. 2024-04-11 15:57:04 +08:00
54liuyao
1d42e927c6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-11 15:35:42 +08:00
Haojun Liao
a2a237a4b0 fix(query): avoid process data that belongs to the next session window. 2024-04-11 14:31:48 +08:00
dapan1121
86db8efcda enh: support hash join 2024-04-10 19:27:36 +08:00
kailixu
507e40ddb7 enh: primary key column should not be null 2024-04-10 18:56:55 +08:00
kailixu
7f11a3682b enh: primary key column should not be null 2024-04-10 18:41:20 +08:00
54liuyao
c6d492d3fd set ts column index for function 2024-04-10 17:41:59 +08:00
Haojun Liao
ded66fc4e5 Merge branch 'feat/TS-4243-3.0' of github.com:taosdata/tdengine into feat/TS-4243-3.0 2024-04-10 16:43:54 +08:00
wangmm0220
539d1f441f Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-10 16:41:15 +08:00
54liuyao
26fb2ee2b8 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-04-10 15:36:01 +08:00
54liuyao
e161556f51 set ts column index for function 2024-04-10 15:35:25 +08:00
Minglei Jin
dcd9901d5f Merge branch '3.0' into feat/TS-4243-3.0 2024-04-10 11:18:19 +08:00
Haojun Liao
980382d433 fix(tsdb): fix memory error. 2024-04-10 11:18:08 +08:00
dapan1121
5091247957
Merge pull request #25232 from taosdata/feat/TD-29093/2
Feat/td 29093/2
2024-04-10 09:18:15 +08:00
wangmm0220
da6eda6912 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-09 13:44:09 +08:00
54liuyao
9ed74085d8 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-09 09:16:57 +08:00
kailixu
fcb605cac6 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-08 18:23:23 +08:00
kailixu
7d34c767e9 fix: insert from select and sort merge 2024-04-08 18:23:16 +08:00
Haojun Liao
5ed81f9cab fix(tsdb): prepare pk buf 2024-04-08 18:04:06 +08:00
54liuyao
53265e9e09 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-08 17:24:09 +08:00
54liuyao
858d61072e check preversion data 2024-04-08 17:23:46 +08:00
54liuyao
3ba45df0a0 check pk column 2024-04-08 09:22:05 +08:00
54liuyao
3b00729cf0 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-08 09:10:34 +08:00
Haojun Liao
96fc85017b fix(query): fix error in interp 2024-04-07 16:51:40 +08:00
Haojun Liao
16c17bbf72 fix(tsdb): fix error in tsdbread. 2024-04-07 14:46:22 +08:00
dapan1121
b7de83b086
Merge pull request #25253 from taosdata/fix/3.0/TS-4624
fix taosd crash query ins_tags with empty nchar tag
2024-04-07 14:06:15 +08:00
dapan1121
6d52120bf7 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-04-07 13:54:39 +08:00
dapan1121
337f39191e fix: eliminate project issue 2024-04-03 18:35:50 +08:00
yihaoDeng
a0bf82878d free handle 2024-04-03 09:11:49 +00:00
wangjiaming0909
c2afd95c4e fix taosd crash query ins_tags with empty nchar tag 2024-04-03 10:07:02 +08:00
dapan1121
4217223a6a fix: join merge block issue 2024-04-03 09:54:49 +08:00
54liuyao
537395e845 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-03 09:54:10 +08:00
kailixu
cc660de9d0 chore: error prompt for null primary key column 2024-04-03 08:14:30 +08:00
kailixu
f6dc3205ee Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-04-02 17:33:19 +08:00
kailixu
adb6de0595 fix: null value check for target column with pk 2024-04-02 17:33:11 +08:00
Haojun Liao
5a546e37d7 fix(query): set correct forward step for twa query. 2024-04-02 16:10:42 +08:00
dapan1121
5934a137dd fix: group cache fetch issue 2024-04-02 16:09:32 +08:00
Haojun Liao
94e6f96a75 other: merge 3.0 2024-04-02 13:39:26 +08:00
54liuyao
204c5acefe Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-02 09:10:52 +08:00
factosea
3257c7c082 fix: tag is null when table is empty 2024-04-01 19:44:26 +08:00
54liuyao
2e11f3674d Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-01 18:35:44 +08:00
54liuyao
5369448bda adj log 2024-04-01 16:43:36 +08:00
54liuyao
a65ce818de add ci 2024-04-01 16:20:45 +08:00
wangmm0220
862015d261 fix:add pk flag for table condition in tsdb reader 2024-04-01 16:15:34 +08:00
dapan1121
0fb672d8a6 enh: optimize join performance 2024-04-01 15:24:12 +08:00
wangmm0220
fe7a42b118 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-04-01 09:11:39 +08:00
54liuyao
1405b30677 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-04-01 09:09:48 +08:00
Haojun Liao
55bb6ab341 fix(tsdb): set correct initial value for compare 2024-03-29 18:15:03 +08:00
slzhou
b504627830 fix: new group block to reset func input iter hasPrev 2024-03-29 17:01:56 +08:00
54liuyao
ea33f08d02 add ic 2024-03-29 13:52:56 +08:00
dapan1121
26a93847c3 enh: optimize outer join 2024-03-29 08:28:33 +08:00
54liuyao
28cda4dc81 add ci 2024-03-28 15:07:26 +08:00
54liuyao
65457d2cf4 delete data for scalar function 2024-03-28 14:16:19 +08:00
dapan1121
74cef4ac6b fix: window join filter issue 2024-03-28 13:45:55 +08:00
54liuyao
0a206f5819 add log 2024-03-28 09:32:24 +08:00
54liuyao
3dd7f0731e Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-28 09:11:36 +08:00
slzhou
43cefb9d55 feat: find pk col from interp func node for interp operator 2024-03-27 16:26:47 +08:00
54liuyao
715489e22d Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-27 09:14:50 +08:00
54liuyao
93edc9d1ff read preversion data of primary key 2024-03-26 17:36:37 +08:00
Haojun Liao
f61596706d fix(tsdb): add attributes for cache scan optr. 2024-03-26 17:34:30 +08:00
54liuyao
aa9962318f read preversion data of primary key 2024-03-26 16:38:24 +08:00
dapan1121
b688f328d1 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-26 08:42:53 +08:00
kailixu
e5abe34c84 fix: replace strdup for release build 2024-03-25 21:34:31 +08:00
54liuyao
aad3a43530 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-25 16:30:47 +08:00
dapan1121
42b0d00575 enh:support join type 2024-03-25 15:19:16 +08:00
slzhou
4d3eb6824c feat: add pk support for last/first/last_row dynDataRequired 2024-03-25 13:38:34 +08:00
54liuyao
a02535c3ab Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-25 11:15:21 +08:00
dapan1121
61fa803085 fix: windows compile issue 2024-03-23 20:28:17 +08:00
dapan1121
91d3848c71 fix: case issue 2024-03-23 20:24:50 +08:00
wangmm0220
912cb09839 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq 2024-03-22 18:22:13 +08:00
Haojun Liao
ef6ea16d64 other: merge 3.0 2024-03-22 17:57:25 +08:00
Haojun Liao
9f492a8962 other: merge 3.0 2024-03-22 17:53:11 +08:00
wangmm0220
f1853ced26 feat:[TS-4243] add logic for primark key in tmq 2024-03-22 17:48:59 +08:00
slzhou
3426bb2870 fix: free the supplementy blocks array of merge tree 2024-03-22 15:58:39 +08:00
slzhou
4231b87158 feat: para_tables_sort table merge scan support ordering by ts and pk 2024-03-22 15:49:05 +08:00
slzhou
fdff529860 feat: the table merge scan operator supports order by ts and pk 2024-03-22 14:19:43 +08:00
kailixu
fb2667d92d fix: sys table scan and meta query 2024-03-22 10:33:46 +08:00
Haojun Liao
ecd09059f5 fix(tsdb): fix error in reading data from file block 2024-03-22 10:16:56 +08:00
dapan1121
3835a5b349 fix: error log and union issue 2024-03-22 08:47:07 +08:00
54liuyao
680f96156f Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-22 08:37:42 +08:00
Haojun Liao
8bdd12c3a8 refactor: do some internal refactor. 2024-03-21 17:47:40 +08:00
Haojun Liao
f58902180a fix(query): fix syntax error. 2024-03-21 15:51:39 +08:00
Haojun Liao
6b2821cd28 fix(query): not lock when reading meta, and do some internal refactor. 2024-03-21 15:45:28 +08:00
kailixu
e18f056c9f enh: meta pause/resume for sys table scan 2024-03-21 10:52:00 +08:00
54liuyao
7a0ec25912 Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/ly-TS-4243-3.0 2024-03-21 10:50:29 +08:00
54liuyao
a60f390cdc stream primary key 2024-03-21 10:50:07 +08:00
Haojun Liao
b12e65d144 fix(tsdb): set pk column index. 2024-03-21 09:37:46 +08:00
slzhou
bb24a8e3ca feat: add pk as default col and add pk as sortinfo for table merge scan 2024-03-20 15:46:54 +08:00
dapan1121
1c0d20a2a4 enh: add test cases 2024-03-20 15:45:24 +08:00
slzhou
1da0def82d fix: add isPk to SColumnNode 2024-03-20 13:09:59 +08:00
dapan1121
2ce880f48c fix: memory leak issues 2024-03-19 17:05:44 +08:00
dapan1121
dcc650521a Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-19 16:04:15 +08:00
dapan1121
abd36b0b1a enh: support timeline processing 2024-03-19 16:01:14 +08:00
shenglian zhou
cee96e2048 feat: begin coding function 2024-03-19 13:57:12 +08:00
kailixu
12a111d7dd Merge branch '3.0' into fix/TS-4421-3.0 2024-03-18 00:24:33 +08:00
dapan1121
062bdf686e
Merge pull request #25102 from taosdata/fix/TS-4563
fix:[TS-4563]retrieve data error from wal if colid is bigger in tmq
2024-03-17 16:52:29 +08:00
Haojun Liao
74d7a0bd3e
Merge pull request #25112 from taosdata/fix/3_liaohj
fix(meta): fix repeatly reader lock for tsdb meta.
2024-03-16 23:57:55 +08:00
Haojun Liao
93c808326b fix(meta): fix repeatly reader lock for tsdb meta. 2024-03-16 22:03:46 +08:00
dapan1121
6e674bc1de Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-15 18:11:37 +08:00
dapan1121
1c8dcaf46c enh: support timeline functions 2024-03-15 18:10:08 +08:00
wangmm0220
5f687f0d88 fix:[TS-4563]retrieve data error from wal if colid is bigger in tmq 2024-03-15 15:59:03 +08:00
kailixu
a5f06114fd Merge branch '3.0' into fix/TS-4421-3.0 2024-03-15 13:17:32 +08:00
Haojun Liao
f4d01bcab6
Merge pull request #24811 from taosdata/fix/TD-28627
mid agg operator
2024-03-15 12:46:54 +08:00
kailixu
33405b67b6 fix: show tags for varbinary 2024-03-15 07:02:11 +08:00
kailixu
569d8e6d33 chore: test case for insert syntax and fix of show tags for varbinary/geometry 2024-03-15 02:18:19 +08:00
Haojun Liao
8e2d6d52f9
Merge pull request #25080 from taosdata/fix/ly_event_mem_leak
stream event window mem leak
2024-03-14 10:16:28 +08:00
54liuyao
9de0643566 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-28627 2024-03-14 09:56:16 +08:00
Haojun Liao
2466e169a0
Merge pull request #25067 from taosdata/fix/TD-29073
open operator after resume stream
2024-03-13 17:43:13 +08:00
54liuyao
c13338d965 stream event window mem leak 2024-03-13 16:16:44 +08:00
Hongze Cheng
d9db5b015c Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-13 13:31:59 +08:00
dapan1121
b96cfab82f
Merge pull request #24998 from taosdata/szhou/tms/region-block
feat: tms region block
2024-03-13 09:12:35 +08:00
slzhou
5c691685ba fix: review comments 2024-03-12 16:53:56 +08:00
dapan1121
ceb96856f8
Merge pull request #25038 from taosdata/fix/TD-28961
ignore ouput group id for project
2024-03-12 16:38:25 +08:00
54liuyao
3835e0c156 open operator after resume stream 2024-03-12 16:35:55 +08:00
Hongze Cheng
6189ebabef Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-12 15:19:02 +08:00
54liuyao
9ba7221910 use non sort merge 2024-03-12 15:05:54 +08:00
54liuyao
14c6dbd2af use non sort merge 2024-03-12 11:45:54 +08:00
54liuyao
4b9d74cf45 add some log 2024-03-11 19:12:29 +08:00
dapan1121
3f36f7ea52 enh: support desc join 2024-03-08 16:23:41 +08:00
shenglian zhou
3db2c1edf5 feat: add hint smalldata_ts_sort to disable row id sort 2024-03-08 14:36:55 +08:00
Hongze Cheng
fbc52d2a9c Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-08 13:15:11 +08:00
slzhou
a42a897c85 enhance: assert the region offset is keep increasing 2024-03-08 10:47:32 +08:00
54liuyao
37071e0cfb do some stream fill refactor 2024-03-07 18:43:35 +08:00
Hongze Cheng
8853522131 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-07 14:41:03 +08:00
slzhou
f690e5cfb9 fix: add error processing 2024-03-07 14:26:46 +08:00
slzhou
53aa45e225 Revert "feat: use tdfile api"
This reverts commit ffc8c8d148.
2024-03-07 11:31:02 +08:00
Haojun Liao
f4265092ce
Merge pull request #25012 from taosdata/fix/TD-28997
load operator checkpoint
2024-03-07 11:06:55 +08:00
slzhou
ffc8c8d148 feat: use tdfile api 2024-03-07 09:52:56 +08:00
Hongze Cheng
57d065e380 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-07 09:07:14 +08:00
dapan1121
46ea22eecb Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-03-06 13:12:01 +08:00
dapan1121
7045126aa6 fix: inner join issue 2024-03-06 11:18:57 +08:00
dapan1121
3afec5e224 fix: join table fetch error 2024-03-06 10:46:38 +08:00
slzhou
4f8ff5b1a6 feat: remove seek when write to file and use a small write buf 2024-03-06 09:44:14 +08:00
54liuyao
bd430a031a load operator checkpoint 2024-03-05 19:37:54 +08:00
54liuyao
57baceeeaf load operator checkpoint 2024-03-05 19:14:20 +08:00
54liuyao
4d1b556bc5 load operator checkpoint 2024-03-05 18:54:07 +08:00
Hongze Cheng
5103880397 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-04 19:25:34 +08:00
facetosea
aaa1c1d4a8 fix: memleak 2024-03-04 16:32:37 +08:00
shenglian zhou
b6095261f2 feat: ordered region and blocks 2024-03-04 15:42:14 +08:00
Hongze Cheng
c8280e05dd Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-03-03 16:01:34 +08:00
WANG MINGMING
64656a1db9
Merge branch '3.0' into fix/TD-28627 2024-03-01 18:03:28 +08:00
dapan1121
f13c9d2ca4 fix: merge join timetruncate issue 2024-03-01 09:49:59 +08:00
dapan1121
e17518e07f Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-29 17:55:17 +08:00
dapan1121
85cca872a5 enh: support timetruncate function 2024-02-29 17:52:53 +08:00
dapan1121
0a627e7be8
Merge pull request #24947 from taosdata/fix/ly_count
fix count window issue
2024-02-29 16:42:05 +08:00
Hongze Cheng
a6c7d5fcf4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-29 15:00:25 +08:00
54liuyao
fa45a5abd2 fix count window issue 2024-02-29 14:04:59 +08:00
dapan1121
25872193b3
Merge pull request #24939 from taosdata/szhou/fix/td-28900
fix: no memory trim when no para tables scan
2024-02-29 14:02:08 +08:00
54liuyao
02379524a1 fix count window issue 2024-02-29 11:30:16 +08:00
slzhou
049f27bf3e fix: use C File API 2024-02-29 09:47:16 +08:00
slzhou
e81afaf0a2 fix: no memory trim when no para tables scan 2024-02-29 09:12:15 +08:00
WANG MINGMING
bf17556c59
Merge branch '3.0' into fix/TD-28627 2024-02-28 17:07:52 +08:00
slzhou
2fb0c1a00f feat: check temp space availability 2024-02-28 14:31:31 +08:00
slzhou
67559afcae fix: check ret value of lseek 2024-02-28 14:29:30 +08:00
slzhou
4474fcdd69 fix: add error processing related to files 2024-02-28 11:11:42 +08:00
dapan1121
479279b75e fix: block data load issue 2024-02-27 18:55:21 +08:00
dapan1121
521c96913e Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-27 18:20:45 +08:00
dapan1121
8a2b4e2d86 enh: support group join 2024-02-27 18:18:25 +08:00
54liuyao
0e522fbf5a set history task param 2024-02-27 16:30:38 +08:00
slzhou
d021138f3b remove sort by row id and comments 2024-02-27 09:47:55 +08:00
Hongze Cheng
2c1f978fd2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-27 09:26:37 +08:00
dapan1121
2a00b154e7
Merge pull request #24875 from taosdata/szhou/fix/td-28544
fix: return error code instead of just out of memory
2024-02-27 08:31:29 +08:00
slzhou
dc6d96da70 fix: remove taosMemoryTrim when free write buf 2024-02-26 16:45:15 +08:00
Hongze Cheng
98eeef9d07 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-26 16:40:05 +08:00
Hongze Cheng
8a669d3adc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-26 10:48:14 +08:00
54liuyao
5c4f0ae053 set max delay info 2024-02-26 10:26:28 +08:00
shenglian zhou
ca6ed89f6f fix: return error code instead of just out of memory 2024-02-26 10:24:59 +08:00
Haojun Liao
ac47fc693c
Merge pull request #24871 from taosdata/fix/TD-28813-bk
reset close window state
2024-02-26 10:14:05 +08:00
dapan1121
93ffdd856a
Merge pull request #24845 from taosdata/feat/ly_count_window
count window support having
2024-02-26 09:35:31 +08:00
54liuyao
176afbb74a reset close window state 2024-02-25 20:07:04 +08:00
54liuyao
9d560c494d reset close window state 2024-02-25 19:56:38 +08:00
54liuyao
27219f70af reset close window state 2024-02-25 19:30:56 +08:00
54liuyao
24ec06bfe4 reset close window state 2024-02-25 19:28:46 +08:00
dapan1121
97aca25633 enh: support group join 2024-02-23 17:59:45 +08:00
Hongze Cheng
a6423b7816 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-23 14:47:10 +08:00
slzhou
830de66111 fix: compilation error and force sort by row id for CI 2024-02-23 13:55:10 +08:00
slzhou
ca6d10cdda Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-23 11:29:12 +08:00
dapan1121
fb953e439d
Merge pull request #24831 from taosdata/szhou/fix/3.0/td-28742
fix: free datablocks that is skipped decided by firt row ts
2024-02-23 11:18:42 +08:00
54liuyao
d3dd15e621 count window support having 2024-02-23 11:18:29 +08:00
slzhou
754a15cac8 feat: change from FILE* to TDFilePtr 2024-02-23 10:55:19 +08:00
54liuyao
c7a50acd63 rebuild sliding window 2024-02-23 09:05:30 +08:00
dapan1121
a745319b81 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-23 08:59:16 +08:00
slzhou
3fb6ed8a42 feat: free write buf after reading all blocks 2024-02-23 08:35:01 +08:00
slzhou
fbc1d6244f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-23 08:26:22 +08:00
slzhou
0ae2e2905d fix: change fseek to fseeko for 64 bit offset 2024-02-23 08:24:16 +08:00
dapan1121
807bba9215 fix: window join issues 2024-02-22 18:59:10 +08:00
slzhou
c859213ce5 fix: free datablocks that is skipped decided by firt row ts 2024-02-22 15:35:03 +08:00
54liuyao
8c6ea4079c delete invalid result 2024-02-22 14:15:35 +08:00
dapan1121
3c7923a77e
Merge pull request #24806 from taosdata/szhou/tms/port-3
feat: add para_tables_sort hint document and change typo error
2024-02-22 13:56:09 +08:00
slzhou
b5bc45c73b fix: save to ext mem file only when sort by row id 2024-02-22 11:21:44 +08:00
slzhou
a769bc7217 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-22 10:03:47 +08:00
slzhou
9e1446aa88 fix: initialize result block 2024-02-22 10:03:29 +08:00
Hongze Cheng
a9e3ca41a9 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-3.0 2024-02-22 09:39:48 +08:00
54liuyao
d5259c8983 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-28627 2024-02-22 09:23:00 +08:00
54liuyao
aabab3b4f7 init mid op 2024-02-21 19:12:34 +08:00
54liuyao
9739b9feb6 set group id of delete range 2024-02-21 16:22:51 +08:00
54liuyao
53a4294e4c mid agg operator 2024-02-21 14:48:16 +08:00
Hongze Cheng
4b71031014 more code 2024-02-21 14:29:10 +08:00
shenglian-zhou
955d3df15e
Merge branch '3.0' into szhou/tms-wc/save-row-simplebuf 2024-02-21 10:12:52 +08:00
dapan1121
ba41231373
Merge pull request #24614 from taosdata/szhou/tms/port-3
feat: multi-readers and one merge tree
2024-02-21 10:00:52 +08:00
dapan1121
98ed2458ea Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-20 17:39:51 -08:00
dapan1121
c4dbae3a5a enh: add window join ut 2024-02-20 17:13:29 -08:00
slzhou
73cced005d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3 2024-02-20 13:22:45 +08:00
slzhou
b3c4fe489f feat: remove todo 2024-02-20 13:22:35 +08:00
shenglian zhou
ee7edac825 Merge branch 'szhou/tms-wc/save-row-simplebuf' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-20 11:27:46 +08:00
shenglian zhou
73695f2431 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-20 11:25:58 +08:00
dapan1121
617494fd32
Merge pull request #24721 from taosdata/szhou/fix/mergelimit-oom
fix: when rows is greater than merge limit, skip the block
2024-02-20 09:09:45 +08:00
Haojun Liao
46b1fe520f
Merge pull request #24538 from taosdata/feat/TD-22023
stream count window
2024-02-20 08:50:25 +08:00
dapan1121
b26716f2e8 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-02-18 22:15:43 -08:00
54liuyao
b53dc5602e Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-02-19 10:58:20 +08:00
Haojun Liao
e62dd2ff5c refactor: do some internal refactor. 2024-02-19 10:31:25 +08:00
54liuyao
05eaa90c11 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-19 08:59:15 +08:00
wangmm0220
a8e45440c0 fix:conflicts from 3.0 2024-02-18 18:02:14 +08:00
54liuyao
e2352875fe mid pull over 2024-02-07 14:43:04 +08:00
54liuyao
6e19f452ce mid pull over 2024-02-07 13:55:01 +08:00
54liuyao
b66260d4e9 mid pull over 2024-02-07 13:29:29 +08:00
54liuyao
5473c22585 mid pull over 2024-02-07 11:30:13 +08:00
54liuyao
9b9ddd9159 batch count window 2024-02-06 17:19:12 +08:00
wangmm0220
871ebfa7ba Merge branch '3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-06 14:02:46 +08:00
54liuyao
eaf10fcb43 count window fill history 2024-02-05 18:37:24 +08:00
wangmm0220
5796f411e4 Merge branch 'mark/3.0' of https://github.com/taosdata/TDengine into mark/3.0 2024-02-05 17:08:05 +08:00
wangmm0220
a656d75ca7 opti:consume data excluded from some source 2024-02-05 17:07:50 +08:00
54liuyao
891249191e stream count window 2024-02-05 16:01:46 +08:00
54liuyao
c588770699 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 15:10:34 +08:00
54liuyao
08cb46ac3e stream count window check point 2024-02-05 15:10:03 +08:00
Haojun Liao
6478e167af
Merge pull request #24725 from taosdata/fix/ly_max_delay
max delay
2024-02-05 10:52:33 +08:00
54liuyao
b16fc7d9df Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-02-05 10:15:59 +08:00
Haojun Liao
7b48ac9e2e
Merge pull request #24732 from taosdata/fix/TD-28461
reset group id for event window
2024-02-05 09:07:09 +08:00
Haojun Liao
2e79c766fa
Merge pull request #24731 from taosdata/fix/3_liaohj
fix(tsdb): check and return if the rows in stt are before the data rows in data files.
2024-02-05 09:00:32 +08:00
slzhou
ac0796edce Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row-simplebuf 2024-02-04 22:51:20 +08:00
slzhou
83e44f0735 fix: more big batch writes than page writes 2024-02-04 22:36:25 +08:00
slzhou
247bfae039 fix: use fseeko 2024-02-04 21:12:19 +08:00
slzhou
18366934c3 fix: use c api 2024-02-04 20:16:19 +08:00
slzhou
23bd2aa525 fix: first pass 2024-02-04 17:51:29 +08:00
slzhou
8e0f578dba fix: memory leak 2024-02-04 16:57:48 +08:00
slzhou
fa55a32e77 fix: pass compilation 2024-02-04 16:53:47 +08:00
shenglian zhou
539736cfc9 fix: first version of mem file= 2024-02-04 16:30:34 +08:00
54liuyao
ea9353b9fd merge 3.0 2024-02-04 16:04:23 +08:00
54liuyao
d63448be72 reset group id for event window 2024-02-04 15:44:49 +08:00
shenglian zhou
d236f7c9cc enhance: error processing 2024-02-04 09:20:28 +08:00
dapan1121
9b008716fe enh: add window join ut 2024-02-02 16:06:01 +08:00
54liuyao
54f216b6c6 add ci 2024-02-02 15:20:56 +08:00
54liuyao
2ac374b2e0 max delay 2024-02-02 15:20:56 +08:00
shenglian zhou
ba33907776 fix: remove pages block using disk 2024-02-02 15:00:09 +08:00
shenglian zhou
f77b602da9 fix: change from seq_blocks_sort to para_tables_sort 2024-02-02 14:45:04 +08:00
slzhou
3d4764b383 fix: when rows is greater than merge limit, skip the block 2024-02-02 13:22:48 +08:00
Haojun Liao
3236ef7bae feat(stream): return the stream source task exec delay, and do some internal refactor. 2024-02-02 11:26:47 +08:00
54liuyao
4f2fb15a56 delete log 2024-02-01 18:07:19 +08:00
Haojun Liao
0fe9c05c5f
Merge pull request #24704 from taosdata/fix/3_liaohj
fix(stream): take ver snapshot for all vgroups
2024-02-01 17:07:36 +08:00
54liuyao
a6a312a1a6 fix issue 2024-02-01 16:44:00 +08:00
slzhou
bcba3007dc fix: query and free RSS quickly 2024-02-01 16:40:53 +08:00
dapan1121
ab87953362 enh: support window join 2024-02-01 14:58:08 +08:00
Haojun Liao
cb2ea4a721 fix(stream): take ver snapshot for all vgroups before launching stream with fill-history option opened. 2024-02-01 11:37:57 +08:00
wangmm0220
a9fcc67321 fix:conflicts from 3.0 2024-02-01 11:13:03 +08:00
shenglian zhou
87e2027475 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3-fe 2024-02-01 09:38:54 +08:00
shenglian zhou
7dcb477933 feat: add front end for ordered blocks in mem sort 2024-02-01 09:38:35 +08:00
54liuyao
0afed5263e add mid operator retrive 2024-01-31 18:09:13 +08:00
factosea
be38b58970 fix: don't wait when tsort close 2024-01-31 16:15:30 +08:00
slzhou
3facbd43db feat: first commit to optimize out tpagedbuf 2024-01-31 13:10:42 +08:00
dapan1121
e0583cb343
Merge pull request #24661 from taosdata/fix/xsren/TD-28453/countOnNullTag
fix: count error on tag which is null
2024-01-31 09:30:28 +08:00
factosea
9c0d2e603a reset blankFill 2024-01-30 20:24:59 +08:00
dapan1121
50c420e6b9 enh: support window join 2024-01-30 19:19:44 +08:00
Haojun Liao
556baed25d other: merge 3.0 2024-01-30 18:35:59 +08:00
factosea
5d731dc9a4 fix: use blank data flag 2024-01-30 17:34:06 +08:00
Haojun Liao
4970040459 refactor: do some internal refactor. 2024-01-30 15:22:49 +08:00
slzhou
b27bf263af fix: calcualte row bytes once 2024-01-30 10:26:24 +08:00
dapan1121
4a516556a9 enh: add right asof join test cases 2024-01-30 08:49:34 +08:00
dapan1121
dc309d67b8 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-29 17:08:41 +08:00
dapan1121
32b16bd6e7 enh: fix asof bugs 2024-01-29 16:58:08 +08:00
54liuyao
d7fb8db086 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-01-29 16:13:39 +08:00
factosea
b9927cce14 fix: count error on tag which is null 2024-01-29 16:04:08 +08:00
shenglian-zhou
afa70e5aed
Merge branch '3.0' into szhou/tms-wc/save-row 2024-01-29 15:27:13 +08:00
slzhou
af422e77c6 fix: restore pseudo column pData and not skip and data block cleanup 2024-01-29 14:36:40 +08:00
slzhou
7d0edcc54e fix: fix memory sanitizer error 2024-01-29 12:56:48 +08:00
slzhou
6849ccd280 fix: pre-allocated columns has no data 2024-01-29 11:02:38 +08:00
slzhou
08c2891d50 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3 2024-01-29 10:32:36 +08:00
dapan1121
5cf16dea84
Merge pull request #24584 from taosdata/szhou/feat/td-28228
feat: extract rows within limit before sort to disk
2024-01-29 08:47:46 +08:00
slzhou
c5c833380c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wc/save-row 2024-01-29 08:13:06 +08:00
Haojun Liao
bfbd61a02f
Merge pull request #24634 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2024-01-26 18:08:54 +08:00
slzhou
f19e66909d fix: only deep cleanup datablock when not inmem reader 2024-01-26 17:01:08 +08:00
Haojun Liao
ac08f659c3 refactor: remove invalid procedure in fill-history. 2024-01-26 16:20:43 +08:00
54liuyao
4d8fbc0396 stream count window sliding 2024-01-26 16:15:25 +08:00
54liuyao
9e86dfaee7 stream count window sliding 2024-01-26 15:56:26 +08:00
54liuyao
bc4f3d1296 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-22023 2024-01-26 15:55:06 +08:00
slzhou
686258b26e feat: deep clean up for data blocks 2024-01-26 14:52:24 +08:00
slzhou
82871f7ee3 feat: no in mem reader and blocks are to disk 2024-01-26 14:23:34 +08:00
slzhou
c46769ef37 fix: reader can be in memory or not 2024-01-26 14:10:02 +08:00
slzhou
a06ba844ba fix: set dataload flag 2024-01-26 13:11:05 +08:00
slzhou
664647c4a4 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms/port-3 2024-01-26 11:05:59 +08:00
Haojun Liao
834f08a2e0
Merge pull request #24552 from taosdata/fix/3_liaohj
fix(stream): do checkpoint after fill-history task completed.
2024-01-25 16:53:11 +08:00
slzhou
305d4a962a fix: page block and reader block for each child table input 2024-01-24 17:16:18 +08:00
slzhou
2f6a2923b7 fix: first running 2024-01-24 15:23:03 +08:00
slzhou
57a9ac75a8 feat: remove limit reached from merge scan operator 2024-01-24 11:37:47 +08:00
slzhou
4484e99e6c fix: compilation error 2024-01-24 11:13:37 +08:00
slzhou
033ebb5fa5 feat: prepare for switch between one reader and multi readers 2024-01-24 11:11:45 +08:00
slzhou
622dd10b19 feat: add operator next function 2024-01-24 10:21:17 +08:00
slzhou
3f2b469b5e feat: refactor code 2024-01-24 09:12:27 +08:00
slzhou
174673470d fix: linux compilation 2024-01-23 17:12:53 +08:00
slzhou
70f869ce33 fix: memory error when limit 0 2024-01-23 17:05:03 +08:00
shenglian zhou
dd70c63dfe feat: table merge scan with one less disk usage 2024-01-23 16:34:14 +08:00
dapan1121
6640809638 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-23 14:48:12 +08:00
dapan1121
3630cbd18d enh: add asof ut framework 2024-01-23 14:47:24 +08:00
slzhou
5c9edce538 fix: whole block error 2024-01-23 10:45:26 +08:00
54liuyao
0975e37845 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-01-23 10:07:50 +08:00
slzhou
6ca92a3d92 fix: meory leak 2024-01-23 08:41:59 +08:00
dapan1121
66c30f861f
Merge pull request #24529 from taosdata/szhou/fix/td-28350
fix: calculate interval end with new alogrithm
2024-01-23 08:41:37 +08:00
dapan1121
888343f6fa enh: add asof ut 2024-01-22 19:24:31 +08:00
shenglian zhou
3f441bb8cf feat: extract rows within limit before sort to disk 2024-01-22 15:29:07 +08:00
slzhou
60b3ac93ab fix: fix compilation error 2024-01-22 13:11:46 +08:00
slzhou
5021d981b8 fix: fix memory leak 2024-01-22 11:23:38 +08:00
slzhou
c3c8d7b07d fix: compute scalar functions before agg in session window 2024-01-22 10:11:06 +08:00
54liuyao
288b91a4c3 mid interval retrive 2024-01-22 10:08:45 +08:00
slzhou
9e3a42af01 fix: modify test case 2024-01-21 16:15:51 +08:00
slzhou
e84d36dd39 fix: add test case 2024-01-19 22:42:10 +08:00
dapan1121
3fecb387cc enh: support asof join 2024-01-19 18:03:16 +08:00
54liuyao
5a7d72d6ef Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2024-01-19 10:39:11 +08:00
dapan1121
497d07a198
Merge pull request #24482 from taosdata/szhou/fix/td-28222-2
fix: stream scan core due to table end index introduced in 1 null row…
2024-01-19 08:45:09 +08:00
wangmm0220
7246fedfef Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_multi_marks 2024-01-18 19:08:35 +08:00
dapan1121
fb20dd51de Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-18 17:11:25 +08:00
dapan1121
dcfa6c220e fix: compile issues 2024-01-18 17:09:59 +08:00
dapan1121
97567f74cb enh: support asof join 2024-01-18 16:50:47 +08:00
slzhou
64858af92f fix: calculate interval end with new alogrithm 2024-01-18 16:30:18 +08:00
Haojun Liao
719d1d1b90 refactor: do some internal refactor. 2024-01-18 14:34:18 +08:00
54liuyao
7986951f44 use taskid of operator 2024-01-18 11:02:18 +08:00
54liuyao
1309e56a95 use strncpy 2024-01-18 11:02:04 +08:00
54liuyao
94ab74cc7f clone task id 2024-01-18 11:01:50 +08:00
slzhou
a1f7169b63 fix: remove uInfo 2024-01-18 09:52:04 +08:00
dapan1121
eed1095dc1
Merge pull request #24479 from taosdata/szhou/fix/td-28271
fix: add input ignore group to project
2024-01-18 08:49:31 +08:00
slzhou
f1fb7f5c14 fix: change num of output groups when cout empty group is needed 2024-01-18 08:43:36 +08:00
54liuyao
3bbfb26e09 stream count window 2024-01-17 14:22:19 +08:00
slzhou
449c1631ef fix: add numOfOutputGroups back when group order scan 2024-01-17 13:34:37 +08:00
slzhou
de6b559ab9 fix: remove some uage of table end index 2024-01-16 15:21:20 +08:00
slzhou
9a7ef7fa18 fix: reuse tableListGetGroupList 2024-01-16 15:08:50 +08:00
dapan1121
2fef37a5cc
Merge pull request #24315 from taosdata/fix/xsren/TD-28068/columnNodeRef2
fix: columanRefNode illegal type conversion
2024-01-16 10:08:34 +08:00
facetosea
79671d3e68 fix: internal error code 2024-01-16 10:07:46 +08:00
Haojun Liao
8f6256dfae
Merge pull request #24473 from taosdata/fix/TD-28319
set delete for session op
2024-01-16 10:02:06 +08:00
slzhou
764365047d fix: stream scan core due to table end index introduced in 1 null row for empty group 2024-01-16 09:28:45 +08:00
shenglian zhou
9c9d9dc24b fix: add input ignore group 2024-01-16 08:13:47 +08:00
54liuyao
2e543d950a set delete for session op 2024-01-15 17:36:23 +08:00
wangmm0220
2ab54a1335 fix:conflicts from 3.0 2024-01-15 16:54:52 +08:00
fullhonest
cb2ab749b5 Fix TD-27003: use last row scan when select last_row, last 2024-01-15 15:22:29 +08:00
facetosea
1191902d38 fix error code and delete unused code 2024-01-15 13:06:22 +08:00
shenglian zhou
8ae3aa24be fix: set ignore input group id 2024-01-15 11:58:29 +08:00
factosea
a794391866 unused code 2024-01-15 02:40:50 +08:00
dapan1121
dec6e3fffe enh: support asof join 2024-01-12 18:29:27 +08:00
factosea
ab02ec74c9 fix taosd crash 2024-01-12 18:10:54 +08:00
54liuyao
52d8811bdc code coverage 2024-01-12 13:49:32 +08:00
Haojun Liao
ee24bb9b03
Merge pull request #24444 from taosdata/fix/3_liaohj
fix(stream): close the inputQ of the related stream task.
2024-01-12 13:41:30 +08:00
Haojun Liao
b36cc97236 fix(stream): close the inputQ of the related stream task when the fill-history task recv the trans-state msg from upstream. 2024-01-12 10:44:49 +08:00
Haojun Liao
578edd447f
Merge pull request #24421 from taosdata/szhou/fix/2/td-28154
fix: windows calculation when offset >0 and calendar sliding
2024-01-12 09:35:09 +08:00
dapan1121
8d1f5ff479 enh: add asof 2024-01-11 19:25:12 +08:00
factosea
3ed63df082 fix case 2024-01-11 18:34:21 +08:00
slzhou
3cea4fd2c7 fix: getNextTimeWindow use new time algorithm 2024-01-11 16:41:11 +08:00
slzhou
ab137a56f0 fix: more interval end calculation with slide-start/slide-end as anchor 2024-01-11 08:31:16 +08:00
slzhou
b4b4400958 fix: recalcuate window ekey 2024-01-10 21:36:09 +08:00
dapan1121
e784a5c210 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-10 18:57:19 +08:00
dapan1121
5f0440a42c enh: support semi/anti join 2024-01-10 18:56:49 +08:00
slzhou
ba2ba0a8cb fix: time window computation error 2024-01-10 16:19:20 +08:00
Haojun Liao
9d0d0d9ddc Merge branch '3.0' into fix/3_liaohj 2024-01-10 09:57:46 +08:00
factosea
d243308541 fix: colref 2024-01-10 09:04:40 +08:00
Haojun Liao
af9dc441b2 fix(stream): reset the saved value for fill-history task. 2024-01-08 18:40:06 +08:00
factosea
45ec9fcbc8 fix: create param node from function node 2024-01-08 16:43:57 +08:00
Yihao Deng
1eee7b44e0 fix crash found on 3.1 2024-01-08 07:31:35 +00:00
factosea
8c3fe7cc70 fix: SColumnRefNode transfer to SelectFunction's param 2024-01-08 11:41:58 +08:00
slzhou
7c58a9a280 fix: disable sort by row id when num of tables is 1 2024-01-08 08:21:27 +08:00
slzhou
9646091492 fix: sort error due to out of space 2024-01-07 16:18:24 +08:00
dapan1121
0ef7f089be fix: full join issues 2024-01-05 19:24:22 +08:00
slzhou
0f9be1033a fix: use page size of sort 2024-01-05 19:22:17 +08:00
dapan1121
0695ed8974 fix: add full test 2024-01-05 17:16:51 +08:00
54liuyao
0b9e3c9871 fix stream state buff issue 2024-01-05 16:20:55 +08:00
dapan1121
8e73bedbc7 enh: add join ut 2024-01-05 14:40:05 +08:00
dapan1121
670317ccd7
Merge pull request #24053 from taosdata/enh/3.0/TD-26813
enh: support group by tag/tbname to list empty groups
2024-01-04 09:08:03 +08:00
Bob Liu
860146d425 initRemainGroups 2024-01-03 23:59:48 +08:00
factosea
8dc2a6bbd9 fix: orderby 2024-01-03 20:43:23 +08:00
factosea
b6b2a41d83 fix: columnrefnode 2024-01-03 18:30:57 +08:00
Bob Liu
b818faaa5e remainGroups 2024-01-03 17:51:27 +08:00
dapan1121
8d9c093b99 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2024-01-03 16:26:17 +08:00
dapan1121
b0711f245a fix: compile errors 2024-01-03 16:25:45 +08:00
slzhou
06fd7ee96f fix: use the correct block to calc page size 2024-01-03 15:34:38 +08:00
slzhou
fb732be16d fix: change pageSize and buf size 2024-01-03 15:09:24 +08:00
Haojun Liao
a2e85c44c2
Merge pull request #24228 from taosdata/fix/3_liaohj
refactor: remove stream-scan-history event for stream task.
2024-01-03 14:43:20 +08:00
slzhou
c9b2bb714d fix: bugs during self-test 2024-01-03 14:39:06 +08:00
shenglian zhou
fbf67e4294 fix: save data when creating intial sources 2024-01-03 14:03:22 +08:00
dapan1121
5dc49a8233 enh:support full join 2024-01-03 13:52:36 +08:00
Haojun Liao
29afc2ad6a fix(stream):add jump condition for loop. 2024-01-02 15:48:08 +08:00
Bob Liu
85ba9a4a5f remainGroups 2024-01-02 15:45:03 +08:00
54liuyao
afc2a346e5 reset update info 2024-01-02 14:23:41 +08:00
dapan1121
06e3d8df1d
Merge pull request #24282 from taosdata/fix/3.0/TS-4411
fix: fill prev not working when desc fill
2024-01-02 13:07:21 +08:00
Haojun Liao
e7a0044502 Merge branch '3.0' into fix/3_liaohj 2024-01-02 13:02:55 +08:00
shenglian zhou
91a705f731 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wide-column 2024-01-02 10:41:31 +08:00
Bob Liu
673d3bc376 arrangeTableGroup 2023-12-31 13:15:05 +08:00
Bob Liu
7e1d59c565 sort 2023-12-29 16:22:41 +08:00
wangjiaming0909
90a8fe5581 fix: fill prev not working when desc fill 2023-12-29 15:08:56 +08:00
Haojun Liao
50ce4f4455
Merge pull request #24257 from taosdata/fix/TD-28091
reset datablock window info
2023-12-29 09:04:41 +08:00
Haojun Liao
a662f6d63f
Merge pull request #24262 from taosdata/fix/TD-28099
reset unclose window info
2023-12-29 09:04:31 +08:00
Bob Liu
e2b61a55fc refactor 2023-12-29 01:40:17 +08:00
Bob Liu
9f8f69a791 adjust 2023-12-28 21:54:16 +08:00
Bob Liu
424ab1bbe3 support table merge scan 2023-12-28 16:18:38 +08:00
54liuyao
51cd8e9fb7 reset unclose window info 2023-12-28 15:34:13 +08:00
54liuyao
448b7c939f reset datablock window info 2023-12-28 11:09:38 +08:00
54liuyao
f1304680c5 log 2023-12-28 11:09:03 +08:00
54liuyao
c124bcf52f check block rows 2023-12-28 11:09:03 +08:00
Bob Liu
a5f88a86e9 adjust 2023-12-28 09:45:01 +08:00
Bob Liu
abed781bd3 opt 2023-12-27 23:15:11 +08:00
Bob Liu
d795798648 count state 2023-12-27 21:37:00 +08:00
54liuyao
382569591f log 2023-12-27 14:01:38 +08:00
54liuyao
a46c921f68 check block rows 2023-12-27 11:29:03 +08:00
shenglian zhou
81b95f2135 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wide-column 2023-12-27 09:27:46 +08:00
Bob Liu
42f9d54a70 adjust 2023-12-27 00:28:42 +08:00
Bob Liu
3faf1514f4 doGroupedTableScan 2023-12-26 20:47:15 +08:00
dapan1121
194b1f03ae enh: support inner join 2023-12-26 19:28:19 +08:00
54liuyao
ccf861dec8 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/3_liaohj 2023-12-26 18:36:18 +08:00
54liuyao
e2564a6189 fix issue 2023-12-26 18:35:49 +08:00
54liuyao
ac3c76f608 init dummy function 2023-12-25 19:38:20 +08:00
dapan1121
e570fcef99 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-25 09:22:01 +08:00
dapan1121
40209db9c7 fix: memory leak issues 2023-12-25 09:19:55 +08:00
dapan1121
8bdf3df6a9 enh: left join ut 2023-12-22 19:25:55 +08:00
Bob Liu
ef5b5786b3 adjust 2023-12-22 18:14:26 +08:00
Bob Liu
e3098accc4 support count empty table 2023-12-22 18:14:26 +08:00
dapan1121
709b7f4683
Merge pull request #24181 from taosdata/fix/TD-27967_TD-28004
fix: cache scan heap overflow and forbid DDD for to_char in windows
2023-12-22 16:54:46 +08:00
54liuyao
036fa8d0d9 sliding window 2023-12-21 19:51:09 +08:00
wangjiaming0909
153221e1d6 fix: cache scan heap overflow and forbid DDD for to_char in windows 2023-12-21 19:46:33 +08:00
slzhou
a802d35af4 fix: change the pre-allocated column check 2023-12-21 16:36:56 +08:00
slzhou
094c6cdfb4 fix: the pre-allocated column has no data to copy 2023-12-21 16:31:35 +08:00
54liuyao
246ad22e0b mid operator igore expired data 2023-12-21 14:34:37 +08:00
slzhou
d2b0ef75a5 fix: windows compilation 2023-12-21 13:10:37 +08:00
slzhou
1725986d9f fix: columns pre-allocated has no data and offsets 2023-12-21 11:45:04 +08:00
slzhou
7a237504f9 fix: change pagesize of row storage disk based buf 2023-12-21 09:36:11 +08:00
slzhou
70419dcbc6 fix: change memory size for row storage in memory pages 2023-12-21 08:22:22 +08:00
slzhou
7bc4791ad6 Merge branch 'szhou/tms-wide-column' of github.com:taosdata/TDengine into szhou/tms-wide-column 2023-12-21 08:17:48 +08:00
slzhou
084245e6d2 fix: row id sort when no limit and row size is more than 256 2023-12-21 08:05:09 +08:00
54liuyao
a387e7e2d3 mid operator checkpoint 2023-12-20 18:50:55 +08:00
slzhou
fd4b294972 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wide-column 2023-12-20 17:10:00 +08:00
slzhou
d6445d2d5b enhance: add length verification 2023-12-20 16:20:43 +08:00
wangmm0220
0eec9d5fbd fix:deal with stram_pull_over block in middle interval 2023-12-20 16:09:36 +08:00
wangmm0220
e16000a50c Merge branch 'feat/ly_multi_marks' of https://github.com/taosdata/TDengine into feat/ly_multi_marks 2023-12-20 11:00:31 +08:00
wangmm0220
dd0afef6f2 fix:set triggerParams=0 in mid interval 2023-12-20 11:00:25 +08:00
54liuyao
60722bcf4d use mid interval 2023-12-20 10:53:23 +08:00
slzhou
9ebca3eaff fix: access length col removed 2023-12-20 10:06:22 +08:00
slzhou
bde2cf7b34 enhance: remove length col and refactor 2023-12-20 09:54:27 +08:00
slzhou
f3847a00c6 fix: more space is required for a row 2023-12-20 08:10:45 +08:00
slzhou
1aa94a8b3d fix: ci error 2023-12-19 14:55:31 +08:00
wangjiaming0909
ad24c03538 fix: session window block row index overflow 2023-12-19 14:31:13 +08:00
dapan1121
bc38885856 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-19 11:22:41 +08:00
dapan1121
279b2aa10a enh: add join ut 2023-12-19 11:17:39 +08:00
WANG MINGMING
6f23b63d9e
Merge branch '3.0' into feat/ly_multi_marks 2023-12-18 16:22:56 +08:00
54liuyao
70a8281ef2 reset update info 2023-12-18 14:59:48 +08:00
slzhou
5be6ed9553 fix: increase page size and mem size 2023-12-18 14:23:30 +08:00
slzhou
0d711331b7 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-wide-column 2023-12-18 13:27:30 +08:00
Haojun Liao
1a9701d401
Merge pull request #23946 from taosdata/fix/snodeBackendCrash
Fix/snode backend crash
2023-12-16 13:13:28 +08:00
slzhou
8a6317b76a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix-tms-duration 2023-12-15 22:09:43 +08:00
slzhou
b2ee43540b enhance: add log and clean up 2023-12-15 21:55:25 +08:00
yihaoDeng
7ab7a64eb3 Merge branch '3.0' into fix/snodeBackendCrash 2023-12-15 18:16:14 +08:00
dapan1121
5bbec0108a
Merge pull request #24081 from taosdata/szhou/add-experimental-flag
fix: add experimental flag
2023-12-15 17:31:35 +08:00
slzhou
ce48598f0d fix: pass first round test 2023-12-15 17:16:20 +08:00
shenglian zhou
cc4a6c6d55 fix: add new duration block event 2023-12-15 15:04:47 +08:00
shenglian zhou
617d4bfb95 fix: add experimental flag 2023-12-15 10:40:54 +08:00
dapan1121
e55b7c52d8 fix: add left join case 2023-12-14 17:06:19 +08:00
dm chen
81767dfa32
Merge branch '3.0' into feat/TS-4229 2023-12-14 17:02:51 +08:00
dapan1121
6d24c08651 fix: compile errors 2023-12-14 14:13:01 +08:00
slzhou
803e9d3ffb fix: db previlege check 2023-12-14 08:11:27 +08:00
dapan1121
b2fb30f6c0 feat: support hash join 2023-12-13 18:54:16 +08:00
slzhou
b309c251da fix: pass simple test 2023-12-13 13:21:26 +08:00
shenglian zhou
7f93cb9f1a fix: use pageid, offset, length as row index 2023-12-13 11:38:14 +08:00
dapan1121
13ab89bd1b Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-13 08:25:25 +08:00
dapan1121
54ea94af38 enh: support left join 2023-12-12 19:31:12 +08:00
54liuyao
0c284c4398 reset stream trigger 2023-12-12 16:04:58 +08:00
dapan1121
96c481d537
Merge pull request #24002 from taosdata/fix/xsren/TD-27792
int32->int16 error
2023-12-12 09:54:16 +08:00
Haojun Liao
5ab1b47cef
Merge pull request #24023 from taosdata/fix/TD-27807
ignore invalid event window
2023-12-12 09:37:23 +08:00
54liuyao
5e0ad7638d ignore invalid event window 2023-12-11 19:13:22 +08:00
Haojun Liao
1bf3f2d1bd
Merge pull request #24013 from taosdata/fix/TD-27795
set event window rows
2023-12-11 18:40:02 +08:00
54liuyao
7e21030dfd set event window rows 2023-12-11 15:16:01 +08:00
slzhou
2743228217 Merge branch '3.0' of github.com:taosdata/TDengine into feat/TS-4229 2023-12-11 14:15:17 +08:00
factosea
f6d70daef8 int32->int16 error 2023-12-11 11:46:15 +08:00
54liuyao
06c0a090c2 opt ignore expried rule 2023-12-11 11:32:14 +08:00
slzhou
3b1a185949 fix: coldataSetNItems error 2023-12-11 09:12:16 +08:00
54liuyao
76a5560e1d Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2023-12-11 08:55:10 +08:00
slzhou
c705a71bd9 feat: use disk based buf for src block storage 2023-12-10 22:25:46 +08:00
slzhou
d01e82439e feature: replace two lru cache with hash 2023-12-10 19:11:39 +08:00
Haojun Liao
39ea7d7567
Merge pull request #23980 from taosdata/fix/3_liaohj
fix(tsdb): opt read stt file
2023-12-09 21:28:52 +08:00
slzhou
5dd50c10a2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-duration 2023-12-09 19:25:07 +08:00
slzhou
9a9264e03a fix: fix memory leak 2023-12-09 19:00:23 +08:00
slzhou
92a695cd2f fix: memory leaks 2023-12-08 22:12:24 +08:00
slzhou
205e3ecf27 fix: fix mem leak of block data buf 2023-12-08 21:49:36 +08:00
slzhou
6acbbc3cff fix: typo error 2023-12-08 21:15:06 +08:00
dapan1121
bc7e9bf4f2 enh: left join refact 2023-12-08 19:25:05 +08:00
54liuyao
ccce9d5085 init delete mark 2023-12-08 18:12:05 +08:00
slzhou
83139b8d48 fix: save work 2023-12-08 17:45:54 +08:00
54liuyao
7570fa758b init delete mark 2023-12-08 16:28:18 +08:00
Haojun Liao
63b34c7acf fix(tsdb): add check for not load stt file blocks. 2023-12-08 16:09:58 +08:00
wangmm0220
d1c2a03dc7 fix:conflicts from 3.0 2023-12-08 15:58:52 +08:00
shenglian zhou
854766d986 enhance: save block then sort by row id 2023-12-08 15:57:29 +08:00
dapan1121
7fe919ad16 enh: left join 2023-12-08 15:27:22 +08:00
54liuyao
13193e29b7 delete invalid event window 2023-12-08 14:28:40 +08:00
Haojun Liao
9c72ce846e fix(tsdb): add more condition for not load data. 2023-12-08 14:23:37 +08:00
54liuyao
2528fff8a8 rebuild stream event window 2023-12-08 10:52:52 +08:00
Haojun Liao
9477146b30 fix(tsdb): fix syntax error. 2023-12-08 10:29:38 +08:00
Haojun Liao
4ffaff4d50 other: merge 3.0 2023-12-08 10:14:42 +08:00
Haojun Liao
446c14da72 fix(tsdb): opt read stt file 2023-12-08 10:03:36 +08:00
dapan1121
a2ee41233e
Merge pull request #23835 from taosdata/szhou/tms-duration
feat: tsdb output in duration order
2023-12-08 09:07:41 +08:00
Haojun Liao
7c17d6f313 fix(tsdb): opt read performance by check clean stt block if only row number required. 2023-12-07 23:12:54 +08:00
dapan1121
d7535f832a enh: support cart in join 2023-12-07 19:22:46 +08:00
dapan1121
a4242e829a
Merge pull request #23960 from taosdata/enh/xsren/TD-26882
Enh/xsren/td 26882
2023-12-07 13:23:28 +08:00
slzhou
1ba1fbfabc fix: remove allow_forbid_func define 2023-12-07 10:45:26 +08:00
dapan1121
840690b59b Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-06 19:22:52 +08:00
dapan1121
7c0e8b559c feat: support left join 2023-12-06 19:22:14 +08:00
dapan1121
30eb035447
Merge pull request #23940 from taosdata/fix/TS-4327
fix: last/last_row crash with dropped column
2023-12-06 17:57:24 +08:00
Hongze Cheng
04e84ba152 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4229 2023-12-06 16:43:00 +08:00
factosea
a0e356bf84 Keep the last data with the same timestamp when inserting 2023-12-06 15:20:05 +08:00
shenglian zhou
ac531c6d7f enhance: add fileset delimited front end 2023-12-06 10:45:12 +08:00
shenglian zhou
a2e7c78d27 refactor: rename variables 2023-12-06 09:39:38 +08:00
shenglian zhou
8ff3f8e25e enhance: add duration order change by file /tmp/duration 2023-12-06 08:48:29 +08:00
dapan1121
ee03cbc404 Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-06 08:38:30 +08:00
yihaoDeng
a82856dff7 fix mem leak 2023-12-05 20:28:12 +08:00
wangmm0220
fc9dfc77d0 fix:add plan for multi agg operator in stream 2023-12-05 20:07:20 +08:00
dapan1121
519622dbf4 feat: support left join 2023-12-05 19:27:57 +08:00
yihaoDeng
b55618149b fix mem leak 2023-12-05 18:33:56 +08:00
yihaoDeng
c692f8c21c add stream backend copy 2023-12-05 18:03:58 +08:00
yihaoDeng
87c78919a9 add stream backend copy 2023-12-05 17:09:03 +08:00
wangjiaming0909
a6c876bbc1 fix: last/last_row crash with dropped column 2023-12-05 14:16:01 +08:00
shenglian zhou
be6daee280 feature: switch duration mode randomly 2023-12-05 11:01:57 +08:00
slzhou
e690076331 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-duration 2023-12-05 09:53:29 +08:00
slzhou
538f6fc722 fix: no block after new duration 2023-12-05 09:51:14 +08:00
shenglian zhou
3f8b2e826f fix: add new duration processing to table merge scan 2023-12-04 10:49:40 +08:00
54liuyao
38900d672e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-27419 2023-12-04 09:12:53 +08:00
dapan1121
f5aaa92a7e enh: merge join 2023-12-01 18:33:50 +08:00
shenglian zhou
f2b38f5a4a refactor: start/stop duration from start/stop table merge scan 2023-12-01 16:51:02 +08:00
wangjiaming0909
fd290709ff fix: state window with block rowIndex overflow 2023-12-01 15:27:30 +08:00
slzhou
4d755562af fix: resolve conflicts 2023-12-01 13:02:14 +08:00
dapan1121
3b4a8f6ead Merge remote-tracking branch 'origin/3.0' into feat/TD-27337 2023-12-01 08:33:04 +08:00
54liuyao
271311a770 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-27419 2023-11-30 14:33:48 +08:00
slzhou
80ee5bfb3e fix: the initial value of first fileset start / end key 2023-11-30 11:08:18 +08:00
yihaoDeng
5c32680cd8 Merge branch '3.0' into enh/refactorBackend 2023-11-30 10:31:27 +08:00
dapan1121
abdf6d337a enh: push down conditions 2023-11-29 20:06:30 +08:00
54liuyao
1e02f823a4 compact history window 2023-11-29 14:59:22 +08:00
54liuyao
ae386c6e34 opt expired data 2023-11-29 11:16:56 +08:00
wangmm0220
1433481989 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_multi_marks 2023-11-28 15:01:02 +08:00
54liuyao
a73992e128 stream event reload state 2023-11-28 14:11:19 +08:00
shenglian zhou
df4f7d6956 Revert "Revert "enhance: duration notification""
This reverts commit 3331e25aaf.
2023-11-28 10:31:18 +08:00
shenglian zhou
3331e25aaf Revert "enhance: duration notification"
This reverts commit 9dd306e1ef.
2023-11-28 08:29:05 +08:00
yihaoDeng
e9bec34c44 Merge branch '3.0' into enh/refactorBackend 2023-11-27 10:01:12 +08:00
Haojun Liao
6904f20929
Merge pull request #23809 from taosdata/fix/TD-27468
set datablock table name
2023-11-24 17:54:03 +08:00
jiajingbin
9d9a88b3ed set datablock table name 2023-11-23 19:59:15 +08:00
dapan1121
699c14e781 fix: slow down report when error occurs 2023-11-23 16:51:07 +08:00
slzhou
c53bd04894 feat: after select compacts 2023-11-23 15:26:21 +08:00
shenglian zhou
9dd306e1ef enhance: duration notification 2023-11-22 13:56:16 +08:00
yihaoDeng
0eba15b4a4 Merge branch '3.0' into enh/refactorBackend 2023-11-22 10:57:41 +08:00
yihaoDeng
edaa33d28d fix mem leak 2023-11-21 10:18:38 +08:00
slzhou
e9ac378d2c fix: in-place update when hash memember is found 2023-11-21 10:14:37 +08:00
yihaoDeng
bb71bd4386 fix mem leak 2023-11-20 21:03:09 +08:00
yihaoDeng
20de2f3cb5 Merge branch '3.0' into enh/refactorBackend 2023-11-17 17:15:14 +08:00
“happyguoxy”
f969579f7f fix: reset wrong variable 2023-11-17 16:18:58 +08:00
slzhou
fe28af9fa3 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tms-again 2023-11-17 15:36:58 +08:00
shenglian zhou
88973c7464 feat: skip tables out of limit 2023-11-17 15:32:14 +08:00
Haojun Liao
2ca663ce66
Merge pull request #23593 from taosdata/feat/TD-21898
stream event window
2023-11-15 14:18:07 +08:00
yihaoDeng
f4d6cf7c74 Merge branch '3.0' into enh/refactorBackend 2023-11-14 18:12:48 +08:00
liuyao
7e100959bb delete mark 2023-11-14 16:57:32 +08:00
Haojun Liao
e46a13c788
Merge pull request #23669 from taosdata/enh/stream_delay
opt max delay
2023-11-14 09:31:17 +08:00
liuyao
37c102a115 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-13 16:06:17 +08:00
yihaoDeng
de7f2a2d1a Merge branch '3.0' into enh/refactorBackend 2023-11-13 11:11:28 +08:00
dapan1121
a51df86e43
Merge pull request #23636 from taosdata/enh/TD-25601-3.0
enh: support delete msg for rsma
2023-11-13 08:47:42 +08:00
kailixu
57f7ff5b9c chore: revert the code change 2023-11-10 15:34:41 +08:00
kailixu
d5d8568bad fix: skip delete msg affects 0 row 2023-11-10 15:30:49 +08:00
kailixu
2a14a10d0d Merge branch '3.0' into enh/TD-25601-3.0 2023-11-10 14:45:45 +08:00
kailixu
674e878ffa enh: rsma support delete 2023-11-10 14:44:29 +08:00
dapan1121
350fac01a0 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-10 11:48:55 +08:00
liuyao
6d2d5823dc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-10 09:24:05 +08:00
yihaoDeng
3e2314b09b Merge branch '3.0' into enh/refactorBackend 2023-11-10 09:22:16 +08:00
kailixu
572eb691fb enh: support delete msg for rsma 2023-11-09 19:51:01 +08:00
dapan1121
4f67629ea1
Merge pull request #23621 from taosdata/fix/TS-4122
correct colid in blockinfo
2023-11-09 18:09:09 +08:00
yihaoDeng
757425bff8 Merge branch '3.0' into enh/refactorBackend 2023-11-09 17:58:49 +08:00
wangjiaming0909
a6600ab23a correct colid in blockinfo 2023-11-09 15:41:01 +08:00
kailixu
9cf154543f chore: merge 3.0 2023-11-09 15:09:30 +08:00
kailixu
74cddda24b Merge branch '3.0' into enh/TD-25601-3.0 2023-11-09 14:37:13 +08:00
yihaoDeng
f74edc7618 Merge branch '3.0' into enh/refactorBackend 2023-11-09 06:14:08 +00:00
dapan1121
6352b28b4c fix: split scan columns from cache last scan 2023-11-09 09:47:55 +08:00
kailixu
501d5a7acc Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-08 20:47:15 +08:00
dapan1121
38196f37b9 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-08 18:48:13 +08:00
dapan1121
49ebb7145e enh: support split cache last and other functions 2023-11-08 18:42:41 +08:00
yihaoDeng
3abf0ae4b2 Merge branch 'feat/TD-26060' into enh/refactorBackend 2023-11-08 17:31:16 +08:00
liuyao
a8b415ed35 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-08 17:26:00 +08:00
dapan1121
3139bf775b
Merge pull request #23536 from taosdata/feat/TS-4122
feat: cache scan for select last(c), ts/c
2023-11-08 17:07:22 +08:00
liuyao
ab92894163 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-08 16:29:45 +08:00
dapan1121
f1b54613f0
Merge pull request #23569 from taosdata/fix/distinct
fix(excutor): group agg operator copy from hash table directly
2023-11-08 16:28:26 +08:00
liuyao
8a648eb56f fix issue 2023-11-08 14:17:46 +08:00
liuyao
340fb3e727 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-08 14:16:59 +08:00
wangjiaming0909
fc6c4fba90 feat: cache scan for select last(c), ts/c 2023-11-08 13:39:28 +08:00
kailixu
b9f389a49f Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-08 08:36:35 +08:00
Haojun Liao
9ba854d49d Merge branch '3.0' into fix/3_liaohj 2023-11-07 23:51:07 +08:00
kailixu
6b738884a4 chore: rsma checkpoint 2023-11-07 19:59:05 +08:00
Bob Liu
1adffe016d clean hash after operator completed 2023-11-07 17:52:18 +08:00
yihaoDeng
95b14ee39b merge 3.0 2023-11-07 17:15:49 +08:00
dapan1121
604c701290 Merge remote-tracking branch 'origin/feat/TS-4122' into feat/TD-24802 2023-11-07 15:59:01 +08:00
kailixu
ac62714492 Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-07 14:20:38 +08:00
dapan1121
c2ec373557 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-07 10:09:10 +08:00
liuyao
e6fffe58a5 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-27041 2023-11-07 09:49:06 +08:00
dapan1121
0ed4d1507f feat: support non_sort mode 2023-11-07 09:23:06 +08:00
Bob Liu
1b9be71d55 fix(excutor): group agg operator copy from hash table directly 2023-11-07 08:51:03 +08:00
liuyao
4ce81f25da session window max delay 2023-11-06 17:45:18 +08:00
wangjiaming0909
04a1f2ef4d feat: cache scan for select last(c), ts/c 2023-11-06 15:26:12 +08:00
liuyao
1f523abff5 release row buff pos 2023-11-06 13:40:53 +08:00
kailixu
7e8c123fca chore: rsma code optimization 2023-11-06 08:46:04 +08:00
Haojun Liao
e13f003b90 refactor: do some internal refactor. 2023-11-05 01:23:23 +08:00
kailixu
411151d671 fix: buffer overflow/buffer use after free/memory leak 2023-11-04 08:44:26 +08:00
liuyao
e8945cedd8 fix issue 2023-11-03 16:03:23 +08:00
Haojun Liao
34403534ed Merge branch '3.0' into fix/3_liaohj 2023-11-03 14:06:58 +08:00
Haojun Liao
53b2158c54 refactor: do some internal refactor. 2023-11-03 13:51:17 +08:00
kailixu
d9ed63473c Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-03 08:37:41 +08:00
liuyao
52083cd694 event window and partition by 2023-11-02 15:52:55 +08:00
kailixu
2d597659bc enh: rsma checkpoint 2023-11-02 15:20:54 +08:00
kailixu
76536e1c82 enh: rsma logic 2023-11-02 11:03:18 +08:00
kailixu
9649e87cab fix: rsma checkpoint 2023-11-02 09:44:43 +08:00
kailixu
3803f952f9 chore: rsma checkpoint verify 2023-11-01 20:05:00 +08:00
liuyao
505c44d9aa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-01 16:50:46 +08:00
kailixu
c32e60d199 chore: more code for rsma checkpoint 2023-11-01 16:27:41 +08:00
yihaoDeng
4c8edb5545 Merge branch 'enh/new3.0' into enh/refactorBackend 2023-11-01 16:07:49 +08:00
kailixu
59be62c96e chore: set stream input checkpoint 2023-11-01 15:34:17 +08:00
dapan1121
701a148ad1 feat: init merge operator 2023-10-31 19:59:36 +08:00
liuyao
b9e05ab1ec update data 2023-10-31 15:40:42 +08:00
liuyao
ad6d38439b refect 2023-10-27 17:47:25 +08:00
liuyao
d0e4a5d0f7 opt max delay 2023-10-25 20:29:25 +08:00
liuyao
f51c985914 stream event window 2023-10-25 17:50:16 +08:00
dapan1121
6dcc555bbc fix: view privilege issue 2023-10-25 10:47:01 +08:00
yihaoDeng
1a4cfd11a5 Merge branch 'enh/new3.0' into enh/refactorBackend 2023-10-20 15:28:10 +08:00
Haojun Liao
da8f6a4c2f
Merge pull request #23248 from taosdata/feat/TD-26647
recover session buff state
2023-10-19 15:34:03 +08:00
liuyao
5852a0975e set fill history range 2023-10-18 19:49:05 +08:00
Haojun Liao
c6dd73b68b
Merge pull request #23187 from taosdata/feat/TD-26056
feat:add replay logic
2023-10-18 11:43:43 +08:00
slzhou
34246ea001 fix: tag scan support limit and remove slimit optimization 2023-10-16 16:43:15 +08:00
wangmm0220
473142fab7 fix:conflicts from 3.0 2023-10-16 11:35:56 +08:00
yihaoDeng
b6005d6183 refactor backend 2023-10-13 16:07:34 +08:00
liuyao
7269dedb39 Merge branch '3.0' of https://github.com/taosdata/TDengine into 3.0 2023-10-13 11:35:01 +08:00
liuyao
429125be93 session state recover 2023-10-13 11:32:35 +08:00
Haojun Liao
eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
liuyao
26c87e5f41 fix mem leak 2023-10-10 10:26:26 +08:00
wangmm0220
33045e63ae feat:[TD-26056] add replay logic 2023-10-09 17:35:40 +08:00
Haojun Liao
74ff0c5b50 Merge branch 'main' into fix/liaohj 2023-10-09 10:14:53 +08:00
Haojun Liao
ee6516f3c4 enh(stream): add trans to reset task status to avoid being frozen in checkpoint status due to doing checkpoint failure of partial tasks. 2023-10-09 10:13:53 +08:00
wangmm0220
5f7b6f19ba feat:[TD-26056] add replay logic 2023-10-08 19:05:59 +08:00
liuyao
1d952ca8ea rebuild session window 2023-10-08 18:27:05 +08:00
wangmm0220
b04d57fcc3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26056 2023-10-08 16:15:19 +08:00
wangmm0220
3f2d890560 feat:[TD-26056] add replay logic 2023-10-08 16:06:15 +08:00
liuyao
1e323c0408 fix issue 2023-10-07 19:11:46 +08:00
liuyao
1aaf873134 fix issue 2023-10-07 17:43:50 +08:00
liuyao
59d47e1e1f fix issuse 2023-10-07 10:34:35 +08:00
liuyao
b7b96b67be use secondary pointer 2023-10-07 09:40:23 +08:00
liuyao
c95dc167b7 add ci 2023-09-26 17:19:21 +08:00
shenglian zhou
5a28981d50 fix: set null when creating empty input for count 2023-09-26 16:00:56 +08:00
liuyao
ca2325f886 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174 2023-09-26 10:41:31 +08:00
liuyao
82e18e32b0 add ci 2023-09-26 10:41:12 +08:00
liuyao
83c58a25cb ignore udpate check 2023-09-25 16:58:23 +08:00
kailixu
bc8ebf1562 Merge branch '3.0' into enh/TS-3812-3.0 2023-09-23 18:19:08 +08:00
kailixu
8f828e052b enh: timeseries calculation optimization 2023-09-22 20:07:51 +08:00
liuyao
0d983e28ef Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26174 2023-09-22 19:25:41 +08:00
liuyao
410a177637 fix issue 2023-09-22 15:00:26 +08:00
liuyao
4979fc5283 fix issue 2023-09-22 09:40:08 +08:00
liuyao
b1d9cd1c4a release state 2023-09-21 10:12:43 +08:00
liuyao
b4be5fe895 fix mem leak 2023-09-20 17:35:11 +08:00
liuyao
1cebda368a session&state operator buff 2023-09-20 15:06:08 +08:00
kailixu
a9d30f25d2 enh: rsma support delete raw data 2023-09-20 10:11:03 +08:00
xsren
b2170e9791 fill data of varchar type 2023-09-18 16:03:04 +08:00
xsren
83d8e3a524 mem exception handle 2023-09-18 13:48:09 +08:00
liuyao
c14721744c stream partition ignore stream_get_all 2023-09-15 15:01:20 +08:00
liuyao
6d64a22b5f project op ignore checkpoint block 2023-09-15 11:41:33 +08:00
dapan1121
8ef01584ee
Merge pull request #22629 from taosdata/feat/TD-25620
feat: optimize partition node, replace with sort node
2023-09-14 17:26:15 +08:00
wangjiaming0909
cb78c54d72 optimize sort perf 2023-09-13 18:37:42 +08:00
Haojun Liao
60f5056ab7 other: merge 3.0 2023-09-12 22:00:40 +08:00
Haojun Liao
b317c8ebff fix(stream): disable merge submit blocks. 2023-09-08 12:46:15 +08:00
dapan1121
fdeb924d0d
Merge pull request #22715 from taosdata/fix/m/TD-26114
fix: desc fill missed one window
2023-09-07 11:36:30 +08:00
wangjiaming0909
4a131000e4 fix: data error of partition by col + interval 2023-09-07 10:49:09 +08:00
dapan1121
e4f52bae5b
Merge pull request #22764 from taosdata/fix/TD-26132
fix: fix coverity issues
2023-09-07 10:09:30 +08:00
liuyao
d7caed1c44 opt stream state 2023-09-06 16:34:25 +08:00
dapan1121
875a081adc fix: typo issue 2023-09-06 14:11:24 +08:00
dapan1121
0b18689fa6 fix: fix coverity issues 2023-09-06 10:57:49 +08:00
wangjiaming0909
5dedaebb01 fix: desc fill missed one window 2023-09-06 10:53:19 +08:00
wangjiaming0909
2c4e0fee07 feat: optimize partition node, replace with sort node 2023-09-05 10:53:30 +08:00
wangjiaming0909
22b53c3ece fix: 1. select tag from meters partition by tag limit returned wrong num of rows
2. select tag from meters partition by tag returned wrong num of rows
2023-09-04 18:16:12 +08:00
liuyao
cfcbd53024 merge code 2023-09-01 14:14:54 +08:00
liuyao
e4ab656ed5 ENodeType 2023-09-01 14:11:18 +08:00
dapan1121
cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
dapan1121
228e6c6acd Merge remote-tracking branch 'origin/main' into 3.0 2023-09-01 10:01:10 +08:00
dapan1121
62d77c8be2
Merge pull request #22654 from taosdata/fix/TD-26046
fix: trim block and partition by constant function issue
2023-08-31 09:04:46 +08:00
wangmm0220
23c4d7eb0a fix:dead lock 2023-08-30 18:10:19 +08:00
dapan1121
2e7897239a fix: trim block and partition by constant function issue 2023-08-30 16:51:44 +08:00
Haojun Liao
24b1a050fc other: merge 3.0 2023-08-30 16:00:14 +08:00
dapan1121
f6321d0c4f Merge remote-tracking branch 'origin/main' into fix/m23.1 2023-08-30 11:03:33 +08:00
liuyao
ff2e1fbd9a encode interval op 2023-08-29 15:13:50 +08:00
yihaoDeng
20b037d9cc Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-28 10:46:00 +08:00
dapan1121
0cce255a02 Merge remote-tracking branch 'origin/3.0' into fix/m23.0 2023-08-28 10:06:53 +08:00
Haojun Liao
88f6596965
Merge pull request #22464 from taosdata/feat/TD-18789
feat:support varbinary type
2023-08-28 09:45:57 +08:00
dapan1121
1f40da6fef Merge remote-tracking branch 'origin/main' into 3.0 2023-08-28 09:28:55 +08:00
shenglian zhou
9fc75fb73d fix: wrong start key for pFill when unit of sliding is y or n 2023-08-25 14:59:39 +08:00
liuyao
5f055b6cff mem leak 2023-08-25 14:55:46 +08:00
liuyao
1019d070fd mem leak 2023-08-25 14:52:45 +08:00
Haojun Liao
f805a49df2
Merge pull request #22555 from taosdata/fix/TD-25948
mem leak
2023-08-25 09:28:18 +08:00
dapan1121
3c7ca2418c
Merge pull request #22532 from taosdata/fix/m/TD-25863
fix: fill operator with desc ts order returned 1 more rows
2023-08-24 17:29:57 +08:00
liuyao
7da464d8b7 mem leak 2023-08-24 16:36:58 +08:00
liuyao
b142979f7f mem leak 2023-08-24 15:00:09 +08:00
wangjiaming0909
3c8bd57140 fix: fill operator with desc ts order returned 1 more rows 2023-08-24 13:31:28 +08:00
liuyao
08553b7788 mem leak 2023-08-24 11:31:15 +08:00
liuyao
7ebce2814f mem leak 2023-08-24 11:19:59 +08:00
liuyao
f66f203caa reload semi session state 2023-08-23 19:04:11 +08:00
liuyao
6b61da1a41 reload semi session state 2023-08-23 15:36:15 +08:00
dapan1121
cb70861986 fix: memory leak issue 2023-08-22 18:40:42 +08:00
dapan1121
fe4e45647e fix: global data sink manager issue 2023-08-22 18:29:25 +08:00
liuyao
689e880ec8 fix asan error 2023-08-21 14:33:39 +08:00
wangjiaming0909
aec02a55be fix: fill last group data between groups 2023-08-21 13:05:13 +08:00
yihaoDeng
6fe649c458 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-21 09:12:40 +08:00
yihaoDeng
84799cb920 fix compile error 2023-08-18 17:25:14 +08:00
yihaoDeng
0537323bac fix get error 2023-08-18 16:54:33 +08:00
liuyao
3005fd642c merge 3.0 2023-08-18 15:33:13 +08:00
liuyao
87c65f3b68 Merge remote-tracking branch 'origin/3.0' into enh/triggerCheckPoint2 2023-08-18 15:27:02 +08:00
liuyao
3e3c8eccbb adj op 2023-08-18 14:42:07 +08:00
dapan1121
efc5589aa2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-18 14:11:26 +08:00
slzhou
85d1dbe00a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-17 16:27:37 +08:00
dapan1121
43c056fb61 fix: node clone and mac compile issues 2023-08-17 16:01:38 +08:00
shenglian zhou
4a9391929c fix: select tags - ctb cursor pause/unlock and lock/resume 2023-08-17 14:59:17 +08:00
dapan1121
3045a623e1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-17 14:16:05 +08:00
dapan1121
e8fa9aa633 fix: join blockId and target issues 2023-08-17 13:50:26 +08:00
liuyao
1b8ec28d53 format code 2023-08-17 11:45:26 +08:00
liuyao
380e7406d4 multi agg 2023-08-17 10:22:52 +08:00
liuyao
5ce7688a93 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_refactor 2023-08-17 09:06:46 +08:00
Haojun Liao
ea6574b3c7 other: merge 3.0 2023-08-17 00:07:55 +08:00
wangmm0220
b3f945c4c5 fix:conflict 2023-08-16 19:35:05 +08:00
dapan1121
73d7caa63a fix: remove uid from scan list 2023-08-16 19:12:32 +08:00
wangmm0220
f266d51764 feat:support varbinary type 2023-08-16 19:05:07 +08:00
Haojun Liao
f1359076c1
Merge pull request #22450 from taosdata/fix/3_liaohj
other: merge main.
2023-08-16 16:48:33 +08:00
dapan1121
143c657571 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-16 14:50:31 +08:00
dapan1121
91d6734b34 fix: join condition push down issue 2023-08-16 14:28:39 +08:00
shenglian zhou
e93ed3b556 enhance: table san type and disable partition tags optimize for tag scan 2023-08-16 14:09:22 +08:00
dapan1121
a6ecb7253e
Merge pull request #22390 from taosdata/feat/3.0/TD-25365
feat: optimize select agg_func partition by tag slimit
2023-08-16 13:32:58 +08:00
wangjiaming0909
e587cc50e6 feat: optimize select agg_func partition by tag slimit 2023-08-16 11:20:56 +08:00
kailixu
6ee95dca30 Merge branch '3.0' into fix/TD-25717-3.0 2023-08-16 10:19:34 +08:00
liuyao
fc09f8ef1e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_refactor 2023-08-16 09:36:28 +08:00
Haojun Liao
ad9f3cbc43 other: merge main. 2023-08-16 09:14:10 +08:00
kailixu
3b69736b29 fix: set precision of interval with value from table scan node 2023-08-15 19:59:13 +08:00
slzhou
4fdaaba3ce Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tag-scan-opt 2023-08-15 17:18:25 +08:00
slzhou
49e4b11547 fix: fix compilation error 2023-08-15 17:00:53 +08:00
liuyao
19dfcf3a59 refactor stream scan log 2023-08-15 16:29:48 +08:00
shenglian zhou
84e472ad03 enhance: tag cond col list only once and tag scan derive from scan 2023-08-15 16:10:54 +08:00
liuyao
37e6100204 refactor stream scan log 2023-08-15 15:42:50 +08:00
liuyao
1b4e51ee4a Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_refactor 2023-08-15 14:20:49 +08:00
wangmm0220
7441801e9d feat:support varbinary type 2023-08-15 13:57:05 +08:00
dapan1121
edd4a78772
Merge pull request #22408 from taosdata/fix/3.0/TS-3810
fix: make kill query work for sysscanoperator
2023-08-15 10:08:21 +08:00
dapan1121
8fc0f1bbd6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-15 09:00:53 +08:00
liuyao
d1c289823f refactor stream session window 2023-08-14 17:52:39 +08:00
liuyao
4b435e2cbf format code 2023-08-14 17:52:39 +08:00
liuyao
3043c7f09f refactor operator 2023-08-14 17:52:39 +08:00
liuyao
57a020edfc refact stream interval 2023-08-14 17:52:39 +08:00
liuyao
9d1e5a512d add stream task id 2023-08-14 17:52:39 +08:00
dapan1121
6a78053b51 feat: add hint supporting 2023-08-14 17:21:15 +08:00
slzhou
f9c897221c fix: move the setting of onlyCtbIdx to front end 2023-08-14 16:30:31 +08:00
slzhou
57d1957dee enhance: tag scan code refactoring 2023-08-14 15:57:27 +08:00
wangjiaming0909
5c276fa547 fix: make kill query work for sysscanoperator 2023-08-14 15:21:58 +08:00
dapan1121
6ce28e8886 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-14 10:49:56 +08:00
dapan1121
b4b9a12d61 fix: memory issue 2023-08-14 09:06:21 +08:00
slzhou
f83bfec067 fix: change only meta ctb idx back to false 2023-08-12 08:28:25 +08:00
slzhou
edd2fa4f35 fix: pass compilation and simple test 2023-08-12 08:17:43 +08:00
dapan1121
20b3f8c1aa
Merge pull request #22402 from taosdata/fix/TS-3799
fix: add time window boundary check before interpolation
2023-08-11 17:59:55 +08:00
slzhou
47d2f9ad6d fix: first run without tag cond 2023-08-11 17:52:52 +08:00
dapan1121
c9656d3f77 fix: fix memory issues 2023-08-11 17:39:41 +08:00
slzhou
6530658815 fix: continue coding 2023-08-11 17:05:59 +08:00
slzhou
42a4f364c1 Merge branch 'szhou/tag-scan-opt' of github.com:taosdata/TDengine into szhou/tag-scan-opt 2023-08-11 16:48:49 +08:00
shenglian zhou
a0c62d215d enhance: tag scan only meta ctb idx backend modification 2023-08-11 14:54:43 +08:00
shenglian zhou
7c39bc9890 fix: some minor modifications 2023-08-11 13:50:41 +08:00
kailixu
1d089fe085 fix: dup read lock on windows 2023-08-11 11:34:57 +08:00
Ganlin Zhao
1afbde7d2f fix: add time window boundary check before interpolation 2023-08-11 10:19:32 +08:00
shenglian zhou
20f5e2af5b continue coding and save work 2023-08-10 17:40:54 +08:00
shenglian zhou
b2e615d4e7 enhance: tag scan cursor based block 2023-08-10 17:30:01 +08:00
liuyao
e2481599b0 fix mem leak 2023-08-10 13:58:46 +08:00
Haojun Liao
f633c7fe2b other: merge 3.0. 2023-08-10 11:56:30 +08:00
Haojun Liao
b658608541
Merge pull request #22388 from taosdata/fix/3_liaohj
other: merge main.
2023-08-10 11:43:02 +08:00
dapan1121
ce1b294c51 fix: memory leak issues 2023-08-10 11:29:14 +08:00
dapan1121
81439ba0cf fix: memory invalid read and perf issue 2023-08-09 13:31:38 +08:00
Haojun Liao
3cdb16352c fix(stream): avoid launching check downstream when failed to add stream task into stream meta. 2023-08-09 12:03:14 +08:00
dapan1121
1d0624bbf1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-09 10:32:13 +08:00
dapan1121
1aac643a9b enh: support single vnode join 2023-08-09 10:30:35 +08:00
Haojun Liao
db92546cf7 fix(stream): remove invalid filter. 2023-08-08 16:09:33 +08:00
Haojun Liao
17c6143471 fix(stream): check more status when handling the state transfer. 2023-08-08 15:08:11 +08:00
dapan1121
68e0fb924a
Merge pull request #22165 from taosdata/feat/3.0/TD-25271
feature: optimize interval with limit
2023-08-08 10:34:02 +08:00
Haojun Liao
db8ce3de3b other: merge main. 2023-08-08 10:17:51 +08:00
Haojun Liao
327e13c3f7 fix(stream): fix the syntax error. 2023-08-08 10:07:28 +08:00
Haojun Liao
ac00e1d520 fix(stream): fetch all data before paused and dump to sink node. 2023-08-08 09:54:43 +08:00
Haojun Liao
0e3fd5277d fix(stream): dump results to sink node before paused. 2023-08-08 09:54:39 +08:00
Haojun Liao
ca2183acfd refactor: do some internal refactor. 2023-08-08 09:50:40 +08:00
Haojun Liao
143f39b6f7 fix(stream): set the correct end key of delete block. 2023-08-08 09:49:43 +08:00
dapan1121
a95295774a enh: end table scan 2023-08-07 19:35:33 +08:00
dapan1121
443c6ef318
Merge pull request #22333 from taosdata/fix/TD-25546
fix: fix tsort crash caused by not enough disk space
2023-08-07 19:02:11 +08:00
dapan1121
0546bdceb2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-07 11:23:15 +08:00
dapan1121
da27a306db fix: mutex init issue 2023-08-07 11:22:25 +08:00
Haojun Liao
d3bc7c3c94 refactor: do some internal refactor. 2023-08-07 09:20:53 +08:00
Haojun Liao
8a11a0418f other: merge 3.0 2023-08-07 09:19:26 +08:00
Ganlin Zhao
9f3af66ae0 fix: fix tsort crash caused by not enough disk space 2023-08-04 16:03:06 +08:00
wangjiaming0909
fba43e1748 feature: optimize interval with limit 2023-08-04 15:04:04 +08:00
slzhou
7676afff19 fix: stream use column node 2023-08-03 21:43:08 +08:00
slzhou
658c64f16f fix: make statekey of state window operator not target node 2023-08-03 21:43:08 +08:00
wangjiaming0909
632f5fbe8f feat: optimize table merge scan when 1 child table 2023-08-03 15:33:25 +08:00
wade zhang
211af11f39
Merge pull request #22303 from taosdata/fix/TD-25538
reset state window end key
2023-08-03 14:03:54 +08:00
liuyao
74c69bbb6e reset state window end key 2023-08-03 11:23:46 +08:00
liuyao
3464979489 set dummy delete data request 2023-08-03 09:03:48 +08:00
liuyao
71b000f08c reload state window state 2023-08-01 18:22:40 +08:00
Haojun Liao
6365d5000b
Merge pull request #22271 from taosdata/fix/3_liaohj
fix(stream): dump results to sink node before paused.
2023-08-01 15:50:17 +08:00
Haojun Liao
f6ae9cf9bb fix(stream): fetch all data before paused and dump to sink node. 2023-08-01 10:16:14 +08:00
Haojun Liao
b83860372c fix(stream): dump results to sink node before paused. 2023-08-01 00:50:30 +08:00
Haojun Liao
36ef9a537f
Merge pull request #22256 from taosdata/fix/TD-25457
check update data
2023-07-31 22:56:05 +08:00
Haojun Liao
2640e41705
Merge pull request #22261 from taosdata/fix/3_liaohj
fix(stream): set the correct end key of delete block.
2023-07-31 22:55:50 +08:00
liuyao
32b59af4b1 check update data 2023-07-31 17:32:24 +08:00
Haojun Liao
9981cecbed refactor: do some internal refactor. 2023-07-31 15:24:35 +08:00
Haojun Liao
fe21943c9c fix(stream): set the correct end key of delete block. 2023-07-31 14:23:46 +08:00
Haojun Liao
f359a0dca3 fix(stream): set the correct end key of delete block. 2023-07-31 14:22:46 +08:00
liuyao
09c806539f fix double free 2023-07-30 17:21:42 +08:00
Haojun Liao
8dfef8768a other: merge 3.0 2023-07-29 22:54:16 +08:00
Haojun Liao
80ad5a0abb
Merge pull request #22243 from taosdata/fix/3_liaohj
fix(stream): initialize the filter window initial range.
2023-07-29 21:10:42 +08:00
Haojun Liao
399088e2bd fix(stream): remove invalid code. 2023-07-29 19:23:35 +08:00
Haojun Liao
94551e6e46 fix(stream): update the load block position. 2023-07-29 18:48:22 +08:00
Haojun Liao
e0c310215c
Merge pull request #22237 from taosdata/fix/TD-25420
init scan state
2023-07-29 16:55:43 +08:00
Haojun Liao
71e16d1eeb
Merge pull request #22238 from taosdata/fix/TD-25423
save compact window info
2023-07-29 16:55:27 +08:00
Haojun Liao
0bd2548937 fix(stream): initialize the filter window initial range. 2023-07-29 16:41:01 +08:00
Haojun Liao
f6e07d1fdb other: merge 3.0 2023-07-29 01:32:02 +08:00
Haojun Liao
92d1dbd9ad fix(stream): set the time window filter before generating create table result. 2023-07-29 01:23:06 +08:00
liuyao
73ed6fe649 save compace window info 2023-07-28 19:30:26 +08:00
dapan1121
b7126b9cc6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-28 18:01:11 +08:00
dapan1121
9ed1417bba enh: remove group cache 2023-07-28 18:00:33 +08:00
liuyao
d712124921 init scan state 2023-07-28 17:25:56 +08:00
dapan1121
9c7b53083b
Merge pull request #22223 from taosdata/fix/td-25378
fix: fix memleak during create initial sources for block merge sort
2023-07-28 13:09:34 +08:00
Haojun Liao
2a78cd2d23
Merge pull request #22215 from taosdata/fix/liaohj
other: merge main.
2023-07-28 13:06:17 +08:00
slzhou
bcf4c1ebae fix: fix memleak during create initial sources for block merge sort 2023-07-28 09:54:56 +08:00
Haojun Liao
688884de08
Merge pull request #22220 from taosdata/fix/ly_stream_fill
fix stream fill issue
2023-07-28 09:27:21 +08:00
Haojun Liao
ccc0f13649
Merge pull request #22214 from taosdata/fix/3_liaohj
fix(stream): scan wal in step2
2023-07-28 00:42:15 +08:00
Haojun Liao
22a5a18fff fix(stream): 1. set correct timewindow after step2. 2. handle the case when the task is failed to be added into the meta store. 2023-07-27 18:57:36 +08:00
liuyao
f667a09cc6 fix stream fill issue 2023-07-27 18:56:25 +08:00
liuyao
5d21f50340 adjust history task trigger mode 2023-07-27 17:45:28 +08:00
Haojun Liao
b145771a1b other: merge 3.0 2023-07-27 16:38:57 +08:00
Haojun Liao
3d403dca5a other: merge main. 2023-07-27 16:23:41 +08:00
Haojun Liao
3fdbd5383f Merge remote-tracking branch 'origin/fix/3_liaohj' into fix/3_liaohj 2023-07-27 16:11:07 +08:00
Haojun Liao
6ff50d4eaf fix(stream): update the step2 scan wal files. 2023-07-27 16:10:55 +08:00
liuyao
7c9898cfa5 adj stream scan 2023-07-27 15:56:06 +08:00
liuyao
c54bd55c68 op stream scan 2023-07-27 15:16:22 +08:00
liuyao
c72274504e op stream scan 2023-07-27 15:13:57 +08:00
liuyao
0b53bdbae6 op stream scan 2023-07-27 15:09:25 +08:00
liuyao
0ac7ebe9c7 op stream scan 2023-07-27 14:56:06 +08:00
Haojun Liao
40fe3ef4f6 fix(stream): refactor the step2 wal scan. 2023-07-27 14:49:20 +08:00
liuyao
1894608b80 optimize session operator reload state 2023-07-27 09:59:58 +08:00
Haojun Liao
05504023f5
Merge pull request #22200 from taosdata/fix/ly_stream_test
stream fill operator mem leak
2023-07-27 09:38:22 +08:00
dapan1121
e83a46b88f enh: cache necessary file for seq mode 2023-07-26 19:17:59 +08:00
liuyao
c368db30c3 stream fill operator mem leak 2023-07-26 17:38:37 +08:00
Haojun Liao
432c943c25 fix(stream): do filter before the update check. 2023-07-26 16:34:39 +08:00
Haojun Liao
610f9d19c1
Merge pull request #22188 from taosdata/fix/3_liaohj
fix(stream): set the correct step2 scan time window range.
2023-07-26 16:34:10 +08:00
Haojun Liao
df57768a3e Merge branch '3.0' into fix/3_liaohj 2023-07-26 14:45:11 +08:00
dapan1121
4e5fbb52ee Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-26 13:56:46 +08:00
dapan1121
6a0061ccfb fix: invalid task status update issue 2023-07-26 13:54:58 +08:00
Haojun Liao
4d6b9d4a15 fix(stream): split delete msg for real-time scan from wal. 2023-07-26 09:08:17 +08:00
Haojun Liao
1c1bf63e1f other: merge 3.0 2023-07-25 18:17:11 +08:00
dapan1121
66042669a1
Merge pull request #22176 from taosdata/szhou/enhance-limit-proc
fix: choose heap sort for table merge scan with long row and limit
2023-07-25 17:48:11 +08:00
slzhou
f4c28d848b fix: table merge scan use heap sort when there is limit 2023-07-25 15:23:00 +08:00
Haojun Liao
d29f835a63 fix(stream): set the correct step2 scan time window range. 2023-07-25 15:09:22 +08:00
slzhou
ca2ad71bb8 fix: return null when there are no input stream blocks for priority queue sort 2023-07-25 13:08:37 +08:00
slzhou
a205eba2ab fix: choose heap sort for table merge scan when row size is big and has limit 2023-07-25 09:48:08 +08:00
dapan1121
fb63294289 fix: hash join res issue 2023-07-25 09:03:52 +08:00
dapan1121
10f9c40dba
Merge pull request #22171 from taosdata/szhou/enhance-limit-proc
enhance: skip data blocks with the merge limit ts when create initial…
2023-07-25 08:42:35 +08:00
Haojun Liao
01f11bf5a6 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2
# Conflicts:
#	source/common/src/tglobal.c
#	source/libs/executor/src/timewindowoperator.c
2023-07-24 15:25:43 +08:00
Haojun Liao
1e34f84f78 other: merge 3.0 2023-07-24 15:23:03 +08:00
slzhou
1d24b96e82 enhance: skip data blocks with the merge limit ts when create initial source 2023-07-24 15:16:39 +08:00
liuyao
992f1cb328 merge code 2023-07-24 15:00:48 +08:00
dapan1121
6fbf251978
Merge pull request #22138 from taosdata/enh/TS-3625
fix: fix(value, null) output behavior
2023-07-24 13:17:19 +08:00
dapan1121
4f75eb5655 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-24 11:43:15 +08:00
dapan1121
ebf1a91fb5 enh: read/write from disk cache 2023-07-24 11:39:00 +08:00
Haojun Liao
321be1f83f
Merge pull request #22135 from taosdata/fix/3_liaohj
refactor: do some internal refactor.
2023-07-22 15:06:28 +08:00
dapan1121
ae8caa8275 enh: add disk cache 2023-07-21 19:25:38 +08:00
dapan1121
3725cafe00 enh: add disk cache 2023-07-21 17:30:09 +08:00
liuyao
4451b2185a transform stream state 2023-07-21 10:32:53 +08:00
liuyao
d45563684b
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-21 10:23:41 +08:00
Ganlin Zhao
62b73db8bf fix: fix(value, null) output behavior 2023-07-21 10:19:41 +08:00
Ganlin Zhao
624b6b094f fix: fix(value, null) output behavior 2023-07-21 10:14:12 +08:00
Haojun Liao
d0da988b7d Merge branch '3.0' into fix/3_liaohj 2023-07-21 09:47:44 +08:00
dapan1121
2ef01728ca
Merge pull request #22089 from wangjiaming0909/fix/3.0/TD-23763
feat: optimize partition by tbname slimit
2023-07-21 09:29:36 +08:00
dapan1121
fde8eabfd7
Merge pull request #22111 from taosdata/szhou/tms-dev-2
enhance: table merge scan optimization
2023-07-20 16:28:29 +08:00
Haojun Liao
45cb478b31 refactor: do some internal refactor. 2023-07-20 15:36:46 +08:00
wangjiaming0909
7d850c1a5e feat: optimize partition by tbname slimit 2023-07-20 15:07:55 +08:00
slzhou
1a0031a43c enhance: uinfo to qdebug and increase pages num to 2048 2023-07-20 13:53:13 +08:00
slzhou
5d9f6fd481 fix: fix limit/offset bugs 2023-07-20 12:29:34 +08:00
dapan1121
7221f447df fix: group cache table index issue 2023-07-20 11:00:29 +08:00
dapan1121
3f58bc5578 fix: group cache last block index issue 2023-07-20 10:55:15 +08:00
dapan1121
58c5d5e70e fix: group cache block cache issue 2023-07-20 10:21:19 +08:00
slzhou
30129f64da enhance: merge blocks of the same table before sort 2023-07-20 09:28:19 +08:00
liuyao
8a6ed67f9d fill history 2023-07-20 09:13:30 +08:00
dapan1121
b9b8fa1ba2 fix: table list issue 2023-07-19 19:41:54 +08:00
dapan1121
a41888a9ef fix: batch fetch issue 2023-07-19 19:14:30 +08:00
liuyao
af18afba9d fill history 2023-07-19 17:19:55 +08:00
liuyao
c7e4aa4f77 set win range 2023-07-19 15:51:22 +08:00
dapan1121
d125bb0952 fix: merge join reset params issue 2023-07-19 14:59:05 +08:00
liuyao
8481725517 remove redundant results 2023-07-19 14:58:28 +08:00
dapan1121
8b62c75c26 fix: merge join ignore param issue 2023-07-19 14:42:18 +08:00
slzhou
d1a1976aa4 enhance: add limit to merge sort 2023-07-19 13:59:43 +08:00
dapan1121
38be8f2a8e fix: reset rows before reuse block 2023-07-19 13:42:15 +08:00
dapan1121
6960872515 enh: add merge join reset 2023-07-19 11:56:13 +08:00
dapan1121
b2cea6ab84 fix: block info capicity issue 2023-07-19 11:42:54 +08:00
dapan1121
6d7912003d fix: block data memory issue 2023-07-19 11:34:44 +08:00
dapan1121
c45359c989 enh: add batch table scan 2023-07-19 10:37:30 +08:00
liuyao
fd02b9a71e
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-19 10:02:06 +08:00
wangmm0220
5c344b0159 fix:conflicts from main 2023-07-19 09:05:05 +08:00
dapan1121
04fea1e38f enh: add batch fetch process 2023-07-18 19:35:45 +08:00
liuyao
caa4503352 reset state key memory 2023-07-18 18:02:39 +08:00
liuyao
bada18f5f0 heap use after free 2023-07-18 17:59:42 +08:00
slzhou
4348b9c51d fix: use uinfo to show on stdout 2023-07-18 16:47:31 +08:00
slzhou
f79fc81d9c fix: add to page buf in the same way as single source sort 2023-07-18 15:46:38 +08:00
liuyao
14e591c802 mem leak 2023-07-18 14:51:32 +08:00
dapan1121
294376de0b enh: add batch table scan 2023-07-18 14:44:53 +08:00
yihaoDeng
ad0b0c3821 fix mem leak 2023-07-18 06:04:41 +00:00
dapan1121
c2245a3546
Merge pull request #22100 from taosdata/fix/TD-25241
fix: fix interval in nested query filter not applied
2023-07-18 13:52:35 +08:00
liuyao
a4676fc74b init winkey 2023-07-18 10:43:35 +08:00
slzhou
97a6e89d11 enhance: refactor create initial sources 2023-07-18 10:38:40 +08:00
Ganlin Zhao
94b13df641 fix: fix interval in nested query filter not applied 2023-07-18 10:36:07 +08:00
slzhou
ba2b404295 enhance: optimize msortComparFn for table merge scan 2023-07-17 21:07:55 +08:00
yihaoDeng
1b8ec19509 fix compile err on windows 2023-07-17 11:44:40 +00:00
liuyao
d45adeaa4e add checksum 2023-07-17 18:04:17 +08:00
slzhou
1b9754f1bc enhance: add log with info level. change to debug later 2023-07-17 16:18:06 +08:00
Haojun Liao
08f43b9d00 fix(stream): fix checkpoint block not fetched bug. 2023-07-17 15:31:54 +08:00
dapan1121
c22619ab67 fix: add perf debug info 2023-07-17 15:26:59 +08:00
slzhou
655233fd4f fix: create initial source with blocks 2023-07-17 15:05:30 +08:00
dapan1121
2e0b4236e3 fix: hash join row index issue 2023-07-17 14:45:45 +08:00
liuyao
e80ae266ab refact 2023-07-17 14:37:54 +08:00
dapan1121
efbb6cb193 fix: add debug line 2023-07-17 13:50:19 +08:00
Haojun Liao
b2a905bd91
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-17 11:50:12 +08:00
dapan1121
8872e017af fix: group table scan issue 2023-07-17 11:15:17 +08:00
dapan1121
a1e18ac898 fix: fix global cache issue 2023-07-17 09:25:28 +08:00
shenglian zhou
9a0e9df567 enhance: block is ts sorted and each book is a source 2023-07-16 23:39:41 +08:00
slzhou
f93af4d2e0 enhance: pass simple test 2023-07-16 20:28:54 +08:00
shenglian zhou
8b6d7db7ad enhance: use one tsdb reader to read table sequentially 2023-07-16 17:54:39 +08:00
dapan1121
188df1d675 fix: fix bugs 2023-07-14 19:36:56 +08:00
wangmm0220
6762a01d88 Merge branch 'main' of https://github.com/taosdata/TDengine into mark/tmq 2023-07-14 16:44:00 +08:00
wangmm0220
bbdcbcb75b fix:modify commit version to next validate version 2023-07-14 16:43:28 +08:00
dapan1121
aca9c5fe19 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-14 13:31:07 +08:00
dapan1121
2312f10372 enh: support concurrent fetch from group cache 2023-07-14 13:30:13 +08:00
dapan1121
1a19d29eee
Merge pull request #22060 from taosdata/fix/TD-25209
fix: reset interpolation buffer after last valid row for interval + fill(next)
2023-07-14 09:30:56 +08:00
Ganlin Zhao
a7af4d9348 fix: reset interpolation buffer after last valid row for interval + fill(next) 2023-07-13 18:18:26 +08:00
Haojun Liao
e0ea0f2df4
Merge pull request #22020 from taosdata/fix/liaohj
other: merge main
2023-07-13 17:55:28 +08:00
liuyao
d6bb19485a mem leak 2023-07-13 16:53:07 +08:00
liuyao
20235fb953 set ck id 2023-07-13 11:20:18 +08:00
Haojun Liao
f41bcd73b0 other: merge main. 2023-07-13 11:02:09 +08:00
Haojun Liao
c388802bda
Merge pull request #22024 from taosdata/fix/3_liaohj
fix(stream): fix concurrent bug in save task meta.
2023-07-12 18:17:27 +08:00
liuyao
020cdf4d27 get checkpoint id 2023-07-12 14:06:36 +08:00
dapan1121
6763c6f98c enh: support parallel group cache fetch 2023-07-12 11:29:54 +08:00
liuyao
0cfc81c16b add checkpoint id for recover 2023-07-12 11:08:12 +08:00
liuyao
7d4bb1b932 add checkpoint id for recover 2023-07-12 10:48:58 +08:00
Haojun Liao
9484f3da94
Merge branch '3.0' into enh/triggerCheckPoint2 2023-07-12 10:20:18 +08:00
Haojun Liao
a049e310f6 Merge remote-tracking branch 'origin/enh/triggerCheckPoint2' into enh/triggerCheckPoint2 2023-07-12 10:16:26 +08:00
Haojun Liao
6f2fc4fab3 fix(stream): commit task meta after do vnode-wide checkpoint. 2023-07-12 10:16:14 +08:00
dapan1121
a42bd9e478 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-11 19:34:39 +08:00
dapan1121
185071fae9 enh: add group cache func 2023-07-11 19:34:03 +08:00
Haojun Liao
fed3803739 fix(stream): fix memory leak. 2023-07-11 19:29:52 +08:00
liuyao
6298f17c45 delete invalid code 2023-07-11 19:21:27 +08:00
wangjiaming0909
1d7515213b feat: 1. add limit for diskBasedBuf
2. use referenced tuple before actually pushing into pq
3. use limitInfo instead of maxRows in sort pyhsical node
2023-07-11 14:16:20 +08:00
Shungang Li
8f91da24e4 fix: type convert failure returns errcode
TSDB_CODE_SCALAR_CONVERT_ERROR:
"Cannot convert to specific type"
2023-07-11 10:20:50 +08:00
wade zhang
13bc1e744e
Merge pull request #21963 from luckeverda/fix/TD-24473-new
fix/TD-24473
2023-07-11 09:32:25 +08:00
liuyao
184b2d64f7 scan op state 2023-07-11 09:18:17 +08:00
Haojun Liao
3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
liuyao
f35fd3c2f7 scan op state 2023-07-11 09:09:24 +08:00
liuyao
93f546f50d stream operator decode 2023-07-10 19:33:31 +08:00
dapan1121
2d3f9c739d enh: add group cache 2023-07-10 19:23:52 +08:00
dapan1121
61c85ae4fc Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-10 15:06:21 +08:00
dapan1121
39a58c354d
Merge pull request #22008 from taosdata/fix/TS-3648
fix: fix interp fill value unsigned type not being handled
2023-07-10 14:50:23 +08:00
liuyao
ee196a88e6 fix ci bug 2023-07-10 13:45:18 +08:00
Ganlin Zhao
edc2a3a780 fix an issue 2023-07-10 11:35:29 +08:00
Ganlin Zhao
f7608ce92d remove udfd agg function handling 2023-07-10 11:35:03 +08:00
Ganlin Zhao
19d4c79ac6 return error code of udf execution failure 2023-07-10 11:34:49 +08:00
Ganlin Zhao
cde9eac954 enh: add procedures on server for udf/udaf in nested queries where outer query is
constant table
2023-07-10 11:34:32 +08:00
Ganlin Zhao
05f26a842b fix: fix interp fill value unsigned type not being handled 2023-07-10 11:28:39 +08:00
liuyao
f4df89f755 stream operator checkpoint 2023-07-10 11:16:50 +08:00
liuyao
84f0dfd6d4 stream operator checkpoint 2023-07-10 11:07:08 +08:00
Haojun Liao
5940bbfb33 fix(stream): set correct datablock. 2023-07-10 10:42:38 +08:00
liuyao
e1134423de stream scan checkpoint 2023-07-10 10:22:09 +08:00
liuyao
fa8025f337 scan operator checkpoinbt 2023-07-10 10:14:30 +08:00
Shungang Li
8de31219b4 fix: type convert failure returns errcode
TSDB_CODE_SCALAR_CONVERT_ERROR:
"Cannot convert to specific type"
2023-07-10 09:29:29 +08:00
Ganlin Zhao
340e4de30d fix an issue 2023-07-10 09:12:21 +08:00
Haojun Liao
a5c19427e7 fix(stream): send correct rsp to mnode. 2023-07-08 09:39:44 +08:00
dapan1121
8e1f4d1d6a fix: operator param issues 2023-07-07 19:31:56 +08:00
dapan1121
c19c59d5e6 enh: optimize oprator param usage 2023-07-07 16:49:35 +08:00
dapan1121
779224f0a6 fix: fix bugs 2023-07-06 19:33:31 +08:00
Ganlin Zhao
365993d775 remove udfd agg function handling 2023-07-06 16:11:41 +08:00
liuyao
d3bac29a32 checkpoint 2023-07-06 15:33:16 +08:00
Ganlin Zhao
d4e07c551e return error code of udf execution failure 2023-07-06 15:05:49 +08:00
Ganlin Zhao
b734506363 enh: add procedures on server for udf/udaf in nested queries where outer query is
constant table
2023-07-06 14:54:01 +08:00
liuyao
0e914a19c6 stream operartor checkpoint 2023-07-06 14:28:34 +08:00
Haojun Liao
5a9461a69a other: merge 3.0 2023-07-06 11:52:21 +08:00
Haojun Liao
f4a3567935 other: merge 3.0 2023-07-06 11:24:30 +08:00
dapan1121
18c2400c75 fix: dynamic query ctrl compile issues 2023-07-06 11:13:43 +08:00
dapan1121
b371b7e6be fix: compile issue and merge join crash issue 2023-07-06 10:52:28 +08:00
dapan1121
4cb849267a Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-06 09:55:17 +08:00
dapan1121
e7c200ad6e enh: support dynamic table scan 2023-07-06 09:54:45 +08:00
dapan1121
0718859c0a enh: support passing params between nodes 2023-07-05 19:24:06 +08:00
Haojun Liao
74f5b3f80e
Merge pull request #21959 from taosdata/refact/fillhistory
refactor: do some internal refactor.
2023-07-05 17:47:00 +08:00
Haojun Liao
03dbcbf055 refactor: do some internal refactor. 2023-07-05 15:55:55 +08:00
dapan1121
c85bbef2e9 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-07-05 11:13:57 +08:00
dapan1121
7b9d73c77a feat: add dynamic query ctrl operator 2023-07-05 11:07:08 +08:00
Haojun Liao
9b3e34d589
Merge pull request #21735 from taosdata/refact/fillhistory
refactor: refactor the fill history operation
2023-07-05 10:48:51 +08:00
Haojun Liao
ff2bf35603 fix(stream): fix error in set the version range for secondary scan. 2023-07-04 15:08:39 +08:00
Haojun Liao
82342ebdc7
Merge pull request #21934 from taosdata/feature/TD-20678
feat:subscribe only meta info
2023-07-04 11:28:27 +08:00
dapan1121
ac35ae9839 feat: add dynamic query ctrl operator 2023-07-03 19:29:46 +08:00
Haojun Liao
200575647c
Merge branch '3.0' into refact/fillhistory 2023-07-03 15:16:18 +08:00
Haojun Liao
20d099dfa6
Merge pull request #21901 from taosdata/fix/liaohj
fix: fix coverity issue.
2023-07-03 15:15:21 +08:00
dapan1121
5971395dcf feat: add group cache operator 2023-07-03 13:42:06 +08:00
dapan1121
60290b98e4 feat: add group cache operator 2023-06-30 19:20:36 +08:00
wangmm0220
58c7011e0e feat:support only meta in tmq subscriptions 2023-06-30 11:42:40 +08:00
dapan1121
7dddfd0a5a Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-29 19:29:27 +08:00
Haojun Liao
622e1cb608 fix: fix coverity issue. 2023-06-29 15:54:09 +08:00
Haojun Liao
c24a7f6454
Merge pull request #21876 from taosdata/feature/TS-3495
fix:add log & init to 0 specific
2023-06-29 13:44:25 +08:00
wade zhang
80130b2691
Merge pull request #21851 from luckeverda/fix/TD-24473
fix/TD-24542/TD-24484/TD-24473
2023-06-29 10:42:53 +08:00
Shungang Li
308ba7a02e fix: type geometry predicates support
support "=, <>, is null, is not null, in, not in"
2023-06-29 09:44:51 +08:00
dapan1121
9f0da17c49 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-28 19:40:55 +08:00
wangmm0220
6cd0f98e44 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TS-3495 2023-06-28 18:09:30 +08:00
liuyao
2fc5eeb810 session win range 2023-06-28 17:20:08 +08:00
Haojun Liao
f4309603e3 fix(stream): fix syntax error. 2023-06-28 14:05:38 +08:00
Haojun Liao
ed900d6ff6
Merge branch '3.0' into refact/fillhistory 2023-06-28 13:48:26 +08:00
wangmm0220
1fc664693e fix:continue consume if wal is dropped 2023-06-28 11:54:48 +08:00
Haojun Liao
a19e63fd23 fix(stream): fix error in handling fill history. 2023-06-27 23:00:14 +08:00
dapan1121
8f39b9d2e4 enh: optimize query plan 2023-06-27 19:36:51 +08:00
Yihao Deng
4de7db06f9
Merge branch '3.0' into enh/triggerCheckPoint2 2023-06-27 17:57:14 +08:00
wangjiaming0909
57ddb3437d feature: optimize order by limit using priority queue 2023-06-27 17:50:50 +08:00
Haojun Liao
32fddeff18 fix(stream): fix error retrieve data from source task.And optimize the test cases. 2023-06-27 16:24:47 +08:00
Haojun Liao
3289ad62be other: merge 3.0 2023-06-27 11:33:40 +08:00
Haojun Liao
600607ef84
Merge pull request #21846 from taosdata/fix/TD-24969
stream single session op end window function
2023-06-27 10:38:38 +08:00
dapan1121
4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
liuyao
d1ca2ae2a0 stream single session op end window function 2023-06-26 17:10:06 +08:00
dapan1121
ce2635074d enh: add uid/vgid functions 2023-06-26 11:48:47 +08:00
liuyao
1d22e6ba52 stream session end window function 2023-06-26 10:51:45 +08:00
yihaoDeng
04ab8e19d0 Merge branch 'enh/dev30' into enh/triggerCheckPoint2 2023-06-25 19:58:45 +08:00
liuyao
e236bf818c set fill history info 2023-06-25 17:47:10 +08:00
dapan1121
9972aa81d6 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-25 17:31:32 +08:00
dapan1121
24a5a3f41b fix: compile issues 2023-06-25 17:31:04 +08:00
Haojun Liao
e4e66ad0a4 fix: fix memory leak. 2023-06-25 14:56:08 +08:00
Haojun Liao
7e7feeffdf fix: fix memory leak. 2023-06-25 14:38:31 +08:00
Haojun Liao
6857881742 Merge branch '3.0' into refact/fillhistory 2023-06-25 10:41:32 +08:00
wade zhang
254a20bdf3
Merge pull request #21660 from luckeverda/feat/TD-23739
feat/TD-23739: enhance ttl, deletetime modified by writing-op
2023-06-25 09:06:57 +08:00
Haojun Liao
ceb78fdad2
Merge branch '3.0' into refact/fillhistory 2023-06-24 18:53:48 +08:00
dapan1121
3ad98b4eea fix: copy result issue 2023-06-21 19:51:06 +08:00
dapan1121
2b55a75e82 enh: refact code 2023-06-21 19:33:27 +08:00
liuyao
d23c80b12f free mem 2023-06-21 10:24:34 +08:00
wangjiaming0909
eb7d23ca95 fix: fill operator with wrong input ts order 2023-06-21 09:23:58 +08:00
liuyao
1bed2b1e40 free mem 2023-06-21 09:13:46 +08:00
dapan1121
7e555e437b enh: add hash join 2023-06-20 19:34:16 +08:00
liuyao
fbed0acace free mem 2023-06-20 19:23:30 +08:00
liuyao
3cfda2c579 scan op transform 2023-06-20 17:44:41 +08:00
Minglei Jin
fa5d52613e fix(query/scan-oper): use META_READER_NOLOCK to init meta reader 2023-06-20 17:33:28 +08:00
liuyao
74bea44300 stream op transform 2023-06-20 17:30:59 +08:00
yihaoDeng
548e439aa2 add checkpoint 2023-06-19 20:48:49 +08:00
dapan1121
1a53a9084e feat: add buffer page 2023-06-19 19:40:15 +08:00
Shungang Li
b93f653d7e feat: enhance ttl, deletetime modified by writing-ops
new config item: ttlChangeOnWrite (default 0)
ttl delete time changes on last write if true
2023-06-19 19:03:35 +08:00
liuyao
41c193945f fill history pause&resume 2023-06-19 17:28:19 +08:00
dapan1121
1ca24fea6b
Merge pull request #21742 from wangjiaming0909/feature/3.0/TD-24656
feature: add input, output ts order for execution plans
2023-06-18 19:24:29 +08:00
slzhou
fc523d1265 fix: at most 128 k-way merge to decrease memory usage 2023-06-18 07:53:35 +08:00
slzhou
9e781ed7a6 fix: destory data block to fix oom 2023-06-18 06:50:53 +08:00
slzhou
577c131360 fix: search k-way number 2023-06-17 22:13:08 +08:00
slzhou
0a567252f5 fix: oom issue since table merge scan 2023-06-17 18:50:33 +08:00
wangjiaming0909
61309862c2 fix comments of TD-24656 2023-06-16 18:12:02 +08:00
Ganlin Zhao
9cddf06053 handle 0 result case for groups 2023-06-16 16:11:56 +08:00
Ganlin Zhao
e4c9a7474e remove test code 2023-06-16 14:58:23 +08:00
Ganlin Zhao
e74c0ac987 save index instead of ts 2023-06-16 14:11:19 +08:00
dapan1121
bb8840d4ec
Merge pull request #21749 from taosdata/szhou/fix-ts3543
fix: table merge scan oom with muliti-level merge sort
2023-06-16 14:05:25 +08:00
dapan1121
9a3781ea19
Merge pull request #21743 from taosdata/fix/td-24784
fix: cleanup datablock so that varmeta length is right
2023-06-16 13:20:56 +08:00
wade zhang
d5f37359f4
Merge pull request #21722 from taosdata/fix/TD-24761
fix(tsdb/cache): rewrite cache update to fix cpu usage
2023-06-16 11:52:02 +08:00
wangjiaming0909
fb4f174fbc feature: add input, output ts order for execution plans 2023-06-16 10:26:09 +08:00
Ganlin Zhao
fe2629d061 Merge branch '3.0' into feat/TD-22193 2023-06-16 10:16:51 +08:00
Haojun Liao
933801269a fix(stream): fix memory leak and failed to close vnode. 2023-06-16 09:55:11 +08:00
slzhou
e35553d6a0 fix: fix memory sanitizer error 2023-06-16 09:02:15 +08:00
shenglian zhou
376688479c fix: remove multi-reader since two level merge is used 2023-06-16 09:00:50 +08:00
slzhou
0b61b88c10 fix: fix oom issue 2023-06-16 09:00:31 +08:00
dapan1121
e6afcbf07f feat: hash join init version 2023-06-15 19:34:15 +08:00
Haojun Liao
f3df37bf28 fix(stream): fix memory leak. 2023-06-15 17:56:58 +08:00
Minglei Jin
158ae209bf cache/lru: new applyF API for tlrucache 2023-06-15 16:34:51 +08:00
shenglian zhou
b7165da5e3 fix: cleanup datablock so that varmeta length is right 2023-06-15 16:10:28 +08:00
Haojun Liao
74e0138f72 Merge branch '3.0' into refact/fillhistory 2023-06-15 15:25:00 +08:00
liuyao
693942b821 trans state 2023-06-15 14:13:17 +08:00
Haojun Liao
1b9eca5ce0 other: merge main. 2023-06-15 13:03:17 +08:00
Haojun Liao
55724157c4 refactor: remove one function. 2023-06-15 10:40:25 +08:00
Haojun Liao
7c6fbd7772 enh(stream): do some internal refactor and support secondary scan for history data. 2023-06-14 14:10:09 +08:00
yihaoDeng
ed33e6ea43 change log level when filter tag 2023-06-13 07:06:08 +00:00
slzhou
13ddd37529 fix: fix memory sanitizer error 2023-06-13 14:51:41 +08:00
liuyao
c58bde9715 stream operator fill history 2023-06-13 10:57:36 +08:00
yihaoDeng
8dc6d1cc6a change log level when filter tag 2023-06-13 01:51:22 +00:00
dapan1121
7956a8c420 fix: row size too big issue 2023-06-09 13:49:25 +08:00
Haojun Liao
53246ed6bb other: merge other branch. 2023-06-09 09:41:10 +08:00
Ganlin Zhao
bef6214904 remove test code 2023-06-08 19:30:05 +08:00
Ganlin Zhao
145bb93967 fix block only have one row 2023-06-08 19:21:04 +08:00
Haojun Liao
c9aa59cbb9 refactor: do some internal refactor. 2023-06-08 18:59:25 +08:00
Ganlin Zhao
21fccc2d48 fix switchin group issue 2023-06-08 18:25:32 +08:00
Ganlin Zhao
7ee05df7c6 fix lastBlock remain ts not saved 2023-06-08 17:46:25 +08:00
Ganlin Zhao
b4c2085ddc feat: add pipeline processing for timeslice operator 2023-06-08 16:32:35 +08:00
Haojun Liao
2b6ace653a refactor: do some internal refactor. 2023-06-08 16:14:27 +08:00
dapan1121
a9ed1f6d46
Merge pull request #21567 from wangjiaming0909/fix/3.0/TD-24525
fix: prevent projectoperator scanning all rows when limit with no group
2023-06-08 15:14:48 +08:00
Haojun Liao
f582705feb refactor: do some internal refactor. 2023-06-08 14:18:06 +08:00
dapan1121
958160be0b
Merge pull request #21599 from taosdata/enh/TD-24274
enh: enable interp fill value support scarlar expression
2023-06-08 10:39:38 +08:00
dapan1121
6c74282946
Merge pull request #21597 from taosdata/enh/TD-24586
enh: optimize filter performance
2023-06-08 09:05:56 +08:00
Ganlin Zhao
c612d945ec fix fill value bug 2023-06-07 18:27:29 +08:00
dapan1121
a4f5bac344
Merge pull request #21606 from taosdata/szhou/fix-ts3498
fix: rewrite count(*) to count(1) for temp table
2023-06-07 15:56:50 +08:00
dapan1121
47c891fbc5 Merge remote-tracking branch 'origin/main' into enh/TD-24586 2023-06-07 09:27:56 +08:00
liuyao
2ab43ca0d0 semi interval op check data ts 2023-06-07 09:24:17 +08:00
Haojun Liao
6a3c935b4a fix(stream): fix error in fill history scan. 2023-06-07 09:15:55 +08:00
wangjiaming0909
3cb64f3775 fix: prevent projectoperator scanning all rows when limit with no group 2023-06-06 19:28:55 +08:00
liuyao
bff2aae354 fix stream ci issue 2023-06-06 19:18:43 +08:00
liuyao
49ca147c47 fix stream ci issue 2023-06-06 19:18:43 +08:00
dapan1121
a0428387a9 enh: corrent column data reassign issue 2023-06-06 16:44:15 +08:00
liuyao
201d0f2d18 fix stream ci issue 2023-06-06 16:37:08 +08:00
dapan1121
65d323d9c7
Merge pull request #21222 from taosdata/fix/TD-24001
enh: optimize timeline function validation
2023-06-06 14:22:53 +08:00
dapan1121
02b1257b01 enh: reassign data column in blocks 2023-06-06 11:17:02 +08:00
slzhou
e2ac3d00ad fix: fix mem leak 2023-06-06 10:20:52 +08:00
dapan1121
7381209618 enh: optimize filter performance 2023-06-05 16:08:11 +08:00
Haojun Liao
fcc706c45c enh(stream): refactor the fill history task. 2023-06-05 15:59:01 +08:00
Minglei Jin
d02746d86f fix(query/sys): pause/resume with sys scan operator 2023-06-05 15:24:39 +08:00
dapan1121
532e02fb2a enh: improve filter performance 2023-06-05 10:47:15 +08:00
Haojun Liao
044e56fc97
Merge branch '3.0' into fix/resume_mem 2023-06-03 12:19:17 +08:00
Haojun Liao
cb7bb954b5
Merge pull request #21577 from taosdata/fix/TD-24515
reset unclosed window info
2023-06-03 11:21:06 +08:00
Haojun Liao
cca69f3038 Merge branch '3.0' into fix/resume_mem 2023-06-02 18:40:48 +08:00
liuyao
17f2c3f882 reset wind info 2023-06-02 18:27:22 +08:00
Haojun Liao
3d7defa881 refactor: do some internal refactor. 2023-06-02 15:43:38 +08:00
Haojun Liao
2edba85efe refactor: do some internal refactor. 2023-06-02 15:27:44 +08:00
Haojun Liao
bcd8867fb2 refactor: do some internal refactor. 2023-06-02 15:27:14 +08:00
Haojun Liao
76106165da other: add some logs. 2023-06-02 15:13:25 +08:00
yihaoDeng
f59161464d avoid mem leak 2023-06-02 06:48:26 +00:00
dapan1121
ddd3a53e56 Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-06-02 13:57:34 +08:00
Haojun Liao
cce87a036f other: merge 3.0. 2023-06-02 13:34:20 +08:00
Haojun Liao
d45aa7ef84
Merge pull request #21555 from taosdata/fix/liaohj_main
other: merge main into 3.0.
2023-06-02 13:11:12 +08:00
Haojun Liao
f1bd829977 refactor: do some internal refactor. 2023-06-02 13:10:54 +08:00
dapan1121
7df4f8a89e
Merge pull request #21556 from taosdata/fix/TD-24489
fix: fix interval operator ensure capacity logic
2023-06-02 11:52:25 +08:00
Haojun Liao
b5d87b1d5c
Merge pull request #21564 from taosdata/fix/TD-24565
set recover scan version
2023-06-02 11:20:53 +08:00
Haojun Liao
27b7d1ec88 refactor: do some internal refactor. 2023-06-02 11:17:44 +08:00
liuyao
274771d7b4 TD-24565 2023-06-02 10:08:07 +08:00
Haojun Liao
fca91b3c0b
Merge pull request #21558 from taosdata/fix/TD-24520
reset sream fill block index
2023-06-02 09:04:38 +08:00
Haojun Liao
bbf3f1ccd9 fix(query): add more check. 2023-06-02 00:22:35 +08:00
Haojun Liao
403617976c fix(query): fix error in fill. 2023-06-01 22:45:03 +08:00
Haojun Liao
1036259a7b fix(query): fix error in fill. 2023-06-01 18:25:05 +08:00
jiajingbin
2935ebcfc4 set session update info 2023-06-01 17:26:03 +08:00
liuyao
64656a59d9 reset sream fill block index 2023-06-01 16:28:32 +08:00
Haojun Liao
706e350217 fix(query): fix error in fill and partition. 2023-06-01 14:36:42 +08:00
Ganlin Zhao
6517ede044 fix: fix interval operator ensure capacity logic 2023-06-01 11:23:31 +08:00
Haojun Liao
5d98a319c7
Merge pull request #21515 from taosdata/feature/TD-19042
feat: support create topic as stable with conditions
2023-06-01 09:56:55 +08:00
Haojun Liao
5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +08:00
Haojun Liao
46f731e4d9
Merge pull request #21551 from taosdata/fix/resume_mem
fix(query): check the version range when dump partial rows. #TD-24504
2023-05-31 21:51:07 +08:00
Haojun Liao
87deb36f8a refactor: do some internal refactor. 2023-05-31 19:36:02 +08:00
liuyao
7d699ae579 fix sliding window issue 2023-05-30 15:16:11 +08:00
wangmm0220
8835028002 fix:deal with node is null 2023-05-30 10:21:18 +08:00
wangmm0220
d490ca753f Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/TD-19042 2023-05-30 09:48:49 +08:00
wangmm0220
16e14b1c82 fix:compile error 2023-05-29 17:27:35 +08:00
wangmm0220
41ed0138b4 fix:compile error 2023-05-29 17:25:11 +08:00
wangmm0220
07bdb95b1a fix:compile error 2023-05-29 17:10:11 +08:00
kailixu
f984e67eaa fix(query): invalid buffer page 2023-05-29 16:04:35 +08:00
Haojun Liao
2ac83ec9c7
Merge pull request #21511 from taosdata/refact/fillhistory
refactor: do some internal refactor.
2023-05-29 15:43:40 +08:00
wangmm0220
78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
kailixu
3bbf5405c6 fix(query): invalid buf page 2023-05-29 14:36:29 +08:00
wangmm0220
a71878d07f feat: support create topic as stable with conditions 2023-05-29 11:46:59 +08:00
Haojun Liao
8f61e2d6ef refactor: do some internal refactor. 2023-05-29 10:50:50 +08:00
Haojun Liao
953a69a829 refactor: do some internal refactor. 2023-05-29 10:12:27 +08:00
dapan1121
e2d45438cb
Merge pull request #21405 from taosdata/szhou/scl-flt
enhance: scalar filter improvement
2023-05-28 18:49:39 +08:00
slzhou
70bcbafbb8 fix: json value length is not same as binary/nchar length 2023-05-26 13:36:56 +08:00
slzhou
81c796953e fix: address sanitizer error 2023-05-26 10:55:52 +08:00
Haojun Liao
cea8334427
Merge pull request #21449 from taosdata/refact/fillhistory
refactor: remove the module dependency.  TD-24279
2023-05-26 09:01:45 +08:00
dapan1121
e70c433a59 enh: support time line query from union/union all subquery 2023-05-26 08:44:23 +08:00
Haojun Liao
e24ce2111f fix: set function ptr. 2023-05-26 00:00:07 +08:00
Haojun Liao
c3be7b14be fix: set correct function ptr. 2023-05-25 17:51:03 +08:00
Haojun Liao
0966213847 fix(arch): set the correct module api dependency. 2023-05-25 14:21:40 +08:00
Haojun Liao
da9f33a483 fix: fix error in set function ptr. 2023-05-25 09:56:34 +08:00
liuyao
1f81642303 fix sma sliding window 2023-05-25 09:12:10 +08:00
Haojun Liao
4a42f6b983 fix: fix error in api call. 2023-05-25 00:50:03 +08:00
Haojun Liao
a9b18d203d fix:fix error. 2023-05-24 23:49:26 +08:00
Haojun Liao
ab907e3344 fix(query): fix syntax error. 2023-05-24 21:53:40 +08:00
dapan1121
137a9eb602
Merge pull request #21455 from taosdata/enh/add_varchar_sma
fix: fix count var type error
2023-05-24 18:41:01 +08:00
wangmm0220
8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +08:00
Haojun Liao
fe09705855 fix: set the init function pointer. 2023-05-24 17:13:20 +08:00
Dingle Zhang
984211f3b4
Feature/3.0 geometry (#21037)
* Add GEOMETRY data type and make sql.c able to parse it. The GEMETRY works like BINARY so far.

* add GEOMETRY type into gConvertTypes to fix some issues like DELETE calling

* change some test cases to make sure no same timestamp is inserted, and add my smoketest.sh

* Add a function MakePoint() and introduce a lib geometry

* implement sql functions GeomFromText() and AsText()

* Use GEOS *_r funcions instead for thread safety

* Handle with TSDB_DATA_TYPE_GEOMETRY when INSERT geometry data by converting WKT.
Add geosWrapper to wrap the basic GEOS functions for TDEngine.

* refactor AsText and MakePoint functions to be like GeomFromText

* Show WKT when print geometry data in screen
Dump hex data when dump geometry data in a file

* define TYPE_BYTES item for TSDB_DATA_TYPE_GEOMETRY, which casued some strange issues.

* set number of decimals of WKT to 6

* Implement SQL function Intersects()

* refactor geometry sql functions

* Add geosErrMsgeHandler() to get the GEOS error detail

* use threadlocal to instantiate SGeosContext
call destroyGeosContext() only if the thread exists

* remove SGeosContext *context param for all geometry functions since we use thread local one,
so that all caller do not need to know the context.

* Modify Intersects() to call PreparedIntersects() when one of param is a constant, which has higher performance.

* rename prepareFn() to initCtxFn() to avoid confusion with PreparedFn

* Add prefix "ST_" for all geometry functions

* move getThreadLocalGeosCtx() and destroyThreadLocalGeosCtx() into util,
so that all unit test tools can compile

* Add unit test for geometry lib, only test MakePoint so far

* refactor and enhance existing cases in geomFuncTest

* implement NULL type and NULL value test for geomFuncTest

* add test on geomFromText()

* add unit test on AsText() in geomFuncTest

* combine some makePointFunction test items

* add intersectsFunctionTwoColumns test
refactor on callGeomFromTextWrapper functions

* enhance intersectsFunction test to add cases like input constant , NULL type, NULL value, or wrong content

* add more cases into intersectsFunction test

* Add basic test on geometry in system test

* Add ST_GeomFromText and ST_AsText function test in system test on geometry

* add ST_Intersects function test in system test on geometry

* support to check expectedErrno in system test on geometry

* adjust geomTest unit test and geometry system test

* add geometry data type and functions in doc english version

* implement touchesFunction() in geometry lib
refactor geometry relation functions model

* separate gemFuncTest into several src files

* add unit test on touchesFunction

* support sql function ST_Touches()
add system test on ST_Touches

* add docs for ST_Touches()

* Add ST_Contains()

* Add ST_Covers()

* Add ST_Equals()

* add swapAllowed param for geomRelationFunction()
read geom2 earlier intead of at doGeosRelation()

* Add ST_ContainsProperly()

* build on windows

* Merge from 3.0 to 3.0_geometry

* change macro definition TSDB_DATA_TYPE_GEOMETRY as the last one for compatibility

* change '\\NULL' to 'NULL' back in shellDumpFieldToFile()

* add /usr/local/include into include directory

* add /usr/local/inlcude and /usr/local/lib in cmake.platform for DARWIN
2023-05-24 15:36:46 +08:00
Ganlin Zhao
89bea7100f fix: fix count var type error 2023-05-24 00:31:05 -07:00
Haojun Liao
1f7f326bed refactor: do some internal refactor and set the api function ptr. 2023-05-24 13:22:05 +08:00
wangjiaming0909
9a421a92f9 fix: core dump when select with interval caused by order 2023-05-24 10:32:10 +08:00
Haojun Liao
66477a28ca refactor: do some internal refactor. 2023-05-23 19:10:50 +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
c66c0c4dfd refactor: do some internal refactor. 2023-05-23 18:42:52 +08:00
Haojun Liao
3d084adf1f Merge remote-tracking branch 'origin/refact/fillhistory' into refact/fillhistory
# Conflicts:
#	source/dnode/vnode/inc/vnode.h
#	source/libs/executor/src/executil.c
#	source/libs/index/CMakeLists.txt
#	source/libs/index/src/indexFilter.c
2023-05-23 18:32:47 +08:00
Haojun Liao
e67b532d8a refactor: refactor the module dependency. 2023-05-23 18:29:23 +08:00
yihaoDeng
c15b1e3520 opt compile 2023-05-23 11:46:02 +08:00
Haojun Liao
f520de0dab refactor: adjust the module dependency. 2023-05-22 10:07:01 +08:00
Hui Li
3f824e2045
Merge pull request #21355 from taosdata/mark/tmq
fix:error in pHandle lock
2023-05-22 08:57:45 +08:00
dapan1121
8fe62bb0e1
Merge pull request #21391 from taosdata/fix/TD-24278
fix: fix assert crash in tsort.c
2023-05-20 14:15:19 +08:00
dapan1121
70444e2d82
Merge pull request #21329 from taosdata/feat/TD-21187
feat(query): interp support ignore null value opition
2023-05-20 14:14:21 +08:00
dapan1121
d801aaa2e6
Merge pull request #21352 from taosdata/fix/TD-24218
fix: fix interp in nested query and fill value with string issue
2023-05-20 14:10:26 +08:00
dapan1121
c0d3da9b32
Merge pull request #21382 from taosdata/szhou/fix-td24277
fix: result block ensure capacity when finalize may produce serveral …
2023-05-20 14:08:41 +08:00
wangmm0220
04858fae22 fix:tsdbreader is free by mistake 2023-05-20 12:20:54 +08:00
wangmm0220
f8de38e532 fix:core dump in tsdbreader is null when tsdbreader is closed by subscribe msg and current offset equal to saved 2023-05-19 22:52:58 +08:00
Haojun Liao
200c1a367b
Merge pull request #21378 from taosdata/fix/nodisk
fix(query): do some internal refactor, and fix the bug when calender duration exists in sliding and offset.
2023-05-19 19:30:04 +08:00
Ganlin Zhao
709b59a3a6 fix: fix assert crash in tsort.c 2023-05-19 17:27:15 +08:00
wangmm0220
ff2b545b27 fix:set task status killed when vnode receive subscribe msg from mnode 2023-05-19 17:16:47 +08:00
slzhou
f9da4abdcb fix: change more variable names 2023-05-19 15:38:52 +08:00
shenglian zhou
f36b0be17d fix: join eq conditions not only for tag 2023-05-19 14:32:03 +08:00
wangmm0220
238254e49e fix:add task status check in doQueueScan & checkout consumer in tqProcessPollReq 2023-05-19 14:06:43 +08:00
slzhou
7218a03487 fix: result block ensure capacity when finalize may produce serveral rows 2023-05-19 11:16:31 +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
Haojun Liao
d4b0e102af fix:do some internal refactor. 2023-05-19 08:55:59 +08:00
dapan1121
386b8484ba
Merge pull request #21328 from taosdata/szhou/fix-ts3405
fix: join improvement
2023-05-19 08:51:06 +08:00
Haojun Liao
c4c5bbb65c other: merge 3.0 2023-05-18 17:28:40 +08:00
Haojun Liao
dbd52ecffa
Merge pull request #21364 from taosdata/enh/rocksdbSstate
state merge into 3.0
2023-05-18 17:25:44 +08:00
Haojun Liao
84a81716b3
Merge branch '3.0' into feature/3_liaohj 2023-05-18 17:00:56 +08:00
Haojun Liao
8a328b6636 fix(stream): fix error in stream read. 2023-05-18 16:59:18 +08:00
slzhou
4db88e8ffe fix: fix ci comments 2023-05-18 15:45:58 +08:00
dapan1121
b2333b7f15
Merge pull request #21363 from taosdata/fix/TD-24246
fix: fill window end issue
2023-05-18 15:36:52 +08:00
yihaoDeng
9380b22394 merge 3.0 2023-05-18 05:46:38 +00:00
slzhou
51cb79fc1d fix: set rightUseBuildTable correctly 2023-05-18 13:28:46 +08:00
slzhou
304423e27b Merge branch 'main' of github.com:taosdata/TDengine into szhou/fix-ts3405 2023-05-18 13:27:58 +08:00
slzhou
7102c107eb fix: remove parameter of filling build table 2023-05-18 13:19:52 +08:00
Haojun Liao
5d5b2bb16a refactor: do some internal refactor. 2023-05-18 12:59:19 +08:00
shenglian zhou
d7f8757844 fix: memory leak 2023-05-18 11:23:50 +08:00
shenglian zhou
14d4a81e75 fix: build hash table is created during creating join operator 2023-05-18 11:15:04 +08:00
shenglian zhou
ee16b46112 fix: remove group keys from join operator 2023-05-18 10:46:19 +08:00
dapan1121
8994081592 fix: memory size overflow issue 2023-05-18 10:25:10 +08:00
dapan1121
e494c99839 fix: fill window end issue 2023-05-17 19:35:57 +08:00
Haojun Liao
b9c6e2a294 fix(stream): fix syntax error. 2023-05-17 18:47:13 +08:00
Haojun Liao
ffee5ebc61 Merge branch '3.0' into feature/3_liaohj 2023-05-17 17:47:44 +08:00
Ganlin Zhao
90ef52f40d fix fill(value, string) issue 2023-05-17 17:11:02 +08:00
Haojun Liao
041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
Haojun Liao
366cd1871a
Merge pull request #21314 from taosdata/fix/liaohj_main
fix(stream):extract delete msg from wal.
2023-05-17 14:52:49 +08:00
dapan1121
fb7a06e06e
Merge pull request #21271 from taosdata/enh/tsbsPerf.4
Enh/tsbs perf.4
2023-05-17 11:00:14 +08:00
Haojun Liao
f3f52c0232 fix(stream): add some logs and set the wal offset to be the ended version when finishing the step2 recover stage. 2023-05-17 10:43:23 +08:00
Ganlin Zhao
727a628861 Merge branch '3.0' into feat/TD-21187 2023-05-17 10:34:38 +08:00
slzhou
03e77288e8 fix: add on conditions null check and rightRowLocations no longer hides the outer scope rightRowLocations 2023-05-17 10:07:19 +08:00
Haojun Liao
d457b84aba
Merge pull request #21311 from taosdata/mark/tmq
fix:add lock to pHandle for safety
2023-05-17 09:11:39 +08:00
shenglian zhou
568725a245 fix: using right rows to build hash table when the tag equal cond is not null and same ts row row number is greater than 16 2023-05-17 08:33:47 +08:00
dapan1121
df973ce28e fix: remove debug info 2023-05-16 18:37:00 +08:00
Ganlin Zhao
375aa2f26b feat(query): interp support ignore null value opition 2023-05-16 16:33:28 +08:00
shenglian zhou
c6555c3b37 fix: join operator finished 2023-05-16 16:25:55 +08:00
dapan1121
de45d163ca fix: compile issue 2023-05-16 14:18:23 +08:00
dapan1121
e7df9b8fa0 enh: optimize copy group result 2023-05-16 14:12:48 +08:00
Haojun Liao
e35d145734 fix(stream): fix memory leak. 2023-05-16 13:59:13 +08:00
Ganlin Zhao
6cd9fac7da fix linear interpolation bugs 2023-05-16 11:30:08 +08:00
wangmm0220
36454c73ed fix:add lock to pHandle for safety 2023-05-15 18:38:14 +08:00
Ganlin Zhao
23c1aa2db0 fix: fix multithread issue in destroyTimesliceOperator 2023-05-15 17:55:37 +08:00
liuyao
502efb3d01 op stream selectivity buff 2023-05-15 16:26:24 +08:00
Ganlin Zhao
b1ead824f8 fix: fix linear interpolation error 2023-05-15 14:26:09 +08:00
liuyao
a6570a4327 Merge branch 'enh/rocksdbSstate' of https://github.com/taosdata/TDengine into enh/rocksdbSstate 2023-05-15 11:19:55 +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
Haojun Liao
99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
Haojun Liao
236926b9ee other: merge enh/rocksdbstate 2023-05-13 19:49:28 +08:00
Haojun Liao
1975e94501 Merge branch 'main' into enh/rocksdbSstate 2023-05-13 19:41:03 +08:00
Haojun Liao
5b2ef2a675 other: merge main and remove invalid return data for poll. 2023-05-13 02:31:39 +08:00
dapan1121
69795286fa Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.4 2023-05-12 13:46:16 +08:00
Haojun Liao
43e06b9132 Merge branch '3.0' into feature/3_liaohj 2023-05-12 13:36:02 +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
dapan1121
9394afec68
Merge pull request #21144 from taosdata/feat/TD-19801
feat(query): support interp with super table
2023-05-12 11:37:20 +08:00
Ganlin Zhao
83e049812c fix asan error 2023-05-12 10:21:01 +08:00
liuyao
8b7b804606 opt partition by tbname 2023-05-11 18:47:27 +08:00
Ganlin Zhao
3bf9cb2d78 fix 2023-05-11 17:28:46 +08:00
Ganlin Zhao
788b521592 Revert "fix"
This reverts commit 9ce1e8ccf4.
2023-05-11 17:20:58 +08:00
Haojun Liao
a76e47ef54 refactor: add some logs. 2023-05-11 14:19:27 +08:00
Haojun Liao
f0f90888ab refactor: update some logs. 2023-05-11 13:48:50 +08:00
Ganlin Zhao
9ce1e8ccf4 fix 2023-05-11 13:23:40 +08:00
Haojun Liao
28c43f0151 fix(stream): add null check. 2023-05-11 11:36:27 +08:00
Haojun Liao
8a1b0ed052 refactor: do some internal refactor. 2023-05-11 10:35:09 +08:00
Haojun Liao
b02b3117b5 refactor: do some internal refactor. 2023-05-11 10:14:29 +08:00
Ganlin Zhao
121564de2f add threshold for group result 2023-05-11 10:04:25 +08:00
Haojun Liao
dbd79cc80c refactor: do some internal refactor. 2023-05-10 22:22:01 +08:00
Ganlin Zhao
37d607c820 enh: remove group_key from subsidiaries if multiple select function
presents
2023-05-10 18:51:21 +08:00
yihaoDeng
5708fcb5cb Merge branch 'enh/3.0' into enh/rocksdbSstateMerge 2023-05-10 08:02:16 +00:00
Ganlin Zhao
523f08fe4b return result after finish processing of each group 2023-05-10 11:18:42 +08:00
liuyao
62ccd4bf16 avoid delete data 2023-05-10 09:11:04 +08:00
yihaoDeng
711c475693 fix invalid free 2023-05-09 10:34:14 +00:00
dapan1121
52fd6a84ac enh: support db cfg cache update 2023-05-09 17:04:20 +08:00
yihaoDeng
55014aa003 Merge branch 'enh/rocksdbSstate' into enh/rocksdbSstateMerge 2023-05-09 08:58:51 +00:00
Ganlin Zhao
e1140d4c15 optimize duplicate timestamp check 2023-05-09 15:05:41 +08:00
Ganlin Zhao
4693c22970 optimize group key storage 2023-05-09 14:06:09 +08:00
wade zhang
ebdc1a3234
Merge pull request #20996 from taosdata/fix/TD-23623
enh(cache/rocks): base for rocks put/get
2023-05-09 13:27:33 +08:00
dapan1121
a1eefd25ea fix: count wrong group number issue 2023-05-09 11:33:47 +08:00
Ganlin Zhao
3b10ac29ce use functionType instead of functionName 2023-05-09 11:09:29 +08:00
liuyao
eb52e73305 Merge branch 'enh/rocksdbSstate' of https://github.com/taosdata/TDengine into enh/rocksdbSstate 2023-05-08 09:54:00 +08:00
liuyao
fc8cab6fe1 recover setSelectValueColumnInfo 2023-05-08 09:53:27 +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
dapan1121
c83367e455 enh: add table group cache 2023-05-06 19:24:47 +08:00
Haojun Liao
c6007d53e8
Merge pull request #21190 from taosdata/fix/TS-3347
fix:[TS-3347]set ver to first version if version stored is smaller th…
2023-05-06 18:51:49 +08:00
dapan1121
1de5f84536
Merge pull request #21184 from taosdata/fix/TD-23898-a
fix: fix taosd not exit when press ctrl+c
2023-05-06 17:46:38 +08:00
liuyao
6ceda68365 opt selectivity function 2023-05-06 17:42:38 +08:00
wangmm0220
ee32620808 fix:[TS-3347]set ver to first version if version stored is smaller than first version in wal when subscribe db 2023-05-06 16:22:30 +08:00
Minglei Jin
596bee8028 Merge branch '3.0' into fix/TD-23623 2023-05-06 16:07:26 +08:00
Ganlin Zhao
33d4e0cc67 fix: fix taosd not exit when press ctrl+c 2023-05-06 15:03:17 +08:00
Haojun Liao
da6212bab0 other: merge main. 2023-05-06 12:51:38 +08:00
Shengliang Guan
af81f91c0f
Merge pull request #21162 from taosdata/FIX/TD-22103-3.0
enh: unify error msg for disk space checking in doInitAggInfoSup
2023-05-06 11:15:57 +08:00
Haojun Liao
29fcd1b83a refactor: do some internal refactor. 2023-05-06 10:08:05 +08:00
Haojun Liao
08ce790cda fix(query): fix memory leak. 2023-05-05 18:20:27 +08:00