public static ExternalCatalog findAndCreateExternalCatalog ( Descriptor descriptor ) { Map < String , String > properties = descriptor . toProperties ( ) ; return TableFactoryService . find ( ExternalCatalogFactory . class , properties ) . createExternalCatalog ( properties ) ; }
Returns an external catalog .