[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-18 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17702168#comment-17702168 ] Julian Hyde commented on CALCITE-5583: -- Should the summary be the following? {{noformat}} JDBC

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-18 Thread libopeng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17702086#comment-17702086 ] libopeng commented on CALCITE-5583: --- "star" may be a property of the project that is passed from

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-17 Thread libopeng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17701705#comment-17701705 ] libopeng commented on CALCITE-5583: --- --- I was wrong. Cause is 'duplicate field names'. I agree with

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-17 Thread libopeng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17701696#comment-17701696 ] libopeng commented on CALCITE-5583: --- Seeing so many errors, I was lost in thought :(. Sometimes

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-17 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17701548#comment-17701548 ] Julian Hyde commented on CALCITE-5583: -- Yes you did. Remove isStar and see what tests fail. >

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-16 Thread libopeng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17701523#comment-17701523 ] libopeng commented on CALCITE-5583: --- emmm... Maybe I got you drill into the details again. > Rel2Sql

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-16 Thread libopeng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17701521#comment-17701521 ] libopeng commented on CALCITE-5583: --- Ok, so back to the original question, I don't know why we have

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-16 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17701477#comment-17701477 ] Julian Hyde commented on CALCITE-5583: -- Well, duplicate field names seem to be involved somehow. I

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-14 Thread libopeng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17700485#comment-17700485 ] libopeng commented on CALCITE-5583: --- I changed the RelNode on it {code:java} LogicalProject(c0=[$0],

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-14 Thread libopeng (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17700477#comment-17700477 ] libopeng commented on CALCITE-5583: --- [~julianhyde] I wrote a unit test that you can take a look at,

[jira] [Commented] (CALCITE-5583) Rel2Sql will get an error when select * and join is present

2023-03-14 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17700309#comment-17700309 ] Julian Hyde commented on CALCITE-5583: -- Can you evolve this into a minimal test case? If is simply