[
https://issues.apache.org/jira/browse/SPARK-29927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975697#comment-16975697
]
Maxim Gekk commented on SPARK-29927:
------------------------------------
[~cloud_fan] WDYT, does it make sense to change the functions as well?
> Parse timestamps in microsecond precision by `to_timestamp`,
> `to_unix_timestamp`, `unix_timestamp`
> --------------------------------------------------------------------------------------------------
>
> Key: SPARK-29927
> URL: https://issues.apache.org/jira/browse/SPARK-29927
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.4
> Reporter: Maxim Gekk
> Priority: Major
>
> Currently, the `to_timestamp`, `to_unix_timestamp`, `unix_timestamp`
> functions uses SimpleDateFormat to parse strings to timestamps.
> SimpleDateFormat is able to parse only in millisecond precision if an user
> specified `SSS` in a pattern. The ticket aims to support parsing up to the
> microsecond precision.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]