Skip to content

Conversation

@charlesbluca
Copy link
Collaborator

Looks like CI failures cropped up with the release of Dask 2022.8.0, which I imagine made some subtle changes to the behavior of Series.quantile and DataFrame.sample.

The broken tests both were doing some pretty specific checks that didn't seem too resistant to breakage (e.g. asserting the exact value / length for fixed random results), so I went ahead and reimplemented these tests so that instead of checking against given values, we are now asserting that dask-sql's implementation matches that of Dask, which should hopefully make it so these tests don't fail as often moving forward.

@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2022

Codecov Report

Merging #668 (30ff264) into main (712a2af) will increase coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #668      +/-   ##
==========================================
+ Coverage   88.48%   88.62%   +0.14%     
==========================================
  Files          69       69              
  Lines        3507     3507              
  Branches      710      710              
==========================================
+ Hits         3103     3108       +5     
+ Misses        317      308       -9     
- Partials       87       91       +4     
Impacted Files Coverage Δ
dask_sql/_version.py 34.00% <0.00%> (+1.44%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Copy link
Collaborator

@ayushdg ayushdg 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 Charles

@ayushdg ayushdg merged commit eb8c326 into dask-contrib:main Aug 8, 2022
@charlesbluca charlesbluca linked an issue Aug 8, 2022 that may be closed by this pull request
@charlesbluca charlesbluca deleted the fix-ci-failures branch August 31, 2022 13:10
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.

⚠️ Upstream CI failed ⚠️

3 participants