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

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

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

Apache Spark commented on SPARK-21464:
--------------------------------------

User 'tdas' has created a pull request for this issue:
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
>
> 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