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

Shaofeng SHI commented on KYLIN-3265:
-------------------------------------

Hi Yanghong, 

This is a new added parameter, and it is optional, so won't impact the 
interface.

For the second concern, it won't return null but may throw 
IllegalArgumentException, so I will add a check for that. Thanks for the 
comment. 

> Add "jobSearchMode" as a condition to "/kylin/api/jobs" API
> -----------------------------------------------------------
>
>                 Key: KYLIN-3265
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3265
>             Project: Kylin
>          Issue Type: Improvement
>          Components: REST Service
>    Affects Versions: v2.3.0
>            Reporter: Shaofeng SHI
>            Priority: Major
>         Attachments: KYLIN-3265.master.001.patch
>
>
> In kylin 2.3, the "/kylin/jobs" API will return both cubing job and 
> checkpoint job together, this changed the API's behavior as there isn't 
> checkpoint job before. We should keep the api only return cubing jobs to be 
> compitable as before, and extend the API to add another condition 
> 'jobSearchMode' to determine which kind of job should be returned. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to