FailedChanges

Summary

  1. [SPARK-25664][SQL][TEST] Refactor JoinBenchmark to use main method (details)
  2. [SPARK-19287][CORE][STREAMING] JavaPairRDD flatMapValues requires (details)
Commit e965fb55acf714bdd639d13d73f75a7d7b43efca by dongjoon
[SPARK-25664][SQL][TEST] Refactor JoinBenchmark to use main method
## What changes were proposed in this pull request?
Refactor `JoinBenchmark` to use main method. 1. use `spark-submit`:
```console bin/spark-submit --class
org.apache.spark.sql.execution.benchmark.JoinBenchmark --jars
./core/target/spark-core_2.11-3.0.0-SNAPSHOT-tests.jar
./sql/catalyst/target/spark-sql_2.11-3.0.0-SNAPSHOT-tests.jar
```
2. Generate benchmark result:
```console SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "sql/test:runMain
org.apache.spark.sql.execution.benchmark.JoinBenchmark"
```
## How was this patch tested?
manual tests
Closes #22661 from wangyum/SPARK-25664.
Lead-authored-by: Yuming Wang <yumwang@ebay.com> Co-authored-by: Yuming
Wang <wgyumg@gmail.com> Co-authored-by: Dongjoon Hyun
<dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
The file was modifiedcore/src/test/scala/org/apache/spark/benchmark/Benchmark.scala (diff)
The file was modifiedsql/core/src/test/scala/org/apache/spark/sql/execution/benchmark/JoinBenchmark.scala (diff)
The file was addedsql/core/benchmarks/JoinBenchmark-results.txt
Commit 1ddfab8c4f37f8a87a0203610f52fafc0debdea0 by sean.owen
[SPARK-19287][CORE][STREAMING] JavaPairRDD flatMapValues requires
function returning Iterable, not Iterator
## What changes were proposed in this pull request?
Fix old oversight in API: Java `flatMapValues` needs a `FlatMapFunction`
## How was this patch tested?
Existing tests.
Closes #22690 from srowen/SPARK-19287.
Authored-by: Sean Owen <sean.owen@databricks.com> Signed-off-by: Sean
Owen <sean.owen@databricks.com>
The file was modifiedcore/src/main/scala/org/apache/spark/api/java/JavaPairRDD.scala (diff)
The file was modifiedstreaming/src/test/java/test/org/apache/spark/streaming/JavaAPISuite.java (diff)
The file was modifiedstreaming/src/main/scala/org/apache/spark/streaming/api/java/JavaPairDStream.scala (diff)
The file was modifiedstreaming/src/test/java/test/org/apache/spark/streaming/Java8APISuite.java (diff)
The file was modifiedproject/MimaExcludes.scala (diff)