snapshot_physical_expr_opt

Function snapshot_physical_expr_opt 

Source
pub fn snapshot_physical_expr_opt(
    expr: Arc<dyn PhysicalExpr>,
) -> Result<Transformed<Arc<dyn PhysicalExpr>>>
Expand description

Take a snapshot of the given PhysicalExpr if it is dynamic.

Take a snapshot of this PhysicalExpr if it is dynamic. This is used to capture the current state of PhysicalExprs that may contain dynamic references to other operators in order to serialize it over the wire or treat it via downcast matching.

See the documentation of PhysicalExpr::snapshot for more details.

ยงReturns

Returns a [Transformed] indicating whether a snapshot was taken, along with the resulting PhysicalExpr`.