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

gurwls223 pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new e369015  [SPARK-31189][R][DOCS][FOLLOWUP] Replace Datetime pattern 
links in R doc
e369015 is described below

commit e36901573c30f90d7698082259873cb3f5ee93df
Author: Kent Yao <[email protected]>
AuthorDate: Sun Mar 22 14:22:44 2020 +0900

    [SPARK-31189][R][DOCS][FOLLOWUP] Replace Datetime pattern links in R doc
    
    ### What changes were proposed in this pull request?
    
    Use our own docs for data pattern instructions to replace java doc.
    
    ### Why are the changes needed?
    
    fix doc
    
    ### Does this PR introduce any user-facing change?
    
    yes. doc changed
    ### How was this patch tested?
    
    pass jenkins
    
    Closes #27975 from yaooqinn/SPARK-31189-2.
    
    Authored-by: Kent Yao <[email protected]>
    Signed-off-by: HyukjinKwon <[email protected]>
---
 R/pkg/R/functions.R | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/R/pkg/R/functions.R b/R/pkg/R/functions.R
index 89c7cbe..dd5dbbc 100644
--- a/R/pkg/R/functions.R
+++ b/R/pkg/R/functions.R
@@ -1792,7 +1792,7 @@ setMethod("radians",
 #' @details
 #' \code{to_date}: Converts the column into a DateType. You may optionally 
specify
 #' a format according to the rules in:
-#' 
\url{https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html}.
+#' 
\href{https://spark.apache.org/docs/latest/sql-ref-datetime-pattern.html}{Datetime
 Pattern}
 #' If the string cannot be parsed according to the specified format (or 
default),
 #' the value of the column will be null.
 #' By default, it follows casting rules to a DateType if the format is omitted
@@ -1888,7 +1888,7 @@ setMethod("to_csv", signature(x = "Column"),
 #' @details
 #' \code{to_timestamp}: Converts the column into a TimestampType. You may 
optionally specify
 #' a format according to the rules in:
-#' 
\url{https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html}.
+#' 
\href{https://spark.apache.org/docs/latest/sql-ref-datetime-pattern.html}{Datetime
 Pattern}
 #' If the string cannot be parsed according to the specified format (or 
default),
 #' the value of the column will be null.
 #' By default, it follows casting rules to a TimestampType if the format is 
omitted
@@ -2760,8 +2760,8 @@ setMethod("format_string", signature(format = 
"character", x = "Column"),
 #' \code{from_unixtime}: Converts the number of seconds from unix epoch 
(1970-01-01 00:00:00 UTC)
 #' to a string representing the timestamp of that moment in the current system 
time zone in the JVM
 #' in the given format.
-#' See 
\href{https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html}{
-#' Customizing Formats} for available options.
+#' See 
\href{https://spark.apache.org/docs/latest/sql-ref-datetime-pattern.html}{
+#' Datetime Pattern} for available options.
 #'
 #' @rdname column_datetime_functions
 #'


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

Reply via email to