flink-sql-gateway
flink-sql-gateway copied to clipboard
[BUG]Createsession reports an error after configuring HiveCatalogs
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.