jackylee-ch opened a new pull request, #9299: URL: https://github.com/apache/paimon/pull/9299
### Purpose `convertEpochToTimestamp` splits a nanosecond epoch with `/` and `%`, which truncate toward zero, so a pre-epoch value yields a negative nano-of-millisecond and `Timestamp`'s constructor rejects it with a message-less `IllegalArgumentException`. `Timestamp#fromMicros` and the Parquet reader both use `Math.floorDiv`. `TIMESTAMP(9)` value `-1` through `ArrowBundleRecords`: ``` was IllegalArgumentException now 1969-12-31T23:59:59.999999999 ``` This is the shared Arrow read path for lance, mosaic and vortex. ### Tests `ArrowFormatWriterTest#testArrowBundleRecordsWithPreEpochNanoTimestamps`. Written with Claude Code; reasoning and verification are mine. -- 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]
