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

Added last_row_consumed property to WeightedSamplingReader #554

Merged

Conversation

selitvin
Copy link
Collaborator

Without this property, make_petastorm_dataset was crashing if WeightedSamplingReader reader was passed to it.

Without this property, make_petastorm_dataset was crashing if a
WeightedSamplingReader reader was passed to it.
@codecov
Copy link

codecov bot commented May 10, 2020

Codecov Report

Merging #554 into master will decrease coverage by 0.01%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #554      +/-   ##
==========================================
- Coverage   86.10%   86.09%   -0.02%     
==========================================
  Files          87       87              
  Lines        4967     4969       +2     
  Branches      791      792       +1     
==========================================
+ Hits         4277     4278       +1     
- Misses        562      563       +1     
  Partials      128      128              
Impacted Files Coverage Δ
petastorm/weighted_sampling_reader.py 85.71% <50.00%> (-1.79%) ⬇️

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 0209a73...4379419. Read the comment docs.

Copy link

@shrep shrep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for this!

@selitvin selitvin merged commit 6c39582 into uber:master May 12, 2020
tkakantousis pushed a commit to logicalclocks/petastorm that referenced this pull request Sep 16, 2020
Without this property, make_petastorm_dataset was crashing if a
WeightedSamplingReader reader was passed to it.
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.

None yet

2 participants