Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnyRecordBatch: enum over data interface and stream interface. #25

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

kylebarron
Copy link
Owner

@kylebarron kylebarron commented Jun 26, 2024

Used for function input when a function can take either one or a stream of record batches.

This was originally named AnyArray, but I think separating AnyArray and AnyRecordBatch makes more sense. AnyRecordBatch is an enum over RecordBatch and Stream, where you get one or more RecordBatch objects. A future AnyArray would be an enum over Array and Stream, but that would use an ArrayReader, similar to the current RecordBatchReader but where it doesn't unpack the struct array.

@kylebarron kylebarron merged commit 182e7df into main Jun 26, 2024
1 check passed
@kylebarron kylebarron deleted the kyle/any-array-iput branch June 26, 2024 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant