branch-2.1: [bug](s3) fix S3 file system gets absolute path #44965 (#45529)

Cherry-picked from https://github.com/apache/doris/pull/44965
This commit is contained in:
Xujian Duan
2024-12-18 22:29:24 +08:00
committed by GitHub
parent bc048a3e36
commit 02feb16530

View File

@ -99,7 +99,7 @@ protected:
abs_path = path;
} else {
// path with no schema
abs_path = _root_path / path;
abs_path = _s3_conf.prefix / path;
}
return Status::OK();
}