You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org> on 2011/08/02 02:56:29 UTC

[jira] [Commented] (HIVE-2331) Turn off compression when generating index intermediate results

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

jiraposter@reviews.apache.org commented on HIVE-2331:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1254/
-----------------------------------------------------------

Review request for hive and John Sichi.


Summary
-------

add a parameter to the hiveConf when generating the index query to ensure that the output is uncompressed


This addresses bug HIVE-2331.
    https://issues.apache.org/jira/browse/HIVE-2331


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/index/bitmap/BitmapIndexHandler.java 8f185be 
  ql/src/java/org/apache/hadoop/hive/ql/index/compact/CompactIndexHandler.java ff9c4cc 
  ql/src/test/queries/clientpositive/index_bitmap_compression.q PRE-CREATION 
  ql/src/test/queries/clientpositive/index_compression.q PRE-CREATION 
  ql/src/test/results/clientpositive/index_bitmap_compression.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/index_compression.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/1254/diff


Testing
-------

added index_compression.q and index_bitmap_compression.q to test both index handlers for this case.


Thanks,

Syed



> Turn off compression when generating index intermediate results
> ---------------------------------------------------------------
>
>                 Key: HIVE-2331
>                 URL: https://issues.apache.org/jira/browse/HIVE-2331
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Syed S. Albiz
>            Assignee: Syed S. Albiz
>         Attachments: HIVE-2331.1.patch
>
>
> HiveIndexResult is not compression-aware, so for any index to work (regardless of compact/bitmap) we need to not compress the index intermediate file when we generate it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira