jackylee-ch opened a new pull request, #18001:
URL: https://github.com/apache/iceberg/pull/18001
The nano-of-millisecond argument in `StructRowData.convertValue` is
`floorMod(timeMillis * 1000, 1000) * 1000`, always 0 since `timeMillis` is
already millis. A `timestamp` in an array or map loses sub-millisecond
precision: `12:00:00.123456` reads back as `12:00:00.123`. Normalized to micros
first, like `TIMESTAMP_NANO` below it.
### Testing
`iceberg-flink-{1.20,2.1,2.2,2.3}:test --tests TestStructRowData`
---
**AI Disclosure**
- Model: Claude Opus 5
- Platform/Tool: Ducc
- Human Oversight: fully reviewed
- Prompt Summary: Fix microsecond truncation for nested 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.
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]