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

    https://github.com/apache/carbondata/pull/2191#discussion_r183342972
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/scan/result/impl/NonFilterQueryScannedResult.java
 ---
    @@ -48,6 +53,31 @@ public NonFilterQueryScannedResult(BlockExecutionInfo 
blockExecutionInfo) {
         return getDictionaryKeyIntegerArray(currentRow);
       }
     
    +  @Override public List<byte[]> getDictionaryKeyArrayBatch(int batchSize) {
    +    ++currentRow;
    --- End diff --
    
    yes this is intentional. The same increment is happening in 
getDictionaryKeyIntegerArray() also where currrentRow counter is incremented 
before fetching the results for that batch because it starts from -1


---

Reply via email to