@Override
  public void close() throws Exception {
    super.close();
    if (logWriter != null) {
      logWriter.close();
    }
    if (fileWriter != null) {
      fileWriter.close();
    }
  }
This is the general entry of an mixed-format writer that wraps different operators insides.

@param <OUT>
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/write/MixedFormatWriter.java