Attached is an overview diagram of the TsFileV4 file format. 
The link is as 
follows.  https://i.postimg.cc/mr1hqfJQ/Tsfile-V4-overview.png


TsFile V4 introduces the TableModel, along with additional components in 
the index section, namely TableIndexNode, TableSchema, and PropertiesMap. These 
components enhance data organization, accessibility, and file-level 
configuration.

TableIndexNode: This component links a TableName to the root node of devices 
within the index tree structure. During data reading, the system first locates 
the root node by TableName and then recursively traverses down to reach the 
LeafMeasurement. This enables efficient access to specific measurement data 
within complex hierarchical structures.

TableSchema: The TableSchema associates a TableName with the metadata of sensor 
data. It acts as a schema reference, defining data structure and sensor-related 
details necessary for interpreting the stored data.

PropertiesMap: The PropertiesMap is designed for setting file-level properties, 
such as encryption configurations, allowing for flexible adjustments to 
security and other properties as needed across files. For the 
PropertiesMap, it should be noted that the encoding and compression settings 
for the time column are expected to be stored here. Currently, these 
configurations can be modified, but TsFile itself does not include this 
information, which poses some risk.

These additions in TsFile v4 aim to improve data manageability and 
extensibility, making TsFile more robust for handling varied data structures 
and configurations.



I will provide additional details on some other features, such as 
AlignedTimeSeries, new data types like String, Blob, TimeStamp, and Date, in 
follow-up emails.


------------------ ???????? ------------------
??????:                                                                         
                                               "dev"                            
                                                        
<[email protected]&gt;;
????????:&nbsp;2024??10??15??(??????) ????11:45
??????:&nbsp;"dev"<[email protected]&gt;;

????:&nbsp;Re: Request for Consideration as Apache TsFile Committer



Hi Hongzhi,

Welcome to TsFile community and thanks for your contribution!
C++ TsFile will greatly expand our end-side scenarios.
Looking forward to your emails about the detailed design of C++ TsFile V4 and 
other features :-)

Jialin Qiao
&gt; From: "Tian Jiang"<[email protected]&gt;
&gt; Date:&nbsp; Tue, Oct 15, 2024, 10:17
&gt; Subject:&nbsp; Re: Request for Consideration as Apache TsFile Committer
&gt; To: "[email protected]"<[email protected]&gt;
&gt; Hi Hongzhi,
&gt; 
&gt; 
&gt; Thanks for your active contributions for the Apache TsFile community, 
which are very helpful improving this project.
&gt; 
&gt; 
&gt; I personally think your work is quite enough regarding the standard of 
becoming a committer, and the Apache TsFile community
&gt; does need some new committers. We may soon start the nomination and voting 
process. 
&gt; 
&gt; 
&gt; Looking forward to seeing your future activities in this project.
&gt; 
&gt; 
&gt; Best,
&gt; Tian Jiang
&gt; 
&gt; 
&gt; ---- Replied Message ----
&gt; | From | hongzhigao<[email protected]&gt; |
&gt; | Date | 10/14/2024 15:29 |
&gt; | To | tsfile-dev<[email protected]&gt; |
&gt; | Subject | Request for Consideration as Apache TsFile Committer |
&gt; Hi all,
&gt; 
&gt; 
&gt; I would like to express my interest in becoming a committer for the Apache 
TsFile project. I have been actively contributing to the project, and I am 
eager to take on more responsibility within the community.
&gt; 
&gt; 
&gt; A brief introduction: I hold a master's degree from Zhejiang University 
and have experience in storage system development from my time at Tencent Cloud 
Storage R&amp;amp;D Center. I hope to apply this experience to further improve 
and enhance TsFile.
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; Here is a summary of my recent contributions to the C++ version of TsFile:
&gt; 
&gt; Test Coverage Completion: I completed the test suite for TsFile, covering 
essential components such as core data structures, encoding/decoding 
mechanisms, and the data writing process.(feature/unittests)
&gt; 
&gt; Bug Fixes and Stability Enhancements: During unit testing, I identified 
and resolved several code vulnerabilities, significantly improving the 
stability of the system.
&gt; 
&gt; Consistency with Java Version: I ensured that the C++ encoding/decoding 
algorithms are consistent with the Java version, maintaining cross-language 
compatibility.
&gt; 
&gt; Aligned Time Series Implementation: I also successfully implemented 
aligned time series functionality, a key feature for efficient data 
organization.(Feature/support aligned ts)
&gt; 
&gt; 
&gt; 
&gt; Contribution Statistics:
&gt; Pull Requests:&amp;nbsp;
&gt; 
&gt; [CPP]Bugfix: bitmap clear method
&gt; 
&gt; Fix SimpleListNode::remove
&gt; 
&gt; [CPP] fix ts2diff decoder
&gt; 
&gt; fix BitPackDecoder::~BitPackDecoder()
&gt; 
&gt; Fix the bitpack_codec to keep it consistent with the Java version.
&gt; 
&gt; fix ZigZagCodec
&gt; 
&gt; fix/plain_decoder
&gt; 
&gt; [CPP] fix value.h
&gt; 
&gt; feature/unittests
&gt; 
&gt; [CPP] Fix syntax and logic errors in files under the 'filter' directory
&gt; 
&gt; fix get_cur_timestamp
&gt; 
&gt; [CPP] Support alternative gtest url
&gt; 
&gt; Feature/support aligned ts
&gt; 
&gt; Lines of Code Added: 9,185&amp;nbsp;
&gt; Lines of Code Deleted: 537&amp;nbsp;
&gt; Bugs Fixed: 10&amp;nbsp;
&gt; Tests Added: 303
&gt; 
&gt; 
&gt; Looking forward, I plan to continue improving the stability of the 
project, implement new features such as support for additional data types and 
compression algorithms, and contribute towards supporting TsFile v4. I also 
intend to explore the IoTDB storage engine to deepen my understanding of how 
TsFile interacts with it.
&gt; 
&gt; 
&gt; Thank you for your consideration, and I am excited to continue 
contributing to the success of Apache TsFile.
&gt; 
&gt; 
&gt; Best regards,&amp;nbsp;
&gt; Hongzhi Gao
&gt;

Reply via email to