Skip to content

Updates to enable NumberMap to generate unique src/dst column names#2050

Merged
rapids-bot[bot] merged 3 commits intorapidsai:branch-22.04from
rlratzel:branch-22.04-numbermap_generates_col_names
Jan 31, 2022
Merged

Updates to enable NumberMap to generate unique src/dst column names#2050
rapids-bot[bot] merged 3 commits intorapidsai:branch-22.04from
rlratzel:branch-22.04-numbermap_generates_col_names

Conversation

@rlratzel
Copy link
Contributor

@rlratzel rlratzel commented Jan 30, 2022

  • Updates to enable NumberMap to generate unique src/dst column names instead of assuming the names src and dst. This is needed since cudf no longer allows for duplicate column names, and some user input may contain "src" and "dst" as pre-existing column names intended for other purposes.
  • This commit also cleans up various tech debt items (exception types, docstrings, etc.).

Tested by ensuring the existing python unit tests for SG and MG (2 GPUs) passed, and also ran all notebooks as tests. New tests to emphasize support for specific column names that previously failed with the latest cudf were also added.

…red src and dst columns, updated all code using it to access the generated names from the NumberMap instance instead of hardcoding "src" and "dst". This was needed since cudf no longer allows for duplicate column names, and some user input may contain "src" and "dst" as pre-existing column names. This commit also clean up various tech debt (exception types, docstrings, etc.).
@rlratzel rlratzel added bug Something isn't working non-breaking Non-breaking change python labels Jan 30, 2022
@rlratzel rlratzel added this to the 22.04 milestone Jan 30, 2022
@rlratzel rlratzel self-assigned this Jan 30, 2022
@rlratzel rlratzel requested review from a team as code owners January 30, 2022 23:41
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@codecov-commenter
Copy link

codecov-commenter commented Jan 31, 2022

Codecov Report

❗ No coverage uploaded for pull request base (branch-22.04@42eaf3c). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-22.04    #2050   +/-   ##
===============================================
  Coverage                ?   73.08%           
===============================================
  Files                   ?      151           
  Lines                   ?     9827           
  Branches                ?        0           
===============================================
  Hits                    ?     7182           
  Misses                  ?     2645           
  Partials                ?        0           

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 42eaf3c...a38fa42. Read the comment docs.

@BradReesWork
Copy link
Member

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 2b95059 into rapidsai:branch-22.04 Jan 31, 2022
@rlratzel rlratzel deleted the branch-22.04-numbermap_generates_col_names branch June 17, 2022 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants