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

Teradata® Parallel Transporter User Guide

Product
Parallel Transporter
Release Number
16.20
Published
August 2020
Language
English (United States)
Last Update
2020-08-27
dita:mapPath
uah1527114222342.ditamap
dita:ditavalPath
Audience_PDF_product_tpt_userguide_include.ditaval

Job Objective

This Teradata Parallel Transporter sample script loads five rows from a Teradata 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 Teradata Database table.
  • DataConnector operator along with the HDFS Interface because it is the only producer operator that writes data to Hadoop HDFS.