d1aa2f5b09
planner: implement extractCorrelatedCols for DataSource & TopN & Window ( #14937 )
2020-03-09 13:14:46 +08:00
9e98f706ae
planner, executor: support point get as a option of DataSource ( #14775 )
2020-03-09 10:47:16 +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
0f9a973e96
planner: Fix IndexJoin's inner TableScan's Range when explain/desc ( #14919 )
2020-02-27 14:25:55 +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
b64ad65636
planner: improve projection to keep order or keep index in some cases ( #14510 )
2020-02-26 14:02:36 +08:00
dcdfd60c51
planner: move flagPrunColumnsAgain to the last ( #14791 )
2020-02-24 16:22:36 +08:00
3399f4be31
planner: distinguish FullScan and the RangeScan in explain/desc info ( #14696 )
2020-02-24 15:23:06 +08:00
d9eab62ed8
planner: LogicalLock support pushDownTopN ( #14891 )
2020-02-24 10:58:52 +08:00
a5e0660439
coprocessor: let tiflash split range task consistent with tikv ( #14710 )
2020-02-14 15:31:37 +08:00
03705d1344
test: fix TestAggToCopHint ( #14741 )
2020-02-12 21:46:17 +08:00
6702d95fc0
planner: prune columns again after predicate push down ( #14683 )
2020-02-12 18:13:18 +08:00
74e49085cf
planner: make the read storage hint not force plan ( #14644 )
2020-02-10 20:02:22 +08:00
c2da4eafd7
planner: Fix SMJ hint, support SMJ with descending order. ( #14505 )
2020-01-25 10:10:10 +08:00
74bc00dfa9
Improve the performance of WindowExec by using multi-thread hash grouping ( #14238 )
2020-01-16 21:04:16 +08:00
b9091b0ce2
planner: fix panic when generating index merge path for unique index ( #14382 )
2020-01-08 11:14:25 +08:00
57bb931a27
planner: apply max/min elimination when other aggregations exist ( #14376 )
2020-01-07 19:36:39 +08:00
0adab37467
expression: open CAST string as real push down switcher ( #14323 )
...
Signed-off-by: Lonng <heng@lonng.org >
2020-01-06 11:28:02 +08:00
1437d7e65b
expression: open push down switcher for part of CAST functions ( #13837 )
...
Signed-off-by: Lonng <heng@lonng.org >
2020-01-02 11:43:43 +08:00
fe764a97a3
*: only add union scan when dirty table is not empty ( #14265 )
2019-12-31 13:20:27 +08:00
f18abc980d
planner: fix row count estimation for unique composite IndexScan of IndexJoin ( #14167 )
2019-12-25 19:53:10 +08:00
02408dbd04
planner: support cost model for Chunk encode format. ( #13461 )
2019-12-18 15:47:16 +08:00
54e3531d0b
planner: TIDB_INLJ hint does not work for smaller left table ( #14023 )
2019-12-17 20:05:48 +08:00
1bcf267655
infoschema: add plan digest to slow log and slow_query ( #14000 )
2019-12-12 11:49:00 +08:00
dd622a9398
planner/cascades: add transformation rule PushTopNDownProjection ( #13855 )
2019-12-09 15:25:44 +08:00
64da4b583f
planner/cascades: implement PreparePossibleProperties in cascades planner ( #13910 )
2019-12-06 15:52:49 +08:00
c5e1302908
planner: support plan digest ( #13124 )
2019-12-03 21:08:55 +08:00
e979cff6bb
planner: add column mapping in explain result ( #13640 )
2019-11-27 16:39:19 +08:00
596fb64233
planner: support a hint to force using a IndexMerge path ( #12843 )
2019-11-27 15:44:25 +08:00
8a4c0160dc
planner: use a deep copy for accessPath when clone DataSource ( #13620 )
2019-11-20 16:27:44 +08:00
889ad618cf
planner: projection don't new unnecessary column ( #13406 )
2019-11-20 13:58:38 +08:00
2baaf1f048
planner: support hint for IndexHashJoin and IndexMergeJoin ( #13238 )
2019-11-13 21:21:04 +08:00
f4ee90d06f
planner: correct block offset for table as names ( #12996 )
2019-11-11 17:46:29 +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
be128c6090
Revert "expression: open CAST push down switcher default ( #12652 )" ( #13264 )
...
This reverts commit a7854936bf6771f1716b11ab11775672de2e143c.
2019-11-08 15:52:25 +08:00
a7854936bf
expression: open CAST push down switcher default ( #12652 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-11-07 20:07:16 +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
44a5ffe8a0
planner: support database name in optimizer hint ( #12932 )
2019-10-25 19:45:18 +08:00
c047835df1
planner: correct unit test for outer join simplification with cast ( #12782 )
2019-10-17 22:27:48 +08:00
15984f696d
planner, expression: fix simplify outer join with cast ( #12701 )
2019-10-15 16:42:03 +08:00
cc991d90d3
executor: support index lookup merge join in executor. ( #12024 )
2019-10-14 19:21:33 +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
fc577e705d
planner: retrieve optimizer hint scope change ( #12382 )
2019-10-08 12:09:46 +08:00
01dce81f48
*: fix panic when check null rejection for from_unixtime ( #12413 )
2019-09-30 11:10:43 +08:00
0f4a545002
planner: use another way to restore table name in hint ( #12358 )
2019-09-27 17:45:31 +08:00
1fe9773726
planner: introduce an individual physical plan for indexNestedLoopHashJoin ( #12139 )
2019-09-24 21:18:45 +08:00