Commit Graph

28 Commits

Author SHA1 Message Date
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
94ed411ab8 util/ranger: fix wrong range calculation of prefix index when appending ranges to point ranges (#26066) 2021-07-13 14:07:32 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
a57dc3ab65 planner: prune partitions that will never be used (#24376) 2021-05-06 19:59:52 +08:00
f1a48216b2 statistics: fix some potential panic in statistics (#23988) 2021-04-15 21:15:53 +08:00
1915517c0c ranger: handle decimal overflow properly when building index ranges (#23535) 2021-03-25 17:05:01 +08:00
28c3748496 planner: remove some risky cache operations in the plan builder (#23354) 2021-03-18 15:35:11 +08:00
5bafb3203e planner: show cast type in EXPLAIN in coptask (#23123) 2021-03-16 16:16:55 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
44641c3282 planner: change the content of AnalyzeTableID to build global-stats (#22554) 2021-02-02 15:39:44 +08:00
d44e123395 planner: prevent agg push down if it is in the outer child of apply (#21902) 2020-12-22 16:43:26 +08:00
fd587c3552 session: add a switch for index merge join (#21830)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-18 11:05:05 +08:00
e8c5efcb24 planner: fix partition pruning when condition exceeds the range of column type (#21173) 2020-12-15 10:28:30 +08:00
03f385de5f planner/core: use constant propagate before predicates push down (#21061) 2020-12-08 16:32:32 +08:00
06e99582d8 planner: fix incorrect results when using a prefix index with OR condition (#21251) 2020-11-25 14:40:41 +08:00
0684dba6c8 util/ranger: extract multi-column DNF conditions as access conditions (#19211) 2020-09-17 20:08:34 +08:00
292dea768e util/ranger: extract DNF as equal access conditions for composite indexes (#18315)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-21 00:30:19 +08:00
daad2699dd *: support clustered index for index join (#18204) 2020-07-01 16:15:51 +08:00
0d5a83162b util: build right range when where stmt only have string column. (#16645) 2020-04-21 14:08:26 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
236352e98f *: show build and probe side for join and index lookup related operators in explain result (#14838) 2020-02-26 17:12:09 +08:00
3399f4be31 planner: distinguish FullScan and the RangeScan in explain/desc info (#14696) 2020-02-24 15:23:06 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
889ad618cf planner: projection don't new unnecessary column (#13406) 2019-11-20 13:58:38 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
1fe9773726 planner: introduce an individual physical plan for indexNestedLoopHashJoin (#12139) 2019-09-24 21:18:45 +08:00
ed9e973e50 util, planner: add more testSuite json files (#12247) 2019-09-18 13:59:46 +08:00