grundprinzip opened a new pull request, #46434: URL: https://github.com/apache/spark/pull/46434
### What changes were proposed in this pull request? As part of re-enabling the ANSI mode tests for Spark Connect, we discovered that we don't have an equivalent for `try_*` for the remainder of operations. This patch adds the `try_remainder` function in Scala, Python, and Spark Connect and adds the required testing. ### Why are the changes needed? ANSI and Spark 4 ### Does this PR introduce _any_ user-facing change? Yes, it adds the `try_remainder` function that behaves according to ANSI for division by zero. ### How was this patch tested? Added new UT and E2E tests. ### Was this patch authored or co-authored using generative AI tooling? No -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org