Yuyuan KANG created IOTDB-947:
---------------------------------

             Summary: Error when count node with wildcard
                 Key: IOTDB-947
                 URL: https://issues.apache.org/jira/browse/IOTDB-947
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Yuyuan KANG


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to