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

[jira] [Updated] (SPARK-21464) Minimize deprecation warnings caused by ProcessingTime class

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

Xiao Li updated SPARK-21464:
----------------------------
    Fix Version/s:     (was: 3.0.0)
                   2.3.0

> Minimize deprecation warnings caused by ProcessingTime class
> ------------------------------------------------------------
>
>                 Key: SPARK-21464
>                 URL: https://issues.apache.org/jira/browse/SPARK-21464
>             Project: Spark
>          Issue Type: Test
>          Components: Structured Streaming
>    Affects Versions: 2.2.0
>            Reporter: Tathagata Das
>            Assignee: Tathagata Das
>            Priority: Minor
>             Fix For: 2.2.1, 2.3.0
>
>
> Use of `ProcessingTime` class was deprecated in favor of `Trigger.ProcessingTime` in Spark 2.2. However interval uses to ProcessingTime causes deprecation warnings during compilation. This cannot be avoided entirely as even though it is deprecated as a public API, ProcessingTime instances are used internally in TriggerExecutor. This PR is to minimize the warning by removing its uses from tests as much as possible.



--
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