@Override
    public Object parse(SourceData sourceData, int rowIndex, Context context) {
        Object valueObj = valueParser.parse(sourceData, rowIndex, context);
        if (isBigDecimal(valueObj)) {
            return hex(OperatorTools.parseBigDecimal(valueObj)).toUpperCase();
        }
        return hex(OperatorTools.parseString(valueObj)).toUpperCase();
    }
HexFunction  ->  hex(dataStr)
description:
- Return the string obtained by converting the dataStr to hexadecimal if 'dataStr' can be parsed into numeric
- Return the string obtained by converting the ASCII code corresponding to each character to hexadecimal otherwise
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/arithmetic/HexFunction.java