You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2021/07/18 14:17:08 UTC
[incubator-doris] branch master updated: [UT] Fix
CreateMaterializedViewStmtTest failed (#6258)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 92d41f9 [UT] Fix CreateMaterializedViewStmtTest failed (#6258)
92d41f9 is described below
commit 92d41f91b8f67fd2d1b1441641f842153b217241
Author: Mingyu Chen <mo...@gmail.com>
AuthorDate: Sun Jul 18 22:16:56 2021 +0800
[UT] Fix CreateMaterializedViewStmtTest failed (#6258)
In PR #6226, we open the debug level of unit test, it cause some
unexpected exception.
---
fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java
index f27a3f1..17a7405 100755
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/Expr.java
@@ -34,6 +34,7 @@ import com.google.common.base.Joiner;
import com.google.common.base.MoreObjects;
import com.google.common.base.Objects;
import com.google.common.base.Preconditions;
+import com.google.common.base.Strings;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
@@ -470,7 +471,7 @@ abstract public class Expr extends TreeNode<Expr> implements ParseNode, Cloneabl
}
List<String> strings = Lists.newArrayList();
for (Expr expr : exprs) {
- strings.add(expr.debugString());
+ strings.add(Strings.nullToEmpty(expr.debugString()));
}
return "(" + Joiner.on(" ").join(strings) + ")";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org