You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Hans Zeller (JIRA)" <ji...@apache.org> on 2016/05/10 23:01:12 UTC

[jira] [Created] (TRAFODION-1987) Enable min/max optimization for TYPE 1 repartitioned joins

Hans Zeller created TRAFODION-1987:
--------------------------------------

             Summary: Enable min/max optimization for TYPE 1 repartitioned joins
                 Key: TRAFODION-1987
                 URL: https://issues.apache.org/jira/browse/TRAFODION-1987
             Project: Apache Trafodion
          Issue Type: Improvement
          Components: sql-cmp
    Affects Versions: 1.3-incubating
            Reporter: Hans Zeller
            Assignee: Hans Zeller
             Fix For: 2.1-incubating


Right now, min/max optimization for hash joins (making min and max values of equi-join columns available to the outer child tree of a hash join) is limited to operators in the same plan fragment. In other words, an ESP_EXCHANGE between a scan and a hash join makes it impossible to do this optimization. We could be a bit less restrictive: If the hash table of the hash join isn't partitioned, either because it runs in a single instance, or because its right (inner) child is replicated, then we can do this optimization across exchanges.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)