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: Fixed colgrp testcases for vectorized set to true
Date Sun, 26 Mar 2017 15:48:21 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master 474edb8c1 -> 035a33228


Fixed colgrp testcases for vectorized set to true


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

Branch: refs/heads/master
Commit: c41bdc04d49e762e801dd1ec769268cbf4bbde23
Parents: 474edb8
Author: ravipesala <ravi.pesala@gmail.com>
Authored: Sun Mar 26 16:50:17 2017 +0530
Committer: jackylk <jacky.likun@huawei.com>
Committed: Sun Mar 26 21:17:34 2017 +0530

----------------------------------------------------------------------
 .../core/datastore/chunk/impl/ColumnGroupDimensionDataChunk.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/c41bdc04/core/src/main/java/org/apache/carbondata/core/datastore/chunk/impl/ColumnGroupDimensionDataChunk.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/carbondata/core/datastore/chunk/impl/ColumnGroupDimensionDataChunk.java
b/core/src/main/java/org/apache/carbondata/core/datastore/chunk/impl/ColumnGroupDimensionDataChunk.java
index 5b5385d..dc5f93f 100644
--- a/core/src/main/java/org/apache/carbondata/core/datastore/chunk/impl/ColumnGroupDimensionDataChunk.java
+++ b/core/src/main/java/org/apache/carbondata/core/datastore/chunk/impl/ColumnGroupDimensionDataChunk.java
@@ -167,7 +167,8 @@ public class ColumnGroupDimensionDataChunk extends AbstractDimensionDataChunk
{
     int len = offset + columnVectorInfo.size;
     int[] ordinal = restructuringInfo.getMdkeyQueryDimensionOrdinal();
     for (int k = offset; k < len; k++) {
-      long[] keyArray = restructuringInfo.getKeyGenerator().getKeyArray(dataChunkStore.getRow(k));
+      long[] keyArray =
+          restructuringInfo.getKeyGenerator().getKeyArray(dataChunkStore.getRow(rowMapping[k]));
       int index = 0;
       for (int i = column; i < column + ordinal.length; i++) {
         if (vectorInfo[i].directDictionaryGenerator == null) {


Mime
View raw message