liuminghui233 commented on code in PR #11671:
URL: https://github.com/apache/iotdb/pull/11671#discussion_r1427534631


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/SeriesScanUtil.java:
##########
@@ -1111,26 +1148,29 @@ private void unpackUnseqTsFileResource() throws 
IOException {
   }
 
   protected ITimeSeriesMetadata loadTimeSeriesMetadata(
-      TsFileResource resource,
-      PartialPath seriesPath,
-      QueryContext context,
-      Filter filter,
-      Set<String> allSensors)
-      throws IOException {
+      TsFileResource resource, PartialPath seriesPath, QueryContext context) 
throws IOException {
     return FileLoaderUtils.loadTimeSeriesMetadata(
-        resource, seriesPath, context, filter, allSensors);
+        resource,
+        seriesPath,
+        context,
+        scanOptions.getGlobalTimeFilter(),
+        scanOptions.getAllSensors());
   }
 
-  protected List<TSDataType> getTsDataTypeList() {
+  public List<TSDataType> getTsDataTypeList() {
     return Collections.singletonList(dataType);
   }
 
   protected IPointReader getPointReader(TsBlock tsBlock) {
     return tsBlock.getTsBlockSingleColumnIterator();
   }
 
-  Filter getGlobalTimeFilter() {
-    return scanOptions.getGlobalTimeFilter();
+  protected boolean timeAllSelected(IMetadata metadata) {
+    return metadata.timeAllSelected();

Review Comment:
   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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to