4eb9ca3d3f
planner: push aggregation functions with distinct to cop ( #15500 )
2020-04-01 20:49:14 +08:00
5282d089c7
executor: support generated column on point get and batch point get ( #15544 )
2020-03-23 14:21:35 +08:00
a999ef6981
expression: support different expr push down for TiKV and TiFlash ( #15174 )
2020-03-11 16:16:03 +08:00
9e98f706ae
planner, executor: support point get as a option of DataSource ( #14775 )
2020-03-09 10:47:16 +08:00
1703ee82cd
planner: not to generate partial agg when cop task has root conditions ( #15112 )
2020-03-04 19:57:17 +08:00
c1114b9724
planner, executor: enable inline projection for index joins ( #15004 )
2020-03-02 15:32:09 +08:00
6d00e2169b
planner: enable inline projection for hash join ( #14783 )
2020-02-28 16:28:10 +08:00
b64ad65636
planner: improve projection to keep order or keep index in some cases ( #14510 )
2020-02-26 14:02:36 +08:00
3399f4be31
planner: distinguish FullScan and the RangeScan in explain/desc info ( #14696 )
2020-02-24 15:23:06 +08:00
6e867b7cbc
planner: consider disk cost in Sort ( #14708 )
2020-02-12 11:40:47 +08:00
e39b504177
planner: adjust the cost model of Apply ( #13550 )
2020-01-15 19:43:50 +08:00
08be35d778
planner: fix wrong stats for physical union scan ( #14093 )
2019-12-19 10:37:16 +08:00
02408dbd04
planner: support cost model for Chunk encode format. ( #13461 )
2019-12-18 15:47:16 +08:00
9b7b2c0d50
planner/core: fix bug when using generated column in aggregate statement ( #14111 )
2019-12-18 14:46:47 +08:00
438d39ebcd
*: revert #10124 and remove sql mode PadCharToFullLength ( #14007 )
2019-12-17 15:25:06 +08:00
71e1288f00
planner/cascades: support implementation rule Apply and MaxOneRow. ( #13873 )
2019-12-06 17:19:48 +08:00
5b6422df58
*: support read remote TiDB memory table of cluster ( #13065 )
2019-12-04 13:05:36 +08:00
5a589c9994
planner: consider disk cost in hashJoin ( #13246 )
2019-12-03 13:43:19 +08:00
96069cd749
planner: reuse GroupBy Columns when build finalModeAgg ( #13653 )
2019-11-21 13:53:37 +08:00
02916a6778
planner/cascades: add transformation PushSelDownJoin & Implementation for HashJoin ( #13470 )
2019-11-20 16:13:13 +08:00
161a2eb454
planner/cascades: add transformation rule PushAggDownGather ( #13049 )
2019-11-15 18:09:35 +08:00
aca3f47292
*: Refactoring reading logic of virtual generate column ( #12407 )
2019-11-13 17:39:53 +08:00
4dcd7d7938
planner: consider build hashtable using the outer side for outer join during plan building ( #12883 )
2019-11-08 17:43:53 +08:00
6fd74f3e4c
planner: support cost model for tiflash table scan ( #12868 )
2019-10-29 16:05:51 +08:00
36f0f37b40
expression, planner: remove some fields from `expression.Colum… ( #12573 )
2019-10-29 15:48:26 +08:00
b8cd65714f
*: record and print the plan in slow log. ( #12179 )
2019-10-17 22:13:19 +08:00
45bc789a0f
planner: stream agg should not be pushed to double read ( #12443 )
...
For the following two reason, we should not push stream agg down to double read
- The aggregate will lost the handle information
- There's no sort operator. The second read is ordered with pk, not by index.
2019-10-12 19:22:04 +08:00
7ffa4500e6
planner: support a hint to read from tiflash in planner ( #12479 )
2019-10-11 16:36:35 +08:00
1a9fcb9c20
*: replace cost model factor constants with system variable ( #12367 )
2019-09-30 14:24:07 +08:00
1fe9773726
planner: introduce an individual physical plan for indexNestedLoopHashJoin ( #12139 )
2019-09-24 21:18:45 +08:00
8179558274
planner, executor: push limit down into IndexLookUpReader executor ( #12262 )
2019-09-24 14:16:16 +08:00
65edb2d83d
planner: generate physical plan for IndexMergePath ( #11245 )
2019-09-12 14:06:45 +08:00
836d5f7b58
planner/core: support generate hints from physical plan ( #11936 )
2019-09-11 17:53:29 +08:00
68b709e097
planner: introduce cascades adapter model and implement handle range scan ( #11566 )
2019-09-10 15:34:53 +08:00
bb5bfa4bd7
planner: consider agg func type in cost model ( #12038 )
2019-09-09 17:44:41 +08:00
dd25ed0c16
planner: extract basePhysicalJoin for several physical joins ( #12029 )
2019-09-06 14:49:06 +08:00
b0a6481e35
planner: fix wrong request data type when pushing down avg aggfuncs ( #12051 )
2019-09-06 14:32:35 +08:00
845061351d
planner: support index_lookup_merge_join in physical plan. ( #11338 )
2019-09-04 13:46:05 +08:00
b239f2f04d
planner: split avg to count and sum for TableReader cop task ( #11926 )
2019-09-02 16:16:05 +08:00
39aed0d29d
planner: remove unnessary conversion and parenthesis ( #11913 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-08-28 22:18:45 +08:00
0ff5b50c15
planner: remove unnecessary first_row() functions ( #11723 )
2019-08-23 14:02:40 +08:00
8a161721f1
planner, expression: remove TblID2Handle from Schema ( #11152 )
2019-08-16 13:02:16 +08:00
d51a3e067e
planner: use HistColl containing all columns for row width estimation ( #11689 )
2019-08-09 17:00:33 +08:00
f74b9e9f6c
planner: implement projection and table dual in cascades ( #11664 )
2019-08-08 14:21:28 +08:00
fe038642e5
*: refactor cost model formulas and constants ( #10581 )
2019-08-07 17:44:09 +08:00
3190ad99f9
planner: tidy up PhysicalApply struct and related methods ( #10394 )
2019-05-09 10:58:50 +08:00
dca815c1c5
expression: return error when doing ResolveIndices ( #8929 )
2019-01-15 14:34:06 +08:00
ac3556b6cd
plan: implementation phase framework of cascades planner ( #8449 )
2018-12-05 20:48:52 +08:00
1cc9d4d53c
expression: split aggregation descriptor for reuse ( #8559 )
2018-12-04 16:22:15 +08:00
f370da0b43
planner: export init() to Init() ( #8060 )
2018-10-26 10:44:30 +08:00