huadongliu commented on issue #1914:
URL: https://github.com/apache/iceberg/issues/1914#issuecomment-837846615


   I saw the same Spark error when loading a table with a timestamp column 
created by the Java API. It is expected by 
https://iceberg.apache.org/spark-writes/#iceberg-type-to-spark-type.
   
   I was able to workaround it by `s/timestamp/timestamptz` in the schema 
section of the json snapshot file. Surprisingly, Spark still shows UTC 
timestamps while my local timezone is GMT-7. The parquet files have UTC 
timestamps.
   
   


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

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