Juliusz Sompolski created SPARK-22462:
-----------------------------------------

             Summary: 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


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