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

Uses LargeString to help avoid offset overflow errors #147

Merged
merged 6 commits into from
Jan 4, 2024

Conversation

akoumjian
Copy link
Collaborator

Pyarrow's string array can only handle memory locations with an offset that uses 32 bits. This limits not just individual strings, but string arrays to 2GB in size. Since we frequently use datasets that can breach that limit, we move to LargeStringArrays. The additional memory overhead is modest in a table (string columns X 4 bits X num rows extra).

@akoumjian akoumjian merged commit 15b3517 into main Jan 4, 2024
4 of 5 checks passed
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.

2 participants