pub fn estimate_join_rows(
left_rows: u64,
right_rows: u64,
left_domain: Option<u64>,
right_domain: Option<u64>,
) -> u64Expand description
Equijoin intermediate cardinality from row counts and optional key domains.
Uses |L| * |R| / max(dom_L, dom_R) when domains are known; otherwise
falls back to min(|L|, |R|) (Phase 7 heuristic).