NandiniN
Databricks Employee
Databricks Employee

You can partition the DataFrame in PySpark before writing it to SQL Server. For example:

df.repartition(10).write.mode("overwrite").option("truncate", True).jdbc(Url, "dbtable", properties=properties)