Module mz_sql::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

Tracks candidate implementations.

Describes a single function’s implementation.

Describes how each implementation should be represented in the catalog.

Enums

A specifier for a function or an operator.

Describes possible types of function parameters.

Describes parameter types.

Statics

Correlates a built-in function name to its implementations.

Traits

Functions

Resolves the operator to a set of function implementations.

Selects the best implementation given the provided args using a process similar to PostgreSQL’s parser, and returns the ScalarExpr to invoke that function.

Backing implementation for sql_impl_func and sql_impl_cast. See those functions for details.