Member since
08-08-2016
6
Posts
1
Kudos Received
0
Solutions
09-13-2016
05:25 AM
@njayakumar the solution provided by you has worked. Thank a ton 🙂
... View more
09-12-2016
02:47 PM
@Ian Roberts the above query gave the todateformat output as NULL.
... View more
09-12-2016
02:32 PM
Hi @Ian Roberts, I tried the following query which you have suggested but I'm getting very different and weird date. Select log_source_time, from_unixtime(unix_timestamp((test_date),'mm/dd/yyyy hh:mm:ss a'),'yyyy-mm-dd hh:mm:ss a') as todateformat from table1 limit 2;
log_source_time
todateformat
9/1/2016 11:31:21 AM
2016-31-01 11:31:21 AM
9/2/2016 9:59:59 AM
2016-59-02 09:59:59 AM
... View more
09-12-2016
11:31 AM
1 Kudo
Labels:
- Labels:
-
Apache Hive
08-08-2016
06:53 AM
Labels:
- Labels:
-
MapReduce