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

Teradata® Parallel Transporter Reference

Product
Parallel Transporter
Release Number
17.10
Published
February 2022
Language
English (United States)
Last Update
2023-11-29
dita:mapPath
abr1608578396711.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
ogv1478610452101
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)
  • 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 PST00006.txt.