[
https://issues.apache.org/jira/browse/FLINK-22726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Li updated FLINK-22726:
---------------------------
Description:
Hive's GROUPING__ID changed since 2.3.0. In current implementation we use
Calcite's GROUPING_ID operator which yields same value as hive >= 2.3.0. When
integrate with older hive, we should follow the previous behavior.
Refer to:
https://issues.apache.org/jira/browse/HIVE-16102
https://cwiki.apache.org/confluence/display/Hive/Enhanced+Aggregation%2C+Cube%2C+Grouping+and+Rollup#EnhancedAggregation,Cube,GroupingandRollup-Grouping__IDfunction(beforeHive2.3.0)
> Hive GROUPING__ID returns different value in older versions
> -----------------------------------------------------------
>
> Key: FLINK-22726
> URL: https://issues.apache.org/jira/browse/FLINK-22726
> Project: Flink
> Issue Type: Sub-task
> Components: Connectors / Hive
> Reporter: Rui Li
> Assignee: Rui Li
> Priority: Major
>
> Hive's GROUPING__ID changed since 2.3.0. In current implementation we use
> Calcite's GROUPING_ID operator which yields same value as hive >= 2.3.0. When
> integrate with older hive, we should follow the previous behavior.
> Refer to:
> https://issues.apache.org/jira/browse/HIVE-16102
> https://cwiki.apache.org/confluence/display/Hive/Enhanced+Aggregation%2C+Cube%2C+Grouping+and+Rollup#EnhancedAggregation,Cube,GroupingandRollup-Grouping__IDfunction(beforeHive2.3.0)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)