Commit graph

3973 commits

Author SHA1 Message Date
Jing Sima
b2fcb4d4f1 feat: [TS-6100] Fix invalid timerange expr. 2025-07-10 11:22:59 +08:00
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
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