You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Tongjie Chen (JIRA)" <ji...@apache.org> on 2014/04/02 04:11:15 UTC

[jira] [Commented] (HIVE-6785) query fails when partitioned table's table level serde is ParquetHiveSerDe and partition level serde is of different SerDe

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

Tongjie Chen commented on HIVE-6785:
------------------------------------

This patch involves deleting file and adding new files (mv),  and there is no instruction to delete/add if using git in https://cwiki.apache.org/confluence/display/Hive/HowToContribute; however my patch is using git diff, if that does not work, I will resubmit a patch using svn.

https://reviews.apache.org/r/19896/

> query fails when partitioned table's table level serde is ParquetHiveSerDe and partition level serde is of different SerDe
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-6785
>                 URL: https://issues.apache.org/jira/browse/HIVE-6785
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats, Serializers/Deserializers
>    Affects Versions: 0.13.0
>            Reporter: Tongjie Chen
>         Attachments: HIVE-6785.1.patch.txt
>
>
> More specifically, if table contains string type columns. it will result in the following exception ""Failed with exception java.io.IOException:java.lang.ClassCastException: parquet.hive.serde.primitive.ParquetStringInspector cannot be cast to org.apache.hadoop.hive.serde2.objectinspector.primitive.SettableTimestampObjectInspector"
> see also in the following parquet issue:
> https://github.com/Parquet/parquet-mr/issues/324



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