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

WangChao commented on IOTDB-622:
--------------------------------

Ok, that seems reasonable. 

 

Maybe we could support level=0 to return total number of the database.

 

> Actually you mean to call the tag name back. 

 

Yes,like tag name on every level, not the whole timeseries.

 

level seems can't express those sqls:

 

like root.sgcc.wf03.wt01, but I want to group by sgcc, wt01.

 

Well, focus on this issue, level is enough, I will try to implement it.

 

> count all records of the whole database
> ---------------------------------------
>
>                 Key: IOTDB-622
>                 URL: https://issues.apache.org/jira/browse/IOTDB-622
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Core/Engine
>            Reporter: WangChao
>            Assignee: WangChao
>            Priority: Trivial
>
> Now the count function only count the number of every timeseries, it's useful 
> to  count the total record of the  specific path.
>  
> like:
>  
> *_select count(*) from root.ln._**  should return the total number of the 
> records in storage group root.ln, but now it returns the number of each 
> timeseries which is in root.ln.
>  
> Please leave your opinion. 
>  



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

Reply via email to