private static RowFieldConverter createDecimalRowFieldConverter(DecimalType decimalType) {
        final int precision = decimalType.getPrecision();
        final int scale = decimalType.getScale();
        return (row, pos) -> {
            DecimalData decimal = row.getDecimal(pos, precision, scale);
            return decimal.toBigDecimal();
        };
    }
Runtime converter that converts objects of Flink Table & SQL internal data structures to
corresponding {@link Object}s.
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/utils/RowToFieldDataUtils.java