Skip to content

Allow predicates to work with more than one partition #491

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

Closed
wants to merge 2 commits into from

Conversation

gregw18
Copy link
Contributor

@gregw18 gregw18 commented Feb 19, 2020

Modified reader._apply_predicate_to_row_groups to filter row_groups when all of the predicate fields are covered by the partition fields. However, still doesn't do any filtering if one or more of the predicate fields isn't also a partition field. Added some tests to cover new functionality.
Hopefully addresses issue #487.

Modified reader._apply_predicate_to_row_groups to filter row_groups when all of the predicate fields are covered by the partition fields. However, still doesn't do any filtering if one or more of the predicate fields isn't also a partition field. Added some tests to cover new functionality.
Hopefully addresses issue uber#487.
@codecov
Copy link

codecov bot commented Feb 19, 2020

Codecov Report

Merging #491 into master will increase coverage by 0.10%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #491      +/-   ##
==========================================
+ Coverage   85.77%   85.87%   +0.10%     
==========================================
  Files          79       79              
  Lines        4190     4192       +2     
  Branches      665      667       +2     
==========================================
+ Hits         3594     3600       +6     
+ Misses        494      490       -4     
  Partials      102      102              
Impacted Files Coverage Δ
petastorm/predicates.py 80.21% <0.00%> (+4.39%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b3120b1...0a2676f. Read the comment docs.

@gregw18 gregw18 closed this Jan 3, 2021
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