Description
When whole-stage codegen is off, metric "aggregate time" is not set correctly.
Repro:
- spark.conf.set("spark.sql.codegen.wholeStage", false)
- spark.range(5).crossJoin(spark.range(5)).toDF("a","b").groupBy("a").agg(sum("b")).show
- In Spark UI > SQL you can see that "aggregate time total" is 0 in "HashAggregate" boxes
Attachments
Issue Links
- links to