Commit Graph

88 Commits

Author SHA1 Message Date
a316189297 planner: add MergeAdjacentWindow rule for cascades (#24556) 2021-09-28 20:26:46 +08:00
aebe657cd8 *: add charset information into field type (#27644) 2021-08-30 17:34:12 +08:00
045c6927ca planner: remove useless cast function in AggToProj (#23981) 2021-04-14 12:01:51 +08:00
28c3748496 planner: remove some risky cache operations in the plan builder (#23354) 2021-03-18 15:35:11 +08:00
f30108d88c executor, expression: fix the incorrect result of AVG function (#23285) 2021-03-17 13:42:55 +08:00
5bafb3203e planner: show cast type in EXPLAIN in coptask (#23123) 2021-03-16 16:16:55 +08:00
2d48f9573c planner: decorrelate LogicalApply with inner join as the inner child (#22649) 2021-02-24 15:42:03 +08:00
f687ebd91c planner: fix correlated aggregates which should be evaluated in outer query (#21431) 2020-12-18 14:51:35 +08:00
1a4817869c planner/cascades: add rule TransformJoinCondToSel (#20460) (#21078) 2020-12-15 15:02:25 +08:00
de75e604ff *: differentiate types for user variables (#18973)
Co-authored-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-11-17 17:03:41 +08:00
a338e35932 expression: fix wrong inferred type for sum and avg (#20926) 2020-11-11 14:10:34 +08:00
4501f6d7ab planner, executor: enable inline projection for Limit (#20288) 2020-10-19 10:55:13 +08:00
aceecf0732 executor: support new aggregate funtion APPROX_PERCENTILE (#19799)
Signed-off-by: leiysky <leiysky@outlook.com>
2020-09-24 15:59:38 +08:00
3df573d2fc planner,executor: use new table partition implementation and fix CI (#18981) 2020-08-06 17:50:40 +08:00
f3554241bb planner, executor: support except and intersect set operator (#18459)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-27 17:56:07 +08:00
658132fcf3 planner: refactor handle columns (#18391) 2020-07-07 12:26:14 +08:00
978370f7cb executor: add new agg function APPROX_COUNT_DISTINCT (#17175) 2020-06-18 22:00:14 +08:00
7a5672920e planner/cascades: estimate the cost of PhysicalProjection (#17873)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-12 13:57:39 +08:00
e38232a288 planner/cascades: add rule transformation rule InjectProjectionBelowAgg (#16078) 2020-06-04 20:45:12 +08:00
e8779717d9 planner, expression: Remove the default asc order in explain result (#17074) 2020-05-14 17:38:19 +08:00
7ebcc20398 executor: support GROUP_CONCAT(ORDER BY) (#16591) 2020-05-06 18:41:22 +08:00
8f000fc353 planner: push avg & distinct functions across union (#16344) 2020-04-15 18:07:37 +08:00
49ee75a0a5 planner, executor: enable inline projection for merge join (#15463) 2020-04-09 15:58:32 +08:00
77f970c48c planner: fix push down distinct when need to inject projection (#15997) 2020-04-02 11:43:01 +08:00
4eb9ca3d3f planner: push aggregation functions with distinct to cop (#15500) 2020-04-01 20:49:14 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
20a19220a7 planner: refactor memory table explain information and add explain interface for other extractors (#15377) 2020-03-16 17:40:24 +08:00
defef7550d planner/cascades: add transformation rule TransformAggToProj (#14893) 2020-03-14 23:41:08 +08:00
ea04c6a442 planner/cascades: add transformation rule PullSelectionUpApply & TransformApplyToJoin (#14651) 2020-03-11 20:42:32 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
2aee4a9135 planner/cascades: add transformation rule EliminateOuterJoinBelowProjection (#14816) 2020-03-06 15:48:46 +08:00
c1114b9724 planner, executor: enable inline projection for index joins (#15004) 2020-03-02 15:32:09 +08:00
ded862fbeb planner/cascades: introduce TransformationRuleBatch & add rule InjectProjectionBelowTopN (#14504) 2020-02-29 15:46:58 +08:00
6d00e2169b planner: enable inline projection for hash join (#14783) 2020-02-28 16:28:10 +08:00
c001752370 planner: avoiding panic during cascades for partitioned tables (#14346) (#14808) 2020-02-27 17:07:43 +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
5f7d63c862 planner: change DataSource's type name to 'DataSource' (#14768) 2020-02-24 19:55:06 +08:00
3399f4be31 planner: distinguish FullScan and the RangeScan in explain/desc info (#14696) 2020-02-24 15:23:06 +08:00
98da378d69 planner/cascades: add transformation rule PushLimitDownTiKVSingleGather (#14796) 2020-02-17 16:37:18 +08:00
a6e6e2ffe7 planner/cascades: add transformation rule TransformAggregateCaseToSelection (#14526) 2020-02-14 13:14:14 +08:00
bce19d1264 planner/cascades: add transformation rule EliminateOuterJoinBelowAggregation (#14465) 2020-02-13 10:59:18 +08:00
da2ed2b5bc expression: fully open CAST push-down switcher (#14672)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-09 16:27:45 +08:00
82c25a2253 planner/cascades: remove ColumnSubstitute in the rule PushSelDownAgg (#14591) 2020-02-07 15:08:11 +08:00
fd97efefde planner/cascades: add transformation rule MergeAdjacentTopN (#14345) 2020-02-07 10:54:53 +08:00
43b8e133e7 planner/cascades: add transformation rule EliminateSingleMaxMin (#14274) 2020-02-05 11:18:53 +08:00
ccc43c08f9 planner: add implementation rule for LogicalMemTable (#14577) 2020-02-04 14:48:53 +08:00
8be10ed2a2 planner/cascades: add transformation rule PushLimitDownOuterJoin (#14434) 2020-01-22 16:28:40 +08:00
cea80ae21b planner: remove the fields LogicalJoin.LeftJoinKeys and RightJoinKeys (#14468) 2020-01-19 19:16:32 +08:00
5527c582e0 planner/cascades: add ImplementationRule for MergeJoin (#14450) 2020-01-18 22:16:50 +08:00