carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anubhav100 <...@git.apache.org>
Subject [GitHub] carbondata pull request #1795: [CARBONDATA-2016] Exception displays while ex...
Date Tue, 16 Jan 2018 15:36:33 GMT
Github user anubhav100 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1795#discussion_r161794151
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/sort/sortdata/SortDataRows.java
---
    @@ -270,7 +270,7 @@ private void writeDataToFile(Object[][] recordHolderList, int entryCountLocal,
F
                 } else if (dataType == DataTypes.SHORT) {
                   stream.writeShort((Short) value);
                 } else if (dataType == DataTypes.INT) {
    -              stream.writeInt((Integer) value);
    +              stream.writeInt(Integer.parseInt(value.toString()));
    --- End diff --
    
    @jackylyk ok i get your point you mean we should handle it at the base root level ok I
am looking into it


---

Mime
View raw message