diff --git a/parquet/src/arrow/arrow_reader/mod.rs b/parquet/src/arrow/arrow_reader/mod.rs index 9ed63086c651..6d057494ef53 100644 --- a/parquet/src/arrow/arrow_reader/mod.rs +++ b/parquet/src/arrow/arrow_reader/mod.rs @@ -964,10 +964,7 @@ mod tests { assert_eq!(ret, original); // Ensure can be downcast to the correct type - ret.column(0) - .as_any() - .downcast_ref::() - .unwrap(); + ret.column(0).as_primitive::(); Ok(()) }