zhztheplayer commented on code in PR #5772:
URL: https://github.com/apache/incubator-gluten/pull/5772#discussion_r1606168686
##########
gluten-data/src/main/java/org/apache/gluten/vectorized/ArrowWritableColumnVector.java:
##########
@@ -345,6 +345,10 @@ public void retain() {
refCnt.getAndIncrement();
}
+ public void resetRefCnt(long value) {
+ refCnt.set(value);
+ }
Review Comment:
~~There was already a `#forceClose` API in `ColumnarBatches`, I assume that
one could cover your use case.~~
Although let's figure out why we need to forcibly close the vectors first.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]