You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/01/04 22:28:56 UTC

[jira] [Resolved] (DRILL-422) Use pseudo-injection buffer in function implementation when it requires temporary buffer

     [ https://issues.apache.org/jira/browse/DRILL-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Nadeau resolved DRILL-422.
----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   0.6.0

> Use pseudo-injection buffer in function implementation when it requires temporary buffer
> ----------------------------------------------------------------------------------------
>
>                 Key: DRILL-422
>                 URL: https://issues.apache.org/jira/browse/DRILL-422
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Jinfeng Ni
>             Fix For: 0.6.0
>
>
> In DRILL-379, the code uses a wrapper buffer over a java byte array for temporary buffer used by some string functions. However, such wrapper buffer will use big endian, different from Drill's native little endian. This may not be a big issue for string, but could cause serious issues for other types.  
> In stead, we should use an approach where the buffer is provided from Drill fragment context through pseudo-injection to get the access to buffers, and the context will be responsible for cleaning things up.



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