skip to main content
The Connect XE Drivers : The Impala Wire Protocol Driver : Data Types
 

Try DataDirect Drivers Now

Data Types

The following table shows how the Impala data types are mapped to the standard ODBC data types.
Table 69. Impala Data Types
Impala
ODBC
Bigint
SQL_BIGINT
Boolean
SQL_BIT
Char1
SQL_CHAR
Decimal2
SQL_DECIMAL
Double
SQL_DOUBLE
Float
SQL_REAL
Int
SQL_INTEGER
Smallint
SQL_SMALLINT
String3
SQL_WVARCHAR,
SQL_WLONGVARCHAR
Timestamp
SQL_TYPE_TIMESTAMP
Tinyint
SQL_TINYINT
Varchar5
SQL_VARCHAR

1 Supported with Impala 2.0 and higher.

2 Supported with Impala 2.0 and higher.

3 Maximum of 2 GB

4 If the StringDescribeType property is set to wvarchar (the default), this data type maps to WVARCHAR. If set to wlongvarchar, this data type maps to WLONGVARCHAR.

5 Supported with Impala 2.0 and higher.