You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "pribor (via GitHub)" <gi...@apache.org> on 2023/05/16 11:44:16 UTC
[GitHub] [arrow] pribor opened a new issue, #35615: Inconsistent behavior of VectorSchemaRoot Slice
pribor opened a new issue, #35615:
URL: https://github.com/apache/arrow/issues/35615
### Describe the bug, including details regarding any error messages, version, and platform.
The current behavior of VectorSchemaRoot slice isn't consistent. If the slice range includes the whole VectorSchemaRoot it is returned without increasing the ref count.
e.g.
```
VectorSchemaRoot root = new VectorSchemaRoot(vectors);
VectorSchemaRoot slice = root.slice(0, root.getRowCount);
slice.close() // the original root is released
vs
VectorSchemaRoot root = new VectorSchemaRoot(vectors);
VectorSchemaRoot slice = root.slice(0, root.getRowCount - 1);
slice.close() // the original root remains as it is
```
### Component(s)
Java
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] pribor commented on issue #35615: [Java] Inconsistent behavior of VectorSchemaRoot Slice
Posted by "pribor (via GitHub)" <gi...@apache.org>.
pribor commented on issue #35615:
URL: https://github.com/apache/arrow/issues/35615#issuecomment-1549531267
Awesome, thanks!
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] lidavidm closed issue #35615: Inconsistent behavior of VectorSchemaRoot Slice
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #35615: Inconsistent behavior of VectorSchemaRoot Slice
URL: https://github.com/apache/arrow/issues/35615
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] lidavidm commented on issue #35615: Inconsistent behavior of VectorSchemaRoot Slice
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #35615:
URL: https://github.com/apache/arrow/issues/35615#issuecomment-1549515451
This was fixed by https://github.com/apache/arrow/pull/35476 for 13.0.0.
Duplicate of https://github.com/apache/arrow/issues/35275
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org