lidavidm commented on code in PR #14506: URL: https://github.com/apache/arrow/pull/14506#discussion_r1007474256
########## java/c/src/main/java/org/apache/arrow/c/CDataArrayHandle.java: ########## @@ -0,0 +1,40 @@ +package org.apache.arrow.c; + +import java.util.concurrent.atomic.AtomicInteger; +import org.apache.arrow.memory.BufferAllocator; +import org.apache.arrow.memory.ForeignAllocationManager; + +/** Manage the reference count of an imported C Data ArrowArray. */ Review Comment: I did look at it a little bit. But I don't think you can use any implementation of ReferenceManager but BufferLedger if you want everything else to work. It does feel bad to have effectively two redundant reference counts. -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org