thulab / tsfile

THIS REPO HAS MOVED TO https://github.com/apache/incubator-iotdb. TsFile is a columnar file format designed for time-series data, which supports efficient compression and query. It is easy to integrate TsFile with your IOT big data processing frameworks.
https://github.com/apache/incubator-iotdb
111 stars 22 forks source link

wrong value of `first` in PageHeader. #158

Closed jixuan1989 closed 5 years ago

jixuan1989 commented 5 years ago

以test中的TsFileWriteTest为例, sensor_3首先写了50,然后将其改成了51. 可以看到 fist仍然等于50. 另, first和last在page header中的意义是? image

jixuan1989 commented 5 years ago

经过测试,在tsfile中,如果一个device,sensor拥有相同时间戳的数据时,会都存储下来,所以值为50的确实仍然存在,因此似乎不算问题。。