5f340b88c9
parser: format error message during parsing when meet a big value. ( #28791 )
2021-11-18 00:51:47 +08:00
afca7649fa
planner: refine prefer-range-scan behavior ( #27123 )
2021-09-02 12:06:14 +08:00
8dcebd1239
planner, expression: avoid exprs with side effects in column pruning and agg pushdown ( #27370 )
2021-08-27 16:46:05 +08:00
9e248d9420
planner: correctly set StatsVersion of tablePlan in copTask ( #27161 )
2021-08-25 18:06:04 +08:00
c5689a1d3f
planner: fix row count estimation for partially pushed down selections ( #25715 )
2021-08-18 14:17:59 +08:00
0b6b13500d
planner: add test for heuristic index selection ( #26917 )
2021-08-11 20:37:16 +08:00
312ec6cf47
planner: output skyline pruning information when executing EXPLAIN ( #26748 )
2021-08-06 19:57:14 +08:00
bc625e9379
planner: add heuristic rules for index selection ( #26304 )
2021-08-04 20:09:07 +08:00
7f2843803a
planner: improve skyline pruning ( #26271 )
2021-08-02 14:17:06 +08:00
008d5e3fd2
parser, core: Implement force_index hint in parser and TiDB ( #23836 )
2021-07-01 17:39:26 +08:00
cea06b3d49
planner: fix wrong aggregate pruning for some cases ( #25289 )
2021-06-16 14:12:37 +08:00
11716e7f4a
*: use full sampling as default analyze ( #25132 )
2021-06-06 00:34:27 +08:00
b07942836f
planner: fix a panic caused by sinking a Limit with inlined Proj into IndexLookUp when accessing a partition table ( #25063 )
2021-06-04 13:54:27 +08:00
ad7102cdee
planner: generate correct number of rows when all agg funcs are pruned ( #24937 )
2021-06-02 18:20:26 +08:00
f79dc8b218
executor: pessimistic lock on the temporary table should not be written to TiKV ( #24737 )
2021-05-26 12:41:34 +08:00
e7db533810
planner: ignore lock for temporary table of PointGet and BatchPointGet ( #24540 )
2021-05-12 19:49:40 +08:00
0859a3c029
planner: refactor Converting Partition Keys for shuffle hash join ( #24456 )
2021-05-08 17:40:41 +08:00
1cd3788334
planner: convert Sequence as DataSource to TableDual ( #24405 )
2021-05-06 13:35:52 +08:00
257ce7d93d
planner: filter conflict read_from_storage hints ( #24313 )
2021-04-29 14:51:57 +08:00
fb676b7697
Revert "planner: donot prune all columns for Projection ( #24024 )" ( #24180 )
2021-04-25 11:47:55 +08:00
6f4d8a32eb
planner: Fix Join reorder occurs "index out of range" error ( #24102 )
2021-04-21 20:19:54 +08:00
421571f49d
planner, executor: fix index merge partial table scan schema ( #23936 )
2021-04-19 16:29:52 +08:00
05bb31b811
planner/core: push down topn to mpp ( #24081 )
2021-04-19 12:49:52 +08:00
336f30575f
planner: fix index merge row count estimation logic ( #23137 )
2021-04-16 19:21:51 +08:00
653953f675
planner: build correct MaxOneRow info from multi-column conditions ( #22915 )
2021-04-01 18:33:24 +08:00
1cebae21a7
planner, sessionctx: turn on the mpp by default ( #23401 )
2021-03-23 21:01:37 +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
9ac5b7ae36
planner: fix wrong table filters for index merge plan ( #23132 )
2021-03-08 15:50:56 +08:00
50aec2b2d2
planner: enable column pruning for common handle ( #22940 )
2021-03-04 14:42:54 +08:00
2d48f9573c
planner: decorrelate LogicalApply with inner join as the inner child ( #22649 )
2021-02-24 15:42:03 +08:00
04e5137f48
*: use explain format = 'brief' for tests ( #22677 )
2021-02-22 17:50:06 +08:00
dd5bfc3949
planner: reorder inner joins simplified from outer joins ( #22392 )
2021-01-15 11:57:29 +08:00
4bfd10cec8
planner: do not use indexMerge when the path only use a single index ( #22168 )
2021-01-05 20:44:41 +08:00
857e3da6eb
planner: join reorder should not change the order of output columns ( #16852 )
2020-12-31 14:51:14 +08:00
f1805f3dee
planner: avoid using index_merge when there are multiple table filters ( #22122 )
2020-12-31 13:39:49 +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
cf806f60e4
util/ranger: convert range condition like x >= 2 and x <= 2 to point condition x = 2 ( #21809 )
2020-12-22 14:07:54 +08:00
003c42a2c7
planner: bypass the DNF restriction if index merge hint is specified ( #20799 )
2020-12-18 14:37:06 +08:00
03f385de5f
planner/core: use constant propagate before predicates push down ( #21061 )
2020-12-08 16:32:32 +08:00
38bbb0dd21
planner: ban (index) merge join heuristically when convert eq cond to other cond ( #21138 )
2020-11-19 17:17:53 +08:00
41786cb976
*: seperate hash keys from join keys in IndexJoin ( #20761 )
2020-11-16 16:24:51 +08:00
5a14eb592c
planner: fix index merge doesn't take effect when using prefix key ( #20425 )
2020-11-12 12:25:53 +08:00
3e306aeae0
planner: don't push down topN above outer join when topN refer scalar subquery expression ( #20099 )
2020-11-09 11:42:32 +08:00
3ceceece2a
planner: choose index with larger NDV on join keys for IndexJoin ( #20250 )
2020-10-13 11:05:04 +08:00
421e87c5f1
planner: improve index merge row count estimation ( #19040 )
2020-09-27 18:06:36 +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
b78f4896fe
statistics, util/ranger: improve selectivity calculation for DNF filters ( #18741 )
2020-08-27 15:40:12 +08:00
f172a1e08a
planner: make some access paths check fit the clustered index ( #18998 )
...
* planner: make some access paths check fit the clustered index
* add test
* add test for outer join elimination
* make test stable
* fix test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-10 15:33:17 +08:00
4e829aaee7
planner,executor: fix index merge for partition table ( #18940 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-04 20:38:17 +08:00