You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2014/05/30 03:19:01 UTC
[jira] [Commented] (HIVE-7147) ORC PPD should handle CHAR/VARCHAR
types
[ 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)