Repository: kylin Updated Branches: refs/heads/master 164d68359 -> 1c0cd2bf7
minor, let sharding on by default Signed-off-by: Li Yang <liy...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/789d22fe Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/789d22fe Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/789d22fe Branch: refs/heads/master Commit: 789d22fe8b3922f83b1915abbcf5f4f221d76184 Parents: 164d683 Author: Roger Shi <ro...@kyligence.io> Authored: Tue May 31 17:22:20 2016 +0800 Committer: Li Yang <liy...@apache.org> Committed: Tue May 31 18:33:52 2016 +0800 ---------------------------------------------------------------------- core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/789d22fe/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java ---------------------------------------------------------------------- diff --git a/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java b/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java index 9081494..5b72b7e 100644 --- a/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java +++ b/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java @@ -168,7 +168,7 @@ public class CubeDesc extends RootPersistentEntity { public boolean isEnableSharding() { //in the future may extend to other storage that is shard-able - return storageType == IStorageAware.ID_SHARDED_HBASE; + return storageType != IStorageAware.ID_HBASE && storageType != IStorageAware.ID_HYBRID; } public Set<TblColRef> getShardByColumns() {