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/03/25 13:05:12 UTC

edit cube definition after disable the cube

after building the cube successfully, I tried to disable the cube, then I
find that we can "edit" the cube again, is it legal?

1, if I try to edit the start date of the "partition column", is it OK?
will it mess up the existing data? I think the change will heavily affect
the cube definition, correct me if I'm wrong
2, if I edit cube definition such as the row keys, hierarchy, and etc, I
guess it will mess up the existing data, is it right?

Re: edit cube definition after disable the cube

Posted by "Shi, Shaofeng" <sh...@ebay.com>.
Only when a cube is ³disabled² state, it can be edited;

The ³disabled² cube will not support SQL query;

You can change anything for the cube when it is ³disabled²;

When you try to build the ³disabled² cube or just simply ³enable² the
cube, Kylin will check whether there is change be made (including +/-
dimension/measure, as well as the partition start date); If yes, Kylin
will discard any existing segments, and then start the building from very
begining, just like a fresh new one;

On 3/25/15, 8:05 PM, "dong wang" <el...@gmail.com> wrote:

>after building the cube successfully, I tried to disable the cube, then I
>find that we can "edit" the cube again, is it legal?
>
>1, if I try to edit the start date of the "partition column", is it OK?
>will it mess up the existing data? I think the change will heavily affect
>the cube definition, correct me if I'm wrong
>2, if I edit cube definition such as the row keys, hierarchy, and etc, I
>guess it will mess up the existing data, is it right?