Commit Graph

657 Commits

Author SHA1 Message Date
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
tpp
e10a603ea1 planner: Adjust risk assessment for plan choice (#64419)
close pingcap/tidb#64378
2025-11-15 10:37:22 +00:00
ba32d88b2b tests: Added -P for run-tests.sh to use an already running tidb-server (#64405)
close pingcap/tidb#64404
2025-11-14 16:40:35 +00:00
af24a62da2 infoschema, server: add per connection TLS status (#62563)
close pingcap/tidb#64223
2025-11-14 13:32:11 +00:00
b0d19934d6 ddl: maintain the affect columns for partial index affect columns (#64476)
close pingcap/tidb#64472
2025-11-14 04:06:17 +00:00
384fb211f7 expression: support more locales for FORMAT() (#64316)
ref pingcap/tidb#56167
2025-11-12 07:08:53 +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
4b3e59a05b *: fix incorrect rlike when quering information_schema (#64301)
close pingcap/tidb#64249
2025-11-07 17:29:44 +00:00
fa0106d6c4 util/collate: fix the issue that '�'(\uFFFD) was treated as invalid sequence (#64165)
close pingcap/tidb#64144
2025-10-31 06:55:10 +00:00
800cf83e02 memory: global mem resources arbitrator (#63073)
close pingcap/tidb#58194
2025-10-30 13:13:49 +00:00
a84aea0559 ddl: make some MODIFY COLUMN skip row reorg (#63465)
ref pingcap/tidb#63595
2025-10-25 03:53:22 +00:00
94a25976ff fix: close 64103 by use the right quota (#64104)
close pingcap/tidb#64103
2025-10-23 15:58:53 +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
1d746d80a0 range: wrongly skip the candidate in the extractBestCNFItemRanges (#62585)
close pingcap/tidb#62547
2025-10-22 06:05:28 +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
2b2792b771 planner: increase default tidb_stmt_summary_max_sql_length and better error (#63694)
close pingcap/tidb#63671
2025-10-03 05:46:58 +00:00
tpp
72a540b804 Planner: Add min/max for out of range (#63077)
close pingcap/tidb#63724, close pingcap/tidb#63801
2025-10-01 17:57:25 +00:00
ae3d6acbb5 planner: remove code of the hint nth_plan - 1 (#63803)
ref pingcap/tidb#63802
2025-09-30 02:57:19 +00:00
8840daf482 planner, executor: support access path keep order with IN conditions using merge sort (#62694)
close pingcap/tidb#34882, close pingcap/tidb#63449
2025-09-29 16:22:16 +00:00
933db8df82 parser, planner: Add hint INDEX_LOOKUP_PUSH_DOWN and implement the planner part (#62714)
close pingcap/tidb#62713, close pingcap/tidb#63611
2025-09-27 07:41:43 +00:00
b87965f575 planner: fix nested IN expression rewriter bug (#63757)
close pingcap/tidb#63565
2025-09-26 13:29:55 +00:00
ccec9265a0 planner: add more tests for outer2inner (#63707)
ref pingcap/tidb#60080
2025-09-24 05:28:07 +00:00
8f24f95670 planner: fix the possble wrong plan for dp join reorder (#63648)
close pingcap/tidb#63353
2025-09-22 13:40:10 +00:00
e5861da137 planner, executor: code preparation for supporting access path keep order with IN Conditions using merge sort (#63457)
ref pingcap/tidb#63449
2025-09-17 16:28:05 +00:00
5fac805272 planner: always keep join keys by default (#63470)
ref pingcap/tidb#63314
2025-09-12 05:01:51 +00:00
b704aa49be planner: Show Execution Plans for Scalar Subqueries (#63047)
close pingcap/tidb#63045
2025-09-11 15:48:15 +00:00
tpp
5cb0037c0f planner: allow correlated exists subqueries to early-out (#63287)
ref pingcap/tidb#51116, close pingcap/tidb#63348
2025-09-10 20:50:27 +00:00
tpp
98a285f885 planner: refactor compareCandidates logic (#63349)
ref pingcap/tidb#63336
2025-09-04 15:49:12 +00:00
d75dc0b06c planner: handle firstrow columns in aggregation predicate pushdown (#63059)
ref pingcap/tidb#24853
2025-09-03 15:32:12 +00:00
6134393520 planner: fix unexpected decorrelate for LeftOuterJoin (#63211)
close pingcap/tidb#62937
2025-09-03 09:13:34 +00:00
tpp
8c65f823a9 planner: Include DNF in compareCandidates (#63085)
ref pingcap/tidb#59333
2025-08-27 20:03:04 +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
d3a8bdc50f txn, planner: Fix the problem that with pessimistic-auto-commit enabled, some internal transactions may try to commit transaction with MaxUint64 (#62881)
close pingcap/tidb#62775
2025-08-25 06:38:19 +00:00
aa875ea472 dxf: calculate max_node_count and concurrency for next-gen automatically (#62995)
ref pingcap/tidb#61702
2025-08-22 14:53:38 +00:00
4061d6a5e8 planner: use "explain format=plan_tree" in planner tests (#63148)
ref pingcap/tidb#63118
2025-08-22 09:47:56 +00:00
7dfc503c25 planner: adjust the default value of tidb_opt_limit_push_down_threshold (#63012)
close pingcap/tidb#63011
2025-08-19 05:22:38 +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
9cd2b03833 dxf/crossks: check by inner fields not global var and make crossks real tikvtest work (#62918)
ref pingcap/tidb#61702
2025-08-14 15:00:03 +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
a634b983c5 fix: close issue #59428 to sec_to_time binary same as mysql (#62239)
close pingcap/tidb#59428
2025-08-06 01:00:48 +00:00
1853a13e42 foreign key: check referenced column compatibility when modify column (#62796)
close pingcap/tidb#59705
2025-08-05 14:25:15 +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
8697b39820 tests: adjust test scripts for next-gen (#61499)
ref pingcap/tidb#62803
2025-08-04 10:08:27 +00:00
tpp
7540ef8bf9 planner: refactor order ratio code (#61787)
ref pingcap/tidb#62034
2025-08-04 05:40:36 +00:00
f13696c164 planner: revert enhance partition prune when comparing partition key with constant of different types (#62769)
close pingcap/tidb#62754
2025-08-01 15:14:45 +00:00
a64de14f10 planner: constant propagation can deal with anti semi join (#62539)
close pingcap/tidb#62536
2025-08-01 10:52:15 +00:00