Github user mengxr commented on the pull request:

    https://github.com/apache/spark/pull/136#issuecomment-37732906
  
    @pwendell , the limit case is not a practical example. In that case, we 
need re-partition for most operations to be efficient. Also, this is really for 
small window sizes like 2 to 5 in my mind. We tell users that this would 
trigger a Spark job. I put the work in getPartitions because operations such as 
aggregate and foreach do not need a second job, which we can put the optimized 
version later. 


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to