You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tathagata Das (JIRA)" <ji...@apache.org> on 2017/07/19 18:03:00 UTC

[jira] [Resolved] (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 ]

Tathagata Das resolved SPARK-21464.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.2.1

Issue resolved by pull request 18678
[https://github.com/apache/spark/pull/18678]

> 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, 3.0.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
(v6.4.14#64029)

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