@Override
    public Object parse(SourceData sourceData, int rowIndex, Context context) {
        Object stringObj = stringParser.parse(sourceData, rowIndex, context);
        Object countObj = countParser.parse(sourceData, rowIndex, context);
        if (stringObj == null || countObj == null) {
            return null;
        }
        if (stringObj.equals("") || countObj.equals("")) {
            return "";
        }
        String str = OperatorTools.parseString(stringObj);
        double count = OperatorTools.parseBigDecimal(countObj).doubleValue();
        return repeat(str, count);
    }
RepeatFunction  ->  repeat(str, times)
description:
- Return NULL if any parameter is null
- Return a new string that repeats the 'str' by a certain number of 'times'
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/string/RepeatFunction.java