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

Julian Hyde commented on CALCITE-542:
-------------------------------------

I added a review comment. Can you also add a test that 
ResultSetMetaData.getColumnName(int) works for columns in a GROUPING SETS 
query. I believe that info in the JDBC driver comes from RelMdColumnOrigins. 
TableInRootSchemaTest.testAddingTableInRootSchema does something similar to 
this.

> Support for Aggregate with grouping sets in RelMdColumnOrigins
> --------------------------------------------------------------
>
>                 Key: CALCITE-542
>                 URL: https://issues.apache.org/jira/browse/CALCITE-542
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>
> When we call {{getColumnOrigins}} on an {{Aggregate}} operator with grouping 
> sets, an error arrises if we are trying to derive the origin of an indicator 
> column associated to a grouping column.



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

Reply via email to