Skip to content

Fix fragile logic in dask_cudf chunksize parquet test - #8108

Merged
rapids-bot[bot] merged 2 commits into
NVIDIA:branch-0.20from
rjzamora:fix-chunksize-test
May 3, 2021
Merged

rapids-bot[bot] merged 2 commits into
NVIDIA:branch-0.20from
rjzamora:fix-chunksize-test

Conversation

@rjzamora

Copy link
Copy Markdown
Contributor

This PR loosens some fragile assumptions in dask_cudf's test_parquet.py::test_chunksize.

More context: This change is in preparation for dask#7557, which will change the behavior of the chunksize argument in dask.dataframe.read_parquet. Further changes will be required in dask_cudf to enable (optimal) multi-file partition aggregation, but this PR should avoid any temporary CI failures.

@rjzamora rjzamora added Python Affects Python cuDF API. dask Dask issue 4 - Needs Dask Reviewer non-breaking Non-breaking change labels Apr 29, 2021
@rjzamora rjzamora self-assigned this Apr 29, 2021
@rjzamora
rjzamora requested a review from a team as a code owner April 29, 2021 04:07
@rjzamora rjzamora added the 3 - Ready for Review Ready for review by team label Apr 29, 2021
@kkraus14

Copy link
Copy Markdown
Contributor

rerun tests

@kkraus14 kkraus14 added bug Something isn't working tests Unit testing for project labels Apr 29, 2021
@galipremsagar

Copy link
Copy Markdown
Contributor

rerun tests

@codecov

codecov Bot commented Apr 30, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #8108 (e8ada8e) into branch-0.20 (51336df) will increase coverage by 0.02%.
The diff coverage is 89.18%.

Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.20    #8108      +/-   ##
===============================================
+ Coverage        82.88%   82.91%   +0.02%     
===============================================
  Files              103      103              
  Lines            17668    17863     +195     
===============================================
+ Hits             14645    14811     +166     
- Misses            3023     3052      +29     
Impacted Files Coverage Δ
python/cudf/cudf/core/column/__init__.py 100.00% <ø> (ø)
python/cudf/cudf/io/orc.py 86.89% <ø> (ø)
python/cudf/cudf/utils/applyutils.py 100.00% <ø> (+1.25%) ⬆️
python/cudf/cudf/utils/cudautils.py 57.75% <ø> (ø)
python/cudf/cudf/utils/dtypes.py 81.87% <ø> (-1.57%) ⬇️
python/cudf/cudf/utils/utils.py 90.00% <ø> (+0.49%) ⬆️
python/dask_cudf/dask_cudf/backends.py 89.51% <ø> (-0.08%) ⬇️
python/dask_cudf/dask_cudf/groupby.py 92.64% <ø> (+0.49%) ⬆️
python/dask_cudf/dask_cudf/io/orc.py 91.04% <ø> (ø)
python/dask_cudf/dask_cudf/io/tests/test_orc.py 100.00% <ø> (ø)
... and 39 more

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 ac25e97...e8ada8e. Read the comment docs.

@kkraus14 kkraus14 added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 3 - Ready for Review Ready for review by team 4 - Needs Dask Reviewer labels May 3, 2021
@kkraus14

kkraus14 commented May 3, 2021

Copy link
Copy Markdown
Contributor

@gpucibot merge

@rapids-bot
rapids-bot Bot merged commit c7eccc1 into NVIDIA:branch-0.20 May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to Merge Testing and reviews complete, ready to merge bug Something isn't working dask Dask issue non-breaking Non-breaking change Python Affects Python cuDF API. tests Unit testing for project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants