ArnavBalyan opened a new issue, #7763:
URL: https://github.com/apache/paimon/issues/7763

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   
   ### Paimon version
   
   master
   
   ### Compute Engine
   
   na
   
   ### Minimal reproduce step
   
   UT
   
   ### What doesn't meet your expectations?
   
   - Reading a Paimon timestamp with local timezone column from the Iceberg 
manifest throws ClassCastException.  
   - In IcebergConversions.toPaimonObject the two timestamp variants share a 
switch arm and cast the data type
      to TimestampType, but LocalZonedTimestampType is not a subtype of 
TimestampType, so the cast blows up at runtime.
    - The write side already splits the two cases and casts each one correctly. 
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a 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]

Reply via email to