dilipbiswal opened a new pull request #24427: [SPARK-27531] Improve explain output of describe table command to show the inputs to the command. URL: https://github.com/apache/spark/pull/24427 ## What changes were proposed in this pull request? Currently "EXPLAIN DESC TABLE" is special cased and outputs a single row relation as following. This is not consistent with how we handle explain processing for other commands. Current output: ``` spark-sql> EXPLAIN DESCRIBE TABLE t1; == Physical Plan == *(1) Scan OneRowRelation[] ``` After change: ``` spark-sql> EXPLAIN DESC EXTENDED t == Physical Plan == Execute DescribeTableCommand +- DescribeTableCommand `t`, true ``` ## How was this patch tested? Added new tests in SQLQueryTestSuite.
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org