GitHub user mgaido91 opened a pull request:

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

    [SPARK-22473][TEST] Replace deprecated AsyncAssertions.Waiter and methods 
of java.sql.Date

    ## What changes were proposed in this pull request?
    
    In `spark-sql` module tests there are deprecations warnings caused by the 
usage of deprecated methods of `java.sql.Date` and the usage of the deprecated 
`AsyncAssertions.Waiter` class.
    This PR replace the deprecated methods of `java.sql.Date` with 
non-deprecated ones (using `Calendar` where needed). It replaces also the 
deprecated `org.scalatest.concurrent.AsyncAssertions.Waiter` with 
`org.scalatest.concurrent.Waiters._`.
    
    
    ## How was this patch tested?
    
    existing UTs


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

    $ git pull https://github.com/mgaido91/spark SPARK-22473

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

    https://github.com/apache/spark/pull/19696.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 #19696
    
----

----


---

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

Reply via email to