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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to