JackieTien97 commented on code in PR #15656:
URL: https://github.com/apache/iotdb/pull/15656#discussion_r2148942885
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/SourceRewriter.java:
##########
@@ -313,6 +353,21 @@ public List<PlanNode> visitDeviceView(DeviceViewNode node,
DistributionPlanConte
}
}
+ private static List<Expression> getWithDeviceExpressions(
+ FunctionExpression aggExpression, String device) {
+ return aggExpression.getExpressions().stream()
+ .map(
+ // process each argument of FunctionExpression
+ argument -> {
+ checkArgument(
+ argument instanceof TimeSeriesOperand,
+ "Argument of AggregationFunction should be TimeSeriesOperand
here");
+ return new TimeSeriesOperand(
Review Comment:
add dataType
--
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]