33
44use std:: sync:: Arc ;
55
6- use vortex_buffer:: buffer;
76use vortex_buffer:: BitBuffer ;
87use vortex_buffer:: Buffer ;
9- use vortex_dtype:: match_each_decimal_value;
10- use vortex_dtype:: match_each_decimal_value_type;
11- use vortex_dtype:: match_each_native_ptype;
8+ use vortex_buffer:: buffer;
129use vortex_dtype:: DType ;
1310use vortex_dtype:: DecimalType ;
1411use vortex_dtype:: Nullability ;
12+ use vortex_dtype:: match_each_decimal_value;
13+ use vortex_dtype:: match_each_decimal_value_type;
14+ use vortex_dtype:: match_each_native_ptype;
1515use vortex_error:: VortexExpect ;
1616use vortex_scalar:: BinaryScalar ;
1717use vortex_scalar:: BoolScalar ;
@@ -23,8 +23,8 @@ use vortex_scalar::StructScalar;
2323use vortex_scalar:: Utf8Scalar ;
2424use vortex_vector:: binaryview:: BinaryView ;
2525
26- use crate :: arrays :: constant :: ConstantArray ;
27- use crate :: arrays :: primitive :: PrimitiveArray ;
26+ use crate :: Canonical ;
27+ use crate :: IntoArray ;
2828use crate :: arrays:: BoolArray ;
2929use crate :: arrays:: ConstantVTable ;
3030use crate :: arrays:: DecimalArray ;
@@ -34,11 +34,11 @@ use crate::arrays::ListViewArray;
3434use crate :: arrays:: NullArray ;
3535use crate :: arrays:: StructArray ;
3636use crate :: arrays:: VarBinViewArray ;
37+ use crate :: arrays:: constant:: ConstantArray ;
38+ use crate :: arrays:: primitive:: PrimitiveArray ;
3739use crate :: builders:: builder_with_capacity;
3840use crate :: validity:: Validity ;
3941use crate :: vtable:: CanonicalVTable ;
40- use crate :: Canonical ;
41- use crate :: IntoArray ;
4242
4343impl CanonicalVTable < ConstantVTable > for ConstantVTable {
4444 fn canonicalize ( array : & ConstantArray ) -> Canonical {
@@ -325,21 +325,21 @@ mod tests {
325325
326326 use enum_iterator:: all;
327327 use itertools:: Itertools ;
328- use vortex_dtype:: half:: f16;
329328 use vortex_dtype:: DType ;
330329 use vortex_dtype:: Nullability ;
331330 use vortex_dtype:: PType ;
331+ use vortex_dtype:: half:: f16;
332332 use vortex_scalar:: Scalar ;
333333
334+ use crate :: Array ;
335+ use crate :: IntoArray ;
334336 use crate :: arrays:: ConstantArray ;
335337 use crate :: arrays:: ListViewRebuildMode ;
336338 use crate :: canonical:: ToCanonical ;
337339 use crate :: expr:: stats:: Stat ;
338340 use crate :: stats:: StatsProvider ;
339341 use crate :: validity:: Validity ;
340342 use crate :: vtable:: ValidityHelper ;
341- use crate :: Array ;
342- use crate :: IntoArray ;
343343
344344 #[ test]
345345 fn test_canonicalize_null ( ) {
0 commit comments