alamb commented on a change in pull request #810:
URL: https://github.com/apache/arrow-rs/pull/810#discussion_r739646928
##########
File path: arrow/src/array/array_union.rs
##########
@@ -137,7 +137,10 @@ impl UnionArray {
}
}
- Ok(Self::new(type_ids, value_offsets, child_arrays, bitmap))
+ let new_self = Self::new(type_ids, value_offsets, child_arrays,
bitmap);
+ new_self.data().validate()?;
Review comment:
As part of #85 I will clean up the union array validation
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]