private OptimizingTaskResult buildOptimizingTaskResult(OptimizingTaskId taskId) {
    TableOptimizing.OptimizingOutput output = new RewriteFilesOutput(null, null, null);
    OptimizingTaskResult optimizingTaskResult = new OptimizingTaskResult(taskId, THREAD_ID);
    optimizingTaskResult.setTaskOutput(SerializationUtil.simpleSerialize(output));
    return optimizingTaskResult;
  }
Test the logic for {@link TableManager#queryTableOptimizingInfo(String, String, String, List,
int, int)}.
amoro-ams/src/test/java/org/apache/amoro/server/TestDefaultOptimizingService.java