What is the problem the feature request solves?
PR #1971 introduced spark_modulo function, and found that Spark 4.0 and earlier version threw Divide by Zero instead of Remainder by Zero exception, which was incorrect. And so, filed https://issues.apache.org/jira/browse/SPARK-52659 for Spark to fix this.
That error message has now been fixed in the PR apache/spark#51378 for Spark 4.1 and it will now throw Reminder by Zero instead of misleading Divide by Zero. This would require handling new error here for spark version 4.1 and later.
Describe the potential solution
No response
Additional context
No response