Repository: carbondata
Updated Branches:
  refs/heads/master 874764f95 -> 0e1d37e64


[BUGFIX] Fix ZERO_BYTE_ARRAY constant not found in codegen

CarbonCommonConstant.ZERO_BYTE_ARRAY is used in codegen, it should not be 
deleted. This PR add it back

This closes #1262


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

Branch: refs/heads/master
Commit: 0e1d37e644731f122d74625f0f63ab74ffa6d1ad
Parents: 874764f
Author: Jacky Li <jacky.li...@qq.com>
Authored: Thu Aug 17 11:45:24 2017 +0800
Committer: chenliang613 <chenliang...@apache.org>
Committed: Thu Aug 17 17:46:31 2017 +0800

----------------------------------------------------------------------
 .../apache/carbondata/core/constants/CarbonCommonConstants.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/carbondata/blob/0e1d37e6/core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java
----------------------------------------------------------------------
diff --git 
a/core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java
 
b/core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java
index 74a08ec..de8cdb1 100644
--- 
a/core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java
+++ 
b/core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java
@@ -187,6 +187,11 @@ public final class CarbonCommonConstants {
       MEMBER_DEFAULT_VAL.getBytes(Charset.forName(DEFAULT_CHARSET));
 
   /**
+   * Bytes for string 0, it is used in codegen in case of null values.
+   */
+  public static final byte[] ZERO_BYTE_ARRAY = "0".getBytes();
+
+  /**
    * FILE STATUS IN-PROGRESS
    */
   public static final String FILE_INPROGRESS_STATUS = ".inprogress";

Reply via email to