Ayush Saxena created HIVE-28368:
-----------------------------------

             Summary: 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


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)

Reply via email to