Data Type Mappings

Apache Hive to TDV Data Types

The following limits apply to Apache Hive data type mapping:

The maximum length for VARCHAR is 65355.

The following table shows the mapping from Apache Hive data types to TDV data types.

Apache Hive Data Type

TDV Data Type

BOOLEAN

BOOLEAN

BINARY

BINARY

CHAR

CHAR

VARCHAR

VARCHAR

DECIMAL

DECIMAL

DATE

DATE

TIMESTAMP

TIMESTAMP

INTERVAL_DAY_TIME

INTERVAL\DAY\TO\SECOND

INTERVAL_YEAR_MONTH

INTERVAL\YEAR\TO\MONTH