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_;