tajo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinho Kim (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TAJO-2189) Dictionary encoded text in ORC scanner may cause incorrect result.
Date Fri, 13 Jul 2018 04:06:00 GMT

     [ 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)

Mime
View raw message