yuqi1129 opened a new pull request, #14688: URL: https://github.com/apache/gravitino/pull/14688
### What changes were proposed in this pull request? Render MySQL Boolean literal defaults as numeric 1/0, reject malformed Boolean values, and reload BIT(1) default literals as Boolean values. Keep shared JDBC conversion and other providers unchanged. ### Why are the changes needed? The current quoted defaults fail MySQL BIT DDL. Normal create/alter requests need to succeed and preserve their defaults on load and subsequent inserts. Fixes #14687 ### Does this PR introduce _any_ user-facing change? Boolean defaults true/false/1/0 now work for MySQL create and alter. String defaults remain quoted; NULL, expressions and wider BIT columns retain their existing behavior. ### How was this patch tested? - All 57 non-Docker MySQL module tests passed. The 18 new converter cases fail against the old implementation. - A real MySQL 8.0 container and embedded Gravitino passed the new create/load/alter regression, including actual INSERTs that omit the Boolean columns before and after ALTER. The run used the existing disposable tmpfs database option and a temporary init script to enable Docker tests on the local host. - Module Spotless and git diff --check passed. Fresh-context review found no outstanding findings. No deployed-server or multi-version database coverage is claimed. -- 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]
