From ef8887609017680d94b2a35f9889aa10cf3b3de8 Mon Sep 17 00:00:00 2001 From: Wakahisa Date: Wed, 30 Jun 2021 23:56:44 +0200 Subject: [PATCH] fix reader schema (#513) 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)