apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXMALHAR-2014) ParquetReader operator
Date Tue, 22 Mar 2016 10:24:25 GMT

    [ https://issues.apache.org/jira/browse/APEXMALHAR-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206130#comment-15206130

ASF GitHub Bot commented on APEXMALHAR-2014:

GitHub user shubham-pathak22 opened a pull request:


    APEXMALHAR-2014 added parquet reader

    Adding **ParquetReaderOperator** which will allow apex users to read parquet files.
    **Apache Parquet** is a columnar storage format available to any project in the Hadoop
ecosystem, regardless of the choice of data processing framework, data model or programming
    For more information : [Apache Parquet] (https://parquet.apache.org/documentation/latest/
"Apache Parquet")
    #### Implementation Details 
    * **AbstractParquetFileReaderOperator**  extends from **AbstractFileInputOperator**. Overrides
*openFile()* and *readEntity()* methods.
    *  *openFile()* method instantiates a *ParquetReader* ( reader provided by parquet-mr
project that reads parquet records from a file ) with *GroupReadSupport* ( records would be
read as *Group* ) .
    *  *readEntity()* method  reads the records and calls *convertGroup()* method.  Derived
classes to override  *convertGroup()* method to convert *Group* to any form required by downstream
    *  Provided **ParquetFilePOJOReader** operator which is a concrete implementation of **AbstractParquetFileReader**
to read Parquet files and emits records as POJOs. The
      POJO class name & field mapping should be provided by the user. If this
      mapping is not provided then reflection is used to determine this mapping. As
      of now only primitive types ( INT32, INT64, BOOLEAN, FLOAT, DOUBLE, BINARY )
      are supported.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shubham-pathak22/incubator-apex-malhar APEXMALHAR-2014

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #219
commit d5c9415959f583caf68292cfb3cfac262d49eb99
Author: shubham <shubham-pathak22@github.com>
Date:   2016-03-21T10:20:21Z

    APEXMALHAR-2014 added parquet reader


> ParquetReader operator
> ----------------------
>                 Key: APEXMALHAR-2014
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2014
>             Project: Apache Apex Malhar
>          Issue Type: New Feature
>            Reporter: shubham pathak
>            Assignee: shubham pathak
> Developing a ParquetReaderOperator which would allow apex users to read records from
parquet files.

This message was sent by Atlassian JIRA

View raw message