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

feat: add a python API for reading arrays of binary/large_binary as file objects #2944

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

westonpace
Copy link
Contributor

Many APIs for working with binary data expect file objects. This PR adds a small utility to convert a binary array into an iterable of file objects.

This will get more sophisticated in future releases where the input can be a column or row ids instead of a binary array (allowing for sort of scan on demand workflow that will be more memory efficient for extremely large blobs)

@westonpace westonpace requested a review from eddyxu September 27, 2024 16:05
@github-actions github-actions bot added enhancement New feature or request python labels Sep 27, 2024
@westonpace westonpace merged commit 19d5a82 into lancedb:main Oct 3, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants