是否能在持续写入TsFile文件的同时对其进行查询呢? #8062
Unanswered
AfterTheStorm
asked this question in
Q&A
Replies: 1 comment 2 replies
-
是的,TsFile只有在close之后才能用现有查询接口进行查询。 close 后如果想继续向文件里追加写入,需要用 ForceAppendTsFileWriter 重新打开文件进行写入。可参考 example/tsfile 里的 TsFileForceAppendWrite |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如题,想实现持续写入TsFile文件的同时,也能支持查询。但是似乎只有执行TsFileWriter的close()方法后,才能对相应文件进行查询?执行close()方法后,似乎无法再向该文件写入新数据。
Beta Was this translation helpful? Give feedback.
All reactions