[jira] [Commented] (CALCITE-4149) Missing top project when trim fields

2020-08-06 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17172788#comment-17172788 ] Jiatao Tao commented on CALCITE-4149: - [~julianhyde]  It's really hard for us to archive this as

[jira] [Commented] (CALCITE-4149) Missing top project when trim fields

2020-08-06 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17172575#comment-17172575 ] Julian Hyde commented on CALCITE-4149: -- If rules guaranteed to preserve aliases there are several

[jira] [Commented] (CALCITE-4149) Missing top project when trim fields

2020-08-03 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17169777#comment-17169777 ] Jiatao Tao commented on CALCITE-4149: - Hi [~julianhyde] RelRoot#project has aliases, the project

[jira] [Commented] (CALCITE-4149) Missing top project when trim fields

2020-08-02 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17169549#comment-17169549 ] Julian Hyde commented on CALCITE-4149: -- Rules don’t promise to preserve aliases. Therefore I think

[jira] [Commented] (CALCITE-4149) Missing top project when trim fields

2020-08-02 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17169483#comment-17169483 ] Jiatao Tao commented on CALCITE-4149: - org.apache.calcite.rel.rules.ProjectRemoveRule#isTrivial