baiyangtx opened a new issue, #8415:
URL: https://github.com/apache/iceberg/issues/8415
### Apache Iceberg version
1.3.1 (latest release)
### Query engine
Spark
### Please describe the bug 🐞
```
SET `spark.sql.iceberg.use-timestamp-without-timezone-in-new-tables`=`true`;
CREATE TABLE local.db.source (
id int COMMENT 'id field',
pt timestamp COMMENT 'ts field'
) USING iceberg partitioned by (days(pt));
DESC local.db.source
```
The result is :

I found the root cause of the issue, which is that the "doc" part was not
copied when copying the field in `org.apache.iceberg.types.FixupTypes#struct()`
--
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]