162 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
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
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
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
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
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
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
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
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
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
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
4419a28eb9 planner: remove isChildOfIndexLookUp field from physicalTableScan (#61466)
ref pingcap/tidb#51664
2025-06-11 05:41:31 +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
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
7137c575bb planner: add brief format for some explain test result. (#60992)
ref pingcap/tidb#60106
2025-05-07 11:37:23 +00:00
d85884c569 planner: use brief format to record explain test result in integration-test. (#60980)
ref pingcap/tidb#60106
2025-05-06 15:27:45 +00:00
4012a7439a expression: gopls modernize (#60791)
close pingcap/tidb#60790
2025-05-06 14:03:42 +00:00
e029d980a2 planner: fix panic when execute select 1 for update (#60800)
close pingcap/tidb#60798
2025-04-24 06:11:08 +00:00
4e79288514 executor: fix schema-table inconsistent issue in IS.tables (#60638)
close pingcap/tidb#60593
2025-04-18 01:09:13 +00:00
3746163b52 executor/grant: fix grant local temporary table success (#60275)
close pingcap/tidb#29266
2025-03-26 12:06:54 +00:00
3bbd678ef6 planner: report error when subquery doesn't has an alias (#60159)
close pingcap/tidb#60112
2025-03-19 06:29:08 +00:00
54b42a5756 charset,collation: implement GB18030 and 2 collations (#55792)
close pingcap/tidb#31692, close pingcap/tidb#31693, close pingcap/tidb#31694, ref pingcap/tidb#55791
2025-03-12 04:44:15 +00:00
b31b12d574 executor: fix warning message for insert ignore with binary type (#59844)
close pingcap/tidb#31639
2025-02-28 16:01:45 +00:00
4cf94a7446 expression: refine invalid char error msg for string conversion (#59711)
close pingcap/tidb#56706
2025-02-25 09:48:21 +00:00
0fdb32530d ddl notifier: use pessimistic txn and fix updating memory state too early (#59157)
close pingcap/tidb#59055
2025-02-07 12:17:55 +00:00
a69f8633aa *: fix insert max unsigned int64 to non-clustered table (#58643)
close pingcap/tidb#58631
2025-01-23 15:25:02 +00:00
f56a92bc71 copr: add MppVersionV3 (#58652)
ref pingcap/tidb#58654
2025-01-13 10:25:04 +00:00
7063a6fce0 *: fix a bug for default_authentication_plugin (#57391)
ref pingcap/tidb#54138
2025-01-06 10:28:46 +00:00
4e6dc7bf30 sessionctx: Remove Query Cache (#58352)
close pingcap/tidb#9156
2024-12-27 20:23:42 +00:00