You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "sibing.zhang (Jira)" <ji...@apache.org> on 2022/12/06 06:15:00 UTC

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

sibing.zhang created KYLIN-5337:
-----------------------------------

             Summary: 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
             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)