Github user BryanCutler commented on a diff in the pull request:
https://github.com/apache/spark/pull/20295#discussion_r172699274
--- Diff: python/pyspark/sql/udf.py ---
@@ -35,24 +37,29 @@ def _wrap_function(sc, func, returnType):
sc.pythonVer, broadcast_vars,
sc._javaAccumulator)
+def _get_argspec(f):
--- End diff --
How about putting this in pyspark.util? It might be useful in places other
than sql
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]