Commit Graph

240 Commits

Author SHA1 Message Date
Xiaoyu Wang d8fd0b89b1 fix: user permission error with sysinfo 0 2022-08-25 16:50:31 +08:00
Xiaoyu Wang 1cce6494a6 enh: create stream options adjust 2022-08-12 15:04:04 +08:00
Xiaoyu Wang 9a9aef985e enh: show command optimize 2022-08-11 20:26:40 +08:00
Xiaoyu Wang 4f0c6d3aa4 enh: show command optimize 2022-08-11 15:37:26 +08:00
Xiaoyu Wang f33959bd9b fix: some problems of parser 2022-08-02 20:20:44 +08:00
Xiaoyu Wang 5c9fbbd2e1 fix: some problems of parser and planner 2022-08-01 15:54:53 +08:00
Xiaoyu Wang f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
Xiaoyu Wang 1ddbff0acf feat: add db options of wal 2022-07-25 21:09:06 +08:00
Xiaoyu Wang 37ec05a715 fix: memory leak problems of parser and planner 2022-07-20 17:20:29 +08:00
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 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
Xiaoyu Wang 8b89492101 fix: some problems of parser 2022-07-12 15:11:55 +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 df06d22cb3 fix: some problem of parser and planner 2022-07-08 17:35: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
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 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 1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
Xiaoyu Wang 6141bb03da feat: insert from csv 2022-06-30 15:04:54 +08:00
Xiaoyu Wang 11a8f7f04d feat: sql command 'flush database' 2022-06-29 18:20:27 +08:00
Xiaoyu Wang ae076af4f1 feat: sql system info function 'database()', 'client_version()', 'server_version()', 'server_status()', 'current_user()' and 'user()' 2022-06-29 11:41:32 +08:00
Xiaoyu Wang 4fcd667bf6 feat: sql command 'show consumers' and 'show subscriptions' 2022-06-23 18:03:15 +08:00
Xiaoyu Wang acd1bbd8e3 merge 3.0 2022-06-22 17:00:11 +08:00
Xiaoyu Wang a5ca4965a4 feat: some sql syntax adjustments 2022-06-22 16:35:14 +08:00
Xiaoyu Wang eeab56e318 feat: sql command 'select constant' 2022-06-22 09:54:31 +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 bac6e27c20 feat: sql command 'interp' 2022-06-19 19:39:12 +08:00
Xiaoyu Wang 22d1422b49 feat: sql command 'show table distributed' 2022-06-18 18:37:18 +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
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 aea4f9c69b feat: rollup options adjust 2022-06-17 17:27:42 +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
Xiaoyu Wang 380a071551 fix: handle the memory leak of parser 2022-06-13 14:54:38 +08:00
Xiaoyu Wang 46bac2f579 fix: a problem of interval distributed split 2022-06-10 14:28:58 +08:00
Xiaoyu Wang 2bf16fbf43 feat: vgroup manage command 2022-06-07 15:02:41 +08:00
Xiaoyu Wang 6dc64627cd feat: vgroup manage command 2022-06-07 11:53:32 +08:00
wangmm0220 3aab380045 feat: merge from 3.0 2022-06-05 22:34:12 +08:00
wangmm0220 a3a959043e feat: test arith/logic operator for json 2022-06-05 22:25:10 +08:00
Xiaoyu Wang 74026205a7 feat: sql command 'delete from' 2022-06-04 19:54:55 +08:00
dapan1121 6aece12755 fix parser stack overflow issue 2022-06-01 14:39:40 +08:00
Liu Jicong c3296fe890 merge from 3.0 2022-05-31 16:44:27 +08:00
Xiaoyu Wang 9a6776c321 fix: error in data precision of super table query 2022-05-31 15:11:26 +08:00
Xiaoyu Wang ce166fb146 fix: error in data precision of super table query 2022-05-31 15:07:15 +08:00
Xiaoyu Wang fdd00a6582 feat: sql command 'create topic as {database | stable| query}' 2022-05-30 11:59:23 +08:00
Xiaoyu Wang 070f60409b feat: sql command 'drop cgroup' 2022-05-25 21:20:11 +08:00
Xiaoyu Wang bec1c2463c fix: some prblems of parser and planner 2022-05-21 16:13:54 +08:00
Xiaoyu Wang 6f4c0a2e8f fix: some problems of parser and planner 2022-05-18 20:28:14 +08:00
Xiaoyu Wang 9a3e1f03af feat: sql command 'alter table' 2022-05-16 18:59:14 +08:00
Xiaoyu Wang e0a51d43e7 fix: 'union [all]' syntax problems 2022-05-14 09:42:52 +08:00
Xiaoyu Wang 6e50691b29 feat: sql command 'grant', 'revoke', 'kill transaction' and 'show transactions' 2022-05-07 17:37:17 +08:00
Xiaoyu Wang 95f7f165c8 enh: refactor unit test of parser and planner 2022-04-29 09:53:53 +08:00
Xiaoyu Wang 3ec702605b enh: refactor unit test of parser and planner 2022-04-28 21:02:11 +08:00
Xiaoyu Wang 6d449c8224 enh: refactor db and table options 2022-04-27 18:18:37 +08:00
Xiaoyu Wang 14e9fa355c fix: some problems of udf and 'create table' 2022-04-25 17:57:14 +08:00
Xiaoyu Wang a9ab3c8940 enh: order by primary key optimize 2022-04-24 16:31:17 +08:00
Xiaoyu Wang 20879d0ef7 fix: some syntax parsing problems 2022-04-22 18:23:37 +08:00
Xiaoyu Wang e5a7f1b73f feat: sql command 'union all' 2022-04-21 17:09:54 +08:00
Xiaoyu Wang 6f377189d0 feat: sql command 'create function' 2022-04-20 17:43:02 +08:00
Xiaoyu Wang 5dea946bd4 feat: sql command 'create table ... rollup ...' 2022-04-20 14:05:08 +08:00
Xiaoyu Wang 2d7cf35fb0 fix: some syntax parsing problems 2022-04-19 13:25:19 +08:00
Xiaoyu Wang ff80459821 feat: implementation of parser and planner for stmt API 2022-04-18 20:19:24 +08:00
Ganlin Zhao b42d28f6d1 Merge branch '3.0' into feature/TD-14243 2022-04-16 18:27:25 +08:00
Xiaoyu Wang b9fb9c580d feat: sql command "create stream" 2022-04-16 13:15:14 +08:00
Ganlin Zhao ad7323166a Merge branch '3.0' into feature/TD-14243 2022-04-16 12:51:49 +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 01ea38586d feat: CREATE STREAM statement implement, and syntax of JSON data type implement. 2022-04-15 19:22:11 +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
Xiaoyu Wang 7efb34fdfa enh(query): increase the validity check of function parameters 2022-04-14 15:53:41 +08:00
Xiaoyu Wang 8118a20649 enh(query): increase the validity check of function parameters 2022-04-14 15:49:57 +08:00
Ganlin Zhao 8572bd2afa feat(query): add TK_TODAY in keyword hashtable
TD-14243
2022-04-13 21:22:57 +08:00
Xiaoyu Wang d8762d401f feat(query): child table or normal table support JOIN-clause 2022-04-12 20:02:16 +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 07892f0f62 sort plan bugfix 2022-04-07 19:28:00 +08:00
Xiaoyu Wang a7aa815215 db/table options adjust 2022-04-07 18:19:20 +08:00
Xiaoyu Wang 709dda39b7 TD-13037 distinct, state window and partition by plan implement 2022-04-06 03:22:41 -04:00
Xiaoyu Wang 9e9805f7b7 condition bugfix 2022-04-02 01:13:20 -04:00
Xiaoyu Wang 62856b045e insert using implement 2022-04-01 22:37:47 -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 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 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 a0ef66528c sort bugfix, and pseudo column implement 2022-03-28 07:26:06 -04:00
Xiaoyu Wang 11636180ad rollup syntax and msg adjust 2022-03-28 05:08:48 -04:00
Xiaoyu Wang 8913b012eb create sma index msg adjust 2022-03-24 22:47:41 -04:00
Xiaoyu Wang 9a3d4519aa TD-14278 session window plan implement 2022-03-24 02:38:50 -04:00
Xiaoyu Wang ec5eeea762 reorganize physical plan code 2022-03-23 06:44:02 -04:00
Xiaoyu Wang d0a5c77f7c merge 3.0 2022-03-22 07:30:44 -04:00
Xiaoyu Wang 746ed7d795 TD-14221 bugfix 2022-03-22 02:09:15 -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
dapan1121 4c7c1b5abb Merge remote-tracking branch 'origin/3.0_query_integrate' into feature/scheduler 2022-03-17 15:08:09 +08:00
Xiaoyu Wang 83b40facc2 TD-13675 rollup, alter db, alter table syntax definition 2022-03-16 23:11:49 -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 c2aebb25bf TD-13675 create sma index parser implement 2022-03-15 06:44:38 -04:00
Xiaoyu Wang eae2d7b661 TD-13675 create sma index grammar 2022-03-15 04:00:09 -04:00
dapan1121 440b0b8682 Merge remote-tracking branch 'origin/3.0' into feature/scheduler 2022-03-15 15:42:05 +08: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 8a883ea00c TD-13990 interval plan implement 2022-03-13 15:28:50 -04:00
Xiaoyu Wang 54e15db2f5 TD-13747 show mnodes 2022-03-10 21:02:47 -05:00
Xiaoyu Wang da0fa26717 TD-13747 src file name organize 2022-03-10 02:36:06 -05:00
Haojun Liao ad6fa9b5be [td-13680] fix bug. 2022-02-28 16:29:14 +08:00
xiao-yu-wang 6b31e0518d
Merge pull request #10309 from taosdata/feature/3.0_wxy
TD-13495 planner refactoring
2022-02-18 14:09:23 +08:00
Shengliang Guan 6d582b2a29 add show trans 2022-02-17 15:40:27 +08:00
Xiaoyu Wang 2624a81a30 TD-13495 planner refactoring 2022-02-12 18:47:47 -05:00
Shengliang Guan 17c8f8b1d9 test for update stb 2022-02-09 10:52:06 +08:00
Shengliang Guan 8491139952 update stb 2022-02-08 17:13:43 +08:00
Shengliang 3b77216826 TD-12785 2022-01-23 18:25:02 -08:00
Haojun Liao 7916c1e622 [td-11818] fix memory leak and refactor. 2022-01-05 17:49:15 +08:00
Haojun Liao 5326356375 [td-11818] create multiple tables. 2022-01-02 23:24:22 +08:00
Haojun Liao 9859acf6ec [td-11818] fix compiler warning. 2021-12-30 22:56:30 +08:00
Haojun Liao 4894ec6b3d [td-11818] merge 3.0 2021-12-29 15:01:12 +08:00
Haojun Liao c4bd887e63 [td-11818]support create child table. 2021-12-28 20:03:41 +08:00
Haojun Liao 6ab7c7e878 [td-11818]support ip as the dnode name. 2021-12-28 18:17:13 +08:00
Haojun Liao 76154f5863 [td-11818] support create child table. 2021-12-28 16:06:01 +08:00
Haojun Liao 55ee57ec6b [td-11818] refactor create dnode. async send message to server. 2021-12-28 10:55:08 +08:00
Haojun Liao ae70935970 [td-11818]support create super table/normal table/ drop db/drop stable 2021-12-23 16:00:17 +08:00
Shengliang Guan 2164b8ef20 TD-10431 create stable 2021-12-10 15:20:04 +08:00
Shengliang Guan b6ed305614 TD-10431 update sdb for stable 2021-12-10 11:42:03 +08:00
Haojun Liao a0d3fa46c2 [td-10564] refactor code and fix bug in parse sql. 2021-11-10 23:20:01 +08:00
Haojun Liao a7058d818a [td-10564] Fix bug in parse sql. 2021-11-09 11:08:25 +08:00
Haojun Liao 1d5f98fe6a [td-10529]Add unit test for parser module. 2021-10-09 14:01:56 +08:00
Haojun Liao a535908465 [td-10529]Add the script file of sql.y 2021-10-08 22:40:51 +08:00