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

Switch to Threaded View
Hive, mail # dev - Review Request 20826: HIVE-5823: Support for DECIMAL primitive type in AvroSerDe


Copy link to this message
-
Re: Review Request 20826: HIVE-5823: Support for DECIMAL primitive type in AvroSerDe
Xuefu Zhang 2014-05-04, 14:02

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

(Updated May 4, 2014, 2:02 p.m.)
Review request for hive.
Bugs: HIVE-5823
    https://issues.apache.org/jira/browse/HIVE-5823
Repository: hive-git
Description

Support decimal type in Avro storage. The implemenation is based on specifications detailed in AVRO-1402.
Diffs (updated)

  data/files/dec.txt PRE-CREATION
  ql/src/java/org/apache/hadoop/hive/ql/io/avro/AvroGenericRecordReader.java 52a22e5
  ql/src/test/queries/clientpositive/avro_decimal.q PRE-CREATION
  ql/src/test/queries/clientpositive/avro_schema_literal.q d77f310
  ql/src/test/results/clientpositive/avro_decimal.q.out PRE-CREATION
  ql/src/test/results/clientpositive/avro_schema_literal.q.out ca945d5
  serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroDeserializer.java a28861f
  serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroGenericRecordWritable.java 8beffd7
  serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerDe.java 92799ed
  serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerdeUtils.java 9d58d13
  serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerializer.java b2c58c7
  serde/src/java/org/apache/hadoop/hive/serde2/avro/SchemaToTypeInfo.java 251f04f
  serde/src/test/org/apache/hadoop/hive/serde2/avro/TestAvroSerializer.java b3559ea
  serde/src/test/org/apache/hadoop/hive/serde2/avro/TestGenericAvroRecordWritable.java a0e5018
  serde/src/test/org/apache/hadoop/hive/serde2/avro/Utils.java d5730fa

Diff: https://reviews.apache.org/r/20826/diff/
Testing

Unit tests are added. Test suite passed.
Thanks,

Xuefu Zhang