[ 
https://issues.apache.org/jira/browse/SPARK-22462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243349#comment-16243349
 ] 

Apache Spark commented on SPARK-22462:
--------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/19689

> SQL metrics missing after foreach operation on dataframe
> --------------------------------------------------------
>
>                 Key: SPARK-22462
>                 URL: https://issues.apache.org/jira/browse/SPARK-22462
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Juliusz Sompolski
>         Attachments: collect.png, foreach.png
>
>
> No SQL metrics are visible in the SQL tab of SparkUI when foreach is executed 
> on the DataFrame.
> e.g.
> {code}
> sql("select * from range(10)").collect()
> sql("select * from range(10)").foreach(a => Unit)
> sql("select * from range(10)").foreach(a => println(a))
> {code}
> See collect.png vs. foreach.png



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

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

Reply via email to