Commit Graph

705 Commits

Author SHA1 Message Date
Xiaoyu Wang 4cf9bd6ac1 fix: the syntax problem of querying the state value in the state window 2022-08-22 17:46:57 +08:00
Ganlin Zhao 02055c4a90 fix error msg 2022-08-19 18:16:46 +08:00
Ganlin Zhao 0993843c81 fix(query): fix "n","y" time unit parsing does not return error 2022-08-19 18:13:01 +08:00
Xiaoyu Wang 39c3cde285 fix: select constant error 2022-08-16 10:37:17 +08:00
slzhou 64121d7b8f Merge branch 'szhou/fix/leave' of github.com:taosdata/TDengine into szhou/fix/leave 2022-08-12 14:54:26 +08:00
slzhou d9eae4dd4c fix : fix error caused by empty vgroups when no user tables 2022-08-12 14:54:12 +08:00
Xiaoyu Wang 03a39381c0 enh: show command optimize 2022-08-12 00:07:24 +08:00
Xiaoyu Wang 4155a3bef4 enh: show command optimize 2022-08-11 21:55:20 +08:00
Xiaoyu Wang 7176bb9198 merge 3.0 2022-08-11 20:30:02 +08:00
Xiaoyu Wang 9a9aef985e enh: show command optimize 2022-08-11 20:26:40 +08:00
Ganlin Zhao c017e4387f fix(query): forbid interp in super table query
TD-18331
2022-08-11 16:17:38 +08:00
Xiaoyu Wang 4f0c6d3aa4 enh: show command optimize 2022-08-11 15:37:26 +08:00
Xiaoyu Wang 7a559084ae fix: add checks for stream query 2022-08-08 14:38:04 +08:00
Xiaoyu Wang f15517b1d7 fix: add checks for stream query 2022-08-08 13:28:49 +08:00
Xiaoyu Wang 536c6bdbc5 fix: add checks for stream query 2022-08-08 11:40:48 +08:00
Xiaoyu Wang 5750525f9a fix: condition race error 2022-08-06 15:25:53 +08:00
Xiaoyu Wang fdf977f935 fix: add checks for stream query 2022-08-06 11:30:06 +08:00
Xiaoyu Wang 0f3a7e314e fix: plan problem of create stream statement 2022-08-05 17:37:58 +08:00
Xiaoyu Wang 534d1a01b8 fix: memory leak in parser when statement exception 2022-08-03 19:17:12 +08:00
Xiaoyu Wang 335c8b4d8a fix: timeline function validity check 2022-08-03 18:17:12 +08:00
Xiaoyu Wang bd8de1e8fd fix: timeline function validity check 2022-08-03 16:59:27 +08:00
Xiaoyu Wang f33959bd9b fix: some problems of parser 2022-08-02 20:20:44 +08:00
dapan1121 517b03a6fc
Merge pull request #15663 from taosdata/enh/addAppStat
enh: support app level stat
2022-08-02 15:07:26 +08:00
Xiaoyu Wang ab03c9a265 fix: alias error for partition by keys 2022-08-02 10:27:59 +08:00
dapan1121 cc3a7375ed enh: support app level stat 2022-08-01 20:47:08 +08:00
Xiaoyu Wang 18364a6bd2
Merge pull request #15649 from taosdata/feature/3.0_wxy
fix: database name cannot contain '.'
2022-08-01 19:23:34 +08:00
shenglian-zhou 21308d7853
Merge pull request #15639 from taosdata/szhou/fix/join
fix: fix failed case of join.sim
2022-08-01 18:54:42 +08:00
Xiaoyu Wang 4d51273aac fix: database name cannot contain '.' 2022-08-01 18:12:03 +08:00
shenglian zhou 905a07801e fix: fix errors of join test case 2022-08-01 16:19:50 +08:00
Xiaoyu Wang 5c9fbbd2e1 fix: some problems of parser and planner 2022-08-01 15:54:53 +08:00
dapan1121 6addac61f8 fix: fix client memory leak 2022-08-01 09:58:49 +08:00
Xiaoyu Wang dc6c0c1d1a fix: some problems of planner 2022-07-30 15:46:43 +08:00
Xiaoyu Wang b08a28d559 fix: some problems of planner 2022-07-30 13:14:44 +08:00
Xiaoyu Wang 31126d5390 Merge remote-tracking branch 'origin/3.0' into feature/3.0_wxy 2022-07-29 20:41:39 +08:00
Xiaoyu Wang 32418f161b enh: cumulative functions support mixed use 2022-07-29 20:41:16 +08:00
Xiaoyu Wang 41b8ef7d93 enh: cumulative functions support mixed use 2022-07-29 18:00:48 +08:00
dapan1121 ebb85f6f4c
Merge pull request #15539 from taosdata/fix/TD-17926
fix: fix delete time range issue
2022-07-29 14:33:52 +08:00
slzhou@taodata.com 810d385530 fix: fix nested query sim bugs 2022-07-29 10:13:00 +08:00
dapan1121 156567b9bc fix: fix show queries crash and error msg 2022-07-29 09:01:35 +08:00
Xiaoyu Wang cd25d2dc60
Merge pull request #15456 from taosdata/feature/3.0_debug_wxy
fix: db options rename
2022-07-27 15:02:20 +08:00
dapan1121 2956422239
Merge pull request #15461 from taosdata/fix/stbmetadelete
fix: fix stb meta removed issue
2022-07-27 14:51:13 +08:00
Xiaoyu Wang f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
dapan1121 a17925131f fix: fix stb meta removed issue 2022-07-27 11:12:31 +08:00
Shengliang Guan e4b6fa744e enh: add wal option to show database command 2022-07-26 17:30:07 +08:00
Xiaoyu Wang 1ddbff0acf feat: add db options of wal 2022-07-25 21:09:06 +08:00
WANG MINGMING cf665cdbc8
Merge pull request #15346 from taosdata/feature/TD-14761
feat: add interface for tmq writing raw data
2022-07-23 17:57:17 +08:00
WANG MINGMING b40325705d
Merge branch '3.0' into feature/TD-14761 2022-07-23 16:03:19 +08:00
wangmm0220 d6399cafc3 feat: add interface for tmq writing raw data 2022-07-23 15:59:29 +08:00
Xiaoyu Wang 8ad1489c66 fix: semantic check when last(*) and column are together 2022-07-23 15:06:12 +08:00
Xiaoyu Wang 8af30d11c9 fix: semantic check when last(*) and column are together 2022-07-23 13:36:49 +08:00
Xiaoyu Wang ba0518e2b9 fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 15:06:01 +08:00
Xiaoyu Wang c54daccf2d fix: plan problem caused by project eliminate optimize 2022-07-21 14:35:36 +08:00
Xiaoyu Wang 37ec05a715 fix: memory leak problems of parser and planner 2022-07-20 17:20:29 +08:00
Xiaoyu Wang 1a19f1f5f6 fix: float overflow check 2022-07-19 21:00:00 +08:00
Xiaoyu Wang 6d5d6746f2 feat: sql command 'show tags from table_name' 2022-07-19 18:51:06 +08:00
Xiaoyu Wang 5988fc0e4a feat: sql command 'show tags from table_name' 2022-07-19 15:31:44 +08:00
Xiaoyu Wang b7e5780c44 feat: sql statement likes 'select * from (select 1)' 2022-07-18 16:55:31 +08:00
shenglian zhou de1ca5b68f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/user-tags 2022-07-17 05:07:17 +08:00
Xiaoyu Wang e5e9252388 some problems of planner 2022-07-16 17:40:54 +08:00
shenglian zhou 97d30c6858 feat: add user tags to system table 2022-07-16 17:25:05 +08:00
Xiaoyu Wang 20a49e3055
Merge pull request #14978 from taosdata/feature/3.0_debug_wxy
fix: database options 'strict' and 'cachelast' syntax adjustments
2022-07-16 14:50:31 +08:00
Xiaoyu Wang 7c585d8ed9 fix: database options 'strict' and 'cachelast' syntax adjustments 2022-07-16 11:47:26 +08:00
Ganlin Zhao 624e7b7183 Merge branch '3.0' into feat/agg_client_api 2022-07-16 10:53:57 +08:00
Xiaoyu Wang 52327cc2fb fix: multi-rows function validity check 2022-07-16 09:44:52 +08:00
Xiaoyu Wang d99b682f76 fix: multi-rows function validity check 2022-07-15 17:58:37 +08:00
Ganlin Zhao 7d5c496e10 fix comment 2022-07-15 16:46:13 +08:00
Ganlin Zhao 30e09c4b19 fix(query): fix when select percentile() has no
from table clause report error issue
2022-07-15 16:41:19 +08:00
Xiaoyu Wang aec4c2313a fix: multi-rows function validity check 2022-07-15 16:17:00 +08:00
shenglian-zhou 42c1e5e053
Merge pull request #14923 from taosdata/szhou/fix/td-17405
fix: multi result function is not allowed when appear in clauses other than select
2022-07-15 10:06:37 +08:00
slzhou 21a32b36e9 fix: multi result function is not allowed when appear in clauses other than select 2022-07-15 09:32:54 +08:00
Xiaoyu Wang 979b20189d feat: the query uses the 'cachelast' option to decide whether to optimize the last_row function 2022-07-15 09:07:19 +08:00
Xiaoyu Wang 31e29dfc38 feat: the query uses the 'cachelast' option to decide whether to optimize the last_row function 2022-07-15 08:43:40 +08:00
Minglei Jin 92ae35fd3f
Merge pull request #14886 from taosdata/fix/TD-17328-v2
fix: use calcTypeBytes for table altering
2022-07-14 13:56:56 +08:00
Minglei Jin c7e64933d0 fix: use calcTypeBytes for table altering 2022-07-14 10:43:54 +08:00
wangmm0220 3b4c2826b4 Merge branch '3.0' into feature/TD-13041 2022-07-14 10:22:15 +08:00
Xiaoyu Wang bc1251e0cb
Merge pull request #14855 from taosdata/feature/3.0_debug_wxy
feat: support pseudo columns such as _qstart, _qend and _qduration
2022-07-14 10:09:32 +08:00
wangmm0220 2647a3d9ee fix: json null 2022-07-13 21:00:54 +08:00
wangmm0220 56ec0a3920 fix: json null 2022-07-13 20:42:49 +08:00
wangmm0220 d3cdd75b94 Merge branch '3.0' into feature/TD-13041 2022-07-13 19:40:26 +08:00
dapan1121 f69a995ea7
Merge pull request #14861 from taosdata/fix/TD-16763
fix: fix natural timestamp issue
2022-07-13 19:03:49 +08:00
Xiaoyu Wang 9887c63c5d feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 19:03:40 +08:00
Xiaoyu Wang 4830b7d9d3 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 18:12:02 +08:00
dapan1121 8c83f07fe4 fix: fix natural timestamp issue 2022-07-13 16:43:50 +08:00
wangmm0220 cd051d40c3 fix:confilct from 3.0 2022-07-13 16:03:39 +08:00
Xiaoyu Wang 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
wangmm0220 0857ab3531 fix:core dump if consumer multi vgroup message with sequence:create/alter/delete/create or create/delete/create 2022-07-13 11:39:32 +08:00
wangmm0220 2b442621e8 feat:get child table name in tmq meta 2022-07-12 18:58:33 +08:00
Xiaoyu Wang 759bc7c434 feat: the 'null' value for the user is of type 'varchar(0)' 2022-07-12 16:51:37 +08:00
Xiaoyu Wang 8b89492101 fix: some problems of parser 2022-07-12 15:11:55 +08:00
wangmm0220 f9d5c809c9 fix:conflict from 3.0 2022-07-11 19:06:36 +08:00
wangmm0220 a196298640 fix:disable colName in tag 2022-07-11 18:07:46 +08:00
Shengliang Guan a846bb9381 refactor: rename cacheLastRow to cacheLast 2022-07-11 15:45:40 +08:00
Xiaoyu Wang 67fcb2d3c5
Merge pull request #14754 from taosdata/feature/3.0_debug_wxy
fix: a problem of cross database join
2022-07-11 14:56:28 +08:00
Cary Xu c59478ec71 enh: tsma/rsma code optimization 2022-07-11 14:20:57 +08:00
Xiaoyu Wang 6110b7e4ca fix: a problem of cross database join 2022-07-11 13:52:24 +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
wangmm0220 b1c290f6dc fix:conflicts 2022-07-10 18:57:34 +08:00
wangmm0220 607f8163d3 feat:add logic for get_tmq_meta_json 2022-07-10 18:54:58 +08:00
Xiaoyu Wang a64a0320a0 fix: some problem of parser and planner 2022-07-10 15:21:16 +08:00
Xiaoyu Wang 2454298b0b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-10 10:24:55 +08:00
WANG MINGMING 30b1af3feb
Merge pull request #14700 from taosdata/feature/TD-13041
feat:write meta from tmq to taosd
2022-07-10 10:22:51 +08:00
Xiaoyu Wang f99a61a464 fix: some problem of parser and planner 2022-07-08 21:05:19 +08:00
wangmm0220 6b46423a97 feat:write meta from tmq to taosd 2022-07-08 18:37:47 +08:00
Xiaoyu Wang df06d22cb3 fix: some problem of parser and planner 2022-07-08 17:35:11 +08:00
dapan1121 81d80add98 feat: insert from query 2022-07-08 11:13:34 +08:00
Xiaoyu Wang 0fd55077f5 feat: sql command 'insert ... select' 2022-07-08 09:33:28 +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 a67eb1a9a0 eat: sql command 'insert ... select' 2022-07-06 11:55:47 +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 3dbb5554a5 fix: last(*)/frist(*), etc. do not return the tag column 2022-07-05 16:31:44 +08:00
Xiaoyu Wang 24d0fc4515 fix: adjust parsing of negative numbers 2022-07-05 15:38:39 +08:00
Xiaoyu Wang d223a6624b fix: execution plan problem in the mode of using qnode as much as possible 2022-07-05 14:55:32 +08:00
Haojun Liao 6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +08:00
Xiaoyu Wang ba056f7fbb
Merge pull request #14508 from taosdata/feature/3.0_debug_wxy
fix: automatically supplement primary key columns when creating stream
2022-07-05 09:27:52 +08:00
Xiaoyu Wang 7c5419b43e fix: fix: increase the tag value overflow check when creating table 2022-07-04 21:12:15 +08:00
Xiaoyu Wang 57dae9fcda fix: increase the tag value overflow check when creating table 2022-07-04 20:29:19 +08:00
Xiaoyu Wang ac34cde0af fix: increase the validity check of the rollup parameter in the create table statement 2022-07-04 19:27:27 +08:00
Shengliang Guan 07fa747429 fix: valgrind error 2022-07-04 18:30:10 +08:00
Xiaoyu Wang 047f65935d fix: automatically supplement primary key columns when creating stream 2022-07-04 17:21:42 +08:00
Xiaoyu Wang 2cff2e9228 fix: some problems of parser and planner 2022-07-04 15:12:34 +08:00
Xiaoyu Wang 831ef7de23 fix: some problems of parser and planner 2022-07-04 14:46:08 +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 1d13c712c7 fix: some problems of parser and planner 2022-07-02 19:49:38 +08:00
Xiaoyu Wang 988cffcce6 fix: some problems of parser and planner 2022-07-02 18:19:10 +08:00
Xiaoyu Wang 7a53bae352 merge 3.0 2022-07-01 20:05:15 +08:00
Xiaoyu Wang d1eef6880b fix: csum/diff/mavg support subquery 2022-07-01 19:59:28 +08:00
Xiaoyu Wang ec7bfd9eba fix: csum/diff/mavg support subquery 2022-07-01 17:17:49 +08:00
Xiaoyu Wang a94e5f9bec fix: csum/diff/mavg support subquery 2022-07-01 15:47:07 +08:00
Xiaoyu Wang e235c9830d merge 3.0 2022-07-01 13:35:07 +08:00
Xiaoyu Wang 8a8939f99c fix: csum/diff/mavg support subquery 2022-07-01 13:31:22 +08:00
Shengliang Guan 1b3fde4a60 refactor: stable mgmt 2022-07-01 11:12:08 +08:00
dapan1121 582ef5a832
Merge pull request #14391 from taosdata/hotfix/tagnull
fix: fix null as tag value issue
2022-06-30 20:37:18 +08:00
Xiaoyu Wang 8c2e9842e2
Merge pull request #14393 from taosdata/feature/3.0_debug_wxy
feat: support 'select *, expr from ...' syntax
2022-06-30 18:25:12 +08:00
dapan1121 cda2f844ce fix: fix json tag null issue 2022-06-30 18:12:04 +08:00
Xiaoyu Wang 1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
dapan1121 7ef4d3f03a fix: fix null as tag value issue 2022-06-30 15:39:30 +08:00
Xiaoyu Wang 6141bb03da feat: insert from csv 2022-06-30 15:04:54 +08:00
dapan1121 c28c77a099 Merge branch '3.0' into feature/queryredirect 2022-06-30 14:35:15 +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
dapan1121 07b46f9e3c Merge branch '3.0' into feature/queryredirect 2022-06-29 10:53:52 +08:00
dapan1121 4a55ed07b3 feature: query redirect 2022-06-28 10:34:51 +08:00
Xiaoyu Wang cd36807faf feat: refactor the plan implementation of unique function 2022-06-27 21:30:20 +08:00
Xiaoyu Wang 9c68bde6e9 feat: tail function rewrite to statement 2022-06-26 23:50:13 +08:00