Skip to main content

Module func

Module func 

Source
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.
FuncImpl
Describes a single function’s implementation.
FuncImplCatalogDetails
Describes how each implementation should be represented in the catalog.
Operation
Builds an expression that evaluates a scalar function on the provided input expressions.
ReturnType
TableFuncPlan

Enums§

Func
FuncSpec
A specifier for a function or an operator.
ParamList
Describes possible types of function parameters.
ParamType
Describes parameter types.
TableFuncImpl
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 args using a process similar to PostgreSQL’s parser, and returns the ScalarExpr to invoke that function.
sql_impl
Backing implementation for sql_impl_func and sql_impl_cast. See those functions for details.