This article applies only to pipelines created before the data type mapping change. Pipelines created after the mapping update are not affected and require no action. You might encounter one of the following issues:
Schema Validation Error
When running a pipeline, you may receive an error similar to: Schema of source dataset and sample used in pipeline did not match. This typically occurs when using Append, Truncate, or Drop modes.
Data Type Validation Errors
Some transformation steps may display unexpected data type errors.
| Step | Example Error |
|---|---|
| Copy Column | Expected Decimal, received Integer |
| Rename Column | Correct decimal values are displayed, but the data type remains Integer |
| Evaluate Rule | Expected Integer, received Decimal |
Cause
After the data type mapping update, the source dataset and the sample stored in an existing pipeline can become out of sync.
Although re-cataloging updates the dataset metadata, older pipelines may still reference previous sample or cached data type information. This outdated metadata can cause schema validation or data type validation failures until the pipeline is refreshed.
Resolution
Scenario 1: Schema Mismatch During Pipeline Execution
If you receive a schema mismatch error:
- Re-catalog the dataset.
- Regenerate the sample.
- Run the pipeline again.
The pipeline should now execute successfully.
Scenario 2: Data Type Errors in Transformation Steps
- Copy Column
- Right-click the step and select Edit.
- In Copy from, select a different column.
- Select the original column again.
- Click Save.
- Rename Column
- Right-click the step and select Edit.
- In Column, select a different column.
- Select the original column again.
- Click Save.
- Evaluate Rule
- Right-click the step and select Edit.
- Select Map Fields.
- Temporarily select a different field for any input.
- Select the original field again. Refreshing a single mapped field is sufficient.
- Click Apply.
- Click Save.
Other Transformation Steps (like matching step)
For any other affected transformation step:
- Open the step for editing.
- Temporarily select a different column or field.
- Re-select the original column or field.
- Save the step.
Summary
To resolve schema and data type issues caused by the data type mapping change:
- Re-catalog the dataset.
- Regenerate the sample.
- If a transformation step still displays a data type error, refresh the affected field by selecting a different value, switching back to the original value, and saving the step.
This updates the pipeline metadata and ensures the step recognizes the current data type definitions.