From 50341fb8704fb34d69ae6534da4034ced6d0f6d0 Mon Sep 17 00:00:00 2001 From: "Jorge C. Leitao" Date: Wed, 17 Aug 2022 05:26:42 +0000 Subject: [PATCH] Cleaned code --- src/io/parquet/write/nested/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/io/parquet/write/nested/mod.rs b/src/io/parquet/write/nested/mod.rs index 39a3f4eddf5..4a92e321f87 100644 --- a/src/io/parquet/write/nested/mod.rs +++ b/src/io/parquet/write/nested/mod.rs @@ -65,9 +65,6 @@ fn write_def_levels(buffer: &mut Vec, nested: &[Nested], version: Version) - let levels = def::DefLevelsIter::new(nested); - let mut buffer1 = vec![]; - encode_u32(&mut buffer1, def::DefLevelsIter::new(nested), num_bits).unwrap(); - match version { Version::V1 => write_levels_v1(buffer, move |buffer: &mut Vec| { encode_u32(buffer, levels, num_bits)?;