Driver for Apache Hive getTypeInfo()
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
The following table provides getTypeInfo() results for all sources supported by the driver for Apache Hive.
TYPE_NAME = bigint
|
|
TYPE_NAME = binary
1
|
|
TYPE_NAME = boolean
|
|
TYPE_NAME = char
2
|
|
TYPE_NAME = date3
|
|
TYPE_NAME = decimal
4
|
|
TYPE_NAME = double
|
|
TYPE_NAME = float
|
|
TYPE_NAME = int
|
|
TYPE_NAME = smallint
|
|
TYPE_NAME = string5
|
|
TYPE_NAME = timestamp
|
|
TYPE_NAME = tinyint
|
|
TYPE_NAME = varchar7
|
|
1 Supported only for HiveServer1.
2 Supported for Apache Hive 0.13
and higher.
3 Supported for Apache Hive 0.12 and higher.
4 For Apache Hive 0.13 and
higher, supported as either a user-defined, variable precision
data type or as a fixed precision data type. For Apache Hive
0.11 and 0.12, supported as a fixed precision data type
only.
5 Maximum of 2
GB
6 If
the StringDescribeType connection property is set to
varchar (the
default), the String data type maps to VARCHAR. If
StringDescribeType is set to longvarchar, String maps to
LONGVARCHAR.7 Supported for
Apache Hive 0.12 and higher.