Skip to content

Commit f1ffe27

Browse files
committed
chore[fuzzer]: disable fsl for now
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 6a9dad9 commit f1ffe27

File tree

1 file changed

+8
-7
lines changed
  • vortex-dtype/src/arbitrary

1 file changed

+8
-7
lines changed

vortex-dtype/src/arbitrary/mod.rs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ impl<'a> Arbitrary<'a> for FieldName {
2828

2929
fn 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

Comments
 (0)