You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/03/26 09:20:22 UTC

[GitHub] [incubator-iotdb] jixuan1989 opened a new pull request #113: [IOTDB-67] call valueDecoder reset() when reading data from a new Page

jixuan1989 opened a new pull request #113: [IOTDB-67] call valueDecoder reset() when reading data from a new Page
URL: https://github.com/apache/incubator-iotdb/pull/113
 
 
   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services