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

AnalysisException: The schema of your Delta table has changed in an incompatible way since your DataFrame or DeltaTable object was created. Please redefine your DataFrame or DeltaTable object.

ramankr48
Contributor II

can anybody tell me why this error is coming and what's the reliable solution for it

1 ACCEPTED SOLUTION

Accepted Solutions

I've used another method to insert the data,

used merge to insert as well as to update it simultaneously.

View solution in original post

5 REPLIES 5

Kaniz
Community Manager
Community Manager

Hi @Raman Gupta​, You will find the answer here in this GitHub link. Please let us know if that helps.

I've found this one before but didn't found that much helpful.

Kaniz
Community Manager
Community Manager

@Raman Gupta​ , Thank you for your response. Let us help you with this.

Anonymous
Not applicable

Hi @Raman Gupta​ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

I've used another method to insert the data,

used merge to insert as well as to update it simultaneously.

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.