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

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


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 103a0e7f5ed branch-3.1: [opt](parquet) change parquet init footer read 
size to 48KB (#46904) (#51939)
103a0e7f5ed is described below

commit 103a0e7f5ed60fd8b2a58b08c03ab3f9fc3b316e
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Thu Jun 19 19:33:32 2025 +0800

    branch-3.1: [opt](parquet) change parquet init footer read size to 48KB 
(#46904) (#51939)
    
    bp #46904
---
 be/src/vec/exec/format/parquet/parquet_thrift_util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/exec/format/parquet/parquet_thrift_util.h 
b/be/src/vec/exec/format/parquet/parquet_thrift_util.h
index f6426a64495..15927fe4f65 100644
--- a/be/src/vec/exec/format/parquet/parquet_thrift_util.h
+++ b/be/src/vec/exec/format/parquet/parquet_thrift_util.h
@@ -34,7 +34,7 @@ namespace doris::vectorized {
 
 constexpr uint8_t PARQUET_VERSION_NUMBER[4] = {'P', 'A', 'R', '1'};
 constexpr uint32_t PARQUET_FOOTER_SIZE = 8;
-constexpr size_t INIT_META_SIZE = 128 * 1024; // 128k
+constexpr size_t INIT_META_SIZE = 48 * 1024; // 48k
 
 static Status parse_thrift_footer(io::FileReaderSPtr file, FileMetaData** 
file_metadata,
                                   size_t* meta_size, io::IOContext* io_ctx) {


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

Reply via email to