[ https://issues.apache.org/jira/browse/SPARK-28700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan updated SPARK-28700: -------------------------------- Parent: SPARK-31415 Issue Type: Sub-task (was: Bug) > make_timestamp loses seconds fractions > -------------------------------------- > > Key: SPARK-28700 > URL: https://issues.apache.org/jira/browse/SPARK-28700 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 3.0.0 > Reporter: Maxim Gekk > Assignee: Maxim Gekk > Priority: Major > Fix For: 3.0.0 > > > 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 (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org