kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject kylin git commit: minor, add null_count to TableExtDesc
Date Tue, 22 Nov 2016 03:40:21 GMT
Repository: kylin
Updated Branches:
  refs/heads/master d5b414ae1 -> 51830456f


minor, add null_count to TableExtDesc


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

Branch: refs/heads/master
Commit: 51830456f63403d37c9be00f75fc1cc5cdfbd6be
Parents: d5b414a
Author: Li Yang <liyang@apache.org>
Authored: Tue Nov 22 11:40:15 2016 +0800
Committer: Li Yang <liyang@apache.org>
Committed: Tue Nov 22 11:40:15 2016 +0800

----------------------------------------------------------------------
 .../org/apache/kylin/metadata/model/TableExtDesc.java   | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/51830456/core-metadata/src/main/java/org/apache/kylin/metadata/model/TableExtDesc.java
----------------------------------------------------------------------
diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/model/TableExtDesc.java
b/core-metadata/src/main/java/org/apache/kylin/metadata/model/TableExtDesc.java
index eb60d1c..6393dbf 100644
--- a/core-metadata/src/main/java/org/apache/kylin/metadata/model/TableExtDesc.java
+++ b/core-metadata/src/main/java/org/apache/kylin/metadata/model/TableExtDesc.java
@@ -248,8 +248,8 @@ public class TableExtDesc extends RootPersistentEntity {
         @JsonProperty("min_length_value")
         private String minLengthValue;
 
-        @JsonProperty("has_null")
-        private int hasNull; // number of NULLs
+        @JsonProperty("null_count")
+        private int nullCount;
         
         @JsonProperty("cardinality")
         private long cardinality;
@@ -308,5 +308,13 @@ public class TableExtDesc extends RootPersistentEntity {
             this.maxLengthValue = maxLenValue;
             this.minLengthValue = minLenValue;
         }
+
+        public int getNullCount() {
+            return nullCount;
+        }
+
+        public void setNullCount(int nullCount) {
+            this.nullCount = nullCount;
+        }
     }
 }


Mime
View raw message