[
https://issues.apache.org/jira/browse/HIVE-8988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244528#comment-14244528
]
Jesus Camacho Rodriguez commented on HIVE-8988:
-----------------------------------------------
{quote}
You can't translate to grouping_id because that's a pseudo function too.
{quote}
I am trying to understand why {{grouping_id}} would not be the right choice.
Since {{grouping_id}} has as arguments the column references {{i0, i1, i2, i3,
...}}, we are certain that it won't get pushed down, right? That should be
enough.
Sorry about insisting, I'm just trying to avoid creating another pseudo
function {{$Foo}} on my side if it is not really necessary.
> Support advanced aggregation in Hive to Calcite path
> -----------------------------------------------------
>
> Key: HIVE-8988
> URL: https://issues.apache.org/jira/browse/HIVE-8988
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 0.15.0
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Labels: grouping, logical, optiq
> Fix For: 0.15.0
>
> Attachments: HIVE-8988.01.patch, HIVE-8988.patch
>
>
> CLEAR LIBRARY CACHE
> To close the gap between Hive and Calcite, we need to support the translation
> of GroupingSets into Calcite; currently this is not implemented.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)