Format - 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

The internal format of each input record with the FastLoad INMOD Adapter operator must conform to the schema.

The FastLoad INMOD Adapter operator requires each field of an input record to a certain length. When no length is specified, the operator assumes the conventional default length.

The FastLoad INMOD Adapter operator supports both fixed- and variable-length input records. For records with a two-column schema such as:

(
  COL1 INTEGER,
  COL2 VARCHAR(10));
Each record must comprise:
  • A four-byte integer, because 4 is the INTEGER default,
  • A two-byte length indicator for the VARCHAR field, and
  • The CHAR data of the length indicated in the two-byte length indicator field.
The following examples show the byte order when Teradata PT is running on an Intel processor.
  • For example, if the integer has a decimal value of 100 and the VARCHAR is ASCII '12345', then the input record appears in hexadecimal notation, as:
    X'64 00 00 00 05 00 31 32 33 34 35'
  • If the data in the input record is in indicator mode, there is a single preceding indicator byte:
    X'00 64 00 00 00 05 00 31 32 33 34 35'