This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new 40e1d83053 [fix](agg) coredump caused by grouping by null (#17077)
40e1d83053 is described below
commit 40e1d830535433ad4fabf94d2e92cc985229f055
Author: Jerry Hu <[email protected]>
AuthorDate: Thu Feb 23 18:33:48 2023 +0800
[fix](agg) coredump caused by grouping by null (#17077)
This PR is related with https://github.com/apache/doris/pull/16125/files,
this PR fix anther bug, but it also fix this bug
---
be/src/vec/exec/vaggregation_node.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/be/src/vec/exec/vaggregation_node.h
b/be/src/vec/exec/vaggregation_node.h
index 7a636227d6..39b5cbbe9e 100644
--- a/be/src/vec/exec/vaggregation_node.h
+++ b/be/src/vec/exec/vaggregation_node.h
@@ -949,6 +949,7 @@ private:
for (size_t i = 0; i < key_size; ++i) {
int result_column_id = -1;
RETURN_IF_ERROR(_probe_expr_ctxs[i]->execute(block,
&result_column_id));
+ block->replace_by_position_if_const(result_column_id);
key_columns[i] =
block->get_by_position(result_column_id).column.get();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]