Transforms Off and Period Data Type Support - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantage™ Data Types and Literals

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1143-162K

The configuration response parcel (in the PclCfgMultipartFeatType struct (pclmisc.h)) includes byte flags that enable the server to inform the client of transforms off and Period data type support.

UDTTransformsOff Byte Flag Values

Value Description
0 Transforms are turned on. UDTs are transferred in transformed mode. Period metadata and data are transferred in non-struct mode (binary form).
1 UDTs are transferred in untransformed mode. Period metadata and data are transferred in non-struct mode (binary form).

The client can set the UDTTransformsOff flag within the options portion of the DBCAREA. See UDTTransformsOff Flag for more information on this flag.

2 UDTs are transferred in untransformed mode. Period metadata and data are transferred in struct mode.
When the value is set to 2:
  • The client can set the PeriodStructOn flag within the options portion of the DBCAREA. See PeriodStructOn Flag for more information on this flag.
  • The client is permitted (but not required) to send PERIOD struct metadata and data values to Teradata Database in request messages.

See Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems, B035-2417 and Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems, B035-2418 for more information on setting DBCAREA options.

ArrayDataType Byte Flag Values

Value Description
0 ARRAY data types are not supported.
1 ARRAY data types are supported.

When the value is set to 1, the client can set the ArrayTransformsOff flag within the options portion of the DBCAREA. See ArrayTransformsOff Flag for more information on this flag.

See Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems, B035-2417 and Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems, B035-2418 for more information on setting DBCAREA options.