I am working on Pyspark.
I have a column end_date
, I want to make some work on it. But I can't due to his type: OffsetDateTimeUdt
.
It's possible to convert this type in date or string ?
Exemple of value:2021-08-15T00:00:00.000Z
If you have any idea please let me know :)
Thanks in advance
Convert into timestamp by ignoring the milliseconds like below
output: