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

fixed_point_value double-shifts in fixed_point construction #6950

Merged
merged 3 commits into from
Dec 9, 2020

Conversation

codereport
Copy link
Contributor

There was a bug that got merged in #6814. The fixed_point_value should have been using the scaled_integer constructor. My unit tests didn't catch it because I also used the wrong constructor in the unit tests. Both cases have been fixed (and clean up and missing docs added).

@codereport codereport added bug Something isn't working 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change labels Dec 9, 2020
@codereport codereport self-assigned this Dec 9, 2020
@codereport codereport requested a review from a team as a code owner December 9, 2020 05:02
@codecov
Copy link

codecov bot commented Dec 9, 2020

Codecov Report

Merging #6950 (eeb1771) into branch-0.18 (8a1a6d7) will increase coverage by 0.43%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.18    #6950      +/-   ##
===============================================
+ Coverage        81.59%   82.03%   +0.43%     
===============================================
  Files               96       96              
  Lines            15907    16260     +353     
===============================================
+ Hits             12980    13339     +359     
+ Misses            2927     2921       -6     
Impacted Files Coverage Δ
python/cudf/cudf/io/csv.py 93.75% <0.00%> (-0.25%) ⬇️
python/cudf/cudf/io/feather.py 100.00% <0.00%> (ø)
python/cudf/cudf/comm/serialize.py 0.00% <0.00%> (ø)
python/cudf/cudf/_fuzz_testing/io.py 0.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/_version.py 0.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/io/tests/test_csv.py 100.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/io/tests/test_orc.py 100.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/io/tests/test_json.py 100.00% <0.00%> (ø)
...ython/dask_cudf/dask_cudf/io/tests/test_parquet.py 100.00% <0.00%> (ø)
python/cudf/cudf/utils/applyutils.py 98.74% <0.00%> (+0.02%) ⬆️
... and 36 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 8a1a6d7...eeb1771. Read the comment docs.

@codereport codereport merged commit 6d230ee into rapidsai:branch-0.18 Dec 9, 2020
rapids-bot bot pushed a commit that referenced this pull request Dec 11, 2020
Currently has changes for #6950 included.

The full set of null mask `fixed_point_column_wrapper` constructors aren't supported. This PR adds them all and also adds unit tests for each of them across difference `fixed_point` API tests.

**To Do List:**
* [x] Add constructors
* [x] Add basic unit test
* [x] Add all unit tests
* [x] Update docs

Authors:
  - Mark Harris <[email protected]>
  - Conor Hoekstra <[email protected]>

Approvers:
  - null
  - Vukasin Milovanovic

URL: #6951
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants