fn partitioning_to_restore_for( child: &Arc<dyn ExecutionPlan>, required_distribution: &Distribution, ) -> Option<Partitioning>