[
https://issues.apache.org/jira/browse/PHOENIX-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144385#comment-14144385
]
Lars Hofhansl commented on PHOENIX-1280:
----------------------------------------
This was more a jibe against ImmutableBytesWritable, which is not immutable :)
Name's fine. The prt itself is immutable.
As for ImmutableBytesWritable or ImmutableBytesPtr. Hmm... We'll only do a
contains followed by a get for the CF and a contains for the column. So maybe
ImmutableBytesWritable is even better.
> 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: Anoop Sam John
>
> 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)