Skip to main content Skip to complementary content

Updating an existing semantic type

You can edit an existing semantic type in Talend Dictionary Service to impact how your data is validated in Talend Cloud Data Stewardship.

Predefined semantic types in Talend Cloud Data Stewardship are based on standard values, but you may need to tailor them to match your own data. Some data that you would expect to fall under a predefined category, may be considered invalid.

Let's take the example of a dataset containing a list of customers, with their email addresses, date of birth, and the country they live in.

The problem here is that Republic of Angola is not one of the expected value for the Country semantic type in Talend Cloud Data Stewardship.

To avoid having this problem in the future, you need to update the Country semantic type in Talend Dictionary Service and add Republic of Angola to the list of valid entries. The change will be automatically available in Talend Cloud Data Stewardship.

Procedure

  1. Select Semantics types.
  2. Click the search icon on the top-right corner of the page and enter country to filter the list of semantic types.
  3. Select Country from the list.
  4. Click Add item next to Values and enter Republic of Angola in the field which displays.
  5. Click Validate to add the new value to the top of the list of valid entries for the Country semantic type.
    Configuration to update an existing semantic type.
  6. Click Save and publish to send the semantic type to the Talend Dictionary Service server and make it available to be used by Data Stewardship.
    Clicking Save as draft stores the new type on the server without propagating it to the system. The new type is not usable unless it is published. For a use case of this option, let's say that you have new semantic types to deploy as part of a new project. You can prepare the work by creating the semantic types and save them as draft before the go-live of the project, and can deploy the semantic types only the day of go-live.
  7. Go back to the Tasks page and refresh the task list containing the customers countries or reopen it.
    The change in the semantic type is now available in Talend Cloud Data Stewardship and Republic of Angola is a valid value now.

    Also, an entry is added to the history of each of the tasks to show the changes done in the semantic type.

Results

The Country semantic type has been manually updated to support the new value.

From now on, when working with data that are matched with the Country semantic type, Republic of Angola will be considered a valid value.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!