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

Shaofeng SHI commented on KYLIN-2883:
-------------------------------------

Hi, as a REST API, the '/{cubeName}/sql' should return a valid SQL, or report 
error; it is inproper to return success but with a broken reason. So I don't 
agree to change in this way. Maybe the front end can catch the error and then 
display something else.

> Add broken reason in SQL tab for broken cube
> --------------------------------------------
>
>                 Key: KYLIN-2883
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2883
>             Project: Kylin
>          Issue Type: Improvement
>          Components: REST Service, Web 
>            Reporter: Pan, Julian
>            Assignee: Pan, Julian
>         Attachments: KYLIN_2883.patch
>
>
> When user hit sql tab for 'descbroken' cube, which will throws exception.
> It's better to put the broken reason for user.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to