You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by pa...@apache.org on 2024/10/08 03:27:38 UTC
(doris) 01/01: [Bug](map) fix wrong result on map_agg with streaming agg (#40454)
This is an automated email from the ASF dual-hosted git repository.
panxiaolei pushed a commit to branch cp_1008_2
in repository https://gitbox.apache.org/repos/asf/doris.git
commit b6589ad80c4502eb3dd22ba03e74e084f7f36410
Author: Pxl <px...@qq.com>
AuthorDate: Fri Sep 6 11:22:22 2024 +0800
[Bug](map) fix wrong result on map_agg with streaming agg (#40454)
fix wrong result on map_agg with streaming agg
---
be/src/vec/aggregate_functions/aggregate_function_map.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/be/src/vec/aggregate_functions/aggregate_function_map.h b/be/src/vec/aggregate_functions/aggregate_function_map.h
index 83e96a8d236..d56cbf21f31 100644
--- a/be/src/vec/aggregate_functions/aggregate_function_map.h
+++ b/be/src/vec/aggregate_functions/aggregate_function_map.h
@@ -254,6 +254,7 @@ public:
Field key, value;
columns[0]->get(i, key);
if (key.is_null()) {
+ col.insert(Map {Array {}, Array {}});
continue;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org