[ https://issues.apache.org/jira/browse/FLINK-18419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dawid Wysakowicz updated FLINK-18419: ------------------------------------- Fix Version/s: 1.11.1 1.12.0 > 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 > Priority: Major > Fix For: 1.12.0, 1.11.1 > > > 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)