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

Lars Hofhansl commented on PHOENIX-1280:
----------------------------------------

My COUNT/DISTINCT tests still work and return the right results.
ImmutableBytesWritable implements WritableComparable, which extends Comparable, 
so it will use compareTo(...) for comparison, that's why it works.
But... This is almost by accident only. I'll change it to ImmutableBytesPtr for 
consistency.

Also there are a few ITs that I would like to check out before committing.

> ColumnProjectionFilter makes too many ImmutableBytesPtrs
> --------------------------------------------------------
>
>                 Key: PHOENIX-1280
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1280
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>         Attachments: 1280-WIP.txt
>
>
> While tracing through allocated objects during some queries I find that many 
> ImmutableBytesPtr objects are created. One offender is ColumnProjectionFilter 
> which first creates the columns to be projected and then while scanning make 
> a new ImmutableBytesPtr for each single column that passes through the filter.



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

Reply via email to