You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/01/10 08:51:31 UTC

[GitHub] [incubator-iotdb] jt2594838 commented on a change in pull request #727: [IOTDB-412]Paths are not correctly deduplicated

jt2594838 commented on a change in pull request #727: [IOTDB-412]Paths are not correctly deduplicated
URL: https://github.com/apache/incubator-iotdb/pull/727#discussion_r365126747
 
 

 ##########
 File path: server/src/main/java/org/apache/iotdb/db/qp/strategy/PhysicalGenerator.java
 ##########
 @@ -416,11 +418,12 @@ private void generateDataTypes(QueryPlan queryPlan) throws PathException {
   }
 
   private void deduplicate(QueryPlan queryPlan) {
+    if (queryPlan.isGroupByDevice()) {
+      return;
 
 Review comment:
   Add a comment to explain this like "The deduplication of a GroupByDevice query is done in the dataset".

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services