SteveYurongSu commented on a change in pull request #4453:
URL: https://github.com/apache/iotdb/pull/4453#discussion_r762852515
##########
File path:
server/src/main/java/org/apache/iotdb/db/query/expression/unary/NegationExpression.java
##########
@@ -61,7 +61,12 @@ public boolean isConstantOperandInternal() {
@Override
public boolean isTimeSeriesGeneratingFunctionExpression() {
- return true;
+ return !isUDAFExpression();
+ }
+
+ @Override
+ public boolean isUDAFExpression() {
Review comment:
```suggestion
public boolean isUserDefinedAggragationFunctionExpression() {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]