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

Timo Walther closed FLINK-32689.
--------------------------------
    Fix Version/s: 1.18.0
       Resolution: Fixed

Fixed in master: 8c9b1767e08e3fdb3b60a0cc7f09a92647181d64

> Insufficient validation for table.local-time-zone
> -------------------------------------------------
>
>                 Key: FLINK-32689
>                 URL: https://issues.apache.org/jira/browse/FLINK-32689
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.18.0
>
>
> There are still cases where timezone information is lost silently due to the 
> interaction between {{java.util.TimeZone}} and {{java.time.ZoneId}}.
> This might be theoretical problem, but I would feel safer if we change the 
> check to:
> {code}
> if 
> (!java.util.TimeZone.getTimeZone(zoneId).toZoneId().equals(ZoneId.of(zoneId)))
>  {
>    throw new ValidationException(errorMessage);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to