BiteTheDDDDt commented on code in PR #10183: URL: https://github.com/apache/incubator-doris/pull/10183#discussion_r898862620
########## be/src/vec/exec/vset_operation_node.h: ########## @@ -114,23 +114,36 @@ void VSetOperationNode::refresh_hash_table() { arg.init_once(); auto& iter = arg.iter; - for (; iter != arg.hash_table.end(); ++iter) { + auto iter_end = arg.hash_table.end(); + decltype(arg.iter) iter_prev; + for (; iter != iter_end;) { Review Comment: here can just use `while` -- 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