You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2016/01/28 20:32:39 UTC

[jira] [Commented] (SPARK-13027) Add API for updateStateByKey to provide batch time as input

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

Shixiong Zhu commented on SPARK-13027:
--------------------------------------

Could you submit a PR?

> Add API for updateStateByKey to provide batch time as input
> -----------------------------------------------------------
>
>                 Key: SPARK-13027
>                 URL: https://issues.apache.org/jira/browse/SPARK-13027
>             Project: Spark
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 1.6.0
>            Reporter: Aaditya Ramesh
>
> The StateDStream currently does not provide the batch time as input to the state update function. This is required in cases where the behavior depends on the batch start time.
> We (Conviva) have been patching it manually for the past several Spark versions but we thought it might be useful for others as well.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org