You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/06/06 19:04:59 UTC

[GitHub] [arrow-rs] alamb commented on a diff in pull request #1789: Read and skip validity buffer of UnionType Array for V4 ipc message

alamb commented on code in PR #1789:
URL: https://github.com/apache/arrow-rs/pull/1789#discussion_r890453530


##########
arrow/src/ipc/reader.rs:
##########
@@ -201,6 +206,13 @@ fn create_array(
 
             let len = union_node.length() as usize;
 
+            // In V4, union types has validity bitmap
+            // In V5 and later, union types have no validity bitmap
+            if metadata < &ipc::MetadataVersion::V5 {

Review Comment:
   👍 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org