zhangshenghang opened a new pull request, #12215: URL: https://github.com/apache/seatunnel/pull/12215
## What does this PR do? Fixes #12179. Zeta SQL `MOD` now supports `TINYINT` and `SMALLINT` divisors, returning a remainder of the divisor's declared type. ## Why is this needed? `MOD` already accepts these values for decimal conversion but previously rejected their runtime `Byte` and `Short` representations while selecting the result type, causing valid SQL expressions to fail. ## Tests - Added SQL regression coverage for `MOD` with `TINYINT` and `SMALLINT` divisors. - `./mvnw -pl seatunnel-transforms-v2 -Dtest=SQLNumericFunctionsTest test` - `./mvnw spotless:apply` - Started `./mvnw -q -DskipTests verify` (still running in the local workspace). -- 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]
