Modulesยง
- context ๐
- gen ๐Generate code for the functions.
- parse ๐Parse the tokens of the macro.
- types ๐This module provides utility functions for SQL data type conversion and manipulation.
- utils ๐
Macrosยง
- Define the context variables which can be used by risingwave expressions.
Structsยง
- Aggregate
Impl ๐ - Function
Attr ๐ - User
Function ๐Attr Attributes from function signaturefn(..)
Enumsยง
- Aggregate
FnOr ๐Impl - Return
Type ๐Kind
Attribute Macrosยง
- Different from
#[function]
, which implements theExpression
trait for a rust scalar function,#[build_function]
is used when you already implementedExpression
manually. - Capture the context from the local context to the function impl. TODO: The macro will be merged to
#[function(.., capture_context(..))]
later. - Defining the RisingWave SQL function from a Rust function.