I want to md5 a timestamp column in Hive, without the millisecond. If timestamp is before Epoch Unix Time (year 1970), timestamp is corrupted: START_DATE=1915-07-15 23:25:26.290448384
select ID, START_DATE, MD5(START_DATE) from TABLE1
Result : START_DATE = 2500-02-02 00:00:00.0
No issue without adding MD5 function, or if the timestamp > 1970.
I've tried with vectorized parameter (https://cwiki.apache.org/confluence/display/hive/vectorized+query+execution#VectorizedQueryExecution-Limitations) but still the same issue. Also tried : Cast as string, substr... before MD5.
How can we handle timestamp < 1970 ?
