[
https://issues.apache.org/jira/browse/KYLIN-5572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guangyuan Feng resolved KYLIN-5572.
-----------------------------------
Resolution: Fixed
> Should provide a REST API to allow users to build specific indexes
> ------------------------------------------------------------------
>
> Key: KYLIN-5572
> URL: https://issues.apache.org/jira/browse/KYLIN-5572
> Project: Kylin
> Issue Type: New Feature
> Components: Modeling, REST Service
> Affects Versions: 5.0-alpha
> Reporter: Guangyuan Feng
> Assignee: Guangyuan Feng
> Priority: Major
> Fix For: 5.0-beta
>
>
> Our product (KC 4.5.22.2) currently doesn’t support building specific indexes
> through API. Users can only refresh the whole segments to rebuild some of the
> indexes in the segment which is very inefficient. However, the same
> capability is available in the UI. Therefore, UBS wants to have a REST API to
> provide:
> # The ability to build specific indexes instead of all indexes in segments
> # The indexes to be built can be specified by *indexes ID or(and) status.*
> Status can be any valid status of indexes, for example, NO BUILD, ONLINE, etc.
> # The response of this API should return the job ID for further tracking
> Why should we provide this API? (Business Impact)
> Without this API, users can only rely on a *Kyligence ADMIN* to operate index
> building for each team from UI or simply rebuild the whole segment. In UBS,
> all operations on production have to be automated. No manual operations are
> allowed. To fully utilize the capability of AI recommendations, providing
> such an API will help UBS make the whole workflow more smooth and increase
> Kyligence usage. Meanwhile, the maintenance effort and total infra cost can
> be significantly reduced also.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)