polars_lazy::dsl

Trait UdfSchema

Source
pub trait UdfSchema: Send + Sync {
    // Required method
    fn get_schema(
        &self,
        input_schema: &Schema<DataType>,
    ) -> Result<Arc<Schema<DataType>>, PolarsError>;
}

Required Methods§

Source

fn get_schema( &self, input_schema: &Schema<DataType>, ) -> Result<Arc<Schema<DataType>>, PolarsError>

Trait Implementations§

Source§

impl Debug for dyn UdfSchema

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Implementors§