You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/07/15 12:56:00 UTC
[GitHub] [arrow-rs] alamb commented on issue #558: Make compute kernels easier to use by taking `&ArrayRef` and downcasting internally
alamb commented on issue #558:
URL: https://github.com/apache/arrow-rs/issues/558#issuecomment-880670906
Or maybe the signature could be something like
```rust
fn add(left: A, right: A) -> ArrayRef
where
A: AsRef<dyn Array>
```
So that we could take either an `&ArrayRef` or `&dyn Array` directly
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org