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

On-the-fly cut filtering + improvements in arrow/lazy-dict #294

Merged
merged 5 commits into from
May 4, 2021

Conversation

pzelasko
Copy link
Collaborator

@pzelasko pzelasko commented May 4, 2021

It adds a .filter() method for sampler which is useful when dealing with large and lazy manifests. I reached out to Arrow developers and learned that they already support automatic schema inference in Python, I just didn't discover it -- I'm removing some code related to that. I also optimized lazy reading a bit by making the chunks larger (makes for less frequent disk reads) and moved to random-access Arrow format (not leveraged yet but I have some ideas, we'll see).

@pzelasko pzelasko added this to the v0.7 milestone May 4, 2021
@pzelasko pzelasko merged commit 68bad38 into master May 4, 2021
@pzelasko pzelasko deleted the feature/lazy-manifests-impr2 branch July 1, 2021 01:24
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