When working with the arrow_reader() function on a cursor object, the returned type is a RecordBatchReader. I was hoping that I could call close() on this object partway through iteration and have it cancel any server-side work and clean up the underlying resources, but instead this appears to be a no-op. (Or at least, I don't see any effect on this end.)
So: What is close() supposed to do today, if anything? And would it possible for it to do what I'm asking for?
When working with the
arrow_reader()function on a cursor object, the returned type is aRecordBatchReader. I was hoping that I could callclose()on this object partway through iteration and have it cancel any server-side work and clean up the underlying resources, but instead this appears to be a no-op. (Or at least, I don't see any effect on this end.)So: What is
close()supposed to do today, if anything? And would it possible for it to do what I'm asking for?