This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new c045e6ee86 [IOTDB-4197] Fix is null expression display (#7075)
c045e6ee86 is described below
commit c045e6ee8608958c2957bff1ae0132f73d71253d
Author: flashzxi <[email protected]>
AuthorDate: Thu Aug 25 14:54:00 2022 +0800
[IOTDB-4197] Fix is null expression display (#7075)
---
.../org/apache/iotdb/db/mpp/plan/expression/unary/IsNullExpression.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/expression/unary/IsNullExpression.java
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/expression/unary/IsNullExpression.java
index 3b910b0cde..2a862e2f75 100644
---
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/expression/unary/IsNullExpression.java
+++
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/expression/unary/IsNullExpression.java
@@ -58,7 +58,7 @@ public class IsNullExpression extends UnaryExpression {
@Override
protected String getExpressionStringInternal() {
- return expression + " IS " + (isNot ? "" : "NOT ") + "NULL";
+ return expression + " IS " + (isNot ? "NOT " : "") + "NULL";
}
@Override