You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by ravipesala <gi...@git.apache.org> on 2017/06/02 08:32:17 UTC

[GitHub] carbondata pull request #966: [CARBONDATA-1101] Avoid widening between wrapp...

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

    https://github.com/apache/carbondata/pull/966#discussion_r119805770
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/newflow/sort/unsafe/merger/UnsafeIntermediateFileMerger.java ---
    @@ -314,7 +314,7 @@ private void writeDataTofile(Object[] row) throws CarbonSortKeyAndGroupByExcepti
               case SHORT:
               case INT:
               case LONG:
    -            rowData.putLong(size, (Long) value);
    +            rowData.putLong(size, Long.valueOf(value.toString()));
    --- End diff --
    
    Should be kept in the respective datatypes, it is already fixed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---