You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jinfeng Ni (JIRA)" <ji...@apache.org> on 2014/03/18 06:41:43 UTC
[jira] [Created] (DRILL-422) Use pseudo-injection buffer in
function implementation when it requires temporary buffer
Jinfeng Ni created DRILL-422:
--------------------------------
Summary: 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
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.2#6252)