Use case: handling strings using DqStringHandling routine - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-29
Available in...

Big Data Platform

Cloud API Services Platform

Cloud Big Data Platform

Cloud Data Fabric

Cloud Data Management Platform

Data Fabric

Data Management Platform

Data Services Platform

MDM Platform

Real-Time Big Data Platform

In this use case, a three-component Job uses several DqStringHandling functions concurrently to handle several given strings.

Screenshot of the Job in the design workspace.

In this Job, the three components are:

  • tFixedFlowInput: this component provides the strings to be handled by the DqStringHandling routines you select.
  • tMap: this component transforms the given strings using the DqStringHandling routines you select.
  • tLogRow: this component displays the execution result of this Job.

To replicate this use case, proceed as follows:

From the result, you can see that the contains_only_initials row outputs false because there is a space in front of U.S.A. while the contains_only_initials_after_trim presents true because this space is trimmed; the safe_trim row presents U.S.A. with the space trimmed and the safe_concat row outputs U.S.A. Global Business Services.