File "/.../spark/python/pyspark/sql/connect/column.py", line 115, in pyspark.sql.connect.column.Column.eqNullSafe
Failed example:
df2.select(
df2['value'].eqNullSafe(None),
df2['value'].eqNullSafe(float('NaN')),
df2['value'].eqNullSafe(42.0)
).show()
Expected:
+----------------+---------------+----------------+
|(value <=> NULL)|(value <=> NaN)|(value <=> 42.0)|
+----------------+---------------+----------------+
| false| true| false|
| false| false| true|
| true| false| false|
+----------------+---------------+----------------+
Got:
+----------------+---------------+----------------+
|(value <=> NULL)|(value <=> NaN)|(value <=> 42.0)|
+----------------+---------------+----------------+
| true| false| false|
| false| false| true|
| true| false| false|
+----------------+---------------+----------------+