diff --git a/ibis/backends/pyspark/compiler.py b/ibis/backends/pyspark/compiler.py index ab45289268ab..01a1f4642533 100644 --- a/ibis/backends/pyspark/compiler.py +++ b/ibis/backends/pyspark/compiler.py @@ -1979,3 +1979,8 @@ def compile_atan2(t, expr, scope, timecontext, **kwargs): @compiles(ops.Degrees) def compile_degrees(t, expr, scope, timecontext, **kwargs): return F.degrees(t.translate(expr.op().arg, scope, timecontext, **kwargs)) + + +@compiles(ops.Radians) +def compile_radians(t, expr, scope, timecontext, **kwargs): + return F.radians(t.translate(expr.op().arg, scope, timecontext, **kwargs)) diff --git a/ibis/backends/tests/test_numeric.py b/ibis/backends/tests/test_numeric.py index 83396e72116f..1245896babc5 100644 --- a/ibis/backends/tests/test_numeric.py +++ b/ibis/backends/tests/test_numeric.py @@ -161,7 +161,6 @@ def test_isnan_isinf( "datafusion", "impala", "pandas", - "pyspark", ] ), ),