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

James Taylor commented on PHOENIX-1281:
---------------------------------------

+1. Thanks, [~lhofhansl]. Please file a JIRA for this query: select 
distinct(v1) from x where v1 <> 1
It shouldn't take longer than the others.

Also, please commit this to 3.0, 4.0, and master branch.

> Each MultiKeyValueTuple.setKeyValues creates a new immutable list object
> ------------------------------------------------------------------------
>
>                 Key: PHOENIX-1281
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1281
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>         Attachments: 1281-v1.txt
>
>
> I looked through all callers of this method, and in each case we have a fresh 
> List object anyway, and hence the wrapping is not necessary saving at least 
> one new object per row scanned.
> This is probably not really critical, but of a sizable COUNT(\*) or other 
> aggregate it still creates lot of unnecessary objects.



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

Reply via email to