Use the CREATE strategy in a mapping to drop the existing Delta Lake target table, including its data, and create a new target table with all source schema columns and their data.
Create a passthrough mapping with ports dynamically linked from the Read transformation to the Write transformation.
The following image shows the linked transformations:
Select the Write transformation and the Ports property sheet. Select the
Columns defined by mapping flow
option.
The following image shows the location of the
Mapping flow
option in the Ports properties:
Select the Read transformation and the Data Object property sheet. Select the
At run time, get data object columns from the data source
option.
The following image shows the option location in the Data Object properties:
Select the Write transformation and the Advanced property sheet. For the Target Schema Strategy property, select the