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:
ShowFunctionsExec
is requested torun
Loading Function¶
UnboundFunction loadFunction(
Identifier ident)
See:
Used when:
DelegatingCatalogExtension
is requested to loadFunctionFunctionCatalog
is requested to functionExistsResolveFunctions
logical analysis rule is requested to resolveV2FunctionV2ExpressionUtils
is requested toloadV2FunctionOpt
CatalogV2Util
is requested to load a function
Implementations¶
- CatalogExtension
JDBCTableCatalog
- V2SessionCatalog