adamreeve commented on code in PR #40793:
URL: https://github.com/apache/arrow/pull/40793#discussion_r1538559867
##########
csharp/src/Apache.Arrow/Arrays/ArrowArrayFactory.cs:
##########
@@ -104,14 +104,6 @@ public static IArrowArray BuildArray(ArrayData data)
public static IArrowArray Slice(IArrowArray array, int offset, int
length)
{
- if (offset > array.Length)
Review Comment:
This check and the `length = Math.Min(...` adjustment below are also both
accounted for in `ArrayData.Slice`, so I removed them too.
--
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]