Importing regular expressions or SQL patterns from a csv file - Cloud

Talend Cloud API Services Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
Cloud
EnrichProdName
Talend Cloud
task
Design and Development
EnrichPlatform
Talend Management Console
Talend Studio

Before you begin

You have selected the Profiling perspective of Talend Studio.

Procedure

  1. In the DQ Repository tree view, expand Libraries > Patterns.
  2. Right-click Regex and select Import patterns.

    The Import Patterns wizard opens.

  3. Browse to the csv file holding the regular expressions.
  4. In the Duplicate patterns handling area, select:
    Option Description
    skip existing patterns Import only the regular expressions that do not exist in the corresponding lists in the DQ Repository tree view. A warning message is displayed if the imported patterns already exist under the Patterns folder.
    rename new patterns with suffix Identify each of the imported regular expressions with a suffix. All regular expression will be imported even if they already exist under the Patterns folder.
  5. Click Finish.
    A confirmation message is displayed.
  6. Click OK.
    All imported regular expressions are listed under the Regex folder in the DQ Repository tree view.

Results

The regular expressions are imported under the same folders or subfolders they had in the initial repository.
Note: A warning icon next to the name of the imported regular expression or SQL pattern in the tree view identifies that it is not correct. You must open the expression or the pattern and try to figure out what is wrong. Usually, problems come from missing quotes. Check your regular expressions and SQL patterns and ensure that they are encapsulated in single quotes.