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

Add explicit fixed_point merge test #7635

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

codereport
Copy link
Contributor

While confirming that libcudf does indeed support cudf::merge with fixed_point ended up writing an explicit test that there is no reason not to just add as a unit test.

@codereport codereport added 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. 4 - Needs Review Waiting for reviewer to review or respond improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 18, 2021
@codereport codereport self-assigned this Mar 18, 2021
@codereport codereport requested a review from a team as a code owner March 18, 2021 01:50
@codereport codereport requested review from harrism and cwharris March 18, 2021 01:50
@codecov
Copy link

codecov bot commented Mar 18, 2021

Codecov Report

Merging #7635 (098e632) into branch-0.19 (7871e7a) will increase coverage by 0.17%.
The diff coverage is 93.71%.

❗ Current head 098e632 differs from pull request most recent head c41bdfa. Consider uploading reports for the commit c41bdfa to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.19    #7635      +/-   ##
===============================================
+ Coverage        81.86%   82.04%   +0.17%     
===============================================
  Files              101      101              
  Lines            16884    16991     +107     
===============================================
+ Hits             13822    13940     +118     
+ Misses            3062     3051      -11     
Impacted Files Coverage Δ
python/cudf/cudf/core/index.py 92.86% <ø> (ø)
python/cudf/cudf/utils/cudautils.py 50.38% <ø> (ø)
python/cudf/cudf/utils/dtypes.py 89.88% <ø> (+0.37%) ⬆️
python/dask_cudf/dask_cudf/io/orc.py 91.04% <ø> (+0.13%) ⬆️
python/cudf/cudf/core/column/numerical.py 94.83% <87.50%> (-0.20%) ⬇️
python/cudf/cudf/core/frame.py 89.00% <89.47%> (-0.02%) ⬇️
python/cudf/cudf/core/column/column.py 87.77% <90.00%> (+0.01%) ⬆️
python/cudf/cudf/core/column/decimal.py 92.75% <90.32%> (-2.12%) ⬇️
python/cudf/cudf/core/series.py 91.33% <95.83%> (+0.55%) ⬆️
python/cudf/cudf/core/dataframe.py 90.76% <96.00%> (+0.29%) ⬆️
... and 16 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 0b766c5...c41bdfa. Read the comment docs.

Copy link
Contributor

@karthikeyann karthikeyann left a comment

Choose a reason for hiding this comment

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

LGTM

@codereport
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 873955e into rapidsai:branch-0.19 Mar 18, 2021
@codereport codereport 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 Review Waiting for reviewer to review or respond labels Mar 18, 2021
};

template <typename T>
using fp_wrapper = cudf::test::fixed_point_column_wrapper<T>;
Copy link
Member

Choose a reason for hiding this comment

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

Why is this using stmt outside the test and the rest are inside?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You can't declare template inside GTEST macros:

../../../../tests/merge/merge_test.cpp:740:3: error: a template declaration cannot appear at block scope
   template <typename T>

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 improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants