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

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

                Author: ASF GitHub Bot
            Created on: 10/Jan/23 11:17
            Start Date: 10/Jan/23 11:17
    Worklog Time Spent: 10m 
      Work Description: ayushtkn opened a new pull request, #3933:
URL: https://github.com/apache/hive/pull/3933

   ### What changes were proposed in this pull request?
   
   Reuse ParquetMetadata
   
   ### Why are the changes needed?
   
   Performance Benifits.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Jenkins Build




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

            Worklog Id:     (was: 838297)
    Remaining Estimate: 0h
            Time Spent: 10m

> HiveVectorizedReader::parquetRecordReader should reuse footer information
> -------------------------------------------------------------------------
>
>                 Key: HIVE-26913
>                 URL: https://issues.apache.org/jira/browse/HIVE-26913
>             Project: Hive
>          Issue Type: Improvement
>          Components: Iceberg integration
>            Reporter: Rajesh Balamohan
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: performance, stability
>         Attachments: Screenshot 2023-01-09 at 4.01.14 PM.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> HiveVectorizedReader::parquetRecordReader should reuse details of parquet 
> footer, instead of reading it again.
>  
> It reads parquet footer here:
> [https://github.com/apache/hive/blob/master/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/vector/HiveVectorizedReader.java#L230-L232]
> Again it reads the footer here for constructing vectorized recordreader
> [https://github.com/apache/hive/blob/master/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/vector/HiveVectorizedReader.java#L249]
>  
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/VectorizedParquetInputFormat.java#L50]
>  
> Check the codepath of 
> VectorizedParquetRecordReader::setupMetadataAndParquetSplit
> [https://github.com/apache/hive/blob/6b0139188aba6a95808c8d1bec63a651ec9e4bdc/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedParquetRecordReader.java#L180]
>  
> It should be possible to share "ParquetMetadata" in 
> VectorizedParuqetRecordReader.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to