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


##########
seatunnel-connectors-v2/connector-hive/src/main/java/org/apache/seatunnel/connectors/seatunnel/hive/sink/HiveSinkFactory.java:
##########
@@ -66,7 +74,8 @@ public OptionRule optionRule() {
 
         ReadonlyConfig finalReadonlyConfig =
                 generateCurrentReadonlyConfig(readonlyConfig, catalogTable);
-        return () -> new HiveSink(finalReadonlyConfig, catalogTable);
+        CatalogTable finalCatalog = renameCatalogTable(finalReadonlyConfig, 
catalogTable);

Review Comment:
   replace with target hive sink table name, if not replace here, will pass 
source table name to hive.
   like `fake` to hive sink. so when use this catalog, will has issue, replaced 
here



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to