31 Commits

Author SHA1 Message Date
tpp
0bbbbbe47b planner: suppress column number in plan_tree explain (#65148)
ref pingcap/tidb#63118
2026-01-08 19:07:47 +00:00
7fbc069889 planner: update planner test cases to use plan_tree to avoid unnecessary code changes caused by estimation update (#63207)
ref pingcap/tidb#63118
2025-08-27 01:56:42 +00:00
tpp
3fc94685bf planner: Skyline pruning to include equals within DNF (#62956)
close pingcap/tidb#62955
2025-08-15 21:33:38 +00:00
c8792889dc planner: push down not operator when to simplify predicate (#62943)
close pingcap/tidb#62923
2025-08-13 10:46:21 +00:00
063fa72687 planner: lift the can-push-to-cop check of aggregation/proj (#62068)
ref pingcap/tidb#62006
2025-07-03 13:35:00 +00:00
tpp
61e061e08c planner: selectivity estimate not to go below 1 (#61045)
ref pingcap/tidb#47400
2025-05-13 01:42:12 +00:00
7137c575bb planner: add brief format for some explain test result. (#60992)
ref pingcap/tidb#60106
2025-05-07 11:37:23 +00:00
07ccf7cdce planner: remove redundant branches in the OR list (#58962)
close pingcap/tidb#58998
2025-01-23 04:43:35 +00:00
e53ec591b2 planner: extend predicate simplification for subquery and nested expressions (#58261)
close pingcap/tidb#58171
2024-12-20 18:59:39 +00:00
3df0f2e927 sessionctx: Deprecate static prune mode (#56543)
ref pingcap/tidb#56490
2024-10-16 02:07:47 +00:00
9129323378 *: Deprecate tidb_enable_table_partition and always set to ON (#56190)
close pingcap/tidb#56189
2024-09-25 12:29:34 +00:00
2ef0a36f71 *: Removed tidb_enable_list_partition (#42846)
close pingcap/tidb#42842
2024-09-25 00:24:19 +00:00
tpp
f2c278ddc6 Planner: Do not allow cardinality to go below 1 (#55242)
close pingcap/tidb#47400
2024-08-20 12:00:12 +00:00
669bf4d480 planner: Fix BatchPointGetPlan.HandleColOffset (#54686)
close pingcap/tidb#54667
2024-07-22 08:22:34 +00:00
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00
c79716efb7 tests: add some test cases for global index (#53630)
ref pingcap/tidb#45133
2024-05-29 11:26:50 +00:00
2e756fcb89 tests: speed up integration test (#53426) 2024-05-21 04:29:45 +00:00
b66a85cf14 *: global index support index_merge and mem_index_merge (#52971)
close pingcap/tidb#43013
2024-05-07 04:43:06 +00:00
40c81c0fd5 *: fix global index work with memIndexReader executor (#52660)
close pingcap/tidb#52493
2024-04-28 11:23:57 +00:00
8d9e67b37d planner: Fix issue 52198, HandleColOffset was wrong. (#52210)
close pingcap/tidb#52198
2024-03-28 13:18:48 +00:00
0ed511a84b planner, stats: reduce the persist memory usage of stats after startup (#47496)
close pingcap/tidb#46867
2024-03-14 14:09:41 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
78a07b2bf8 planner: enable FixControl44262 by default if we have tidb_skip_missng_partition_stats (#51405)
ref pingcap/tidb#44262
2024-02-29 05:38:02 +00:00
9fb89b002c executor: fix select wrong partition for hash partition table (#50430)
close pingcap/tidb#50427
2024-01-16 02:36:15 +00:00
2253f2940f *: do not return row not match parition error when using update ingore (#50134)
close pingcap/tidb#50128
2024-01-08 04:22:53 +00:00
ebe334f48b executor: fix select wrong partition for hash partition table (#50045)
close pingcap/tidb#50044
2024-01-04 05:14:02 +00:00
3fd9eaad95 planner: fix between ... and ... get wrong result for partition table (#49853)
close pingcap/tidb#49842
2023-12-29 08:22:59 +00:00
933e713757 executor: fix pointGet and batchPointGet for global index (#47514)
close pingcap/tidb#47513
2023-12-28 12:48:28 +00:00
b7de124be3 tests: move global index related test to tests/integrationtest (#49044)
ref pingcap/tidb#45961
2023-11-30 10:57:04 +00:00
077a3e96cb tests: Update mysql-tester, move tests related with RowsAffected and LastMessage (#48789)
ref pingcap/tidb#45961
2023-11-23 04:11:49 +00:00
ecaa1c518c executor: move IT in pkg/executor/partition_table_test to tests/integrationtest (#47957)
ref pingcap/tidb#47076
2023-10-25 06:38:04 +00:00