[ 
https://issues.apache.org/jira/browse/KYLIN-5031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383219#comment-17383219
 ] 

ASF subversion and git services commented on KYLIN-5031:
--------------------------------------------------------

Commit a9ad60ae86b35f52302160bb50b47a2bc6c87bec in kylin's branch 
refs/heads/kylin-on-parquet-v2 from lichuang
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=a9ad60a ]

KYLIN-5031 Fix last_build_job_id of segment is null when the semgent status is 
RUNNING or ERROR


> The last_build_job_id of segment is null when the  semgent status is RUNNING 
> or ERROR.
> --------------------------------------------------------------------------------------
>
>                 Key: KYLIN-5031
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5031
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Metadata
>    Affects Versions: v4.0.0-beta
>            Reporter: JasonLee
>            Assignee: JasonLee
>            Priority: Minor
>             Fix For: v4.0.0
>
>         Attachments: image-2021-07-08-20-18-19-129.png
>
>
> When we want to obtain the segments information of a cube through the REST 
> API: "kylin/api/cubes/cubeName", we find that if the status of the segment is 
> RUNNING or ERROR, the last_build_job_id is NULL, which I think is It is 
> unreasonable. Once the CubeJob corresponding to the segment is submitted 
> successfully, the last_build_job_id field should be updated, not only when it 
> is FINISHED. After optimization, we can directly get all the segment 
> information under Cube including last_build_job_id through 
> "kylin/api/cubes/cubeName". Otherwise, to obtain the job id of ERROR and 
> RUNNING status, it must be obtained by other means, which is obviously 
> inconvenient.
> !image-2021-07-08-20-18-19-129.png|width=460,height=255!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to