You can change the semantic type of your data to make sure that the data type of your column matches the actual values.
Talend Data Preparation automatically tries to suggest a semantic type for your data. This type is specified under the header of each column. You can see in the ZIP column that because they have the same number of digits, the US zip codes have been mistaken for French ones. You will now set the semantic type of the column to US postal code.
To modify the semantic type of a column, proceed as follows:
- Click the white arrow next to the header of the ZIP
- In the drop-down menu, point your mouse over this column is a
A list of suggested semantic types opens.
- Click US Postal Code
The semantic type of the ZIP column has now been set to
More generally, if the semantic type proposed by Talend Data Preparation for one column is not the desired one, you can change it at any time, based on your own experience.