From 3d6523afd89be5b0b3d681ab0b12073eb63c9fc6 Mon Sep 17 00:00:00 2001 From: Neville Dipale Date: Sat, 26 Jun 2021 13:08:40 +0200 Subject: [PATCH] fix reader schema We aren't comparing the right values --- parquet/benches/arrow_array_reader.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/parquet/benches/arrow_array_reader.rs b/parquet/benches/arrow_array_reader.rs index 6e875128c2a8..acc5141bcbab 100644 --- a/parquet/benches/arrow_array_reader.rs +++ b/parquet/benches/arrow_array_reader.rs @@ -31,13 +31,9 @@ fn build_test_schema() -> SchemaDescPtr { let message_type = " message test_schema { REQUIRED INT32 mandatory_int32_leaf; - REPEATED Group test_mid_int32 { - OPTIONAL INT32 optional_int32_leaf; - } + OPTIONAL INT32 optional_int32_leaf; REQUIRED BYTE_ARRAY mandatory_string_leaf (UTF8); - REPEATED Group test_mid_string { - OPTIONAL BYTE_ARRAY optional_string_leaf (UTF8); - } + OPTIONAL BYTE_ARRAY optional_string_leaf (UTF8); } "; parse_message_type(message_type)