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

fix: handle the possibility that serialize_expressions returns a memoryview #3396

Merged

Conversation

westonpace
Copy link
Contributor

In pyarrow 19 the serialize_expressions return type changed to a memoryview (apache/arrow@e0ab40d). It seems that pyo3 does not easily convert memoryview to Vec<u8> and so we convert to bytes. I've tested this code with both pyarrow 17, 18, and 19.

@github-actions github-actions bot added bug Something isn't working python labels Jan 20, 2025
@westonpace westonpace merged commit 4cb37c1 into lancedb:main Jan 20, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants