Commit Graph

692 Commits

Author SHA1 Message Date
Xiaoyu Wang 07ef00e89f merge 3.0 2022-08-09 11:36:08 +08:00
Xiaoyu Wang 0829f6611c Merge remote-tracking branch 'origin/feature/3.0_query_optimize' into feature/3.0_query_optimize_wxy 2022-08-09 10:20:32 +08:00
Xiaoyu Wang 7e1917f105 enh: refine the data requirements of the partition physical plan 2022-08-09 09:55:03 +08:00
Xiaoyu Wang 4345631d3c fix: project adds whether to ignore the field of group id 2022-08-08 18:32:04 +08:00
Xiaoyu Wang 3fb91c6a18 enh: set _wstart to the output datablock of fill 2022-08-08 17:29:11 +08:00
Haojun Liao 4d8842c21f other:merge 3.0 2022-08-08 16:37:37 +08:00
Xiaoyu Wang 536c6bdbc5 fix: add checks for stream query 2022-08-08 11:40:48 +08:00
Xiaoyu Wang 5ae9fdff7a enh: increase explain output, enhance debugging function 2022-08-08 10:00:10 +08:00
Haojun Liao 0d60d54a4a other: merge 3.0 2022-08-06 15:26:15 +08:00
Xiaoyu Wang 5750525f9a fix: condition race error 2022-08-06 15:25:53 +08:00
Xiaoyu Wang 9bfc7ba69c fix: plan problem of create stream statement 2022-08-05 19:40:06 +08:00
Xiaoyu Wang 0f3a7e314e fix: plan problem of create stream statement 2022-08-05 17:37:58 +08:00
Xiaoyu Wang d0524389d9 fix: plan problem with interval fill statement 2022-08-05 15:07:38 +08:00
Haojun Liao 3a5fcefc8d other: merge 3.0 2022-08-04 17:24:51 +08:00
Haojun Liao 4cd7af0ecf other: merge 3.0 2022-08-03 19:02:43 +08:00
Xiaoyu Wang c8c9bbdeb1 enh: last_row function scan in reverse order 2022-08-03 17:04:14 +08:00
Xiaoyu Wang bd8de1e8fd fix: timeline function validity check 2022-08-03 16:59:27 +08:00
Xiaoyu Wang 415ff2b13b
Merge pull request #15690 from taosdata/feature/3.0_wxy
fix: some problems of parser
2022-08-03 11:25:55 +08:00
Xiaoyu Wang adc8bd236b fix: some problems of parser 2022-08-02 20:55:25 +08:00
Xiaoyu Wang f33959bd9b fix: some problems of parser 2022-08-02 20:20:44 +08:00
shenglian-zhou 16357345ef
Merge pull request #15678 from taosdata/szhou/fix/join
fix: make multi-table table join test case pass CI
2022-08-02 17:02:00 +08:00
Xiaoyu Wang f8bd778979 enh: the fill physical scheme distinguishes between interpolated and non-interpolated expressions 2022-08-02 16:18:53 +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
slzhou 5b8207556c fix: taken onCondtion of join node into account when eliminate projects 2022-08-02 14:47:29 +08:00
Xiaoyu Wang a62a7cc41f enh: aggregate and window add field for merge data blocks 2022-08-01 21:05:44 +08:00
dapan1121 cc3a7375ed enh: support app level stat 2022-08-01 20:47:08 +08:00
Xiaoyu Wang 5c9fbbd2e1 fix: some problems of parser and planner 2022-08-01 15:54:53 +08:00
Xiaoyu Wang f06a36b171
Merge pull request #15607 from taosdata/feature/3.0_prof_wxy
enh: write performance optimization
2022-08-01 09:56:15 +08:00
Xiaoyu Wang 5a3c377c68 enh: write performance optimization 2022-07-30 19:23:06 +08:00
shenglian-zhou 71e414957b
Merge pull request #15570 from taosdata/szhou/fix/join
fix: nested query can be used as table for join together
2022-07-30 17:03:40 +08:00
Xiaoyu Wang b08a28d559 fix: some problems of planner 2022-07-30 13:14:44 +08:00
slzhou d992ab1401 fix: nested query can be used as table for join together 2022-07-30 09:09:59 +08:00
Xiaoyu Wang 11bac6220c
Merge pull request #15523 from taosdata/feature/3.0_debug_wxy
enh: last function optimize
2022-07-29 20:14:21 +08:00
Xiaoyu Wang 0550ab5306 enh: last function optimize 2022-07-29 19:21:00 +08:00
Xiaoyu Wang f929187e63 enh: last function optimize 2022-07-29 18:30:03 +08:00
Xiaoyu Wang 547ab7028b enh: last function optimize 2022-07-29 13:38:24 +08:00
dapan1121 cc597c2ff3 fix: fix delete time range issue 2022-07-29 10:53:00 +08:00
Xiaoyu Wang d7a525f21f Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-29 09:28:52 +08:00
Xiaoyu Wang 9053645ab7 feat: super table order by primary key optimization 2022-07-28 20:24:49 +08:00
Xiaoyu Wang fc0780c35a enh: last function optimize 2022-07-28 19:27:37 +08:00
Xiaoyu Wang 421c8eaf71 enh: last function optimize 2022-07-28 17:38:55 +08:00
slzhou@taodata.com 82fcb44257 fix: compare scan target and agg target when tag scan optimize 2022-07-28 17:18:39 +08:00
WANG MINGMING 7badec9ecc
Merge pull request #15477 from taosdata/feature/TD-14761
feat:add ts,table name from SDeleterRes
2022-07-27 20:16:00 +08:00
wangmm0220 2ba6ac5fba feat:add ts,table name from SDeleterRes 2022-07-27 17:11:57 +08:00
shenglian-zhou 09218fefc8
Merge pull request #15465 from taosdata/szhou/fix/udf
fix: prepare for multirow join
2022-07-27 16:09:27 +08:00
Xiaoyu Wang 58514862e6 feat: delete sink node add ts column name attribute 2022-07-27 15:25:57 +08:00
slzhou@taodata.com 3469117732 fix: add input ts order to physical plan join node 2022-07-27 15:12:23 +08:00
Xiaoyu Wang f977117c6c fix: db options rename 2022-07-27 11:55:19 +08:00
Xiaoyu Wang 8bb432c348 feat: super table order by primary key optimization 2022-07-25 16:45:23 +08:00
Xiaoyu Wang 015193e816 feat: super table order by primary key optimization 2022-07-25 15:17:53 +08:00
Xiaoyu Wang 3158f705fc Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-25 11:16:24 +08:00
Xiaoyu Wang dbd71d247c feat: super table order by primary key optimization 2022-07-23 20:46:39 +08:00
dapan1121 2a5bc2c332
Merge pull request #15343 from taosdata/fix/TD-17712
fix: add debug info
2022-07-23 20:27:00 +08:00
dapan1121 3cc22ef10b fix: fix plan optimize issue 2022-07-23 19:52:15 +08:00
Xiaoyu Wang 616539a700 feat: super table order by primary key optimization 2022-07-23 17:30:00 +08:00
Xiaoyu Wang 84266350cb fix: plan problem when timeline function is used for interval query 2022-07-23 16:18:00 +08:00
Xiaoyu Wang 3b6837598c fix: plan problem when functions that requires a timeline is used in a partition by query 2022-07-22 21:06:20 +08:00
Xiaoyu Wang 241b385653 fix: plan problem when functions that requires a timeline is used in a partition by query 2022-07-22 20:05:30 +08:00
Xiaoyu Wang 9c81f95d89 fix: plan problem when functions that requires a timeline is used directly in a super table 2022-07-22 17:30:18 +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 dceec792bc
Merge pull request #15237 from taosdata/feature/3.0_debug_wxy
fix: plan problem caused by project eliminate optimize
2022-07-22 13:51:07 +08:00
Xiaoyu Wang 958f3586c0 fix: the problem of data loss when interval is used for outer query 2022-07-22 11:41:18 +08:00
Xiaoyu Wang d7c4549324 fix: the problem of data loss when interval is used for outer query 2022-07-22 10:38:11 +08:00
slzhou@taodata.com a8325b09e0 fix: disable tag scan when the grouping set is not column and distince would create grouping keys consisted of grouping set 2022-07-22 08:59:10 +08:00
Xiaoyu Wang ef54bfb787 fix: the problem of data loss when interval is used for outer query 2022-07-21 20:39:01 +08:00
Xiaoyu Wang 461db22807 fix: the problem of data loss when interval is used for outer query 2022-07-21 20:17:30 +08:00
Xiaoyu Wang 1059ca6d53 fix: the problem of data loss when interval is used for outer query 2022-07-21 20:00:16 +08:00
Xiaoyu Wang dad14a28c9 merge 3.0 2022-07-21 19:24:14 +08:00
Xiaoyu Wang 1979801c93 fix: the problem of data loss when interval is used for outer query 2022-07-21 19:21:15 +08:00
slzhou@taodata.com c8969d0ec4 fix: remove scan targets that does not relate to root agg targets 2022-07-21 15:50:20 +08:00
Xiaoyu Wang 72f44315e0 fix: plan problem caused by partition by tbname interval optimize 2022-07-21 15:24:51 +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
shenglian zhou 4901b59530 fix: optimizing to do tag scan when tbname exists 2022-07-19 19:13:15 +08:00
shenglian zhou ea102128ba fix: remove scan cols and ts target from scan node when tag scan 2022-07-19 14:25:38 +08:00
shenglian zhou 30c43a3304 Merge branch '2.0' of github.com:taosdata/TDengine into szhou/fix/td-17505 2022-07-19 09:48:34 +08:00
shenglian zhou 792170b0f5 fix: remove agg node after apply tag scan optimization 2022-07-19 09:48:04 +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
liuyao f41b7a6810
Merge pull request #14974 from taosdata/feature/TD-17357
feat(stream): optimize interval plan
2022-07-16 09:57:52 +08:00
shenglian-zhou f8276707e5
Merge pull request #14973 from taosdata/szhou/feature/user-tags
fix: enable tag scan optimization when the scan cols is empty before adding ts col
2022-07-16 09:29:40 +08:00
54liuyao 352db0febb feat(stream): optimize interval plan 2022-07-16 09:28:15 +08:00
shenglian zhou cede4b7624 fix: enable tag scan optimization when the scan cols is empty before adding ts col 2022-07-15 18:01:04 +08:00
Haojun Liao f60f821c13 fix(query): fix partition by bug for last_row query. 2022-07-15 15:04:22 +08:00
Xiaoyu Wang 1342fbe913 fix: sql command 'show table distributed' 2022-07-15 11:59:42 +08:00
Xiaoyu Wang 873ff96bc1 fix: a problem of last_row function plan 2022-07-15 11:01:19 +08:00
Xiaoyu Wang 9522288f6b Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-15 08:44:23 +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
Haojun Liao ab6ed4bffa fix(query): add exec node for lastrow query. 2022-07-14 20:37:07 +08:00
Xiaoyu Wang d894e959ee fix: client module memory leak problem 2022-07-14 20:16:39 +08:00
Xiaoyu Wang ddb39a8dc2 fix: some problems of planner 2022-07-14 16:06:28 +08:00
Xiaoyu Wang 570f036c63 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-14 09:52:51 +08:00
Xiaoyu Wang d2ce16a875 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-13 15:37:21 +08:00
Xiaoyu Wang db65b890c8 feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:14:13 +08:00
Xiaoyu Wang 43b5ca1efe feat: support pseudo columns such as _qstart, _qend and _qduration 2022-07-13 15:13:01 +08:00
slzhou@taodata.com 77b1f92da9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/fix/td-17263 2022-07-13 13:08:25 +08:00
slzhou@taodata.com 65e6538352 fix: optimize the scan only when interval window 2022-07-13 13:07:10 +08:00
shenglian-zhou 0e603a176c
Merge pull request #14794 from taosdata/szhou/td-17001
fix: select tag from st will return block composed of num of records
2022-07-12 13:44:36 +08:00
shenglian-zhou f797e60f3f
Merge pull request #14777 from taosdata/szhou/td-17001
feat: tag scan optimization
2022-07-12 09:59:33 +08:00
slzhou@taodata.com 6f501bb33d fix: select tag from st will tag blocks composed of num of records 2022-07-12 09:59:11 +08:00
Xiaoyu Wang ad1154c008
Merge pull request #14776 from taosdata/feature/3.0_debug_wxy
fix: some problems of 'partition by' execution plan
2022-07-12 09:29:12 +08:00
slzhou@taodata.com 5e50bf8dc8 fix: avoid tag scan when scan cols is not empty 2022-07-12 09:24:57 +08:00
dapan1121 177814f6eb
Merge pull request #14781 from taosdata/fix/stmt_rerun
fix: fix stmt rerun incorrect uid issue
2022-07-11 21:15:02 +08:00
slzhou@taodata.com f26063202e feat: tag scan optimization 2022-07-11 18:34:12 +08:00
Xiaoyu Wang 12759683ca fix: some problems of 'partition by' execution plan 2022-07-11 18:23:54 +08:00
dapan1121 1eba184907 fix: fix stmt rerun issue 2022-07-11 15:58:21 +08:00
Xiaoyu Wang 6a845b746c fix: some problems of parser 2022-07-11 15:15:39 +08:00
Xiaoyu Wang b542b8f49a fix: some problem of parser and planner 2022-07-10 17:31:15 +08:00
Xiaoyu Wang 72738040a9 fix: some problem of parser and planner 2022-07-10 16:44:50 +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
Xiaoyu Wang f99a61a464 fix: some problem of parser and planner 2022-07-08 21:05:19 +08:00
Xiaoyu Wang df06d22cb3 fix: some problem of parser and planner 2022-07-08 17:35:11 +08:00
dapan1121 750903f511 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 11:14:44 +08:00
Xiaoyu Wang 9aa35c2e28 feat: sql command 'insert ... select' 2022-07-08 11:08:46 +08:00
dapan1121 0925064d24 Merge branch 'feature/3.0_debug_wxy' into feature/insertselect 2022-07-08 10:28:53 +08:00
dapan1121 b849252eed feat: insert from query 2022-07-08 10:27:17 +08:00
Xiaoyu Wang 80172d5c61 feat: sql command 'insert ... select' 2022-07-08 09:59:05 +08:00
Xiaoyu Wang f3e70272cf Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-08 09:37:34 +08:00
Xiaoyu Wang 1fea06bd6f feat: sql command 'insert ... select' 2022-07-08 09:37:07 +08:00
Xiaoyu Wang 0fd55077f5 feat: sql command 'insert ... select' 2022-07-08 09:33:28 +08:00
slzhou 90b3912061 fix: add filter to session/state/interval operator 2022-07-07 09:29:51 +08:00
shenglian zhou eef1fc035e feat: add conditions to logical plan 2022-07-06 22:01:17 +08:00
shenglian-zhou a6545b600c
Merge pull request #14612 from taosdata/szhou/feature/push-project-condition
fix: add condition to window operator
2022-07-06 20:27:29 +08:00
slzhou 7c35dce7fc fix: add condition to window operator 2022-07-06 18:31:54 +08:00
shenglian-zhou 7aebf05699
Merge pull request #14605 from taosdata/szhou/feature/push-project-condition
feat: push condition down the tree
2022-07-06 17:45:37 +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
slzhou 1a70a5f904 feat: push down filter from sort and partition 2022-07-06 17:13:29 +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
Minglei Jin fc20a61c85
Merge branch '3.0' into feat/tsdb_refact 2022-07-06 00:37:21 +08:00
Xiaoyu Wang 811bdc2b06 Merge remote-tracking branch 'origin/3.0' into feature/3.0_debug_wxy 2022-07-05 21:12:53 +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
slzhou@taodata.com dd1dbe22ff feat: remove restriction on logcial child type 2022-07-05 19:12:42 +08:00
slzhou@taodata.com 26e4fcf56d feat: push project cond to child 2022-07-05 19:08:08 +08:00
Xiaoyu Wang cf9a6deaa5
Merge pull request #14543 from taosdata/feature/3.0_debug_wxy
fix: execution plan problem in the mode of using qnode as much as possible
2022-07-05 18:48:02 +08:00
slzhou 64d2456073 fix: when there are no where condtions 2022-07-05 15:16:52 +08:00
slzhou b719e3ce24 fix: extract merge cond when no where condition 2022-07-05 14:56:40 +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
slzhou 43047bc265 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-cond-child-proj 2022-07-05 13:43:11 +08:00
slzhou 73e0e09dd8 feat: split join on condition into merge condition and on condition 2022-07-05 13:42:49 +08:00
Haojun Liao 6bfe5df94a other: merge 3.0 2022-07-05 09:47:39 +08:00
dapan1121 45d5d704eb fix: fix qnode crash issue 2022-07-05 09:30:35 +08:00
slzhou 024796599c Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/push-cond-child-proj 2022-07-04 20:14:15 +08:00
slzhou a7c9ed9133 feat: push condition to child join operator 2022-07-04 20:01:07 +08:00
dapan1121 7f0cc9ca22
Merge pull request #14509 from taosdata/enh/addconverttype
enh: add type convert api
2022-07-04 19:52:35 +08:00
slzhou a380e0cd7c feat: merge condition, on condition and other conditions 2022-07-04 19:49:16 +08:00