You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2020/11/12 05:21:48 UTC

[iotdb] branch QueryChunkMetadataBug created (now 10e9f91)

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a change to branch QueryChunkMetadataBug
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at 10e9f91  fix query bug

This branch includes the following new commits:

     new 10e9f91  fix query bug

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: fix query bug

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch QueryChunkMetadataBug
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 10e9f915bbaa547f5c7672f23450eea1f6ad351f
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Thu Nov 12 13:21:13 2020 +0800

    fix query bug
---
 .../src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
index 28b2f0a..16f932e 100644
--- a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
+++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
@@ -1028,6 +1028,7 @@ public class TsFileSequenceReader implements AutoCloseable {
    */
   public List<ChunkMetadata> readChunkMetaDataList(TimeseriesMetadata timeseriesMetaData)
       throws IOException {
+    readFileMetadata();
     List<Pair<Long, Long>> versionInfo = tsFileMetaData.getVersionInfo();
     ArrayList<ChunkMetadata> chunkMetadataList = new ArrayList<>();
     long startOffsetOfChunkMetadataList = timeseriesMetaData.getOffsetOfChunkMetaDataList();