You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stats_cartesian_product computes incorrect byte size for cross join #22699
// the result size is two times a*b because you have the columns of both left and rightlet total_byte_size = left_stats
.total_byte_size.multiply(&right_stats.total_byte_size).multiply(&Precision::Exact(2));
This formula is wrong: we're multiplying two byte-size values together, which doesn't make sense. The right formula is (left_rows * right_row_count) + (right_rows * left_row_count).
Activity
neilconway commentedon Jun 1, 2026
take