Modules§
- aggregate
- error 🔒
- expr
- Expressions in RisingWave.
- expr_
context - scalar
- sig
- Metadata of expressions.
- table_
function - window_
function
Macros§
- bail
- Return early with an error, in any type that can be converted from
an
anyhow::Error
. - define_
context - Define the context variables which can be used by risingwave expressions.
- ensure
- Util macro for generating error when condition check failed.
- materialized_
input_ state AggType
s that are implemented with a materialized input state.- must_
have_ order_ by AggType
s that must be called with ORDER BY clause. These are slightly different from variants not inresult_unaffected_by_order_by
, in that variants returned by this macro should be banned while the others should just be warned.- ordered_
set - Ordered-set aggregate functions.
- result_
unaffected_ by_ distinct AggType
s of which the aggregate results are not affected by the user given DISTINCT keyword.- result_
unaffected_ by_ order_ by AggType
s of which the aggregate results are not affected by the user given ORDER BY clause.- rewritten
AggType
s that should’ve been rewritten to other kinds. These kinds should not appear when generating physical plan nodes.- simply_
cannot_ two_ phase AggType
s that are simply cannot 2-phased.- single_
value_ state AggType
s that are implemented with a single value state (so-called stateless).- single_
value_ state_ iff_ in_ append_ only AggType
s that are implemented with a single value state (so-called stateless) iff the input is append-only.- unimplemented_
in_ stream AggType
s that are currently not supported in streaming mode.
Structs§
Enums§
- Expr
Error - The error type for expression operations.
Type Aliases§
- Result
- A specialized Result type for expression operations.
Attribute Macros§
- aggregate
- build_
aggregate - build_
function - Different from
#[function]
, which implements theExpression
trait for a rust scalar function,#[build_function]
is used when you already implementedExpression
manually. - capture_
context - Capture the context from the local context to the function impl.
TODO: The macro will be merged to
#[function(.., capture_context(..))]
later. - function
- Defining the RisingWave SQL function from a Rust function.