[jira] [Commented] (CALCITE-2468) Validator throws IndexOutOfBoundsException when trying to infer operand type from struct return type

2018-12-03 Thread Rong Rong (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16708094#comment-16708094 ] Rong Rong commented on CALCITE-2468: Hi [~julianhyde], sorry I somehow missed the 2nd part of your

[jira] [Commented] (CALCITE-2468) Validator throws IndexOutOfBoundsException when trying to infer operand type from struct return type

2018-12-03 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16708045#comment-16708045 ] Julian Hyde commented on CALCITE-2468: -- Did you try recursing? The code for AS still looks very

[jira] [Commented] (CALCITE-2468) Validator throws IndexOutOfBoundsException when trying to infer operand type from struct return type

2018-11-15 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688635#comment-16688635 ] Julian Hyde commented on CALCITE-2468: -- Looks OK. Can you make into a pull request. In the test,

[jira] [Commented] (CALCITE-2468) Validator throws IndexOutOfBoundsException when trying to infer operand type from struct return type

2018-11-15 Thread Rong Rong (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688549#comment-16688549 ] Rong Rong commented on CALCITE-2468: Found out that the special handling for *{{AS}}* operator is

[jira] [Commented] (CALCITE-2468) Validator throws IndexOutOfBoundsException when trying to infer operand type from struct return type

2018-08-20 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16586722#comment-16586722 ] Julian Hyde commented on CALCITE-2468: -- I wonder whether RelStructuredTypeFlattener is to blame.