Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Noeleke1301
Helper III
Helper III

DateTime timezone changes while copying to .parquet

I've set up a data pipeline that copies data from our oracle database to a Fabric lakehouse. However, when using .parquet I can see times being changed (likely due to daylight savings), f.e. 2024-03-29 00:00 to 2024-03-28 22:00

When I use a .json extension, the time stays the same as in my source.

 

How can I tell my pipeline to not change the time when using .parquet as a sink?

 

As I'm copying all tables dynamically, there is no way for me to set up mapping.

1 ACCEPTED SOLUTION

Hi,

I think I figured out the problem. My source system doesn't have any timezone specification in their datetime fields. I've read that parquet self-assigns a timezone to the value if the source doesn't give any.

Since the Fabric capacity is probably in another timezone, it changes the default timezone of my .parquet files.

 

I've had to set the correct timezone in my spark notebook to correct this. More info on:

Spark: queries with datetime and time zones - KeesTalksTech

View solution in original post

3 REPLIES 3
v-cboorla-msft
Community Support
Community Support

Hi @Noeleke1301 

 

Thanks for using Microsoft Fabric Community.
At this time, we are reaching out to the internal team to get some help on this.
We will update you once we hear back from them.

Appreciate your patience.

 

Thanks

Hi,

I think I figured out the problem. My source system doesn't have any timezone specification in their datetime fields. I've read that parquet self-assigns a timezone to the value if the source doesn't give any.

Since the Fabric capacity is probably in another timezone, it changes the default timezone of my .parquet files.

 

I've had to set the correct timezone in my spark notebook to correct this. More info on:

Spark: queries with datetime and time zones - KeesTalksTech

Hi @Noeleke1301 

 

Glad that you were able to find some insights and thank you for sharing the same with the community as it can be helpful to others.

Please continue using Fabric Community for further queries.

 

Thanks

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!