Advika
Community Manager
Community Manager

Hello @nielsehlers!

Just to clarify, PySpark's from_utc_timestamp converts a UTC timestamp to the specified timezone (in this case it's Europe/Berlin), adjusting the actual timestamp value rather than just setting timezone metadata. This happens because PySpark timestamps are stored as absolute instants (epoch time) without timezone information, and the function recalculates it in the given timezone.

For more info: pyspark.sql.functions.from_utc_timestamp