You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ru...@apache.org on 2022/11/28 09:31:26 UTC

[spark] branch master updated: [MINOR][DOC] Fix typo in pydoc for pyspark.sql.function.from_utc_timestamp

This is an automated email from the ASF dual-hosted git repository.

ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new f7cfce5e237 [MINOR][DOC] Fix typo in pydoc for pyspark.sql.function.from_utc_timestamp
f7cfce5e237 is described below

commit f7cfce5e237adccff28c8d2c02423e5afb57e00c
Author: Fredrik Mile <fr...@gmail.com>
AuthorDate: Mon Nov 28 17:31:03 2022 +0800

    [MINOR][DOC] Fix typo in pydoc for pyspark.sql.function.from_utc_timestamp
    
    ### What changes were proposed in this pull request?
    
    Typo fix in pydoc for pyspark.sql.function.from_utc_timestamp
    
    upported -> supported
    
    ### Why are the changes needed?
    
    Great documentation
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    N/A
    
    Closes #38817 from mile95/master.
    
    Authored-by: Fredrik Mile <fr...@gmail.com>
    Signed-off-by: Ruifeng Zheng <ru...@apache.org>
---
 python/pyspark/sql/functions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/sql/functions.py b/python/pyspark/sql/functions.py
index ad1bc488e87..3aeb48adea7 100644
--- a/python/pyspark/sql/functions.py
+++ b/python/pyspark/sql/functions.py
@@ -4737,7 +4737,7 @@ def to_utc_timestamp(timestamp: "ColumnOrName", tz: "ColumnOrName") -> Column:
         be in the format of either region-based zone IDs or zone offsets. Region IDs must
         have the form 'area/city', such as 'America/Los_Angeles'. Zone offsets must be in
         the format '(+|-)HH:mm', for example '-08:00' or '+01:00'. Also 'UTC' and 'Z' are
-        upported as aliases of '+00:00'. Other short names are not recommended to use
+        supported as aliases of '+00:00'. Other short names are not recommended to use
         because they can be ambiguous.
 
         .. versionchanged:: 2.4.0


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