GitHub user JackieTien97 edited a comment on the discussion: Support IoTDB as 
Time Series Storage

For IoTDB, old data still remain too. For example, if we decicde use level2 to 
represent the version of the device, like `root.db.version1.d1` and we can 
write data of that device into `root.db.version1.d1(time, s1, s2, s3)`. 

If version of that device upgrades to version2, we will generate another 
device(same as influx, it will generate another new seriesKey) called 
`root.db.version2.d1`, then we can write data into this new device 
`root.db.version2.d1(time, s1, s2, s3)`.
Old data of version1 are still in `root.db.version1.d1`.

You can use `select * from root.db.version1.d1` to query old data and use 
`select * from root.db.version2.d1` to query new data. Schema can also be 
different between `root.db.version1.d1` and `root.db.version2.d1`, like we have 
 `root.db.version1.d1(time, s1, s2, s3)`, but have `root.db.version1.d2(time, 
s4, s5, s6)`

GitHub link: 
https://github.com/apache/streampipes/discussions/2857#discussioncomment-9492085

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to