Iceberg data types

References include Iceberg data types and a table of equivalent SQL data types by Impala SQL engine types.

Iceberg supported data types

Table 1.
Iceberg data type SQL data type Impala
binary BINARY
boolean BOOLEAN BOOLEAN
date DATE DATE
decimal(P, S) DECIMAL(P, S) DECIMAL (P, S)
double DOUBLE DOUBLE
fixed(L) Not supported
float FLOAT FLOAT
int TINYINT, SMALLINT, INT INTEGER
list ARRAY Read only
long BIGINT BIGINT
map MAP Read only
string VARCHAR, CHAR STRING
struct STRUCT Read only
time Not supported
timestamp TIMESTAMP TIMESTAMP
timestamptz TIMESTAMP WITH LOCAL TIME ZONE

Read timestamptz into TIMESTAMP values

Writing not supported

uuid none Not supported

Data type limitations

An implicit conversion to an Iceberg type occurs only if there is an exact match; otherwise, a cast is needed. For example, to insert a VARCHAR(N) column into an Iceberg table you need a cast to the VARCHAR type as Iceberg does not support the VARCHAR(N) type. To insert a SMALLINT or TINYINT into an Iceberg table, you need a cast to the INT type as Iceberg does not support these types.

Unsupported data types

Impala does not support the following Iceberg data types:
  • TIMESTAMPTZ (only read support)

  • FIXED

  • UUID