presto-kudu/src/main/java/io/prestosql/plugin/kudu/TypeHelper.java/TypeHelper/toKuduClientType
class TypeHelper:    public static org.apache.kudu.Type toKuduClientType(Type type)
    {
        if (type instanceof VarcharType) {
            return org.apache.kudu.Type.STRING;
        }
        if (type == TimestampType.TIMESTAMP) {
            return org.apache.kudu.Type.UNIXTIME_MICROS;
        }
        if (type == BigintType.BIGINT) {
            return org.apache.kudu.Type.INT64;
        }
        if (type == IntegerType.INTEGER) {
            return org.apache.kudu.Type.INT32;
        }
        if (type == SmallintType.SMALLINT) {
            return org.apache.kudu.Type.INT16;
        }
        if (type == TinyintType.TINYINT) {
            return org.apache.kudu.Type.INT8;
        }
        if (type == RealType.REAL) {
            return org.apache.kudu.Type.FLOAT;
        }
        if (type == DoubleType.DOUBLE) {
            return org.apache.kudu.Type.DOUBLE;
        }
        if (type == BooleanType.BOOLEAN) {
            return org.apache.kudu.Type.BOOL;
        }
        if (type instanceof VarbinaryType) {
            return org.apache.kudu.Type.BINARY;
        }
        if (type instanceof DecimalType) {
            return org.apache.kudu.Type.DECIMAL;
        }
        if (type == DateType.DATE) {
            return org.apache.kudu.Type.STRING;
        }
        if (type instanceof CharType) {
            return org.apache.kudu.Type.STRING;
        }
        throw new IllegalStateException("Type mapping implemented for Presto type: " + type);
    }