mathan_pillai
Databricks Employee
Databricks Employee

Are you having multiple threads that runs this statements concurrently ? If so the race condition could cause this issue, when trying to update the metastore.