Executing the Teradata PT APPLY Statement
Use the following Teradata PT APPLY statement to provide the Load operator with selected and filtered data rows:
APPLY
( <DML statement(s)> )
TO OPERATOR (LOAD_OPER)
VIA OPERATOR (MYFILTER)
SELECT * FROM SEQTAB;
Following is the Teradata PT processing that occurs in response to this command:
Function |
Process |
Initiate |
Sequential producer operator: Open the sequential file. 1 Create logical sessions to communicate with the Teradata Database. 2 Allocate resources and set up the processing environment |
Execute |
Sequential producer operator: Read the next row. |
Terminate |
Sequential producer operator: Close the sequential file. |
For more information about the APPLY statement, see the “APPLY” topic in Chapter 3 of the Teradata Parallel Transporter Reference.