You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hovell (JIRA)" <ji...@apache.org> on 2017/10/12 15:08:00 UTC

[jira] [Resolved] (SPARK-22251) Metric "aggregate time" is incorrect when codegen is off

     [ https://issues.apache.org/jira/browse/SPARK-22251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herman van Hovell resolved SPARK-22251.
---------------------------------------
       Resolution: Fixed
         Assignee: Ala Luszczak
    Fix Version/s: 2.3.0

> Metric "aggregate time" is incorrect when codegen is off
> --------------------------------------------------------
>
>                 Key: SPARK-22251
>                 URL: https://issues.apache.org/jira/browse/SPARK-22251
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Ala Luszczak
>            Assignee: Ala Luszczak
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org