Commit graph

4123 commits

Author SHA1 Message Date
Pan Wei
baf6a52153
Merge branch '3.0' into feat/TS-6100-3.0 2025-07-10 08:25:34 +08:00
Pan Wei
6cea090c86
fix: memory issues and case issues (#31743)
* 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

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-09 18:57:01 +08:00
Jing Sima
753ff11a26 feat: [TS-6100] Fix error when no child table in super virtual table. 2025-07-09 18:31:32 +08:00
Jing Sima
b3226e4310 feat: [TS-6100] Optimize error msg. 2025-07-09 18:17:48 +08:00
Jing Sima
693619f0c0
feat: [TS-6100] Fix ignore_nodata_trigger syntax error. (#31737) 2025-07-09 18:10:46 +08:00
Jing Sima
905cef421c
feat: [TS-6100] Fix count window check (#31724) 2025-07-09 10:36:02 +08:00
Jing Sima
c03264f6d5
feat: [TS-6100] Fix vtable scan wrong plan and fix mem leak (#31713)
* feat: [TS-6100] Fix vtable scan wrong plan and fix mem leak

* feat: [TS-6100] Fix count window check.

* Revert "feat: [TS-6100] Fix vtable scan wrong plan and fix mem leak"

This reverts commit ae7b0e1dbc.
2025-07-08 18:18:46 +08:00
Mario Peng
808d720c1d
feat:insert into subquery (#31401) (#31710) 2025-07-08 17:26:34 +08:00
Simon Guan
d497a960eb Merge branch 'main' into merge/mainto3.0 2025-07-08 16:35:39 +08:00
Jing Sima
c3ada3e32d feat: [TS-6100] Support IGNORE_NODATA_TRIGGER. 2025-07-08 15:50:26 +08:00
Jing Sima
cccd3bc992 feat: [TS-6100] Fix no mgmt epset. 2025-07-08 08:11:33 +08:00
Jinqing Kuang
968eeeeb0b Merge branch '3.0' into feat/TS-6100-3.0-merge 2025-07-07 18:04:02 +08:00
Jing Sima
80d1634f7c feat: [TS-6100] Fix wrong timerange when using join. 2025-07-05 14:51:23 +08:00
Jing Sima
a713585aa1 feat: [TS-6100] Add trigger TS slot id when using %%trows 2025-07-05 10:29:24 +08:00
Pan Wei
c97339751b
fix: virtual table address list issue (#31657)
* 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

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-05 10:17:22 +08:00
Jing Sima
7a367a420d feat: [TS-6100] Remove useless flag and disable TSMA 2025-07-04 13:59:47 +08:00
hongzhenliu
7d3ae3b734
fix: virtual table disable write (#31535) 2025-07-04 13:53:13 +08:00
Jing Sima
a7adc8042f feat: [TS-6100] Support TSMA: Part 1. 2025-07-04 13:31:48 +08:00
Mario Peng
f72923913c
fix:(stmt2) heap buffer overflow (#31607) 2025-07-04 10:10:07 +08:00
Mario Peng
a171bddefe
fix(stmt2):heap buffer overflow (#31606) 2025-07-04 10:10:00 +08:00
Pan Wei
55d3f2dd0c
fix: memory issues (#31640)
* 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

* Update streamlist_for_ci.task

* Update streamlist_for_ci.task

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-04 10:07:04 +08:00
Simon Guan
fc2fec02c7
merge: from main to 3.0 branch (#31562) 2025-07-03 09:15:59 +08:00
Pan Wei
cf0f3c908c
fix: memory issues (#31579)
* 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

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-01 18:58:32 +08:00
Jing Sima
252a32e26a feat: [TS-6100] Add query time range check. 2025-07-01 14:58:06 +08:00
Jing Sima
5a272b3239 feat: [TS-6100] Fix view in stream query 2025-07-01 14:58:06 +08:00
Mario Peng
0ca816aec3
feat:stmt2 interlace mode merge same table data (#31566) 2025-07-01 11:24:07 +08:00
Mario Peng
5f4bd06b70
feat(stmt2):interlace support bind same table repeatedly (#31517) 2025-07-01 09:38:35 +08:00
Jing Sima
11691f94b0
feat: [TS-6100] Extract fill range from RANGE() (#31563) 2025-07-01 08:54:15 +08:00
Jing Sima
8c6ac4281a feat: [TS-6100] Fix placeholder condition extract 2025-06-28 17:49:04 +08:00
Jing Sima
ed0510a05d feat: [TS-6100] Fix wrong out table name. 2025-06-28 17:49:04 +08:00
Jing Sima
9a916555e2 feat: [TS-6100] Add outtable full name's md5 to outSubtable name 2025-06-28 17:49:04 +08:00
Jing Sima
52e9b9207c feat: [TS-6100] Fix single table judging condition 2025-06-28 11:14:24 +08:00
Jing Sima
35553c2d02 feat: [TS-6100] Add time range expr in fill node 2025-06-27 16:56:15 +08:00
Jing Sima
1243185e85 feat: [TS-6100] Some optimize for %%trows 2025-06-27 16:28:59 +08:00
dapan1121
0e69cb3886 Merge remote-tracking branch 'origin/3.0' into feat/TS-6100-3.0 2025-06-27 14:53:03 +08:00
Jing Sima
668863c063 feat: [TS-6100] Fix external window generation condition. 2025-06-26 18:16:23 +08:00
facetosea
dd335ca853 fix: check db info for show streams 2025-06-25 19:57:31 +08:00
zelv01
dfa1afc47b Merge branch 'feat/TS-6100-3.0' of github.com:taosdata/TDengine into feat/TS-6100-3.0 2025-06-25 18:38:31 +08:00
Jing Sima
1efe14a173 feat: [TS-6100] Remove fill check in stream query 2025-06-25 18:14:28 +08:00
Jing Sima
c187e6a5f9 feat: [TS-6100] Forbid select percentile from %%tbname and %%trows 2025-06-25 17:54:15 +08:00
facetosea
967ac20a4b Revert "fix: show streams of not exist db"
This reverts commit c33012909e.
2025-06-25 17:38:32 +08:00
Jing Sima
66b0d2a8bd feat: [TS-6100] Fix stream query not support union. 2025-06-25 17:16:31 +08:00
Jing Sima
a177e75195 feat: [TS-6100] Improve external window condition. 2025-06-25 16:33:02 +08:00
facetosea
c33012909e fix: show streams of not exist db 2025-06-25 15:41:20 +08:00
Minglei Jin
66c4ef3e90
feat(mqtt): mqtt subscription (#30127)
* feat(mqtt): Initial commit for mqtt

* chore(xnode/mnd): xnode message handlers for mnode

* chore(mnd/xnode): mnode part for xnode

* chore(xnode/translater): fix show commands

* fix(ast/creater): fix xnode create option

* fix(xnode/ci): fix ci & doc's error codes

* chore(xnode/sql): make create/drop/show work properly

* fix(xnode/sql): commit new files

* fix(xnode/sql): commit cmake files

* fix: fix testing cases

* fix(xnode/tsc): fix tokens

* fix(ast/anode): fix anode update decl.

* fix(xnode/error): fix xnode error codes

* fix: xnode make/destroy

* chore: xnode with option & dnode id

* chore: use taosmqtt for xnode

* chore: new error code for xnode launching

* chore(xnode): new error code

* chore: header for _xnode_mgmt_mqtt

* chore: source for _xnode_mgmt_mqtt

* chore: remove test directory from cmake

* chore: remove taosmqtt for ci to compile

* chore: remove taosudf header from xnode

* chore: new window macro

* chore: remove xnode mgmt mqtt for windows compilation

* Revert "chore: remove xnode mgmt mqtt for windows compilation"

This reverts commit 197e1640c7.

* chore: cleanup code

* chore: xnode mgmt comment windows part out

* chore: mgmt/mqtt, move uv head toppest

* xnode/mnode: create xnode once per dnode

* fix(xnode/systable/test): fix column count

* xnode/sdb: renumber sdb type for xnode to make start/stop order correct

* xnode/mqtt: new param mqttPort

* fix SXnode's struct type

* transfer dnode id to mqtt subscription

* tmqtt: remove uv_a linking

* tmqtt/tools: sources for tools

* tools: fix windows compilation

* tools/producer: fix windows sleep param

* tools/producer: fix uninited var rc

* make tools only for linux

* test/mnodes: wail 1 or 2 seconds for offline to be leader

* update topic producer tool for geometry data type testing

* format tool sql statements

* show xnodes' ep

* make shell auto complete xnodes

* use usleep instead of sleep

* mqtt/proto: first version mqtt protocol

* remove assert styles

* build with linux only

* fix libuv for taosmqtt building

* fix log printing

* mem: use ttq_ prefix instead of tmqtt

* xnode/parser/proto: protocol option for xnode

* xnode/translater/option: translate xnode option proto

* xnode/translator: translate proto param

* xnode/tmsg: encode/decode proto param

* xnode/mnode: proto parma for mndXnode

* xnode/proto: protocol param for xnode

* xnode/mqtt: save/load proto from xnode json

* rename tmqtt proto header

* rename head directories

* rename header name styles

* restyle func names

* update

* update

* use camel db

* use camel for cxt

* update count of information_schema

* fix exceptional cases

* fix w.r.t reviews

* fixes w.r.t reviews

* use ttq_free

* append xnode msgs

* update information schema count

* support tmq meta data sub

* success typo fix

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix error line var w.r.t. suggestions from copilot

* denote mqtt node with bnode instead of xnode

* smoke testing for mqtt

* soak testing

* new package for test framework: paho 2.1.0

* import mqtt into util

* fix soak testing

* test/soak: user 5 topics per client

* test/soak: cover qos

* update docker image references to tdengine-ci:0.1 in CI scripts and common.py

* refactor: rename bnode msg to backup node

* refactor: rename xnode to bnode 1

* refactor: rename xnode to bnode 2

* refactor: rename xnode to bnode 3

* refactor: rename xnode to bnode 4

* refactor: rename xnode to bnode 4

* refactor: rename xnode to bnode 5

* refactor: rename xnode to bnode 6

* refactor: rename some files 1

* refactor: rename some files 2

* refactor: rename some files 3

* refactor: rename some files 4

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: chenhaoran <haoran920c@163.com>
Co-authored-by: Simon Guan <guanshengliang@qq.com>
2025-06-25 14:58:51 +08:00
zelv01
fd24e18743 Merge branch 'feat/TS-6100-3.0' of github.com:taosdata/TDengine into feat/TS-6100-3.0 2025-06-24 14:17:20 +08:00
dapan1121
ca1bff27e8 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw9 2025-06-24 13:24:36 +08:00
dapan1121
27d51d5d4b enh: add recalc stream 2025-06-24 13:21:01 +08:00
facetosea
8e23847207 fix: count window 2025-06-23 18:49:30 +08:00
Jinqing Kuang
85fad8e178 Merge branch '3.0' into temp 2025-06-23 18:08:09 +08:00
Jing Sima
6788d39c21 feat: [TS-6100] Parse create stream sql: Fix single table check when using %%tbname 2025-06-23 14:49:47 +08:00
Jing Sima
cc868ac28b feat: [TS-6100] Parse create stream sql: Fix out table length bug 2025-06-23 14:23:29 +08:00
Jing Sima
a97841b48d feat: [TS-6100] Parse create stream sql: Change default out subtable name rule 2025-06-23 08:52:21 +08:00
Jing Sima
3c217048ba feat: [TS-6100] Parse create stream sql: Improve error msg when checking period window. 2025-06-21 17:44:15 +08:00
Jing Sima
40a714a020 feat: [TS-6100] Parse create stream sql: change virtual table plan 2025-06-21 17:29:36 +08:00
Jing Sima
a142c1aebb feat: [TS-6100] Parse create stream sql: support fill_history without parameters 2025-06-21 15:24:31 +08:00
Mario Peng
c65e1592fa
feat:insert into subquery (#31401) 2025-06-21 15:11:09 +08:00
Zhixiao Bao
19574797b3
fix: insert using sql use the same stb and ctb name. (#31451) 2025-06-21 14:13:32 +08:00
facetosea
bcc42b2511 fix: error msg 2025-06-21 08:56:47 +08:00
Jing Sima
0bd2a88bad feat: [TS-6100] Parse create stream sql: Add sys db check for create stream. 2025-06-20 16:11:31 +08:00
Jing Sima
2e298ed915 feat: [TS-6100] Parse create stream sql: Add check when partition by supertable. 2025-06-20 15:02:38 +08:00
Simon Guan
9923aedcb6 Merge branch 'main' into merge/mainto3.0 2025-06-20 14:48:16 +08:00
Pan Wei
1eb4a35063
Merge pull request #31348 from taosdata/fix/3.3.6.0/TS-6319
fix(parser): set current statement precision use join table precision
2025-06-20 08:55:03 +08:00
Jing Sima
c0340dcee7 feat: [TS-6100] Parse create stream sql: Fix out col / tag wrong length 2025-06-18 17:57:30 +08:00
hongzhenliu335
ba2f3b2ccc fix(parser): set current statement precision use join table precision 2025-06-18 17:53:40 +08:00
Jing Sima
667063869f feat: [TS-6100] Parse create stream sql: Improve error messages when out table col name mistmatch 2025-06-18 17:14:57 +08:00
Jing Sima
00969609ed feat: [TS-6100] Parse create stream sql: treat %%trows error plan. 2025-06-17 18:44:47 +08:00
Jing Sima
9a114abe06 feat: [TS-6100] Parse create stream sql: treat %%tbname and %%trows with partition by tbname as child table. 2025-06-17 14:30:36 +08:00
Jing Sima
ca2a31d7cd feat: [TS-6100] Parse create stream sql: Fix leaks. 2025-06-17 09:26:48 +08:00
Jing Sima
2b97c86a5c feat: [TS-6100] Parse create stream sql: Remove %%n restrict. 2025-06-17 08:31:57 +08:00
Jing Sima
8ac2d095f7 feat: [TS-6100] Parse create stream sql: Add more error case and fix bugs. 2025-06-17 08:24:35 +08:00
Jing Sima
fe386d0ebb feat: [TS-6100] Parse create stream sql: Add error ut and fix bugs. 2025-06-16 15:11:41 +08:00
Jing Sima
640d1bfabb feat: [TS-6100] Parse create stream sql: Add more ut. 2025-06-14 14:41:43 +08:00
Simon Guan
2838d2f063 Merge branch '3.0' into merge/mainto3.0 2025-06-14 10:41:12 +08:00
Simon Guan
f691365426 Merge branch 'main' into merge/mainto3.0 2025-06-14 10:32:34 +08:00
Zhixiao Bao
49d89407bc
fix: bounded cols is expected for supertable insertion。 (#31351) 2025-06-12 22:30:46 +08:00
Jing Sima
703f6becc6 feat: [TS-6100] Parse create stream sql: Fix bugs and change error message. 2025-06-12 10:20:14 +08:00
Jing Sima
da193ab4b0 feat: [TS-6100] Parse create stream sql: Add more unit test. 2025-06-12 09:39:07 +08:00
Jing Sima
701af46675 feat: [TS-6100] Parse create stream sql: Refactor. 2025-06-10 16:01:43 +08:00
Jing Sima
d8210bc311 feat: [TS-6100] Parse create stream sql: Fix unit test bugs. 2025-06-10 16:01:43 +08:00
Yihao Deng
dc6dba0e06
feat: database engine (taosd) supports IPV6 (#31101) 2025-06-10 09:18:58 +08:00
Jing Sima
bc042f5a5c feat: [TS-6100] Parse create stream sql: Fix varchar schema wrong lengh. 2025-06-07 18:13:40 +08:00
Jing Sima
28f0a4db56
Merge pull request #31314 from taosdata/feat/TS-6100-smj
feat: [TS-6100] Parse create stream sql: Add stream name check
2025-06-07 11:32:02 +08:00
Jing Sima
396f0558e6 feat: [TS-6100] Parse create stream sql: Add stream name check 2025-06-07 11:29:44 +08:00
factosea
b2c646beda feat: show streams 2025-06-07 10:56:03 +08:00
Jing Sima
d7a2183dc4 feat: [TS-6100] Parse create stream sql: sql generator refactor 2025-06-07 10:16:46 +08:00
Jing Sima
b2ff90b455 feat: [TS-6100] Parse create stream sql: Fix sql generator 2025-06-06 17:06:06 +08:00
Jing Sima
4693999486 feat: [TS-6100] Parse create stream sql: Fix %%tbname wrong plan 2025-06-06 15:44:27 +08:00
dapan1121
33ca255671 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw9 2025-06-06 09:15:50 +08:00
dapan1121
bfce943ff0 enh: add more check 2025-06-06 09:09:40 +08:00
Jing Sima
0a33d13264 feat: [TS-6100] Parse create stream sql: Fix %%tbname wrong plan 2025-06-06 09:09:19 +08:00
wangmm0220
4572c0243d fix(stream): add logic for %%tbname 2025-06-05 17:26:09 +08:00
facetosea
3a700fa119 fix: count_window cols 2025-06-05 17:00:25 +08:00
Jing Sima
e9e6db382a feat: [TS-6100] Parse create stream sql: Extract condition from count window 2025-06-05 16:21:35 +08:00
Jing Sima
8c2d06f88f feat: [TS-6100] Parse create stream sql: Fix %%tbname wrong plan 2025-06-05 10:26:36 +08:00
Jing Sima
e97af52e2a feat: [TS-6100] Parse create stream sql: Fix dup col 2025-06-05 09:47:00 +08:00
Jing Sima
d9caf9410d feat: [TS-6100] Parse create stream sql: Add primary key check. 2025-06-05 09:16:30 +08:00
Jing Sima
36e09ed4ec feat: [TS-6100] Parse create stream sql: Fix _twduration wrong type. 2025-06-05 08:45:17 +08:00
Jing Sima
f929f5d39e feat: [TS-6100] Parse create stream sql: Support %%tbname. 2025-06-04 19:06:33 +08:00
facetosea
3f5d755b21 feat: count windows 2025-06-04 17:25:19 +08:00
Jing Sima
48ad39e8c3 feat: [TS-6100] Parse create stream sql: Fix trigger window check. 2025-06-04 14:35:13 +08:00
Jing Sima
29be1c4370 feat: [TS-6100] Parse create stream sql: Add trigger window check. 2025-06-03 19:01:19 +08:00
facetosea
18aa05c71c feat: count_window 2025-06-03 18:31:49 +08:00
Zhixiao Bao
41ae942dbb
feat: use csv reader to parse csv file. (#31238) 2025-06-03 17:44:10 +08:00
Jing Sima
ff873650f7 feat: [TS-6100] Parse create stream sql: Sql gen refactor and fix bugs. 2025-06-03 08:56:51 +08:00
Jing Sima
f8b312db24 feat: [TS-6100] Parse create stream sql: Sql gen refactor and fix bugs. 2025-05-30 10:48:40 +08:00
Jing Sima
cc97e7fb2c feat: [TS-6100] Parse create stream sql: Sql gen refacotr. 2025-05-30 08:53:39 +08:00
dapan1121
829921cc21 fix: start/stop stream 2025-05-28 17:27:53 +08:00
Jing Sima
e313bf7171 feat: [TS-6100] Parse create stream sql: Fix wrong tag name. 2025-05-28 17:13:46 +08:00
Jing Sima
99a241cf37
Merge pull request #31236 from taosdata/feat/TS-6100-smj
feat: [TS-6100] Parse create stream sql
2025-05-28 15:55:58 +08:00
Jing Sima
9768e724af feat: [TS-6100] Parse create stream sql: Fix missing db cfg for triggertable and create stream req's stream name. 2025-05-28 15:48:59 +08:00
dapan1121
6992932a95 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw8 2025-05-28 11:36:31 +08:00
Jing Sima
c02dc5e4e3 feat: [TS-6100] Parse create stream sql: Get trigger table's meta during collectMetaKeyFromCreateStream. 2025-05-28 09:58:12 +08:00
Jinqing Kuang
5f3d1df1fa Merge branch '3.0' into feat/TS-6100-3.0 2025-05-27 19:31:36 +08:00
dapan1121
01d2677fca Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw8 2025-05-27 19:12:25 +08:00
Jing Sima
2ed46b0bc1 feat: [TS-6100] Parse create stream sql: Stream out subtable name refactor. 2025-05-27 18:53:47 +08:00
Jing Sima
46d0932e73 feat: [TS-6100] Parse create stream sql: Support _tprev_ts/_tnext_ts/_tprev_localtime/_tnext_localtime. 2025-05-27 16:49:36 +08:00
Kaili Xu
8d361be3e7
fix: naming rule with quotation char (#31180) 2025-05-27 16:27:57 +08:00
Jing Sima
16a16c1ef9 feat: [TS-6100] Parse create stream sql: Fix basic1.py bug. 2025-05-27 15:56:02 +08:00
Jing Sima
e2147145e0 feat: [TS-6100] Parse create stream sql: Support vtable. 2025-05-27 09:39:59 +08:00
Simon Guan
309f4ffa5c Merge branch 'main' into merge/mainto3.0 2025-05-26 13:46:33 +08:00
dapan1121
c8b36ee449 fix: add watch process 2025-05-24 18:15:32 +08:00
Jing Sima
0b78a63880 feat: [TS-6100] Parse create stream sql: Fix wrong msg type. 2025-05-24 18:05:09 +08:00
Jing Sima
c812498a91 feat: [TS-6100] Parse create stream sql: Support recalculate stream and refactor of drop/start/stop stream. 2025-05-24 17:57:24 +08:00
Jinqing Kuang
18566df281 Merge branch '3.0' into kjq-merge 2025-05-24 14:56:21 +08:00
Jing Sima
be3288f5a1 feat: [TS-6100] Parse create stream sql: Fix parser error ver-3. 2025-05-24 09:54:48 +08:00
Mario Peng
4f7bfed1cf
enh(stmt2):add stmt2 log (#31171) 2025-05-23 16:36:12 +08:00
Jing Sima
365f2c7974 feat: [TS-6100] Parse create stream sql: Fix parser error ver-2. 2025-05-23 16:34:56 +08:00
Jing Sima
9fa1bf5fd5 feat: [TS-6100] Parse create stream sql: Fix out tag. 2025-05-23 14:55:12 +08:00
Jing Sima
90c1c3a9ef feat: [TS-6100] Parse create stream sql: Fix sql parser error. 2025-05-23 14:07:07 +08:00
Jing Sima
98843b05c1 feat: [TS-6100] Parse create stream sql: Fix default tag expr 2025-05-23 11:00:12 +08:00
Jing Sima
31b7882f1d feat: [TS-6100] Parse create stream sql: Fix syntax error. 2025-05-22 18:20:04 +08:00
Simon Guan
08b8673ac5
merge: from main to 3.0 branch (#31161) 2025-05-22 09:13:14 +08:00
Simon Guan
8844c2e1f3 Merge branch 'main' into merge/mainto3.0 2025-05-21 17:19:55 +08:00
wangjiaming0909
bd550258c9 new stream runner impl 2025-05-20 09:25:43 +00:00
Hongze Cheng
adea0fc530
fix: invalid time parse in compact database command (#31135) 2025-05-20 11:21:29 +08:00
Jing Sima
9ae82d7b7b feat: [TS-6100] Parse create stream sql: Fix potential heap buff overflow. 2025-05-20 09:24:28 +08:00
Jing Sima
cd3e0bf4c8 feat: [TS-6100] Parse create stream sql: Fix external window wrong plan. 2025-05-19 16:37:48 +08:00
dapan1121
12f67cd00a Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw7 2025-05-19 09:55:47 +08:00
Jing Sima
b0e9b29ff7 feat: [TS-6100] Parse create stream sql: Use %%tbname in SELECT and WHERE clause. 2025-05-19 09:55:44 +08:00
Jing Sima
8c0fba4d91 feat: [TS-6100] Parse create stream sql: Fix partition tag error. 2025-05-19 09:55:44 +08:00
Jing Sima
7478f02b82 feat: [TS-6100] Parse create stream sql: Fix stop stream syntax error. 2025-05-19 09:53:36 +08:00
Jing Sima
0b70fd49ed feat: [TS-6100] Parse create stream sql: Use %%tbname in SELECT and WHERE clause. 2025-05-19 09:16:51 +08:00
Mario Peng
4fab91f800
fix(stmt2):memleak insert into stb (#31127) 2025-05-17 21:02:58 +08:00
Jing Sima
b97c243aba feat: [TS-6100] Parse create stream sql: Fix partition tag error. 2025-05-17 18:20:01 +08:00
dapan1121
5069aa8845 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw7 2025-05-17 16:37:12 +08:00
Jing Sima
75812e8ef0 feat: [TS-6100] Parse create stream sql: Fix partition tbname wrong plan. 2025-05-17 14:12:26 +08:00
Simon Guan
556e426880 Merge branch 'main' into merge/mainto3.0 2025-05-17 12:55:32 +08:00
dapan1121
9a2cf31ee6 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw7 2025-05-17 10:56:13 +08:00
Jing Sima
1d70fddab9 feat: [TS-6100] Parse create stream sql: Fix placeholder func check. 2025-05-17 09:19:57 +08:00
Jing Sima
1657fb5d63 feat: [TS-6100] Parse create stream sql: Collect tbname function to trigger partition cols 2025-05-16 18:07:58 +08:00
Jing Sima
3875d2a506 feat: [TS-6100] Parse create stream sql: No force output when first col do not have placeholder func. 2025-05-16 17:00:18 +08:00
dapan1121
d98210a7ee Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw7 2025-05-16 14:20:45 +08:00
Jing Sima
5dc14fa622 feat: [TS-6100] Parse create stream sql: Fix wrong time range expr. 2025-05-15 18:56:51 +08:00
Mario Peng
24357375d9
fix:core (#31080) 2025-05-15 18:18:08 +08:00
Jing Sima
b45f2fd321 feat: [TS-6100] Parse create stream sql: Support period window. 2025-05-15 14:30:52 +08:00
dapan1121
0793da0526 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw7 2025-05-15 11:48:09 +08:00
Jing Sima
d9533a959d feat: [TS-6100] Parse create stream sql: Fix external window on super table wrong plan. 2025-05-15 11:02:46 +08:00
Jing Sima
d8933b57f0 feat: [TS-6100] Parse create stream sql: Fix scan node no scanCols. 2025-05-14 14:27:07 +08:00
Jing Sima
8b45889335 feat: [TS-6100] Parse create stream sql: Fix time range condition. 2025-05-14 11:22:03 +08:00
Jing Sima
d27bef85ce feat: [TS-6100] Parse create stream sql: Fix external window plan. 2025-05-13 19:13:58 +08:00
Jing Sima
211a553d28 feat: [TS-6100] Parse create stream sql: Fix out table check. 2025-05-13 17:03:35 +08:00
Jing Sima
84579d0e74 feat: [TS-6100] Parse create stream sql: Fix wrong subplan num. 2025-05-13 15:57:36 +08:00
dapan1121
08effac8ff Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw7 2025-05-13 14:37:50 +08:00
dapan1121
8ed0f7214e enh: add create snode processing 2025-05-13 14:37:07 +08:00
Simon Guan
be6020af05 Merge remote-tracking branch 'origin/main' into merge/mainto3.0 2025-05-13 14:27:03 +08:00
Jing Sima
0c490df458 feat: [TS-6100] Parse create stream sql: Fix partition by tbname error. 2025-05-13 14:13:20 +08:00
Mario Peng
2889a8ff96
fix(stmt2):memleak (#30996) 2025-05-13 10:52:05 +08:00
taos-support
025eb154a5 feat: [TS-6100] Parse create stream sql: Add unit test. 2025-05-13 09:31:44 +08:00
dapan1121
a4869f5263 fix: compile issues 2025-05-12 17:14:35 +08:00
dapan1121
009e8aa41e Merge remote-tracking branch 'origin/3.0' into feat/TS-6100-3.0 2025-05-12 16:24:22 +08:00
Jing Sima
07026f2a0b feat: [TS-6100] Parse create stream sql: Add tsSlotId for %%trows query. 2025-05-12 11:35:44 +08:00
taos-support
ccd7d5bf53 feat: [TS-6100] Parse create stream sql: Add Unit Test. 2025-05-12 11:34:04 +08:00
Simon Guan
3cfdb304e8 Merge branch 'main' into merge/mainto3.0 2025-05-12 09:01:48 +08:00
Zhixiao Bao
338072e262
enh: add more feat for stb keep. (#31019) 2025-05-10 15:17:22 +08:00
Jing Sima
3de7adb8f8 feat: [TS-6100] Parse create stream sql: Fix out table wrong column name. 2025-05-10 14:23:04 +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
2df77a4994 feat: [TS-6100] Parse create stream sql: Fix bugs and add create check. 2025-05-09 15:53:10 +08:00
Jing Sima
5234048e66 feat: [TS-6100] Parse create stream sql: Add out stb sversion. 2025-05-08 14:48:35 +08:00
Jinqing Kuang
b2a17d5e9f test(stream): add stream basic test script 2025-05-08 11:51:21 +08:00
Jing Sima
5ccdf6f424 feat: [TS-6100] Parse create stream sql: Fix syntax error when using %%trows. 2025-05-08 09:43:46 +08:00
pengrongkun94@qq.com
cd9feaffab fix:debug 2025-05-07 11:06:25 +08:00
pengrongkun94@qq.com
245dc41644 feat:fetch pVgInfo from server 2025-05-07 11:06:02 +08:00
pengrongkun94@qq.com
2043a638e1 fix:rewrite tbname node type 2025-05-07 11:05:42 +08:00
pengrongkun94@qq.com
c64e1ca34b feat: add client parse 2025-05-07 11:05:24 +08:00
taos-support
be3987e6e9 feat: [TS-6100] Process SCMCreateStreamReq : Add unit test and fix bugs. 2025-05-07 09:55:12 +08:00
Jing Sima
0a8f660f97 feat: [TS-6100] Process SCMCreateStreamReq ver-6 2025-05-06 19:13:27 +08:00
Jing Sima
c85e400f76 feat: [TS-6100] Process SCMCreateStreamReq ver-5
1. support time range expr in stream query.
2. support where condition in stream notify.
2025-04-30 17:37:34 +08:00
dapan1121
c7c0d9e8b0 fix: stream vgroup map issue 2025-04-29 17:03:52 +08:00
Jing Sima
6ae805bb7a feat: [TS-6100] Process SCMCreateStreamReq ver-4
support placeHolderBitmap and interval offset in stream trigger.
remove useless code.
2025-04-29 15:19:30 +08:00
dapan1121
b07fafa27f fix: stream hb rsp length issue 2025-04-29 11:02:56 +08:00
Jing Sima
b5558c05c3 feat: [TS-6100] Process SCMCreateStreamReq ver-3 2025-04-28 16:44:56 +08:00
Jing Sima
22ebaece7c feat: [TS-6100] Process SCMCreateStreamReq 2025-04-28 11:28:33 +08:00
Jing Sima
358e8b9e1c feat: [TS-6100] Process SCMCreateStreamReq 2025-04-27 20:10:54 +08:00
Simon Guan
16f90d4de1 Merge branch 'main' into merge/mainto3.0 2025-04-27 19:16:46 +08:00
dapan1121
992042cd00 fix: compile issues 2025-04-27 18:36:08 +08:00
dapan1121
78dbb66af4 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw3 2025-04-27 17:58:40 +08:00
dapan1121
3793eb2835 enh:add hb msg serilization 2025-04-27 17:53:12 +08:00
Jing Sima
e81a59b2e7 feat: [TS-6100] Fix compile error. 2025-04-27 09:08:26 +08:00
Jing Sima
9d3ded13d0 fix: [TS-6100] Remove useless code and fix bugs 2025-04-24 18:48:28 +08:00