----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14430/ -----------------------------------------------------------
(Updated Oct. 2, 2013, 3:39 a.m.) Review request for hive, Ashutosh Chauhan, Gunther Hagleitner, and Thejas Nair. Bugs: HIVE-5382 https://issues.apache.org/jira/browse/HIVE-5382 Repository: hive Description ------- Allow casting of exponential notation whenever possible. Limitations: 1. The exponential part will be limited between MIN_VAL and MAX_VAL of the data types even if the final result might be within the boundaries. 2. Allow loss-less transformation using BigDecimal and Double types. Diffs ----- http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/queries/clientpositive/cast_to_int.q 1528177 http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/cast_to_int.q.out 1528177 http://svn.apache.org/repos/asf/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyInteger.java 1528177 http://svn.apache.org/repos/asf/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyLong.java 1528177 Diff: https://reviews.apache.org/r/14430/diff/ Testing ------- Ran basic tests on cast_to_int. Thanks, Hari Sankar Sivarama Subramaniyan