You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/09/28 16:34:50 UTC
[GitHub] [arrow-datafusion] alamb commented on issue #7353: Make ScalarValue an ArrayRef Wrapper
alamb commented on issue #7353:
URL: https://github.com/apache/arrow-datafusion/issues/7353#issuecomment-1739664804
I personally think there is great value in using `ArrayRef` for things like `ScalarValue::List` and `ScalarValue::Struct`. I am not at all sure making `ScalarValue::Int8` or other primitive types is a great idea
My rationale is that the overhead for converting `ScalarValue::Int8` to an ArrayRef on demand when needed by calculation kernels or something similar, is likely to be lower than the overhead of copying ArrayRefs around (serializing them, for example).
--
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