Github user tdas commented on the issue:
https://github.com/apache/spark/pull/17179
Aah. Let me test with that then. At least if this breaks there should be a
test that fails.
On Fri, Mar 17, 2017 at 1:10 PM, Shixiong Zhu <[email protected]>
wrote:
> *@zsxwing* commented on this pull request.
> ------------------------------
>
> In sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/
> FlatMapGroupsWithStateExec.scala
> <https://github.com/apache/spark/pull/17179#discussion_r106736186>:
>
> > + child.execute().mapPartitionsWithStateStore[InternalRow](
> + getStateId.checkpointLocation,
> + getStateId.operatorId,
> + getStateId.batchId,
> + groupingAttributes.toStructType,
> + stateAttributes.toStructType,
> + sqlContext.sessionState,
> + Some(sqlContext.streams.stateStoreCoordinator)) { case (store,
iterator) =>
> + val updater = new StateStoreUpdater(store)
> +
> + // Generate a iterator that returns the rows grouped by the
grouping function
> + // Note that this code ensures that the filtering for timeout
occurs only after
> + // all the data has been processed. This is to ensure that the
timeout information of all
> + // the keys with data is updated before they are processed for
timeouts.
> + val outputIterator =
> + Seq(
>
> The parameter in Iterator.++ is call-by-name: def ++[B >: A](that: =>
> GenTraversableOnce[B]): Iterator[B]
>
> â
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/spark/pull/17179#discussion_r106736186>, or
mute
> the thread
>
<https://github.com/notifications/unsubscribe-auth/AAoerL_OnNofziCLlkWgz2czhdXmH2Iqks5rmujTgaJpZM4MUkQU>
> .
>
---
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]