This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new d0c369d61b [fix](vec) Arena was not initialized in
PartitionMethodSerialized (#22295)
d0c369d61b is described below
commit d0c369d61b2330369104318fa8d04cd5a08f3328
Author: Jerry Hu <[email protected]>
AuthorDate: Thu Jul 27 18:55:57 2023 +0800
[fix](vec) Arena was not initialized in PartitionMethodSerialized (#22295)
---
be/src/vec/exec/vpartition_sort_node.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/be/src/vec/exec/vpartition_sort_node.h
b/be/src/vec/exec/vpartition_sort_node.h
index 65384dc1c5..6ff6b980c6 100644
--- a/be/src/vec/exec/vpartition_sort_node.h
+++ b/be/src/vec/exec/vpartition_sort_node.h
@@ -103,7 +103,10 @@ struct PartitionMethodSerialized {
bool inited = false;
std::vector<StringRef> keys;
size_t keys_memory_usage = 0;
- PartitionMethodSerialized() : _serialized_key_buffer_size(0),
_serialized_key_buffer(nullptr) {}
+ PartitionMethodSerialized() : _serialized_key_buffer_size(0),
_serialized_key_buffer(nullptr) {
+ _arena.reset(new Arena());
+ _serialize_key_arena.reset(new Arena());
+ }
using State = ColumnsHashing::HashMethodSerialized<typename
Data::value_type, Mapped, true>;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]