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:
wyb
2020-03-21 09:52:49 +08:00
committed by GitHub
parent d29ed84b6a
commit dd8d748c55

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(), expr_results_pool_);
RawValue::write(val, loc, build_exprs_[i]->type(), nullptr);
}
}
return has_null;