cloud-fan commented on code in PR #40699:
URL: https://github.com/apache/spark/pull/40699#discussion_r1161847586


##########
python/pyspark/sql/column.py:
##########
@@ -304,7 +304,7 @@ def __ne__(  # type: ignore[override]
     |(value = foo)|(value <=> foo)|(value <=> NULL)|
     +-------------+---------------+----------------+
     |         true|           true|           false|
-    |         null|          false|            true|
+    |         NULL|          false|            true|

Review Comment:
   OK, to keep consistent, it seems we should update `Cast` code when casting 
array/struct/map to string and the element/field is null.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to