hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venki Korukanti" <>
Subject Review Request 15105: HIVE-3844: Unix timestamps don't seem to be read correctly from HDFS as Timestamp column
Date Wed, 30 Oct 2013 22:05:35 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for hive and Mark Grover.

Bugs: HIVE-3844

Repository: hive-git


Currently LazyTimestamp can only interpret timestamps in JDBC format. If there are UNIX epoch
styles timestamps it treats them as invalid and output NULL. This patch is to support all
three types of formats mentioned here

BigDecimal is used to avoid rounding off errors with atoi/atof type of conversions. 


  data/files/timestamp_data.txt PRE-CREATION 
  ql/src/test/queries/clientpositive/timestamp_4.q PRE-CREATION 
  ql/src/test/queries/clientpositive/timestamp_null.q efd5bc4 
  ql/src/test/results/clientpositive/timestamp_4.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/timestamp_null.q.out d21b880 
  serde/src/java/org/apache/hadoop/hive/serde2/lazy/ 27895c5 



Fix includes a unittest which reads from a file that has most types of timestamp formats.


Venki Korukanti

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