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 07:31:32 UTC
[arrow-rs] 01/01: fix reader schema
This is an automated email from the ASF dual-hosted git repository.
nevime pushed a commit to branch parquet-fix-list-reader
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
commit 3d6523afd89be5b0b3d681ab0b12073eb63c9fc6
Author: Neville Dipale <ne...@gmail.com>
AuthorDate: Sat Jun 26 13:08:40 2021 +0200
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 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)