chrisqiqiu commented on issue #2663:
URL: 
https://github.com/apache/iceberg-python/issues/2663#issuecomment-3503113491

   > This might also be a Dremio issue 
https://community.dremio.com/t/incorrect-timestamp-field-type-in-for-created-iceberg-table/13095/5
 which was mentioned here as fixed 
https://community.dremio.com/t/incorrect-timestamp-field-type-in-for-created-iceberg-table/13095/7
   > 
   > [@chrisqiqiu](https://github.com/chrisqiqiu) could you give it a try with 
the new Dremio release?
   > 
   > pyiceberg does the proper schema conversion
   > 
   > 
[iceberg-python/pyiceberg/utils/schema_conversion.py](https://github.com/apache/iceberg-python/blob/8878b2c260bf62ad16ef6f8e8d3a6ae93103eff7/pyiceberg/utils/schema_conversion.py#L382-L386)
   > 
   > Lines 382 to 386 in 
[8878b2c](/apache/iceberg-python/commit/8878b2c260bf62ad16ef6f8e8d3a6ae93103eff7)
   > 
   >  elif logical_type == "timestamp-micros": 
   >      if avro_logical_type.get("adjust-to-utc", False) is True: 
   >          return TimestamptzType() 
   >      else: 
   >          return TimestampType()
   
   @kevinjqliu After upgrading to the 26.0.5, it works fine now


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