liunaijie commented on code in PR #7218:
URL: https://github.com/apache/seatunnel/pull/7218#discussion_r1708322306


##########
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/SQLTransform.java:
##########
@@ -70,22 +69,6 @@ public SQLTransform(@NonNull ReadonlyConfig config, @NonNull 
CatalogTable catalo
         } else {
             this.engineType = ZETA;
         }
-
-        List<String> sourceTableNames = 
config.get(CommonOptions.SOURCE_TABLE_NAME);
-        if (sourceTableNames != null && !sourceTableNames.isEmpty()) {
-            this.inputTableName = sourceTableNames.get(0);
-        } else {
-            this.inputTableName = catalogTable.getTableId().getTableName();
-        }

Review Comment:
   done



##########
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/SQLTransform.java:
##########
@@ -97,9 +80,9 @@ public String getPluginName() {
     public void open() {
         sqlEngine = SQLEngineFactory.getSQLEngine(engineType);
         sqlEngine.init(
-                inputTableName,

Review Comment:
   done



-- 
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