You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/04/20 21:41:14 UTC

[GitHub] [spark] dilipbiswal opened a new pull request #24427: [SPARK-27531] Improve explain output of describe table command to show the inputs to the command.

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:
users@infra.apache.org


With regards,
Apache Git Services

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