Commit Graph

39 Commits

Author SHA1 Message Date
1c5b837c07 planner: fix the cost model version in explain-tests (#38728)
close pingcap/tidb#35240
2022-11-02 13:38:00 +08:00
7eb7ca902a planner: fallback to static plan for partition table if having no global stats in dynamic prune mode (#37573)
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
59937273c5 planner: fix projection of generate column for indexLookup task (#31684)
close pingcap/tidb#31682
2022-01-28 16:09:14 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
4d5773c298 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26876) 2021-08-04 14:47:07 +08:00
dd5546dfd0 Revert "planner: fix the issue that UnionScan returns wrong results in dynamic mode" (#26853) 2021-08-03 19:21:06 +08:00
2745baad11 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26755) 2021-08-03 16:37:07 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
2d48f9573c planner: decorrelate LogicalApply with inner join as the inner child (#22649) 2021-02-24 15:42:03 +08:00
857e3da6eb planner: join reorder should not change the order of output columns (#16852) 2020-12-31 14:51:14 +08:00
e33b37789c planner: add projection if expand virtual generated column (#20478)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-03 21:42:49 +08:00
41786cb976 *: seperate hash keys from join keys in IndexJoin (#20761) 2020-11-16 16:24:51 +08:00
a338e35932 expression: fix wrong inferred type for sum and avg (#20926) 2020-11-11 14:10:34 +08:00
2a3a5ab076 *: disable new partition prune in master distribution (#19911) 2020-09-14 16:26:54 +08:00
3df573d2fc planner,executor: use new table partition implementation and fix CI (#18981) 2020-08-06 17:50:40 +08:00
777907bcee planner: push agg below partition union all by default (#17262) 2020-05-28 18:11:13 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
5282d089c7 executor: support generated column on point get and batch point get (#15544) 2020-03-23 14:21:35 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
77dcdc546d *: Clear the name of some field in explain result. (#14958) 2020-03-02 17:43:22 +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
dbcf5fbcc8 planner: show cast type in EXPLAIN (#14942) 2020-02-26 16:36:35 +08:00
3399f4be31 planner: distinguish FullScan and the RangeScan in explain/desc info (#14696) 2020-02-24 15:23:06 +08:00
9b7b2c0d50 planner/core: fix bug when using generated column in aggregate statement (#14111) 2019-12-18 14:46:47 +08:00
54e3531d0b planner: TIDB_INLJ hint does not work for smaller left table (#14023) 2019-12-17 20:05:48 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
2baaf1f048 planner: support hint for IndexHashJoin and IndexMergeJoin (#13238) 2019-11-13 21:21:04 +08:00
aca3f47292 *: Refactoring reading logic of virtual generate column (#12407) 2019-11-13 17:39:53 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
003a7dfb67 planner: fix bug the inner child can't keep order in index join (#12614) 2019-10-11 14:44:33 +08:00
1fe9773726 planner: introduce an individual physical plan for indexNestedLoopHashJoin (#12139) 2019-09-24 21:18:45 +08:00
3eaa4d3012 planner: tiny code refine for contructIndexJoin (#12254) 2019-09-23 11:58:45 +08:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
2307338ae7 planner: generate index path as candidate when it is a single scan (#12022) 2019-09-09 19:13:41 +08:00
845061351d planner: support index_lookup_merge_join in physical plan. (#11338) 2019-09-04 13:46:05 +08:00
fe038642e5 *: refactor cost model formulas and constants (#10581) 2019-08-07 17:44:09 +08:00
fbf58fc9b5 planner: fix wrong selectivity for inner selection in index join (#10633) 2019-06-12 12:50:14 +08:00
9b74130e49 cmd: add more explaintests for generated columns (#10373) 2019-05-08 17:23:15 +08:00