Ayush Saxena created HIVE-28353:
-----------------------------------

             Summary: Iceberg: Reading *Files Metadata table files if the 
column is of TIMESTAMP type
                 Key: HIVE-28353
                 URL: https://issues.apache.org/jira/browse/HIVE-28353
             Project: Hive
          Issue Type: Bug
            Reporter: Ayush Saxena


If the main table has a column of type TIMESTAMP, reading the *FILES Metadata 
table fails

{noformat}
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
java.lang.ClassCastException: java.time.OffsetDateTime cannot be cast to 
java.time.LocalDateTime
        at 
org.apache.hadoop.hive.ql.exec.ListSinkOperator.process(ListSinkOperator.java:98)
        at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:888)
        at 
org.apache.hadoop.hive.ql.exec.SelectOperator.process(SelectOperator.java:94)
        at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:888)
        at 
org.apache.hadoop.hive.ql.exec.TableScanOperator.process(TableScanOperator.java:173)
        at 
org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:545)
        at 
org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:537)
        at 
org.apache.hadoop.hive.ql.exec.FetchTask.executeInner(FetchTask.java:194)
        ... 55 more
{noformat}




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

Reply via email to