GitHub user JackieTien97 added a comment to the discussion: Support IoTDB as 
Time Series Storage

Actually, we're developping on relational model, but it may need several months 
to be finished.

For current tree model of IoTDB, I suggest that you put all your tag 
dimensions' value into the path, like `root.streampipes.flowrate. flowrate02`. 
If you have more than one dimension, you can also keep adding that into path, 
like `root.streampipes.flowrate.West.flowrate02`.

Then, if you want to group the data for all dimensions, you can use `align by 
device` clause 
(https://iotdb.apache.org/UserGuide/latest/User-Manual/Query-Data.html#align-by-clause-1),
 like `select avg(temperature) from root.streampipes.flowrate.**`.

The only question for this `align by device` way is that it can only group data 
by all dimensions, if you only need one or some dimensions, you may need to do 
the aggregation in your client.


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

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

Reply via email to