Skip to content

Conversation

mgaido91
Copy link
Contributor

@mgaido91 mgaido91 commented Nov 8, 2017

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

@SparkQA
Copy link

SparkQA commented Nov 8, 2017

Test build #83600 has finished for PR 19696 at commit 3b45663.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM.

@srowen
Copy link
Member

srowen commented Nov 10, 2017

Merged to master

@asfgit asfgit closed this in 5b41cbf Nov 10, 2017
asfgit pushed a commit that referenced this pull request Dec 4, 2017
## What changes were proposed in this pull request?

#19696 replaced the deprecated usages for `Date` and `Waiter`, but a few methods were missed. The PR fixes the forgotten deprecated usages.

## How was this patch tested?

existing UTs

Author: Marco Gaido <[email protected]>

Closes #19875 from mgaido91/SPARK-22473_FOLLOWUP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants