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

Zhong,Jason resolved KYLIN-910.
-------------------------------
    Resolution: Fixed

> Allow user to enter "retention range" in days on Cube UI
> --------------------------------------------------------
>
>                 Key: KYLIN-910
>                 URL: https://issues.apache.org/jira/browse/KYLIN-910
>             Project: Kylin
>          Issue Type: Sub-task
>          Components: Web 
>            Reporter: Shaofeng SHI
>            Assignee: Zhong,Jason
>             Fix For: v0.8.1
>
>
> We need allow user to enter how many days they want to keep the cube data in 
> the cube wizard; The default value is "0" which means this feature is 
> disabled, so all historic cube segments will be kept;
> In the backend, convert the days nubmer to milliseconds and saved in cube 
> instance json file, like the sample cube "kylin_sales_cube.json":
> {
>   "uuid" : "1eaca32a-a33e-4b69-83dd-0bb8b1f8c53b",
>   "last_modified" : 0,
>   "name" : "kylin_sales_cube",
>   "owner" : null,
>   "version" : null,
>   "descriptor" : "kylin_sales_cube_desc",
>   "segments" : [ ],
>   "auto_merge_time_ranges" : [604800000, 2419200000],
>   "retention_range": 63072000000,
>   "create_time" : null
> }
> Here "63072000000" = 730 days = 2 years;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to