Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/pyspark/sql/functions/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down