presto-phoenix/src/main/java/io/prestosql/plugin/phoenix/TypeUtils.java/TypeUtils/handleArrayNulls
class TypeUtils:    private static void handleArrayNulls(Object[] valuesArray, int length)
    {
        for (int i = 0; i < valuesArray.length; i++) {
            if (valuesArray[i] == null) {
                valuesArray[i] = new Object[length];
            }
        }
    }