gong commented on code in PR #6887:
URL: https://github.com/apache/inlong/pull/6887#discussion_r1049177590
##########
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:
why throw IOException?
--
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]