Commit Graph

279 Commits

Author SHA1 Message Date
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
f50dd1f24c expression: Push down group concat to TiFlash (#24778) 2021-08-30 15:44:12 +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
84a8b0f6ee planner: don't extract hash keys from index join's OtherConds if inl_merge_join hint exists (#24994) 2021-08-18 11:28:00 +08:00
b7860acc9f planner: avoid unnecessary cartesian product for IN expressions on multi-columns (#24793) 2021-08-17 15:46:00 +08:00
1c6c548334 planner: add missing column for Apply convert to Join (#27246) 2021-08-17 11:49:59 +08:00
09ebd0d703 planner: fix wrong selection push down when having above agg (#27021) 2021-08-16 20:29:59 +08:00
f7917916ed expression: do not derive filters containing null sensitive functions from outer join (#27067) 2021-08-13 14:49:22 +08:00
0e48cb22a9 planner: prune hash partition should consider unsigned flag (#27098) 2021-08-12 19:59:16 +08:00
0b6b13500d planner: add test for heuristic index selection (#26917) 2021-08-11 20:37:16 +08:00
5a6c93ff5c planner: add more test cases for list column partition (#27081) 2021-08-11 10:47:15 +08:00
8a67e535a9 planner: add more test cases for list partition (#27023) 2021-08-09 16:29:14 +08:00
312ec6cf47 planner: output skyline pruning information when executing EXPLAIN (#26748) 2021-08-06 19:57:14 +08:00
4d9473a6c6 expression: Add missing pbcode for functions InetAton/InetNtoa/Inet6Aton/Inet6Ntoa/IsIPv4/IsIPv4Compat/IsIPv4Mapped/IsIPv6. (#26939) 2021-08-06 16:11:13 +08:00
bc625e9379 planner: add heuristic rules for index selection (#26304) 2021-08-04 20:09:07 +08:00
e548c42ccb planner: support Hash exchange operator when new collation is enabled. (#26789) 2021-08-04 10:39:06 +08:00
cb65b7a2f7 statistics: improve out-of-range estimation strategy (#26502) 2021-08-02 17:43:08 +08:00
fdd6663d30 planner: add more test cases for list partitioning (#26729) 2021-08-02 15:45:06 +08:00
7f2843803a planner: improve skyline pruning (#26271) 2021-08-02 14:17:06 +08:00
e0dbe7ae8a planner: push TopN down when N is less than a specific variable (#26550) 2021-07-27 16:38:16 +08:00
e116573fbb expression: push down mod() to TiFlash (#26494) 2021-07-27 12:50:15 +08:00
a4146033fb planner: report warning when mpp join can't be selected whether it is MPPTask. (#26487) 2021-07-23 17:52:14 +08:00
70493cdf4d planner: refine the control logic of broadcast join (#26347) 2021-07-23 17:30:14 +08:00
1c088522c8 planner: fix the unstable test TestOrderedResultModeOnOtherOperators (#26481) 2021-07-23 10:48:14 +08:00
0bf495d5e8 planner: unify the terms NDV and cardinality in the optimizer (#26345) 2021-07-20 11:59:35 +08:00
60b600ef1a planner/core: always add projection to agg that is pushed to tiflash (#26263) 2021-07-15 16:05:32 +08:00
76c5fd0e26 planner: add warnings about joins when tidb_enforce_mpp is enabled. (#26246) 2021-07-15 15:31:32 +08:00
0db5df550b planner: rename stable-result-mode to ordered-result-mode (#26093) 2021-07-12 16:01:32 +08:00
c24a90f9e7 planner: support stable result mode (#25971) 2021-07-06 15:11:29 +08:00
008d5e3fd2 parser, core: Implement force_index hint in parser and TiDB (#23836) 2021-07-01 17:39:26 +08:00
3ad894da97 planner/core: thoroughly push down count-distinct agg in the MPP mode. (#25662) 2021-06-30 14:55:26 +08:00
27489d43b4 planner: Log warnings when agg function can not be pushdown in explain statement (#25553) 2021-06-24 15:21:23 +08:00
9ca449b8bd planner: enforce projection push down (#25450) 2021-06-22 23:55:22 +08:00
cea06b3d49 planner: fix wrong aggregate pruning for some cases (#25289) 2021-06-16 14:12:37 +08:00
1f0245a821 planner: Revert tidb_allow_mpp modification for downgrade compatibility and add warnings for enforce mpp. (#25302) 2021-06-11 10:28:35 +08:00
8bf35daf1a planner: disable mpp_outer_join_fixed_build_side by default (#25240) 2021-06-09 12:44:28 +08:00
cad482c036 planner/core: remove the union branch with dual table. (#25218) 2021-06-08 19:46:28 +08:00
a7f3c4d8bd planner/core: change agg cost factor (#25210) 2021-06-08 15:44:28 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
be63681161 expression: processing empty string for enum index correctly (#25101) 2021-06-04 17:28:28 +08:00
64b469623c planner/core: support limit push down (#24757) 2021-06-04 16:56:28 +08:00
2e083b40e5 statistics: support indexes containing virtual column for full sampling (#24999) 2021-06-04 16:18:28 +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
c59b3bcea6 planner: Mpp outer join build side (#25130) 2021-06-04 12:44:27 +08:00
d3de5479a0 planner: support push down broadcast cartesian join to TiFlash (#25049) 2021-06-03 17:38: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
163eb5f03c planner: Implement PointGet in TryFastPlan for range/list paritition table (#24588)
* implement PointGet in TryFastPlan for range/list partition
2021-05-22 01:23:53 +08:00