@Override
    public Object parse(SourceData sourceData, int rowIndex, Context context) {
        Object arrayObj = arrayParser.parse(sourceData, rowIndex, context);
        Object needleObj = needleParser.parse(sourceData, rowIndex, context);
        if (arrayObj == null) {
            return null;
        }
        if (arrayObj instanceof ArrayList) {
            ArrayList<?> array = (ArrayList<?>) arrayObj;
            if (array.isEmpty()) {
                return null;
            }

            array.removeIf(element -> (element == null && needleObj == null)
                    || (element != null && element.equals(needleObj)));
            return array;
        }
        return null;
    }
ArrayRemoveFunction  ->  ARRAY_REMOVE(array, element)
description:
- Return NULL if 'array' is null;
- Return the result of removing all elements that equal to 'element' from 'array'.
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/collection/ArrayRemoveFunction.java