Skip to content

Comments

[fix](stats) Analysis jobs didn't get persisted properly#18602

Merged
morrySnow merged 1 commit intoapache:masterfrom
Kikyou1997:fix/analysis_job
Apr 13, 2023
Merged

[fix](stats) Analysis jobs didn't get persisted properly#18602
morrySnow merged 1 commit intoapache:masterfrom
Kikyou1997:fix/analysis_job

Conversation

@Kikyou1997
Copy link
Contributor

@Kikyou1997 Kikyou1997 commented Apr 12, 2023

Proposed changes

In previous implementation, Doris would only persist one task to tract analysis job status. After this PR, each task of column analysis would be persisted.And store a record which task_id is -1 as the job of the user submitted AnalyzeStmt.

AnalyzeStmt <---1-1---> AnalysisJob
AnalysisJob <---1-n---> AnalysisTask

Problem summary

Describe your changes.

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@Kikyou1997 Kikyou1997 changed the title [fix](stats) Fix bugs when persist analysis job [fix](stats) Analysis jobs didn't get persisted properly Apr 12, 2023
@Kikyou1997
Copy link
Contributor Author

run buildall

@morrySnow morrySnow merged commit b72c71d into apache:master Apr 13, 2023
gnehil pushed a commit to gnehil/doris that referenced this pull request Apr 21, 2023
In previous implementation, Doris would only persist one task to tract analysis job status. After this PR, each task of column analysis would be persisted.And store a record which task_id is -1 as the job of the user submitted AnalyzeStmt.

AnalyzeStmt <---1-1---> AnalysisJob
AnalysisJob <---1-n---> AnalysisTask
Reminiscent pushed a commit to Reminiscent/doris that referenced this pull request May 15, 2023
In previous implementation, Doris would only persist one task to tract analysis job status. After this PR, each task of column analysis would be persisted.And store a record which task_id is -1 as the job of the user submitted AnalyzeStmt.

AnalyzeStmt <---1-1---> AnalysisJob
AnalysisJob <---1-n---> AnalysisTask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants