Data type mappings between Apache Kudu and Trino

Apache Kudu connector data type mappings provide the bidirectional data type conversions between Apache Kudu and Trino.

Table 1. Data type mappings between Apache Kudu and Trino
Kudu type Trino type Comments
BOOL BOOLEAN Maps bidirectionally.
INT8 TINYINT Maps bidirectionally.
INT16 SMALLINT Maps bidirectionally.
INT32 INTEGER Maps bidirectionally.
INT64 BIGINT Maps bidirectionally.
FLOAT REAL Maps bidirectionally.
DOUBLE DOUBLE Maps bidirectionally.
DECIMAL(p,s) DECIMAL(p,s) Supported for Kudu server 1.7.0 or higher versions.
STRING VARCHAR Optional maximum length is lost when mapping to Kudu.
BINARY VARBINARY Maps bidirectionally.
DATE DATE Maps bidirectionally.
UNIXTIME_MICROS TIMESTAMP(3) Microsecond resolution in Kudu is reduced to millisecond resolution in Trino.