[ 
https://issues.apache.org/jira/browse/HIVE-6794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szehon Ho resolved HIVE-6794.
-----------------------------

    Resolution: Fixed

This is already solved by HIVE-6575, can you try with trunk?

> select * from parquet hive table containing map columns runs into exception
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-6794
>                 URL: https://issues.apache.org/jira/browse/HIVE-6794
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats, Serializers/Deserializers
>    Affects Versions: 0.13.0
>            Reporter: Tongjie Chen
>
> select * from parquet hive table containing map columns run into exception 
> "FAILED: RuntimeException java.lang.ClassCastException: 
> parquet.hive.serde.DeepParquetHiveMapInspector cannot be cast to 
> parquet.hive.serde.StandardParquetHiveMapInspector"
> To reproduce, use the following steps (both regular_map_table and 
> parquet_map_table contains schema "c1 , c2 int"):
> hive> insert overwrite table parquet_map_table select * from 
> regular_map_table;
> hive> select * from parquet_map_table; (the first query to select * works 
> fine )
> OK
> {"key1":"value1"} 1
> {"key2":"value2"} 2
> {"key3":"value3"} 3
> Time taken: 2.669 seconds, Fetched: 3 row(s)
> hive> select * from parquet_map_table; (the second and all subsequent exact 
> same query breaks)
> FAILED: RuntimeException java.lang.ClassCastException: 
> parquet.hive.serde.DeepParquetHiveMapInspector cannot be cast to 
> parquet.hive.serde.StandardParquetHiveMapInspector
> Interestingly "select c1 from parquet_map_column" query works fine though.



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

Reply via email to