adriangb commented on code in PR #19030: URL: https://github.com/apache/datafusion/pull/19030#discussion_r2581643969
########## docs/source/library-user-guide/upgrading.md: ########## @@ -332,6 +332,102 @@ let config = FileScanConfigBuilder::new(url, source) **Handling projections in `FileSource`:** +### `PhysicalOptimizerRule::optimize` deprecated in favor of `optimize_plan` + +The `PhysicalOptimizerRule` trait has been updated to provide optimizer rules with access to broader session context. A new method `optimize_plan` has been added that accepts an `OptimizerContext` parameter, and the existing `optimize` method has been deprecated. + +**Who is affected:** + +- Users who have implemented custom `PhysicalOptimizerRule` implementations Review Comment: Sorry about this! At least it should be pretty mechanical and you'll have several releases... -- 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]
