You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/SeriesScanUtil.java
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1043,8 +1043,10 @@ private long tryToPutAllDirectlyOverlappedUnseqPageReadersIntoMergeReader() thro
1043
1043
if (firstPageReader == null) {
1044
1044
initFirstPageReader();
1045
1045
}
1046
-
putPageReaderToMergeReader(firstPageReader);
1047
-
firstPageReader = null;
1046
+
if (!mergeReader.hasNextTimeValuePair()) {
1047
+
putPageReaderToMergeReader(firstPageReader);
1048
+
firstPageReader = null;
1049
+
}
1048
1050
} while (!mergeReader.hasNextTimeValuePair());
1049
1051
1050
1052
/*
@@ -1072,10 +1074,10 @@ private long calculateInitialEndPointTime(long currentReadStopTime) {
1072
1074
if (orderUtils.isOverlapped(currentReadStopTime, unSeqPageReader.getStatistics())) {
0 commit comments