Commit graph

3735 commits

Author SHA1 Message Date
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
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