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

[jira] [Created] (IOTDB-1200) Support device template

Zesong Sun created IOTDB-1200:
---------------------------------

             Summary: Support device template
                 Key: IOTDB-1200
                 URL: https://issues.apache.org/jira/browse/IOTDB-1200
             Project: Apache IoTDB
          Issue Type: New Feature
            Reporter: Zesong Sun
            Assignee: Zesong Sun
             Fix For: 0.12.0


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)