1996fanrui opened a new pull request, #29773: URL: https://github.com/apache/flink/pull/29773
## What is the purpose of the change Backport of #29689 to release-2.3. ## Verifying this change - `./mvnw -pl flink-table/flink-table-common,flink-table/flink-table-planner -am -Pskip-webui-build -Dtest='CastFunctionITCase' -Dsurefire.failIfNoSpecifiedTests=false package` (JDK 17): `BUILD SUCCESS`, `Tests run: 700, Failures: 0, Errors: 0, Skipped: 0 -- in org.apache.flink.table.planner.functions.CastFunctionITCase` - Same command with the main-code changes in `DateTimeUtils` and `TimestampToDateCastRule` reverted (JDK 17): `BUILD FAILURE`, `Tests run: 700, Failures: 9, Errors: 0, Skipped: 0`, so the new cases cover this branch's behavior. - `./mvnw -q -pl flink-table/flink-table-common,flink-table/flink-table-planner spotless:check checkstyle:check` (JDK 17): passed. ## Difference from the original | Original commit | Conflict | Byte-identical | Changes | | --- | --- | --- | --- | | 0196674040 | No | Yes | None | cc @raminqaf ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code 2.1.317 (Claude Opus 5.5) -- 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]
