Changeset: 099964b0892f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/099964b0892f
Modified Files:
sql/backends/monet5/rel_pphash.c
Branch: default
Log Message:
use uniqueness information, no need for extra frequency (this only works for
very simple joins (lowest of the tree)).
diffs (12 lines):
diff --git a/sql/backends/monet5/rel_pphash.c b/sql/backends/monet5/rel_pphash.c
--- a/sql/backends/monet5/rel_pphash.c
+++ b/sql/backends/monet5/rel_pphash.c
@@ -295,7 +295,7 @@ rel2bin_oahash_build(backend *be, sql_re
bool need_freq = (rel->flag != (int)op_semi || rel->ref.refcnt > 2 ||
!list_empty(exps_prj_hsh));
if (need_freq && list_length(exps_cmp_hsh) == 1 && !is_single(rel)) {
sql_exp *e = exps_cmp_hsh->h->data;
- if (0 && e->unique)
+ if (e->unique)
need_freq = false;
}
lng bld_sz = _estimate(be->mvc, rel); /* TODO: change into dynamic
where possible ?? */
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]