Github user guowei2 commented on the pull request:

    https://github.com/apache/spark/pull/1291#issuecomment-48006575
  
    when  numPartitioner is set to 0, HashPartitioner would not be failed 
,because getPartition method would not be called.
    
    here is the DAGScheduler's code
    
        if (partitions.size == 0) {
          return new JobWaiter[U](this, jobId, 0, resultHandler)
        }



---
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.
---

Reply via email to