Commit graph

70 commits

Author SHA1 Message Date
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
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
xiao-77
c66a834d1e Replace unsafe memory functions with safe versions in wal&sync. 2024-12-13 15:19:29 +08:00
lyh250-666
726b133721 modify error code passing 2024-09-12 07:46:30 +00:00
lyh250-666
f91305c52f enh:modify error code pass for taosMemoryCalloc in dnode/mgmt mnode/ 2024-09-02 04:40:20 +00:00
dmchen
0b71f18e3c fix/TD-30989 2024-07-20 02:51:05 +00:00
dmchen
a939174bb7 resolve code review 2024-06-19 09:54:14 +00:00
dmchen
4c8ce7a14c feat/TS-4954 2024-06-17 06:31:39 +00:00
yihaoDeng
3c11dc4ec1 fix show create table crash 2024-03-13 09:54:14 +00:00
dapan1121
969b002936 enh: support view privilege 2023-10-20 08:41:49 +08:00
dapan1121
270a7584f4 enh: prevent accessing ins_users&ins_user_privileges without sysinfo 2023-09-13 17:48:26 +08:00
Shengliang Guan
13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +08:00
Xiaoyu Wang
99490c063e feat: system table visible permission 2022-08-24 17:36:10 +08:00
Shengliang Guan
58f2fa8c82 enh: make the error codes of 2.0 and 3.0 error as same 2022-07-23 18:23:09 +08:00
dapan1121
be2935cba6 feat: show create table 2022-06-20 20:58:36 +08:00
Haojun Liao
96363c411d other: merge 3.0 2022-04-28 15:40:03 +08:00
Haojun Liao
47a9b26507 fix(query): show tables in information_schema db. 2022-04-28 15:30:18 +08:00
Liu Jicong
f0acbbb74b add flag back 2022-04-28 14:00:32 +08:00
Liu Jicong
108b9ee181 feat(stream): support perf schema 2022-04-28 13:36:43 +08:00
Haojun Liao
576c4fa07a
Merge pull request #11942 from taosdata/feature/3.0_liaohj
enh(query): add more information for the result of show tables.
2022-04-27 16:59:01 +08:00
Shengliang Guan
a1e5110284
Merge pull request #11944 from taosdata/feature/dnode
test: add user test cases into ci
2022-04-27 16:50:09 +08:00
Haojun Liao
d62ddcf2db enh(query): add more information for the result of show tables. 2022-04-27 15:17:15 +08:00
Liu Jicong
19ec7bcafc enh: more info in perf schema 2022-04-27 15:16:57 +08:00
Shengliang Guan
89ec5a88ce refactor: refact user mgmt 2022-04-27 15:08:51 +08:00
Haojun Liao
8f14f8e8b3 fix(query): enable mnd support show topics processing. 2022-04-25 11:40:56 +08:00
Xiaoyu Wang
20879d0ef7 fix: some syntax parsing problems 2022-04-22 18:23:37 +08:00
dapan1121
36a8382b8e feature/qnode 2022-04-21 15:33:07 +08:00
Shengliang Guan
61334de8b8 fix: refact db options 2022-04-20 14:58:14 +08:00
Shengliang Guan
76883aa42f refactor: check db options 2022-04-20 10:25:03 +08:00
Shengliang Guan
d1cb2ffdf8 refactor(cluster): remove the online field while execute 'show vgroups' 2022-04-19 10:12:33 +08:00
Xiaoyu Wang
e2164bf8cb feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 19:35:46 +08:00
Xiaoyu Wang
ba1f3f7815 feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 18:30:01 +08:00
Shengliang Guan
73a3f9bbc7 Merge remote-tracking branch 'origin/3.0' into feature/check 2022-04-15 14:21:11 +08:00
Shengliang Guan
f431cbe03a test: reopen funcTest 2022-04-15 10:39:42 +08:00
dapan1121
0e9ecc628e Merge remote-tracking branch 'origin/3.0' into feature/qnode 2022-04-15 08:33:53 +08:00
Shengliang Guan
2635df084d refact<cluster>: adjust show types 2022-04-14 20:54:43 +08:00
Shengliang Guan
495e417ce6 enh<cluster>: add show message funcs 2022-04-14 18:16:02 +08:00
Shengliang Guan
9a004f6827 enh<cluster>: adjust show message handle 2022-04-14 16:48:39 +08:00
dapan1121
955695ebe5
Merge branch '3.0' into feature/qnode 2022-04-14 14:10:19 +08:00
Haojun Liao
3457a5e5af other: merge 3.0 2022-04-14 13:23:09 +08:00
afwerar
332b5504a2 fix(grant): change the way taosd calls grant. 2022-04-14 11:53:02 +08:00
Haojun Liao
9c9e980ec0 test(query): update tsim test scripts. 2022-04-14 11:36:06 +08:00
Haojun Liao
7cc56c8f1c fix(query): revise system table schema. 2022-04-13 20:00:59 +08:00
dapan1121
94b5031554 feature/qnode 2022-04-13 10:48:26 +08:00
Haojun Liao
c5dadcdb99 <fix>[query]:fix an error reported by compiler. 2022-04-09 18:39:25 +08:00
Haojun Liao
d6338ca773
Merge branch '3.0' into feature/3.0_liaohj 2022-04-09 18:30:05 +08:00
Shengliang Guan
2a88060067 feat[cluster]: create and drop snode bnode 2022-04-09 17:52:29 +08:00
Shengliang Guan
39dde85ecc feat<cluster>: create and delete qnode 2022-04-09 16:32:19 +08:00
Haojun Liao
6a245710c9 other: merge 3.0 branch. 2022-04-09 16:24:44 +08:00