yunqingmoswu commented on code in PR #6887:
URL: https://github.com/apache/inlong/pull/6887#discussion_r1049195542


##########
inlong-sort/sort-connectors/doris/src/main/java/org/apache/inlong/sort/doris/table/DorisDynamicSchemaOutputFormat.java:
##########
@@ -268,6 +268,13 @@ public void open(int taskNumber, int numTasks) throws 
IOException {
         if (metricOption != null) {
             metricData = new SinkMetricData(metricOption, 
getRuntimeContext().getMetricGroup());
         }
+        if (dirtySink != null) {
+            try {
+                dirtySink.open(new Configuration());
+            } catch (Exception e) {
+                throw new IOException(e);

Review Comment:
   Initialization failed, not throwing an exception will cause problems in 
subsequent processing.



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