public static TransformNode createTransformNode(TransformResponse transformResponse,
            Map<String, StreamField> constantFieldMap) {
        TransformType transformType = TransformType.forType(transformResponse.getTransformType());
        if (transformType == TransformType.DE_DUPLICATION) {
            TransformDefinition transformDefinition = StreamParseUtils.parseTransformDefinition(
                    transformResponse.getTransformDefinition(), transformType);
            return createDistinctNode((DeDuplicationDefinition) transformDefinition,
                    transformResponse, constantFieldMap);
        } else {
            return createNormalTransformNode(transformResponse, constantFieldMap);
        }
    }
Parse TransformResponse to TransformNode which sort needed
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/sort/util/TransformNodeUtils.java