hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7147) ORC PPD should handle CHAR/VARCHAR types
Date Mon, 02 Jun 2014 06:34:02 GMT

    [ https://issues.apache.org/jira/browse/HIVE-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015201#comment-14015201
] 

Prasanth J commented on HIVE-7147:
----------------------------------

Committed to trunk. Thanks [~gopalv]!

> ORC PPD should handle CHAR/VARCHAR types
> ----------------------------------------
>
>                 Key: HIVE-7147
>                 URL: https://issues.apache.org/jira/browse/HIVE-7147
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>    Affects Versions: 0.14.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7147.1.patch
>
>
> ORC PPD does not handle Varchar/Char data types.
> {code}
> Caused by: java.lang.IllegalArgumentException: Unknown type VARCHAR
>         at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl.getIndexPosition(RecordReaderImpl.java:2671)
>         at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl.planReadPartialDataStreams(RecordReaderImpl.java:2736)
>         at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl.readPartialDataStreams(RecordReaderImpl.java:2911)
>         at org.apache.hadoop.hive.ql.io.orc.RecordReaderImpl.readStripe(RecordReaderImpl.java:2526)
> {code}
> The handling for PPD for both those types should be inline with the String type as the
encoding mechanism is the same for all three types.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message