You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ya...@apache.org on 2021/11/17 09:35:39 UTC
[kylin] 01/03: Fix the bug of CubeDesc can't be update
This is an automated email from the ASF dual-hosted git repository.
yaqian pushed a commit to branch kylin3-hadoop3
in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 97517e75bf3cf30d4b76ed1dcd5b3a710b3efe00
Author: yaqian.zhang <59...@qq.com>
AuthorDate: Mon Nov 8 17:51:03 2021 +0800
Fix the bug of CubeDesc can't be update
---
.../src/main/java/org/apache/kylin/rest/controller/CubeController.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 2124404..677e723 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
@@ -870,7 +870,7 @@ public class CubeController extends BasicController {
validateColumnFamily(desc);
// check build engine for stream cube
- if (desc.isStreamingCube()) {
+ if (cube.getDescriptor().isStreamingCube()) {
if (desc.getEngineType() != IEngineAware.ID_MR_V2) {
logger.info("streaming cube just supports MR engine");
throw new BadRequestException("Invalid Engine type, Streaming cube just supports MapReduce engine");