Skip to content

Rust & Adbc RecordBatchReader behviour #3827

@idosilverwater-vast

Description

@idosilverwater-vast

What would you like help with?

Must a RecordBatchReader be considered closed after it returns one error? Or could a RecordBatchReader implementation choose to have recovery which allows for calling next after a previous next returned an error?

Alternatively, this question might be equivalent to asking if next returning None means "No more data" or "All data received successfully".

The only hint I found was the c definition of get_next in adbc.h that says "if no error and the array is released, the stream has ended" which means if there is one error the stream has not ended and never will.

Finally, if next returns an error and is invoked again and then returns None is that valid behavior when it means the stream ended Unsuccessfully?

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions