Get Column Schema List - Parallel Transporter

Teradata® Parallel Transporter Operator Programmer Guide

Product
Parallel Transporter
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-18
dita:mapPath
oee1544831943772.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2435
lifecycle
previous
Product Category
Teradata Tools and Utilities

Purpose

Get Column Schema List is the service function that retrieves the list of column handles associated with a table schema.

Structure

#include <pxoper.h>
PXSTC_Code PX_GetColumnSchemaList(
   PX_TableSchemaHandle  tableSchemaHandle,
   PX_ColumnSchemaList *  columnSchemaList,
   PX_Count *  columnSchemaCount);

where the following is true:

Parameter Function Specification
columnSchemaCount output Number of column schemas in the list.
columnSchemaList output Pointer to the location of the retrieved column schema list.
tableSchemaHandle input Table schema handle from which the column schema list is to be retrieved.

Return Codes

The following Get Column Schema List function status codes are defined by the Teradata PT operator interface:

Status Code Signifies
PXSTC_InvalidArgument One or more bad input arguments.
PXSTC_BadHandle An undefined data schema handle.
PXSTC_NotFound The specified column schema list was not found in the specified object.
PXSTC_Success Successful retrieval of the list of column handles.

Usage Notes

Consider the following when defining the Get Column Schema List function.

Topic Usage Notes
Status If the function status is PXSTC_Success, the address of the column schema list is stored in the location pointed to by the columnSchemaList parameter. See also Get Table Schema List.