presto-record-decoder/src/main/java/io/prestosql/decoder/avro/AvroColumnDecoder.java/AvroColumnDecoder/serializeObject
class AvroColumnDecoder:    private static Block serializeObject(BlockBuilder builder, Object value, Type type, String columnName)
    {
        if (type instanceof ArrayType) {
            return serializeList(builder, value, type, columnName);
        }
        if (type instanceof MapType) {
            return serializeMap(builder, value, type, columnName);
        }
        serializeGeneric(builder, value, type, columnName);
        return null;
    }