Kikyou1997 commented on code in PR #18801:
URL: https://github.com/apache/doris/pull/18801#discussion_r1171019840


##########
fe/fe-core/src/main/java/org/apache/doris/statistics/AnalysisTaskInfoBuilder.java:
##########
@@ -109,7 +127,29 @@ public AnalysisTaskInfoBuilder 
setScheduleType(ScheduleType scheduleType) {
     }
 
     public AnalysisTaskInfo build() {
-        return new AnalysisTaskInfo(jobId, taskId, catalogName, dbName, 
tblName, colName,
-                indexId, jobType, analysisMethod, analysisType, message, 
lastExecTimeInMs, state, scheduleType);
+        return new AnalysisTaskInfo(jobId, taskId, catalogName, dbName, 
tblName,
+                colName, indexId, jobType, analysisMethod, analysisType, 
samplePercent,
+                sampleRows, maxBucketNum, message, lastExecTimeInMs, state, 
scheduleType);
+    }
+
+    public AnalysisTaskInfoBuilder deepCopy() {

Review Comment:
   Since the fields of this class is just some enum and basic type, I think 
name it as `copy` is enough



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to