Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/3409#discussion_r106025824
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala
---
@@ -99,6 +101,9 @@ abstract class TableEnvironment(val config: TableConfig)
{
// a counter for unique attribute names
private val attrNameCntr: AtomicInteger = new AtomicInteger(0)
+ // registered external catalog names -> catalog
+ private val externalCatalogs = new HashMap[String, ExternalCatalog]
--- End diff --
Why do we need to store the catalogs if we register them in the
`rootSchema`?
Can't we look up the catalog names there as well?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---