carbondata-issues mailing list archives

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

    https://github.com/apache/carbondata/pull/1581#discussion_r156023011
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/scan/collector/impl/RestructureBasedVectorResultCollector.java
---
    @@ -238,7 +238,7 @@ private void fillDataForNonExistingMeasures() {
                     (long) defaultValue);
               } else if (DataTypes.isDecimal(dataType)) {
                 vector.putDecimals(columnVectorInfo.vectorOffset, columnVectorInfo.size,
    -                (Decimal) defaultValue, measure.getPrecision());
    +                ((Decimal) defaultValue).toJavaBigDecimal(), measure.getPrecision());
    --- End diff --
    
    We can not remove these imports as the data that is  returned is stored in Spark Format
, the casting is done to convert it to generic types


---

Mime
View raw message