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

tustvold 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 2c7df9f81 Correct nullable in read_dictionary (#1893)
2c7df9f81 is described below

commit 2c7df9f81aed97dd5a0587c8a2124084e05a98a7
Author: Liang-Chi Hsieh <[email protected]>
AuthorDate: Fri Jun 17 22:49:48 2022 -0700

    Correct nullable in read_dictionary (#1893)
    
    * Correct nullable
    
    * For review
---
 arrow/src/ipc/reader.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrow/src/ipc/reader.rs b/arrow/src/ipc/reader.rs
index 1ac519382..da5098a5e 100644
--- a/arrow/src/ipc/reader.rs
+++ b/arrow/src/ipc/reader.rs
@@ -702,7 +702,7 @@ pub fn read_dictionary(
         DataType::Dictionary(_, ref value_type) => {
             // Make a fake schema for the dictionary batch.
             let schema = Schema {
-                fields: vec![Field::new("", value_type.as_ref().clone(), 
false)],
+                fields: vec![Field::new("", value_type.as_ref().clone(), 
true)],
                 metadata: HashMap::new(),
             };
             // Read a single column

Reply via email to