Commit graph

273 commits

Author SHA1 Message Date
Jinqing Kuang
c2256e9443 feat(query)[TS-5058]: support AUTO OFFSET in INTERVAL clause
Add the AUTO keyword, which allows automatic determination of the
INTERVAL OFFSET based on the WHERE condition. It simplifies usage by
allowing users to rely on the system to infer the correct offset
without manual specification.
2024-12-04 10:06:47 +08:00
dapan1121
85fc4dfc2b fix: data sink memory issues 2024-11-15 10:16:15 +08:00
dapan1121
a8561fba4f Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-11 11:01:22 +08:00
dapan1121
371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +08:00
Jinqing Kuang
43a337ef74 enh(query)[TD-32732]: add client Id generation and usage
To address the issue of non-unique identifiers for query tasks, a unique
client ID (cid) is now generated during client initialization. This cid
is included in every task message sent to the server. The server will
use a composite key of <qid, cid, tid, eid> to uniquely identify each
query task.
2024-11-07 08:47:31 +08:00
54liuyao
b6d16eccdb Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-30 14:54:42 +08:00
Shengliang Guan
ea9ed2e538
Merge pull request #28300 from taosdata/enh/TS-5441-3.0
enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info
2024-10-30 13:43:41 +08:00
54liuyao
d065d71821 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-30837 2024-10-30 10:09:48 +08:00
54liuyao
6b2d338a20 enh(executor):avoid use dangerous functions 2024-10-25 13:47:09 +08:00
dapan1121
4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
54liuyao
e9550a6b2c feat(stream):save force window close scan range 2024-10-18 15:40:37 +08:00
wangmm0220
bc05289192 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-18 09:28:16 +08:00
wangmm0220
42b7520d34 enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-10 18:27:42 +08:00
wangmm0220
e6bf8dcfde enh:[TS-5441] cost too long in tmq write meta data by cache meta and vg info 2024-10-09 18:10:43 +08:00
Haojun Liao
c5eca0486e Merge remote-tracking branch 'origin/fix/TD-30837' into fix/TD-30837
# Conflicts:
#	source/dnode/vnode/src/tq/tq.c
#	source/libs/stream/inc/streamInt.h
#	source/libs/stream/src/streamSched.c
2024-09-19 16:39:54 +08:00
Haojun Liao
e1d8e98b11 feat(stream): support the force_window_close trigger. 2024-09-19 16:23:51 +08:00
Haojun Liao
1a90e9612d refactor: check return value. 2024-09-13 23:04:41 +08:00
Haojun Liao
b3e5997336 fix(stream): reset error code. 2024-09-08 14:54:08 +08:00
dapan1121
1831deb2f0 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-02 16:12:39 +08:00
dapan1121
dfc3fc4987 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-07-29 11:16:36 +08:00
Haojun Liao
79ad7585ef fix(stream): check return value. 2024-07-29 10:29:40 +08:00
wangmm0220
3f2278ebcf fix:[TD-31017]process return value in vnode for tmq 2024-07-24 17:56:29 +08:00
dapan1121
adfd7b4504 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-07-22 19:24:56 +08:00
dapan1121
4c2c9a71d5 fix: table info issue 2024-07-15 10:05:57 +08:00
dapan1121
55ba9054ea enh: add stat info 2024-07-02 19:25:33 +08:00
wangjiaming0909
11a98ffab2 QueryAutoQWorker 2024-07-01 11:08:39 +08:00
Haojun Liao
895ee30cf3
Merge branch '3.0' into enh/opt_prj 2024-06-09 23:51:38 +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
54liuyao
441a150d66 optimize tmq snapshot meta 2024-05-23 17:35:54 +08:00
Haojun Liao
e62dd2ff5c refactor: do some internal refactor. 2024-02-19 10:31:25 +08:00
wangmm0220
a656d75ca7 opti:consume data excluded from some source 2024-02-05 17:07:50 +08:00
kailixu
b9f389a49f Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-08 08:36:35 +08:00
kailixu
6b738884a4 chore: rsma checkpoint 2023-11-07 19:59:05 +08:00
Haojun Liao
d440da0d8c enh(stream): execute scan history by using time slice 1s. 2023-11-05 01:26:53 +08:00
Haojun Liao
53b2158c54 refactor: do some internal refactor. 2023-11-03 13:51:17 +08:00
yihaoDeng
6fe649c458 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-21 09:12:40 +08:00
dapan1121
6ce28e8886 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-14 10:49:56 +08:00
dapan1121
c9656d3f77 fix: fix memory issues 2023-08-11 17:39:41 +08:00
Haojun Liao
f633c7fe2b other: merge 3.0. 2023-08-10 11:56:30 +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
0546bdceb2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-07 11:23:15 +08:00
Haojun Liao
8a11a0418f other: merge 3.0 2023-08-07 09:19:26 +08:00
Haojun Liao
9981cecbed refactor: do some internal refactor. 2023-07-31 15:24:35 +08:00
Haojun Liao
2f90a53548 fix(stream): set checkpoint id when expanding task. 2023-07-13 10:16:57 +08:00
Haojun Liao
d392bb60ba refactor(stream): set the initial version from the checkpoint. 2023-07-12 11:38:13 +08:00
liuyao
6298f17c45 delete invalid code 2023-07-11 19:21:27 +08:00
dapan1121
b371b7e6be fix: compile issue and merge join crash issue 2023-07-06 10:52:28 +08:00
dapan1121
0718859c0a enh: support passing params between nodes 2023-07-05 19:24:06 +08:00
liuyao
2fc5eeb810 session win range 2023-06-28 17:20:08 +08:00
Haojun Liao
a19e63fd23 fix(stream): fix error in handling fill history. 2023-06-27 23:00:14 +08:00
liuyao
e236bf818c set fill history info 2023-06-25 17:47:10 +08:00
liuyao
41c193945f fill history pause&resume 2023-06-19 17:28:19 +08:00
liuyao
693942b821 trans state 2023-06-15 14:13:17 +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
Haojun Liao
6a3c935b4a fix(stream): fix error in fill history scan. 2023-06-07 09:15:55 +08:00
Haojun Liao
fcc706c45c enh(stream): refactor the fill history task. 2023-06-05 15:59:01 +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
5301c5756a other: merge main into 3.0. 2023-06-01 09:29:18 +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
wangmm0220
78db3520a6 fix:conflict 2023-05-29 14:57:03 +08:00
wangmm0220
a71878d07f feat: support create topic as stable with conditions 2023-05-29 11:46:59 +08:00
Haojun Liao
c3be7b14be fix: set correct function ptr. 2023-05-25 17:51:03 +08:00
wangmm0220
8537e4e80e feat:add tag filter for stable subscribe 2023-05-24 18:26:55 +08:00
Haojun Liao
66477a28ca refactor: do some internal refactor. 2023-05-23 19:10:50 +08:00
Haojun Liao
e67b532d8a refactor: refactor the module dependency. 2023-05-23 18:29:23 +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
wangmm0220
04858fae22 fix:tsdbreader is free by mistake 2023-05-20 12:20:54 +08:00
wangmm0220
ff2b545b27 fix:set task status killed when vnode receive subscribe msg from mnode 2023-05-19 17:16:47 +08:00
Haojun Liao
1e020a46c9 other: merge main. 2023-05-19 09:07:35 +08:00
Haojun Liao
5d5b2bb16a refactor: do some internal refactor. 2023-05-18 12:59:19 +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
Haojun Liao
09a04052ec refactor: do some internal refactor. 2023-05-04 16:15:14 +08:00
Haojun Liao
03b1de017a refactor: remove assert. 2023-04-28 14:12:17 +08:00
Haojun Liao
eb0e1f848a fix(stream): remove unused tqreader, do some internal refactor, set the meta value for streamtask. 2023-04-14 12:00:09 +08:00
Haojun Liao
f8b672f09f other: merge main. 2023-04-14 09:07:18 +08:00
Xiaoyu Wang
4c04b155d5 merge main 2023-04-11 15:56:28 +08:00
liuyao
74da3c05bc feat:set check point id 2023-04-11 10:33:10 +08:00
Haojun Liao
a4ba5401f9 enh(stream): set the start version of all operators. 2023-04-11 10:01:36 +08:00
Haojun Liao
f5b52749c2 refactor: do some internal refactor. 2023-04-09 01:39:09 +08:00
Xiaoyu Wang
e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
wangmm0220
d651ba02ae fix:lose consume data because of exec close if consume while insert data 2023-04-03 19:54:52 +08:00
wangmm0220
97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
Haojun Liao
56c98d7768 refactor: do some internal refactor. 2023-03-29 19:35:04 +08:00
wangmm0220
d0c55ef572 fix:conflicts 2023-03-28 18:12:13 +08:00
Haojun Liao
c158087d66 fix(tmq): kill the ongoing tsdb scans while transferring the ownership of vnode to other consumers. 2023-03-28 09:53:49 +08:00
dapan1121
5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
wangmm0220
f7b7320f5f fix:set offset if read wal none 2023-03-20 16:57:45 +08:00
wangmm0220
506c192bff fix:error in TD-23218 & remove useless logic 2023-03-20 16:26:15 +08:00
wangmm0220
f80078030c fix:error in TD-23218 & remove useless logic 2023-03-20 15:40:01 +08:00
Haojun Liao
7e712a14b6 fix(tmq): adjust log. 2023-03-19 19:06:28 +08:00
Haojun Liao
ae5155edcf fix(tmq): do some internal refactor. 2023-03-19 10:49:30 +08:00
wangmm0220
7616a283e3 fix:error in TD-23218 & remove useless logic 2023-03-18 18:23:38 +08:00
54liuyao
0cd871010f fix:fix fill history bug 2023-03-07 13:34:26 +08:00
Haojun Liao
0d9d2ea293 fix(query): do some internal refactor, and fix the bug when calender time duration exists in sliding and offset. 2023-02-17 18:31:32 +08:00
Shengliang Guan
3016f35e9f Merge branch '3.0' into merge/mainto3.0_0105 2023-01-05 16:08:23 +08:00
Liu Jicong
e30c00875c enh: close tsdb reader 2023-01-04 15:14:00 +08:00
dapan1121
1477ce97a7 fix: drop task while task executing issue 2023-01-03 18:07:18 +08:00
Shengliang Guan
d342ebcd77
Merge pull request #18720 from taosdata/refact/submit_req
Refact/submit req
2022-12-28 10:29:00 +08:00
Liu Jicong
39eb62d80d enh: set scan limit 2022-12-27 14:52:41 +08:00