[jira] [Commented] (PHOENIX-1594) Using KeyOnlyFilter for simple query "select count(1) from "

Mon, 19 Jan 2015 20:25:43 -0800

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

James Taylor commented on PHOENIX-1594:
---------------------------------------

Thanks for the suggestion. It won't hurt perf, but not sure if it'll help a
whole lot either. I'll check it in shortly unless I hear otherwise from
anyone.


> Using KeyOnlyFilter for simple query "select count(1) from <table>"
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-1594
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1594
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Jeffrey Zhong
>         Attachments: PHOENIX-1594.patch
>
>
> I found that underlying scan for query "select count(1) or count(*) from 
> <table>" still project all columns. 
> It should be fast if we use KeyOnlyFilter for this simple query.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to