diff --git a/tests/it/array/growable/list.rs b/tests/it/array/growable/list.rs index 9aa56b109a..dc992bf0ff 100644 --- a/tests/it/array/growable/list.rs +++ b/tests/it/array/growable/list.rs @@ -36,7 +36,6 @@ fn extension() { let result: ListArray = a.into(); assert_eq!(array_ext.data_type(), result.data_type()); - dbg!(result); } #[test] diff --git a/tests/it/compute/concatenate.rs b/tests/it/compute/concatenate.rs index 45f244be0c..cb3b04e693 100644 --- a/tests/it/compute/concatenate.rs +++ b/tests/it/compute/concatenate.rs @@ -137,5 +137,5 @@ fn list_of_extensions_of_struct() { let empty1 = new_empty_array(data_type.clone()); let c = concatenate(&[empty0.as_ref(), empty1.as_ref()]).unwrap(); - dbg!(c.data_type()); + assert_eq!(c.data_type(), &data_type); } diff --git a/tests/it/ffi/data.rs b/tests/it/ffi/data.rs index 8b77bdf49a..81e2ba6d9e 100644 --- a/tests/it/ffi/data.rs +++ b/tests/it/ffi/data.rs @@ -362,24 +362,10 @@ fn extension_children() -> Result<()> { ), true, ); - test_round_trip_schema(field) -} - -#[test] -fn extension_struct() -> Result<()> { - let data_type = DataType::Extension( - "ext".to_owned(), - Box::new(DataType::Struct(vec![Field::new( - "a", - DataType::Int32, - true, - )])), - None, - ); + test_round_trip_schema(field.clone())?; let values = vec![Int32Array::from([Some(1), None, Some(3)]).boxed()]; let validity = Bitmap::from([true, false, true]); - - let array = StructArray::new(data_type, values, validity.into()); + let array = StructArray::new(field.data_type, values, validity.into()); test_round_trip(array) -} +} \ No newline at end of file