adriangb commented on PR #18168:
URL: https://github.com/apache/datafusion/pull/18168#issuecomment-3536888118

   > Following that same pattern, for the same reason that a `TaskContext` 
exists for execution, one could argue that an equivalent `OptimizerContext` 
struct for optimization steps could make sense.
   
   Yep agreed! And we can even add a new method to the trait `optimize_plan` or 
something that accepts an `OptimizerContext` and delegates to the existing 
method by default to ease the transition / make it a non breaking change for 
now. It will still be tricky to deprecate the original method, there is no 
deprecation of trait methods…


-- 
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