GitHub user tdas opened a pull request:

    https://github.com/apache/spark/pull/18678

    [SPARK-21464][SS] Minimize deprecation warnings caused by ProcessingTime 
class

    ## What changes were proposed in this pull request?
    
    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.
    
    ## How was this patch tested?
    Existing tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tdas/spark SPARK-21464

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/18678.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #18678
    
----
commit 41d550f599afba023ede3e8a4f8e5af910e440b9
Author: Tathagata Das <[email protected]>
Date:   2017-07-19T01:21:51Z

    Minimized usage of ProcessingTime class

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to