hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dere <jd...@hortonworks.com>
Subject Review Request 62954: HIVE-17782 Inconsistent cast behavior from string to numeric types with regards to leading/trailing spaces
Date Thu, 12 Oct 2017 22:05:58 GMT

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

Review request for hive and Sergey Shelukhin.


Bugs: HIVE-17782
    https://issues.apache.org/jira/browse/HIVE-17782


Repository: hive-git


Description
-------

Add option to trim spaces from lazy byte/short/int/long


Diffs
-----

  common/src/java/org/apache/hive/common/util/HiveStringUtils.java dc3ee98 
  ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToByte.java 12f530b 
  ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToInteger.java 1de7604 
  ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToLong.java 11f6a6c 
  ql/src/java/org/apache/hadoop/hive/ql/udf/UDFToShort.java 5372549 
  ql/src/test/queries/clientpositive/cast2.q PRE-CREATION 
  ql/src/test/results/clientpositive/cast2.q.out PRE-CREATION 
  serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyByte.java 1f9cead 
  serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyInteger.java 22742aa 
  serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyLong.java c0d52b9 
  serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyShort.java b8b9488 
  serde/src/test/org/apache/hadoop/hive/serde2/lazy/TestLazyPrimitive.java 3d7f11e 


Diff: https://reviews.apache.org/r/62954/diff/1/


Testing
-------

Junit, qfile tests


Thanks,

Jason Dere


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