adamreeve commented on code in PR #41226:
URL: https://github.com/apache/arrow/pull/41226#discussion_r1566516865
##########
csharp/src/Apache.Arrow/Arrays/ArrayDataConcatenator.cs:
##########
@@ -367,7 +367,7 @@ private ArrowBuffer ConcatenateUnionTypeBuffer()
foreach (ArrayData arrayData in _arrayDataList)
{
- builder.Append(arrayData.Buffers[0]);
+
builder.Append(arrayData.Buffers[0].Span.Slice(arrayData.Offset,
arrayData.Length));
Review Comment:
I'm using the offset here but I haven't tested this works fully with sliced
arrays, I'll follow up on this in #41164.
--
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]