fn derive_timeout_for_plan( plan: &LogicalPlan, query_ctx: &QueryContextRef, ) -> Option<Duration>
Derives timeout for plan execution.