You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/08/16 02:24:52 UTC

[GitHub] [incubator-seatunnel] ashulin opened a new pull request, #2422: [ST-Engine] add connector action

ashulin opened a new pull request, #2422:
URL: https://github.com/apache/incubator-seatunnel/pull/2422

   <!--
   
   Thank you for contributing to SeaTunnel! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [GITHUB issue](https://github.com/apache/incubator-seatunnel/issues).
   
     - Name the pull request in the form "[Feature] [component] Title of the pull request", where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
   
     - Minor fixes should be named following this pattern: `[hotfix] [docs] Fix typo in README.md doc`.
   
   -->
   
   ## Purpose of this pull request
   
   <!-- Describe the purpose of this pull request. For example: This pull request adds checkstyle plugin.-->
   
   ## Check list
   
   * [ ] Code changed are covered with tests, or it does not need tests for reason:
   * [ ] If any new Jar binary package adding in your PR, please add License Notice according
     [New License Guide](https://github.com/apache/incubator-seatunnel/blob/dev/docs/en/contribution/new-license.md)
   * [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] ashulin commented on pull request #2422: [ST-Engine] Improve task and physical plan to support checkpoint

Posted by GitBox <gi...@apache.org>.
ashulin commented on PR #2422:
URL: https://github.com/apache/incubator-seatunnel/pull/2422#issuecomment-1218070959

   This PR will be split into multiple PR to solve different problems;


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] ashulin commented on a diff in pull request #2422: [ST-Engine] Improve task and physical plan to support checkpoint

Posted by GitBox <gi...@apache.org>.
ashulin commented on code in PR #2422:
URL: https://github.com/apache/incubator-seatunnel/pull/2422#discussion_r947796707


##########
seatunnel-engine/seatunnel-engine-core/src/main/java/org/apache/seatunnel/engine/core/dag/logical/LogicalDagOptimizer.java:
##########
@@ -0,0 +1,180 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.seatunnel.engine.core.dag.logical;
+
+import org.apache.seatunnel.api.transform.SeaTunnelTransform;
+import org.apache.seatunnel.engine.common.config.JobConfig;
+import org.apache.seatunnel.engine.common.utils.IdGenerator;
+import org.apache.seatunnel.engine.core.dag.actions.Action;
+import org.apache.seatunnel.engine.core.dag.actions.PartitionTransformAction;
+import org.apache.seatunnel.engine.core.dag.actions.SinkAction;
+import org.apache.seatunnel.engine.core.dag.actions.SourceAction;
+import org.apache.seatunnel.engine.core.dag.actions.TransformAction;
+import org.apache.seatunnel.engine.core.dag.actions.TransformChainAction;
+import org.apache.seatunnel.engine.core.dag.actions.UnknownActionException;
+
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+public class LogicalDagOptimizer {
+
+    /**
+     * The action ID needs to be regenerated because of the source, sink, and chain.
+     */
+    private final IdGenerator idGenerator = new IdGenerator();
+
+    private final Map<Long, LogicalVertex> newLogicalVertexMap;
+
+    private final List<LogicalVertex> logicalJobVertices;
+
+    private final Set<LogicalEdge> oldEdges;
+
+    /**
+     * key: old vertex id, value: new vertex id;
+     */
+    private final Map<Long, Long> oldToNewIdMap = new HashMap<>();
+
+    private final LogicalDag dag;
+
+    public LogicalDagOptimizer(final Map<Long, LogicalVertex> logicalVertexMap,
+                               final Set<LogicalEdge> edges,
+                               JobConfig jobConfig) {
+        this.newLogicalVertexMap = new HashMap<>(logicalVertexMap.size());
+        this.logicalJobVertices = new ArrayList<>(logicalVertexMap.values());
+        this.oldEdges = edges;
+        this.dag = new LogicalDag(jobConfig, idGenerator);
+    }
+
+    public LogicalDag expandAndOptimize() {
+        getSourceVertices().forEach(sourceVertex -> {
+            List<LogicalVertex> vertices = new ArrayList<>();
+            vertices.add(sourceVertex);
+            for (int index = 0; index < vertices.size(); index++) {
+                LogicalVertex vertex = vertices.get(index);
+                createChainedVertex(vertex);
+                vertex.getOutputs().forEach(edge -> vertices.add(edge.getTargetVertex()));
+            }
+        });
+        connectVertices();
+        dag.getLogicalVertexMap().putAll(newLogicalVertexMap);
+        return dag;
+    }
+
+    private void connectVertices() {
+        oldEdges.forEach(oldEdge -> {
+            Long oldInputVertexId = oldEdge.getInputVertex().getVertexId();
+            Long oldTargetVertexId = oldEdge.getTargetVertex().getVertexId();
+            LogicalVertex inputVertex = newLogicalVertexMap.get(oldToNewIdMap.get(oldInputVertexId));
+            LogicalVertex targetVertex = newLogicalVertexMap.get(oldToNewIdMap.get(oldTargetVertexId));
+            LogicalEdge edge = new LogicalEdge(inputVertex, targetVertex);
+            inputVertex.addOutput(targetVertex);
+            targetVertex.addInput(inputVertex);
+            dag.addEdge(edge);
+        });
+    }
+
+    private List<LogicalVertex> getSourceVertices() {
+        List<LogicalVertex> vertices = new ArrayList<>();
+        for (LogicalVertex vertex : logicalJobVertices) {
+            if (vertex.getInputs().size() == 0) {
+                vertices.add(vertex);
+            }
+        }
+        return vertices;
+    }
+
+    private void createChainedVertex(LogicalVertex logicalVertex) {

Review Comment:
   My opinion is that the ExecutionPlan phase should not convert logical vertices to logical vertices.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] ashulin closed pull request #2422: [ST-Engine] Improve task and physical plan to support checkpoint

Posted by GitBox <gi...@apache.org>.
ashulin closed pull request #2422: [ST-Engine] Improve task and physical plan to support checkpoint
URL: https://github.com/apache/incubator-seatunnel/pull/2422


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] Hisoka-X commented on a diff in pull request #2422: [ST-Engine] Improve task and physical plan to support checkpoint

Posted by GitBox <gi...@apache.org>.
Hisoka-X commented on code in PR #2422:
URL: https://github.com/apache/incubator-seatunnel/pull/2422#discussion_r947416524


##########
seatunnel-engine/seatunnel-engine-core/src/main/java/org/apache/seatunnel/engine/core/dag/logical/LogicalDagOptimizer.java:
##########
@@ -0,0 +1,180 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.seatunnel.engine.core.dag.logical;
+
+import org.apache.seatunnel.api.transform.SeaTunnelTransform;
+import org.apache.seatunnel.engine.common.config.JobConfig;
+import org.apache.seatunnel.engine.common.utils.IdGenerator;
+import org.apache.seatunnel.engine.core.dag.actions.Action;
+import org.apache.seatunnel.engine.core.dag.actions.PartitionTransformAction;
+import org.apache.seatunnel.engine.core.dag.actions.SinkAction;
+import org.apache.seatunnel.engine.core.dag.actions.SourceAction;
+import org.apache.seatunnel.engine.core.dag.actions.TransformAction;
+import org.apache.seatunnel.engine.core.dag.actions.TransformChainAction;
+import org.apache.seatunnel.engine.core.dag.actions.UnknownActionException;
+
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+public class LogicalDagOptimizer {
+
+    /**
+     * The action ID needs to be regenerated because of the source, sink, and chain.
+     */
+    private final IdGenerator idGenerator = new IdGenerator();
+
+    private final Map<Long, LogicalVertex> newLogicalVertexMap;
+
+    private final List<LogicalVertex> logicalJobVertices;
+
+    private final Set<LogicalEdge> oldEdges;
+
+    /**
+     * key: old vertex id, value: new vertex id;
+     */
+    private final Map<Long, Long> oldToNewIdMap = new HashMap<>();
+
+    private final LogicalDag dag;
+
+    public LogicalDagOptimizer(final Map<Long, LogicalVertex> logicalVertexMap,
+                               final Set<LogicalEdge> edges,
+                               JobConfig jobConfig) {
+        this.newLogicalVertexMap = new HashMap<>(logicalVertexMap.size());
+        this.logicalJobVertices = new ArrayList<>(logicalVertexMap.values());
+        this.oldEdges = edges;
+        this.dag = new LogicalDag(jobConfig, idGenerator);
+    }
+
+    public LogicalDag expandAndOptimize() {
+        getSourceVertices().forEach(sourceVertex -> {
+            List<LogicalVertex> vertices = new ArrayList<>();
+            vertices.add(sourceVertex);
+            for (int index = 0; index < vertices.size(); index++) {
+                LogicalVertex vertex = vertices.get(index);
+                createChainedVertex(vertex);
+                vertex.getOutputs().forEach(edge -> vertices.add(edge.getTargetVertex()));
+            }
+        });
+        connectVertices();
+        dag.getLogicalVertexMap().putAll(newLogicalVertexMap);
+        return dag;
+    }
+
+    private void connectVertices() {
+        oldEdges.forEach(oldEdge -> {
+            Long oldInputVertexId = oldEdge.getInputVertex().getVertexId();
+            Long oldTargetVertexId = oldEdge.getTargetVertex().getVertexId();
+            LogicalVertex inputVertex = newLogicalVertexMap.get(oldToNewIdMap.get(oldInputVertexId));
+            LogicalVertex targetVertex = newLogicalVertexMap.get(oldToNewIdMap.get(oldTargetVertexId));
+            LogicalEdge edge = new LogicalEdge(inputVertex, targetVertex);
+            inputVertex.addOutput(targetVertex);
+            targetVertex.addInput(inputVertex);
+            dag.addEdge(edge);
+        });
+    }
+
+    private List<LogicalVertex> getSourceVertices() {
+        List<LogicalVertex> vertices = new ArrayList<>();
+        for (LogicalVertex vertex : logicalJobVertices) {
+            if (vertex.getInputs().size() == 0) {
+                vertices.add(vertex);
+            }
+        }
+        return vertices;
+    }
+
+    private void createChainedVertex(LogicalVertex logicalVertex) {
+        if (oldToNewIdMap.containsKey(logicalVertex.getVertexId())) {
+            return;
+        }
+        final ArrayList<LogicalVertex> chainedVertices = new ArrayList<>();
+        chainedVertices(logicalVertex, chainedVertices);
+        final long newId = idGenerator.getNextId();
+        Action newAction;
+        if (chainedVertices.size() < 1) {
+            Action action = logicalVertex.getAction();
+            if (action instanceof PartitionTransformAction) {
+                newAction = new PartitionTransformAction(newId,

Review Comment:
   newAction is same with action, why not just set `newAction = action`?



##########
seatunnel-engine/seatunnel-engine-core/src/main/java/org/apache/seatunnel/engine/core/dag/logical/LogicalDagOptimizer.java:
##########
@@ -0,0 +1,180 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.seatunnel.engine.core.dag.logical;
+
+import org.apache.seatunnel.api.transform.SeaTunnelTransform;
+import org.apache.seatunnel.engine.common.config.JobConfig;
+import org.apache.seatunnel.engine.common.utils.IdGenerator;
+import org.apache.seatunnel.engine.core.dag.actions.Action;
+import org.apache.seatunnel.engine.core.dag.actions.PartitionTransformAction;
+import org.apache.seatunnel.engine.core.dag.actions.SinkAction;
+import org.apache.seatunnel.engine.core.dag.actions.SourceAction;
+import org.apache.seatunnel.engine.core.dag.actions.TransformAction;
+import org.apache.seatunnel.engine.core.dag.actions.TransformChainAction;
+import org.apache.seatunnel.engine.core.dag.actions.UnknownActionException;
+
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+public class LogicalDagOptimizer {
+
+    /**
+     * The action ID needs to be regenerated because of the source, sink, and chain.
+     */
+    private final IdGenerator idGenerator = new IdGenerator();
+
+    private final Map<Long, LogicalVertex> newLogicalVertexMap;
+
+    private final List<LogicalVertex> logicalJobVertices;
+
+    private final Set<LogicalEdge> oldEdges;
+
+    /**
+     * key: old vertex id, value: new vertex id;
+     */
+    private final Map<Long, Long> oldToNewIdMap = new HashMap<>();
+
+    private final LogicalDag dag;
+
+    public LogicalDagOptimizer(final Map<Long, LogicalVertex> logicalVertexMap,
+                               final Set<LogicalEdge> edges,
+                               JobConfig jobConfig) {
+        this.newLogicalVertexMap = new HashMap<>(logicalVertexMap.size());
+        this.logicalJobVertices = new ArrayList<>(logicalVertexMap.values());
+        this.oldEdges = edges;
+        this.dag = new LogicalDag(jobConfig, idGenerator);
+    }
+
+    public LogicalDag expandAndOptimize() {
+        getSourceVertices().forEach(sourceVertex -> {
+            List<LogicalVertex> vertices = new ArrayList<>();
+            vertices.add(sourceVertex);
+            for (int index = 0; index < vertices.size(); index++) {
+                LogicalVertex vertex = vertices.get(index);
+                createChainedVertex(vertex);
+                vertex.getOutputs().forEach(edge -> vertices.add(edge.getTargetVertex()));
+            }
+        });
+        connectVertices();
+        dag.getLogicalVertexMap().putAll(newLogicalVertexMap);
+        return dag;
+    }
+
+    private void connectVertices() {
+        oldEdges.forEach(oldEdge -> {
+            Long oldInputVertexId = oldEdge.getInputVertex().getVertexId();
+            Long oldTargetVertexId = oldEdge.getTargetVertex().getVertexId();
+            LogicalVertex inputVertex = newLogicalVertexMap.get(oldToNewIdMap.get(oldInputVertexId));
+            LogicalVertex targetVertex = newLogicalVertexMap.get(oldToNewIdMap.get(oldTargetVertexId));
+            LogicalEdge edge = new LogicalEdge(inputVertex, targetVertex);
+            inputVertex.addOutput(targetVertex);
+            targetVertex.addInput(inputVertex);
+            dag.addEdge(edge);
+        });
+    }
+
+    private List<LogicalVertex> getSourceVertices() {
+        List<LogicalVertex> vertices = new ArrayList<>();
+        for (LogicalVertex vertex : logicalJobVertices) {
+            if (vertex.getInputs().size() == 0) {
+                vertices.add(vertex);
+            }
+        }
+        return vertices;
+    }
+
+    private void createChainedVertex(LogicalVertex logicalVertex) {

Review Comment:
   why move create transform chain from execution plan to logical paln? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-seatunnel] ashulin commented on a diff in pull request #2422: [ST-Engine] Improve task and physical plan to support checkpoint

Posted by GitBox <gi...@apache.org>.
ashulin commented on code in PR #2422:
URL: https://github.com/apache/incubator-seatunnel/pull/2422#discussion_r947792695


##########
seatunnel-engine/seatunnel-engine-core/src/main/java/org/apache/seatunnel/engine/core/dag/logical/LogicalDagOptimizer.java:
##########
@@ -0,0 +1,180 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.seatunnel.engine.core.dag.logical;
+
+import org.apache.seatunnel.api.transform.SeaTunnelTransform;
+import org.apache.seatunnel.engine.common.config.JobConfig;
+import org.apache.seatunnel.engine.common.utils.IdGenerator;
+import org.apache.seatunnel.engine.core.dag.actions.Action;
+import org.apache.seatunnel.engine.core.dag.actions.PartitionTransformAction;
+import org.apache.seatunnel.engine.core.dag.actions.SinkAction;
+import org.apache.seatunnel.engine.core.dag.actions.SourceAction;
+import org.apache.seatunnel.engine.core.dag.actions.TransformAction;
+import org.apache.seatunnel.engine.core.dag.actions.TransformChainAction;
+import org.apache.seatunnel.engine.core.dag.actions.UnknownActionException;
+
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+public class LogicalDagOptimizer {
+
+    /**
+     * The action ID needs to be regenerated because of the source, sink, and chain.
+     */
+    private final IdGenerator idGenerator = new IdGenerator();
+
+    private final Map<Long, LogicalVertex> newLogicalVertexMap;
+
+    private final List<LogicalVertex> logicalJobVertices;
+
+    private final Set<LogicalEdge> oldEdges;
+
+    /**
+     * key: old vertex id, value: new vertex id;
+     */
+    private final Map<Long, Long> oldToNewIdMap = new HashMap<>();
+
+    private final LogicalDag dag;
+
+    public LogicalDagOptimizer(final Map<Long, LogicalVertex> logicalVertexMap,
+                               final Set<LogicalEdge> edges,
+                               JobConfig jobConfig) {
+        this.newLogicalVertexMap = new HashMap<>(logicalVertexMap.size());
+        this.logicalJobVertices = new ArrayList<>(logicalVertexMap.values());
+        this.oldEdges = edges;
+        this.dag = new LogicalDag(jobConfig, idGenerator);
+    }
+
+    public LogicalDag expandAndOptimize() {
+        getSourceVertices().forEach(sourceVertex -> {
+            List<LogicalVertex> vertices = new ArrayList<>();
+            vertices.add(sourceVertex);
+            for (int index = 0; index < vertices.size(); index++) {
+                LogicalVertex vertex = vertices.get(index);
+                createChainedVertex(vertex);
+                vertex.getOutputs().forEach(edge -> vertices.add(edge.getTargetVertex()));
+            }
+        });
+        connectVertices();
+        dag.getLogicalVertexMap().putAll(newLogicalVertexMap);
+        return dag;
+    }
+
+    private void connectVertices() {
+        oldEdges.forEach(oldEdge -> {
+            Long oldInputVertexId = oldEdge.getInputVertex().getVertexId();
+            Long oldTargetVertexId = oldEdge.getTargetVertex().getVertexId();
+            LogicalVertex inputVertex = newLogicalVertexMap.get(oldToNewIdMap.get(oldInputVertexId));
+            LogicalVertex targetVertex = newLogicalVertexMap.get(oldToNewIdMap.get(oldTargetVertexId));
+            LogicalEdge edge = new LogicalEdge(inputVertex, targetVertex);
+            inputVertex.addOutput(targetVertex);
+            targetVertex.addInput(inputVertex);
+            dag.addEdge(edge);
+        });
+    }
+
+    private List<LogicalVertex> getSourceVertices() {
+        List<LogicalVertex> vertices = new ArrayList<>();
+        for (LogicalVertex vertex : logicalJobVertices) {
+            if (vertex.getInputs().size() == 0) {
+                vertices.add(vertex);
+            }
+        }
+        return vertices;
+    }
+
+    private void createChainedVertex(LogicalVertex logicalVertex) {
+        if (oldToNewIdMap.containsKey(logicalVertex.getVertexId())) {
+            return;
+        }
+        final ArrayList<LogicalVertex> chainedVertices = new ArrayList<>();
+        chainedVertices(logicalVertex, chainedVertices);
+        final long newId = idGenerator.getNextId();
+        Action newAction;
+        if (chainedVertices.size() < 1) {
+            Action action = logicalVertex.getAction();
+            if (action instanceof PartitionTransformAction) {
+                newAction = new PartitionTransformAction(newId,

Review Comment:
   Because it need to change the action ID.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org