You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2015/02/12 03:23:11 UTC

[jira] [Commented] (HIVE-9660) store end offset of compressed data for RG in RowIndex in ORC

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

Sergey Shelukhin commented on HIVE-9660:
----------------------------------------

[~owen.omalley] [~alangates] [~prasanth_j] fyi... I might do it later.

I noticed that on some realistic data Prasanth was using, to read one RG out of 100, ~50% of the data with multiple CBs was read and uncompressed.

> store end offset of compressed data for RG in RowIndex in ORC
> -------------------------------------------------------------
>
>                 Key: HIVE-9660
>                 URL: https://issues.apache.org/jira/browse/HIVE-9660
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>
> Right now the end offset is estimated, which in some cases results in tons of extra data being read.
> We can add a separate array to RowIndex (positions_v2?) that stores number of compressed buffers for each RG, or end offset, or something, to remove this estimation magic



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