carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jack...@apache.org
Subject [1/2] incubator-carbondata git commit: remove redundant object creation
Date Mon, 27 Mar 2017 14:24:09 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master f0e67c965 -> 50a24089c


remove redundant object creation


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

Branch: refs/heads/master
Commit: 78a1c19692b4242c63f6a51291dc05896702f01b
Parents: f0e67c9
Author: jackylk <jacky.likun@huawei.com>
Authored: Sun Mar 26 11:17:02 2017 +0530
Committer: jackylk <jacky.likun@huawei.com>
Committed: Mon Mar 27 19:52:57 2017 +0530

----------------------------------------------------------------------
 .../processing/store/CarbonFactDataHandlerColumnar.java           | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/78a1c196/processing/src/main/java/org/apache/carbondata/processing/store/CarbonFactDataHandlerColumnar.java
----------------------------------------------------------------------
diff --git a/processing/src/main/java/org/apache/carbondata/processing/store/CarbonFactDataHandlerColumnar.java
b/processing/src/main/java/org/apache/carbondata/processing/store/CarbonFactDataHandlerColumnar.java
index 0eeba9d..3806c55 100644
--- a/processing/src/main/java/org/apache/carbondata/processing/store/CarbonFactDataHandlerColumnar.java
+++ b/processing/src/main/java/org/apache/carbondata/processing/store/CarbonFactDataHandlerColumnar.java
@@ -1387,9 +1387,8 @@ public class CarbonFactDataHandlerColumnar implements CarbonFactHandler
{
    * @return bit set to store null value index
    */
   private BitSet[] getMeasureNullValueIndexBitSet(int measureCount) {
-    BitSet[] nullvalueIndexBitset = new BitSet[measureCount];
     // creating a bit set for all the measure column
-    nullvalueIndexBitset = new BitSet[this.measureCount];
+    BitSet[] nullvalueIndexBitset = new BitSet[measureCount];
     for (int i = 0; i < nullvalueIndexBitset.length; i++) {
       // bitset size will be blocklet size
       nullvalueIndexBitset[i] = new BitSet(this.blockletSize);


Mime
View raw message