You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by dong wang <el...@gmail.com> on 2015/12/21 11:01:59 UTC
can we disable the the auto merge feature by some settings?
[image: 内嵌图片 1]
first of all, the auto merge feature is so good, however, there are some
problems in reality, we may keep the data segments by nature
months(2015-01-01 ~2015-01-31, 2015-02-01~2015-02-28,
...2015-11-01~2015-11-30) instead of randomly merging them by the above
setting(7 days, 28days, and etc.), data segments built by nature months
will be much more intuitive and easy to read, and actually, we developed
feature to support auto merging data segments by nature month, thus, we
want to disable the above internal auto-merge feature, and can anyone help
to tell me how to achieve it?
Re: can we disable the the auto merge feature by some settings?
Posted by "Shi, Shaofeng" <sh...@ebay.com>.
Hi Dong,
It is very easy to disable auto merge, you just need to remove the property “auto_merge_time_ranges" either on Cube wizard, or directly from cube desc metadata (if you’re familiar with the metadata store).
Take the sample cube as example:
{
"uuid" : "1eaca32a-a33e-4b69-83dd-0bb8b1f8c53b",
"last_modified" : 0,
"name" : "kylin_sales_cube",
"owner" : null,
"version" : null,
"descriptor" : "kylin_sales_cube_desc",
"status" : "DISABLED",
"segments" : [ ],
"create_time" : null,
"auto_merge_time_ranges" : [604800000, 2419200000]
}
From: dong wang <el...@gmail.com>>
Reply-To: "dev@kylin.apache.org<ma...@kylin.apache.org>" <de...@kylin.apache.org>>
Date: Monday, December 21, 2015 at 6:01 PM
To: "dev@kylin.apache.org<ma...@kylin.apache.org>" <de...@kylin.apache.org>>
Subject: can we disable the the auto merge feature by some settings?
[???? 1]
first of all, the auto merge feature is so good, however, there are some problems in reality, we may keep the data segments by nature months(2015-01-01 ~2015-01-31, 2015-02-01~2015-02-28, ...2015-11-01~2015-11-30) instead of randomly merging them by the above setting(7 days, 28days, and etc.), data segments built by nature months will be much more intuitive and easy to read, and actually, we developed feature to support auto merging data segments by nature month, thus, we want to disable the above internal auto-merge feature, and can anyone help to tell me how to achieve it?