-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15217/
-----------------------------------------------------------
Review request for hive.
Bugs: HIVE-5726
https://issues.apache.org/jira/browse/HIVE-5726
Repository: hive-git
Description
-------
With this patch, the resuting schema from constant is in accordance with the
constant instead of the default from the type.
Diffs
-----
common/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java 606f6d4
ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java 47d7995
ql/src/test/queries/clientpositive/ctas_hadoop20.q 4961b97
ql/src/test/results/clientpositive/ctas_hadoop20.q.out 885e985
ql/src/test/results/clientpositive/literal_decimal.q.out 2d1ae55
Diff: https://reviews.apache.org/r/15217/diff/
Testing
-------
New tests are added. Test suite passed.
Thanks,
Xuefu Zhang