eldenmoon commented on code in PR #49582: URL: https://github.com/apache/doris/pull/49582#discussion_r2017842761
########## be/src/vec/common/schema_util.cpp: ########## @@ -746,23 +746,48 @@ Status check_path_stats(const std::vector<RowsetSharedPtr>& intputs, RowsetShare } std::unordered_map<int32_t, PathToNoneNullValues> output_uid_to_path_stats; RETURN_IF_ERROR(collect_path_stats(output, output_uid_to_path_stats)); - for (const auto& [uid, stats] : original_uid_to_path_stats) { - if (output_uid_to_path_stats.find(uid) == output_uid_to_path_stats.end()) { + for (const auto& [uid, stats] : output_uid_to_path_stats) { Review Comment: need ut further -- 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