FunctionCatalog¶
FunctionCatalog is an extension of the CatalogPlugin abstraction for function catalogs.
FunctionCatalog is registered using spark.sql.catalog configuration property (as are CatalogPlugins).
Contract (Subset)¶
Listing Functions¶
Identifier[] listFunctions(
String[] namespace)
See:
Used when:
ShowFunctionsExecis requested torun
Loading Function¶
UnboundFunction loadFunction(
Identifier ident)
See:
Used when:
DelegatingCatalogExtensionis requested to loadFunctionFunctionCatalogis requested to functionExistsResolveFunctionslogical analysis rule is requested to resolveV2FunctionV2ExpressionUtilsis requested toloadV2FunctionOptCatalogV2Utilis requested to load a function
Implementations¶
- CatalogExtension
JDBCTableCatalog- V2SessionCatalog