This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new c05db7dc164 [fix](parquet-reader) Fix read parquet footer is missing 
in FileReadBytes profile. (#59571)
c05db7dc164 is described below

commit c05db7dc164cfe46e4635478d8f65ecdccadc1d8
Author: Qi Chen <[email protected]>
AuthorDate: Wed Jan 7 17:01:55 2026 +0800

    [fix](parquet-reader) Fix read parquet footer is missing in FileReadBytes 
profile. (#59571)
    
    ### What problem does this PR solve?
    
    Issue Number: close #xxx
    
    Related PR: #xxx
    
    Problem Summary:
    
    ### Release note
    
    Cherry-pick #58383
    
    ### Check List (For Author)
    
    - Test <!-- At least one of them must be included. -->
        - [ ] Regression test
        - [ ] Unit Test
        - [ ] Manual test (add detailed scripts or steps below)
        - [ ] No need to test or manual test. Explain why:
    - [ ] This is a refactor/code format and no logic has been changed.
            - [ ] Previous test can cover this change.
            - [ ] No code files have been changed.
            - [ ] Other reason <!-- Add your reason?  -->
    
    - Behavior changed:
        - [ ] No.
        - [ ] Yes. <!-- Explain the behavior change -->
    
    - Does this need documentation?
        - [ ] No.
    - [ ] Yes. <!-- Add document PR link here. eg:
    https://github.com/apache/doris-website/pull/1214 -->
    
    ### Check List (For Reviewer who merge this PR)
    
    - [ ] Confirm the release note
    - [ ] Confirm test cases
    - [ ] Confirm document
    - [ ] Add branch pick label <!-- Add branch pick label that this PR
    should merge into -->
---
 be/src/vec/exec/format/parquet/vparquet_reader.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/vec/exec/format/parquet/vparquet_reader.cpp 
b/be/src/vec/exec/format/parquet/vparquet_reader.cpp
index ec05cc37361..6d871759b67 100644
--- a/be/src/vec/exec/format/parquet/vparquet_reader.cpp
+++ b/be/src/vec/exec/format/parquet/vparquet_reader.cpp
@@ -258,8 +258,8 @@ Status ParquetReader::_open_file() {
             const auto& file_meta_cache_key =
                     FileMetaCache::get_key(_tracing_file_reader, 
_file_description);
             if (!_meta_cache->lookup(file_meta_cache_key, 
&_meta_cache_handle)) {
-                RETURN_IF_ERROR(parse_thrift_footer(_file_reader, 
&_file_metadata_ptr, &meta_size,
-                                                    _io_ctx, 
enable_mapping_varbinary));
+                RETURN_IF_ERROR(parse_thrift_footer(_tracing_file_reader, 
&_file_metadata_ptr,
+                                                    &meta_size, _io_ctx, 
enable_mapping_varbinary));
                 // _file_metadata_ptr.release() : move control of 
_file_metadata to _meta_cache_handle
                 _meta_cache->insert(file_meta_cache_key, 
_file_metadata_ptr.release(),
                                     &_meta_cache_handle);


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

Reply via email to