You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (Jira)" <ji...@apache.org> on 2023/03/29 07:17:00 UTC

[jira] [Assigned] (KYLIN-5337) The accept_recommendation parameter in the model optimization API has not been verified

     [ https://issues.apache.org/jira/browse/KYLIN-5337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaoxiang Yu reassigned KYLIN-5337:
-----------------------------------

    Assignee: sibing.zhang

> The accept_recommendation parameter in the model optimization API has not been verified
> ---------------------------------------------------------------------------------------
>
>                 Key: KYLIN-5337
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5337
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: 5.0-alpha
>            Reporter: sibing.zhang
>            Assignee: sibing.zhang
>            Priority: Major
>             Fix For: 5.0-alpha
>
>
> 模型优化API:{{{}POST http://host:port/kylin/api/models/model_optimization所使用的参数accept_recommendation为boolean类型。实际传入非boolean的值不会报错,而是当作默认值false来处理。{}}}
> {{*预期*}}
> {{{}对模型优化API中的{}}}{{{}accept_recommendation参数进行校验{}}}
> *fix design*
> 增加参数类型校验{{{}{}}}
> {{{}{}}}{{{}{}}}
> {{}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)