Avoid leaving multi-rank execution in a bad state in cudf-polars tests - #23340
Conversation
Previously, `cross_join` threw `"Left table is empty"` or `"Right table is empty"` when either operand had zero columns. Zero-column operands with non-zero row counts are now valid. The result has `left.num_rows() * right.num_rows()` rows and `left.num_columns() + right.num_columns()` columns. Authors: - Mads R. B. Kristensen (https://github.com/madsbk) Approvers: - Matthew Roeschke (https://github.com/mroeschke) - Yunsong Wang (https://github.com/PointKernel) - Muhammad Haseeb (https://github.com/mhaseeb123) URL: NVIDIA#23235
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (6)
💤 Files with no reviewable changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughChangesThe cross-join implementation now supports zero-column operands, preserves their row counts, and throws Cross-join behavior
Polars streaming test expectation
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
rjzamora
left a comment
There was a problem hiding this comment.
Python changes look reasonable to me. Thanks!
|
/merge |
f68d00b
into
NVIDIA:release/26.08
NVIDIA#23340) If a cudf-polars query raises an exception during execution, it is possible that it can leave a dangling collective that then tears down one process. This is racy because it depends on tasks being cancelled in Python and then dropping C++ objects in a particular order. The one test in the cudf-polars tests suite that could do this is fixed on main, so backport the relevant changes (NVIDIA#23235), and un-xfail the test. Authors: - Lawrence Mitchell (https://github.com/wence-) - Mads R. B. Kristensen (https://github.com/madsbk) Approvers: - Richard (Rick) Zamora (https://github.com/rjzamora) - Matthew Murray (https://github.com/Matt711) - Bradley Dice (https://github.com/bdice) - Vyas Ramasubramani (https://github.com/vyasr) URL: NVIDIA#23340
Description
If a cudf-polars query raises an exception during execution, it is possible that it can leave a dangling collective that then tears down one process.
This is racy because it depends on tasks being cancelled in Python and then dropping C++ objects in a particular order.
The one test in the cudf-polars tests suite that could do this is fixed on main, so backport the relevant changes (#23235), and un-xfail the test.
Checklist