Github user ramkrish86 commented on the pull request:

    https://github.com/apache/incubator-phoenix/pull/8#discussion_r9854849
  
    Okie, so here on the ptr  you mean.  I foudn that internally if we are able 
to specify  a correct size for the TrustedByteStream then calling toByteArray 
does not do a copy internally in ByteArrayOutputStream.  So that is why trying 
to frame a correct size needed for the varlength array elements.  Okie let me 
try write the code on how i calculated it and push it here.  Let me know if 
that way is fine with you.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at
[email protected] or file a JIRA ticket with INFRA.
---

Reply via email to