asmello commented on a change in pull request #24121: 
[SPARK-26979][PYTHON][FOLLOW-UP] Make binary math/string functions take string 
as columns as well
URL: https://github.com/apache/spark/pull/24121#discussion_r266336079
 
 

 ##########
 File path: python/pyspark/sql/functions.py
 ##########
 @@ -48,8 +55,11 @@ def _(col):
     return _
 
 
-def _create_function(name, doc=""):
-    """ Create a function that takes a Column object, by name"""
+def _create_function_with_column(name, doc=""):
 
 Review comment:
   `_create_column_function` or `_create_function_over_column`. Mathematically, 
if a function is defined over real numbers, we'd call it a "real function" or a 
"function over real numbers". This is the same principle.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to