Revert "Remove deep copy when doing hash table EvalRow (#3171)" (#3173)

This commit is contained in:
EmmyMiao87
2020-03-23 15:29:46 +08:00
committed by GitHub
parent d837231fca
commit dff3c0d57e

View File

@ -235,7 +235,7 @@ bool PartitionedHashTableCtx::EvalRow(TupleRow* row, const vector<ExprContext*>&
expr_values_null[i] = false;
DCHECK_LE(build_exprs_[i]->type().get_slot_size(),
sizeof(NULL_VALUE));
RawValue::write(val, loc, build_exprs_[i]->type(), nullptr);
RawValue::write(val, loc, build_exprs_[i]->type(), expr_results_pool_);
}
}
return has_null;