
Explanation:
To automatically evolve the schema of a Delta table when appending or overwriting data, you can use the .option("mergeSchema", "true") option. This will safely add new columns present in the DataFrame to the Delta table schema without breaking existing data.
Ultimate access to all questions.
A
.option('overwriteSchema', 'true')
B
.option('mergeSchema', 'true')
C
.option('enforceSchema', 'false')
D
.option('autoSchema', 'true')
No comments yet.