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

    https://github.com/apache/incubator-carbondata/pull/263#discussion_r86664431
  
    --- Diff: 
processing/src/main/java/org/apache/carbondata/processing/newflow/DataLoadProcessExecutor.java
 ---
    @@ -0,0 +1,28 @@
    +package org.apache.carbondata.processing.newflow;
    +
    +import java.util.Iterator;
    +
    +import 
org.apache.carbondata.processing.newflow.steps.DataConverterProcessorStepImpl;
    +import 
org.apache.carbondata.processing.newflow.steps.DataWriterProcessorStepImpl;
    +import 
org.apache.carbondata.processing.newflow.steps.InputProcessorStepImpl;
    +import 
org.apache.carbondata.processing.newflow.steps.SortProcessorStepImpl;
    +
    +/**
    + * It executes the data load.
    + */
    +public final class DataLoadProcessExecutor {
    +
    +  public void execute(CarbonDataLoadConfiguration configuration, 
Iterator<Object[]>[] iterators) {
    --- End diff --
    
    This function includes creation of the pipeline, so suggest to create a 
factory for this pipeline. You can call it DataLoadProcessBuilder.build, then 
execute the pipeline in CarbonLoaderUtil


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to