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

jianliangqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a1f758da3b [fix](index tool)Fix index_tool compile error (#36737)
7a1f758da3b is described below

commit 7a1f758da3be71baf12af679655eb9b08c0c379e
Author: qiye <jianliang5...@gmail.com>
AuthorDate: Mon Jun 24 19:34:13 2024 +0800

    [fix](index tool)Fix index_tool compile error (#36737)
---
 be/src/index-tools/index_tool.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/index-tools/index_tool.cpp 
b/be/src/index-tools/index_tool.cpp
index d729cc3ff97..f86bab84c05 100644
--- a/be/src/index-tools/index_tool.cpp
+++ b/be/src/index-tools/index_tool.cpp
@@ -313,7 +313,7 @@ int main(int argc, char** argv) {
         try {
             if (FLAGS_idx_file_name == "") {
                 //try to search from directory's all files
-                std::vector<FileInfo> files;
+                std::vector<doris::io::FileInfo> files;
                 bool exists = false;
                 std::filesystem::path root_dir(FLAGS_directory);
                 doris::Status status = fs->list(root_dir, true, &files, 
&exists);
@@ -539,7 +539,7 @@ int main(int argc, char** argv) {
         auto fs = doris::io::global_local_filesystem();
         auto index_file_writer = std::make_unique<InvertedIndexFileWriter>(
                 fs,
-                std::string {InvertedIndexDescriptor::get_index_path_prefix(
+                std::string 
{InvertedIndexDescriptor::get_index_file_path_prefix(
                         doris::local_segment_path(file_dir, rowset_id, 
seg_id))},
                 rowset_id, seg_id, doris::InvertedIndexStorageFormatPB::V2);
         auto st = index_file_writer->open(&index_meta);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to