Holden Karau created SPARK-59088:
------------------------------------
Summary: Handle rounding
Key: SPARK-59088
URL: https://issues.apache.org/jira/browse/SPARK-59088
Project: Spark
Issue Type: Sub-task
Components: PySpark
Affects Versions: 4.3.0
Reporter: Holden Karau
`round(x, -1)` in a transpiled Python UDF raises ARITHMETIC_OVERFLOW on a
narrow column where
interpreted Python answers. Widen the operand first, the way `abs` and the
arithmetic operators
already do (`PythonNumericPromotion`).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]