230 Commits

Author SHA1 Message Date
920ee6e011 ddl: forbid operations that might change system table id in nextgen (#65411)
ref pingcap/tidb#61702
2026-01-09 10:52:05 +00:00
tpp
0bbbbbe47b planner: suppress column number in plan_tree explain (#65148)
ref pingcap/tidb#63118
2026-01-08 19:07:47 +00:00
b9034ca064 ddl: check TTL constraints for temporary tables (#65246)
close pingcap/tidb#64948
2025-12-31 18:02:32 +00:00
6c6955dd84 chunk: fix the issue that the last_sql_use_alloc is not correct if it only reuses the chunk for results (#65254)
close pingcap/tidb#65253
2025-12-25 08:50:38 +00:00
7dea15e880 expression: support newer UUID types (#65007)
close pingcap/tidb#61982
2025-12-24 18:05:55 +00:00
9aa228717e test: force to create table with "clustered" for index lookup push down tests (#65167)
ref pingcap/tidb#62575
2025-12-23 01:33:59 +00:00
ce06e5d382 *: fix index lookup pushdown error for partition table + uncomitted rows (#65157)
close pingcap/tidb#65155
2025-12-22 08:30:40 +00:00
8227b493ba executor: nonclustered partitioned table could miss updates due to duplicate _tidb_rowid from EXCHANGE PARTITION (#65084)
close pingcap/tidb#65067
2025-12-18 04:59:59 +00:00
69fb8dbc92 *: support system variable tidb_index_lookup_pushdown_policy and hint NO_INDEX_LOOKUP_PUSHDOWN (#64932)
ref pingcap/tidb#62575
2025-12-15 05:38:47 +00:00
80f74ede58 stats: set the default analyze column options to all (#64994)
ref pingcap/tidb#64992
2025-12-12 23:58:19 +00:00
d897c6191a tests: make some index lookup push down test stable (#65001)
close pingcap/tidb#62575
2025-12-12 07:52:08 +00:00
5271f751a0 planner: remove code of the deprecated optimizer trace - 5 (#64945)
ref pingcap/tidb#63725
2025-12-12 04:16:26 +00:00
ab314687d6 *: upgrade golang to 1.25.5 (#63475)
close pingcap/tidb#62981
2025-12-10 09:40:20 +00:00
91a2277e0e expression: keep the same order of scalarFunction's args when to prepagate constant (#64927)
close pingcap/tidb#64924
2025-12-09 13:04:11 +00:00
5d1f8dde49 test: optimize the test for TopN in index lookup pushdown. (#64867)
close pingcap/tidb#64866
2025-12-08 08:31:04 +00:00
5ee17f4a1d *: support for partition table and common handle for index lookup push down (#64839)
ref pingcap/tidb#62575, close pingcap/tidb#64594, close pingcap/tidb#64595
2025-12-04 09:07:23 +00:00
95a28edc4d planner: fix hint index_lookup_pushdown may affect other hint even pushdown is not allowed (#64520)
close pingcap/tidb#64519
2025-11-18 04:27:05 +00:00
af24a62da2 infoschema, server: add per connection TLS status (#62563)
close pingcap/tidb#64223
2025-11-14 13:32:11 +00:00
8c2781681a ddl,tables: only write the index when it meets partial index condition (#62762)
close pingcap/tidb#62761
2025-11-12 04:37:38 +00:00
4865e394b3 ddl,parser: modify schema to store the partial condition (#62759)
close pingcap/tidb#62758
2025-10-22 09:54:26 +00:00
e7aba13758 tests: small fix of test of index_lookup_pushdown.test (#63906)
ref pingcap/tidb#63745
2025-10-11 06:30:15 +00:00
967cc9b130 executor: finish INDEX_LOOKUP_PUSHDOWN execution part (#63746)
close pingcap/tidb#63745
2025-10-09 16:17:33 +00:00
5fac805272 planner: always keep join keys by default (#63470)
ref pingcap/tidb#63314
2025-09-12 05:01:51 +00:00
d75dc0b06c planner: handle firstrow columns in aggregation predicate pushdown (#63059)
ref pingcap/tidb#24853
2025-09-03 15:32:12 +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
259852d340 *: add the new SEMv2 config and implement most of the functions (#61634)
close pingcap/tidb#61582, close pingcap/tidb#61583, close pingcap/tidb#61584, close pingcap/tidb#61585
2025-08-18 13:38:47 +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
01bfccb1e8 importinto: add GROUP_KEY option to import jobs (#62369)
ref pingcap/tidb#61088
2025-08-15 03:22:51 +00:00
a6b139988d planner: fix PropagateConstant create useless expression (#62864)
close pingcap/tidb#45839
2025-08-14 12:40:12 +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
463f7a9a6d planner: fix the old only full group check should be case-insensitive. (#62751)
close pingcap/tidb#62672
2025-08-04 15:52:09 +00:00
tpp
822553b58e planner: apply ordering ratio to tablerangescan (#61506)
close pingcap/tidb#61540
2025-07-26 16:49:45 +00:00
8d4b52a70a planner: fixed index out of range, in explicit partition pruning (#62468)
close pingcap/tidb#62458
2025-07-22 11:46:47 +00:00
9e961c0aa0 ddl: check when updateVersionAndTableInfo (#62470)
close pingcap/tidb#62457
2025-07-17 10:31:21 +00:00
a7c824dfe0 executor: update stats table row cache in batch (#62042)
close pingcap/tidb#62020
2025-07-11 02:32:21 +00:00
01c2af36e9 executor: fix the issue during analyze when first col is virtual col (#62333)
close pingcap/tidb#61606
2025-07-10 07:53:48 +00:00
1cbda9879e fix: close issue 59457 by trim compare first (#61915)
close pingcap/tidb#59457
2025-07-08 02:19:54 +00:00
5968f818bf planner: lift the canPushToCop check of logical join/window/selection (#62206)
ref pingcap/tidb#62006
2025-07-07 02:39:57 +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
91dcec40fd codec: should also return the value even with error because the error may be ignored in the future (#62175)
close pingcap/tidb#61735
2025-07-03 06:55:06 +00:00
cd0965a3a8 fix: close issue #59456 make it same as mysql (#62010)
close pingcap/tidb#59456
2025-06-30 05:34:45 +00:00
b3fbdc6e9c planner: lift can-push-to-cop check of expand/unionall/sort. (#62005)
ref pingcap/tidb#62006
2025-06-28 08:46:33 +00:00
0870187da4 planner: try removing parent operator type assert in implementation of CanPushToCop check (#61879)
ref pingcap/tidb#51664
2025-06-25 04:34:39 +00:00
45de54a3b7 expression/parser: Cleanup MASTER_POS_WAIT (#60928)
close pingcap/tidb#60927
2025-06-12 19:16:43 +00:00
8d02f1fc8a planner: fix the wrong join estimation depending on missing or uninitialized stats (#61604)
close pingcap/tidb#61602
2025-06-11 11:46:19 +00:00
5ce93d1969 prepare, stmtctx: fix the issue that errors/warnings in parse stage are not cleaned or reported (#59276)
close pingcap/tidb#59132, close pingcap/tidb#59275
2025-06-05 07:04:14 +00:00
bed8f2573a executor: fix INSERT IGNORE + STRICT Mode + DST transition. (#61440)
close pingcap/tidb#61439
2025-06-03 05:08:38 +00:00
98dd9708b3 *: Fix insert dst transition timestamp (#61337)
close pingcap/tidb#61334
2025-05-29 03:35:01 +00:00
842c88bf7c planner: predicate simplification when to push down predicate with join (#61316)
close pingcap/tidb#45785
2025-05-27 10:45:22 +00:00
a206b0b121 distsql: do not change concurrency for keep order request when @@tidb_distsql_scan_concurrency is set (#60803)
close pingcap/tidb#60891
2025-05-16 07:22:28 +00:00