Skip to content

DeltaColumnMappingMode

DeltaColumnMappingMode is an abstraction of the available column mapping modes in Column Mapping.

Contract

Name

name: String

Human-friendly name of this DeltaColumnMappingMode used in error reporting

Used when:

Implementations

Sealed Trait

DeltaColumnMappingMode is a Scala sealed trait which means that all of the implementations are in the same compilation unit (a single file).

Learn more in the Scala Language Specification.

IdMapping

This mode uses the column ID as the identifier of a column.

Name: id

Used for tables converted from Apache Iceberg.

This mode does require a new protocol

NameMapping

Name: name

This mode does require a new protocol

NoMapping

No column mapping and the display name of a column is the only valid identifier to read and write data.

Name: none

This mode does not require a new protocol