This is an automated email from the ASF dual-hosted git repository.
zhaoc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new dd8d748 Remove deep copy when doing hash table EvalRow (#3171)
dd8d748 is described below
commit dd8d748c55fd6a4e95f7e692f8958a66dfdd9c18
Author: wyb <[email protected]>
AuthorDate: Sat Mar 21 09:52:49 2020 +0800
Remove deep copy when doing hash table EvalRow (#3171)
remove varchar column deep copy in partitioned hash table EvalRow function
---
be/src/exec/partitioned_hash_table.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/exec/partitioned_hash_table.cc
b/be/src/exec/partitioned_hash_table.cc
index 9c50754..9598951 100644
--- a/be/src/exec/partitioned_hash_table.cc
+++ b/be/src/exec/partitioned_hash_table.cc
@@ -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;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]