[
https://issues.apache.org/jira/browse/PARQUET-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15113999#comment-15113999
]
Wes McKinney commented on PARQUET-451:
--------------------------------------
This is done in https://github.com/apache/parquet-cpp/pull/23
The API currently returns std::shared_ptr instances owned by the parent file
reader. Feedback on this API is requested.
{code}
std::shared_ptr<RowGroupReader> reader = file_reader->RowGroup(i);
{code}
> Add a RowGroup reader interface class
> -------------------------------------
>
> Key: PARQUET-451
> URL: https://issues.apache.org/jira/browse/PARQUET-451
> Project: Parquet
> Issue Type: New Feature
> Components: parquet-cpp
> Reporter: Wes McKinney
>
> Currently the logic for interacting with row group metadata and constructing
> column decoders is embedded in the parquet_reader.cc executable here:
> https://github.com/apache/parquet-cpp/blob/master/example/parquet_reader.cc
> With PARQUET-434, we have a file reader container, which can then provide a
> row group reader container, something like
> {code}
> RowGroupReader* group_reader = file_reader->row_group(i);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)