GitHub user godfreyhe opened a pull request:

    https://github.com/apache/flink/pull/4572

    [Flink-7243] [connectors] Add ParquetInputFormat 

    ## What is the purpose of the change
    
    Add ParquetInputFormat to read from parquet files
    
    ## Brief change log
      - *Supports primary parquet types*
      - *Supports reading data with given columns instead of all columns*
      - *Supports reading data with filter*
      - *The return type of ParquetInputFormat supports Row, Tuple, POJO*
    
    ## Verifying this change
    
    This change added tests and can be verified as follows:
     - *Added test that validates the correct of input split result with file 
or directory*
     - *Added test for reading with filter*
     - *Added test for  
RowParquetInputFormat/TupleParquetInputFormat/PojoParquetInputFormat*
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (yes)
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (yes)
      - If yes, how is the feature documented? (JavaDocs)
    


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

    $ git pull https://github.com/godfreyhe/flink FLINK-7243

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

    https://github.com/apache/flink/pull/4572.patch

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

    This closes #4572
    
----
commit a281bbac15cafce40b08e7e0a510e42c07301c82
Author: godfreyhe <godfre...@163.com>
Date:   2017-07-23T12:20:04Z

    [FLINK-7243] Add ParquetInputFormat

commit 9879922970517ee9d1b0730212e36d607ee508f5
Author: godfreyhe <godfre...@163.com>
Date:   2017-07-24T13:10:55Z

    change the return type of ParquetSchemaConverter#convertToTypeInformation 
method, update Tests

commit c3d8a054ff7f831cd99ea525b0e3b03375b38b72
Author: godfreyhe <godfre...@163.com>
Date:   2017-08-03T03:01:04Z

    minor update

----


---
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.
---

Reply via email to