alamb commented on code in PR #11534:
URL: https://github.com/apache/arrow-rs/pull/11534#discussion_r4257902030
##########
arrow-data/src/data.rs:
##########
@@ -3963,4 +3998,64 @@ mod tests {
let data_type = DataType::Union(UnionFields::empty(),
UnionMode::Dense);
let _ = ArrayData::new_null(&data_type, 1);
}
+
+ #[test]
+ fn test_union_validate_type_ids() {
Review Comment:
Should we also add a check for negative offsets?
--
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]