presto-phoenix/src/main/java/io/prestosql/plugin/phoenix/TypeUtils.java/TypeUtils/jdbcObjectArrayToBlock
class TypeUtils:    public static Block jdbcObjectArrayToBlock(ConnectorSession session, Type type, Object[] elements)
    {
        BlockBuilder builder = type.createBlockBuilder(null, elements.length);
        for (Object element : elements) {
            writeNativeValue(type, builder, jdbcObjectToPrestoNative(session, element, type));
        }
        return builder.build();
    }