[
https://issues.apache.org/jira/browse/SPARK-28700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun reassigned SPARK-28700:
-------------------------------------
Assignee: Maxim Gekk
> make_timestamp loses seconds fractions
> --------------------------------------
>
> Key: SPARK-28700
> URL: https://issues.apache.org/jira/browse/SPARK-28700
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Maxim Gekk
> Assignee: Maxim Gekk
> Priority: Major
>
> The make_timestamp() function accepts seconds with fractional part up to
> microseconds. In some cases, it can lose precision in the fractional part.
> For example:
> {code}
> spark-sql> select make_timestamp(2019, 8, 12, 0, 0, 58.000001);
> 2019-08-12 00:00:58
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]