You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/01/02 12:20:00 UTC

[jira] [Resolved] (FLINK-15420) Cast string to timestamp will loose precision

     [ https://issues.apache.org/jira/browse/FLINK-15420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jark Wu resolved FLINK-15420.
-----------------------------
    Resolution: Fixed

1.11.0: 24c970b76880e51cb6c2ee2b78290380586f14fc
1.10.0: da2ea82e7021e58aa6e2af87bbc0e1cd8cbaa0a2

> Cast string to timestamp will loose precision
> ---------------------------------------------
>
>                 Key: FLINK-15420
>                 URL: https://issues.apache.org/jira/browse/FLINK-15420
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: Jingsong Lee
>            Assignee: Zhenghua Gao
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:java}
> cast('2010-10-14 12:22:22.123456' as timestamp(9))
> {code}
> Will produce "2010-10-14 12:22:22.123" in blink planner, this should not happen.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)