You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ne...@apache.org on 2021/06/30 21:56:50 UTC

[arrow-rs] branch master updated: fix reader schema (#513)

This is an automated email from the ASF dual-hosted git repository.

nevime pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new ef88876  fix reader schema (#513)
ef88876 is described below

commit ef8887609017680d94b2a35f9889aa10cf3b3de8
Author: Wakahisa <ne...@gmail.com>
AuthorDate: Wed Jun 30 23:56:44 2021 +0200

    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 6e87512..acc5141 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)