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

MNode.getLeafCount error when existing sub-device

    XMLWordPrintableJSON

Details

    Description

      When existing sub-device, getLeafCount() may get wrong result.
      For example:
      We have 3 timeseries: root.a.b.c, root.a.b.c.d, root.a.b.c.d.e
      The "leaf" count of root.a should be 3: c, d and e, which represents the number of timeseries.

      Besides, the function name is also ambiguous, which should be modified to getMeasurementMNodeCount.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: