Job Example 17: Extract Rows and Write Them to a Hadoop File - Parallel Transporter

Teradata® Parallel Transporter User Guide

Product
Parallel Transporter
Release Number
17.00
Published
August 31, 2020
Language
English (United States)
Last Update
2020-08-27
dita:mapPath
zae1544831938751.ditamap
dita:ditavalPath
tvt1507315030722.ditaval
dita:id
B035-2445
lifecycle
previous
Product Category
Teradata Tools and Utilities

Job Objective

This Teradata Parallel Transporter sample script loads five rows from a database table to flat file in Hadoop.

Data Flow Diagram

The following figure shows a diagram of the elements for Job Example 17.

Job Example PTS00031 – Extract Rows and Write Them to a Hadoop File

Sample Script

For the sample script that corresponds to this job, see the following script in the sample/userguide directory:

PTS00031: Extract Rows and Write Them to a Hadoop File

Rationale

This job uses the operators shown for the following reasons:
  • Export operator because it is the fastest way to extract large amounts of data from a database table.
  • DataConnector operator along with the HDFS Interface because it is the only producer operator that writes data to Hadoop HDFS.