Commit Graph

208 Commits

Author SHA1 Message Date
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
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
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
351445e66b *: Support building FULLTEXT index (#60720)
ref pingcap/tidb#1793
2025-04-25 03:42:37 +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
tpp
d46ecaa4c3 planner: add optimizer cost factors (#60333)
close pingcap/tidb#60357
2025-04-10 21:56:33 +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
ba9f6ff316 infoschema: make columns table compatible with MySQL 8.0 (#59779)
close pingcap/tidb#59775
2025-02-26 14:52:31 +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
fa0bc8e5bc planner: change more conditions that are always false to dual (#59199)
close pingcap/tidb#51446
2025-02-07 11:21:34 +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
07ccf7cdce planner: remove redundant branches in the OR list (#58962)
close pingcap/tidb#58998
2025-01-23 04:43:35 +00:00
cc4b0938e5 planner, executor: add privilege check for traffic replay (#59054)
close pingcap/tidb#59053
2025-01-21 13:16:02 +00:00
32d11a87c5 statistics: fix the behavior of DROP STATS after #58596 (#59031)
ref pingcap/tidb#58181
2025-01-21 04:11:42 +00:00
c744ea44af json: add json fuzz test for json_extract function and fix several bugs found by it (#58899)
close pingcap/tidb#37806, close pingcap/tidb#58888, close pingcap/tidb#58894, close pingcap/tidb#58895, close pingcap/tidb#58896, close pingcap/tidb#58897
2025-01-14 11:28:04 +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