crepererum commented on code in PR #2902:
URL: https://github.com/apache/arrow-rs/pull/2902#discussion_r1003459174
##########
arrow-array/src/array/mod.rs:
##########
@@ -258,6 +283,10 @@ impl Array for ArrayRef {
self.as_ref().as_any()
}
+ fn as_any_arc(self: Arc<Self>) -> Option<Arc<dyn Any + Send + Sync +
'static>> {
Review Comment:
`as_any` "above" (i.e. in the same `impl`) returns `None`. We only return
`None` for two cases where we have a references that are not `'static` (TBH I
don't really like this solution but couldn't come up with something more
elegant).
--
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]