tStandardizePhoneNumber properties - 6.1

Talend Components Reference Guide

EnrichVersion
6.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

Component family

Data quality

 

Function

This component receives phone number data from its preceding component and formats and standardizes these numbers using a built-in Google libphonumber library.

Purpose

This component standardizes phone numbers according to given formats.

Basic settings

Schema and Edit schema

A schema is a row description, it defines the number of fields to be processed and passed on to the next component. The schema is either Built-in or stored remotely in the Repository.

Since version 5.6, both the Built-In mode and the Repository mode are available in any of the Talend solutions.

This component provides default columns. For further information, see section Default columns.

 

 

Built-in: You create the schema and store it locally for this component only. Related topic: see Talend Studio User Guide.

 

 

Repository: You have already created the schema and stored it in the Repository. You can reuse it in various projects and job designs. Related topic: see Talend Studio User Guide.

 

Phone number

Select the column holding the phone numbers of interest from the input data.

 

Country code

Select the column holding the country codes (ISO 2) from the input data.

Note

The input data processed by this component must be able to provide the two-letter ISO country codes alongside the corresponding phone numbers of interest.

 

Customize

Select this check box to set a custom country code (ISO 2). Once selected, it disables the Country code field and gives priority to the customized country code for phone number standardization.

For example, if the input data provides a set of phone numbers with a wrong country code or alternatively with no country code, then you can select this check box and type in the country code you need for standardization.

 

Phone number format for output

Select the format to be used to standardize the phone numbers of interest. The available options are:

- E164

- International

- National

Advanced settings

Avoid comparison

Select this check box to deactivate the comparison performed between the input and the output data at runtime. This could accelerate the execution process of the Job using this component.

 

tStatCatcher Statistics

Select this check box to collect log data at the component level.

Global Variables

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

This component is an intermediary step. It requires an input flow as well as an output.

Limitation

n/a

Default columns

The following table presents details about the default columns provided by tStandardizePhoneNumber.

Columns

Description

StandardizedPhoneNumber

This column presents the standardized phone numbers.

IsValidPhoneNumber

This column indicates whether a phone number processed is recognized as valid.

IsPossiblePhoneNumber

This column indicates whether a phone number processed is supposed to be valid.

IsAlreadyStandard

This column indicates whether a phone number processed is already standardized after comparing it with the output standardized phone number.

PhoneNumberType

This column indicates the type of a processed phone number, such as fixed line, toll free, etc.

ErrorMessage

This column presents the relative error message if a phone number is unrecognizable.

In addition to these default columns, you need to define more columns alongside in order for this component to receive the corresponding input data.