DataDirect Connect XE Drivers
:
The Driver for Apache Hive
:
Data Types
Data Types
The following table shows how the Apache Hive data types are mapped to the standard JDBC data types.
Table 79.
Apache Hive Data Types
Apache Hive
JDBC
BIGINT
BIGINT
BINARY
1
VARBINARY
BOOLEAN
BOOLEAN
DOUBLE
DOUBLE
FLOAT
REAL
INT
INTEGER
SMALLINT
SMALLINT
STRING
VARCHAR or LONGVARCHAR
2
TIMESTAMP
TIMESTAMP
TINYINT
TINYINT
1
Supported only with HiveServer1.
2
If the StringDescribeType property is set to
varchar
(the default), this data type maps to VARCHAR. If set to
longvarchar
, this data type maps to LONGVARCHAR.