BiteTheDDDDt commented on code in PR #43273:
URL: https://github.com/apache/doris/pull/43273#discussion_r1830971941
##########
be/src/pipeline/exec/set_source_operator.cpp:
##########
@@ -139,9 +138,21 @@ Status
SetSourceOperatorX<is_intersect>::_get_data_in_hashtable(
_add_result_columns(local_state, value, block_size);
}
}
+ };
+
+ auto& iter = hash_table_ctx.iterator;
+ for (; iter != hash_table_ctx.hash_table->end() && block_size <
batch_size; ++iter) {
+ add_result(iter->get_second());
}
*eos = iter == hash_table_ctx.hash_table->end();
+ if (*eos && hash_table_ctx.hash_table->has_null_key_data()) {
+ auto value = hash_table_ctx.hash_table->template
get_null_key_data<RowRefListWithFlags>();
Review Comment:
has_null_key_data return true means hash table is `DataWithNullKey`, return
type of other types of hash tables(except DataWithNullKey) is not
RowRefListWithFlags
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]