You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/07/15 09:55:22 UTC
[GitHub] [spark] dominikgehl commented on a change in pull request #33359: [SPARK-36154][DOCS] Documenting week and quarter as valid formats in pyspark sql/functions trunc
dominikgehl commented on a change in pull request #33359:
URL: https://github.com/apache/spark/pull/33359#discussion_r670315350
##########
File path: python/pyspark/sql/functions.py
##########
@@ -2042,7 +2042,7 @@ def trunc(date, format):
----------
date : :class:`~pyspark.sql.Column` or str
format : str
- 'year', 'yyyy', 'yy' or 'month', 'mon', 'mm'
+ 'year', 'yyyy', 'yy' or 'month', 'mon', 'mm', or 'week' or 'quarter'
Review comment:
I took the Scala doc
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org