efegokdemir commented on code in PR #11209:
URL: https://github.com/apache/arrow-rs/pull/11209#discussion_r4237015756


##########
arrow-data/src/transform/mod.rs:
##########
@@ -843,6 +843,16 @@ impl<'a> MutableArrayData<'a> {
             ));
         }
 
+        if len == 0 {
+            return Ok(());
+        }
+
+        if matches!(&self.data.data_type, DataType::Union(fields, _) if 
fields.is_empty()) {

Review Comment:
   If you're still comfortable with me contributing here, I'd be happy to 
continue and take your feedback on board. But if my contributions are causing 
more trouble than they're worth, I completely understand and I'll step away 
from the project. No hard feelings either way. @Jefffrey @alamb 



-- 
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]

Reply via email to