Yuan Tian created IOTDB-207:
-------------------------------

             Summary: Bug about the method query(QueryExpression 
queryExpression, long partitionStartOffset, long partitionEndOffset) in 
ReadOnlyTsFile
                 Key: IOTDB-207
                 URL: https://issues.apache.org/jira/browse/IOTDB-207
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Yuan Tian


While using the method query(QueryExpression queryExpression, long 
partitionStartOffset, long partitionEndOffset) in ReadOnlyTsFile, I found that 
if the TsFiles only contains one chunkGroup and I set the parameter 
‘partitionStartOffset’ to the startOffset of the chunkGroup and the parameter 
‘partitionEndOffset’ to the endOffset of the chunkGroup, the method should 
return a queryDataset that contains all data. However, it lost some data.

More specifically, in my case, I use TsFileWriteWithRowBatch in example module 
to create a TsFile consisting of only one device, ten sensors and 1 million row 
data totally. While using the method as mentioned before to read, I only got 
999424 row data.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to