wangshuo128 commented on pull request #31968:
URL: https://github.com/apache/spark/pull/31968#issuecomment-809262687


   > This seems like a different issue, as the reported bug is the SQL 
execution appears twice, not 3 times.
   
   Run SQL below in spark-sql
   ```
   spark-sql>  DROP TABLE t;
   ```
   Wen can see 2 SQL queries: 
   
![image](https://user-images.githubusercontent.com/4003322/112822599-ba5e6f80-90ba-11eb-9a65-d55f3f2d7c54.png)
   
   
![image](https://user-images.githubusercontent.com/4003322/112822630-c4806e00-90ba-11eb-904d-d6081e0701ab.png)
   
   
![image](https://user-images.githubusercontent.com/4003322/112822647-ccd8a900-90ba-11eb-87a1-2e28d9cd2b9a.png)
   
   I think it's better to show only one SQL query in SQL UI, we have two 
choices:
   1.  only show the `DropTableCommand`
   2. combine the two executions for one SQL into one item in SQL UI.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to