Home > Back-end >  How to convert TsFile into CSV when paths are unknown in IoTDB
How to convert TsFile into CSV when paths are unknown in IoTDB

Time:01-13

How to convert TsFile into CSV when paths are unknown in IoTDB? The CSV should contain path, time, type, value, etc.

CodePudding user response:

Currently, we do not have export CSV tools for TsFile, but you could use export tools for IoTDB.

Step 1. Load TsFile in a clean IoTDB: https://iotdb.apache.org/UserGuide/Master/System-Tools/Load-External-Tsfile.html

Step 2. Use export-csv and use https://iotdb.apache.org/zh/UserGuide/Master/System-Tools/Load-External-Tsfile.html or select * from root align by device: https://iotdb.apache.org/UserGuide/Master/System-Tools/CSV-Tool.html

  •  Tags:  
  • Related