yaooqinn 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_r395040624
 
 

 ##########
 File path: python/pyspark/sql/functions.py
 ##########
 @@ -1191,8 +1192,7 @@ def months_between(date1, date2, roundOff=True):
 @since(2.2)
 def to_date(col, format=None):
     """Converts a :class:`Column` into :class:`pyspark.sql.types.DateType`
-    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:
   The full url is rewritten to 
http://spark.apache.org/sql-data-sources-parquet.html#partition-discovery

----------------------------------------------------------------
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]

Reply via email to