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).

Macrosยง

  • builtins ๐Ÿ”’
    Constructs builtin function map.
  • catalog_name_only ๐Ÿ”’
    Functions using this macro should be transformed/planned away before reaching function selection code, but still need to be present in the catalog during planning.
  • impl_def ๐Ÿ”’
  • params ๐Ÿ”’
    Provides shorthand for converting Vec<ScalarType> into Vec<ParamType>.
  • privilege_fn ๐Ÿ”’
    Generates an (OID, OID, TEXT) SQL implementation for has_X_privilege style functions.

Structsยง

  • Tracks candidate implementations.
  • Describes a single functionโ€™s implementation.
  • Describes how each implementation should be represented in the catalog.
  • Builds an expression that evaluates a scalar function on the provided input expressions.
  • Represents a solution to a set of polymorphic constraints, expressed as the params of a function and the user-supplied args.

Enumsยง

Staticsยง

Functionsยง