You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Liebing Yu (Jira)" <ji...@apache.org> on 2022/04/02 09:41:01 UTC

[jira] [Updated] (FLINK-26978) Flink-SQL cannot display Timestamp time correctly.

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

Liebing Yu updated FLINK-26978:
-------------------------------
    Attachment: QQ截图20220402173947.png

>  Flink-SQL cannot display Timestamp time correctly.
> ---------------------------------------------------
>
>                 Key: FLINK-26978
>                 URL: https://issues.apache.org/jira/browse/FLINK-26978
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / API
>    Affects Versions: 1.13.6
>            Reporter: Charlie
>            Priority: Minor
>         Attachments: QQ截图20220402173947.png
>
>
> seems like TimestampData type's toString Method use its own function to generate LocalDateTime.
>  
> Using this function to generate LocalDateTime has a problem in GMT+8 time zone.
> There is an error for the time before 1900, but if you use the method that comes with JDK to generate LocalDateTime, the above problem does not exist.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)