pub(crate) fn validate_plan(plan: &LogicalPlan) -> Result<(), Error>
Validates the deliberately small stateless streaming SQL subset.