[ 
https://issues.apache.org/jira/browse/IOTDB-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17192850#comment-17192850
 ] 

XiangweiWei commented on IOTDB-877:
-----------------------------------

Hi, 

I don't think it's a bug. It does show the storage group of given path(maybe 
not prefix path).

Maybe we should talk about the function definition of it.

 

What do you think?[~qiaojialin]

> fix prefix bug on show storage group and show devices
> -----------------------------------------------------
>
>                 Key: IOTDB-877
>                 URL: https://issues.apache.org/jira/browse/IOTDB-877
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: wangyanhong
>            Assignee: wangyanhong
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2020-09-08-19-28-52-515.png, 
> image-2020-09-08-19-30-30-852.png
>
>
> When we use 'show storage group',we can see that root.ln is a storage group
> !image-2020-09-08-19-28-52-515.png!
> then use 'show storage group roo.ln.sgcc',
> !image-2020-09-08-19-30-30-852.png!
> The correct result should be empty
> Similarly, when the incoming path is a time series, using show devices prefix 
> will return the corresponding device path
> We need to return the corresponding result only when the current prefix path 
> is the prefix of the result



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

Reply via email to