You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2019/03/18 05:50:32 UTC

[kylin] branch master updated: KYLIN-3880: DataType is incompatible in Kylin HBase coprocessor

This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new 0431554  KYLIN-3880: DataType is incompatible in Kylin HBase coprocessor
0431554 is described below

commit 0431554ecf2779d5d48cbb549881a3895e375cad
Author: Liu Shaohui <li...@xiaomi.com>
AuthorDate: Mon Mar 18 11:47:37 2019 +0800

    KYLIN-3880: DataType is incompatible in Kylin HBase coprocessor
---
 .../src/main/java/org/apache/kylin/metadata/datatype/DataType.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/datatype/DataType.java b/core-metadata/src/main/java/org/apache/kylin/metadata/datatype/DataType.java
index 8aba152..0345736 100644
--- a/core-metadata/src/main/java/org/apache/kylin/metadata/datatype/DataType.java
+++ b/core-metadata/src/main/java/org/apache/kylin/metadata/datatype/DataType.java
@@ -40,9 +40,8 @@ import org.apache.kylin.metadata.model.TblColRef.InnerDataTypeEnum;
 
 /**
  */
-@SuppressWarnings("serial")
 public class DataType implements Serializable {
-
+    private static final long serialVersionUID = -8891652700267537109L;
     private static final LinkedHashSet<String> VALID_TYPES = new LinkedHashSet<String>();
     private static final LinkedHashSet<String> COMPLEX_TYPES = new LinkedHashSet<String>();