Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1199

Support aligned timeseries and device template

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.13.0
    • None

    Description

      In some occasions, we may need to define aligned timeseries such as:

      create aligned timeseries root.sg.d1.(s1 FLOAT, s2 INT32) 
      with encoding=(RLE, Grollia), compression=SNAPPY
      

      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:

      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
      

      So that root.beijing has the template temp1.

      Attachments

        Issue Links

          Activity

            People

              ericpai Eric Pai
              sunzesong Zesong Sun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: