CurtHagenlocher commented on code in PR #516:
URL: https://github.com/apache/arrow-dotnet/pull/516#discussion_r4734726732
##########
src/Apache.Arrow/Arrays/ArrayDataConcatenator.cs:
##########
@@ -26,6 +26,12 @@ namespace Apache.Arrow
public class ArrayDataConcatenator
{
public static ArrayData Concatenate(IReadOnlyList<ArrayData>
arrayDataList, MemoryAllocator allocator = default)
+ {
+ return Concatenate(arrayDataList, allocator,
compareStructFieldNamesAndNullability: true);
+ }
+
+ private static ArrayData Concatenate(
+ IReadOnlyList<ArrayData> arrayDataList, MemoryAllocator allocator,
bool compareStructFieldNamesAndNullability)
Review Comment:
I think instead of threading through this
`compareStructFieldNamesAndNullability` flag, would it be easier to have
`Visit(MapType)` check its entries struct itself?
--
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]