Commit Graph

17 Commits

Author SHA1 Message Date
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
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
Haojun Liao b1596f8e3e refactor: do some internal refactor. 2023-07-27 01:55:42 +08:00
Haojun Liao daafe240ed fix(stream): fix memory leak. 2023-06-26 14:18:47 +08:00
Xiaoyu Wang bc413b8fff feat: add stream option 'delete_mark' 2022-12-06 16:07:11 +08:00
Liu Jicong b884ca9db7 refactor(stream): seperate stream scheduling and persistence 2022-06-24 14:19:12 +08:00
Cary Xu ba94a44bec refactor: rsma support max_delay/watermark params 2022-06-20 19:27:26 +08:00
Liu Jicong 32d8e60ce2 refactor(sma): create 2022-06-16 16:22:58 +08:00
Liu Jicong e31a304206 refactor(scheduler) 2022-06-11 10:56:04 +08:00
Liu Jicong a7fba4b224 refactor(stream): stream scheduler 2022-06-10 21:57:59 +08:00
54liuyao 901ff9bf18 feat(sma):files factor 2022-05-31 16:14:56 +08:00
Xiaoyu Wang 7989190b5e fix: some problems of rollup sma 2022-05-26 14:16:36 +08:00
Liu Jicong a98bf9d1b5 add convert for rSma 2022-04-21 14:19:58 +08:00
Liu Jicong 16f99d9916 stream support fix ep sink 2022-03-29 10:40:13 +08:00
Liu Jicong a3b4de6631 stream support sma 2022-03-28 14:40:22 +08:00
Liu Jicong 18f254a017 task deploy and task exec 2022-03-16 18:29:31 +08:00
Liu Jicong 402a5e3b61 add scheduler 2022-03-07 16:30:28 +08:00