Remove deep copy when doing hash table EvalRow (#3171)
remove varchar column deep copy in partitioned hash table EvalRow function
This commit is contained in:
@ -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(), expr_results_pool_);
|
||||
RawValue::write(val, loc, build_exprs_[i]->type(), nullptr);
|
||||
}
|
||||
}
|
||||
return has_null;
|
||||
|
||||
Reference in New Issue
Block a user