Commit Graph

414 Commits

Author SHA1 Message Date
Xiaoyu Wang 5988fc0e4a feat: sql command 'show tags from table_name' 2022-07-19 15:31:44 +08:00
Xiaoyu Wang 7c585d8ed9 fix: database options 'strict' and 'cachelast' syntax adjustments 2022-07-16 11:47:26 +08:00
Xiaoyu Wang 4830b7d9d3 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 18:12:02 +08:00
Xiaoyu Wang 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
Shengliang Guan 6bc68021ba
Merge pull request #14745 from taosdata/fix/valgrind
refactor: adjust threads number
2022-07-11 16:59:18 +08:00
Shengliang Guan a846bb9381 refactor: rename cacheLastRow to cacheLast 2022-07-11 15:45:40 +08:00
Xiaoyu Wang 6a845b746c fix: some problems of parser 2022-07-11 15:15:39 +08:00
Xiaoyu Wang 0bc700eb82 feat: sql command 'trim database' 2022-07-11 10:53:06 +08:00
Xiaoyu Wang 5708d497ce fix: syntax issue with '(select ... limit) statement' 2022-07-11 10:07:11 +08:00
Xiaoyu Wang 0bf399a67e merge 3.0 2022-07-06 18:53:54 +08:00
Xiaoyu Wang 025b7782e1 feat: add db option 'cachelastsize' 2022-07-06 18:47:33 +08:00
Minglei Jin d843a8ac89
Merge pull request #14486 from taosdata/feat/tsdb_refact
Feat/tsdb refact
2022-07-06 17:43:22 +08:00
Xiaoyu Wang c1eef9911b feat: sql command 'insert ... select' 2022-07-06 16:16:54 +08:00
Haojun Liao 916dbebb00 other: merge 3.0 2022-07-06 13:49:39 +08:00
Xiaoyu Wang c8508248e2 feat: sql command 'insert ... select' 2022-07-05 21:12:10 +08:00
Haojun Liao 15d8ae0fee other: merge 3.0 2022-07-05 19:22:50 +08:00
Xiaoyu Wang 5b14444ca2 fix: a problem of unique function with ts 2022-07-05 18:00:07 +08:00
Xiaoyu Wang 24d0fc4515 fix: adjust parsing of negative numbers 2022-07-05 15:38:39 +08:00
Haojun Liao 6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +08:00
Hongze Cheng ddb198de23 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_refact 2022-07-04 03:42:50 +00:00
Xiaoyu Wang 988cffcce6 fix: some problems of parser and planner 2022-07-02 18:19:10 +08:00
Xiaoyu Wang 8a8939f99c fix: csum/diff/mavg support subquery 2022-07-01 13:31:22 +08:00
Xiaoyu Wang 11a8f7f04d feat: sql command 'flush database' 2022-06-29 18:20:27 +08:00
Xiaoyu Wang 4fcd667bf6 feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 18:03:15 +08:00
Xiaoyu Wang a5ca4965a4 feat: some sql syntax adjustments 2022-06-22 16:35:14 +08:00
Xiaoyu Wang 5c185b909a feat: sql command 'show local variables' and 'show dnode variables' 2022-06-20 20:36:15 +08:00
Xiaoyu Wang 9e8058dd5d feat: sql function 'interp' 2022-06-20 12:00:57 +08:00
Xiaoyu Wang c963f92dda
Merge pull request #13990 from taosdata/feature/3.0_debug_wxy
feat: sql function 'interp'
2022-06-19 20:09:15 +08:00
Xiaoyu Wang bac6e27c20 feat: sql command 'interp' 2022-06-19 19:39:12 +08:00
WANG MINGMING 45a247c062
Merge pull request #13933 from taosdata/feature/TD-16524
feat: add ttl/comment function
2022-06-19 11:18:14 +08:00
wangmm0220 746f4759b0 fix:merge from 3.0 2022-06-18 19:40:36 +08:00
Xiaoyu Wang 22d1422b49 feat: sql command 'show table distributed' 2022-06-18 18:37:18 +08:00
Xiaoyu Wang 88f9a4b144 feat: the sql command 'create dnode' is compatible with the 2.x version syntax 2022-06-18 15:40:17 +08:00
Xiaoyu Wang 48f730fbcf feat: the sql command 'create dnode' is compatible with the 2.x version syntax 2022-06-18 14:49:36 +08:00
WANG MINGMING a64013461f
Merge branch '3.0' into feature/TD-16524 2022-06-18 11:11:54 +08:00
Xiaoyu Wang a06b329bee feat: sql command 'show create database', 'show create table', 'show create stable' and 'alter local' 2022-06-17 21:16:13 +08:00
Xiaoyu Wang 64f8a9cea8 merge 3.0 2022-06-17 18:45:17 +08:00
Xiaoyu Wang aea4f9c69b feat: rollup options adjust 2022-06-17 17:27:42 +08:00
WANG MINGMING b3d2daeb72
Merge branch '3.0' into feature/TD-16524 2022-06-17 14:51:33 +08:00
wangmm0220 8ace8dfd8b feat:add ttl/comment function & fix global version shadows a variable 2022-06-17 14:47:37 +08:00
Xiaoyu Wang 30db51ab21 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-06-17 14:47:25 +08:00
dapan1121 f0c53fb982 Merge branch '3.0' into feature/showapps 2022-06-17 14:44:44 +08:00
Xiaoyu Wang 2df98609e8 feat: the unique function and tail function are rewritten as the corresponding clauses 2022-06-17 13:55:25 +08:00
dapan1121 b3f9f81b61 support show apps 2022-06-16 21:06:04 +08:00
wangmm0220 2bd2996e74 feat:add comment function 2022-06-16 20:45:00 +08:00
Xiaoyu Wang 97ac79f557 feat: rollup grammar adjust 2022-06-16 11:13:59 +08:00
Xiaoyu Wang 19ab15b19f feat: super table join 2022-06-15 13:49:29 +08:00
wangmm0220 174ae5ee6b feat:add logic for ttl 2022-06-14 19:06:14 +08:00
WANG MINGMING d6012f22dc
Merge branch '3.0' into feature/TD-14761 2022-06-14 18:23:37 +08:00
wangmm0220 f4eb95a02b fix: error in schemaless parameters 2022-06-14 17:45:54 +08:00
Xiaoyu Wang 1676bfe5cf fix: some problems of parser 2022-06-14 15:43:56 +08:00
Xiaoyu Wang 380a071551 fix: handle the memory leak of parser 2022-06-13 14:54:38 +08:00
Xiaoyu Wang e17396be9c fix: some problems of parser 2022-06-11 15:44:49 +08:00
Xiaoyu Wang 6dc64627cd feat: vgroup manage command 2022-06-07 11:53:32 +08:00
Xiaoyu Wang 55d41c8f5c feat: sql command 'delete from' 2022-06-05 15:48:06 +08:00
Xiaoyu Wang 74026205a7 feat: sql command 'delete from' 2022-06-04 19:54:55 +08:00
Liu Jicong ce62042a47
Merge pull request #13304 from taosdata/feature/topic_grammar
feat(tmq): create topic new grammar
2022-05-31 18:30:21 +08:00
Liu Jicong c3296fe890 merge from 3.0 2022-05-31 16:44:27 +08:00
54liuyao 901ff9bf18 feat(sma):files factor 2022-05-31 16:14:56 +08:00
Xiaoyu Wang 9a6776c321 fix: error in data precision of super table query 2022-05-31 15:11:26 +08:00
Liu Jicong 2248bc4207 Merge branch '3.0' into feature/topic_grammar 2022-05-30 23:31:22 +08:00
Xiaoyu Wang fdd00a6582 feat: sql command 'create topic as {database | stable| query}' 2022-05-30 11:59:23 +08:00
Xiaoyu Wang b5db96b717 feat: parser adapts asynchronous interface 2022-05-28 15:11:37 +08:00
Xiaoyu Wang d0c11c5bba feat: parser adapts asynchronous interface 2022-05-27 17:00:37 +08:00
Xiaoyu Wang 070f60409b feat: sql command 'drop cgroup' 2022-05-25 21:20:11 +08:00
Xiaoyu Wang 21f1321ea8 fix: some problems of parser 2022-05-24 17:37:53 +08:00
Xiaoyu Wang 8da52cbb04 feat: tag index filter plan 2022-05-23 19:50:08 +08:00
Xiaoyu Wang 87f1612743
Merge pull request #12692 from taosdata/feature/3.0_wxy
fix: some problems of parser and planner
2022-05-19 14:54:55 +08:00
Xiaoyu Wang 29bdba7298 fix: some problems of parser and planner 2022-05-19 14:26:10 +08:00
afwerar 51721dfc47 fix(os): win run error 2022-05-19 10:37:11 +08:00
Xiaoyu Wang 6f4c0a2e8f fix: some problems of parser and planner 2022-05-18 20:28:14 +08:00
Xiaoyu Wang c9428fca0e fix: some problems of parser for stmt mode 2022-05-17 18:52:51 +08:00
Xiaoyu Wang 60e8bc24cd fix: some problems of parser and planner 2022-05-14 19:17:53 +08:00
Xiaoyu Wang 04a2368f6d feat: adjust query stmt APIs 2022-05-12 20:57:34 +08:00
Xiaoyu Wang b57f62f139 feat: adjust query stmt APIs 2022-05-12 20:33:52 +08:00
Xiaoyu Wang f19272909c fix: some problems of parser 2022-05-12 17:17:02 +08:00
Xiaoyu Wang 41e36dddb7 fix: some problems of parser 2022-05-11 19:03:59 +08:00
Xiaoyu Wang 2745113a77 fix: some problems of parser 2022-05-10 20:59:10 +08:00
Xiaoyu Wang 12beb4d04d fix: problem of sql command 'kill transaction' 2022-05-08 22:20:30 +08:00
Xiaoyu Wang 6e50691b29 feat: sql command 'grant', 'revoke', 'kill transaction' and 'show transactions' 2022-05-07 17:37:17 +08:00
Ganlin Zhao 26285015cb fix(query): fix cast function constant convert to nchar result length 2022-05-05 20:11:34 +08:00
Xiaoyu Wang 913354057e feat: fill physical plan 2022-04-30 11:40:12 +08:00
Xiaoyu Wang 022f5bfc14 feat: rewrite timeline function 2022-04-29 20:06:26 +08:00
Xiaoyu Wang 95f7f165c8 enh: refactor unit test of parser and planner 2022-04-29 09:53:53 +08:00
Xiaoyu Wang 80407933e3 enh: refactor unit test of parser and planner 2022-04-28 21:03:44 +08:00
Xiaoyu Wang 3ec702605b enh: refactor unit test of parser and planner 2022-04-28 21:02:11 +08:00
dapan1121 e79850164b
Merge pull request #11985 from taosdata/feature/qnode
fix: fix taos shell crash issue
2022-04-28 13:21:43 +08:00
dapan1121 1850dc0371 stmt query 2022-04-28 11:47:55 +08:00
dapan1121 1aa22beb60 stmt query 2022-04-27 20:03:13 +08:00
Xiaoyu Wang 6d449c8224 enh: refactor db and table options 2022-04-27 18:18:37 +08:00
Xiaoyu Wang ac874f9e8d enh: format code 2022-04-26 11:50:35 +08:00
Xiaoyu Wang 14e9fa355c fix: some problems of udf and 'create table' 2022-04-25 17:57:14 +08:00
Xiaoyu Wang 20879d0ef7 fix: some syntax parsing problems 2022-04-22 18:23:37 +08:00
WANG MINGMING 66400aff66
Merge pull request #11671 from taosdata/feature/TD-13041
feat: json tag
2022-04-20 20:22:59 +08:00
Xiaoyu Wang 311b407260
Merge pull request #11678 from taosdata/feature/3.0_wxy
feat: sql command 'create function'
2022-04-20 18:33:23 +08:00
Xiaoyu Wang 6f377189d0 feat: sql command 'create function' 2022-04-20 17:43:02 +08:00
wangmm0220 0fb41733ea refactor: merge from 3.0 2022-04-20 17:08:52 +08:00
Shengliang Guan 2ae4f5faf6 Merge remote-tracking branch 'origin/3.0' into feature/check 2022-04-20 14:34:44 +08:00
wangmm0220 49c3057221 refactor: merge from 3.0 2022-04-18 21:15:57 +08:00
Xiaoyu Wang ff80459821 feat: implementation of parser and planner for stmt API 2022-04-18 20:19:24 +08:00
wade zhang 3f0f31c4c2
Merge pull request #11552 from taosdata/feature/TD-14243
feat(query): support timezone function and now/today function arithmetic operation in select clause
2022-04-16 18:54:18 +08:00
Xiaoyu Wang c40b590ad8 enh: window clause validity check 2022-04-16 17:27:54 +08:00
Ganlin Zhao ad7323166a Merge branch '3.0' into feature/TD-14243 2022-04-16 12:51:49 +08:00
wangmm0220 73c34da280 Merge branch '3.0' into feature/TD-13041 2022-04-16 09:30:26 +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
Ganlin Zhao e655a3cc1d feat(query): support timezone() function
TD-14243
2022-04-15 13:15:29 +08:00
Ganlin Zhao 0439e4f9f7 Merge branch '3.0' into feature/TD-14243 2022-04-15 10:16:55 +08:00
Ganlin Zhao ca3ce404af feat(query): support now()/today() function in select clause
TD-14243
2022-04-14 21:38:33 +08:00
Shengliang Guan 83a824a14d Merge remote-tracking branch 'origin/3.0' into feature/check 2022-04-14 20:56:57 +08:00
Shengliang Guan 2635df084d refact<cluster>: adjust show types 2022-04-14 20:54:43 +08:00
wangmm0220 93cbee6970 Merge branch '3.0' into feature/TD-13041 2022-04-14 18:25:08 +08:00
wangmm0220 32577d4196 refactor: add json tag function for sql parser 2022-04-14 18:24:21 +08:00
Xiaoyu Wang 8118a20649 enh(query): increase the validity check of function parameters 2022-04-14 15:49:57 +08:00
Xiaoyu Wang ac1673fc71
Merge pull request #11463 from taosdata/feature/3.0_wxy
feat(query): distributed splitting of child/normal table JOIN
2022-04-13 19:43:01 +08:00
Xiaoyu Wang 13735d7257 feat(query): distributed splitting of child/normal table JOIN 2022-04-13 19:04:25 +08:00
Ganlin Zhao ff70238e38
Merge pull request #11413 from taosdata/feature/TD-14242
feat(query): add cast function
2022-04-12 14:34:33 +08:00
Ganlin Zhao a59b558331 feat(query): add cast function
TD-14242
2022-04-11 20:22:53 +08:00
Xiaoyu Wang 147675c71f
Merge pull request #11385 from taosdata/feature/3.0_wxy
enh: set datablock desc timestamp precision, and fix the bug of constant calculation
2022-04-11 18:05:43 +08:00
Xiaoyu Wang 983e4aa010 set datablock desc timestamp precision 2022-04-11 17:42:05 +08:00
dapan1121 6f12bc1093 feature/qnode 2022-04-11 14:15:09 +08:00
Ganlin Zhao 5fb7a7955f Merge branch '3.0' into feature/TD-14242 2022-04-10 19:33:04 +08:00
Ganlin Zhao 03cce69b75 <feat>[query]: add cast function SQL syntax
TD-14242
2022-04-10 19:13:44 +08:00
Xiaoyu Wang 3544c8789b create/drop/show bnode/snode/mnode frontend implement 2022-04-09 15:57:39 +08:00
Xiaoyu Wang a6b5dd8ef0 create/drop/show bnode/snode/mnode frontend implement 2022-04-09 14:57:28 +08:00
Xiaoyu Wang a7aa815215 db/table options adjust 2022-04-07 18:19:20 +08:00
Xiaoyu Wang 3c7927d2b4 normal table rollup translate, and condition rewrite 2022-04-06 06:50:38 -04:00
Xiaoyu Wang 709dda39b7 TD-13037 distinct, state window and partition by plan implement 2022-04-06 03:22:41 -04:00
Xiaoyu Wang 469cd23f43 integrate constant calculate 2022-04-02 07:57:44 -04:00
Xiaoyu Wang 4ff2ad2c39 all ddl statement syntax define, and ORDER BY clause bugfix 2022-04-01 04:31:24 -04:00
Xiaoyu Wang db08d3ca9b TD-14392 bugfix 2022-03-31 22:38:48 -04:00
Xiaoyu Wang fe2620ac1b fix compile error 2022-03-31 08:00:35 -04:00
Xiaoyu Wang 53a8ebc83a fix compile error 2022-03-31 07:47:36 -04:00
Xiaoyu Wang 689fb26708 db or table option keep implement 2022-03-31 07:38:17 -04:00
Xiaoyu Wang baa238eead TD-14409 TD-14436 bugfix 2022-03-31 05:20:26 -04:00
Xiaoyu Wang e555db03fc bugfix 2022-03-31 02:36:35 -04:00
Xiaoyu Wang ba80c7478f TD-14405 TD-14404 desc and reset query cache statement implement 2022-03-31 02:19:11 -04:00
Xiaoyu Wang 03771c84f5 TD-14396 explain parser and planner implement 2022-03-30 02:50:50 -04:00
Xiaoyu Wang e7a54cfa39 TD-14330 bugfix 2022-03-29 04:04:04 -04:00
Xiaoyu Wang 0f60e644e9 TD-14383 limit/slimit plan implement, and sort plan bugfix 2022-03-29 02:52:40 -04:00
Xiaoyu Wang 11636180ad rollup syntax and msg adjust 2022-03-28 05:08:48 -04:00
Xiaoyu Wang 6c6295bdae merge 3.0 2022-03-26 05:55:01 -04:00
Xiaoyu Wang 85f87ae246 bugfix 2022-03-26 05:45:48 -04:00
Xiaoyu Wang f6bcae1913 sort scan cols 2022-03-26 01:39:10 -04:00
afwerar 222db126bc [TD-13758]<fix>: redefine memory api. 2022-03-26 00:29:53 +08:00
Xiaoyu Wang 8913b012eb create sma index msg adjust 2022-03-24 22:47:41 -04:00
Xiaoyu Wang ec5eeea762 reorganize physical plan code 2022-03-23 06:44:02 -04:00
Xiaoyu Wang 255777ec09 TD-13077 `string` identifier implement 2022-03-22 22:59:20 -04:00
Xiaoyu Wang 3442e20916 TD-13077 identifier implement 2022-03-22 22:45:57 -04:00
Xiaoyu Wang ef125eaa40 merge 3.0 2022-03-22 04:29:54 -04:00
Xiaoyu Wang 0025aed0d5 TD-14045 bugfix 2022-03-21 22:42:01 -04:00
Xiaoyu Wang dce38817be merge 3.0 2022-03-21 05:39:28 -04:00
Xiaoyu Wang 9ca80596e4 merge 3.0 2022-03-21 02:00:30 -04:00
Xiaoyu Wang d49adcd4f5 TD-13675 rollup, alter db, alter table syntax definition 2022-03-17 06:44:45 -04:00
Xiaoyu Wang 861445c33a TD-14043 show tables split 2022-03-17 03:14:59 -04:00
Xiaoyu Wang 0f6573d537 TD-14043 show statement bugfix 2022-03-16 22:33:44 -04:00
Xiaoyu Wang 4e0b56324a TD-13675 rollup, alter db, alter table syntax definition 2022-03-16 07:28:40 -04:00
Xiaoyu Wang f8f7aabfd9 TD-13597 create/drop topic, alter database, drop index, drop qnode statement implement 2022-03-16 02:08:59 -04:00
Xiaoyu Wang 4281664e03 TD-14068 create qnode implement 2022-03-15 08:04:52 -04:00
Xiaoyu Wang eae2d7b661 TD-13675 create sma index grammar 2022-03-15 04:00:09 -04:00
Xiaoyu Wang b2291cb4f3 TD-14043 show dnodes/mnodes/modules/qnodes/user_functions/user_indexes/user_stables/user_tables/user_streams/user_users/vgroups rewirte 2022-03-13 23:45:24 -04:00
Xiaoyu Wang 396c099a77 TD-13981 show databases rewrite 2022-03-11 01:41:57 -05:00
Xiaoyu Wang 84f60fcc0a TD-13747 deal memory leaks 2022-03-10 06:32:39 -05:00
Xiaoyu Wang da0fa26717 TD-13747 src file name organize 2022-03-10 02:36:06 -05:00