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

Chia-Ping Tsai commented on HBASE-18001:
----------------------------------------

{code}
-    def _count_internal(interval = 1000, caching_rows = 10)
+    def _count_internal(interval = 1000, scan = nil)
{code}
Are users still able to pass on the size of cache to scan? 

> Extend the "count" shell command to support specified conditions
> ----------------------------------------------------------------
>
>                 Key: HBASE-18001
>                 URL: https://issues.apache.org/jira/browse/HBASE-18001
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 2.0.0
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>            Priority: Minor
>              Labels: beginner
>             Fix For: 2.0.0
>
>         Attachments: HBASE-18001-v1.patch
>
>
> shell command "count" can only count the number of rows in a table.
> And, it could not count the number of the specified conditions.
> Can we allow users to specified conditions like command "scan"?
> In that case, we can count the number of rows under any conditions.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to