cloud-fan commented on a change in pull request #27956:
[SPARK-31189][SQL][DOCS] Fix errors and missing parts for datetime pattern
document
URL: https://github.com/apache/spark/pull/27956#discussion_r395008505
##########
File path: python/pyspark/sql/functions.py
##########
@@ -1215,8 +1215,7 @@ def to_date(col, format=None):
@since(2.2)
def to_timestamp(col, format=None):
"""Converts a :class:`Column` into :class:`pyspark.sql.types.TimestampType`
- using the optionally specified format. Specify formats according to
- `DateTimeFormatter
<https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html>`_.
# noqa
+ using the optionally specified format. Specify formats according to
`datetime pattern`_. # noqa
Review comment:
ditto
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]