[ 
https://issues.apache.org/jira/browse/CALCITE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vova Vysotskyi updated CALCITE-4036:
------------------------------------
    Description: The current implementation of {{SemiJoinRule}} can be applied 
for rel nodes where the right input of join is aggregate, but it theoretically 
can be applied for the case when there is no aggregate, but right joint input 
returns column which has only unique values. Column uniqueness may be checked 
using {{BuiltInMetadata.ColumnUniqueness}} statistics.  (was: The current 
implementation of {{SemiJoinRule}} can be applied for rel nodes where the right 
input of join is aggregate, but it theoretically can be applied for the case 
when there is no aggregate, but right joint input returns single row which has 
only unique values. Column uniqueness may be checked using 
{{BuiltInMetadata.ColumnUniqueness}} statistics.)

> Allow applying SemiJoinRule to join without aggregate below
> -----------------------------------------------------------
>
>                 Key: CALCITE-4036
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4036
>             Project: Calcite
>          Issue Type: Task
>            Reporter: Vova Vysotskyi
>            Assignee: Vova Vysotskyi
>            Priority: Major
>
> The current implementation of {{SemiJoinRule}} can be applied for rel nodes 
> where the right input of join is aggregate, but it theoretically can be 
> applied for the case when there is no aggregate, but right joint input 
> returns column which has only unique values. Column uniqueness may be checked 
> using {{BuiltInMetadata.ColumnUniqueness}} statistics.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to