[
https://issues.apache.org/jira/browse/CALCITE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17121036#comment-17121036
]
Haisheng Yuan commented on CALCITE-4036:
----------------------------------------
Hmm.. Because AggregateRemoveRule was marked as SubstitutionalRule, will
removing the marker solve the issue?
> Allow applying SemiJoinRule to join without aggregate below
> -----------------------------------------------------------
>
> Key: CALCITE-4036
> URL: https://issues.apache.org/jira/browse/CALCITE-4036
> Project: Calcite
> Issue Type: Improvement
> 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)