Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyspark overwrite schema

DF.write 
.format("delta") 
.mode("overwrite") 
.option("overwriteSchema", "True") 
.partitionBy(datefield) 
.saveAsTable(deltatable)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pyspark #overwrite #schema
ADD COMMENT
Topic
Name
2+7 =