Using spark, I am moving data from one zone to another zone(Postgres) doing some transformations. df.write.mode(SaveMode.Append).option("truncate", true).jdbc(). I