Commit Graph

220 Commits

Author SHA1 Message Date
Haojun Liao 18740e7b48 other:merge 3.0, and support last query cache 2022-10-13 15:35:51 +08:00
Xiaoyu Wang d6374a726a fix: some problems of parser 2022-10-12 16:32:29 +08:00
Xiaoyu Wang 6954d4902b fix: some problems of parser 2022-10-12 14:18:03 +08:00
Xiaoyu Wang 1d62834e5c feat(stream): tag and child table name improvement 2022-09-26 18:39:47 +08:00
Xiaoyu Wang 0321b8c088 fix: avg function data scan optimization 2022-09-22 15:08:07 +08:00
Xiaoyu Wang faa731827e enh: add the queryPlannerTrace parameter to control the debug output of the planner 2022-09-01 14:44:01 +08:00
Shengliang Guan 52f8fbb997
Merge pull request #16473 from taosdata/enh/3.0_planner_optimize
enh: super table scan requires project operator to merge packets to improve performance
2022-08-30 09:07:52 +08:00
Xiaoyu Wang a39e6f7d92 enh: super table scan requires project operator to merge packets to improve performance 2022-08-29 14:01:18 +08:00
Xiaoyu Wang 4895f19876 fix: plan problem with sorting the first column of the system table 2022-08-25 18:39:23 +08:00
Xiaoyu Wang 03784406c4 fix: improve create stream check 2022-08-11 22:08:19 +08:00
Haojun Liao 4d8842c21f other:merge 3.0 2022-08-08 16:37:37 +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
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
slzhou 5b8207556c fix: taken onCondtion of join node into account when eliminate projects 2022-08-02 14:47:29 +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
Xiaoyu Wang b08a28d559 fix: some problems of planner 2022-07-30 13:14:44 +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
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
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
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 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 dad14a28c9 merge 3.0 2022-07-21 19:24:14 +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 c54daccf2d fix: plan problem caused by project eliminate optimize 2022-07-21 14:35:36 +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 792170b0f5 fix: remove agg node after apply tag scan optimization 2022-07-19 09:48:04 +08:00
Xiaoyu Wang e5e9252388 some problems of planner 2022-07-16 17:40:54 +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
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 873ff96bc1 fix: a problem of last_row function plan 2022-07-15 11:01: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
Xiaoyu Wang d894e959ee fix: client module memory leak problem 2022-07-14 20:16:39 +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 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 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 5e50bf8dc8 fix: avoid tag scan when scan cols is not empty 2022-07-12 09:24:57 +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
Xiaoyu Wang 6a845b746c fix: some problems of parser 2022-07-11 15:15:39 +08:00
Xiaoyu Wang 72738040a9 fix: some problem of parser and planner 2022-07-10 16:44:50 +08:00
Xiaoyu Wang df06d22cb3 fix: some problem of parser and planner 2022-07-08 17:35:11 +08:00
slzhou 90b3912061 fix: add filter to session/state/interval operator 2022-07-07 09:29:51 +08:00
slzhou 1a70a5f904 feat: push down filter from sort and partition 2022-07-06 17:13:29 +08:00
Xiaoyu Wang a67eb1a9a0 eat: sql command 'insert ... select' 2022-07-06 11:55:47 +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 73e0e09dd8 feat: split join on condition into merge condition and on condition 2022-07-05 13:42:49 +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
slzhou a380e0cd7c feat: merge condition, on condition and other conditions 2022-07-04 19:49:16 +08:00
Xiaoyu Wang 988cffcce6 fix: some problems of parser and planner 2022-07-02 18:19:10 +08:00
Xiaoyu Wang 2a114a6b83 fix: a problem of group by tbname 2022-07-01 21:06:08 +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
slzhou 1003cd8549 feat: push condition to child projection 2022-07-01 15:25:02 +08:00
shenglian-zhou d6e1d1bcd0
Merge pull request #14389 from taosdata/szhou/feature/pushdown-agg-cond
feat: support push agg operator condition to scan
2022-06-30 19:07:06 +08:00
Xiaoyu Wang 1530b33991 feat: support 'select *, expr from ...' syntax 2022-06-30 16:16:05 +08:00
slzhou b6d6657174 feat: support push agg operator condition to scan 2022-06-30 15:14:16 +08:00
Xiaoyu Wang 99563fc136
Merge pull request #14376 from taosdata/feature/3.0_debug_wxy
feat: the last_row function supports all scenes
2022-06-30 11:28:53 +08:00
Xiaoyu Wang cf35174d53 feat: the last_row function supports all scenes 2022-06-30 10:23:35 +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 38ae79e6e0 feat: refactor the plan implementation of unique function 2022-06-28 14:32:58 +08:00
Xiaoyu Wang 1f47241fc9 merge 3.0 2022-06-28 13:48:13 +08:00
Xiaoyu Wang e330eccbf5 feat: refactor the plan implementation of unique function 2022-06-28 13:45:20 +08:00
slzhou 4110c00497 fix: initialize errCode of SMergeProjectsContext 2022-06-28 11:58:39 +08:00
Xiaoyu Wang ef975798fd feat: refactor the plan implementation of unique function 2022-06-28 11:28:16 +08:00
slzhou f80af20d3b fix: add merge parent project and child project optimization 2022-06-28 10:55:34 +08:00
Xiaoyu Wang cd36807faf feat: refactor the plan implementation of unique function 2022-06-27 21:30:20 +08:00
slzhou 474c84bcc9 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/project-compaction 2022-06-27 19:11:06 +08:00
slzhou 8088b67dc9 feat: add merge projects optimization 2022-06-27 19:07:37 +08:00
Xiaoyu Wang a334337755 feat: merge and merge scan add group sort field 2022-06-27 15:57:02 +08:00
Xiaoyu Wang 732a91c945 feat: tail function rewrite to statement 2022-06-27 13:51:06 +08:00
Xiaoyu Wang 9c68bde6e9 feat: tail function rewrite to statement 2022-06-26 23:50:13 +08:00
Xiaoyu Wang ab95a49fa2 merge 3.0 2022-06-26 15:23:29 +08:00
Xiaoyu Wang d4175cd8f8 merge 3.0 2022-06-26 14:57:34 +08:00
Xiaoyu Wang 7b60b3223b feat: tail function rewrite to statement 2022-06-26 14:44:58 +08:00
slzhou 1bc2f81b20 feat: add set op elimination 2022-06-25 18:46:54 +08:00
slzhou 297c848e61 feat: add set operator optimization 2022-06-25 17:50:42 +08:00