You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wangsan (JIRA)" <ji...@apache.org> on 2018/07/10 15:46:00 UTC

[jira] [Resolved] (SPARK-22503) Using current processing time to generate windows in streaming processing

     [ https://issues.apache.org/jira/browse/SPARK-22503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wangsan resolved SPARK-22503.
-----------------------------
    Resolution: Not A Problem

> Using current processing time to generate windows in streaming processing
> -------------------------------------------------------------------------
>
>                 Key: SPARK-22503
>                 URL: https://issues.apache.org/jira/browse/SPARK-22503
>             Project: Spark
>          Issue Type: Improvement
>          Components: Structured Streaming
>    Affects Versions: 2.2.0, 2.3.0
>            Reporter: wangsan
>            Priority: Major
>
> There are cases we want to use processing time to generate windows in stream processing, but `current_timestamp()` are not allowed in `window()` function now. 
> When using `current_timestamp` in `window` function, the exception tells "nondeterministic expressions are only allowed in Project, Filter, Aggregate or Window". 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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