datafusion_physical_plan::windows

Function schema_add_window_field

Source
pub fn schema_add_window_field(
    args: &[Arc<dyn PhysicalExpr>],
    schema: &Schema,
    window_fn: &WindowFunctionDefinition,
    fn_name: &str,
) -> Result<Arc<Schema>>
Expand description

Build field from window function and add it into schema