Expand description

§Function definitions for common functions

This module contains code that has been generated from the YAML files included alongside the spec. These are functions that are generally available in many different consumer libraries and are often considered “standard” functions.

The generated code includes both FunctionDefinition objects and traits that extend the FunctionsBuilder. The easiest way to use these functions is through the trait objects.

// The extension trait provides the `add` method used below
use substrait_expr::functions::functions_arithmetic::FunctionsArithmeticExt;

builder.functions().add(literal(3), literal(5));

Modules§