@@ -28,7 +28,8 @@ impl<'a> Arbitrary<'a> for FieldName {
2828
2929fn random_dtype ( u : & mut Unstructured < ' _ > , depth : u8 ) -> Result < DType > {
3030 const BASE_TYPE_COUNT : i32 = 5 ;
31- const CONTAINER_TYPE_COUNT : i32 = 3 ;
31+ // TODO(joe): update to 3 once fsl works
32+ const CONTAINER_TYPE_COUNT : i32 = 2 ;
3233 let max_dtype_kind = if depth == 0 {
3334 BASE_TYPE_COUNT
3435 } else {
@@ -45,12 +46,12 @@ fn random_dtype(u: &mut Unstructured<'_>, depth: u8) -> Result<DType> {
4546 // container types
4647 6 => DType :: Struct ( random_struct_dtype ( u, depth - 1 ) ?, u. arbitrary ( ) ?) ,
4748 7 => DType :: List ( Arc :: new ( random_dtype ( u, depth - 1 ) ?) , u. arbitrary ( ) ?) ,
48- 8 => DType :: FixedSizeList (
49- Arc :: new ( random_dtype ( u, depth - 1 ) ?) ,
50- // We limit the list size to 3 rather (following random struct fields).
51- u. choose_index ( 3 ) ?. try_into ( ) . vortex_expect ( "impossible" ) ,
52- u. arbitrary ( ) ?,
53- ) ,
49+ // 8 => DType::FixedSizeList(
50+ // Arc::new(random_dtype(u, depth - 1)?),
51+ // // We limit the list size to 3 rather (following random struct fields).
52+ // u.choose_index(3)?.try_into().vortex_expect("impossible"),
53+ // u.arbitrary()?,
54+ // ),
5455 // Null,
5556 // Extension(ExtDType, Nullability),
5657 _ => unreachable ! ( "Number out of range" ) ,
0 commit comments