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"))
1.4m articles
1.4m replys
5 comments
57.0k users