Function datafusion_expr::expr_fn::create_udwf
source · pub fn create_udwf(
name: &str,
input_type: DataType,
return_type: Arc<DataType>,
volatility: Volatility,
partition_evaluator_factory: PartitionEvaluatorFactory,
) -> WindowUDF
Expand description
Creates a new UDWF with a specific signature, state type and return type.
The signature and state type must match the PartitionEvaluator
’s implementation`.