This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/dev/1.3 by this push:
new f9631fa058b [to dev/1.3] Fix incorrect overlap unpack when endTime
equals sentinel value #16993
f9631fa058b is described below
commit f9631fa058b4bb312ad99e072f3e6e5b7b7a8614
Author: shuwenwei <[email protected]>
AuthorDate: Thu Jan 8 08:31:07 2026 +0800
[to dev/1.3] Fix incorrect overlap unpack when endTime equals sentinel
value #16993
---
.../db/queryengine/execution/operator/source/SeriesScanUtil.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/SeriesScanUtil.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/SeriesScanUtil.java
index ffd0da889e9..bebcfe2537c 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/SeriesScanUtil.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/SeriesScanUtil.java
@@ -1256,7 +1256,7 @@ public class SeriesScanUtil implements Accountable {
/*
* find end time of the first TimeSeriesMetadata
*/
- long endTime = -1L;
+ Long endTime = null;
if (!seqTimeSeriesMetadata.isEmpty() && unSeqTimeSeriesMetadata.isEmpty())
{
// only has seq
endTime =
orderUtils.getOverlapCheckTime(seqTimeSeriesMetadata.get(0).getStatistics());
@@ -1274,7 +1274,7 @@ public class SeriesScanUtil implements Accountable {
/*
* unpack all directly overlapped seq/unseq files with first
TimeSeriesMetadata
*/
- if (endTime != -1) {
+ if (endTime != null) {
unpackAllOverlappedTsFilesToTimeSeriesMetadata(endTime);
}