Expand description
TBD: Currently, sql::func handles matching arguments to their respective
built-in functions (for most built-in functions, at least).
Structs§
- Candidate
- Tracks candidate implementations.
- Func
Impl - Describes a single function’s implementation.
- Func
Impl Catalog Details - Describes how each implementation should be represented in the catalog.
- Operation
- Builds an expression that evaluates a scalar function on the provided input expressions.
- Return
Type - Table
Func Plan
Enums§
- Func
- Func
Spec - A specifier for a function or an operator.
- Param
List - Describes possible types of function parameters.
- Param
Type - Describes parameter types.
- Table
Func Impl - The implementation of a table function is either
Statics§
- INFORMATION_
SCHEMA_ BUILTINS - MZ_
CATALOG_ BUILTINS - MZ_
INTERNAL_ BUILTINS - MZ_
UNSAFE_ BUILTINS - OP_
IMPLS - Correlates an operator with all of its implementations.
- PG_
CATALOG_ BUILTINS - Correlates a built-in function name to its implementations.
Functions§
- resolve_
op - Resolves the operator to a set of function implementations.
- select_
impl - Selects the best implementation given the provided
argsusing a process similar to PostgreSQL’s parser, and returns theScalarExprto invoke that function. - sql_
impl - Backing implementation for sql_impl_func and sql_impl_cast. See those functions for details.