[ https://issues.apache.org/jira/browse/SPARK-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14162412#comment-14162412 ]
Apache Spark commented on SPARK-3505: ------------------------------------- User 'xiliu82' has created a pull request for this issue: https://github.com/apache/spark/pull/2267 > Augmenting SparkStreaming updateStateByKey API with timestamp > ------------------------------------------------------------- > > Key: SPARK-3505 > URL: https://issues.apache.org/jira/browse/SPARK-3505 > Project: Spark > Issue Type: Improvement > Components: Streaming > Affects Versions: 1.0.0 > Reporter: Xi Liu > Priority: Minor > Fix For: 1.2.0 > > > The current updateStateByKey API in Spark Streaming does not expose timestamp > to the application. > In our use case, the application need to know the batch timestamp to decide > whether to keep the state or not. And we do not want to use real system time > because we want to decouple the two (because the same code base is used for > streaming and offline processing). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org