t59688 opened a new issue, #252:
URL: https://github.com/apache/tsfile/issues/252
Does the C++ version support appending to files? I haven't found any
examples of appending in the test and sample code; it seems like the file is
deleted and recreated each time, whereas the Java version does support
appending。
C++
```
int TsFileWriter::open(const std::string &file_path, int flags, mode_t mode)
{
if (check_file_exist(file_path)) {
return E_ALREADY_EXIST;
}
```
java
```
try (ForceAppendTsFileWriter fwriter = new ForceAppendTsFileWriter(f)) {
fwriter.doTruncate();
write(fwriter);
} catch (Exception e) {
LOGGER.error("ForceAppendTsFileWriter truncate or write error ", e);
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]