Commit graph

168 commits

Author SHA1 Message Date
Tony Zhang
84662bdce8
fix: last/last_row errors when using together with cols (#32938) 2025-09-12 09:25:43 +08:00
dongming chen
712cb6652b
fix: TS-6276-grant-format (#30701) 2025-04-09 14:40:24 +08:00
Jinqing Kuang
ac23a4fc55
feat(stream): support stream processing for virtual tables (#30144)
* enh: add client processing

* enh: add mnode vtables processing

* enh: add mnode vtable processing

* enh: add normal child vtable support

* fix: compile issues

* fix: compile issues

* fix: create stream issues

* fix: multi stream scan issue

* fix: remove debug info

* fix: agg task and task level issues

* fix: correct task output type

* fix: split vtablescan from agg

* fix: memory leak issues

* fix: add limitations

* Update 09-error-code.md

* Update 09-error-code.md

* fix: remove usless case

* feat(stream): extract original table data in source scan task

Implemented functionality in the source task to extract data
corresponding to the virtual table from the original table using WAL.
The extracted data is then sent to the downstream merge task for further
processing.

* feat(stream): multi-way merge using loser tree in virtual merge task

Implemented multi-way merge in the merge task using a loser tree to
combine data from multiple original table into a single virtual table.
The merged virtual table data is then pushed downstream for further
processing.  Introduced memory limit handling during the merge process
with configurable behavior when the memory limit is reached.

* fix(test): remove useless cases

---------

Co-authored-by: dapan1121 <wpan@taosdata.com>
Co-authored-by: Pan Wei <72057773+dapan1121@users.noreply.github.com>
2025-03-15 17:06:48 +08:00
wangjiaming0909
09fe252a31 remove duplicate group by cols 2024-11-15 17:52:06 +08:00
wangjiaming0909
91927e84a5 ret check for memory allocation 2024-09-18 19:11:35 +08:00
wangjiaming0909
1994c3339b nodes add ret check 2024-07-26 17:55:48 +08:00
dapan1121
91375c8ca1 fix: taosc exit issue 2024-06-03 19:13:14 +08:00
wangjiaming0909
1b37ef03fb fix duplicate tsma funcs 2024-04-16 14:25:34 +08:00
wangjiaming0909
85beb0b441 tsma query explain and add test 2024-04-16 14:14:40 +08:00
wangjiaming0909
0fd66d7e8a tsma optimization 2024-04-16 14:14:39 +08:00
fullhonest
cb2ab749b5 Fix TD-27003: use last row scan when select last_row, last 2024-01-15 15:22:29 +08:00
Bob Liu
d5989b0f74 revert nodes func 2023-11-30 11:56:33 +08:00
Bob Liu
6e1e4702a5 adjust 2023-11-20 11:13:09 +08:00
Bob Liu
e453962271 rewrite nodes function 2023-11-19 16:31:47 +08:00
Bob Liu
82ad690eb4 rewrite nodesNodeName 2023-11-13 20:20:45 +08:00
dapan1121
49ebb7145e enh: support split cache last and other functions 2023-11-08 18:42:41 +08:00
slzhou
9bb628650c fix: pass basic test 2023-09-22 10:13:17 +08:00
dapan1121
b371b7e6be fix: compile issue and merge join crash issue 2023-07-06 10:52:28 +08:00
dapan1121
60290b98e4 feat: add group cache operator 2023-06-30 19:20:36 +08:00
dapan1121
226ee06209 enh: add physical plan processing 2023-06-29 19:28:32 +08:00
dapan1121
81a2bf10cf enh: optimize stable join 2023-06-28 19:39:04 +08:00
dapan1121
8f39b9d2e4 enh: optimize query plan 2023-06-27 19:36:51 +08:00
dapan1121
e6afcbf07f feat: hash join init version 2023-06-15 19:34:15 +08:00
dapan1121
4c88fd08de Merge remote-tracking branch 'origin/3.0' into fix/TD-24001 2023-05-23 09:25:37 +08:00
Haojun Liao
041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
Haojun Liao
99148d6719 other: merge 3.0 2023-05-13 20:02:48 +08:00
dapan1121
eb7cd25e2e enh: support nest partition by clause 2023-05-10 14:34:41 +08:00
dapan1121
a8c65cd25a feat: support restore dnode clause 2023-05-09 19:19:14 +08:00
Xiaoyu Wang
dc5235eb92 feat: add pause/resume stream statement 2023-04-24 14:48:33 +08:00
chenhaoran
7d7a0769b3 Merge remote-tracking branch 'origin/main' into enh/tsbsPerf.1 2023-04-21 16:20:37 +08:00
dapan1121
ed3778dc9f fix: nodes free issue 2023-04-17 15:44:15 +08:00
Xiaoyu Wang
fbc9b2404e feat: add sql command 'balance vgroup leader' 2023-03-22 09:53:56 +08:00
cadem
ea35f0ae11 feat/balance vgroup leader 2023-03-22 09:36:59 +08:00
Xiaoyu Wang
9df6f69371 merge 3.0 2023-01-04 15:02:31 +08:00
Alex Duan
0c422345b3 feat: support show cluster alive; and show db.alive; 2022-12-29 18:07:57 +08:00
Xiaoyu Wang
b52ebb6fd5 feat: sql command 'compact database' 2022-12-27 11:11:02 +08:00
Xiaoyu Wang
aecd05cf34 enh: improve unit tests 2022-12-21 13:51:06 +08:00
Xiaoyu Wang
ad7f9b274b enh: improve unit tests 2022-12-20 16:53:08 +08:00
Xiaoyu Wang
9d6d05c405 merge 3.0 2022-12-12 11:06:52 +08:00
Xiaoyu Wang
bc36bc188e feat: event window 2022-12-08 09:36:37 +08:00
Xiaoyu Wang
b0351d15a3 fix: Query message compatibility 2022-12-07 14:46:04 +08:00
Xiaoyu Wang
85ea8bbbb3 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-02 14:04:50 +08:00
Xiaoyu Wang
4e8acca2eb feat: sql command 'show user privileges' 2022-11-30 19:24:15 +08:00
Xiaoyu Wang
469fcd314e enh: ins_tables optimize 2022-11-21 18:44:04 +08:00
Xiaoyu Wang
40c7562470 enh: optimize statement for querying the number of sub tables of the super table 2022-11-15 16:38:51 +08:00
Xiaoyu Wang
73642ac3a2 feat: sql command 'show table tags from table_name' 2022-09-29 16:16:49 +08:00
54liuyao
747297bd28 feat(stream): stream fill 2022-09-27 18:11:44 +08:00
afwerar
00a9491a97 os: fix Mac test error 2022-09-23 17:50:43 +08:00
Xiaoyu Wang
50ebcb5006 feat: case when expression 2022-09-22 19:20:21 +08:00
Xiaoyu Wang
5116e0a01b enh: added memory allocators for parser and planner 2022-09-21 17:04:12 +08:00