asmello commented on a change in pull request #23882: [SPARK-26979][PYTHON] Add 
missing string column name support for some SQL functions
URL: https://github.com/apache/spark/pull/23882#discussion_r266325997
 
 

 ##########
 File path: python/pyspark/sql/functions.py
 ##########
 @@ -1437,10 +1453,6 @@ def hash(*cols):
     'ascii': 'Computes the numeric value of the first character of the string 
column.',
     'base64': 'Computes the BASE64 encoding of a binary column and returns it 
as a string column.',
     'unbase64': 'Decodes a BASE64 encoded string column and returns it as a 
binary column.',
-    'initcap': 'Returns a new string column by converting the first letter of 
each word to ' +
-               'uppercase. Words are delimited by whitespace.',
-    'lower': 'Converts a string column to lower case.',
-    'upper': 'Converts a string column to upper case.',
     'ltrim': 'Trim the spaces from left end for the specified string value.',
     'rtrim': 'Trim the spaces from right end for the specified string value.',
     'trim': 'Trim the spaces from both ends for the specified string column.',
 
 Review comment:
   I don't understand what you're saying here. `trim` with 2 arguments was 
never supported in PySpark, and that's a separate issue. What this patch 
changes is that `trim("value")` is now supported, when it wasn't previously.

----------------------------------------------------------------
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