You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wuyi (Jira)" <ji...@apache.org> on 2020/05/06 07:36:00 UTC

[jira] [Created] (SPARK-31650) SQL UI doesn't show metrics and whole stage codegen in AQE

wuyi created SPARK-31650:
----------------------------

             Summary: SQL UI doesn't show metrics and whole stage codegen in AQE
                 Key: SPARK-31650
                 URL: https://issues.apache.org/jira/browse/SPARK-31650
             Project: Spark
          Issue Type: Test
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: wuyi
         Attachments: before_aqe_ui.png

When enabling AQE with subqueris within a query, the SQL UI may doesn't show metrics and whole stage codegen.

Here's a reproduce demo:

 
{code:java}
spark.range(10000).toDF("value").write.parquet("/tmp/p1")

spark.range(10000).toDF("value").write.parquet("/tmp/p2")

spark.read.parquet("/tmp/p1").createOrReplaceTempView("t1")

spark.read.parquet("/tmp/p2").createOrReplaceTempView("t2")


spark.sql("select * from t1 where value=(select Max(value) from t2)").show()
{code}
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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