pub fn with_new_children_if_necessary(
    expr: Arc<dyn PhysicalExpr>,
    children: Vec<Arc<dyn PhysicalExpr>>,
) -> Result<Arc<dyn PhysicalExpr>>
Expand description

Returns a copy of this expr if we change any child according to the pointer comparison. The size of children must be equal to the size of PhysicalExpr::children().