You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,26 @@
18
18
under the License.
19
19
20
20
-->
21
+
# Apache TsFile 2.2.0
22
+
23
+
## New Feature
24
+
25
+
- TsFile-Python fully supports TEXT and STRING data types.
26
+
- The Python interface supports the to_dataframe method.
27
+
- C++ TsFile supports encoding formats such as RLE.
28
+
- Both C++ TsFile and Java TsFile table models support tag filtering.
29
+
- C++ TsFile supports writing data of the TEXT type.
30
+
- Added the CAMEL encoding method.
31
+
- ...
32
+
33
+
## Improvement/Bugfix
34
+
35
+
- Fixed the issue where the CppTsFile write and query interfaces had various exceptions when handling null values.
36
+
- Fixed the issue where Cpp TsFile failed to write data when TAG and FIELD columns were all empty (only timestamps existed with no actual data).
37
+
- Fixed the issue where column names were all converted to lowercase when constructing a Tablet in Cpp TsFile, resulting in the failure to add values to Tablets constructed with uppercase column names.
38
+
- Fixed the issue where queries would throw errors when the values of TEXT-type columns in the CPP TsFile table model were partially empty.
39
+
- Fixed security vulnerabilities CVE-2025-12183, CVE-2025-66566 and CVE-2025-11226.
40
+
- ...
21
41
22
42
# Apache TsFile 2.1.1
23
43
@@ -103,6 +123,34 @@
103
123
- Fixed the issue that the time of the first data item written to TSFile by measurement cannot be a negative number by @luoluoyuyu in #297
Copy file name to clipboardExpand all lines: cpp/README.md
+16-18Lines changed: 16 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,23 +42,6 @@ The source code can be found in the `./src` directory. C/C++ examples are locate
42
42
43
43
We use `clang-format` to ensure that our C++ code adheres to a consistent set of rules defined in `./clang-format`. This is similar to the Google style.
44
44
45
-
**Feature List**:
46
-
47
-
-[ ] Add unit tests for the reader, writer, compression, etc.
48
-
-[ ] Add unit tests for the C wrapper.
49
-
-[ ] Support multiple data flushes.
50
-
-[ ] Support aligned timeseries.
51
-
-[ ] Support table description in tsfile.
52
-
-[ ] Retrieve all table schemas/names.
53
-
-[ ] Implement automatic flush.
54
-
-[ ] Support out-of-order data writing.
55
-
-[ ] Support TsFile V4. Note: TsFile CPP does not implement support for the table model, therefore there are differences in file output compared to the Java version.
56
-
57
-
**Bug List**:
58
-
59
-
-[ ] Flushing without writing after registering a timeseries will cause a core dump.
60
-
-[ ] Misalignment in memory may lead to a bus error.
61
-
62
45
We welcome any bug reports. You can open an issue with a title starting with [CPP] to describe the bug, like: https://github.com/apache/tsfile/issues/94
63
46
64
47
## Build
@@ -67,7 +50,7 @@ We welcome any bug reports. You can open an issue with a title starting with [CP
67
50
68
51
```bash
69
52
sudo apt-get update
70
-
sudo apt-get install -y cmake make g++ clang-format
53
+
sudo apt-get install -y cmake make g++ clang-format libuuid-dev
71
54
```
72
55
73
56
To build tsfile, you can run: `bash build.sh`. If you have Maven tools, you can run: `mvn package -P with-cpp clean verify`. Then, you can find the shared object at `./build`.
@@ -81,6 +64,21 @@ If you compile using MinGW on windows and encounter an error, you can try replac
Modify the Toolchain File `cmake/ToolChain.cmake`, define the following variables:
70
+
71
+
-`CMAKE_C_COMPILER`: Specify the path to the C compiler.
72
+
-`CMAKE_CXX_COMPILER`: Specify the path to the C++ compiler.
73
+
-`CMAKE_FIND_ROOT_PATH`: Set the root path for the cross-compilation environment (e.g., the directory of the cross-compilation toolchain).
74
+
75
+
In the `cpp/` directory, run the following commands to create the build directory and start the compilation:
76
+
```
77
+
mkdir build && cd build
78
+
cmake .. -DToolChain=ON
79
+
make
80
+
```
81
+
84
82
## Use TsFile
85
83
86
84
You can find examples on how to read and write data in `demo_read.cpp` and `demo_write.cpp` located under `./examples/cpp_examples`. There are also examples under `./examples/c_examples`on how to use a C-style API to read and write data in a C environment. You can run `bash build.sh` under `./examples` to generate an executable output under `./examples/build`.
0 commit comments