plusplusjiajia opened a new pull request, #9467:
URL: https://github.com/apache/paimon/pull/9467
### Purpose
Iceberg compatibility converts only `TIME` precision 0-3
(`IcebergDataField`, `IcebergConversions`), but no schema-level rule enforces
it. A `TIME(4..9)` column passes create, alter and commit with Iceberg metadata
enabled, and only fails while the metadata is built - after the Paimon snapshot
is already committed, so the caller sees a failure while the data is durable
and the Iceberg view is missing. This validates the precision where the other
Iceberg type rules live, for the current schema and for the historical schemas
the mirror publishes, and documents the `TIME` mapping.
### Tests
`SchemaManagerTest`: create, enable-by-alter and historical-schema paths
for `TIME(4)`, `TIME(6)`, `TIME(9)`; `TIME(3)` still accepted.
--
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]