cloud-fan commented on a change in pull request #28706:
URL: https://github.com/apache/spark/pull/28706#discussion_r433849972
##########
File path: docs/sql-ref-datetime-pattern.md
##########
@@ -136,6 +136,8 @@ The count of pattern letters determines the format.
During formatting, all valid data will be output even it is in the optional
section.
During parsing, the whole section may be missing from the parsed string.
An optional section is started by `[` and ended using `]` (or at the end of
the pattern).
+
+- Symbols of 'Y', 'W', 'w', 'E', 'u', 'F' can only be used for datetime
formatting, e.g. `date_format`.
More details for the text style:
Review comment:
not related to this PR, but can we embed this section into `Text: ...`?
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]