carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenliang613 <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #594: [CARBONDATA-701]Fix memory leak issu...
Date Sun, 12 Feb 2017 15:37:53 GMT
Github user chenliang613 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/594#discussion_r100695668
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/newflow/row/CarbonRowBatch.java
---
    @@ -17,27 +17,40 @@
     
     package org.apache.carbondata.processing.newflow.row;
     
    -import java.util.ArrayList;
     import java.util.Iterator;
    -import java.util.List;
     
     /**
      * Batch of rows.
      */
    -public class CarbonRowBatch {
    +public class CarbonRowBatch implements Iterator<CarbonRow> {
     
    -  private List<CarbonRow> rowBatch = new ArrayList<>();
    +  private CarbonRow[] rowBatch;
    --- End diff --
    
    Here, Why changes ArrayList to Array?


---
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.
---

Mime
View raw message