Skip to content

DeltaWriteOptionsImpl

DeltaWriteOptionsImpl is an extension of the DeltaOptionParser abstraction.

Fun Fact

Despite the suffix (Impl), DeltaWriteOptionsImpl is not an implementation (class) but a trait.

canMergeSchema

canMergeSchema: Boolean

canMergeSchema is the value of mergeSchema option (if defined) or spark.databricks.delta.schema.autoMerge.enabled configuration property.

canMergeSchema is used when:

canOverwriteSchema

canOverwriteSchema: Boolean

canOverwriteSchema is the value of overwriteSchema option (in the options).

canOverwriteSchema is used when:

rearrangeOnly

rearrangeOnly: Boolean

rearrangeOnly is the value of dataChange option.

rearrangeOnly is used when:

  • WriteIntoDelta is requested to write