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

    https://github.com/apache/carbondata/pull/2820#discussion_r228091134
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/datastore/chunk/impl/DimensionRawColumnChunk.java
 ---
    @@ -121,6 +122,22 @@ public DimensionColumnPage 
convertToDimColDataChunkWithOutCache(int index) {
         }
       }
     
    +  /**
    +   * Convert raw data with specified page number processed to 
DimensionColumnDataChunk and fill
    +   * the vector
    +   *
    +   * @param pageNumber page number to decode and fill the vector
    +   * @param vectorInfo vector to be filled with column page
    +   */
    +  public void convertToDimColDataChunkAndFillVector(int pageNumber, 
ColumnVectorInfo vectorInfo) {
    +    assert pageNumber < pagesCount;
    +    try {
    +      chunkReader.decodeColumnPageAndFillVector(this, pageNumber, 
vectorInfo);
    +    } catch (Exception e) {
    +      throw new RuntimeException(e);
    --- End diff --
    
    Because it is checked exception, that is why wrapped with unchecked 
exception


---

Reply via email to