[ 
https://issues.apache.org/jira/browse/FLINK-26978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516673#comment-17516673
 ] 

Timo Walther commented on FLINK-26978:
--------------------------------------

[~CharlieX47] can you check this with the latest master? These problems should 
have been resolved by now because all printing endpoints use the `CAST(c AS 
STRING)` semantics now.

>  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)

Reply via email to