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