Skip to content

Commit a67ddce

Browse files
committed
fmt variant_get tests
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
1 parent 081b9c4 commit a67ddce

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • encodings/parquet-variant/src/variant_get

encodings/parquet-variant/src/variant_get/tests.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ fn apply_variant_get(arr: &ArrayRef, field: &str) -> VortexResult<ArrayRef> {
3939
/// Convert a Vortex result back to an Arrow VariantArray for comparison.
4040
fn vortex_to_arrow_variant(arr: &ArrayRef) -> ArrowVariantArray {
4141
let variant = arr.as_::<vortex_array::arrays::Variant>();
42-
let pv = variant
43-
.child()
44-
.as_::<ParquetVariant>();
42+
let pv = variant.child().as_::<ParquetVariant>();
4543
let mut ctx = LEGACY_SESSION.create_execution_ctx();
4644
pv.to_arrow(&mut ctx).unwrap()
4745
}

0 commit comments

Comments
 (0)