I am loading data to parquet through spark.
dataFrame.write.parquet(path)
My data have a timestamp column while writing to parquet it is actually converting timestamp to UTC timezone and then storing.
actual time ------- 2020-10-21 00:00:00.000
UTC time--------- 2020-10-21T05:30:00.000+05:30
I see spark conf is set to UTC timezone.spark.sql.session.timeZone
Is there any way to turn off this conversion?
I want to load timestamp as is without converting it to any other timezone. how do i do that?