Skip to content

TsFile查询 #4697

Answered by jixuan1989
caszhou asked this question in Q&A
Jan 2, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

目前还没有针对TsFile的CSV导出工具,但是可以用iotdb的导出工具来迂回搞定。

  1. 把tsfile load到 一个干净的iotdb中, https://iotdb.apache.org/zh/UserGuide/Master/System-Tools/Load-External-Tsfile.html
  2. 使用export-csv工具 使用 "select * from root" 或者 "select * from root align by device"导出数据 https://iotdb.apache.org/zh/UserGuide/Master/System-Tools/CSV-Tool.html

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@caszhou
Comment options

Answer selected by caszhou
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants