getTypeInfo
- Last Updated: August 23, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Hive 6.0
- Documentation
The following table provides getTypeInfo() results for all sources supported by the driver.
TYPE_NAME =
array1
|
|
TYPE_NAME = bigint
|
|
TYPE_NAME = binary
|
|
TYPE_NAME = boolean
|
|
TYPE_NAME = char
|
|
TYPE_NAME = date
|
|
TYPE_NAME = decimal
3
|
|
TYPE_NAME = double
|
|
TYPE_NAME = float
|
|
TYPE_NAME = int
|
|
TYPE_NAME =
map4
|
|
TYPE_NAME = smallint
|
|
TYPE_NAME = string5
|
|
TYPE_NAME =
struct7
|
|
TYPE_NAME = timestamp
|
|
TYPE_NAME = tinyint
|
|
TYPE_NAME =
union8
|
|
TYPE_NAME = varchar
|
|
1 Maximum of 2
GB
2 If the BinaryDescribeType connection property is set to
varbinary (the
default), the Binary data type maps to VARBINARY. If
BinaryDescribeType is set to longvarbinary, Binary maps to
LONGVARBINARY.3 Decimal is supported as either
a user-defined, variable precision data type or as a fixed
precision data type.
4 Maximum of 2
GB
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 Maximum of 2
GB
8 Maximum of 2
GB