hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kostiantyn Kudriavtsev" <kudryavtsev.konstan...@gmail.com>
Subject Review Request 16679: Introduce UDF for converting datetime to different presentation formats
Date Tue, 07 Jan 2014 08:41:06 GMT

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

Review request for hive.


Bugs: hive-6046
    https://issues.apache.org/jira/browse/hive-6046


Repository: hive


Description
-------

Introduce UDF for converting datetime to different presentation formats, for example:
format_date('2013-12-12 00:00:00.0', 'yyyy-MM-dd HH:mm:ss.S', 'yyyy/MM/dd')
There are two signatures to facilitate further using:
format_date(datetime, fromFormat, toFormat)
format_date(timestamp, toFormat)
 


Diffs
-----


Diff: https://reviews.apache.org/r/16679/diff/


Testing
-------


Thanks,

Kostiantyn Kudriavtsev


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