hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7147) ORC PPD should handle CHAR/VARCHAR types
Date Fri, 30 May 2014 01:19:01 GMT

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

Gopal V commented on HIVE-7147:
-------------------------------

[~prasanth_j]: can you review this change?

> 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
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>         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