This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch rel/0.13
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.13 by this push:
new a1c8fbe012 [To rel/0.13] [IOTDB-3523] fix the count and COUNT not
equal bug when querying with group by level (#6473)
a1c8fbe012 is described below
commit a1c8fbe012d78a2f1df5fa03b53be11c0b6aaad8
Author: liuminghui233 <[email protected]>
AuthorDate: Wed Jun 29 10:19:02 2022 +0800
[To rel/0.13] [IOTDB-3523] fix the count and COUNT not equal bug when
querying with group by level (#6473)
---
.../org/apache/iotdb/db/query/expression/unary/FunctionExpression.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/server/src/main/java/org/apache/iotdb/db/query/expression/unary/FunctionExpression.java
b/server/src/main/java/org/apache/iotdb/db/query/expression/unary/FunctionExpression.java
index 39c126789c..92de5af128 100644
---
a/server/src/main/java/org/apache/iotdb/db/query/expression/unary/FunctionExpression.java
+++
b/server/src/main/java/org/apache/iotdb/db/query/expression/unary/FunctionExpression.java
@@ -127,7 +127,7 @@ public class FunctionExpression extends Expression {
return getPaths().size() == 1
&&
(paths.get(0).getTailNode().equals(IoTDBConstant.ONE_LEVEL_PATH_WILDCARD)
||
paths.get(0).getTailNode().equals(IoTDBConstant.MULTI_LEVEL_PATH_WILDCARD))
- && functionName.equals(IoTDBConstant.COLUMN_COUNT);
+ && functionName.equalsIgnoreCase(IoTDBConstant.COLUMN_COUNT);
}
public void addAttribute(String key, String value) {