Commit graph

147 commits

Author SHA1 Message Date
Pan Wei
15658adb8e
enh: support count like functions in ext window (#32082)
* 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

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
Co-authored-by: Jing Sima <simondominic9997@outlook.com>
Co-authored-by: facetosea <285808407@qq.com>
2025-07-22 16:38:37 +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
Pan Wei
4270f35fb9
fix: crash and memory issues (#31588)
* 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

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-02 10:14:55 +08:00
facetosea
8462a1055f feat: get vginfo for exec 2025-06-26 18:34:18 +08:00
wangmm0220
395ee23fe8 fix(stream): add logic of resetting operator 2025-06-12 16:56:21 +08:00
wangmm0220
a716fabbbc feat(stream): set tag value in trigger cols 2025-05-22 15:45:57 +08:00
wangmm0220
9ffe95755b feat(stream): add interface of getting cols value of groupid 2025-05-15 10:03:57 +08:00
wangmm0220
df42d12b06 feat(stream): return calc cols and trigger cols from stream reader 2025-05-10 21:22:11 +08:00
wangmm0220
f1155c54ad feat(stream): return calc cols and trigger cols from stream reader 2025-05-10 18:34:01 +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
Jinqing Kuang
51ffff2079 feat(query)[TS-5470]: add syntax to specify minimum duration for event and state windows
Introduce the `true for` syntax to allow users to specify the minimum
duration for event and state windows. Add corresponding tests to
validate the feature. Updated the user manual with usage instructions.
2025-02-24 08:02:48 +08:00
Jing Sima
11ed8a1540 fix:[TD-32184] Support backwards compatibility for function's result info. 2024-10-14 11:00:20 +08:00
dapan1121
feb1c8518e fix: remove asserts 2024-08-29 15:08:38 +08:00
54liuyao
de4f09b8fd ehn(query): remove query executor assert 2024-08-23 11:01:45 +08:00
Haojun Liao
4dc81efb8b refactor: update logs. 2024-08-21 20:00:34 +08:00
Haojun Liao
ef41c0dcf9 fix(query): fix syntax error. 2024-08-06 23:57:29 +08:00
Haojun Liao
e0fc36ce97 fix(query):check return code 2024-08-06 17:32:20 +08:00
Haojun Liao
59d190508d fix(query):check return code 2024-08-06 16:46:40 +08:00
54liuyao
143745d023 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-31212 2024-08-06 10:41:12 +08:00
Haojun Liao
6297d238e0 fix: check return values. 2024-08-05 18:34:56 +08:00
Haojun Liao
3772f25840 fix(stream): check return value. 2024-08-05 18:02:32 +08:00
54liuyao
57068232ff fix res issue 2024-08-05 16:09:01 +08:00
Haojun Liao
40537001a2 fix(stream): check return value. 2024-08-05 11:57:18 +08:00
Haojun Liao
75c121c18a fix(query): check return value. 2024-07-28 14:29:56 +08:00
54liuyao
607f210821 adj operator result 2024-07-26 20:48:06 +08:00
Hongze Cheng
eaa3634764 enh: refactor error code 2024-07-25 08:51:19 +08:00
54liuyao
1d35ea137a adj query operator result 2024-07-23 10:50:16 +08:00
54liuyao
6e70da62fb adj operator res 2024-07-22 12:51:25 +08:00
Haojun Liao
5ed81f9cab fix(tsdb): prepare pk buf 2024-04-08 18:04:06 +08:00
slzhou
1da0def82d fix: add isPk to SColumnNode 2024-03-20 13:09:59 +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
85ba9a4a5f remainGroups 2024-01-02 15:45:03 +08:00
kailixu
501d5a7acc Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-08 20:47:15 +08:00
kailixu
6b738884a4 chore: rsma checkpoint 2023-11-07 19:59:05 +08:00
Bob Liu
1b9be71d55 fix(excutor): group agg operator copy from hash table directly 2023-11-07 08:51:03 +08:00
wangjiaming0909
4a131000e4 fix: data error of partition by col + interval 2023-09-07 10:49:09 +08:00
wangjiaming0909
2c4e0fee07 feat: optimize partition node, replace with sort node 2023-09-05 10:53:30 +08:00
dapan1121
efc5589aa2 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-18 14:11:26 +08:00
slzhou
85d1dbe00a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/select-tags-scan 2023-08-17 16:27:37 +08:00
dapan1121
3045a623e1 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-17 14:16:05 +08:00
dapan1121
143c657571 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-08-16 14:50:31 +08:00
shenglian zhou
e93ed3b556 enhance: table san type and disable partition tags optimize for tag scan 2023-08-16 14:09:22 +08:00
liuyao
fc09f8ef1e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/ly_refactor 2023-08-16 09:36:28 +08:00
liuyao
d1c289823f refactor stream session window 2023-08-14 17:52:39 +08:00
liuyao
57a020edfc refact stream interval 2023-08-14 17:52:39 +08:00
liuyao
9d1e5a512d add stream task id 2023-08-14 17:52:39 +08:00
shenglian zhou
b2e615d4e7 enhance: tag scan cursor based block 2023-08-10 17:30:01 +08:00
dapan1121
9f0da17c49 Merge remote-tracking branch 'origin/3.0' into feat/TD-24700 2023-06-28 19:40:55 +08:00
wangjiaming0909
57ddb3437d feature: optimize order by limit using priority queue 2023-06-27 17:50:50 +08:00
dapan1121
e6afcbf07f feat: hash join init version 2023-06-15 19:34:15 +08:00