18481: feat: Add selectivity metric to NestedLoopJoinExec for EXPLAIN ANALYZE#1
18481: feat: Add selectivity metric to NestedLoopJoinExec for EXPLAIN ANALYZE#1martin-augment wants to merge 7 commits intomainfrom
Conversation
WalkthroughIntroduces Changes
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code graph analysis (2)datafusion/core/tests/sql/explain_analyze.rs (2)
datafusion/physical-plan/src/joins/nested_loop_join.rs (2)
🔇 Additional comments (2)
Comment |
18481: To review by AI
Note
Adds a selectivity ratio metric to
NestedLoopJoinExecand validates it viaEXPLAIN ANALYZEtests.NestedLoopJoinMetricswithselectivity(RatioMetrics) forNestedLoopJoinExec.left_rows * right_rows) and increment parts on output emission; integrate with existingBuildProbeJoinMetricsand timers.executeand propagate throughNestedLoopJoinStream; update metric recording points accordingly.nested_loop_join_selectivityincore/tests/sql/explain_analyze.rsassertingselectivityforINNER,LEFT,RIGHT, andFULLjoins viaEXPLAIN ANALYZE.Written by Cursor Bugbot for commit 08f8bc7. This will update automatically on new commits. Configure here.