This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch kylin3 in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/kylin3 by this push: new a247fd9 Revert "[KYLIN-5032] Not allow change project for a cubeInstance." a247fd9 is described below commit a247fd98274fd6ae078cb23c237e32903ef0fe7e Author: yaqian.zhang <598593...@qq.com> AuthorDate: Mon Nov 15 15:42:36 2021 +0800 Revert "[KYLIN-5032] Not allow change project for a cubeInstance." This reverts commit f8f52aff --- .../main/java/org/apache/kylin/rest/controller/CubeController.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/server-base/src/main/java/org/apache/kylin/rest/controller/CubeController.java b/server-base/src/main/java/org/apache/kylin/rest/controller/CubeController.java index 94d4431..7a40711 100644 --- a/server-base/src/main/java/org/apache/kylin/rest/controller/CubeController.java +++ b/server-base/src/main/java/org/apache/kylin/rest/controller/CubeController.java @@ -861,12 +861,6 @@ public class CubeController extends BasicController { return cubeRequest; } - if (!cube.getProject().equalsIgnoreCase(projectName)) { - String error = "Not allow change cube project!"; - updateRequest(cubeRequest, false, error); - return cubeRequest; - } - validateColumnFamily(desc); // check build engine for stream cube