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

Tongjie Chen commented on PARQUET-100:
--------------------------------------

Hi [~julienledem], in current TaskSideMetadataSplitStrategy implementation,  
the only information it needs from footer is filePath, which can be obtained by 
listStatus. I think we can move the getFooter logic into 
ClientSideMetadataSplitStrategy. 

Please let me know whether this approach works or not, I can work on a patch 
and submit a pull request. 

> provide an option in parquet-pig to avoid reading footers in client side
> ------------------------------------------------------------------------
>
>                 Key: PARQUET-100
>                 URL: https://issues.apache.org/jira/browse/PARQUET-100
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-mr
>    Affects Versions: parquet-mr_1.6.0
>            Reporter: Tongjie Chen
>
> Parquet Pig reads footer in client side, to calculate splits and retrieve 
> schema etc.
> In HCatalog environment, if there are large number of files generated by 
> Hive, Parquet-Pig will spend significant chunk of time processing those 
> footers in client side (before job is submitted to cluster).  



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

Reply via email to