zhuqi-lucas commented on code in PR #25098:
URL: https://github.com/apache/datafusion/pull/25098#discussion_r4012610998


##########
datafusion/physical-optimizer/src/ensure_requirements/enforce_distribution.rs:
##########
@@ -1355,6 +1356,7 @@ fn enforce_distribution_relationships(
 pub fn ensure_distribution(
     dist_context: DistributionContext,
     config: &ConfigOptions,
+    stats_ctx: &StatisticsContext,
 ) -> Result<Transformed<DistributionContext>> {

Review Comment:
   Done. The new entry point is `ensure_distribution_with_stats`; the old 
two-argument `ensure_distribution` stays as a `#[deprecated(since = "56.0.0")]` 
wrapper that allocates a fresh context per call. Upgrade note added to 
`upgrading/56.0.0.md`. That should also clear the semver check.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to