Pan Wei
66e189aa8c
feat: support uncorrelated scalar subquery ( #33913 )
2025-12-22 11:35:33 +08:00
Haojun Liao
5975c363cd
fix(gpt): fix race-condition in preparing tmp files ( #32800 )
2025-08-29 14:36:36 +08:00
Pan Wei
a388c45386
fix: grant issues ( #32231 )
...
* enh: add operator reset func
* fix: merge join reset issue
* fix: memory issues
* fix: add debug assert
* fix: memory issues
* fix: memory leak
* fix: memory issues
* fix taos log miss
* fix: case issue
* fix: case issue
* fix: case issues
* fix: drop dnode issue
* fix: memory issues
* fix: memory issues
* fix: memory leak issues
* fix: recalculate time range issue
* fix: add debug log
* fix: memory issues
* fix: enable case asan
* Update streamlist_for_ci.task
* fix: case asan issue
* fix: stream name issue
* fix: external window compile issues
* fix: deploy memory issue
* fix: ahandle issue
* fix: ahandle issue
* fix: ahandle issue
* fix: virtual table reader list issue
* fix: log info
* fix: msg error
* fix: virtual table addr list issue
* fix: memory issues
* fix: memory leak issue
* fix: memory issues
* fix: memory free issues
* fix: memory issues
* fix: snode deploy issue
* fix: mnode reader issue
* fix: memory issues
* fix: add debug test
* enh: add ignore nodata trigger
* fix: memory leaks
* fix: configuration issue
* fix: memory issue
* fix: external window issue
* fix: external window issues
* fix: external window placeholder issue
* fix: placeholder function init issues
* fix: memory leak issue
* fix: add debug log
* fix: compile issues
* fix: double free issue
* fix: runner addr update issue
* fix: msg rsp issue
* fix: external window reset issue
* fix: configuration issue
* fix: deploy msg issue
* fix: compile issue
* fix: external window idx issue
* fix: ci issues
* fix: ci case issues
* fix: drop dnode issue
* fix: add debug log
* fix: conflict
* fix: create stream if not exists issue
* fix: ahandle memory leak
* fix: case issue
* fix: exchange issues
* fix: crash issue
* fix: exchange prefetch issue
* fix: snode quit issue
* enh: support indef rows func
* fix: crash issues
* Fix external window collect vector function
* fix: external window indef rows issues
* fix: external window issue
* enh: support count always return value in external window
* fix: force output when has more result block
* fix: runner block retrieve issue
* fix: crash issue
* fix: count cases issue
* fix: reader deploy message issue
* fix: task deploy issue
* fix: external window scalar issue
* fix: compile issue
* fix: group cache reset issue
* fix: add protection check
* fix: add grant check
* fix: add disableStream config
* fix: notify free issue
* fix: case issue
* fix: grant issues
* fix: memory leak issue
* fix: memory leak issue
* fix: memory leak issue
---------
Co-authored-by: huohong <sallyhuo@taosdata.com>
Co-authored-by: Jing Sima <simondominic9997@outlook.com>
Co-authored-by: facetosea <285808407@qq.com>
2025-07-25 17:05:59 +08:00
Pan Wei
f6ab877e05
fix: case memory issues ( #31621 )
...
* enh: add operator reset func
* fix: merge join reset issue
* fix: memory issues
* fix: add debug assert
* fix: memory issues
* fix: memory leak
* fix: memory issues
* fix taos log miss
* fix: case issue
* fix: case issue
* fix: case issues
* fix: drop dnode issue
* fix: memory issues
* fix: memory issues
---------
Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-03 13:26:22 +08:00
wangmm0220
564d585619
feat(stream): fix err that no rtInfo in stream fetch
2025-06-28 11:47:31 +08:00
Jing Sima
84016904ff
fix: [TS-6445] Fix virtual tables not detecting schema changes. ( #30999 )
...
Ensure virtual tables invalidate cached schema metadata and reload it when a schema change (e.g., ALTER VTABLE) is detected. This prevents stale schema references and query errors after structural updates.
2025-05-10 10:34:54 +08:00
Jing Sima
ffd0a5eb57
fix: [TD-34205] Fix vtable mem leak ( #30608 )
2025-04-07 18:49:49 +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
Jing Sima
410324746b
feat:[TS-4897] virtual table ( #30098 )
...
* feat: [TS-4897] Support create/drop/alter/show/describe vtable
* feat: [TS-4897] Support vtable's query
* feat: [TS-4897] Support create virtual supertable
* feat: [TS-4897] Support explain analyze / where / count(*) and only select ts of vtable.
* feat: [TS-4897] Add create test and fix bugs
* feat: [TS-4897] Add alter/drop test and fix bugs
* feat: [TS-4897] Add describe/show test and fix bugs
* feat: [TS-4897] Add auth test and fix bugs
* feat: [TS-4897] Fix meta/catalog/cache bugs
* feat: [TS-4897] Support select tag from virtual child table
* feat: [TS-4897] Add select test and fix plenty of bugs
* feat: [TS-4897] Add optimize rule for vtable scan / support create vtable cross database / remove enterprise constraint / fix bugs.
* feat: [TS-4897] Fix 'schema is old'
* feat: [TS-4897] Support virtual stable query
* feat: [TS-4897] Add tests and Fix bugs
* feat: [TS-4897] resolve conflict.
2025-03-15 14:10:46 +08:00
liuyao
2de6736160
feat(stream): add new trigger continuous_window_close ( #30125 )
...
* opt stream build twa result
* opt force window close memory
* feat(stream):optimize new interval and scan operator
* adj log
* opt code
* opt code
* fill history
* fix issue for fill history
* add ci
* feat(stream): add new stream nonblock interval operator
* adjust code
* use new scan operator
* use new scan operator
* add log
* fix issue
* recover stream scan next function
* fix issue
* fix issue
* fix issue
* ignore disorder data
* fix issue
* fix issue for interval sliding
* fix issue
* fix ci issue
* fix ci issue
* fix ci issue
* add semi && final nonblock interval operator
* fix issue
* fix issue
* fix issue
* fix issue
* fix issue
* fix issue
* fix issue
* fix issue
* refactor(stream): track the msgId for each upstream tasks.
* fix(stream): fix race condition.
* fix(stream): update the task last msgId when putting into input queue succ.
* fix issue
* fix issue
* put recalculate data to rocksdb
* fix issue
* fix issue
* enh(query)[TD-33071]: add support for saving and restoring tsdbReader scan progress
- Implement functionality to save scan progress during tsdbReader operations
- Enable resuming scans from the last saved position
* fix issue
* fix issue
* fix issue
* fix issue
* fix issue
* add rec interval check
* enh(stream):add recalculate tasks.
* enh(stream): support the re-calculate the tasks.
* fix issue && do refactor
* do refactor
* fix issue
* fix issue
* update backend opt
* add new interface
* add new session operator
* support blob
* add new session operator
* fix issue
* add rec state for rec task
* fix invalid read
* add new session window
* enh(stream): update the stream tasks backend.
* new session operator
* add pull data
* fix(stream): fix error in expand stream backend.
* fix issue
* fix issue
* fix issue
* merge code
* fix issue
* fix(stream): check for null ptr.
* fix(stream): add more check.
* fix issue
* fix issue
* fix issue
* add debug code
* fix issue
* fix issue
* fix issue
* set rec end flag
* fix(stream): opt re-calculate stream tasks.
* fix issue
* fix issue
* add new operator
* enh(stream): dispatch recalculate block to agg tasks.
* fix issue
* fix issue
* fix(stream): adjust filter.
* fix issue
* refactor
* refactor(stream): adjust the recalculate end block.
* fix issue
* fix(stream): set correct create trigger block.
* fix issue
* fix(stream): fix error in build recalculate end block.
* fix(stream): check null ptr.
* add stream client && fix issue
* fix mem leak
* fix(stream): free msg.
* add stream client
* fix(stream): fix error.
* add stream client && fix issue
* add stream client
* refactor(stream): set the recalculate task complete.
* add wend and group_id for session window dest table
* feat(stream): refactor and set the recalcul agg task complete.
* add cfg for adapter
* fix issue
* add state && event operator
* feat(stream): support fill-history task.
* add new fill operator
* fix(stream): set correct backend when updating fill-history task to recalculate task.
* add new fill operator
* fix(stream): s2025-03-06 11:10:31.272
et ops always open in scan tsdb
* fix(stream):set the correct taskType for sink task.
* new fill operator
* adj stream fill operator
* fix issue
* fix issue
* fix issue
* fix issue
* fix issue
* fix issue
* fix issue
* fix issue
* adj test
* fix issue
* fix(stream): fix issue
* fix(steam): fix issue
* fix(steam): fix issue
* fix(steam): fix issue
* fix(steam): fix issue
* fix(stream): fix issue
* fix(stream): fix issue
* fix(stream): fix issue
* fix: ut com error
* fix(stream): fix mem leak and adjust operator type check rule
* fix(stream): fix mem leak and adjust test case
* refactor code
* fix(stream): free items.
* fix(stream): free fix memory leak.
* fix(stream): fix syntax error.
* fix: ignore unexpect block
* fix: adjust op type
---------
Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
Co-authored-by: yihaoDeng <luomoxyz@126.com>
2025-03-14 20:14:01 +08:00
Jinqing Kuang
eb5d463490
feat(stream)[TS-5469]. add support for window event notifications in stream processing
...
- Introduce new syntax to specify notification type and destination address
- Collect relevant event information during window computations
- Implement websocket-based notification delivery to the specified address
2025-01-21 17:39:46 +08:00
dapan1121
a8561fba4f
Merge remote-tracking branch 'origin/3.0' into feat/TD-30268
2024-11-11 11:01:22 +08:00
dapan1121
c5c85efeb5
enh: adjust mode and retire policy
2024-11-06 19:26:14 +08:00
lyh250-666
5f6802e0a1
enh:modify addede rror code passing
2024-09-24 16:29:28 +08:00
lyh250-666
116844208d
enh:modify error code passing
2024-09-20 13:23:44 +08:00
Haojun Liao
1e57724533
Merge pull request #27688 from taosdata/fix/3_liaohj
...
fix(stream): handle continuous retrieve during checkpoint procedure.
2024-09-06 09:11:08 +08:00
Haojun Liao
277528996e
fix(stream): handle continuous retrieve during checkpoint procedure.
2024-09-05 16:04:36 +08:00
Pan Wei
aeb6fa9b25
Merge pull request #27613 from taosdata/fix/3.0/TD-31682-TD-31793
...
fix querytask.c memory leak when random malloc error
2024-09-03 18:30:22 +08:00
lyh250-666
9c8f630759
enh:modify error code passing in libs/executor/
2024-09-03 11:01:02 +08:00
wangjiaming0909
38e8d9f2fa
fix querytask.c memory leak when random malloc error
...
remove (void)
2024-09-03 09:13:40 +08:00
Yihao Deng
7b09a9f8b1
change log qid
2024-08-27 08:25:28 +00:00
Yihao Deng
e1998d151b
update qid log
2024-08-24 10:19:25 +00:00
wangjiaming0909
7c6be8c357
fix exec task memory leaks
2024-08-13 11:23:00 +08:00
Haojun Liao
59d190508d
fix(query):check return code
2024-08-06 16:46:40 +08:00
Haojun Liao
5524d42c2d
fix: check return value and fix bugs.
2024-08-06 10:19:22 +08:00
Haojun Liao
3772f25840
fix(stream): check return value.
2024-08-05 18:02:32 +08:00
Haojun Liao
aacf1c3e9a
fix(stream): check return value.
2024-07-24 17:08:08 +08:00
Haojun Liao
eefee54c6a
fix(stream): check return value.
2024-07-23 17:31:41 +08:00
wangjiaming0909
11a98ffab2
QueryAutoQWorker
2024-07-01 11:08:39 +08:00
wangmm0220
912cb09839
Merge branch 'feat/TS-4243-3.0' of https://github.com/taosdata/TDengine into feat/TS-4243-tmq
2024-03-22 18:22:13 +08:00
wangmm0220
f1853ced26
feat:[TS-4243] add logic for primark key in tmq
2024-03-22 17:48:59 +08:00
Haojun Liao
93c808326b
fix(meta): fix repeatly reader lock for tsdb meta.
2024-03-16 22:03:46 +08:00
dapan1121
143c657571
Merge remote-tracking branch 'origin/3.0' into feat/TD-24700
2023-08-16 14:50:31 +08:00
wangjiaming0909
5c276fa547
fix: make kill query work for sysscanoperator
2023-08-14 15:21:58 +08:00
dapan1121
c9656d3f77
fix: fix memory issues
2023-08-11 17:39:41 +08:00
dapan1121
fb63294289
fix: hash join res issue
2023-07-25 09:03:52 +08:00
Haojun Liao
c3be7b14be
fix: set correct function ptr.
2023-05-25 17:51:03 +08:00
Haojun Liao
1f7f326bed
refactor: do some internal refactor and set the api function ptr.
2023-05-24 13:22:05 +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
Haojun Liao
09a04052ec
refactor: do some internal refactor.
2023-05-04 16:15:14 +08:00
Haojun Liao
05d416f3b9
fix(stream): fix invalid access when handling error, not start stream if tsDisablestream is set.
2023-04-28 23:53:53 +08:00
Haojun Liao
da0d9c78ef
refactor: do some internal refactor.
2023-04-28 11:42:34 +08:00
Haojun Liao
6482ef9ad1
refactor: do some internal refactor.
2023-04-28 09:19:53 +08:00
Haojun Liao
8205168428
fix(query): fix memory leak.
2023-04-28 09:16:11 +08:00
Haojun Liao
7adc21028a
refactor: do some internal refactor.
2023-04-28 00:23:38 +08:00