DeltaWriteOptionsImpl¶
DeltaWriteOptionsImpl
is an extension of the DeltaOptionParser abstraction.
Fun Fact
Despite the suffix (Impl
), DeltaWriteOptionsImpl
is not an implementation (class) but a trait.
Auto Schema Merging¶
canMergeSchema: Boolean
canMergeSchema
flag controls Auto Schema Merging based on mergeSchema option, if defined, or schema.autoMerge.enabled configuration property.
canMergeSchema
is used when:
MergeIntoCommandBase
is requested for canMergeSchema (while running a merge)WriteIntoDelta
is createdDeltaSink
is created
canOverwriteSchema¶
canOverwriteSchema: Boolean
canOverwriteSchema
is the value of overwriteSchema option (in the options).
canOverwriteSchema
is used when:
CreateDeltaTableCommand
is executed (and replaceMetadataIfNecessary)WriteIntoDelta
is createdDeltaSink
is created
rearrangeOnly¶
rearrangeOnly: Boolean
rearrangeOnly
is the value of dataChange option.
rearrangeOnly
is used when:
WriteIntoDelta
is requested to write