diff --git a/python/pyspark/sql/functions/builtin.py b/python/pyspark/sql/functions/builtin.py index f62dc1d93520b..43340405193fb 100644 --- a/python/pyspark/sql/functions/builtin.py +++ b/python/pyspark/sql/functions/builtin.py @@ -11602,7 +11602,7 @@ def to_date(col: "ColumnOrName", format: Optional[str] = None) -> Column: @_try_remote_functions def try_to_date(col: "ColumnOrName", format: Optional[str] = None) -> Column: - """This is a special version of `try_to_date` that performs the same operation, but returns a + """This is a special version of `to_date` that performs the same operation, but returns a NULL value instead of raising an error if date cannot be created. .. _datetime pattern: https://spark.apache.org/docs/latest/sql-ref-datetime-pattern.html