[
https://issues.apache.org/jira/browse/PHOENIX-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144375#comment-14144375
]
Anoop Sam John commented on PHOENIX-1280:
-----------------------------------------
bq.It cracks me up the *Immutable*BytesPtr has a set method
Yes me too Lars. With same thinking it is Immutable, I end up in creating new
objects! Now only I realized it is having a set.
bq.Lemme make a patch.
Pls go ahead Lars. I just assigned this to me thinking of making a patch. Pls
reassign
> 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)