carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <...@git.apache.org>
Subject [GitHub] carbondata pull request #1581: [CARBONDATA-1779] GenericVectorizedReader
Date Tue, 05 Dec 2017 03:23:23 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1581#discussion_r154838503
  
    --- Diff: integration/spark2/src/main/java/org/apache/carbondata/spark/vectorreader/ColumnarVectorWrapper.java
---
    @@ -200,7 +205,7 @@ public ColumnarVectorWrapper(ColumnVector columnVector, boolean[]
filteredRows)
       }
     
       @Override public DataType getType() {
    -    return columnVector.dataType();
    +    return CarbonScalaUtil.convertSparkToCarbonDataType(columnVector.dataType());
    --- End diff --
    
    store the dataType as class variable, don't convert each time.


---

Mime
View raw message