[enhancement](memory) Reduce virtual memory used by PaddedPODArray (#11816)
This commit is contained in:
@ -146,7 +146,8 @@ Status SetOperationNode::open(RuntimeState* state) {
|
||||
}
|
||||
// initial build hash table used for remove duplicated
|
||||
_hash_tbl.reset(new HashTable(_child_expr_lists[0], _child_expr_lists[1], _build_tuple_size,
|
||||
true, _find_nulls, id(), state->batch_size() * 2));
|
||||
true, _find_nulls, id(),
|
||||
BitUtil::RoundUpToPowerOfTwo(state->batch_size())));
|
||||
RowBatch build_batch(child(0)->row_desc(), state->batch_size());
|
||||
RETURN_IF_ERROR(child(0)->open(state));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user