pub(crate) fn plan_can_use_background_ddl(plan: &PlanRef) -> bool
Expand description
Check that all leaf nodes must be stream table scan,
since that plan node maps to backfill
executor, which supports recovery.
Some other leaf nodes like StreamValues
do not support recovery, and they
cannot use background ddl.