Skip to content

Conversation

@jixuan1989
Copy link
Member

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.

@jixuan1989 jixuan1989 merged commit a92c7b3 into master Mar 27, 2019
@jixuan1989 jixuan1989 deleted the fix_jira_67_valueDecoder_reset branch March 27, 2019 00:40
mychaow added a commit that referenced this pull request Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant