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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to