You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "xiangdong Huang (JIRA)" <ji...@apache.org> on 2019/07/15 12:30:00 UTC

[jira] [Closed] (IOTDB-67) [TsFile] exception when reading data from more than 2 pages, using Float Datatype and RLE encoding

     [ https://issues.apache.org/jira/browse/IOTDB-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xiangdong Huang closed IOTDB-67.
--------------------------------

> [TsFile] exception when reading data from more than 2 pages, using Float Datatype and RLE encoding
> --------------------------------------------------------------------------------------------------
>
>                 Key: IOTDB-67
>                 URL: https://issues.apache.org/jira/browse/IOTDB-67
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: xiangdong Huang
>            Assignee: xiangdong Huang
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> tsfile/example/src/main/java/org/apache/iotdb/tsfile/TsFileSequenceRead has a bug:
> if the data type is Float and the TsFile uses RLE encoding, when we read data by using this class, an exception will occur if there are more than 2 pages in a chunk.
> It is because that for each page, we need to either call `valueDecoder.reset()` or generate a new decoder. However, the example java file does not.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)