You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2015/07/27 08:55:04 UTC

[jira] [Created] (KYLIN-910) Allow user to enter "retention range" in days on Cube UI

Shaofeng SHI created KYLIN-910:
----------------------------------

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


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)