[
https://issues.apache.org/jira/browse/FLINK-26978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516265#comment-17516265
]
Liebing Yu commented on FLINK-26978:
------------------------------------
I test the display of time before 1900. And I think it's ok.
!QQ截图20220402173947.png!
Could you give the sql to show the problem?
> 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)