UDFCoercionExt

Trait UDFCoercionExt 

Source
pub trait UDFCoercionExt {
    // Required methods
    fn name(&self) -> &str;
    fn signature(&self) -> &Signature;
    fn coerce_types(&self, arg_types: &[DataType]) -> Result<Vec<DataType>>;
}
Expand description

Extension trait to unify common functionality between ScalarUDF, AggregateUDF and WindowUDF for use by signature coercion functions.

Required Methods§

Implementors§