MaxGekk commented on a change in pull request #27438: [MINOR][SQL][DOCS][2.4]
Fix the timestamp pattern in the example for `to_timestamp`
URL: https://github.com/apache/spark/pull/27438#discussion_r374271828
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/functions.scala
##########
@@ -2967,7 +2967,7 @@ object functions {
* See [[java.text.SimpleDateFormat]] for valid date and time format patterns
Review comment:
If you don't mind, I would like to say here that currently supported pattern
for seconds fractions is `SSS` only. The second s fractions can be parsed but
will be ignored while casting to TimestampType.
----------------------------------------------------------------
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]