@@ -1757,10 +1757,9 @@ setMethod("toRadians",
17571757# ' \url{http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html}.
17581758# ' If the string cannot be parsed according to the specified format (or default),
17591759# ' the value of the column will be null.
1760- # ' By default, it follows casting rules to a date if the format is omitted
1760+ # ' By default, it follows casting rules to a DateType if the format is omitted
17611761# ' (equivalent with \code{cast(df$x, "date")}).
17621762# '
1763- # '
17641763# ' @param x Column to parse.
17651764# ' @param format string to use to parse x Column to DateType. (optional)
17661765# '
@@ -1834,11 +1833,11 @@ setMethod("to_json", signature(x = "Column"),
18341833# ' \url{http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html}.
18351834# ' If the string cannot be parsed according to the specified format (or default),
18361835# ' the value of the column will be null.
1837- # ' By default, it follows casting rules to a timestamp if the format is omitted
1836+ # ' By default, it follows casting rules to a TimestampType if the format is omitted
18381837# ' (equivalent with \code{cast(df$x, "timestamp")}).
18391838# '
18401839# ' @param x Column to parse.
1841- # ' @param format string to use to parse x Column to DateType . (optional)
1840+ # ' @param format string to use to parse x Column to TimestampType . (optional)
18421841# '
18431842# ' @rdname to_timestamp
18441843# ' @name to_timestamp
0 commit comments