HyukjinKwon commented on code in PR #46123:
URL: https://github.com/apache/spark/pull/46123#discussion_r1571532818
##########
python/pyspark/sql/functions/builtin.py:
##########
@@ -15452,6 +15452,135 @@ def parse_json(
return _invoke_function("parse_json", _to_java_column(col))
+@_try_remote_functions
+def is_variant_null(v: "ColumnOrName") -> Column:
+ """
+ Check if a variant value is a variant null. Returns true if and only if
the input is a variant
+ null and false otherwise (including in the case of SQL NULL).
+
+ .. versionadded:: 4.0.0
+
Review Comment:
Can we add `Returns` section
(https://numpydoc.readthedocs.io/en/latest/format.html#returns)?
--
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]