hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <>
Subject [jira] [Updated] (HIVE-18359) Extend grouping set limits from int to long
Date Wed, 03 Jan 2018 10:03:00 GMT


Prasanth Jayachandran updated HIVE-18359:
    Status: Patch Available  (was: Open)

> Extend grouping set limits from int to long
> -------------------------------------------
>                 Key: HIVE-18359
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-18359.1.patch
> Grouping sets is broken for >32 columns because of usage of Int for bitmap (also GROUPING__ID
virtual column). This assumption breaks grouping sets/rollups/cube when number of participating
aggregation columns is >32. The easier fix would be extend it to Long for now. The correct
fix would be to use BitSets everywhere but that would require GROUPING__ID column type to
binary which will make predicates on GROUPING__ID difficult to deal with. 

This message was sent by Atlassian JIRA

View raw message