carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jack...@apache.org
Subject [carbondata] branch master updated: [HOTFIX] Remove duplicate case for BYTE_ARRAY
Date Sun, 22 Sep 2019 15:04:44 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 005445f  [HOTFIX] Remove duplicate case for BYTE_ARRAY
005445f is described below

commit 005445f7828607873d9c43e5e4c502524eebc891
Author: Manhua <kevinjmh@qq.com>
AuthorDate: Fri Sep 20 14:26:48 2019 +0800

    [HOTFIX] Remove duplicate case for BYTE_ARRAY
    
    This closes #3396
---
 core/src/main/java/org/apache/carbondata/core/util/DataTypeUtil.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/core/src/main/java/org/apache/carbondata/core/util/DataTypeUtil.java b/core/src/main/java/org/apache/carbondata/core/util/DataTypeUtil.java
index adb63cd..3e0edb1 100644
--- a/core/src/main/java/org/apache/carbondata/core/util/DataTypeUtil.java
+++ b/core/src/main/java/org/apache/carbondata/core/util/DataTypeUtil.java
@@ -1018,8 +1018,6 @@ public final class DataTypeUtil {
       return DataTypes.NULL;
     } else if (DataTypes.BYTE_ARRAY.getName().equalsIgnoreCase(name)) {
       return DataTypes.BYTE_ARRAY;
-    } else if (DataTypes.BYTE_ARRAY.getName().equalsIgnoreCase(name)) {
-      return DataTypes.BYTE_ARRAY;
     } else if (DataTypes.BINARY.getName().equalsIgnoreCase(name)) {
       return DataTypes.BINARY;
     } else if (name.equalsIgnoreCase("decimal")) {
@@ -1070,8 +1068,6 @@ public final class DataTypeUtil {
       return DataTypes.NULL;
     } else if (DataTypes.BYTE_ARRAY.getName().equalsIgnoreCase(dataType.getName())) {
       return DataTypes.BYTE_ARRAY;
-    } else if (DataTypes.BYTE_ARRAY.getName().equalsIgnoreCase(dataType.getName())) {
-      return DataTypes.BYTE_ARRAY;
     } else if (DataTypes.BINARY.getName().equalsIgnoreCase(dataType.getName())) {
       return DataTypes.BINARY;
     } else if (dataType.getName().equalsIgnoreCase("decimal")) {


Mime
View raw message