You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haonan Hou (Jira)" <ji...@apache.org> on 2021/09/03 02:51:00 UTC

[jira] [Reopened] (IOTDB-1199) Support aligned timeseries and device template

     [ https://issues.apache.org/jira/browse/IOTDB-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haonan Hou reopened IOTDB-1199:
-------------------------------
      Assignee:     (was: Zesong Sun)

> Support aligned timeseries and device template
> ----------------------------------------------
>
>                 Key: IOTDB-1199
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1199
>             Project: Apache IoTDB
>          Issue Type: New Feature
>            Reporter: Zesong Sun
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.13.0
>
>
> In some occasions, we may need to define *aligned timeseries* such as:
> {code:java}
> create aligned timeseries root.sg.d1.(s1 FLOAT, s2 INT32) 
> with encoding=(RLE, Grollia), compression=SNAPPY
> {code}
> To avoid create timeseries repeatedly when a number of devices / storage groups have same sensors, we intend to introduce the concept of *device template*. For example:
> {code}
> set storage group root.beijing
> create device template temp1(
>   (s1 INT32 with encoding=Gorilla, compression=SNAPPY),
>   (s2 FLOAT with encoding=RLE, compression=SNAPPY)
>  )
> set device template temp1 to root.beijing
> {code}
> So that root.beijing has the template temp1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)