[jira] [Commented] (CARBONDATA-2) Remove kettle for loading data

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-2) Remove kettle for loading data

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15639609#comment-15639609 ]

ASF GitHub Bot commented on CARBONDATA-2:
-----------------------------------------

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


> Remove kettle for loading data
> ------------------------------
>
>                 Key: CARBONDATA-2
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2
>             Project: CarbonData
>          Issue Type: Improvement
>          Components: data-load
>            Reporter: Liang Chen
>            Priority: Critical
>              Labels: features
>             Fix For: 0.3.0-incubating
>
>         Attachments: CarbonDataLoadingdesign.pdf
>
>
> Remove kettle for loading data module



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)