Commit graph

70 commits

Author SHA1 Message Date
dapan1121
0e69cb3886 Merge remote-tracking branch 'origin/3.0' into feat/TS-6100-3.0 2025-06-27 14:53:03 +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
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
Simon Guan
0001747378
enh: allow ordinary users to execute the "show disk_usage" command. (#30700) 2025-04-08 21:00:47 +08:00
Simon Guan
9a89db55ca
enh: allow ordinary users to execute the “show anodes” command. (#30464) 2025-03-25 20:17:16 +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
Shengliang Guan
e99b888654 Merge branch 'main' into merge/mainto3.0 2024-12-09 19:06:06 +08:00
wangjiaming0909
718b0ad16e replace unsafe functions 2024-12-02 13:46:07 +08:00
yihaoDeng
160e2686c4 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-01 15:58:57 +08:00
Shengliang Guan
3003e7286e feat: data analysis 2024-10-15 10:00:38 +08:00
Shengliang Guan
9f05ca5ee8 revert: data analysis 2024-10-14 23:27:11 +08:00
Shengliang Guan
234bf4b332 feat: analysis plan 2024-10-09 17:58:46 +08:00
kailixu
bb3479d952 enh: support drop table with uid 2024-09-14 08:42:06 +08:00
WANG MINGMING
6234369d12
Merge branch '3.0' into fix/TD-31899 2024-09-12 16:18:35 +08:00
wangjiaming0909
11b3faee8e remove (void) from parser/planner/nodes/sma 2024-09-11 14:15:34 +08:00
wangmm0220
23507b0eac fix:[TD-31899] remove void(func) 2024-09-06 10:16:15 +08:00
yihaoDeng
115b626f4f support query db size 2024-08-01 20:34:43 +08:00
wangjiaming0909
1994c3339b nodes add ret check 2024-07-26 17:55:48 +08:00
Shungang Li
17e84e1fca Merge branch '3.0' into feat/TS-4917-3.0 2024-06-25 10:33:12 +08:00
Shungang Li
b3368f6472 feat: 'create table' from csv file 2024-06-24 22:13:03 +08:00
dmchen
4c8ce7a14c feat/TS-4954 2024-06-17 06:31:39 +00:00
kailixu
374ef4593c feat: encryptions/encrypt_key grammar 2024-03-26 19:56:15 +08:00
Shungang Li
3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
kailixu
41a79866b1 test: check user sysinfo during alter repeatedly 2024-02-25 10:23:05 +08:00
kailixu
a38a69557a user sysinfo 2024-02-24 23:05:39 +08:00
kailixu
a860e9039d feat: support uniq grant 2024-01-31 13:52:03 +08:00
kailixu
1daa224651 feat: support uniq grant 2024-01-18 17:49:11 +08:00
kailixu
76558da849 feat: support uniq grant 2024-01-18 15:23:38 +08:00
dapan1121
9801d5d7b7 fix: desciribe view and memory issues 2023-10-27 19:28:22 +08:00
dapan1121
099f72e84a fix: memory issues 2023-10-27 11:36:17 +08:00
dapan1121
dbbceae061 fix: union all view issue 2023-10-24 11:29:04 +08:00
dapan1121
0f4766e38e feat: add view cases 2023-10-20 18:22:30 +08:00
dapan1121
969b002936 enh: support view privilege 2023-10-20 08:41:49 +08:00
dapan1121
afe963a9d1 enh: support view privilege 2023-10-19 08:31:31 +08:00
dapan1121
478de7ae56 feat: add show create view implement 2023-10-11 10:38:22 +08:00
dapan1121
14e8db289d feat: support view 2023-09-19 14:19:54 +08:00
dapan1121
e8fa9aa633 fix: join blockId and target issues 2023-08-17 13:50:26 +08:00
dapan1121
8987553d9c fix: remove ins_modules 2023-08-11 15:56:38 +08:00
dapan1121
4dae9f4eff merge main to 3.0 2023-06-26 18:43:00 +08:00
dapan1121
ccf57129bb fix: show create table privilege issue 2023-05-29 16:33:31 +08:00
Xiaoyu Wang
e584bb3ea1 feat: subtable level privilege 2023-04-25 17:39:28 +08:00
Xiaoyu Wang
4bb7a25fc7 feat: subtable level privilege 2023-04-23 16:30:28 +08:00
Xiaoyu Wang
416af9a58d feat: table level privilege 2023-04-11 10:11:25 +08:00
Xiaoyu Wang
f44c219360 feat: table level privilege 2023-04-07 11:15:05 +08:00
dapan1121
a61279ed71 Merge branch 'feat/table_level_privilege' of github.com:taosdata/TDengine into feat/table_level_privilege 2023-04-06 10:02:26 +08:00
dapan1121
d768f49dd7 feat: table level user auth 2023-04-06 10:01:27 +08:00
Xiaoyu Wang
5babaf9e92 feat: table level read privilege check 2023-03-31 10:45:21 +08:00
Alex Duan
0c422345b3 feat: support show cluster alive; and show db.alive; 2022-12-29 18:07:57 +08:00
Shengliang Guan
664dcb6b4e Merge branch 'main' into merge/mainto3.0_1226 2022-12-26 09:26:54 +08:00
Xiaoyu Wang
58220485d4 merge 3.0 2022-12-21 14:33:43 +08:00