Finding Max date in hive
I have a column named "Date" which is in string datatype. 01-24-2018 04-30-2017 How to find the maximum of these dates which is in string? I used this query which is not returning the expected max. max(to_date(from_unixtime(unix_timestamp(b.Date,'MM-dd-yyyy')))
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.