Hi All,
I am trying to Partition By () on Delta file in pyspark language and using command:
df.write.format("delta").mode("overwrite").option("overwriteSchema","true").partitionBy("Partition Column").save("Partition file path") -- It doesnt seems to work for me.
df.write.option("header",True).partitionBy("Partition Column").mode("overwrite").parquet("Partition file path") -- it worked but in the further steps it complains about the file type is not delta.
Please suggest the code to save partition file in delta format.
Thanks in advance.