datafusion_physical_plan::expressions

Function negative

Source
pub fn negative(
    arg: Arc<dyn PhysicalExpr>,
    input_schema: &Schema,
) -> Result<Arc<dyn PhysicalExpr>, DataFusionError>
Expand description

Creates a unary expression NEGATIVE

§Errors

This function errors when the argument’s type is not signed numeric