private void handleSingleTable(Exception e, List values, String loadValue) {
        for (Object value : values) {
            try {
                handleDirtyData(OBJECT_MAPPER.readTree(OBJECT_MAPPER.writeValueAsString(value)),
                        DirtyType.BATCH_LOAD_ERROR, e);
            } catch (IOException ex) {
                if (!dirtySinkHelper.getDirtyOptions().ignoreSideOutputErrors()) {
                    throw new RuntimeException(ex);
                }
                LOG.warn("Dirty sink failed", ex);
            }
        }
        if (!ignoreSingleTableErrors) {
            throw new RuntimeException(
                    String.format("Writing records to streamload of tableIdentifier:%s failed, the value: %s.",
                            tableIdentifier, loadValue),
                    e);
        }
        errorTables.add(tableIdentifier);
        LOG.warn("The tableIdentifier: {} load failed and the data will be throw away in the future"
                + " because the option 'sink.multiple.ignore-single-table-errors' is 'true'", tableIdentifier);
    }
A builder used to set parameters to the output format's configuration in a fluent way.

@return builder
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/doris/src/main/java/org/apache/inlong/sort/doris/table/DorisDynamicSchemaOutputFormat.java