wgtmac commented on code in PR #35476:
URL: https://github.com/apache/arrow/pull/35476#discussion_r1187555135
##########
java/vector/src/main/java/org/apache/arrow/vector/VectorSchemaRoot.java:
##########
@@ -327,10 +327,6 @@ public VectorSchemaRoot slice(int index, int length) {
Preconditions.checkArgument(index + length <= rowCount,
"index + length should <= rowCount");
- if (index == 0 && length == rowCount) {
- return this;
Review Comment:
Does it mean its child vectors will be transferred to the returned root and
the original one will be invalidated?
--
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]