Removing a semantic type
You can delete a semantic type in Talend Dictionary Service to remove it from the list of recognized data types in the Talend Cloud applications.
The variety of semantic types that are present by default may not apply to your business context. For example, a five-digit number can be interpreted as an American ZIP code, but also as a French or German one since they share the same format.
Let's say that you are working in an American company, and you only must deal with data coming from American clients, including ZIP codes. You would prefer to keep only the American ZIP code in the list of recognized semantic types.
In this example, the ZIP column of the dataset can be matched with at least four types.
Using Talend Dictionary Service, you will simply remove the other semantic types that match the five-digit format and only leave US Postal Code. The change will then be propagated instantly and from now on, ZIP codes will only be validated against the US Postal Code semantic type.
Procedure
- From the left panel of the homepage, open the Semantic type view.
- In the list of existing semantic types, look for FR Postal Code.
- To delete it, hover over the semantic type and click the garbage bin icon that is displayed on the right.
- Repeat the last two steps to delete the FR Insee Code and the DE Postal Code.