Commit Graph

595 Commits

Author SHA1 Message Date
2f4f559b83 fix: close issue 59446 make oct("") same as mysql (#61767)
close pingcap/tidb#59446
2025-07-15 02:10:51 +00:00
0c6cbc13c9 planner: fix the issue that the group by check not allow cast expr in both projection and group by (#62354)
close pingcap/tidb#62350
2025-07-14 05:54:42 +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
3c2dc46853 expression: fix the length of casting from INT/REAL/DECIMAL/.... to string (#61476)
close pingcap/tidb#61350
2025-07-09 12:32:06 +00:00
9accc3cfa3 planner: Fix expression rewriting and method signature mismatch in plan cache (#58506)
close pingcap/tidb#56772
2025-07-08 05:01:27 +00:00
1cbda9879e fix: close issue 59457 by trim compare first (#61915)
close pingcap/tidb#59457
2025-07-08 02:19:54 +00:00
b475e1213b planner: apply predicate simplification before extract condition (#62211)
close pingcap/tidb#62212
2025-07-07 10:20:33 +00:00
0fd4b17d54 fix: shut down test without error (#61921)
close pingcap/tidb#62230
2025-07-07 04:00:27 +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
1a3bb653a6 planner: remove the selection above the table dual (#62193)
close pingcap/tidb#62192
2025-07-04 06:13:06 +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
4c9e2eaa15 planner: avoid string type's collate affecting predicate simplification (#62141)
close pingcap/tidb#62019
2025-07-02 21:37:51 +00:00
525d63d330 tests/integrationtest: update s.zip, remove __MACOSX trash file (#62131)
close pingcap/tidb#62130
2025-07-02 06:30:33 +00:00
1c612763c8 planner: Simplify plan cache code.gi (#61906)
close pingcap/tidb#61876
2025-07-02 03:16:54 +00:00
c5c3793e7e planner: predicate simplification when to push down predicate with LogicalSelection (#61739)
close pingcap/tidb#61489
2025-07-01 04:08: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
ce538d6759 planner: fix PointGetPlan.PrunePartitions function works with non-binary collate (#62002)
close pingcap/tidb#59827, close pingcap/tidb#61965
2025-06-28 08:04:30 +00:00
a061683438 stmtsummary: add binding_digest and binding_digest_text columns (#61950)
ref pingcap/tidb#60148
2025-06-27 20:09:45 +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
0dc591ec59 executor: report error when admin check on multiple tables (#61828)
close pingcap/tidb#61827
2025-06-23 02:57:24 +00:00
e4df3b0671 planner: use logical rule to eliminate the dual child item in unionAll and clean code in physical phase. (#61703)
ref pingcap/tidb#51664
2025-06-19 09:47:51 +00:00
d7bad0cb18 planner: fix prune null value in in function for range partition (#61807)
close pingcap/tidb#61726
2025-06-19 03:37:51 +00:00
c48a03d6c3 types/time: invalid timestamp during DST spring forward fixed to next valid ts instead of zero date. (#61533)
close pingcap/tidb#61335
2025-06-16 14:01:57 +00:00
35c1e21115 planner,expression: fix wrong copy args to avoid breaking origin expression when to EvaluateExprWithNull (#61630)
close pingcap/tidb#60625
2025-06-13 10:59:49 +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
4419a28eb9 planner: remove isChildOfIndexLookUp field from physicalTableScan (#61466)
ref pingcap/tidb#51664
2025-06-11 05:41:31 +00:00
dd6b652cde planner: Improve predicate simplification in logicalAnd (#61571)
close pingcap/tidb#61574
2025-06-10 09:47:37 +00:00
tpp
89f2927d37 planner: outer join pruning for constants (#61478)
ref pingcap/tidb#61305
2025-06-06 14:23:46 +00:00
af43e24f24 ddl: fix a bug that index with empty name can be created unexpectedly (#61531)
close pingcap/tidb#61265
2025-06-06 08:11:03 +00:00
1f7fda4c45 planner: fix index merge skyline pruning may be prior to choose distinct partial index rather than the low count one. (#61372)
close pingcap/tidb#61093
2025-06-05 10:19:41 +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
e7b038b991 expression: deduplicate the args of IN function (#61249)
close pingcap/tidb#61246
2025-05-31 02:22:14 +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
73673086c0 expression: introduce new function for JSON array (#60728)
ref pingcap/tidb#60649
2025-05-27 09:58:49 +00:00
998279fef1 planner: index join banned the enforced sort from stream agg, which is not supported in executor layer now. (#61324)
close pingcap/tidb#61323
2025-05-27 05:40:58 +00:00
7702f73bee expression: Timestamp literal with time zone offset (#57845)
close pingcap/tidb#51742
2025-05-26 02:46:25 +00:00
fb627a3fa2 planner: fix new index join build forget to convert cop to root when prop require rootTaskType (#61275)
close pingcap/tidb#61272
2025-05-23 15:21:25 +00:00
bf9fbde9e9 planner: add variable control for index join build v2 and default them on (#60592)
close pingcap/tidb#60106
2025-05-21 08:34:46 +00:00
tpp
6b11bda599 planner: Update default for index selectivity ratio (#61097)
close pingcap/tidb#39187
2025-05-20 20:04:37 +00:00
xhe
d5dcbdf379 server: replace instead of truncate encoded result (#61080)
close pingcap/tidb#61085
2025-05-19 06:43:10 +00:00
555b81c2a7 ddl: Fix invalid expression index (#61135)
close pingcap/tidb#61133
2025-05-16 08:42:40 +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
027a098bf8 planner: avoid adding empty cost formula (#61129)
close pingcap/tidb#61127
2025-05-15 10:00:27 +00:00
cd7a61762f types: fix decodeEscapedUnicode func work with surrogate pair (#61109)
close pingcap/tidb#61091
2025-05-15 06:34:52 +00:00