yihua opened a new issue, #1047: URL: https://github.com/apache/incubator-xtable/issues/1047
### 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 🐞 Hudi writes the partition path of a DATE column as an ISO date, such as `2024-02-29`, and its SQL key generator writes a TIMESTAMP column as an escaped date and time, such as `2024-02-29 10%3A30%3A00`. The path based partition values extractor reads both as numbers, so the first sync of such a table fails with a NumberFormatException. The extractor should parse both forms. Since the key generator truncates a TIMESTAMP path to whole seconds, a file whose column stats show values other than its path value should be refused rather than published with a wrong partition value. ### 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]
