You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/10/11 14:11:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16200338#comment-16200338 ]
Sean Owen commented on SPARK-22251:
-----------------------------------
Did you try setting this before the app starts? I'm not actually sure it would take effect if you set it after SparkSession has initialized.
> 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
> Priority: Minor
>
> 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