pub fn validate_plan( context: &CteValidationContext<'_>, plan: &UnifiedPlan, ) -> Result<(), SQLError>