jorisvandenbossche commented on code in PR #41757:
URL: https://github.com/apache/arrow/pull/41757#discussion_r1625650040


##########
cpp/src/arrow/array/array_nested.cc:
##########
@@ -827,6 +827,15 @@ Result<std::shared_ptr<Array>> 
MapArray::FromArraysInternal(
     return Status::Invalid("Map key and item arrays must be equal length");
   }
 
+  if (null_bitmap != nullptr && offsets->null_count() > 0) {

Review Comment:
   I think it would be good to fix both together in one PR (given both code 
snippets are exactly the same, for MapArray it was copied from ListArray)



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