Skip to content

Question: RecordBatchReader.close() behavior #643

Description

@amachanic

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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage doneIssues that are triaged by dev team and are in investigation.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions