Temporal Tables - Parallel Transporter

Teradata® Parallel Transporter Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
IntelliFlex
Lake
Enterprise
VMware
Product
Parallel Transporter
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2023-12-06
dita:mapPath
mjn1691132485167.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
ogv1478610452101
lifecycle
latest
Product Category
Teradata Tools and Utilities

When using the Stream operator to load data into temporal tables, the temporal qualifiers, such as CURRENT VALIDTIME and SEQUENCED VALIDTIME, must precede the DML statements, as in the following example.

APPLY
('SEQUENCED VALIDTIME INSERT INTO <target table> ... ;')
 TO OPERATOR (STREAM_OPERATOR)
SELECT * FROM OPERATOR (<producer operator>);

When using an atomic Upsert, the temporal qualifier must precede the UPDATE statement, not the INSERT statement, as in the following example.

APPLY
('SEQUENCED VALIDTIME UPDATE <target table> SET ... WHERE ... ;',
 'INSERT INTO <target table> ... ;')
 INSERT FOR MISSING UPDATE ROWS
 TO OPERATOR (STREAM_OPERATOR)
SELECT * FROM OPERATOR (<producer operator>);