You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2015/04/06 00:35:06 UTC

[jira] [Commented] (PARQUET-241) ParquetInputFormat.getFooters() should return in the same order as what listStatus() returns

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

Ryan Blue commented on PARQUET-241:
-----------------------------------

What is your reasoning for needing this feature? Is that order useful for some reason?

> ParquetInputFormat.getFooters() should return in the same order as what listStatus() returns
> --------------------------------------------------------------------------------------------
>
>                 Key: PARQUET-241
>                 URL: https://issues.apache.org/jira/browse/PARQUET-241
>             Project: Parquet
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Mingyu Kim
>
> Because of how the footer cache is implemented, getFooters() returns the footers in a different order than what listStatus() returns.
> When I provided url "hdfs://.../part-00001.parquet,hdfs://.../part-00002.parquet,hdfs://.../part-00003.parquet", ParquetInputFormat.getSplits(), which internally calls getFooters(), returned the splits in a wrong order.



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