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 2021/11/19 09:32:09 UTC

[GitHub] [iotdb] ericpai commented on a change in pull request #4431: [IOTDB-2031] Fix incorrect result of descending query with value filter in cluster

ericpai commented on a change in pull request #4431:
URL: https://github.com/apache/iotdb/pull/4431#discussion_r753015665



##########
File path: server/src/main/java/org/apache/iotdb/db/query/reader/series/SeriesReader.java
##########
@@ -231,6 +232,10 @@ protected DescPriorityMergeReader getDescPriorityMergeReader() {
     return new DescPriorityMergeReader();
   }
 
+  public static Filter defaultTimeFilter(boolean ascending) {
+    return ascending ? TimeFilter.gtEq(Long.MIN_VALUE) : TimeFilter.ltEq(Long.MAX_VALUE);
+  }
+

Review comment:
       Thanks for the comment, it has been fixed.




-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org