cloud-fan commented on a change in pull request #28592:
URL: https://github.com/apache/spark/pull/28592#discussion_r429178682



##########
File path: docs/sql-ref-datetime-pattern.md
##########
@@ -63,9 +63,9 @@ Spark uses pattern letters in the following table for date 
and timestamp parsing
 
 The count of pattern letters determines the format.
 
-- Text: The text style is determined based on the number of pattern letters 
used. Less than 4 pattern letters will use the short form. Exactly 4 pattern 
letters will use the full form. Exactly 5 pattern letters will use the narrow 
form. Six or more letters will fail.
+- Text: The text style is determined based on the number of pattern letters 
used. Less than 4 pattern letters will use the short form. Exactly 4 pattern 
letters will use the full form. Exactly 5 pattern letters will use the narrow 
form. 5 or more letters will fail.
 
-- Number: If the count of letters is one, then the value is output using the 
minimum number of digits and without padding. Otherwise, the count of digits is 
used as the width of the output field, with the value zero-padded as necessary. 
The following pattern letters have constraints on the count of letters. Only 
one letter 'F' can be specified. Up to two letters of 'd', 'H', 'h', 'K', 'k', 
'm', and 's' can be specified. Up to three letters of 'D' can be specified.
+- Number(n): the n here represents the maximum count of letters this type of 
datetime pattern can be used. If the count of letters is one, then the value is 
output using the minimum number of digits and without padding. Otherwise, the 
count of digits is used as the width of the output field, with the value 
zero-padded as necessary.

Review comment:
       `the` -> `The`




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to