ggangadharan commented on PR #5590:
URL: https://github.com/apache/hive/pull/5590#issuecomment-2563846888

   Hi @Aggarwal-Raghav 
   
   Thank you for raising this question.
   
   Upon investigation, it appears that the issue stems from how the 
IcebergRecordReader interprets the timestamp column for different file formats:
   
   - For ORC tables, the timestamp column is read as LOCALDATETIME.
   - For Parquet tables, the same column is read as OFFSETDATETIME.
   
   Due to this discrepancy, we are encountering a **ClassCastException** when 
working with Parquet tables.
   
   As you mentioned, I also believe the root cause lies in the underlying file 
format/Iceberg level.
   
   I’ve attached a screenshot for reference.
   
   
![HIVE-28518_DEBUG](https://github.com/user-attachments/assets/593d6242-afe6-4561-9360-853f5ad4288f)
   
   
   Please let me know if you need further details or if we should take any 
additional steps to address this. 
   
   if it looks okay , Please review the PR. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to