Alima777 commented on a change in pull request #2714:
URL: https://github.com/apache/iotdb/pull/2714#discussion_r580841733
##########
File path:
server/src/main/java/org/apache/iotdb/db/qp/strategy/PhysicalGenerator.java
##########
@@ -876,6 +877,16 @@ private void deduplicate(QueryPlan queryPlan, int
fetchSize)
.getContext()
.getColumnName()
: columnForReader;
+ if (queryPlan instanceof AggregationPlan && ((AggregationPlan)
queryPlan).getLevel() >= 0) {
+ String aggregatePath =
+ originalPath.isMeasurementAliasExists()
+ ? FilePathUtils.generatePartialPathByLevel(
+ originalPath.getFullPathWithAlias(), ((AggregationPlan)
queryPlan).getLevel())
+ : FilePathUtils.generatePartialPathByLevel(
+ originalPath.toString(), ((AggregationPlan)
queryPlan).getLevel());
Review comment:
Okay...but maybe we have to rewrite this method later...it's so long
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]