@SuppressWarnings("unchecked")
    @Override
    public Object parse(SourceData sourceData, int rowIndex, Context context) {
        Object arrayObj = arrayParser.parse(sourceData, rowIndex, context);
        if (arrayObj == null) {
            return null;
        }
        if (arrayObj instanceof ArrayList) {
            ArrayList<Integer> array = (ArrayList<Integer>) arrayObj;
            if (array.isEmpty()) {
                return null;
            }
            int max = Integer.parseInt(String.valueOf(array.get(0)));
            for (Object element : array) {
                int elementInt = Integer.parseInt((String) element);
                if (elementInt - max > 0) {
                    max = elementInt;
                }
            }
            return max;
        }
        return null;
    }
ArrayMaxFunction  ->  ARRAY_MAX(array)
description:
- Return NULL if 'array' is null;
- Return the maximum value from the 'array'.
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/collection/ArrayMaxFunction.java