[ 
https://issues.apache.org/jira/browse/SPARK-11392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983490#comment-14983490
 ] 

Yin Huai commented on SPARK-11392:
----------------------------------

I think it is not necessary to revert that. But, we may want to update some 
comments if the behavior of GroupedIterator's hasNext has been changed.

> GroupedIterator's hasNext is not idempotent
> -------------------------------------------
>
>                 Key: SPARK-11392
>                 URL: https://issues.apache.org/jira/browse/SPARK-11392
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Yin Huai
>
> If we call 
> [GroupedIterator|https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/GroupedIterator.scala]'s
>  {{hasNext}} immediately after its {{next}}, we will generate an extra group 
> ([CoGroupedIterator|https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/CoGroupedIterator.scala]
>  has this behavior). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to