bowenli86 commented on a change in pull request #9937: [FLINK-14416][table] Add
Module interface and ModuleManager
URL: https://github.com/apache/flink/pull/9937#discussion_r337110562
##########
File path:
flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/api/java/internal/StreamTableEnvironmentImpl.java
##########
@@ -104,7 +106,9 @@ public static StreamTableEnvironment create(
settings.getBuiltInCatalogName(),
new
GenericInMemoryCatalog(settings.getBuiltInCatalogName(),
settings.getBuiltInDatabaseName()));
- FunctionCatalog functionCatalog = new
FunctionCatalog(catalogManager);
+ ModuleManager moduleManager = new ModuleManager();
+
+ FunctionCatalog functionCatalog = new
FunctionCatalog(catalogManager, moduleManager);
Review comment:
TableEnv needs to get a hold on module manager to be able to load/unload
module
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services