Expand description
Global function registry with runtime registration support.
Uses a OnceLock<RwLock<HashMap>> so that built-in functions are
loaded at startup and user-defined functions (UDFs) can be added
at runtime without sacrificing thread safety.
Functionsยง
- init_
registry - Initialise the registry with a set of built-in functions.
- is_
aggregate - Returns
truewhennameis a known aggregate function. - is_
known_ function - Returns
truewhennameis a known function of any kind. - lookup_
function - Look up a function by name (case-insensitive).
- lookup_
function_ for_ dialect - Look up a function by name, filtering by dialect.
- register_
function - Register a single function at runtime (e.g. a user-defined function).