Add is_multigraph to PG and change has_duplicate_edges to use types#2708
Add is_multigraph to PG and change has_duplicate_edges to use types#2708rapids-bot[bot] merged 13 commits intorapidsai:branch-22.10from
is_multigraph to PG and change has_duplicate_edges to use types#2708Conversation
Also, change default greph type to MultiGraph. `allow_multi_edges` keyword was renamed to `do_expensive_check`, which only occurs when the output graph is not a MultiGraph. Should `do_expensive_check` default to True or False?
Codecov ReportBase: 59.75% // Head: 59.74% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## branch-22.10 #2708 +/- ##
================================================
- Coverage 59.75% 59.74% -0.02%
================================================
Files 111 111
Lines 6418 6436 +18
================================================
+ Hits 3835 3845 +10
- Misses 2583 2591 +8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
Renamed I just noticed |
|
@alexbarghi-nv can you comment on the test failure here? It is failing on cugraph/tests/test_pyg_extensions.py:test_get_subgraph The edge data from the PropertyGraph is: and The test is dropping duplicates based only on SRC and DST columns, but not on TYPE. I don't know what the test is supposed to be testing; what is correct? |
|
rerun tests |
1 similar comment
|
rerun tests |
|
pyg tests updated based on feedback from @alexbarghi-nv 🤞 |
rlratzel
left a comment
There was a problem hiding this comment.
Looks good, just a minor suggestion about a docstring.
Co-authored-by: Rick Ratzel <3039903+rlratzel@users.noreply.github.com>
|
@alexbarghi-nv I fixed test_pyg_extensions.py:test_get_subgraph, but now test_pyg_extensions.py:test_neighbor_sample_multi_vertex is failing. In this test, for but data from |
|
This issue didn't show up for me. Investigating... |
acostadon
left a comment
There was a problem hiding this comment.
I didn't find any issues. Looks good.
|
Thanks all for the reviews and help. Now we're waiting on CI... |
|
The fix to |
|
@gpucibot merge |
|
@gpucibot merge |
…es (#2708) Closes #2591 Also, change default graph type to MultiGraph. `allow_multi_edges` keyword was renamed to `do_expensive_check`, which only occurs when the output graph is not a MultiGraph. Should `do_expensive_check` default to True or False? Authors: - Erik Welch (https://github.com/eriknw) Approvers: - Vibhu Jawa (https://github.com/VibhuJawa) - Don Acosta (https://github.com/acostadon) - Chuck Hastings (https://github.com/ChuckHastings) - Rick Ratzel (https://github.com/rlratzel) URL: rapidsai/cugraph#2708
Closes #2591
Also, change default graph type to MultiGraph.
allow_multi_edgeskeyword was renamed todo_expensive_check, which only occurs when the output graph is not a MultiGraph. Shoulddo_expensive_checkdefault to True or False?