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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
prathijp
Frequent Visitor

Parquet file to delta table using Notebooks: Issue with Datetime column

I have parquet file in lakehouse with the below columns. When I try to save the file as lakhouse table I am getting error with the date field. Please suggest if any solution available? Also date column is not available in sql endpoint once saved.

dataref = "/Files/Bronze/CT_Value.parquet"

datadf = spark.read.parquet(dataref)
datadf.write.mode("overwrite").format("delta").save("Tables/CT_Value")
 
Error: "Columns of the specified data types are not supported for (ColumnName: '[date] TIMESTAMP_NTZ')."
 
 
File is as below

prathijp_0-1748120610135.png

 

1 ACCEPTED SOLUTION
Ilgar_Zarbali
Super User
Super User

The error happens because the TIMESTAMP_NTZ type (timestamp without time zone) doesn’t work with Lakehouse tables in Fabric when using Delta format.

To fix it, change the date column to a supported type like DATE or normal TIMESTAMP before saving.

If the column type isn’t supported, it won’t show up in SQL after saving — but converting it will fix that and make it visible.

View solution in original post

2 REPLIES 2
v-prasare
Community Support
Community Support

@prathijp, As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?

 

@Ilgar_Zarbali, Thanks for your prompt response.

 

 

Thanks,

Prashanth Are

MS Fabric community support

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

Ilgar_Zarbali
Super User
Super User

The error happens because the TIMESTAMP_NTZ type (timestamp without time zone) doesn’t work with Lakehouse tables in Fabric when using Delta format.

To fix it, change the date column to a supported type like DATE or normal TIMESTAMP before saving.

If the column type isn’t supported, it won’t show up in SQL after saving — but converting it will fix that and make it visible.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.