Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Review Request: HIVE-4612 Fix vector aggregates int type key output


Copy link to this message
-
Re: Review Request: HIVE-4612 Fix vector aggregates int type key output
Remus Rusanu 2013-05-25, 13:51

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

(Updated May 25, 2013, 1:51 p.m.)
Review request for hive.
Description
-------

The VectorHashKeyValue output for int key type was broken, the M/R expects the type emitted to match the type reduced. By using a BinaryWriter with a LongWritable instead of a IntWritable the value was effectively corrupted.
This addresses bug HIVE-4612.
    https://issues.apache.org/jira/browse/HIVE-4612
Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/exec/VectorHashKeyWrapperBatch.java c23614c
  ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizationContext.java 1ef4955

Diff: https://reviews.apache.org/r/11427/diff/
Testing
-------

manual test query
Thanks,

Remus Rusanu