Skip to content

Commit

Permalink
[opt](parquet) change parquet init footer read size to 48KB
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Jan 13, 2025
1 parent 84d77a6 commit 201efdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/exec/format/parquet/parquet_thrift_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 201efdb

Please sign in to comment.