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

Jinho Kim resolved TAJO-2189.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 0.12.0

> 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.12.0, 0.11.2
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>            Priority: Critical
>             Fix For: 0.12.0
>
>
> 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)

Reply via email to