Expand description
User-defined scalar function registry.
Custom scalar functions can be registered at the database level and are available in both the DataFusion columnar execution path and the direct expression evaluator.
This is a dependency-light leaf type: it stores (name, fn) pairs and
nothing else. The plugin-framework shadow (uni_plugin::PluginRegistry)
that the DataFusion adapter consumes is built on demand by
uni_query::query::df_udfs_plugin::plugin_registry_for_custom_functions,
which lives in uni-query because it depends on uni-plugin.
Structs§
- Custom
Function Registry - Registry of user-defined scalar functions.
Constants§
- LEGACY_
USER_ PLUGIN_ ID - Reserved plugin id used for legacy
CustomFunctionRegistryregistrations when they are mirrored into auni_plugin::PluginRegistryshadow.
Type Aliases§
- Custom
Scalar Fn - Type alias for a custom scalar function.