Dawid Wysakowicz created FLINK-18419:
----------------------------------------
Summary: Can not create a catalog
Key: FLINK-18419
URL: https://issues.apache.org/jira/browse/FLINK-18419
Project: Flink
Issue Type: Bug
Components: Table SQL / Planner
Affects Versions: 1.11.0
Reporter: Dawid Wysakowicz
Assignee: Dawid Wysakowicz
The {{CREATE CATALOG}} statement does not work if the catalog implementation
comes from the user classloader. The problem is that
{{org.apache.flink.table.planner.operations.SqlToOperationConverter#convertCreateCatalog}}
uses the {{SqlToOperationConverter}} classloader.
We should use {{Thread.currentThread().getContextClassloader()}} for now.
One of the ways to reproduce it is try to create e.g. a postgres catalog with
the {{flink-connector-jdbc}} passed as an additional jar to {{sql--client}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)