Forum Discussion

QuinnDatatyk's avatar
QuinnDatatyk
Frequent Visitor
2 years ago
Solved

Spark Write to OneLake cannot overwrite data schema

I cannot overwrite table schema using spark.write.mode("overwrite")

For example, create a table with 2 column: col1 as int and col2 as string

Then change col1 to data type int and use spark.write.mode("overwrite")

It return error 

 

 

 

2 Replies