spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-20792) Support same timeout operations in mapGroupsWithState function in batch queries as in streaming queries
Date Thu, 18 May 2017 05:34:04 GMT

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

Apache Spark commented on SPARK-20792:
--------------------------------------

User 'tdas' has created a pull request for this issue:
https://github.com/apache/spark/pull/18024

> Support same timeout operations in mapGroupsWithState function in batch queries as in
streaming queries
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-20792
>                 URL: https://issues.apache.org/jira/browse/SPARK-20792
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Structured Streaming
>    Affects Versions: 2.2.0
>            Reporter: Tathagata Das
>            Assignee: Tathagata Das
>             Fix For: 2.2.0
>
>
> Currently, in the batch queries, timeout is disabled (i.e. GroupStateTimeout.NoTimeout)
which means any GroupState.setTimeout*** operation would throw UnsupportedOperationException.
This makes it weird when converting a streaming query into a batch query by changing the input
DF from streaming to a batch DF. If the timeout was enabled and used, then the batch query
will start throwing UnsupportedOperationException.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message