Error message
Explanation
A column is expected to contain entries of the specified data type, but it contains one or more null values.Potential causes
- Your source data contains null values.
- The data types in your source data and your pipeline configuration don’t match.
- A transformation component has inadvertently added null values to your data.
Resolve the error
- Check your source data and clean it to remove any null values in this column. This might involve deleting rows or adding appropriate values.
- If your source data doesn’t contain any null values, find the component where the column is defined and check that the data type is correct.
- If the data type is correct, check the configuration of your transformation components to make sure that a component isn’t adding null values to the column.
- If none of these steps work, add a component to your transformation pipeline to handle null values in the column, for example by replacing any null values with a default value of the correct data type.
- Re-run the pipeline.
-
If you still need help, contact Maia Support and include the items listed below.
- The full error text.
- The root pipeline execution ID.
- The Maia runner ID and time of failure (UTC).
Prevent future errors
To prevent this error occurring again:- Sample the data as you build your pipeline, so that you’re aware of any null values in your columns.
- Add a component to handle null values in the column, for example Calculator, Data Cleanse, or Filter.