flink-sql-gateway icon indicating copy to clipboard operation
flink-sql-gateway copied to clipboard

[BUG]Createsession reports an error after configuring HiveCatalogs

Open LinMingQiang opened this issue 3 years ago • 0 comments

Exception Msg: Caused by: org.apache.flink.table.api.NoMatchingTableFactoryException: Could not find a suitable table factory for 'org.apache.flink.table.factories.CatalogFactory' in

Reason for error : ExecutionContext.createCatalog and FactoryUtil.createCatalog are implemented differently. It works fine after I replace ExecutionContext.createCatalog with FactoryUtil.createCatalog.

LinMingQiang avatar Jan 20 '22 11:01 LinMingQiang