[jira] [Commented] (CARBONDATA-298) 3. Add InputProcessorStep which should iterate recordreader and parse the data as per the data type.

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

[jira] [Commented] (CARBONDATA-298) 3. Add InputProcessorStep which should iterate recordreader and parse the data as per the data type.

Akash R Nilugal (Jira)

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

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

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

    https://github.com/apache/incubator-carbondata/pull/240#discussion_r84475781
 
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/newflow/complexobjects/StructObject.java ---
    @@ -0,0 +1,19 @@
    +package org.apache.carbondata.processing.newflow.complexobjects;
    +
    +public class StructObject {
    +
    +  private Object[] data;
    +
    +  public StructObject(Object[] data) {
    +    this.data = data;
    +  }
    +
    +  public Object[] getData() {
    +    return data;
    +  }
    +
    +  public void setData(Object[] data) {
    --- End diff --
   
    I guess `setData` makes more sense as complete data of struct passed once instead one by one.


> 3. Add InputProcessorStep which should iterate recordreader and parse the data as per the data type.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-298
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-298
>             Project: CarbonData
>          Issue Type: Sub-task
>            Reporter: Ravindra Pesala
>            Assignee: Ravindra Pesala
>             Fix For: 0.2.0-incubating
>
>
> Add InputProcessorStep which should iterate recordreader/RecordBufferedWriter and parse the data as per the data types.



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