[
https://issues.apache.org/jira/browse/IOTDB-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pai reassigned IOTDB-1199:
-------------------------------
Assignee: Eric Pai
Resolution: Fixed
> 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
> Assignee: Eric Pai
> Priority: Critical
> 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)