Commit Graph

1148 Commits

Author SHA1 Message Date
a16aedeb9f planner: fix expand operator shouldn't keep child keys && fix grouping function forget to encode their func meta (#62558)
close pingcap/tidb#62551
2025-07-23 14:42:14 +00:00
9b1c8eef85 planner: move max-one-row related logic into physical op dir (#62569)
ref pingcap/tidb#52714
2025-07-23 11:56:02 +00:00
2e223fab99 planner: move BasePhysicalJoin related logic into physical op dir (#62571)
ref pingcap/tidb#52714
2025-07-23 09:43:27 +00:00
be5bc77b73 planner: Remove InPreparedPlanBuilding member from StatementContext. (#62542)
ref pingcap/tidb#61876
2025-07-23 09:43:20 +00:00
c3722d72ad planner: move physical projection related logic into physical op dir (#62533)
ref pingcap/tidb#52714
2025-07-23 02:31:21 +00:00
f21e394279 planner: simplify predicate with the static prune (#62507)
close pingcap/tidb#62494
2025-07-23 02:31:14 +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
5ae6ad63c2 session: rename and unify location of interfaces, and some refactor (#62498)
ref pingcap/tidb#61702
2025-07-22 07:43:38 +00:00
55ff7e8a3a planner: add plan_test cases covering cascades mode (#62511)
ref pingcap/tidb#62328
2025-07-22 02:15:26 +00:00
96f5396be1 planner: add hint_test cases covering cascades mode (#62508)
ref pingcap/tidb#62328
2025-07-21 20:42:05 +00:00
52b83cfcfa planner: reuse slices with buildKeyInfo (#62525)
close pingcap/tidb#62526
2025-07-21 11:16:37 +00:00
6bbccf8e34 planner: add cbo_test cases covering cascades mode (#62431)
ref pingcap/tidb#62328
2025-07-21 08:47:19 +00:00
e823930fc8 *: fix the issue about the case-insensitive in resource group hint (#62374)
close pingcap/tidb#62361
2025-07-18 21:38:22 +00:00
7d2cd17ca8 planner: move physical memory table into physical op dir (#62500)
ref pingcap/tidb#52714
2025-07-18 17:44:43 +00:00
771012e6f3 planner: constant propagation supports more join type in the logical plan builder (#61909)
close pingcap/tidb#51700
2025-07-18 10:27:49 +00:00
e2a9f04ee7 disttask, importer: show more detailed progress in SHOW IMPORT JOBS (#62283)
ref pingcap/tidb#61088
2025-07-18 07:59:39 +00:00
0fc2d8bfd8 tests: add create index realtikv test for next_gen (#62326)
ref pingcap/tidb#61702
2025-07-18 07:16:24 +00:00
3d7650d9fb planner: remove the test of manually setting cost v2 (#62493) 2025-07-18 06:24:57 +00:00
d6e8bd7853 planner: correct plan generation logic for PartitionUnionAll in Cascades framework (#62474)
ref pingcap/tidb#62328, close pingcap/tidb#62472
2025-07-18 04:26:03 +00:00
946822ade4 planner: move physical union scan related logic into physical op dir (#62481)
ref pingcap/tidb#52714
2025-07-17 13:31:27 +00:00
557a7c10b3 planner: remove the useless debug code (#62482)
ref pingcap/tidb#52714
2025-07-17 12:50:27 +00:00
7d757626e1 planner: move physical table dual related logic into unified physical op file. (#62394)
ref pingcap/tidb#52714
2025-07-17 08:55:54 +00:00
a860dac16d planner: fix Predicate simplification is not the simplest for selection (#62464)
close pingcap/tidb#62463
2025-07-17 07:05:09 +00:00
939bf87013 planner/core: update missing virtual columns in update and insert (#58401)
close pingcap/tidb#58400
2025-07-17 06:20:00 +00:00
94121719e2 executor, distsql: add retry for EstablishMPPConnection on failure (#62355)
close pingcap/tidb#62421
2025-07-16 16:45:09 +00:00
8e485c1e36 planner: memory table extractor filter targets by all regexp (#62399)
close pingcap/tidb#62347
2025-07-16 09:03:12 +00:00
588a63772a planner: go deeper to remove empty selection (#62426)
close pingcap/tidb#62240
2025-07-15 22:35:03 +00:00
124c35f766 planner: add unit/integration test case example covering cascades mode (#62402)
ref pingcap/tidb#62328
2025-07-15 07:04:06 +00:00
2b4469a6bd planner: add error as return value for predicate-push-down (#62258)
ref pingcap/tidb#61185
2025-07-15 03:20:12 +00:00
10c9872c78 planner: Allow prepared and non-prepared queries with set_var and resource_group hints to be cached. (#62367)
close pingcap/tidb#60920
2025-07-14 11:33:06 +00:00
19e1efaa01 planner: refactor physical optimization to receive group as parameter and enumerate plans based on group (#61244)
ref pingcap/tidb#62328
2025-07-14 08:25:21 +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
3e2def6179 planner: fix sql with static partition pruning mode got nil pointer error (#62381)
close pingcap/tidb#62331
2025-07-14 03:02:06 +00:00
c765578a11 planner: remove empty selection (#62332)
close pingcap/tidb#62240
2025-07-13 19:49:27 +00:00
db81dee5ed crossks: forbid cross ks session to access user tables and run DDL (#62270)
ref pingcap/tidb#61702
2025-07-11 06:39:39 +00:00
a712249d45 planner: move physical selection related logic into physical op (#62339)
ref pingcap/tidb#52714
2025-07-10 09:55:21 +00:00
a957b33018 expr: Execute checkOrInit before constant folding (#62320)
ref pingcap/tidb#45756
2025-07-10 05:04:51 +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
fe8d82fedd planner: move all physical topN related logic into physical op. (#62250)
ref pingcap/tidb#52714
2025-07-09 10:52:03 +00:00
6b7a0ed5b6 planner: use prop based noCopPushDown mechanism to replace aggregation field. (#62249)
ref pingcap/tidb#62006
2025-07-08 03:18:48 +00:00
81370d4c72 planner: add skew risk ratio for range pred (#62035)
close pingcap/tidb#62093
2025-07-07 20:32:30 +00:00
0cd280bbd2 meta: unify definition of system or memory DB name (#62247)
ref pingcap/tidb#61702
2025-07-07 19:17:48 +00:00
d87ec2b188 planner: RegardNULLAsPoint should be true as default (#62194)
close pingcap/tidb#62196
2025-07-07 11:09:00 +00:00
b475e1213b planner: apply predicate simplification before extract condition (#62211)
close pingcap/tidb#62212
2025-07-07 10:20:33 +00:00
ee9f2305ba planner: deprecate the logical interface CanPushToCop and its implementation canPushToCopImpl. (#62235)
ref pingcap/tidb#62006
2025-07-07 07:15: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
a5b09b54ad planner: change casetest instance-plan-cache test timeout. (#62195) 2025-07-04 13:08:06 +00:00
b7694f40e5 planner: remove data race for instance plan cache (#62217)
ref pingcap/tidb#62153
2025-07-04 11:23:21 +00:00
1a3bb653a6 planner: remove the selection above the table dual (#62193)
close pingcap/tidb#62192
2025-07-04 06:13:06 +00:00
15fe8f1be9 telemetry: add telemetry related code back (#61753)
close pingcap/tidb#61766
2025-07-04 05:19:57 +00:00