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.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f0ea18  ARROW-8818: [Rust] Failing to build on master due to 
Flatbuffers/Union issues
0f0ea18 is described below

commit 0f0ea18329c81f38adc1aeeeb4def87c135ff2d8
Author: Paddy Horan <[email protected]>
AuthorDate: Sat May 16 09:10:27 2020 +0200

    ARROW-8818: [Rust] Failing to build on master due to Flatbuffers/Union 
issues
    
    Closes #7198 from paddyhoran/master-fix
    
    Authored-by: Paddy Horan <[email protected]>
    Signed-off-by: Neville Dipale <[email protected]>
---
 rust/parquet/src/arrow/schema.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rust/parquet/src/arrow/schema.rs b/rust/parquet/src/arrow/schema.rs
index 42b8eb8..8b9a90e 100644
--- a/rust/parquet/src/arrow/schema.rs
+++ b/rust/parquet/src/arrow/schema.rs
@@ -262,6 +262,7 @@ fn arrow_to_parquet_type(field: &Field) -> Result<Type> {
                 .with_repetition(repetition)
                 .build()
         }
+        DataType::Union(_) => unimplemented!("See ARROW-8817."),
         DataType::Dictionary(_, ref value) => {
             // Dictionary encoding not handled at the schema level
             let dict_field = Field::new(name, *value.clone(), 
field.is_nullable());

Reply via email to