fallintoplace opened a new pull request, #11140: URL: https://github.com/apache/seatunnel/pull/11140
### Purpose of this pull request Fix Debezium JSON numeric TIME conversion so millisecond, microsecond, and nanosecond payloads are converted to nanoseconds before calling `LocalTime.ofNanoOfDay`. When Debezium schema metadata is present, the converter now uses the logical schema names (`io.debezium.time.Time`, `io.debezium.time.MicroTime`, and `io.debezium.time.NanoTime`) to choose the unit. Schema-less payloads keep a compatibility fallback, including numeric millisecond values such as `60000` converting to `00:01:00`. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Added unit coverage for schema-less millisecond TIME values and schema-included Debezium Time/MicroTime/NanoTime payloads. - `./mvnw -pl seatunnel-formats/seatunnel-format-json -am -DskipTests -DskipITs -Dcheckstyle.skip -Dspotless.check.skip install` - `./mvnw -pl seatunnel-formats/seatunnel-format-json -DskipITs -Dcheckstyle.skip -Dspotless.check.skip test` - `./mvnw -pl seatunnel-formats/seatunnel-format-json spotless:check` ### Check list * [x] No new Jar binary package is added. * [x] Documentation is not needed for this bug fix. * [x] No incompatible change is introduced. * [x] No connector packaging changes are needed. -- 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]
