[ 
https://issues.apache.org/jira/browse/HIVE-25827?focusedWorklogId=783774&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-783774
 ]

ASF GitHub Bot logged work on HIVE-25827:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jun/22 09:07
            Start Date: 22/Jun/22 09:07
    Worklog Time Spent: 10m 
      Work Description: szlta merged PR #3368:
URL: https://github.com/apache/hive/pull/3368




Issue Time Tracking
-------------------

    Worklog Id:     (was: 783774)
    Time Spent: 1.5h  (was: 1h 20m)

> Parquet file footer is read multiple times, when multiple splits are created 
> in same file
> -----------------------------------------------------------------------------------------
>
>                 Key: HIVE-25827
>                 URL: https://issues.apache.org/jira/browse/HIVE-25827
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Assignee: Ádám Szita
>            Priority: Major
>              Labels: performance, pull-request-available
>         Attachments: image-2021-12-21-03-19-38-577.png
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> With large files, it is possible that multiple splits are created in the same 
> file. With current codebase, "ParquetRecordReaderBase" ends up reading file 
> footer for each split. 
> It can be optimized not to read footer information multiple times for the 
> same file.
>  
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedParquetRecordReader.java#L160]
>  
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/ParquetRecordReaderBase.java#L91]
>  
>  
> !image-2021-12-21-03-19-38-577.png|width=1363,height=1256!
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to