kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject kylin git commit: KYLIN-1971 ColumnDesc.equals() bug fix
Date Tue, 06 Dec 2016 10:39:50 GMT
Repository: kylin
Updated Branches:
  refs/heads/yang22 4c9486eab -> 3a120f3e6


KYLIN-1971 ColumnDesc.equals() bug fix


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/3a120f3e
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/3a120f3e
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/3a120f3e

Branch: refs/heads/yang22
Commit: 3a120f3e60e44849f116d7bbc015c7943b7ac73d
Parents: 4c9486e
Author: Li Yang <liyang@apache.org>
Authored: Tue Dec 6 18:39:03 2016 +0800
Committer: Li Yang <liyang@apache.org>
Committed: Tue Dec 6 18:39:41 2016 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/kylin/metadata/model/ColumnDesc.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/3a120f3e/core-metadata/src/main/java/org/apache/kylin/metadata/model/ColumnDesc.java
----------------------------------------------------------------------
diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/model/ColumnDesc.java b/core-metadata/src/main/java/org/apache/kylin/metadata/model/ColumnDesc.java
index 7d9133d..403eaaf 100644
--- a/core-metadata/src/main/java/org/apache/kylin/metadata/model/ColumnDesc.java
+++ b/core-metadata/src/main/java/org/apache/kylin/metadata/model/ColumnDesc.java
@@ -194,7 +194,7 @@ public class ColumnDesc implements Serializable {
         if (table == null) {
             if (other.table != null)
                 return false;
-        } else if (!table.equals(other.table))
+        } else if (!table.getIdentity().equals(other.table.getIdentity()))
             return false;
         
         if (datatype == null) {


Mime
View raw message