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

   ## Which issue does this PR close?
   
   This addresses part of #21572
   
   ## Rationale for this change
   
   This PR reduces the amount of boilerplate code that users need to write.
   
   ## 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 traits 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