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

Support set/unset ttl to a prefix path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Core/Schema Manager
    • None

    Description

      Currently, the set ttl or unset ttl statement could only with a storage group path. However, this may cause trouble when having many storage groups.

      So, it's better to set/unset TTL on any prefix path, we find the storage group under this prefix and set/unsert the TTL.

      For example, we have storage group: root.a.sg1, root.a.sg2, root.b.sg3, root.b.sg4.

      set ttl to root.a 1000 will set 1000 to root.a.sg1 and root.a.sg2.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            qiaojialin Jialin Qiao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: