Riza Suminto created IMPALA-11107:
-------------------------------------

             Summary: Allow specifying footer size in 
HdfsScanner::IssueFooterRanges
                 Key: IMPALA-11107
                 URL: https://issues.apache.org/jira/browse/IMPALA-11107
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
    Affects Versions: Impala 4.0.0
            Reporter: Riza Suminto


Currently, FOOTER_SIZE is a constant of 100KB in HdfsScanner::IssueFooterRanges:

[https://github.com/apache/impala/blob/57982ef/be/src/exec/hdfs-scanner.cc#L832]
 

Some scanner subclass such as HdfsOrcScanner expect that footer size is much 
lower at 16KB. We should add footer_size as parameter so different file format 
can ask for different footer range size.

Having more precise initial range can also help reduce waste in the data cache: 
[https://github.com/apache/impala/blob/57982ef/be/src/runtime/io/data-cache.h#L73]
 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to