girivaratharaja
New Contributor III

Hi @Aditya Deshpande​ 

There is no locking mechanism of PK in Delta. You can use row_number() function on the df and save using delta and do a distinct() before the write.