spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewo...@apache.org
Subject spark git commit: Doc typo: ltrim = trim from left end, not right
Date Mon, 21 Dec 2015 22:05:12 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.6 d6a519ff2 -> c754a0879


Doc typo: ltrim = trim from left end, not right

Author: pshearer <pshearer@massmutual.com>

Closes #10414 from pshearer/patch-1.

(cherry picked from commit fc6dbcc7038c2b030ef6a2dc8be5848499ccee1c)
Signed-off-by: Andrew Or <andrew@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c754a087
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c754a087
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c754a087

Branch: refs/heads/branch-1.6
Commit: c754a08793458813d608e48ad1b158da770cd992
Parents: d6a519f
Author: pshearer <pshearer@massmutual.com>
Authored: Mon Dec 21 14:04:59 2015 -0800
Committer: Andrew Or <andrew@databricks.com>
Committed: Mon Dec 21 14:05:07 2015 -0800

----------------------------------------------------------------------
 python/pyspark/sql/functions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/c754a087/python/pyspark/sql/functions.py
----------------------------------------------------------------------
diff --git a/python/pyspark/sql/functions.py b/python/pyspark/sql/functions.py
index 9062594..25594d7 100644
--- a/python/pyspark/sql/functions.py
+++ b/python/pyspark/sql/functions.py
@@ -1053,7 +1053,7 @@ _string_functions = {
     'lower': 'Converts a string column to lower case.',
     'upper': 'Converts a string column to upper case.',
     'reverse': 'Reverses the string column and returns it as a new string column.',
-    'ltrim': 'Trim the spaces from right end for the specified string value.',
+    '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.',
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message