You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2018/03/04 18:37:00 UTC

[jira] [Created] (FLINK-8851) SQL Client fails if same file is used as default and env configuration

Fabian Hueske created FLINK-8851:
------------------------------------

             Summary: SQL Client fails if same file is used as default and env configuration
                 Key: FLINK-8851
                 URL: https://issues.apache.org/jira/browse/FLINK-8851
             Project: Flink
          Issue Type: Bug
          Components: Table API &amp; SQL
    Affects Versions: 1.5.0
            Reporter: Fabian Hueske
             Fix For: 1.5.0


Specifying the same file as default and environment configuration yields the following exception
{code:java}
Exception in thread "main" org.apache.flink.table.client.SqlClientException: Unexpected exception. This is a bug. Please consider filing an issue.
    at org.apache.flink.table.client.SqlClient.main(SqlClient.java:156)
Caused by: java.lang.UnsupportedOperationException
    at java.util.AbstractMap.put(AbstractMap.java:209)
    at java.util.AbstractMap.putAll(AbstractMap.java:281)
    at org.apache.flink.table.client.config.Environment.merge(Environment.java:107)
    at org.apache.flink.table.client.gateway.local.LocalExecutor.createEnvironment(LocalExecutor.java:461)
    at org.apache.flink.table.client.gateway.local.LocalExecutor.listTables(LocalExecutor.java:203)
    at org.apache.flink.table.client.cli.CliClient.callShowTables(CliClient.java:270)
    at org.apache.flink.table.client.cli.CliClient.open(CliClient.java:198)
    at org.apache.flink.table.client.SqlClient.start(SqlClient.java:97)
    at org.apache.flink.table.client.SqlClient.main(SqlClient.java:146){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)