jarredhj0214 opened a new pull request, #14727: URL: https://github.com/apache/gravitino/pull/14727
### What changes were proposed in this pull request? Preserve MySQL zero-date DATE, TIMESTAMP and DATETIME column defaults as quoted `UnparsedExpression` values, including fractional seconds. Add regression tests for zero-date defaults and existing valid temporal defaults. ### Why are the changes needed? Loading table metadata currently fails when a legacy MySQL column has a zero-date default that Java temporal literals cannot represent. Fixes #14722 ### Does this PR introduce _any_ user-facing change? MySQL table metadata can be loaded when columns have zero-date defaults. No API or configuration changes. ### How was this patch tested? - Passed: `./gradlew :catalogs:catalog-jdbc-mysql:test :catalogs:catalog-jdbc-mysql:spotlessCheck -PskipITs` (JDK 17). - Ran `./gradlew spotlessApply`; the repository-wide task was blocked by an existing x86_64/ARM mismatch in the MCP server's Python Black environment. The changed Java files were formatted and their module's format checks passed. - MySQL integration tests were not run because Docker is unavailable locally. -- 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]
