You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2024/07/12 13:37:00 UTC

[jira] [Resolved] (HIVE-28368) Iceberg: Unable to read PARTITIONS Metadata table

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

Ayush Saxena resolved HIVE-28368.
---------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

> Iceberg: Unable to read PARTITIONS Metadata table
> -------------------------------------------------
>
>                 Key: HIVE-28368
>                 URL: https://issues.apache.org/jira/browse/HIVE-28368
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> Fails with
> {noformat}
> Caused by: java.lang.ClassCastException: java.time.LocalDateTime cannot be cast to java.time.OffsetDateTime
> 	at org.apache.iceberg.mr.hive.serde.objectinspector.IcebergTimestampWithZoneObjectInspectorHive3.getPrimitiveJavaObject(IcebergTimestampWithZoneObjectInspectorHive3.java:60)
> 	at org.apache.iceberg.mr.hive.serde.objectinspector.IcebergTimestampWithZoneObjectInspectorHive3.getPrimitiveWritableObject(IcebergTimestampWithZoneObjectInspectorHive3.java:67)
> 	at org.apache.hadoop.hive.serde2.lazy.LazyUtils.writePrimitiveUTF8(LazyUtils.java:313) 
> 	at org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.serialize(LazySimpleSerDe.java:292)
> 	at org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.serializeField(LazySimpleSerDe.java:247) 
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)