Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/19517#discussion_r145149081
--- Diff: python/pyspark/sql/functions.py ---
@@ -2038,13 +2038,22 @@ def _wrap_function(sc, func, returnType):
sc.pythonVer, broadcast_vars,
sc._javaAccumulator)
+class PythonUdfType(object):
+ # row-based UDFs
+ NORMAL_UDF = 0
+ # single-row vectorized UDFs
--- End diff --
one-to-one mapping vectorized UDFs
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]