You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Leonard Xu (Jira)" <ji...@apache.org> on 2021/04/29 09:05:00 UTC

[jira] [Created] (FLINK-22525) The zone id in exception message should be GMT+08:00 instead of GMT+8:00

Leonard Xu created FLINK-22525:
----------------------------------

             Summary: The zone id in exception message should be GMT+08:00 instead of GMT+8:00
                 Key: FLINK-22525
                 URL: https://issues.apache.org/jira/browse/FLINK-22525
             Project: Flink
          Issue Type: Bug
          Components: Documentation, Table SQL / API
    Affects Versions: 1.13.0
            Reporter: Leonard Xu
             Fix For: 1.14.0, 1.13.1


{code:java}
Flink SQL> SET table.local-time-zone=UTC+3;
Flink SQL> select current_row_timestamp();
[ERROR] Could not execute SQL statement. Reason:
java.lang.IllegalArgumentException: The supported Zone ID is either a full name such as 'America/Los_Angeles', or a custom timezone id such as 'GMT-8:00', but configured Zone ID is 'UTC+3'.
{code}
The valid zoned should  be 'GMT-08:00'



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