[ 
https://issues.apache.org/jira/browse/CALCITE-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14909606#comment-14909606
 ] 

Sean Hsuan-Yi Chu commented on CALCITE-900:
-------------------------------------------

The solution in the patch was just letting this rule fire. And if the project 
above is a trivial one, remove it.

I think you suggest letting the removing business to another rule. 

I agree this, which keeps this rule's purpose focused.

> ProjectSetOpTransposeRule can be improved when the input is a SetOperator 
> with Trivial Project on top
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-900
>                 URL: https://issues.apache.org/jira/browse/CALCITE-900
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Sean Hsuan-Yi Chu
>            Assignee: Sean Hsuan-Yi Chu
>
> When SetOperator with Trivial Project on top, pushing this trivial project 
> does not necessary. An improvement can be done if we just discard this 
> trivial project. 



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

Reply via email to