nevi-me commented on pull request #984:
URL: https://github.com/apache/arrow-rs/pull/984#issuecomment-994093090


   It's been a while, but if I recall correctly, the idea was for compute 
kernels in arrow to follow a similar approach to C++ where we have a `Datum` 
(or whatever we call it), which could likely be an enum of the same datatype. 
Within that Datum, we'd have `Scalar`, `Array`, ... 
   
   The C++ impl has a `ChunkedArray` which is effectively `Vec<Array>`, but we 
never went with that.
   
   It would have been desirable to move `Scalar` to arrow at the time, but 
that's fortunately been done in arrow2.


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


Reply via email to