Github user dongjoon-hyun commented on the pull request:

    https://github.com/apache/spark/pull/13282#issuecomment-221435072
  
    It seems not necessary since this PR prevents at the level of `Repartition` 
ctor.
    ```
     case class Repartition(numPartitions: Int, shuffle: Boolean, child: 
LogicalPlan)
       extends UnaryNode {
    +  require(numPartitions > 0, s"Number of partitions ($numPartitions) must 
be positive.")
       override def output: Seq[Attribute] = child.output
     }
    ```
    Please see the updated description of this PR, and let me know if I miss 
some cases you mentioned.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to