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

Error when count node with wildcard

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • None

    Description

      Input statement: 

      • set storage group to root.lnset storage group to root.ln               
      • create timeseries root.ln.dev.ch(status) with datatype=FLOAT, encoding=RLE, compression=SNAPPY tags(tag1=v1) attributes(attr1=v1);               
      • COUNT NODES root.ln.* LEVEL=2

      It shows:

      • Msg: 500: ln does not have the child node *

      If I change the count nodes command to:

      • COUNT NODES root.ln LEVEL=2

      the result is:

      count
      1

       Total line number = 1

      That is expected. "COUNT NODES root.ln.* LEVEL=2 " and "COUNT NODES root.ln LEVEL=2 " are equivalent. So, the former command should lead to the same result.

      Attachments

        Issue Links

          Activity

            People

              sunzesong Zesong Sun
              Yuyuan.K Yuyuan KANG
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: