You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ScalarValue::try_from_array are used in areas such as accumulators.
Currently arrowslice is used for Struct/Union/List types, causing accumulators holding onto the original arrays (rather than a single value), and thus higher memory usage.
To Reproduce
Create an (struct / list type) array of size n and use ScalarValue::try_from_array to convert it into a ScalarValue.
Expected behavior
Value is copied into a new Array or there would be needing efficient way of representing the scalar value.
Memory usage should be corresponding to a single value rather than the full input array.