carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuchuanyin <...@git.apache.org>
Subject [GitHub] carbondata pull request #1707: [CARBONDATA-1839] [DataLoad] Fix bugs and opt...
Date Thu, 28 Dec 2017 10:51:43 GMT
Github user xuchuanyin commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1707#discussion_r158927577
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/loading/sort/unsafe/holder/UnsafeSortTempFileChunkHolder.java
---
    @@ -296,11 +200,12 @@ private void fillDataForPrefetch() {
        * @throws CarbonSortKeyAndGroupByException
        */
       private Object[] getRowFromStream() throws CarbonSortKeyAndGroupByException {
    -    Object[] row = new Object[dimensionCount + measureCount];
    +    Object[] row = new Object[sortParameters.getDimColCount()
    +        + sortParameters.getComplexDimColCount() + sortParameters.getMeasureColCount()];
    --- End diff --
    
    Fine~ I also find the same issues in other files and will fix it at the same time.


---

Mime
View raw message