xiaokang commented on code in PR #14207: URL: https://github.com/apache/doris/pull/14207#discussion_r1033037573
########## be/src/io/fs/local_file_system.cpp: ########## @@ -42,6 +42,7 @@ Status LocalFileSystem::create_file(const Path& path, FileWriterPtr* writer) { if (-1 == fd) { return Status::IOError("cannot open {}: {}", fs_path.native(), std::strerror(errno)); } + *writer = std::make_unique<LocalFileWriter>(std::move(fs_path), fd, this); Review Comment: two assignment for *writer? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org