GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/19561
[SPARK-22322][CORE] Update FutureAction for compatibility with Scala 2.12
Future
## What changes were proposed in this pull request?
Scala 2.12's `Future` defines two new methods to implement, `transform` and
`transformWith`. These can be implemented naturally in Spark's `FutureAction`
extension and subclasses, but, only in terms of the new methods that don't
exist in Scala 2.11. To support both at the same time, reflection is used to
implement these.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-22322
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19561.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 #19561
----
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]