Skip to content

Commit c754a08

Browse files
pshearerAndrew Or
authored andcommitted
Doc typo: ltrim = trim from left end, not right
Author: pshearer <pshearer@massmutual.com> Closes apache#10414 from pshearer/patch-1. (cherry picked from commit fc6dbcc) Signed-off-by: Andrew Or <andrew@databricks.com>
1 parent d6a519f commit c754a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ def sha2(col, numBits):
10531053
'lower': 'Converts a string column to lower case.',
10541054
'upper': 'Converts a string column to upper case.',
10551055
'reverse': 'Reverses the string column and returns it as a new string column.',
1056-
'ltrim': 'Trim the spaces from right end for the specified string value.',
1056+
'ltrim': 'Trim the spaces from left end for the specified string value.',
10571057
'rtrim': 'Trim the spaces from right end for the specified string value.',
10581058
'trim': 'Trim the spaces from both ends for the specified string column.',
10591059
}

0 commit comments

Comments
 (0)