TDengine/include/util
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
..
cus_name.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
talgo.h add return code 2024-07-16 14:56:30 +08:00
taoserror.h feat(stream): support stream processing for virtual tables (#30144) 2025-03-15 17:06:48 +08:00
tarray.h add return code 2024-07-16 14:56:30 +08:00
tarray2.h ehn: refactor return code 2024-07-29 14:04:46 +08:00
tbase58.h enh: return error code 2024-07-22 15:29:37 +08:00
tbase64.h enh: return error code 2024-07-22 15:29:37 +08:00
tbloomfilter.h adj stream function return 2024-07-15 13:38:34 +08:00
tbuffer.h refact return code 2024-07-27 18:46:30 +08:00
tbuffer.inc fix tsbs perf issue 2024-11-18 14:11:21 +08:00
tcache.h fix: disable life extending of conn cache obj when show queries/conns 2023-10-24 13:58:30 +08:00
tchecksum.h handle some of return -1 2024-08-14 17:50:20 +08:00
tcoding.h enh: remove some asserts 2024-08-20 10:43:28 +08:00
tcompare.h feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
tcompression.h feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
tconfig.h add ut . 2024-12-30 17:45:43 +08:00
tconv.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
tcrc32c.h refact: format header file 2022-10-13 11:09:43 +08:00
tdef.h feat:[TS-4897] virtual table (#30098) 2025-03-15 14:10:46 +08:00
tdes.h tbase64 2022-02-28 10:34:05 +08:00
tdigest.h enh:[TD-32189] Add validation to prevent changes to resultinfo structure. 2024-10-12 15:14:59 +08:00
tencode.h enh: add strict message check for submit message 2025-01-08 17:29:32 +08:00
tenv.h fix make errors. 2024-12-16 12:18:06 +08:00
tgeosctx.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
thash.h hash key exist code 2024-07-18 14:30:59 +08:00
theap.h enh: optimize source code 2024-07-31 19:28:17 +08:00
tidpool.h refact: format header file 2022-10-13 11:09:43 +08:00
tjson.h enh: query 2024-11-12 16:11:47 +08:00
tlist.h adj stream operator result 2024-07-18 10:09:15 +08:00
tlockfree.h Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
tlog.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
tlosertree.h remove asserts of nodes/planner/parser/tsdbread 2024-08-22 19:15:18 +08:00
tlrucache.h feat(stream): support stream processing for virtual tables (#30144) 2025-03-15 17:06:48 +08:00
tmd5.h md5 2022-02-28 14:07:11 +08:00
tpagedbuf.h fix: scheduler dead lock issue 2024-12-05 18:07:37 +08:00
tpcre2.h feat: support customized taos/taosd (#29736) 2025-03-14 13:32:13 +08:00
tqueue.h fix(rpc):use tsApplyMemoryAllowed to control memory alloc while apply msg. 2025-01-21 11:33:08 +08:00
trbtree.h more code 2023-05-18 15:06:21 +08:00
tRealloc.h enh: refactor return code 2024-07-24 13:58:17 +08:00
tref.h fix: schedulerFreeJob reset jobId only on the last reference 2024-09-13 18:59:54 +08:00
tscalablebf.h adj stream operator result 2024-07-18 11:26:50 +08:00
tsched.h tsc: handle schedule error 2022-09-13 17:48:57 +08:00
tsimplehash.h fix(query): fix error. 2024-07-28 23:19:03 +08:00
tskiplist.h fix(coverage): remove the function about skiplist callback 2022-10-26 17:29:49 +08:00
tstrbuild.h minor changes 2022-02-28 14:26:54 +08:00
tthread.h refact: format header file 2022-10-13 11:09:43 +08:00
ttimer.h ehn:TD-33933-decouple-send-heartbeat 2025-03-03 17:42:19 +08:00
ttrace.h fix: trace id two character missing issue 2023-02-28 13:23:59 +08:00
tunit.h add cfg value check 2024-04-10 16:48:02 +08:00
tutil.h feat(decimal): support decimal data type (#30060) 2025-03-14 18:08:07 +08:00
tuuid.h enh: getSystemUUIDLen 2024-10-12 09:07:08 +08:00
tversion.h fix: check the compatibility of client version and server version 2023-03-08 15:13:11 +08:00
tworker.h refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-27 00:15:03 +08:00
types.h enh: refactor error code 2024-07-25 08:51:19 +08:00
version.h refact: rename version to td_version 2024-11-04 15:16:15 +08:00