[ https://issues.apache.org/jira/browse/HIVE-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gopal V updated HIVE-7147: -------------------------- Description: 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. was: ORC PPD does not handle Varchar/Char data types. 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. > 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)