cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

What could be the issue with parquet file?

irfanaziz
Contributor II

when trying to update or display the dataframe, one of the parquet files is having some issue,

"Parquet column cannot be converted. Expected: DecimalType(38,18), Found: DOUBLE"

What could be the issue?

1 REPLY 1

-werners-
Esteemed Contributor III

try to explicitly cast the double column to dec(38,18) and then do the display.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.