I have datetime string "2019-11-02T20:18:00Z". How can I convert it into timestamp in Hive HQL?
"2019-11-02T20:18:00Z"
try this:
select from_unixtime(unix_timestamp("2019-11-02T20:18:00Z", "yyyy-MM-dd'T'HH:mm:ss"))
2.1m questions
2.1m answers
60 comments
57.0k users