tsfile icon indicating copy to clipboard operation
tsfile copied to clipboard

TsFile v4 to support table-interfaces

Open jt2594838 opened this issue 1 year ago • 0 comments

In order to support manipulating TsFile in a table-like (or relational-like) manner for upper-level systems like IoTDB, new interfaces like registerTable and writeTable are introduced into TsFile.

Also, deviceIds are fully generic by replacing the instances with the interface IDeviceID everywhere. A similar refactor is done to MeasurementSchema.

Experiments indicate the throughput downgrade on write is small (< 3%) while the query time consumption using the table-view can be reduced by 80%. The increment in file size is negligible (< 0.1%).

jt2594838 avatar Apr 20 '24 07:04 jt2594838