You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Luke Han (JIRA)" <ji...@apache.org> on 2015/09/06 13:43:45 UTC
[jira] [Updated] (KYLIN-910) Allow user to enter "retention range"
in days on Cube UI
[ https://issues.apache.org/jira/browse/KYLIN-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Han updated KYLIN-910:
---------------------------
Fix Version/s: v1.1
> 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: v2.0, v1.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)