Github user davies commented on a diff in the pull request:
https://github.com/apache/spark/pull/11870#discussion_r57624415
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/BenchmarkWholeStageCodegen.scala
---
@@ -184,11 +184,29 @@ class BenchmarkWholeStageCodegen extends
SparkFunSuite {
/**
Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz
- Join w 2 longs: Best/Avg Time(ms) Rate(M/s)
Per Row(ns) Relative
+ Join w 2 longs: Best/Avg Time(ms) Rate(M/s)
Per Row(ns) Relative
-------------------------------------------------------------------------------------------
- Join w 2 longs codegen=false 7877 / 8358 13.3
75.1 1.0X
- Join w 2 longs codegen=true 3877 / 3937 27.0
37.0 2.0X
+ Join w 2 longs codegen=false 12725 / 13158 8.2
121.4 1.0X
+ Join w 2 longs codegen=true 6044 / 6771 17.3
57.6 2.1X
*/
+
+ val dim4 = broadcast(sqlContext.range(M)
+ .selectExpr("cast(id/10 as long) as k1", "cast(id/10 as long) as
k2"))
+
+ runBenchmark("Join w 2 longs duplicated", N) {
--- End diff --
All these are inner join, except the last two, so ignored.
---
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]