HyukjinKwon commented on code in PR #40085: URL: https://github.com/apache/spark/pull/40085#discussion_r1299485759
########## python/pyspark/sql/functions.py: ########## @@ -13068,6 +13068,46 @@ def _invoke_higher_order_function( return Column(cast(JVMView, sc._jvm).Column(expr(*jcols + jfuns))) +@try_remote_functions +def filter_value(col: "ColumnOrName", f: Callable[[Column], Column]) -> Column: + """ + Returns the column if the predicate holds true, otherwise null. + + .. versionadded:: 3.5.0 Review Comment: probably 4.0.0 -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org