Member since
03-15-2018
16
Posts
2
Kudos Received
0
Solutions
03-27-2018
08:39 AM
@Shu Hello 😄 from the other side XD Am so grateful sir , you helped me out !!
Thanks a lot :D
I highly recommend you
... View more
05-23-2018
06:00 PM
Something like this will do the trick assuming the column name is timestamp_s. This will create a new data frame with a new timestamp column added to it. The new timestamp format is defined by this string: "EEE MMM dd HH:mm:ss ZZZZZ yyyy" val df_second = df_First.withColumn("timestampZ", unix_timestamp($"timestamp_s","EEE MMM dd HH:mm:ss ZZZZZ yyyy").cast(TimestampType)).drop($"timestamp_s")
... View more