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

    https://github.com/apache/incubator-carbondata/pull/263#discussion_r87170942
  
    --- Diff: 
processing/src/main/java/org/apache/carbondata/processing/sortandgroupby/sortdata/SortDataRows.java
 ---
    @@ -264,6 +277,72 @@ private void writeData(Object[][] recordHolderList, 
int entryCountLocal, File fi
         }
       }
     
    +  private void writeDataWithOutKettle(Object[][] recordHolderList, int 
entryCountLocal, File file)
    +      throws CarbonSortKeyAndGroupByException {
    +    DataOutputStream stream = null;
    +    try {
    +      // open stream
    +      stream = new DataOutputStream(new BufferedOutputStream(new 
FileOutputStream(file),
    +          parameters.getFileWriteBufferSize()));
    +
    +      // write number of entries to the file
    +      stream.writeInt(entryCountLocal);
    +      int complexDimColCount = parameters.getComplexDimColCount();
    +      int dimColCount = parameters.getDimColCount() + complexDimColCount;
    +      char[] aggType = parameters.getAggType();
    +      boolean[] noDictionaryDimnesionMapping = 
parameters.getNoDictionaryDimnesionColumn();
    +      Object[] row = null;
    +      for (int i = 0; i < entryCountLocal; i++) {
    +        // get row from record holder list
    +        row = recordHolderList[i];
    +        int dimCount = 0;
    --- End diff --
    
    ok


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to