carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sraghunandan <...@git.apache.org>
Subject [GitHub] carbondata pull request #1202: [CARBONDATA-1326] Fixed normal/low priority f...
Date Sat, 29 Jul 2017 16:19:28 GMT
Github user sraghunandan commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1202#discussion_r130223488
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java ---
    @@ -1067,7 +1071,7 @@ public static void clearBlockCache(List<AbstractIndex> dataBlocks)
{
       public static byte[] packByteBufferIntoSingleByteArray(ByteBuffer[] byteBufferArr)
{
         // for empty array means there is no data to remove dictionary.
         if (null == byteBufferArr || byteBufferArr.length == 0) {
    -      return null;
    +      return new byte[0];
    --- End diff --
    
    Update the IndexKey constructor and remove null check


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message