티스토리 뷰

728x90
SELECT DATE_FORMAT(event_time, "yyyy-MM-dd'T'HH:mm:ss'Z'") event_time

https://stackoverflow.com/questions/66679640/convert-timestamp-format-to-iso-time-format-in-pyspark

 

convert timestamp format to iso time format in pyspark

I have a pyspark dataframe that has a field, time, that has timestamps in two formats, "11-04-2019,00:32:13" and "2019-12-05T07:57:16.000Z" How can I convert all the timestamp...

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[python] venv deactivate  (0) 2022.12.03
[gradle] exclude dependency  (0) 2022.12.02
[airflow] default_args (for operator)  (0) 2022.12.01
[jenkins] pipeline  (0) 2022.12.01
[terraform] basic  (0) 2022.12.01
댓글
댓글쓰기 폼