[jira] [Commented] (CALCITE-6038) Add optimization to remove redundant TopN when its input's row number is less or equal to one

2023-10-06 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772700#comment-17772700 ] Julian Hyde commented on CALCITE-6038: -- The idea is a good one. I just don't think

[jira] [Commented] (CALCITE-6038) Add optimization to remove redundant TopN when its input's row number is less or equal to one

2023-10-06 Thread LakeShen (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772605#comment-17772605 ] LakeShen commented on CALCITE-6038: --- Hi [~julianhyde] ,thanks for your reply. Sorry,

[jira] [Commented] (CALCITE-6038) Add optimization to remove redundant TopN when its input's row number is less or equal to one

2023-10-06 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-6038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772555#comment-17772555 ] Julian Hyde commented on CALCITE-6038: -- Why do you mention the number 1? Surely it