wombatu-kun commented on PR #8842: URL: https://github.com/apache/paimon/pull/8842#issuecomment-5087045201
The float formatter is removed rather than fixed. Both points reproduce, and matching pre-JDK-19 output would mean porting the legacy `FloatingDecimal`; JDK 19+ changed it in the other direction, so there is no single Java rendering to target. FLOAT and DOUBLE partition columns leave `min/max_partition_stats` NULL again. Auditing the rest the same way, TIMESTAMP WITH LOCAL TIME ZONE is excluded for the same reason (Java formats it in `TimeZone.getDefault()`), and so is BINARY (the JDK UTF-8 decoder and Python disagree on the replacement characters for malformed input). Two real bugs are fixed: TIME at precision 2 dropped a zero the truncated tail sat behind (`.1` instead of `.10` for 101 ms), and DECIMAL rendered `0E-9` where `Decimal.toString` gives `0.000000000`. What is still rendered is now checked against `RowToStringCastRule` itself: BOOLEAN, TINYINT, SMALLINT, INT, BIGINT, DECIMAL, CHAR, VARCHAR, DATE, TIME and TIMESTAMP. -- 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]
