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
I know I'm coming in a little late, but have we considered instead making the type `Scalar<Arc<FixedSizeListArray>>`? ([Scalar being the one in arrow-rs](https://docs.rs/arrow/latest/arrow/array/struct.Scalar.html)) This would enforce that the length is 1, which might be nice. I could also understand if that makes it too awkward to work with.
Nested Type including, List, LargeList, FixedSizeList, Struct
Because now, we can only get &dyn Array from fn get() for Scalar
Is this breaking change reasonable?
Also, get_row_at_idx and maybe others that has argument type &[ArrayRef], is there any function that should not be changed from &[ArrayRef] to &[&dyn Array]?
Activity
jayzhan211 commentedon Mar 3, 2024
take
jayzhan211 commentedon Mar 3, 2024
I found that I need to change the signature of
create_hashesfromarrays: &[ArrayRef]toarrays: &[&dyn Array],Because now, we can only get
&dyn Arrayfromfn get()forScalarIs this breaking change reasonable?
Also,
get_row_at_idxand maybe others that has argument type&[ArrayRef], is there any function that should not be changed from&[ArrayRef]to&[&dyn Array]?