You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2024/02/29 08:39:38 UTC
(doris) branch master updated: [fix](Neredis) Fix npe when plan node doesn't have expressions in materialized view (#31579)
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 453a899c02b [fix](Neredis) Fix npe when plan node doesn't have expressions in materialized view (#31579)
453a899c02b is described below
commit 453a899c02b37f86beb8ae953f28fcabd03e9e55
Author: seawinde <14...@users.noreply.github.com>
AuthorDate: Thu Feb 29 16:39:30 2024 +0800
[fix](Neredis) Fix npe when plan node doesn't have expressions in materialized view (#31579)
---
.../doris/nereids/jobs/joinorder/hypergraph/node/StructInfoNode.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/joinorder/hypergraph/node/StructInfoNode.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/joinorder/hypergraph/node/StructInfoNode.java
index 93e13e59da5..28f1ed405e8 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/joinorder/hypergraph/node/StructInfoNode.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/joinorder/hypergraph/node/StructInfoNode.java
@@ -114,7 +114,7 @@ public class StructInfoNode extends AbstractNode {
* get all expressions of nodes
*/
public @Nullable List<Expression> getExpressions() {
- return expressions.stream()
+ return expressions == null ? null : expressions.stream()
.flatMap(Collection::stream)
.collect(Collectors.toList());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org