Hive String to Timestamp conversion with Milliseconds
问题 I have a requirement to convert the mentioned input string format and produce the desired output in timestamp as shown below. Input: 16AUG2001:23:46:32.876086 Desired Output: 2001-08-16 23:46:32.876086 Output which is coming by running the below code: 2001-08-17 00:01:08 Query: select '16AUG2001:23:46:32.876086' as row_ins_timestamp, from_unixtime(unix_timestamp('16AUG2001:23:46:32.876086', 'ddMMMyyyy:HH:mm:ss.SSSSSS')) as row_ins_timestamp from temp; Milliseconds part is not getting