Jinho Kim created TAJO-2189:
-------------------------------
Summary: Dictionary encoded text in ORC scanner may cause
incorrect result.
Key: TAJO-2189
URL: https://issues.apache.org/jira/browse/TAJO-2189
Project: Tajo
Issue Type: Bug
Components: Orc, Storage
Affects Versions: 0.11.2, 0.12.0
Reporter: Jinho Kim
Assignee: Jinho Kim
See the title. {{org.apache.hadoop.io.Text:getBytes()}} returns internal raw
bytes. It should use with {{getLength()}}
{code:java}
/**
* Returns the raw bytes; however, only data up to {@link #getLength()} is
* valid. Please use {@link #copyBytes()} if you
* need the returned array to be precisely the length of the data.
*/
@Override
public byte[] getBytes() {
return bytes;
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)