Re: Unable to format timestamp values in pyspark

2022-05-30 Thread Sid
Yeah, Stelios. It worked. Could you please post it as an answer so that I can accept it on the post and can be of help to people? Thanks, Sid On Mon, May 30, 2022 at 4:42 PM Stelios Philippou wrote: > Sid, > > According to the error that i am seeing there, this is the Date Format > issue. > >

Re: Unable to format timestamp values in pyspark

2022-05-30 Thread Stelios Philippou
Sid, According to the error that i am seeing there, this is the Date Format issue. Text '5/1/2019 1:02:16' could not be parsed But your time format is specific as such 'M/dd/ H:mm:ss') You can see that the day specific is /1/ but your format is dd which expects two digits. Please try

Unable to format timestamp values in pyspark

2022-05-30 Thread Sid
Hi Team, I am able to convert to timestamp. However, when I try to filter out the records based on a specific value it gives an error as mentioned in the post. Could you please help me with this? https://stackoverflow.com/questions/72422897/unable-to-format-timestamp-in-pyspark/72423394#72423394