timsaucer opened a new pull request, #21263:
URL: https://github.com/apache/datafusion/pull/21263

   ## Which issue does this PR close?
   
   This is a follow on to #20812 and #21209 but treats `ExecutionPlan`.
   
   ## Rationale for this change
   
   This PR reduces the amount of boilerplate code that users need to write for 
execution plans.
   
   ## What changes are included in this PR?
   
   Now that we have [trait 
upcasting](https://blog.rust-lang.org/2025/04/03/Rust-1.86.0/) since rust 1.86, 
we no longer need every implementation of these functions to have the as_any 
function that returns &self. This PR makes Any an supertrait  and makes the 
appropriate casts when necessary.
   
   ## Are these changes tested?
   
   Existing unit tests.
   
   ## Are there any user-facing changes?
   
   Yes, the users simply need to remove the `as_any` function. The upgrade 
guide is updated.
   


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