Re: [jira] [Created] (IOTDB-346) StorageGroupProcessor.sequenceFileList is ordered by fileName rather than dataTime

2019-12-10 Thread 李天安
Hi, After I replicate your experiments, I found it’s a bug of renaming tsfile when it has an out-of-order file name with current tsfiles. I will add a new ut test and pull a request to master soon. Best Regards, — Tianan Li School of Software, Tsinghua University 李天安 清华大学

Re: [jira] [Created] (IOTDB-346) StorageGroupProcessor.sequenceFileList is ordered by fileName rather than dataTime

2019-12-10 Thread Xiangdong Huang
Hi, I think it is a bug in the `load` function now, and needs to be fixed quickly. Firstly, let's consider that there is no `load` function. In this case, the files will have the same order no matter you use which device's timeline as the ordering dimension. (Second, in your case, can we put

Re: [jira] [Created] (IOTDB-346) StorageGroupProcessor.sequenceFileList is ordered by fileName rather than dataTime

2019-12-10 Thread Jialin Qiao
Hi, Things become complicated when the load file feature is introduced in IoTDB. The newly added data file may contain many devices with different time intervals. Therefore, one order of TsFileResources is insufficient. A possible solution is to sort the TsFileResources temporarily when querying.

[jira] [Created] (IOTDB-346) StorageGroupProcessor.sequenceFileList is ordered by fileName rather than dataTime

2019-12-08 Thread Lei Rui (Jira)
Lei Rui created IOTDB-346: - Summary: StorageGroupProcessor.sequenceFileList is ordered by fileName rather than dataTime Key: IOTDB-346 URL: https://issues.apache.org/jira/browse/IOTDB-346 Project: Apache