presto-record-decoder/src/main/java/io/prestosql/decoder/avro/AvroColumnDecoder.java/AvroColumnDecoder/isSupportedPrimitive
class AvroColumnDecoder:    private boolean isSupportedPrimitive(Type type)
    {
        return isVarcharType(type) ||
                ImmutableList.of(
                        BigintType.BIGINT,
                        BooleanType.BOOLEAN,
                        DoubleType.DOUBLE,
                        VarbinaryType.VARBINARY).contains(type);
    }