hailin0 commented on code in PR #6639:
URL: https://github.com/apache/seatunnel/pull/6639#discussion_r1641222767


##########
seatunnel-engine/seatunnel-engine-core/src/main/java/org/apache/seatunnel/engine/core/parse/JobConfigParser.java:
##########
@@ -221,12 +221,12 @@ static String createSourceActionName(int configIndex, 
String pluginName) {
         return String.format("Source[%s]-%s", configIndex, pluginName);
     }
 
-    static String createSinkActionName(int configIndex, String pluginName) {
-        return String.format("Sink[%s]-%s", configIndex, pluginName);
-    }
-
     static String createSinkActionName(int configIndex, String pluginName, 
String table) {
-        return String.format("Sink[%s]-%s-%s", configIndex, pluginName, table);
+        if (table != null && !table.isEmpty()) {
+            return String.format("Sink[%s]-%s", configIndex, pluginName, 
table);
+        } else {
+            return String.format("Source[%s]-%s", configIndex, pluginName);

Review Comment:
   Why change to `source`



-- 
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-unsubscr...@seatunnel.apache.org

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

Reply via email to