artem-garmash opened a new issue, #6860:
URL: https://github.com/apache/iceberg/issues/6860

   ### Apache Iceberg version
   
   1.0.0
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug 🐞
   
   Create a new table with session configs 
`spark.sql.iceberg.handle-timestamp-without-timezone` and 
`spark.sql.iceberg.use-timestamp-without-timezone-in-new-tables` set to `true` 
to have `timestamp` iceberg type instead of `timestampz` for timestamp columns. 
Try to add a new timestamp (without timezone) column explicitly via `ALTER 
TABLE ... ADD COLUMNS...` or on append with `write.spark.accept-any-schema` set 
to `true` in table properties. The new column is added as `timestampz` and not 
`timestamp`.
   


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