File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/core/src/main/scala/org/apache/spark/sql Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2634,8 +2634,8 @@ object functions {
26342634 * See [[java.time.format.DateTimeFormatter ]] for valid date and time format patterns
26352635 *
26362636 * @param dateExpr A date, timestamp or string. If a string, the data must be in a format that
2637- * can be cast to a timestamp, such as `yyyy -MM-dd` or `yyyy -MM-dd HH:mm:ss.SSSS`
2638- * @param format A pattern `dd.MM.yyyy ` would return a string like `18.03.1993`
2637+ * can be cast to a timestamp, such as `uuuu -MM-dd` or `uuuu -MM-dd HH:mm:ss.SSSS`
2638+ * @param format A pattern `dd.MM.uuuu ` would return a string like `18.03.1993`
26392639 * @return A string, or null if `dateExpr` was a string that could not be cast to a timestamp
26402640 * @note Use specialized functions like [[year ]] whenever possible as they benefit from a
26412641 * specialized implementation.
You can’t perform that action at this time.
0 commit comments