trait ToIndices {
    type T: ArrowPrimitiveType;
    // Required method
    fn to_indices(&self) -> PrimitiveArray<Self::T>;
}Expand description
To avoid generating take implementations for every index type, instead we only generate for UInt32 and UInt64 and coerce inputs to these types