hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Wilfong" <kevinwilf...@fb.com>
Subject Review Request: Prevent the files of an index table from being merge when an index is built.
Date Wed, 02 Nov 2011 01:21:06 GMT

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

Review request for hive, Yongqiang He, Ning Zhang, and namit jain.


Summary
-------

By explicitely setting the two variable HIVEMERGEMAPFILES and HIVEMERGEMAPREDFILES to false
before compiling the query to build the index, it guarantees that there will not be a merge
task.


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


Diffs
-----

  trunk/ql/src/java/org/apache/hadoop/hive/ql/index/AggregateIndexHandler.java 1196155 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/index/compact/CompactIndexHandler.java 1196155


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


Testing
-------

I ran an explain plan on a command to rebuild an index and verified it did not contain a merge
task.

I also verified all the index related tests still pass.


Thanks,

Kevin


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message