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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)