pub fn snapshot_physical_expr(
expr: Arc<dyn PhysicalExpr>,
) -> Result<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 snapshot of the PhysicalExpr if it is dynamic, otherwise
returns itself.