Commit Graph

5447 Commits

Author SHA1 Message Date
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
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 6d0b8eeed4
Merge pull request #26302 from taosdata/TD-26483
feat(query):add thread pool
2024-07-01 19:04:52 +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 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
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 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
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
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
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 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
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
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
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