You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by ravipesala <gi...@git.apache.org> on 2019/01/09 07:10:03 UTC

[GitHub] carbondata pull request #3055: [CARBONDATA-3237] Fix presto carbon issues in...

Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/3055#discussion_r246277337
  
    --- Diff: integration/presto/src/main/java/org/apache/carbondata/presto/readers/SliceStreamReader.java ---
    @@ -95,22 +105,14 @@ public SliceStreamReader(int batchSize, DataType dataType,
         dictOffsets[dictOffsets.length - 1] = size;
         dictionaryBlock = new VariableWidthBlock(dictionary.getDictionarySize(),
             Slices.wrappedBuffer(singleArrayDictValues), dictOffsets, Optional.of(nulls));
    -    values = (int[]) ((CarbonColumnVectorImpl) getDictionaryVector()).getDataArray();
    +    this.isLocalDict = true;
       }
    -
       @Override public void setBatchSize(int batchSize) {
    +
    --- End diff --
    
    remove empty space


---