You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2015/04/28 01:58:39 UTC

[jira] [Commented] (HIVE-9451) Add max size of column dictionaries to ORC metadata

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

Prasanth Jayachandran commented on HIVE-9451:
---------------------------------------------

Patch looks good to me. +1. Pending tests. ORC concatenation is not affected by this patch :).

Minor nit: LOG.info instead of sysout in ColumnStatisticsImpl and WriterImpl?


> Add max size of column dictionaries to ORC metadata
> ---------------------------------------------------
>
>                 Key: HIVE-9451
>                 URL: https://issues.apache.org/jira/browse/HIVE-9451
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 1.2.0
>
>         Attachments: HIVE-9451.patch
>
>
> To predict the amount of memory required to read an ORC file we need to know the size of the dictionaries for the columns that we are reading. I propose adding the number of bytes for each column's dictionary to the stripe's column statistics. The file's column statistics would have the maximum dictionary size for each column.



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