From 9a3513b3d87877f6ecd1039ecc8f590be8e84136 Mon Sep 17 00:00:00 2001 From: ColinLee Date: Wed, 30 Sep 2026 15:23:11 +0800 Subject: [PATCH] fix(cpp): use local random access file in sketch CLI --- cpp/tools/commands/sketch_layout.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/tools/commands/sketch_layout.h b/cpp/tools/commands/sketch_layout.h index 26d1d6d14..ba1e13103 100644 --- a/cpp/tools/commands/sketch_layout.h +++ b/cpp/tools/commands/sketch_layout.h @@ -30,7 +30,7 @@ #include "common/constant/tsfile_constant.h" #include "common/schema.h" #include "common/tsfile_common.h" -#include "file/read_file.h" +#include "file/local_random_access_read_file.h" namespace tsfile_cli { @@ -208,7 +208,7 @@ class SketchLayout { common::PageArena pa_; storage::TsFileMeta tsfile_meta_; - storage::ReadFile file_; + storage::LocalRandomAccessReadFile file_; std::vector metadata_buf_; std::map chunk_path_by_offset_; std::map chunk_stat_by_offset_;