CurtHagenlocher commented on code in PR #516:
URL: https://github.com/apache/arrow-dotnet/pull/516#discussion_r4734698728
##########
src/Apache.Arrow/Arrays/ArrayDataConcatenator.cs:
##########
@@ -1018,7 +1064,7 @@ private void ConcatenateLists(NestedType type)
children.Add(child);
}
- ArrayData combinedChild = ConcatenateChildrenOrEmpty(children);
+ ArrayData combinedChild = ConcatenateChildrenOrEmpty(children,
compareStructFieldNamesAndNullability: !(type is MapType));
Review Comment:
It's not just structs. For instance, concatenating an empty
`list<decimal(10,2)>` with a non-empty `list<decimal(10,3)>` succeeds. The
result says scale 2, but its child has scaleĀ 3.
--
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]