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
If this column is of an Int32 type, it returns an Int32Array.
Given that the ColumnarValue::Scalar's cardinality is 1, in some special cases, we can turn it into a dictionary array in order to obtain some performance gains.
Describe the solution you'd like
For example, if we want to turn a scalar value of f64 type into an array of size 256, we can return a dictionary f64 array of uint8 key type.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem or challenge?
We have a
into_array
function ofColumnarValue
which converts it into an arrow array like this:If this column is of an Int32 type, it returns an Int32Array.
Given that the
ColumnarValue::Scalar
's cardinality is 1, in some special cases, we can turn it into a dictionary array in order to obtain some performance gains.Describe the solution you'd like
For example, if we want to turn a scalar value of f64 type into an array of size 256, we can return a dictionary f64 array of uint8 key type.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: