TDengine/source/libs/executor/src
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
..
aggregateoperator.c enh: adjust some logs 2025-02-27 09:55:11 +08:00
anomalywindowoperator.c chore: merge main 2025-03-05 13:40:44 +08:00
cachescanoperator.c fix: last row scan and tag in conds issues 2025-02-18 19:27:47 +08:00
countwindowoperator.c remove some check 2024-11-27 19:51:27 +08:00
dataDeleter.c feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
dataDispatcher.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
dataInserter.c feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
dataSinkMgt.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
dynqueryctrloperator.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
eventwindowoperator.c feat(query)[TS-5470]: add syntax to specify minimum duration for event and state windows 2025-02-24 08:02:48 +08:00
exchangeoperator.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
executil.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
executor.c feat(stream): support stream processing for virtual tables (#30144) 2025-03-15 17:06:48 +08:00
executorInt.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
filloperator.c fix: return code issues 2024-12-11 19:18:50 +08:00
forecastoperator.c chore: merge main 2025-03-05 13:40:44 +08:00
groupcacheoperator.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
groupoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
hashjoin.c fix: add ut cases 2024-12-20 13:52:53 +08:00
hashjoinoperator.c enh: support ? in limit clause 2025-01-22 11:45:12 +08:00
mergejoin.c enh: support ? in limit clause 2025-01-22 11:45:12 +08:00
mergejoinoperator.c enh: add merge join primary expr type 2025-02-26 16:30:36 +08:00
mergeoperator.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
operator.c feat(stream): support stream processing for virtual tables (#30144) 2025-03-15 17:06:48 +08:00
projectoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
querytask.c feat(stream): support stream processing for virtual tables (#30144) 2025-03-15 17:06:48 +08:00
scanoperator.c feat(stream): support stream processing for virtual tables (#30144) 2025-03-15 17:06:48 +08:00
sortoperator.c enh: support ? in limit clause 2025-01-22 11:45:12 +08:00
streamclient.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamcountwindowoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streameventnonblockoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streameventwindowoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamexecutorInt.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamfillnonblockoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamfilloperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamintervalnonblockoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamintervalsliceoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamscanoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamsessionnonblockoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamstatenonblockoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamtimesliceoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamtimewindowoperator.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
streamVtableMerge.c feat(stream): support stream processing for virtual tables (#30144) 2025-03-15 17:06:48 +08:00
sysscanoperator.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
tfill.c feat(stream): add new trigger continuous_window_close (#30125) 2025-03-14 20:14:01 +08:00
timesliceoperator.c feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
timewindowoperator.c feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
tlinearhash.c Merge pull request #27993 from taosdata/enh/TD-31691 2024-09-20 17:26:58 +08:00
tsort.c feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
virtualtablescanoperator.c feat(stream): support stream processing for virtual tables (#30144) 2025-03-15 17:06:48 +08:00