Loading LOB Data into a Database Table from External Data Files - Parallel Transporter

Teradata® Parallel Transporter Reference

Product
Parallel Transporter
Release Number
17.00
Published
November 2020
Language
English (United States)
Last Update
2022-02-03
dita:mapPath
ric1544831938741.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2436
lifecycle
previous
Product Category
Teradata Tools and Utilities
To load LOB data into a database table from external data files, the Teradata PT script must use:
  • The DataConnector producer operator to read LOB data from an external data file, and
  • The Inserter operator to insert LOB data to a target table.

If the LOB columns are defined as BLOB (lengthBytes) or CLOB (lengthBytes) in the schema, data records in the external data file specified in the FileName attribute must have an 8-byte integer length indicator preceding the BLOB or CLOB data.

If the LOB columns are defined as BLOB (lengthBytes) AS DEFERRED BY NAME or CLOB (lengthBytes) AS DEFERRED BE NAME, data records in the external file specified in FileName attribute must have regular VARCHARs, known as LOB file locators, where the LOB columns are defined as deferred.

For a sample Teradata PT script in the <install-directory>/sample/userguide directory, see uguide03.txt.