You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by en...@apache.org on 2025/12/03 07:46:15 UTC
(doris) branch tpc_preview3 updated: fix-null-literal
This is an automated email from the ASF dual-hosted git repository.
englefly pushed a commit to branch tpc_preview3
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/tpc_preview3 by this push:
new 7e6ddd4ef15 fix-null-literal
7e6ddd4ef15 is described below
commit 7e6ddd4ef159fc72ec605f3fd95760e4128a0558
Author: minghong <zh...@selectdb.com>
AuthorDate: Wed Dec 3 15:05:50 2025 +0800
fix-null-literal
---
.../rules/rewrite/eageraggregation/PushdownSumIfAggregation.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/eageraggregation/PushdownSumIfAggregation.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/eageraggregation/PushdownSumIfAggregation.java
index 1b1de45153b..a37be8030ad 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/eageraggregation/PushdownSumIfAggregation.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/eageraggregation/PushdownSumIfAggregation.java
@@ -142,7 +142,7 @@ public class PushdownSumIfAggregation extends DefaultPlanRewriter<JobContext> im
new If(
output.child(0).child(0).child(0),
toReplace,
- new NullLiteral()
+ new NullLiteral(toReplace.getDataType())
)
)
);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org