- opt_sum_query() should not assume that join tables from sj-materialization have known numbers of rows.