Data Type Mapping | Teradata Connectors | QueryGrid - Data Type Mapping for QueryGrid Connectors - Teradata QueryGrid

QueryGridâ„¢ Installation and User Guide - 3.06

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata QueryGrid
Release Number
3.06
Published
December 2024
ft:locale
en-US
ft:lastEdition
2024-12-07
dita:mapPath
ndp1726122159943.ditamap
dita:ditavalPath
ft:empty
dita:id
lxg1591800469257
Product Category
Analytical Ecosystem

When you query a remote system that runs a target connector that is a different platform from the local system (initiator) connector, data is converted to satisfy the target database requirements. Even when the initiator and target connectors are the same, the data is still transformed because the host formats might be different from each other.

It is important to note the following information about data types:

  • The mapping for some data types may not preserve the data in all cases, so be aware that with some queries, data loss can occur.

    As an example, the import of data from Presto with an unlimited VARCHAR size into a limited Teradata VARCHAR column requires truncation and thus, data loss.

    As another example, if you export a Teradata byteint data type as a Boolean and then import it again, the data may not be the same. This can occur because the Boolean zero or one is imported while the byteint may have contained other values beyond zero or one.

  • If a data type is unsupported on the remote system, and the metadata information retrieved contains a global type that is not supported on the initiator system, an error is returned from the initiator. For SELECT * queries with a column containing an unsupported data type, the unsupported column causes the entire query to return an error. In this case the query must include only the supported columns in the select list.
  • All time-related data types are in UTC.