yihua opened a new issue, #1048: URL: https://github.com/apache/incubator-xtable/issues/1048
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-xtable/issues?q=is%3Aissue) and found no similar issues. ### Please describe the bug 🐞 `AvroSchemaConverter` converts Avro `local-timestamp-millis` and `local-timestamp-micros` to LONG, since Hudi 0.x wrote them to Parquet as plain INT64. Hudi 1.x writes them as Parquet timestamps not adjusted to UTC, so the Iceberg schema of a table with a TIMESTAMP_NTZ column says long for a column whose files hold timestamps, and every Iceberg read fails with a ClassCastException from LongType to TimestampType. Both logical types should convert to TIMESTAMP_NTZ with their precision. Targets that already synced the column as long need a migration path. ### Are you willing to submit PR? - [x] I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
